Skip to content

Instantly share code, notes, and snippets.

View bafxyz's full-sized avatar
🚴
Cycling

Andrei Bunulu bafxyz

🚴
Cycling
  • Luxembourg, Germany
  • 02:49 - 2h ahead
View GitHub Profile
@bafxyz
bafxyz / request.js
Created February 27, 2019 22:04 — forked from sheharyarn/request.js
Axios Request Wrapper for React (https://to.shyr.io/axios-requests)
/**
* Axios Request Wrapper
* ---------------------
*
* @author Sheharyar Naseer (@sheharyarn)
* @license MIT
*
*/
import axios from 'axios'
@bafxyz
bafxyz / vim-install.sh
Created March 13, 2017 10:47
Install vim locally
cd
if [ ! -d ~/.local ]; then
mkdir ~/.local
fi
if [ ! -d ~/bin ]; then
mkdir ~/bin
fi
wget ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2
tar -jxvf vim-7.4.tar.bz2
cd vim74
@bafxyz
bafxyz / gist:0e8b5c2bd196c3531bdc
Last active September 16, 2015 15:33 — forked from lxyuma/gist:6424131
marionette script
// sample
var MyView = Marionette.ItemView.extend({
template: "my-template-id"
});
var myView = new MyView({ model: Dog});
myView.render();
// ItemView sample