start new:
tmux
start new with session name:
tmux new -s myname
| #!/usr/bin/env python | |
| import urllib, sys, bs4 | |
| print bs4.BeautifulSoup(urllib.urlopen("http://data.alexa.com/data?cli=10&dat=s&url="+ sys.argv[1]).read(), "xml").find("REACH")['RANK'] |
| <?php | |
| /** | |
| * Todo: Send a random user agent string and sleep a random amount between requests. | |
| */ | |
| if ($_SERVER['REQUEST_METHOD'] == 'POST') { | |
| // Extract and sanatize input: | |
| $domain = filter_input(INPUT_POST, 'domain', FILTER_SANITIZE_URL); | |
| $terms = filter_input(INPUT_POST, 'terms', FILTER_SANITIZE_STRING); | |
| // Setup Goutte (which also includes Guzzle): |
| #!/bin/bash | |
| mkdir -p bin sources/{config,twig,sql,lib/{Model,Controller}} web/{css,images,js} tests documentation log | |
| chmod 777 log | |
| > web/favicon.ico | |
| cat > bin/generate_model.php <<"EOF" | |
| <?php // bin/generate_model.php | |
| $app = require(__DIR__."/../sources/bootstrap.php"); |
| from urllib import quote | |
| from string import ascii_lowercase | |
| from operator import itemgetter | |
| import os | |
| import random | |
| import requests | |
| from datetime import datetime | |
| from lib.languages import LANGUAGES, get_language_by_name | |
| from lib.utils import format_timedelta |
| /* Mixins */ | |
| @mixin box-sizing($val) { | |
| -webkit-box-sizing: $val; | |
| -moz-box-sizing: $val; | |
| box-sizing: $val; | |
| // Box-Sizing Pollyfill - https://github.com/Schepp/box-sizing-polyfill | |
| *behavior: url(http://absolute/path/to/boxsizing.htc); | |
| } |
| 0-mail.com | |
| 0815.ru | |
| 0clickemail.com | |
| 0wnd.net | |
| 0wnd.org | |
| 10minutemail.com | |
| 20minutemail.com | |
| 2prong.com | |
| 30minutemail.com | |
| 3d-painting.com |
A list of amazingly awesome PHP libraries that you should consider using (and some other shiny extras).
| var mailer = require('nodemailer') | |
| var Hapi = require('hapi') | |
| var util = require('util') | |
| var template = require('swig') | |
| var path = require('path') | |
| var PORT = process.env.PORT || 8080 | |
| var server = new Hapi.Server(PORT) | |
| template.init({ |
| (function() { | |
| var script, | |
| scripts = document.getElementsByTagName('script')[0]; | |
| function load(url) { | |
| script = document.createElement('script'); | |
| script.async = true; | |
| script.src = url; | |
| scripts.parentNode.insertBefore(script, scripts); |