- Microkernel
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
Alan Szabo |
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
function fuel_up() | |
while turtle.getFuelLevel() == 0 do | |
turtle.select(1) | |
turtle.refuel(1) | |
end | |
end | |
function safe_forward() | |
fuel_up() | |
while not turtle.forward() do | |
end |
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
!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.coffeelint=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){ | |
module.exports={ | |
"name": "coffeelint", | |
"description": "Lint your CoffeeScript", | |
"version": "1.1.0", | |
"homepage": "http://www.coffeelint.org", | |
"keywords": [ | |
"lint", | |
"coffeescript", | |
"coffee-script" |
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
syntax on | |
set t_Co=256 | |
set nocp | |
filetype off | |
" Bundles | |
set rtp+=~/.vim/bundle/vundle | |
call vundle#rc() |
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
highlight ExtraWhitespace ctermbg=darkgreen guibg=darkgreen | |
match ExtraWhitespace /\s\+$\|\t/ |
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
webpackConfig = require('./webpack.config.js'); | |
// Delete some stuff that confuses karma | |
webpackConfig.devtool = 'inline-source-map'; | |
delete webpackConfig.entry; | |
delete webpackConfig.output; | |
delete webpackConfig.context; | |
delete webpackConfig.plugins; | |
module.exports = function(config) { |
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
while true; do | |
curl http://api.sos.ca.gov/api/president/party/democratic?format=csv | tail -n +5 > results-$(date +%m-%d_%H%M) | |
python process.py | |
sleep 1h | |
done |
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
print("Starting up reactor control program") | |
reactorOn = false | |
previouslyStored = 0 | |
function commas(number) | |
local number, k = tostring(number), nil | |
while true do | |
number, k = string.gsub(number, "^(-?%d+)(%d%d%d)", '%1,%2') |
I hereby claim:
- I am zmbush on github.
- I am zmbush (https://keybase.io/zmbush) on keybase.
- I have a public key whose fingerprint is 6763 8637 1B5E 872D 56A5 0AA3 FD58 B435 DF06 CF99
To claim this, I am signing this object:
OlderNewer