Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
tmp=`mktemp`
powershell="/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe"
trap ctrlC INT
removeTempFiles() {
rm -f $tmp
}
#!/usr/bin/env python
"""
summarize.py
Python 2.7
Summarizes all participant_X.csv files into a single CSV with the following columns:
participant_number 'Participant ID Number
mean_accuracy 'Mean Accuracy (fraction of trials correct)
@howeik
howeik / TwentyBot
Last active August 29, 2015 14:22 — forked from alandownie/TwentyBot
function countPieces() {
it = b.pieces();
var i = 0;
while (it.current()){ i++; it.next() }
return i;
}
function getRandPiece() {
var it = b.pieces();
using System;
namespace GenericsTest
{
class MainClass
{
public static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
fdasfadsfasd