Skip to content

Instantly share code, notes, and snippets.

View DSpeichert's full-sized avatar

Daniel Speichert DSpeichert

View GitHub Profile
@DSpeichert
DSpeichert / gist:6667c1998873cbb5e77b
Created February 6, 2015 19:29
/proc/stat on 2.6.32-25-pve (hypervisor)
cpu 812356801 70601596 164156344 8514194746 105095756 15621 19649264 0 385600963
cpu0 140211709 9938999 34250511 943029914 41795874 14706 16084712 0 61589333
cpu1 134517546 7324881 20623885 1036916165 12309714 274 739466 0 67961388
cpu2 114402523 7697518 17772243 1063349650 10052706 243 587195 0 57686861
cpu3 85843684 8062153 13330021 1098753734 6406527 213 442239 0 32728595
cpu4 147861923 14715208 29151101 997731677 20523906 33 981895 0 89493139
cpu5 74732541 7119502 17518362 1106295111 5919598 26 289341 0 36576234
cpu6 67886430 7606446 16994817 1122476486 4885799 80 250954 0 27328209
cpu7 46900442 8136885 14515400 1145642005 3201629 43 273459 0 12237198
intr 47530867485 131 3 0 0 0 0 0 0 1 0 0 0 4 0 0 0 28 0 0 0 0 0 0 32 40752 0 0 0 0 0 0 3511697007 1 0 0 0 0 0 0 0 867518448 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
@DSpeichert
DSpeichert / .rtorrent.rc
Last active December 13, 2015 14:22
rTorrent config on Arch Linux
port_range = 39152-65535
scgi_port = 127.0.0.1:5000
encryption = allow_incoming,try_outgoing,enable_retry,prefer_plaintext
session = /home/rtorrent/.session/
directory = /home/rtorrent/files/
#http_capath=/etc/ssl/certs/
#safe_sync = yes
#check_hash = no
#hash_interval = 10
network.http.ssl_verify_peer.set=0
@DSpeichert
DSpeichert / gist:678a80ba938c505f58868ea7118e0c36
Created October 29, 2019 02:45 — forked from kaiwren/gist:1283905
Steve Yegge's SOA post
From: https://raw.github.com/gist/933cc4f7df97d553ed89/24386c6a79bb4b31fb818b70b34c5eab7f12e1ff/gistfile1.txt
Stevey's Google Platforms Rant
I was at Amazon for about six and a half years, and now I've been at Google for that long. One thing that struck me immediately about the two companies -- an impression that has been reinforced almost daily -- is that Amazon does everything wrong, and Google does everything right. Sure, it's a sweeping generalization, but a surprisingly accurate one. It's pretty crazy. There are probably a hundred or even two hundred different ways you can compare the two companies, and Google is superior in all but three of them, if I recall correctly. I actually did a spreadsheet at one point but Legal wouldn't let me show it to anyone, even though recruiting loved it.
I mean, just to give you a very brief taste: Amazon's recruiting process is fundamentally flawed by having teams hire for themselves, so their hiring bar is incredibly inconsistent across teams, despite various effort
<?php /** @noinspection PhpUndefinedMethodInspection */
namespace App\Console\Commands;
use Altek\Accountant\Context;
use Altek\Accountant\Notary;
use App\Models\Audit;
use App\Models\Ledger;
use Illuminate\Console\Command;