Skip to content

Instantly share code, notes, and snippets.

View febrianrendak's full-sized avatar

Febrian Rendak febrianrendak

View GitHub Profile
" Modeline and Notes {
" vim: set sw=4 ts=4 sts=4 et tw=78 foldmarker={,} foldlevel=0 foldmethod=marker spell:
"
" __ _ _____ _
" ___ _ __ / _/ |___ / __ __(_)_ __ ___
" / __| '_ \| |_| | |_ \ _____\ \ / /| | '_ ` _ \
" \__ \ |_) | _| |___) |_____|\ V / | | | | | | |
" |___/ .__/|_| |_|____/ \_/ |_|_| |_| |_|
" |_|
"
@febrianrendak
febrianrendak / emmet_html_bootstrap
Created June 19, 2014 04:02
Emmet tag template for HTML skleton with Bootstrap 3.1
html>(head>title{EMMET Skeleton}+link[type="text/css" rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"])+(body>(header[role="banner"]>nav[role="navigation"].navbar.navbar-static-top.navbar-default>.container>(.navbar-header>(button[type="button" data-toggle="collapse" data-target=".navbar-collapse"].navbar-toggle>span.icon-bar*3)+a.navbar-brand{WebName})+div.navbar-collapse.collapse>ul.nav.navbar-nav.navbar-right>(li*3>a{Menu $})+li.dropdown>(a[data-toggle="dropdown"].dropdown-toggle{Dropdown Menu}>b.caret)+ul.dropdown-menu>li*3>a{Child Menu})+(main[role="main"]>.container>.jumbotron.text-center>h1{Hello EMMET})+(footer[role="contentinfo"]>.container.text-center>p>small{Copyright © }>a{Corporation Name})+script[src="//code.jquery.com/jquery-1.11.0.min.js"]+script[src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"])
#YangBahlulTerbuktiLebihBarokah #NengAndahUntukBibibAjah #KhilafahSolusinya #UdahFutusinAja #HastagYangBanyakSufayaBarokah #SilakanTambahinSendiri #LebihBaikDifaksaMasukSurgaDarifadaSukarelamasukNeraka #MariBerhandjob #HandjobSyariah #SholatBerhadiah #Salam2Digit #FentungSegalaArah #AkuRafofo #FaksaFeremfuanMemakaiJilbab #JilbabWajibbuatMuslimmaufunNonmuslim #NasiBungkusKaretMerahTetafMilikAne #FentunganTanfaJengkol #AntiJIL #MotorTenagaKhilafah #AntiDemokrasiTafiMembuatFartaiFolitik #IndonesiaTanfaJIL #FPItidakRadikalItuCumanOknum #BiarBahlulJanganDikataBahlulItuAdalahFintarYangBeradab #BayarSetoranAtauSweefing #OntaMerufakanBinatangKesayanganAna #FPIKhilafahDutyJahiliyahWarfare #GambusHero #FPIMayCry #KebahlulanManaLagiYangAntumDustakanWahaiKaumTafir?
@febrianrendak
febrianrendak / tmux_script.sh
Created March 16, 2014 03:49
This script will create new tmux session with current directory name as it session name. This script with create 3 windows, first window run vim, and two other windows with empty console. Second window split to two panes.
#!/bin/bash
function tmux_web {
SESSION_NAME=$1
#echo "Create.."
tmux new -s $SESSION_NAME -n editor -d
#echo "Creat first pane (editor).."
tmux send-keys -t $SESSION_NAME 'vim' C-m
#echo "Run vim in first pane.."
tmux new-window -n console -t $SESSION_NAME
https://gist.github.com/febrianrendak/f346c0b596ca0ed54803/raw/3be8c582e760fb613d54735a32a137556c2b4dfb/md5_http://developer.echonest.com/api/v4/track/profile?api_key=GH3PJUTYBWZ0GVUK3&format=json&md5=745e4cc5fb0011c4e517ce6b9281283c&bucket=audio_summary
http://developer.echonest.com/api/v4/track/profile?api_key=[API_KEY]&format=json&md5=[AUDIO'S MD5]c&bucket=audio_summary
Sites that offer free education!
www.khanacademy.org
http://ocw.mit.edu/index.htm
http://oyc.yale.edu/
http://webcast.berkeley.edu/series.html#c,s
http://universityofreddit.com/category/57865/technology
www.udemy.com
www.worldmentoringacaemy.com
@febrianrendak
febrianrendak / repo
Created January 20, 2014 08:12
List my PPA repo
firefox australis
sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa
sudo apt-get install firefox-trunk
sublimetext
sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get install sublime-text
Java Installer
sudo add-apt-repository ppa:webupd8team/java
http://www.imgth.com/images/2012/04/01/atsuko-maeda_2hcatusmvjy.jpg
http://www.imgth.com/images/2012/04/01/atsuko-maeda_bkbxbvu13fz.jpg
http://www.imgth.com/images/2012/04/01/atsuko-maeda_01j1vch7660.jpg
http://www.imgth.com/images/2012/04/01/atsuko-maeda_0hqms50kwsh.jpg
http://www.imgth.com/images/2012/04/01/atsuko-maeda_tyyk3kbqvf1.jpg
http://www.imgth.com/images/2012/04/01/atsuko-maeda_32yhkh5fpya.jpg
http://www.imgth.com/images/2012/04/01/atsuko-maeda_jr9m71h5yby.jpg
http://www.imgth.com/images/2012/04/01/atsuko-maeda_kf00uczbjst.jpg
http://www.imgth.com/images/2012/04/01/atsuko-maeda_k53hr924gh0.jpg
http://www.imgth.com/images/2012/04/01/atsuko-maeda_7ggmcsmzahr.jpg