Skip to content

Instantly share code, notes, and snippets.

View wching's full-sized avatar
😶‍🌫️

Samantha Ching wching

😶‍🌫️
View GitHub Profile
@wching
wching / day_hours.json
Created March 29, 2016 22:12
JSON file with all hours in the day
[
{
"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 February 3, 2016 06:19 — forked from hrules6872/SpaceItemDecoration.java
Space ItemDecoration for RecyclerView
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 January 19, 2016 01:01 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

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 "[email protected]"
@wching
wching / vmware_fusion_shared_folder.txt
Created November 18, 2015 15:44 — 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)
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