Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Yanuar Waskito waskito

🏠
Working from home
  • Yogyakarta
Block or report user

Report or block waskito

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View init.fish
# Aliases for git shorty
alias gco="git checkout"
alias gaa="git add -A ."
alias gcm="git commit -m"
alias gst="git status"
alias glo="git log --graph"
alias gpl="git pull"
alias gps="git push"
alias gbr="git branch"
alias gft="git fetch"
@waskito
waskito / pagespeed.conf
Created May 24, 2017 — forked from smj10j/pagespeed.conf
Nginx conf for mod pagespeed
View pagespeed.conf
# Google Pagespeed
# https://developers.google.com/speed/pagespeed/module/configuration
pagespeed on;
pagespeed FileCachePath /var/cache/ngx_pagespeed/;
# let's speed up PageSpeed by storing it in the super duper fast memcached
pagespeed MemcachedThreads 1;
pagespeed MemcachedServers "127.0.0.1:11211";
# show half the users an optimized site, half the regular site
View centos-compile-nginx.sh
#!/usr/bin/env bash
# User must be root
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
return
fi
# Check if www-data do exist
q=$(id -u www-data)
View Preliminary Test Kulina - Frontend Programmer.md

Preliminary Test Kulina - Frontend Programmer

Objective: Membuat satu halaman html sesuai dengan yang ada di desain (responsive desktop & mobile device).

Soal

  • Desain dapat didapatkan disini:
  • Asset berupa gambar bisa mencari gambar yang sesuai di unsplash, atau bisa mencari gambar yang sesuai dan berlisensi CC0
@waskito
waskito / .gitmessage
Last active Dec 7, 2015
Git commit message template
View .gitmessage
####################################################### <~ 50 chars
######################################################################## <~ 72 chars
Title goes here
Commit message body:
* ..
* ..
@waskito
waskito / .htaccess
Created Dec 31, 2014
.htaccess for angular html5mode
View .htaccess
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f [OR]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ - [L]
RewriteRule ^index.html [L]
ErrorDocument 404 /index.html
@waskito
waskito / jeguprofile.sh
Last active Aug 29, 2015
jegu-git-aliases-in-bash
View jeguprofile.sh
# Aliases for git shorty
alias gco="git checkout"
alias gaa="git add -A ."
alias gcm="git commit -m"
alias gst="git status"
alias glo="git log --graph"
alias gpl="git pull"
alias gps="git push"
alias gbr="git branch"
alias gft="git fetch"
@waskito
waskito / node-no-sudo.sh
Created Oct 23, 2014
node and npm install without sudo
View node-no-sudo.sh
## make sure you use python2.x (recommended python2.7)
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
export JOBS=8 # optional, sets number of parallel commands.
./configure --prefix=$HOME/local
#configure --prefix=$HOME/local/node
make
make install # ok, fine, this step probably takes more than 30 seconds...
@waskito
waskito / autostart
Last active Aug 29, 2015
openbox config ~/.config/openbox/
View autostart
# Programs that will run after Openbox has started
# Set the wallpaper
#hsetroot ~/wallpaper.png &
# Run a Composite manager
xcompmgr -c -t-5 -l-5 -r4.2 -o.55 &
# A panel for good times
@waskito
waskito / index.html
Last active Aug 29, 2015
Belajar Javascript Regular Expression http://plnkr.co/edit/iVsTSFhHABQ3rKVeBSrp
View index.html
<!DOCTYPE html>
<html>
<head>
<title>Try Javascript Regex</title>
</head>
<body>
<h1>Hello Regex</h1>
<p id="text">[file]http://www.startupjobs.asia/wp-content/uploads/company_logos/2013/10/qiscus-logo1.png[/file] Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. http://tech.qisc.us </p>
You can’t perform that action at this time.