I hereby claim:
- I am alexlovelltroy on github.
- I am alexlovelltroy (https://keybase.io/alexlovelltroy) on keybase.
- I have a public key whose fingerprint is 7C67 0D07 4189 4795 7758 5C38 8F8D 6E6E 3FEB 79D1
To claim this, I am signing this object:
FOO='Barbar' |
ssh-keygen -t ecdsa -b 521 |
#!/usr/bin/env zsh | |
# | |
# This script uses the menemonic_wordlist from the mnemonic encoding project to generate a set of word pairs | |
# I use them for software release naming conventions and I like choices | |
# You can get it for yourself with curl | |
# curl -Lo menmonic_wordlist.txt http://web.archive.org/web/20091003023412/http://tothink.com/mnemonic/wordlist.txt | |
# | |
# | |
MNEMONIC_FILE="$HOME/Documents/mnemonic_wordlist.txt" | |
function random_word { |
#!/usr/bin/env zsh | |
# | |
# This script uses the menemonic_wordlist from the mnemonic encoding project to generate a set of word pairs | |
# I use them for software release naming conventions and I like choices | |
# You can get it for yourself with curl | |
# curl -Lo menmonic_wordlist.txt http://web.archive.org/web/20091003023412/http://tothink.com/mnemonic/wordlist.txt | |
# | |
# | |
MNEMONIC_FILE="$HOME/Documents/mnemonic_wordlist.txt" | |
function random_word { |
I hereby claim:
To claim this, I am signing this object:
INTERNET=1 # We have internet access | |
while 1 ; do | |
export OLD_INTERNET=$INTERNET; | |
sleep 5 && dig vpn.activision.com +short && export INTERNET=1 || export INTERNET=0; | |
if [ $OLD_INTERNET -lt $INTERNET ]; then | |
say "We have internet"; | |
fi; | |
if [ $OLD_INTERNET -gt $INTERNET ]; then | |
say "We lost internet"; | |
fi; |
class HandlerMixin(object): | |
action_handlers = {} | |
def add_handler_action(self,action): | |
if action not in self.action_handlers.keys(): | |
self.action_handlers[action] = [] | |
def register_handler(self, action, function): | |
self.add_handler_action(action) | |
if function not in self.action_handlers[action]: |
#INTROS PRIVACY POLICY
###Introduction
Thank you for visiting Intros.to, an online service which allows its Users to track introductions. Please read our Terms of Service and this Privacy Policy carefully, as you must agree to both as a condition of using our Service.
###Definitions
Throughout this document, we may use certain words or phrases, and it is important that you understand the meaning of them. The following is a non-exhaustive list of definitions of words and phrases found in this document:
import hashlib | |
def generate_avatar_url(addr, size): | |
default = 'mm'# or '404' or 'blank' | |
gravatar_base_url = 'http://www.gravatar.com/avatar/' | |
computed_hash = hashlib.md5(str(addr).lower().lstrip().rstrip()).hexdigest() | |
return '%s%s?d=%s&s=%s' % (gravatar_base_url, computed_hash, default, size) |
from django.conf import settings | |
from django.core.mail import EmailMultiAlternatives | |
from django.db import models | |
from django.template import Template, Context ,loader | |
from django.contrib.sites.models import Site | |
def resolve_template(template): | |
"Accepts a template object, path-to-template or list of paths" | |
if isinstance(template, (list, tuple)): |