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
| # usage: redfin-images "http://www.redfin.com/WA/Seattle/123-Home-Row-12345/home/1234567" | |
| function redfin-images() { | |
| wget -O - $1 | grep "full:" | awk -F \" '{print $4}' | xargs wget - | |
| } |
| var socket = null; | |
| function bootstrap() { | |
| // 適当な図形を描画 | |
| var c = document.getElementById('mycanvas'); | |
| var ctx = c.getContext('2d'); | |
| ctx.globalalpha = 0.3; | |
| for(var i=0; i<1000; i++) { | |
| ctx.beginPath(); |
| #!/usr/bin/python | |
| # prerequisite: http://www.exiv2.org/download.html | |
| import sys | |
| import os.path | |
| import re | |
| import subprocess | |
| def process_ini(fname): | |
| # print "found ini " + fname + "\n" |
| #!/usr/bin/python | |
| # prerequisite: http://www.exiv2.org/download.html | |
| import sys | |
| import os.path | |
| import re | |
| import subprocess | |
| def process_ini(fname): | |
| # print "found ini " + fname + "\n" |
| <!doctype html> | |
| <html> | |
| <title>Flatten.js, General SVG Flattener</title> | |
| <head> | |
| <script> | |
| /* | |
| Random path and shape generator, flattener test base: https://jsfiddle.net/fjm9423q/embedded/result/ | |
| Basic usage example: https://jsfiddle.net/nrjvmqur/embedded/result/ |
| 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 |
| #include <limits> | |
| namespace Detail | |
| { | |
| double constexpr sqrtNewtonRaphson(double x, double curr, double prev) | |
| { | |
| return curr == prev | |
| ? curr | |
| : sqrtNewtonRaphson(x, 0.5 * (curr + x / curr), curr); | |
| } |
| #!/bin/bash | |
| if [ -z "$1" ];then | |
| echo "USAGE: | |
| procrusteanarxiv path/to/input/dir/containing/tex/files/ | |
| This script tested with dependencies: | |
| gs Ghostscript version 9.27 (9.21 is buggy) |