Skip to content

Instantly share code, notes, and snippets.

@wicky-andrian
wicky-andrian / hamlandhtml example
Created November 18, 2015 14:55
Html output dan Haml code
### Haml input
.nav-collapse.collapse
%ul.nav
%li.active
%a{:href => "#"} Home
%li.dropdown
%a.dropdown-toggle{:href => "#", "role" => "button", "data-toggle" => "dropdown", "data-target" => "#"}
The dropdown item
%b.caret
@wicky-andrian
wicky-andrian / gist:edc8167de82af9ac1cb0
Last active January 15, 2016 23:52
Selamat Pagi Dunia.rb
Cred distillery kale chips migas wolf. Listicle tattooed iPhone, synth vice squid ethical meditation cred. 8-bit lumbersexual drinking vinegar brunch. Literally austin authentic lumbersexual sriracha cold-pressed YOLO. Organic vinyl meggings messenger bag, bitters gastropub occupy meditation leggings jean shorts direct trade selvage. Crucifix iPhone fanny pack bushwick, roof party actually banh mi meggings. Synth pinterest church-key, waistcoat thundercats PBR&B gluten-free ugh tumblr before they sold out kale chips YOLO.
Venmo wolf literally keytar, blue bottle wayfarers sartorial cred raw denim aesthetic helvetica. Vegan poutine PBR&B food truck, pour-over schlitz vice post-ironic venmo. Raw denim chicharrones PBR&B, letterpress ethical salvia pour-over 3 wolf moon migas chia drinking vinegar listicle literally. YOLO ugh plaid tilde, hoodie DIY offal wolf farm-to-table hammock kogi williamsburg vegan. Seitan shoreditch intelligentsia kale chips letterpress austin. 90's salvia polaroid, ugh YOLO cliche pick
@wicky-andrian
wicky-andrian / frontendDevlopmentBookmarks.md
Created February 12, 2016 18:24 — forked from dypsilon/frontendDevlopmentBookmarks.md
A badass list of frontend development resources I collected over time.
@wicky-andrian
wicky-andrian / gist:03e8e153fb2a7424ead4
Created March 2, 2016 16:55
Could not reliably determine the server's on restart apache
Simple steps for Ubuntu 14.04
$ echo "ServerName localhost" | sudo tee /etc/apache2/conf-available/local.conf
$ sudo a2enconf local.conf
@wicky-andrian
wicky-andrian / gist:d967b31d52342f413f4c
Created March 2, 2016 17:47
create ssh for vps on ubuntu
#Simple Steps
#If you dont have any ssh on your local pc create one first
$ ssh-keygen -t rsa
Enter file in which to save the key (/home/demo/.ssh/id_rsa): ##this is for name ssh
Enter passphrase (empty for no passphrase): ##this for password
## After create ssh on your local pc
##aPaste on your VPS with terminal method (Ubuntu)
$ cat ~/.ssh/id_rsa.pub | ssh [email protected] "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"
@wicky-andrian
wicky-andrian / gist:4b612048cb9c99ff0c5c
Created March 2, 2016 18:13
setup virtual host on apache (Ubuntu 14.04)
## copy default.conf on /etc/apache2/sites-available/000-default.conf (or something like this)
## or just make it new conf
$ touch exaple.conf
## and open example.conf
$ sudo nano example.conf
## Paste code this bellow
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName example.com
@wicky-andrian
wicky-andrian / gist:08f6de990799cf2d36b1
Created March 24, 2016 22:54
Bosan update status facebook ..update di gist aja yaa ..
faakkkk tenanttt
.landpage-image{
height: 55%;
}
.landpage-image{
background-image: url(/images/landpage.jpg);
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
}
<?php
/*
Plugin Name: Goodlayers Car Post Type
Plugin URI:
Description: A Custom Post Type Plugin To Use With Goodlayers Theme ( This plugin functionality might not working properly on another theme )
Version: 1.0.0
Author: Goodlayers
Author URI: http://www.goodlayers.com
License:
*/