Skip to content

Instantly share code, notes, and snippets.

@f6p
f6p / monokai.tpl
Created April 29, 2015 11:23
MT4 Chart Monokai Theme
<chart>
id=130579271515642020
symbol=AUDUSD
period=240
leftpos=2364
digits=5
scale=8
graph=1
fore=0
grid=0
@f6p
f6p / metaeditor.ini
Last active October 1, 2020 17:34
MT4 Code Editor Monokai Theme
[Font]
Bold=700
FaceName=Consolas
Height=10
[Colors]
Color0=2304040
Color1=16119285
Color2=6255480
Color3=2963255
Color4=2304040
@f6p
f6p / fight.sh
Created December 8, 2012 08:32
ReleaseBadgers
#!/bin/bash
cookie=''
robots=()
rlength=${#robots[@]}
victims=()
vlength=${#victims[@]}
@f6p
f6p / robot.js
Created December 5, 2012 20:40
NecroBadger
// helpers
function areEnemies(robot, sighted) {
var sightedIsChild = (robot.id == sighted.parentId);
var sightedIsParent = (robot.parentId == sighted.id);
return !(sightedIsChild || sightedIsParent);
};
function baseStep(robot) {