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 requests | |
import time | |
import sys | |
i = 10 # starting shrub id | |
API = "https://api.ldjam.com/" | |
GET = "vx/node2/get/" | |
JAMMER = "https://static.jam.vg/" |
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
# Add to the bottom of your ~/.bashrc to add the current repo and branch to your promot | |
# Color and formatting match ubuntu's defaults | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
parse_git_repo() { | |
if [ $(parse_git_branch) ]; then | |
eval basename -s .git `git config --get remote.origin.url` | sed -e 's/\(.*\)/ (\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
// Scraper for ludumdare's stat api. | |
// Powers https://docs.google.com/spreadsheets/d/1pSJKbOCHCM_1kau6w4u4mieggZeAHSIyQ26W71jLdj4 | |
function getJSON() { | |
var sheetname = "stats"; | |
var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName(sheetname); | |
var row1 = sheet.getRange("A1:AC1") | |
var headers = row1.getValues()[0]; |
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
% High Speed Electronics | |
% Cross talk sim eq | |
w = [1000 10000 100000 500000 1000000 5000000 10000000]; | |
Vs = [20.2 20.2 20.4 21.0 21.0 21.2 22.0]; | |
Vv = [0.012 0.144 1.4 5.6 8.16 10 10.9]; | |
Ratio = Vv./Vs; | |
R = 10000; | |
Cs = 2.2e-12; |
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
" ============================================================== " | |
" = This is my first .vimrc , That means that this is probably = " | |
" = quite broken and inelegent. Feel free to copy this but use = " | |
" = it at your own risk. = " | |
" = Zak R. A. West <zwrawr@gmail.com> = " | |
" ============================================================== " | |
syntax on | |
set laststatus=2 |