Skip to content

Instantly share code, notes, and snippets.

@zemanel
zemanel / gist:1329673
Created November 1, 2011 02:27
Starcraft2 Golden Rules
1) Never get supply blocked ever
2) Never have more than 500 minerals or 150 gas during first 8 minutes
3) Always produce out of all your building and don't queue stuff
4) Don't play blindly - scout and scan if you dont know whats going on
5) Try to get an expo before 8 minute and 2nd before 10th
@zemanel
zemanel / CloudAppSelectAllItems.js
Last active December 13, 2015 20:59
Check all list items on http://getcloudapp.com for deletion
/*
* Checks all list items on http://getcloudapp.com upload list,
* which is useful for multiple item deletion (AKA nuke the crap of all the uploads)
*
* License:
* José Moreira, in 2013 and beyond, doesn't care what you do with this piece of code.
*
*/
(function(){
@zemanel
zemanel / flv2mp4.sh
Last active August 29, 2015 14:15
Bash script for converting FLV videos to MP4 for use in Automator
# Bash script for converting FLV videos to MP4
# Can be made to work with any ext http://stackoverflow.com/questions/965053/extract-filename-and-extension-in-bash
for FILE in "$@"
do
FILE_NO_EXT=$(basename "$FILE" .flv)
OUT_DIR=$(dirname "$FILE")
FILE_OUT="${OUT_DIR}/${FILE_NO_EXT}.mp4"
FILE_OUT_TEMP="${OUT_DIR}/${FILE_NO_EXT}-converting.mp4"
echo "FILE: ${FILE}"
diff --git a/ember-example/tests/intern.js b/ember-example/tests/intern.js
index 4950e67..cd2961e 100644
--- a/ember-example/tests/intern.js
+++ b/ember-example/tests/intern.js
@@ -22,6 +22,7 @@ define({
// OnDemand. Options that will be permutated are browserName, version, platform, and platformVersion; any other
// capabilities options specified for an environment will be copied as-is
environments: [
+ { browserName: 'chrome' },
{ browserName: 'firefox' },
@zemanel
zemanel / my_configs.vim
Last active December 9, 2015 10:08
VIM Settings
colorscheme gruvbox
set background=dark
let g:airline_theme='onedark'
let g:airline_powerline_fonts = 1
if has('gui_running')
set guifont=Source\ Code \Pro:h10
endif
@zemanel
zemanel / .tmux.conf
Last active December 18, 2015 10:45
Tmux conf
#set-environment -g POWERLINE_CONFIG_COMMAND /Users/jose/Library/Python/2.7/bin/powerline-config
#source "/Users/jose/Library/Python/2.7/lib/python/site-packages/powerline/bindings/tmux/powerline.conf"
#
## Powerline theme
##
#
## Enable Powerline symbols (unless already specified otherwise in environment)
#if-shell ': ${TMUX_POWERLINE_SYMBOLS?}' '' 'set-environment -g TMUX_POWERLINE_SYMBOLS "powerline"'
#
@zemanel
zemanel / gist-reveal.it-slides.html
Last active March 18, 2016 09:40 — forked from ryanj/gist-reveal.it-slides.html
Use Docker, gist.github.com, and Reveal.js to produce themed slideshow presentations for conferences and / or hackathons
<section data-background-transition='zoom' data-transition='concave' data-background='http://ryanjarvinen.com/presentations/shared/img/broadcast_reveal_dark.png' data-state='blackout'>
<h2>The start</h2>
<h1>Reveal.js</h1>
<h2>Slideshow Presentations</h2>
<p class='fragment'><small><a class='fragment' href='http://github.com/ryanj/gist-reveal'>github.com/ryanj/gist-reveal</a>
<br/> <a class='fragment' href='https://registry.hub.docker.com/u/ryanj/gist-reveal/'>registry.hub.docker.com/u/ryanj/gist-reveal</a></small></p>
</section>
<section>
<h1>THE END</h1>
@zemanel
zemanel / empty-example
Created April 7, 2016 15:16 — forked from eamonnmag/empty-example
BioSharing empty example.
{"biodbcore-000001": {
"name": "",
"homepage": "",
"description": "",
"twitterHandle": "",
"contactEmail": "info@ncbi.nlm.nih.gov",
"contact": "",
"contactORCID": "",
"yearOfCreation": 1982,
"accessConditions": "free",
EditorConfig.EditorConfig
TwentyChung.jsx
casualjim.theme-desertex
dbaeumer.vscode-eslint
dbankier.vscode-instant-markdown
djabraham.vscode-yaml-validation
donjayamanne.githistory
donjayamanne.python
jeppeandersen.raml
lukehoban.Go