Create an .htaccess file in the webroot:
AuthUserFile /app/www/.htpasswd
AuthType Basic
AuthName "Restricted Access"
Require valid-user
Create a .htpasswd file:
htpasswd -c /app/www/.htpasswd [username]
''' | |
odds of winning: .5776398 | |
odds of losing: .4223602 | |
odds of winning game after winning 1: 23/34 .67647059 | |
odds of winning game after winning 2: 15/23 .65217391 | |
odds of winning game after winning 3: 9/15 .60000000 | |
odds of winning game after winning 4: 7/9 .77777778 | |
odds of winning game after winning 5: 3/7 .42857143 | |
odds of winning game after winning 6: 2/3 .66666667 |
Create an .htaccess file in the webroot:
AuthUserFile /app/www/.htpasswd
AuthType Basic
AuthName "Restricted Access"
Require valid-user
Create a .htpasswd file:
htpasswd -c /app/www/.htpasswd [username]
Accounting | |
Active Lifestyle | |
Ad Targeting | |
Adult | |
Advanced Materials | |
Adventure Travel | |
Advertising | |
Advertising Exchanges | |
Advertising Networks | |
Advertising Platforms |
var url = 'http://www.techstars.com/program/mentors/#all'; | |
var casper = require('casper').create({ | |
// verbose: true, | |
// logLevel: 'debug', | |
pageSettings: { | |
loadImages: false, | |
loadPlugins: false | |
} | |
}); |
import sys | |
import subprocess | |
import tempfile | |
import urllib | |
text = sys.stdin.read() | |
chart_url_template = ('http://chart.apis.google.com/chart?' | |
'cht=qr&chs=300x300&chl={data}&chld=H|0') | |
chart_url = chart_url_template.format(data=urllib.quote(text)) |
;;; dto-org-gtd.el --- dto's org-mode configuration for GTD | |
;;; http://orgmode.org/worg/code/elisp/dto-org-gtd.el | |
;; Copyright (C) 2007 David O'Toole | |
;; Author: David O'Toole(require 'org) <[email protected]> | |
;; Keywords: tools | |
;; This file is free software; you can redistribute it and/or modify | |
;; it under the terms of the GNU General Public License as published by |
var url = 'http://www.techstars.com/program/mentors/#all'; | |
var casper = require('casper').create({ | |
// verbose: true, | |
// logLevel: 'debug', | |
pageSettings: { | |
loadImages: false, | |
loadPlugins: false | |
} | |
}); |
var https = require('https'); | |
var fs = require('fs'); | |
var key_token = 'your_access_token'; // optional | |
var startup_id = '6702'; // AngelList | |
// options for GET | |
var optionsget = { | |
host : 'api.angel.co', | |
port : 443, |
# https://snipt.net/dandrews/list-the-files-that-are-different-between-two-directories-excluding-directories-that-match-specific-patterns/ | |
diff --brief -r -x '.git' -x 'tmp' /path/to/dir1 /path/to/dir2 |