Simple cookie dough recipe that goes well in Chocolate chip cookies
- 1/2 cup butter
- 1/2 cup (100 g) granulated sugar
- 1/2 cup (104 g) brown sugar (packed)
- 1 eggs
#!/bin/env python | |
# Works with pathogen plugin manager for vim | |
import urllib.request | |
from subprocess import call | |
import shutil | |
from os import makedirs, path | |
# Bundles from git |
/** | |
* Evan Wilde | |
* May 6 2015 | |
* | |
* This file is to test nanoflann kd tree with glm::vec3 datastructures | |
* This tests a set of points using an adaptor | |
* This separates the implementation of the datastructures a bit better | |
*/ | |
#include <glm/glm.hpp> |
# Evan Wide | |
# Generic Makefile | |
# LIBS | |
# pthread Threading | |
# Defines | |
# DEBUG on debug build | |
# TEST on test build | |
EXEC = project_name |
#!/bin/sh | |
# Rescan Hard disks | |
if [ "$(id -u)" != "0" ]; then | |
echo "Run as root" 1>&2 | |
exit 1 | |
fi | |
for i in $(ls /sys/class/scsi_host/); do | |
echo "- - -" > /sys/class/scsi_host/$i/scan; |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <sys/io.h> | |
#include <stdio.h> | |
// Send data to keyboard | |
// This is for my IBM rapid access 1 keyboard media key support | |
// To activate all keys: | |
// | |
// sudo ./keyboard_send ea 71 |
extern crate rand; | |
extern crate time; | |
use std::thread; | |
use std::sync::mpsc; | |
use rand::distributions::{IndependentSample, Range}; | |
use time::PreciseTime; | |
/// Conncurent Monte-carlo PI calculator | |
fn main() | |
{ |
#!/bin/bash | |
for sysdevpath in $(find /sys/bus/usb/devices/usb*/ -name dev); do | |
( | |
syspath="${sysdevpath%/dev}" | |
devname="$(udevadm info -q name -p $syspath)" | |
[[ "$devname" == "bus/"* ]] && continue | |
eval "$(udevadm info -q property --export -p $syspath)" | |
[[ -z "$ID_SERIAL" ]] && continue | |
echo "/dev/$devname - $ID_SERIAL" |
# Evan Wilde <[email protected]> | |
# May 19 2016 | |
# /usr/lib/systemd/system/brightness.service | |
# Grants non-root permissions to the backlight file so that it can be set by a user process | |
# | |
[Unit] | |
Description=Grants non-root write access to the brightness file | |
[Service] |
#!/bin/env python | |
# Just playing with theano. This doesn't do anything particularly useful | |
# other than showing how things work | |
import numpy | |
import theano | |
import theano.tensor as T | |
from theano import function |