Skip to content

Instantly share code, notes, and snippets.

Verifying my Blockstack ID is secured with the address 12mc2LKPeL2ydEefkvJi7XrkkbAkMcHQ1Y

Keybase proof

I hereby claim:

  • I am maddo on github.
  • I am jabowocky (https://keybase.io/jabowocky) on keybase.
  • I have a public key ASAJ7dUiXkZf6YHG96Bm9F9XklKSrW6ydnICzm4oVmLvlgo

To claim this, I am signing this object:

@maddo
maddo / tmux-cheatsheet.markdown
Created October 17, 2016 02:10 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname

Eyestrain Buster

This is a great exercise for relieving tired, strained eyes. The exercise may feel awkward at first, but with practice you will be able to relieve your eyestrain in just a few short minutes.

  • Gently slide the undersides of your thumbs across the upper rim of your eye sockets toward the temples.
  • Next massage the lower rim of your eye sockets with your index fingers working from the corner of your eyes toward the temples.
    • Repeat twice.
  • Now gently move your eyes from side to side, first to the right and then to the left, repeat three times.
  • Slowly move your eyes up toward the ceiling then down toward the floor, repeat three times.
  • Slowly and gently move your eyes in complete circles, three times clockwise and counter clockwise.
  • Relax by closing your eyes so that the eyelids barely touch together.
class SuperWallBot extends BaseRobot
onInit:() ->
@turnTurretLeft(-Infinity)
onScannedRobot:(event) ->
@fire(1)
tr = new SuperWallBot("Super Wall Bot")
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
config.vm.provision :shell, :inline => "echo Setting up debugging"
config.vm.provision :shell, :inline => "echo 'error_reporting = E_ALL' > /etc/php.d/error.ini"
config.vm.provision :shell, :inline => "echo '[PHP]' > /etc/php.d/xdebug.ini"
config.vm.provision :shell, :inline => "echo 'html_errors = 1' >> /etc/php.d/xdebug.ini"
<?xml version="1.0" encoding="UTF-8"?>
<scheme name="Monokai - Jablecki" version="124" parent_scheme="Default">
<option name="LINE_SPACING" value="1.0" />
<font>
<option name="EDITOR_FONT_NAME" value="Menlo" />
<option name="EDITOR_FONT_SIZE" value="12" />
</font>
<font>
<option name="EDITOR_FONT_NAME" value="Monaco" />
<option name="EDITOR_FONT_SIZE" value="12" />
@maddo
maddo / robot.coffee
Last active December 27, 2015 13:09 — forked from fran6co/robot.coffee
class TestRobot1 extends BaseRobot
run: () ->
@move_forwards 10, =>
@move_backwards 10
@turn_left Math.floor(Math.random()*361), =>
@_run()
tr = new TestRobot1("My first test robot")
@maddo
maddo / robot.js
Last active December 27, 2015 12:59
scan-bot
ScanBot = BaseRobot;
ScanBot.run = function() {
var robot = this;
robot.shoot();
robot.turn_turret_right(45);
1 Onion Chopped
1/2 Red Pepper, Chopped
1/2 Green Pepper, Chopped
1 Small Squash, Cubed
1 Carrot, Shredded
4 Carrots, Sliced
1/2 Teaspoon Dried Chopped Garlic
2 Sundried Tomatoes
1 Piece of Cinnamon Stalk (?)
2 Tablespoons Balsamic