Original link: http://www.concentric.net/~Ttwang/tech/inthash.htm
Taken from: http://web.archive.org/web/20071223173210/http://www.concentric.net/~Ttwang/tech/inthash.htm
Reformatted using pandoc
Thomas Wang, Jan 1997
last update Mar 2007
| # autoload concerns | |
| module YourApp | |
| class Application < Rails::Application | |
| config.autoload_paths += %W( | |
| #{config.root}/app/controllers/concerns | |
| #{config.root}/app/models/concerns | |
| ) | |
| end | |
| end |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Ansi 0 Color</key> | |
| <dict> | |
| <key>Blue Component</key> | |
| <real>0.19370138645172119</real> | |
| <key>Green Component</key> | |
| <real>0.15575926005840302</real> |
| var el = ( function () { | |
| var doc = document; | |
| var directProperties = { | |
| 'class': 'className', | |
| className: 'className', | |
| defaultValue: 'defaultValue', | |
| 'for': 'htmlFor', | |
| html: 'innerHTML', |
| // http://www.evanmiller.org/how-not-to-sort-by-average-rating.html | |
| // http://gist.github.com/raw/63002/b53853727856bad494dcbb7ffed4fc17f289af92/gistfile1.rb | |
| // $z is the pnormaldist with power = 0.05. I.e., pnormaldist(1-power/2) | |
| function score($pos, $n) { | |
| if ($n == 0) { return 0; } | |
| $z = 1.95996397158435; | |
| $phat = 1.0*$pos/$n; | |
| return ($phat + $z*$z/(2*$n) - $z * sqrt(($phat*(1-$phat)+$z*$z/(4*$n))/$n))/(1+$z*$z/$n); | |
| } |
| <?php | |
| //set_include_path(get_include_path() . PATH_SEPARATOR . __DIR__); // optional | |
| spl_autoload_register(function ($class) { | |
| $file = preg_replace('#\\\|_(?!.+\\\)#','/', $class) . '.php'; | |
| if (stream_resolve_include_path($file)) | |
| require $file; | |
| }); |
| <?php | |
| /** | |
| * WordPress WP_QUERY-wrapper to simplify getting and working with posts | |
| * | |
| * Does something with posts, using a callback | |
| * Setups global post variable before running callback | |
| * And restores it afterwards | |
| * | |
| * An introductionary blogpost about this function is posted on our blog: |
Original link: http://www.concentric.net/~Ttwang/tech/inthash.htm
Taken from: http://web.archive.org/web/20071223173210/http://www.concentric.net/~Ttwang/tech/inthash.htm
Reformatted using pandoc
Thomas Wang, Jan 1997
last update Mar 2007
| #!/bin/bash | |
| # Make sure you are up to date | |
| yum -y update && yum -y install wget | |
| # Install EPEL repository | |
| rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
| # Get us a clean working directory | |
| mkdir /php |
| <?php | |
| return [ | |
| "Afghanistan", | |
| "Albania", | |
| "Algeria", | |
| "Andorra", | |
| "Angola", | |
| "Antigua and Barbuda", | |
| "Argentina", |
Product: Sagitta Brutalis 1080 (PN S3480-GTX-1080-2697-128)
Software: Hashcat v3.00-beta-145-g069634a, Nvidia driver 367.18
Accelerator: 8x Nvidia GTX 1080 Founders Edition