Skip to content

Instantly share code, notes, and snippets.

Mario Rogic supermario

Block or report user

Report or block supermario

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
supermario / Makefile
Created Dec 8, 2016
Pretty make help
View Makefile
somecommand: #App# Description of some command
someothercommand: #Development# Description of some other command
@./scripts/ ./Makefile
View gist:eb4e9bc64ccaabb0d1cf5a2913dbf706
$ ping
PING ( 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
--- ping statistics ---
4 packets transmitted, 0 packets received, 100.0% packet loss
# mario ~ 10:07:23


The original specification for the 'Toy Robot' challenge.


  • The application is a simulation of a toy robot moving on a square tabletop, of dimensions 5 units x 5 units.
  • There are no other obstructions on the table surface.
  • The robot is free to roam around the surface of the table, but must be prevented from falling to destruction. Any movement that would result in the robot falling from the table must be prevented, however further valid movement commands must still be allowed.
supermario / output.txt
Last active Dec 27, 2015
Pulp build issues
View output.txt
$ pulp init
* Generating project skeleton in /Users/mario/Dropbox/dev/test/sentiment
bower purescript-console#^0.1.0 cached git://
bower purescript-console#^0.1.0 validate 0.1.1 against git://^0.1.0
bower purescript-eff#^0.1.0 cached git://
bower purescript-eff#^0.1.0 validate 0.1.2 against git://^0.1.0
bower purescript-prelude#^0.1.0 cached git://
bower purescript-prelude#^0.1.0 validate 0.1.3 against git://^0.1.0
bower purescript-console#^0.1.0 install purescript-console#0.1.1
bower purescript-eff#^0.1.0 install purescript-eff#0.1.2
View example.hs
data Box = Box { _value :: Integer }
data World = World { _box :: Maybe Box }
makeLenses ''Box
makeLenses ''World
steps :: StateT World IO ()
steps = do
box.value %= succ
supermario / pre-commit
Last active Dec 30, 2015
Pre-commit hook to run Rubocop on changed files since fork from master
View pre-commit
# Install with:
# curl > .git/hooks/pre-commit
# Fail if any command is non-zero
set -e
# Redirect output to stderr.
exec 1>&2
View Has weird right-to-left characters.txt
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:


start new with session name:

tmux new -s myname
supermario / index.html
Last active Aug 29, 2015
SoundCloud React POC!
View index.html
<!DOCTYPE html>
<title>Hello React</title>
<script src=""></script>
<script src=""></script>
<div id="example"></div>
<script type="text/jsx">

Keybase proof

I hereby claim:

  • I am supermario on github.
  • I am realmario ( on keybase.
  • I have a public key whose fingerprint is 637E B6D2 434F 1B97 0910 7B41 0A6D D1E1 398F F347

To claim this, I am signing this object:

You can’t perform that action at this time.