- Write tests before you write code
- Tests drive the code structure
Kent Beck
pico-8 cartridge // http://www.pico-8.com | |
version 16 | |
__lua__ | |
function _init() | |
balls={} | |
for i=1,20 do | |
add(balls,create_ball()) | |
end | |
end |
pico-8 cartridge // http://www.pico-8.com | |
version 16 | |
__lua__ | |
function _init() | |
balls={} | |
for i=1,20 do | |
add(balls,create_ball()) | |
end | |
end |
pico-8 cartridge // http://www.pico-8.com | |
version 16 | |
__lua__ | |
function _init() | |
balls={} | |
for i=1,20 do | |
add(balls,create_ball()) | |
end | |
end |
- | |
version: "{build}" | |
environment: | |
nodejs_version: "6" | |
install: | |
- ps: Install-Product node $env:nodejs_version | |
- npm install | |
build_script: | |
- ps: dotnet build | |
test_script: |
#!/bin/bash | |
# | |
# Nikon RAW photo transfer from remote to local. | |
# Created by: Ryan Saul | |
# | |
# I have a process of backing up all of my photos to a remote PC in the $REMOTE_BACKUP/pending directory so I can work on them later. | |
# This script transfers the raw NEF file to a local working directory. | |
# It then moves the NEF file to the $REMOTE_BACKUP/processed directory along with the related JPG (if it exists). | |
# | |
# Required: $REMOTE_BACKUP and $LOCAL_BACKUP set to their respective |
Title: Notebook sync through vimwiki and git
In this project I'm going to create a local directory and sync it up with a remote machine in my house using git. I'm going to write all of my notes in markdown and use vimwiki as my notetaking editor of choice.
You'll need all of these things to get started:
#!/bin/bash | |
set -e | |
# Replace the xxxxxxx sections with your information from the AWS console. | |
export AWS_ACCESS_KEY_ID=xxxxxxx | |
export AWS_SECRET_ACCESS_KEY=xxxxxxx | |
export AWS_DEFAULT_REGION=xxxxxxx | |
# Verify that the gaming stane actually exists (and that there's only one) |
#!/bin/bash | |
set -e | |
# Change xxxxx sections to your personal AWS settings or set them to environment variables | |
export AWS_ACCESS_KEY_ID=xxxxxxx | |
export AWS_SECRET_ACCESS_KEY=xxxxxxx | |
export AWS_DEFAULT_REGION=xxxxxxx | |
# Get the subnet ID for the lowest availability zone in the VPC section of AWS console | |
export AWS_SUBNET_ID=xxxxxxx |
As configured in my dotfiles.
start new:
tmux
start new with session name: