This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gistup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The MIT License (MIT) | |
Copyright (c) 2014 Tom Lee | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*, | |
*:before, | |
*:after { | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; } | |
html, | |
body { | |
font-size: 100%; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <avr/sleep.h> | |
#include <avr/power.h> | |
#include <VirtualWire.h> | |
volatile bool watchdogActivated = false; | |
unsigned long cycle_count = 0; | |
unsigned long last_motion_detected = 0; | |
// Pin 13 has an LED connected on most Arduino boards. | |
// give it a name: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var request = require('request'); | |
var r = request.post('http://localhost:8000'); | |
process.stdin.pipe(r).pipe(process.stdout); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tomlee@Toms-MacBook-Air:~$ dig @8.8.8.8 house.gov ANY | |
; <<>> DiG 9.8.3-P1 <<>> @8.8.8.8 house.gov ANY | |
; (1 server found) | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 45174 | |
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 | |
;; QUESTION SECTION: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tomlee@Toms-MacBook-Air:~$ dig @69.36.157.30 house.gov ANY | |
; <<>> DiG 9.8.3-P1 <<>> @69.36.157.30 house.gov ANY | |
; (1 server found) | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32435 | |
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 2 | |
;; WARNING: recursion requested but not available |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I’ve worked in the casino industry for over eleven years, with almost nine of them in Surveillance. In the past eleven years, I’ve lost a lot of hope in humanity. I’ve seen guests attempt to cheat the casino. I’ve seen employees steal from the company. | |
Those are to be expected. Those people keep me employed. What really pisses me off, though, is someone stealing from someone else. The worst are when the victim comes back and asks the suspect if they’ve seen their lost item – whether it’s cash, a cell phone, or even a cane (yes, a cane!) – and the suspect flat-out lies to the victim. To stare someone in the face and deny knowing anything about their lost $100, knowing it’s burning a hole in your pocket (or, in most cases, being lost with every pull of the handle), has to be one of the worst things you could do to someone. | |
What’s surprising is that these actions have no stereotypical look. I’ve watched homeless people do it, and I’ve watched players with thousands of dollars on the table do it. All genders. A |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openvpn --client --dev tun --proto udp --remote xxx.xxx.xxx.xxx 1194 --resolv-retry infinite --nobind --persist-key --persist-tun --ca ca.crt --cert client.crt --key client.key --comp-lzo --verb 3 --cd /home/pi/Devel/wormhole/openvpn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
port 1194 | |
proto udp | |
dev tun | |
ca /etc/openvpn/easy-rsa/keys/ca.crt | |
cert /etc/openvpn/easy-rsa/keys/server.crt | |
key /etc/openvpn/easy-rsa/keys/server.key # This file should be kept secret | |
dh /etc/openvpn/easy-rsa/keys/dh2048.pem |