Skip to content

Instantly share code, notes, and snippets.

@cwage
cwage / -
Created April 20, 2016 03:34
37.57.176.98 - - [19/Apr/2016:23:32:37 -0400] "GET /wp-config.php. HTTP/1.1" 404 290 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.1"
37.57.176.98 - - [19/Apr/2016:23:32:37 -0400] "GET /configuration.php.dist HTTP/1.1" 404 298 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.1"
37.57.176.98 - - [19/Apr/2016:23:32:37 -0400] "GET /wp-config.php.backup HTTP/1.1" 404 296 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.1"
37.57.176.98 - - [19/Apr/2016:23:32:37 -0400] "GET /backup.wp-config.php HTTP/1.1" 404 296 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.1"
37.57.176.98 - - [19/Apr/2016:23:32:37 -0400] "GET /wp-config.php.old HTTP/1.1" 404 293 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.1"
37.57.176.98 - - [19/Apr/2016:23:32:37 -0400] "GET /configuration.php.old HTTP/1.1" 404 297 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.1"
37.57.176.
alias ssh="cat ~/.ssh/config.d/* > ~/.ssh/config; ssh"
@cwage
cwage / -
Created March 14, 2016 10:55
root@portaptty:~# iwlist wlan0 scan | awk -F: '/Freq/ { print $2}' | sort -nr | uniq -c
1 5.825 GHz
1 5.805 GHz
3 5.785 GHz
3 5.765 GHz
1 5.745 GHz
1 5.24 GHz (Channel 48)
2 5.22 GHz (Channel 44)
1 5.2 GHz (Channel 40)
2 5.18 GHz (Channel 36)
@cwage
cwage / -
Created February 12, 2016 08:03
cwage@felix:~$ sudo strace -s 8192 -f -F -p 23740
Process 23740 attached - interrupt to quit
read(10, ^C <unfinished ...>
Process 23740 detached
cwage@felix:~$ sudo strace -s 8192 -f -F -p 23898
Process 23898 attached - interrupt to quit
clock_gettime(CLOCK_MONOTONIC, {5094550, 903361980}) = 0
gettimeofday({1455264138, 906225}, NULL) = 0
epoll_wait(17, {}, 32, 28) = 0
clock_gettime(CLOCK_MONOTONIC, {5094550, 932086376}) = 0
### Keybase proof
I hereby claim:
* I am cwage on github.
* I am cwage (https://keybase.io/cwage) on keybase.
* I have a public key ASBPFGujCuyI15H5ds4MXoB0t_AHHlsZLQlNsqanPuF-Gwo
To claim this, I am signing this object:
@cwage
cwage / -
Created January 26, 2016 16:17
function client.focus.filter(c)
if c.type == "desktop"
or c.type == "dock"
or c.type == "splash"
or not c.focusable then
return nil
end
return c
end
@cwage
cwage / gist:9826cb26ea85efb7da1b
Last active January 20, 2016 23:36
old man yells at cloud

friend: http://www.its.ucla.edu/wp-content/uploads/sites/6/2015/10/PB-Income-Segregation-and-Land-Use.pdf
cwage: nnnnnngh
cwage: "In contrast to the aforementioned findings, the measure of state political involvement is associated with lower levels of economic segregation. This suggests that segregation is lower where higher levels of government have greater influence, but higher where regulatory power is more concentrated in the hands of local decision makers."
cwage: that makes my head explode
cwage: of COURSE the segregation was lower with state political involvement
cwage: it's a continuous process of kabuki theatre that eventually expires
cwage: at which point the regulatory power there, as well, ends up where? you guessed it. in the hands of local decision makers
cwage: who, shockingly, are rarely interested in continuing to provide affordable housing
cwage: so by all means if they are proposing that in order for housing to be affordable it requires this "state political involvement", th

@cwage
cwage / -
Created January 20, 2016 03:39
18:03 <@cwage> free business idea friday:
18:03 <@cwage> open up a hot chicken place next to a KFC
18:03 <@cwage> keep nothing but a hot vat of lard + cayenne
18:03 <@cwage> when someone orders, send a runner to KFC to order, slather in lard + cayenne, mark it up
18:03 <@cwage> keep an immaculately clean fryer around to pass health inspections
18:03 <@cwage> how long do you think it'd be before someone noticed
@cwage
cwage / -
Created January 17, 2016 05:50
h8> [2016-01-16 20:10:37] <↑EconSciTech> Batteries have been held back by their capacity, cost and charge time. That will change http://econ.trib.al/nJk030u https://pbs.twimg.com/media/CY4zDDPUsAAMn1h.png
h9> [2016-01-16 23:47:16] <%chenoehart> RT @CostaSamaras: Not saying we shouldn't worry that cheap Li is concentrated in a few places. But we should worry more about making the whole battery cheap.
@cwage
cwage / -
Created January 17, 2016 05:50
h8> [2016-01-16 20:10:37] <↑EconSciTech> Batteries have been held back by their capacity, cost and charge time. That will change http://econ.trib.al/nJk030u https://pbs.twimg.com/media/CY4zDDPUsAAMn1h.png
h9> [2016-01-16 23:47:16] <%chenoehart> RT @CostaSamaras: Not saying we shouldn't worry that cheap Li is concentrated in a few places. But we should worry more about making the whole battery cheap.