Skip to content

Instantly share code, notes, and snippets.

function gffs
git flow feature start $argv
end
function gfff
git flow feature finish $argv
end
function glos
git pull origin staging
alias gffs = 'git flow feature start $@'
alias gfff = 'git flow feature finish $@'
alias glos = 'git pull origin staging'
alias glod = 'git pull origin develop'
alias gpod = 'git push origin develop'
alias gpos = 'git push origin staging'
alias glog = 'git log --oneline --all --graph --decorate $@'
alias gc = 'git commit $@'
alias ga = 'git add $@'
alias gcmsg = 'git commit -m $@'
function sudo!!
eval sudo $history[1]
end
function ll
ls -FGlAhp
end
function c
clear
#include <stdio.h>
#include <omp.h>
void main(int argv, char** argc) {
int i;
int sum = 0;
int a[100];
int b[100];
for(i=0; i<100; i++) {

Because Fish has different env variable syntax, we have to run it in bash

/bin/bash -c "tns platform add android"

tns livesync ios --emulator --watch

{
"bold_folder_labels": true,
"caret_extra_width": 1,
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme",
"default_encoding": "UTF-8",
"detect_indentation": false,
"draw_minimap_border": true,
"draw_white_space": "all",
"font_options": "subpixel_antialias",
"highlight_line": true,
<select class="js-stationFrom"></select>
<select class="js-stationTo"></select>
<script>
</script>
0x37782Ee031a0B94b92bB181DD9013f7e8E42c12d
0x00828b24A523C3De6735fdb24440c1c0387BC075
var when = require('when');
var AWS = require('aws-sdk');
var _ = require('lodash');
var s3;
var bucket = null;
function getImage(url) {
return when.promise(function(resolve, reject) {
if(!bucket) {