My model for assessing trust with people.
- Random strangers
- Acquaintances
- Most friends that are more than acquaintances
- Close friends
- Only me
My model for assessing trust with people.
git.io is an awesome URL shortener provided by Github. It works when shortening URLs from *.github.com/* to a small https://git.io/ link.
>>> import requests
Let's say you have a gist (public or private) and someone forks it and makes changes to it. Awesome! However, now you want to merge in their changes to your gist. Unfortunately, it doesn't seem GitHub supports this via their website at the moment, however, you can still merge the gists with 'git' on the command line.
You want to clone your gist. You can locate the link for this under "Clone this gist"
➜ ~/dev » git clone https://gist.github.com/5315168.git
Cloning into '5315168'...
remote: Counting objects: 6, done.
#!/usr/bin/env python | |
import copy | |
f = open('weechat.conf', 'r') | |
formats = ['/join ', '/query '] | |
networks = { |
Ron DuPlain - PyOhio 2013
#Given to the public domain | |
#No warranties | |
import urllib2 | |
import simplejson | |
def shorturl(urltoshorten): | |
"""Compress the URL using goo.gl take a look at https://developers.google.com/url-shortener/v1/getting_started | |
>>> shorturl('http://igor.tamarapatino.org') | |
'http://goo.gl/FxHOn' |
AddEncoding gzip gz | |
RewriteEngine On | |
RewriteCond %{HTTP:Accept-Encoding} gzip | |
RewriteCond %{REQUEST_FILENAME}.gz -f | |
RewriteRule ^(.*)$ $1.gz [QSA,L] | |
<Files *.css.gz> | |
ForceType text/css |