duplicates = multiple editions
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
| M[16],X=16,W,k;main(){T(system("stty cbreak") | |
| );puts(W&1?"WIN":"LOSE");}K[]={2,3,1};s(f,d,i | |
| ,j,l,P){for(i=4;i--;)for(j=k=l=0;k<4;)j<4?P=M | |
| [w(d,i,j++)],W|=P>>11,l*P&&(f?M[w(d,i,k)]=l<< | |
| (l==P):0,k++),l=l?P?l-P?P:0:l:P:(f?M[w(d,i,k) | |
| ]=l:0,++k,W|=2*!l,l=0);}w(d,i,j){return d?w(d | |
| -1,j,3-i):4*i+j;}T(i){for(i=X+rand()%X;M[i%X] | |
| *i;i--);i?M[i%X]=2<<rand()%2:0;for(W=i=0;i<4; | |
| )s(0,i++);for(i=X,puts("\e[2J\e[H");i--;i%4|| | |
| puts(""))printf(M[i]?"%4d|":" |",M[i]);W-2 |
| // Just before switching jobs: | |
| // Add one of these. | |
| // Preferably into the same commit where you do a large merge. | |
| // | |
| // This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
| // and then it quickly escalated into more and more evil suggestions. | |
| // I've tried to capture interesting suggestions here. | |
| // | |
| // Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
| // @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
| #!/usr/bin/env ruby | |
| # | |
| # Nagios/PuppetDB config generator | |
| # | |
| # Based on concept from puppetdb-external-naginator | |
| # https://github.com/favoretti/puppetdb-external-naginator | |
| # | |
| # Generates nagios configs from puppet(db) exported resources. | |
| # | |
| require 'rubygems' |
| module My | |
| module Job | |
| class ReconcileAccounts | |
| # ... | |
| end | |
| end | |
| end |
| """ censored.py - Randomly ######## ############## ################## ##### | |
| #### ########## ## ### Brown Corpus. | |
| To run this program without affecting your Python install: | |
| mkdir mystery-program | |
| cd mystery-program | |
| wget https://gist.github.com/jorendorff/4987554/raw//censored.py | |
| virtualenv venv | |
| . venv/bin/activate |
| class people::jfryman { | |
| # Applications | |
| include chrome::stable | |
| include onepassword | |
| include dropbox | |
| include alfred | |
| include macvim | |
| include zsh | |
| include homebrew | |
| include fitbit |
| <form method="post"> | |
| {{ form.hidden_tag() }} | |
| {{ form.example }} | |
| <input type="submit"> | |
| </form> |
| data JSON = JSONNull | |
| | JSONBool Bool | |
| | JSONNumber Double | |
| | JSONString String | |
| | JSONArray [JSON] | |
| | JSONObject [(String, JSON)] | |
| deriving (Eq, Ord, Show) |
| // Override theme default specification for product # per row | |
| function loop_columns() { | |
| return 5; // 5 products per row | |
| } | |
| add_filter('loop_shop_columns', 'loop_columns', 999); |