Skip to content

Instantly share code, notes, and snippets.

View aminroosta's full-sized avatar
:octocat:

Amin Roosta aminroosta

:octocat:
View GitHub Profile
0x00 0 STOP
0x01 3 ADD
0x02 5 MUL
0x03 3 SUB
0x04 5 DIV
0x05 5 SDIV
0x06 5 MOD
0x07 5 SMOD
0x08 8 ADDMOD
0x09 8 MULMOD
@yszheda
yszheda / .ycm_extra_conf.py
Created August 29, 2014 04:10
YouCompleteMe config for cocos2d-x project on Mac
# This file is NOT licensed under the GPLv3, which is the license for the rest
# of YouCompleteMe.
#
# Here's the license text for this file:
#
# This is free and unencumbered software released into the public domain.
#
# Anyone is free to copy, modify, publish, use, compile, sell, or
# distribute this software, either in source code form or as a compiled
# binary, for any purpose, commercial or non-commercial, and by any
@PAEz
PAEz / multilineString.js
Last active April 4, 2017 22:38
Doing a multi line string
var string=(function () {
/*
Bleh Bleh
Meh
Huh
Works in FF and Chrome atleast, havent tried anywhere else
*/
}).toString().split('\n').slice(2,-2).join('\n').trim();
@nazgob
nazgob / ctags.setup
Created January 6, 2012 13:44
ctags setup on mac
# you have ctags but it does not work...
$ ctags -R --exclude=.git --exclude=log *
ctags: illegal option -- R
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
#you need to get new ctags, i recommend homebrew but anything will work
$ brew install ctags
#alias ctags if you used homebrew
$ alias ctags="`brew --prefix`/bin/ctags"