- Set up Visual Studio 2015 and CUDA/CUDNN according to https://gist.github.com/zentralwerkstatt/d4c1cc56b9c99d33411aae3c296b578d
- Download and install cmake from https://cmake.org/download/
- Download dlib from http://dlib.net/
- Download openCV from https://sourceforge.net/projects/opencvlibrary/
- Extract openCV and add
opencv\build
to user path environment variable - Extract dlib
cd dlib-19.4\dlib-19.4\examples
mkdir build
cd build
cmake -G "Visual Studio 14 2015 Win64" ..
@-moz-document url(chrome://browser/content/browser.xul), | |
url(chrome://browser/content/browser.xhtml) { | |
/* hide horizontal tabs at the top of the window */ | |
#TabsToolbar > * { | |
visibility: collapse; | |
} | |
/* hide navigation bar when it is not focused; use Ctrl+L to get focus */ | |
#main-window:not([customizing]) #navigator-toolbox:not(:focus-within):not(:hover) { |
Building the base of VBA-M is trivial, at least. This doesn't get you a UI, but it builds a binary that will load a ROM:
- Download the source code from Sourceforge (http://sourceforge.net/p/vbam/code/HEAD/tree/)
- Install sdl from Homebrew (brew install sdl)
- Edit CMakeLists.txt and turn off GTK support
- Build a basic Unix binary:
(function(d) { | |
var dl = d.createElement('a'); | |
dl.innerText = 'Download MP3'; | |
dl.href = "http://media.soundcloud.com/stream/"+d.querySelector('#main-content-inner img[class=waveform]').src.match(/\.com\/(.+)\_/)[1]; | |
dl.download = d.querySelector('em').innerText+".mp3"; | |
d.querySelector('.primary').appendChild(dl); | |
dl.style.marginLeft = '10px'; | |
dl.style.color = 'red'; | |
dl.style.fontWeight = 700; | |
})(document); |
import java.net.* ; | |
import java.io.* ; | |
import java.util.* ; | |
public class Server { | |
public static void main( String[] args) { | |
try { | |
ServerSocket sock = new ServerSocket(4712,100) ; | |
while(true) new Handler(sock.accept()).start() ;} | |
catch(IOException e) { | |
System.err.println(e) ;};}} |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
import urllib2 | |
import re | |
url = '' | |
host='http://streaming.itunesfestival.com' | |
def get_token(): | |
sub = url.find('?token=') | |
return url[sub:] |
easterEgg.BadWorder.list={ | |
"4r5e":1, | |
"5h1t":1, | |
"5hit":1, | |
a55:1, | |
anal:1, | |
anus:1, | |
ar5e:1, | |
arrse:1, | |
arse:1, |
"Ok, I came up with an example.
Programming is like doing a massive sudoku. But you’re not just doing your own square; you have to line up the edges with squares that you’ve already done, or squares other people in your team are working on.
And it’s not just squares that you’ve done — you have to anticipate the sudokus you’ll be doing days, weeks or months from now, and leave easy numbers at the edges so it isn’t impossible to do those squares.
And that’s why some programmers are so engrossed in it, and get all worked up, because they’re like “You left a 5 in the middle of the square, what kind of asshole does that, now I’m gonna have to line all my squares up with that.”
And then someone points out a bug, and you have to trace it back to the square it came from, and then redo that square without screwing up all the other ones.
Definition: A virtual or physical representation of having accomplished something. These are often viewed as rewards in and of themselves.
Example: a badge, a level, a reward, points, really anything defined as a reward can be a reward.
Definition: A dynamic in which to succeed, one must return at a predefined time to take some action. Appointment dynamics are often deeply related to interval based reward schedules or avoidance dyanmics.