Skip to content

Instantly share code, notes, and snippets.

Avatar
😶‍🌫️

Walter Ching wching

😶‍🌫️
View GitHub Profile
@wching
wching / day_hours.json
Created Mar 29, 2016
JSON file with all hours in the day
View day_hours.json
[
{
"military_format": "0000",
"twenty_four_hour_format": "00:00",
"standard_format": "00:00",
"time_of_day":"md"
},
{
"military_format": "0030",
"twenty_four_hour_format": "00:30",
@wching
wching / SpaceItemDecoration.java
Created Feb 3, 2016 — forked from hrules6872/SpaceItemDecoration.java
Space ItemDecoration for RecyclerView
View SpaceItemDecoration.java
public class SpaceItemDecoration extends RecyclerView.ItemDecoration {
private int space;
private boolean addSpaceFirstItem;
private boolean addSpaceLastItem;
public SpaceItemDecoration(int space) {
this(space, false, false);
}
public SpaceItemDecoration(int space, boolean addSpaceFirstItem, boolean addSpaceLastItem) {
@wching
wching / multiple_ssh_setting.md
Created Jan 19, 2016 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts
View multiple_ssh_setting.md

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@wching
wching / vmware_fusion_shared_folder.txt
Created Nov 18, 2015 — forked from un33k/vmware_fusion_shared_folder.txt
Enable Shared Folders on vmware Fusion 4.x, 5.x & 6.x (Linux Ubuntu 12.x as guest OS)
View vmware_fusion_shared_folder.txt
Enable Shared Folders on vmware Fusion (4.x)+ (Example OS: Linux Ubuntu 12.x as guest OS)
1. First update your linux system:
sudo apt-get update
sudo apt-get install -y build-essential
sudo aptitude -y safe-upgrade
2. Reboot your system just in case you have a new kernel
sudo shutdown -r now