I hereby claim:
- I am jfkingsley on github.
- I am jk (https://keybase.io/jk) on keybase.
- I have a public key whose fingerprint is 62D8 1415 C45F B602 08F4 4C84 C9CE CDC4 D64F CA3C
To claim this, I am signing this object:
const int LIGHT_PIN = 9; | |
const int BUTTON_PIN = 5; | |
const int DIFFICULTY = 5; | |
int ledSequence[DIFFICULTY]; | |
/** | |
* In this mode, the game shows the user a sequence to copy | |
*/ |
#include <iostream> | |
#include <memory> | |
#include <string> | |
#include <grpc++/grpc++.h> | |
#include "helloworld.grpc.pb.h" | |
using grpc::Server; | |
using grpc::ServerBuilder; |
var gMyHotKeyID = EventHotKeyID() | |
gMyHotKeyID.signature = OSType("swat".fourCharCodeValue) | |
gMyHotKeyID.id = UInt32(keyCode) | |
var eventType = EventTypeSpec() | |
eventType.eventClass = OSType(kEventClassKeyboard) | |
eventType.eventKind = OSType(kEventHotKeyPressed) | |
// Install handler. | |
InstallEventHandler(GetApplicationEventTarget(), {(nextHanlder, theEvent, userData) -> OSStatus in |
#!/bin/sh | |
# Based on gist.github.com/gboudreau/install-ffmpeg-amazon-linux.sh | |
# and https://trac.ffmpeg.org/wiki/CompilationGuide/Centos | |
if [ "`/usr/bin/whoami`" != "root" ]; then | |
echo "You need to execute this script as root." | |
exit 1 | |
fi | |
cat > /etc/yum.repos.d/centos.repo<<EOF |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Gets the *default* ip address only. | |
function default_ip | |
{ | |
/usr/bin/ruby -e ' | |
require "socket" | |
Socket.do_not_reverse_lookup = true |