Quantcast
Channel: Page 10 – UnMickAble
Browsing latest articles
Browse All 37 View Live

django.db.utils.DataError: invalid value for parameter “TimeZone”

If your Django Apps throws this error:     cursor.execute(self.ops.set_time_zone_sql(), [tz]) django.db.utils.DataError: invalid value for parameter "TimeZone": "America/New_York" The problem is that...

View Article



Moving a Directory from One Git Repo to Another (with history)

git log --pretty=email --patch-with-stat --reverse --full-index --binary directory_name > /tmp/directory_name_patch; git init directory_name; cd directory_name; git am < /tmp/directory_name_patch;

View Article

Let’s Encrypt Cert & Nginx (Using a Web Proxy) on Centos 6.x

This was done on Centos 6 where prebuilt ‘certbot’ packages are not available. On Centos 7, install ‘certbot’ from the EPEL repo. cd ~root; mkdir certbot; wget https://dl.eff.org/certbot-auto; chmod...

View Article

Image may be NSFW.
Clik here to view.

Migrate Section of a Git Repo to a new Git Repo

I inherited a git repo that has multiple projects in it. It’s easier to manage the code and dependencies if each of these projects are in their own git repo. The process is pretty simple: Export the...

View Article

Migrate Django 1.4 to 1.11

I thought these rough notes might be useful to anyone migrating from Django 1.4 (and possibly 1.3) to Django 1.11. Moving from South to Django Migrations 1. Update your settings files: Remove ‘south’...

View Article


Centos 7: qt5 packages missing when installing synergy-1.9.1

The fix is to installed qt5-qtbase & qt5-qtbase-gui: yum install qt5-qtbase qt5-qtbase-gui The specific warnings are:# rpm -i synergy-1.9.1-322.stable.2a0225c1.el7.centos.x86_64.rpm error: Failed...

View Article

Edx on Debian Stretch

After you clone the Edx repo there you will find a (undocumented) list of packages required to install on Ubuntu: requirements/system/ubuntu/apt-packages.txt These packages and others are required for...

View Article

Image may be NSFW.
Clik here to view.

VAST Storage API & JQ

Hiking Glendalough Park in Ireland Vast builds some neat storage systems that provide management functionality via a REST API. jq is a command-line JSON processor, or as the author describes it “sed...

View Article


Install portal_client on Linux

A user asked for help installing Portal Client. Which is a: Python-based client for downloading data files hosted by the an instance of the portal software developed by the GDC and further modified by...

View Article


Image may be NSFW.
Clik here to view.

Debian: Yarn fails to run.

Try setting the following environmental variable: export NODE_PATH=/usr/lib/nodejs:/usr/share/nodejs Yarn fails to run and shows a stacktrace like the following? Set the NODE_PATH. Error: Cannot find...

View Article
Browsing latest articles
Browse All 37 View Live




Latest Images