Skip to content

Instantly share code, notes, and snippets.

View febritecno's full-sized avatar
🏠
Working from home

Febrian Dwi Putra febritecno

🏠
Working from home
  • linkedin.com/in/febrian-dwi-putra
  • Bojonegoro, indonesia
  • 09:38 (UTC +07:00)
View GitHub Profile
@febritecno
febritecno / .eslintrc
Created February 14, 2018 08:17 — forked from suryakencana007/.eslintrc
eslint for react js
{
"extends": [
"plugin:react/recommended",
"plugin:jest/recommended"
],
"parser": "babel-eslint",
"env": {
"browser": true,
"commonjs": true,
"node": true,
@febritecno
febritecno / vagrant-clean.sh
Created February 15, 2018 01:16 — forked from jdowning/vagrant-clean.sh
Script to clean up Ubuntu Vagrant box before packaging
#!/bin/bash
# This script zeroes out any space not needed for packaging a new Ubuntu Vagrant base box.
# Run the following command in a root shell:
#
# bash <(curl -s https://gist.github.com/justindowning/5670884/raw/vagrant-clean.sh)
function print_green {
echo -e "\e[32m${1}\e[0m"
}
@febritecno
febritecno / tmux-cheatsheet.markdown
Last active February 15, 2018 04:10 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

In tmux, hit the prefix ctrl+b (my modified prefix is ctrl+a) and then:

INGAT

CRTL + B

DULU YAK, sebelum perintah selanjutnya

@febritecno
febritecno / phpcs.xml
Created February 28, 2018 06:21 — forked from paulund/phpcs.xml
PHP PSR-2 CodeSniffer Config for Laravel
<?xml version="1.0"?>
<ruleset name="Laravel Standards">
<!--
The name attribute of the ruleset tag is displayed
when running PHP_CodeSniffer with the -v command line
argument. The description tag below is not displayed anywhere
except in this file, so it can contain information for
developers who may change this file in the future.
-->
@febritecno
febritecno / README.md
Created March 6, 2018 16:30 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@febritecno
febritecno / gitcom.md
Created May 22, 2018 16:15 — forked from jednano/gitcom.md
Common git commands in a day-to-day workflow

Git Cheat Sheet

Initial Setup

Create an empty git repo or reinitialize an existing one

$ git init
@febritecno
febritecno / vimrc
Created June 26, 2018 03:36 — forked from suryakun/vimrc
set nocompatible " be iMproved, required
filetype off " required
set exrc
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" ==== PLUGINS ====
Plugin 'VundleVim/Vundle.vim'
Plugin 'vim-scripts/L9'
@febritecno
febritecno / JavaScript.sublime-build
Created September 11, 2018 05:18 — forked from corbanb/JavaScript.sublime-build
Sublime Text - Tools > Build System > New Build System
// Sublime Text - Build System for Javascript
{
"cmd": ["node", "$file"],
"selector": "source.js"
}
@febritecno
febritecno / flutter_cheatsheet.md
Created October 22, 2018 16:36 — forked from vmwsree/flutter_cheatsheet.md
Cheat Sheet For Flutter

Container to be full width

constraints: BoxConstraints.expand() so the child a column can have expanded

Outlined Text Box

TextField(
  controller: _usernameController,
  decoration: InputDecoration(
@febritecno
febritecno / css-selectors.md
Created November 23, 2018 00:18 — forked from magicznyleszek/css-selectors.md
CSS Selectors Cheatsheet

CSS Selectors Cheatsheet

Element selectors

Element -- selects all h2 elements on the page

h2 {
    foo: bar;