Skip to content

Instantly share code, notes, and snippets.

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCzNywERzUdoOvvSyhbLRw2T3qis3522iqAnkBgSQJRB+CPMnaYI9m9z2bXq9APAOlD+GuDTI+zotqF11/TN7txnf96r0X1Dz0nAdfJtBQ5Pb7bbF2vD0/UYwG6OHvqrhUgzHcnZ0bj2IsrOKV9dJUrzGxIA2sO1EJT0Tc+4PHfr1b6N2W8M7SlDOq7PtPT/0+86I5eWw4vzC4Oq8KDLA+9HkO7Brs45xoiMjXa5QMsl4ru059TVNPIliOj0d+9j8DwsXoI79dMT4BIKOPgc4Zyh76tcLtvT2CpnhCVA2MTnHJ15lpJe+wO/U9L8ToTiLPQuUnKDsBrOKiFeHdtHy+7 [email protected]
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQChXxMEVXDBZwjf4EPUJjisg6r96FF+S/goxfDd2f6uIm5oVMWt85tNn2cpFLu48egdnrOVonJKxP87D+z8bD3DI8h6zLocwThNOdmRk6oODiQstdhCG/gy3SraxEjZmhi9wP6jDfMqio0DlKzzkrV3Eu/H2tsn6M6lGticXuqakl3shjUeVpdQN/zYknQD7EQaF7cEEJGu5a/hggKGWMUvcqpd3TcLc3l8CMGdsl1fBY5jkV5MGrzFLv94AjeSRQmskmkTowP5YqzvHekhugIWXlrKsqYRXQpOdfygw9H0PkHn+G9SZq/e68BL0xaVsw5UEoz6TE3BpvrCV3CkMa+HcDv0oIppGhxZDvtBnRNcf9aYLio+G15jmrES8a0lRs51fZx53GyAf6/H+nynp8eEfID9aSJpU3Ssf1879CJHlqfeFLMDaJJSaTGSdsRC+jKGp/J/68XO7yUqzMnJ0LkJ6AbB+9ieVr4YyH/vhewqxsuaNWpNXp8LnUb/54is6+E= elektra@ZEN-WIN10-ELEKTRA
@sayasuhendra
sayasuhendra / svelte.md
Created May 24, 2021 14:19 — forked from peltho/svelte.md
Svelte cheatsheet
h1. Sublime Text 2 - Useful Shortcuts (PC)
Loosely ordered with the commands I use most towards the top. Sublime also offer "full documentation":http://www.sublimetext.com/docs/2/.
h2. Editing
| *Ctrl+C* | copy current line (if no selection) |
| *Ctrl+X* | cut current line (if no selection) |
| *Ctrl+⇧+K*| delete line |
| *Ctrl+↩* | insert line after |
e.=explorer .
# Git
gl=git log --oneline --all --graph --decorate $*
gs=git status
ga=git add .
gc=git commit -m $*
gco=git checkout $*
gi=git init
@sayasuhendra
sayasuhendra / .vimrc
Created June 19, 2014 03:55
vimrc suhendra
set nocompatible " Disable vi-compatibility
set t_Co=256
set guioptions-=T " Removes top toolbar
set guioptions-=r " Removes right hand scroll bar
set go-=L " Removes left hand scroll bar
set linespace=15
set showmode " always show what mode we're currently editing in
set nowrap " don't wrap lines
@sayasuhendra
sayasuhendra / gist:b7b7645979c6a0c26625
Created June 12, 2014 14:26
MySQL: duplicate table query
CREATE TABLE recipes_new LIKE production.recipes; INSERT recipes_new SELECT * FROM production.recipes;
@sayasuhendra
sayasuhendra / tipsmenjalankanfiledisublimetext.php
Created June 8, 2014 07:19
Tips: Cara Menjalankan PHP file di Sublime Text
Tips: Cara Menjalankan PHP file di Sublime Text
1. Buat Build System Baru Tools-Build System-New Build System
2. Beri nama PHP
3. isi dengan ini
{
"cmd": ["php", "$file_name"]
}
4. buka file yang ingin di run Klik ctrl-B.
@sayasuhendra
sayasuhendra / gist:8b2b7986a240a53aea4d
Created May 15, 2014 14:47
Laravel: set environment
$env = $app->detectEnvironment(function()
{
return getenv('APP_ENV') ?: 'local';
});
@sayasuhendra
sayasuhendra / gulpfile.js
Created May 15, 2014 09:26 — forked from JeffreyWay/gulpfile.js
Tools: gulpfile
var gulp = require('gulp');
var minifycss = require('gulp-minify-css');
var autoprefixer = require('gulp-autoprefixer');
var notify = require('gulp-notify');
var sass = require('gulp-ruby-sass');
gulp.task('css', function() {
return gulp.src('sass/main.sass')
.pipe(sass({ style: 'compressed' }))
.pipe(autoprefixer('last 15 version'))