This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# appify -- convert your non-interactive shell script into a Mac OS X application | |
# Copyright (C) 2010 Adam Backstrom | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00 rem based on tone example at http://goo.gl/tIDtAy | |
05 rem sid is at d400 = 54272 | |
10 sid=54272 | |
12 rem high nibble multiplier | |
13 high=16 | |
15 rem clear 28 sid bytes | |
20 for i = 0 to 28 : poke sid + i, 0 : next | |
25 rem set volume segment of d418 (3 bits) to maximum %111 | |
30 poke sid + 24, 15 | |
35 rem everything here will act on voice 1. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00 rem my first demo. changing the volume register gives a click! | |
10 sid=54272 : volume=sid+24 | |
20 col=53280 | |
30 for i = 0 to 28 : poke sid + i, 0 : next | |
40 for i = 0 to 15 : poke volume, i : poke col, i : next | |
50 goto 40 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying myself: My Bitcoin username is +aaronbell. https://onename.io/aaronbell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
con_enable 1 | |
// big hero icons on map | |
dota_minimap_hero_size 900 | |
// no zooming | |
dota_camera_disable_zoom 1 | |
// right-click to deny | |
dota_force_right_click_attack 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -o nounset | |
# 2016-01-02 updated to use whichever device the card is mounted on. | |
# 2016-07-28 update to use ext4 or fuseblk | |
# Params | |
#-------------------------------------------------------------------- | |
# 1. where ChromeOS mounts your SD card |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -o nounset | |
set -o errexit | |
[[ ! -z ${DEV} ]] || { echo "DEV is not defined"; exit 1; } | |
# for each dir in DEV | |
checkouts=$(find $DEV -maxdepth 1 -type d) | |
for dir in ${checkouts}; do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
import struct | |
import binascii | |
import time | |
import json | |
import urllib2 | |
# Use your own IFTTT key, not this fake one | |
ifttt_key = '9cn3847ntc8394tn8-ab' | |
# Set these up at https://ifttt.com/maker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<!-- | |
- GIF is too slow | |
- flipping colours in JS is easy | |
- Using backgroundImage is flickery | |
- With preload: fixed! | |
--> | |
<head> | |
<style> | |
body { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Profile] | |
Device = DInput/0/Keyboard Mouse | |
Buttons/A = X | |
Buttons/B = C | |
Buttons/1 = LSHIFT | |
Buttons/2 = SPACE | |
Buttons/- = V | |
Buttons/+ = B | |
Shake/X = Z | |
Shake/Y = Z |
OlderNewer