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
// A hacky script to work around that piece of crap WWDC14 page | |
// which does not have links to individual videos, not allows | |
// to have more than one video marked as active at the same time. | |
// | |
// Basically I went through the list of videos, picked those | |
// I think are relevant, make then "active", and then zap all | |
// the others. | |
// | |
// Simply copy/paste this into dev tools console. | |
// |
#!/usr/bin/env bash | |
# A hack to make HDInsight Emulator work with cygwin bash. | |
# Basically, we don't use bash things which come with the installation. | |
# Instead, we call out to the Windows cmd scripts to invoke hadoop stuff. | |
cmd /c "hadoop" $* |
Bad commit? 66cce477d016979cde3203d5f7125710cffdf4a4 | |
NOTE: formatted the numbers in the table to make more readable | |
-------------- | |
Target competition: Math_DoubleSqrtAvx | |
// ***** Competition: Start ***** | |
// Found benchmarks: | |
// Math_DoubleSqrtAvx_Sqrt13_Throughput_X64_RyuJit_NET-Current -w=5 -t=10 |
#!/bin/bash | |
# | |
# A kind of an alias support for the Perforce p4. | |
# | |
# This one aliases "interchanges" and "changes" commands to be printed out nicely in format: | |
# | |
# Change <change_no> on <date> by <user>@<workspace> [<status>] | |
# <first line of change description> | |
# -- | |
# Change <change_no> on <date> by <user>@<workspace> [<status>] |
/* Prelude.cs : What happens when a haskell programmer learns C#. | |
Copyright (c) 2011 Clark Gaebel | |
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 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
internal static class FooBar | |
{ | |
private static void DoStuff() | |
{ | |
} | |
private static class SelfTests | |
{ | |
[TestFixture] |
using Foo.Bar | |
public class Blah | |
{ | |
} |
package main | |
import ( | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"strings" | |
"time" |
Southpaw:~ philip$ export GOPATH="/Users/philip/scratch/gobook"; export PATH=${GOPATH}/bin:${PATH} | |
Southpaw:~ philip$ mkdir -p $GOPATH/src/hello | |
Southpaw:~ philip$ vi $GOPATH/src/hello/hello.go | |
// source: | |
package main | |
import ( | |
"fmt" |