Replace [your key] with your key ID
To obtain your key ID
gpg --list-secret-keys --keyid-format LONGWhich returns something like
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| # | |
| # Updated to use Python 3 by Malcolm Greaves. | |
| # | |
| # Python script to find the largest files in a git repository. | |
| # The general method is based on the script in this blog post: | |
| # http://stubbisms.wordpress.com/2009/07/10/git-script-to-show-largest-pack-objects-and-trim-your-waist-line/ | |
| # | |
| # The above script worked for me, but was very slow on my 11GB repository. This version has a bunch |
| #!/bin/bash | |
| # prints colored text | |
| print_style () { | |
| if [ "$2" == "info" ] ; then | |
| COLOR="96m"; | |
| elif [ "$2" == "success" ] ; then | |
| COLOR="92m"; | |
| elif [ "$2" == "warning" ] ; then |
Instructions tested with a Raspberry Pi 2 with an 8GB memory card. Probably also works fine on a Raspberry Pi 3.
Download the latest Raspbian Jessie Light image. Earlier versions of Raspbian won't work.
Write it to a memory card using Etcher, put the memory card in the RPi and boot it up.
| [Unit] | |
| Description=Gunicorn for project %I | |
| After=network.target | |
| After=syslog.target | |
| [Service] | |
| EnvironmentFile=/etc/conf.d/django_%i | |
| ExecStart=/usr/bin/start_gunicorn | |
| Restart=always | |
| SyslogIdentifier=gunicorn%I |
| $.fn.crossDomainRequest = function(url, method, data, fn) { | |
| var self = this; | |
| var receiver = self.attr('src').replace(/\/.*$/, '').replace(/^https?::\/\//, ''); | |
| function get(event) { | |
| if (event.origin.match(receiver)) { | |
| // event.data is response from POST | |
| fn(event.data); | |
| } | |
| } | |
| if (window.addEventListener){ |
| #!/bin/bash | |
| # https://cloud.google.com/compute/docs/faq#find_ip_range | |
| # nslookup -q=TXT _cloud-netblocks.googleusercontent.com 8.8.8.8 | |
| myarray=() | |
| for LINE in `dig txt _cloud-netblocks.googleusercontent.com +short | tr " " "\n" | grep include | cut -f 2 -d :` | |
| do | |
| myarray+=($LINE) | |
| for LINE2 in `dig txt $LINE +short | tr " " "\n" | grep include | cut -f 2 -d :` |