Replace [your key] with your key ID
To obtain your key ID
gpg --list-secret-keys --keyid-format LONG
Which returns something like
#!/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 :` |
/* | |
* list_head-like hash table implementation | |
* Author: Gyeonghwan Hong <[email protected]> | |
* Original Author: Tony Thompson <[email protected]> | |
*/ | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <limits.h> |