Below a ciphered message (source
):
QlpoOTFBWSZTWW8hhvwAAD7aAG0wAAsABQAKIAB1CVT8UEeRBJpRDRoaJoYJ2hHaMottLYUShiAD7GMfiBkCDGKMIrRvW41TxV5lWawgMpr4yNM4jiTfAZrPiH4u5IpwoSDeQw34
No special characters so Ascii85 can be excluded.
#! /usr/bin/python | |
from sys import argv | |
from os.path import exists | |
from os import makedirs | |
from os import symlink | |
from os import system | |
import getopt | |
# |
Prereq:
apt-get install zsh
apt-get install git-core
Getting zsh to work in ubuntu is weird, since sh
does not understand the source
command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
I hereby claim:
To claim this, I am signing this object:
from random import choice | |
from scrapy import signals | |
from scrapy.exceptions import NotConfigured | |
class RotateUserAgentMiddleware(object): | |
"""Rotate user-agent for each request.""" | |
def __init__(self, user_agents): | |
self.enabled = False | |
self.user_agents = user_agents |
# Keep these files out of the repo
/wp-content/themes/twenty*
/wp-content/upgrade
/wp-content/uploads
/sitemap.*
/wp-config.php
*.sql
# Hidden files
javascript: (function() { | |
function getTag(tag) { | |
return document.getElementsByTagName(tag); | |
} | |
function a(o, a) { | |
return o.getAttribute(a); | |
} | |
var images = getTag('img'); |
#You should do all your LAMP development in a Virtual Machine
##Here's Why:
Many of us develop on Macintoshes. There are many reasons for this, but one of them is that it's based on a Unix platform of some sort. This allows us to run common server software such as Apache, Ruby, Python and Nodejs on our Macs.
Our computers become powerful develoment machines similar to the servers our apps will eventually live on.
Sometime we start our computer only to find Apache won't start, or MySQL can't create a PID file, or we've updated to Mountain Lion and Apache needs to be reconfigured. Death!
As configured in my dotfiles.
start new:
tmux
start new with session name:
// ==UserScript== | |
// @name Reset CKEDITOR Accessibility Instructions (ALT+0) | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description If you have your Mac configured with a French keyboard CKEDITOR pops up "Accessibility Instructions" every time you try to make an "@" | |
// @author renshuki | |
// @match * | |
// @grant none | |
// ==/UserScript== |