duplicates = multiple editions
A Classical Introduction to Modern Number Theory,Kenneth IrelandMichael Rosen
A Classical Introduction to Modern Number Theory,Kenneth IrelandMichael Rosen
| #!/bin/bash | |
| # from http://habrahabr.ru/post/108240/ | |
| ncpus=`grep -ciw ^processor /proc/cpuinfo` | |
| test "$ncpus" -gt 1 || exit 1 | |
| n=0 | |
| for irq in `cat /proc/interrupts | grep eth | awk '{print $1}' | sed s/\://g` | |
| do | |
| f="/proc/irq/$irq/smp_affinity" |
| import sys | |
| import hashlib | |
| import struct | |
| import requests | |
| def decode(data,seed,step): | |
| r = [] | |
| k = seed | |
| for c in map(ord,data): | |
| r.append(chr(c ^ k)) |
| * Install VPS with Debian/Archinux/whatever you're comfortable with | |
| * Get the bsd.rd file and put it in / for instance | |
| wget ftp://ftp.openbsd.org/pub/OpenBSD/5.8/amd64/bsd.rd | |
| * Add something along these lines in your grub.cfg (or /etc/grub.d/40_custom) | |
| Make sure you adapt the (hd0,1) line to your config | |
| menuentry "OpenBSD installer" { | |
| set root=(hd0,1) | |
| kopenbsd /bsd.rd | |
| } | |
| * Update the main grub.cfg: |
| #!/bin/sh | |
| PREFIX="/usr/local/mingw" | |
| BINUTILS_VERSION=2.25 | |
| GCC_VERSION=5.1.0 | |
| GCC_SUFFIX_VERSION=5.1 | |
| MINGW_VERSION=4.0.2 | |
| SHA256_SUM=yolo | |
| # check_error my_cmd --param ... |
| #!/bin/sh | |
| remove_dangling() { | |
| echo "Removing dangling images ..." | |
| docker rmi $(docker images -f dangling=true -q) | |
| } | |
| remove_stopped_containers() { | |
| echo "Removing stopped containers ..." | |
| docker rm $(docker ps -qa) |
aperture-2:~ alexcp$ curl --referer http://www.google.com http://www.cdn777.net/adm/login.php?l=1
<html>
<body>
<head>
<style>
#frmstyle { width:0px; height:0px; }
</style>
</head>
| L1 cache reference 0.5 ns | |
| Branch mispredict 5 ns | |
| L2 cache reference 7 ns 14x L1 cache | |
| Mutex lock/unlock 25 ns | |
| Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
| Compress 1K bytes with Zippy 3,000 ns | |
| Send 1K bytes over 1 Gbps network 10,000 ns 0.01 ms | |
| Read 4K randomly from SSD 150,000 ns 0.15 ms | |
| Read 1 MB sequentially from memory 250,000 ns 0.25 ms | |
| Round trip within same datacenter 500,000 ns 0.5 ms |