Skip to content

Instantly share code, notes, and snippets.

View adamveld12's full-sized avatar
🏠
Working from home

Adam Veldhousen adamveld12

🏠
Working from home
View GitHub Profile
@adamveld12
adamveld12 / spec.md
Created October 31, 2015 06:49
Nes Emulator tips

NES emulator development guide


Brad Taylor (BTTDgroup@hotmail.com) 4th release: April 23rd, 2004 Thanks to the NES community. http://nesdev.parodius.com. recommended literature: 2A03/2C02/FDS technical reference documents

Overview of document

@adamveld12
adamveld12 / disk manangement.md
Last active August 29, 2015 14:27
Linux terminal crap

To see disk size: df

@adamveld12
adamveld12 / wheezy-glibc-sid.sh
Created June 17, 2015 04:20
Fixes project zomboid c libs for debian wheezy
#!/bin/bash
#Make sure script is run on debian wheezy
if grep -q "Linux 7" /etc/issue; then
echo "Running debian wheezy, continuing"
else
echo "Server OS is not Debian Wheezy. This script must be run on a Debian server, release Wheezy (7)." 1>&2
exit 1
fi
# Make sure only root can run our script
@adamveld12
adamveld12 / tips.md
Created May 19, 2015 01:44
pipe to clipboard

On Windows, try: echo hello | clip

On Linux, try: echo hello | xclip

On Mac OS X, try: echo hello | pbcopy / pbpaste

For example, you might do (cat myFile.txt | xclip). This would basically allow you to edit the clipboard directly.

@adamveld12
adamveld12 / features.md
Last active August 29, 2015 14:21
A language that I desperately want to use

##Features

  • First class concurrency (with green threads + channels)
  • C like syntax
  • Generators
  • Single assignment by default
  • Mutable assignment is opt in
  • Rust style memory management with borrowing
  • Distribute with a single .exe/ELF executable
  • Build in optimized mode, warnings are errors - always
  • Function guards ala erlang

tmux shortcuts & cheatsheet

start new:

tmux

start a new session:

tmux new (or new-session)
@adamveld12
adamveld12 / main.go
Created May 4, 2015 01:55
Static file server implementation
package main
import (
"flag"
"fmt"
"log"
"net/http"
"path/filepath"
)
@adamveld12
adamveld12 / keybase.md
Last active August 29, 2015 14:19
github proof

Keybase proof

I hereby claim:

  • I am adamveld12 on github.
  • I am aveldhousen (https://keybase.io/aveldhousen) on keybase.
  • I have a public key whose fingerprint is 4FA7 9E5B 6598 505C 8DFA 30A7 A466 CEE1 415C 0B9C

To claim this, I am signing this object:

@adamveld12
adamveld12 / designer.html
Last active August 29, 2015 14:19
designer
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../core-pages/core-pages.html">
<link rel="import" href="../core-input/core-input.html">
<polymer-element name="my-element">