create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
# 0 is too far from ` ;) | |
set -g base-index 1 | |
# Automatically set window title | |
set-window-option -g automatic-rename on | |
set-option -g set-titles on | |
#set -g default-terminal screen-256color | |
set -g status-keys vi | |
set -g history-limit 10000 |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
# Editor backup files | |
*.bak | |
*~ |
sub vcl_recv { | |
# unless sessionid/csrftoken is in the request, don't pass ANY cookies (referral_source, utm, etc) | |
if (req.request == "GET" && (req.url ~ "^/static" || (req.http.cookie !~ "sessionid" && req.http.cookie !~ "csrftoken"))) { | |
remove req.http.Cookie; | |
} | |
# normalize accept-encoding to account for different browsers | |
# see: https://www.varnish-cache.org/trac/wiki/VCLExampleNormalizeAcceptEncoding | |
if (req.http.Accept-Encoding) { | |
if (req.http.Accept-Encoding ~ "gzip") { |
#!/usr/bin/perl | |
#fetch Gravatars | |
use strict; | |
use warnings; | |
use LWP::Simple; | |
use Digest::MD5 qw(md5_hex); | |
my $size = 90; |
#### Example SSH config file | |
# Host = a list of domains, IPs and personalized aliases that use this config | |
# entry. These alias names follow "Host" and are space delimited. | |
# e.g. Host 192.168.1.1 example.com example1 myalias1 | |
# Hostname = the IP or real hostname | |
# e.g. Hostname 192.168.1.1 | |
# User = the username | |
# e.g. User jdoe | |
# Port = if this is a non standard port, i.e. not 22 |
(function () { | |
// Bootstrap provided getPosition uses offsetWidth and offsetHeight to calculate | |
// the positioning of the tooltip. SVG Elements do not have this property because | |
// SVG does not layout elements, it assumes elements are always positioned. | |
// This replaces their implementation for SVG elements, and utilizes getBoundingClientRect. | |
var getPosition = $.fn.tooltip.Constructor.prototype.getPosition; | |
$.fn.tooltip.Constructor.prototype.getPosition = function (inside) { | |
var svgParent = this.$element.parents('svg'); | |
// Only apply to SVG children | |
// Test for iOS 3/BlackBerry |
from django.core.management.base import BaseCommand | |
from django.core import management | |
from django.conf import settings | |
from django.db import models | |
from importlib import import_module | |
from django.core.management.base import CommandError | |
from django.contrib.auth.models import User | |
from django.utils.six.moves import input | |
class Command(BaseCommand): |
getReferrerTraits = function() { | |
// Requires: jQuery, jQuery.cookie, segment.io | |
// TODO: Update referralHost:blackList with your domain, so we only track external referrers. | |
var analytics_args = [], | |
analytics_traits, | |
acquisitionSource, | |
firstReferrer, | |
firstCampaign, |