- version 3.6
Check those constraints:
$this->anything()
ּ_בּ | |
בּ_בּ | |
טּ_טּ | |
כּ‗כּ | |
לּ_לּ | |
מּ_מּ | |
סּ_סּ | |
תּ_תּ | |
٩(×̯×)۶ | |
٩(̾●̮̮̃̾•̃̾)۶ |
var http = require("http"), | |
url = require("url"), | |
path = require("path"), | |
fs = require("fs") | |
port = process.argv[2] || 8888; | |
http.createServer(function(request, response) { | |
var uri = url.parse(request.url).pathname | |
, filename = path.join(process.cwd(), uri); |
# Credit http://stackoverflow.com/a/2514279 | |
for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r |
NOTE: You can check, if your config here:
http://www.sslshopper.com/ssl-checker.html
Decrypt the private key using the password you entered when you created your key:
openssl rsa -in ssl.key -out /etc/nginx/conf/ssl.key
Protect your key from prying eyes:
chmod 600 /etc/nginx/conf/ssl.key
#!/bin/bash | |
a="" | |
b="" | |
for i in $(seq 0 10) | |
do | |
b=$(git diff --shortstat "@{ $i day ago }") | |
if [[ "$b" != "$a" ]]; then | |
echo $(date --date="$i days ago" +%F) $b | |
fi | |
a=$b |
Backstory: I decided to crowdsource static site generator recommendations, so the following are actual real world suggested-to-me results. I then took those and sorted them by language/server and, just for a decent relative metric, their Github Watcher count. If you want a heap of other projects (including other languages like Haskell and Python) Nanoc has the mother of all site generator lists. If you recommend another one, by all means add a comment.
require 'ruble' | |
@@COUNT = 1 | |
command 'Getter/Setter generator' do |cmd| | |
cmd.scope = 'source.php' | |
cmd.output = :insert_as_snippet | |
cmd.input = :document | |
cmd.key_binding = "Ctrl+S" | |
cmd.invoke do |context| |
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
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 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |