Skip to content

Instantly share code, notes, and snippets.

View danmaispace's full-sized avatar
🎯
Focusing

Danmai danmaispace

🎯
Focusing
  • www.danmai.com.cn
  • Shenzhen,China
View GitHub Profile
@danmaispace
danmaispace / private.xml
Created April 5, 2016 09:19 — forked from pjan/private.xml
Karabiner private.xml for Topre REALFORCE 87U on Mac
<?xml version="1.0"?>
<root>
<item>
<name>For Topre REALFORCE 87 Users</name>
<devicevendordef>
<vendorname>TopreCorporation</vendorname>
<vendorid>0x0853</vendorid>
</devicevendordef>
<item>
@danmaispace
danmaispace / private.xml
Last active April 14, 2016 16:32
Topre REALFORCE 87 Keyboard and HUMAN ERGONOMICS ev mouse for Karabiner on mac OSX
<?xml version="1.0"?>
<root>
<item>
<name>For Topre REALFORCE 87 Users</name>
<devicevendordef>
<vendorname>TopreCorporation</vendorname>
<vendorid>0x0853</vendorid>
</devicevendordef>
<item>
@danmaispace
danmaispace / .gitconfig
Created May 20, 2016 09:27 — forked from pksunkara/config
Sample of git config file (Example .gitconfig)
[user]
name = Pavan Kumar Sunkara
email = [email protected]
[core]
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[sendemail]
smtpencryption = tls
smtpserver = smtp.gmail.com
{"sig":"31c1499fd21dfdc9a76926b19cae1b8332395539a183dcbe93170f5bbbd9952b3b146e312ea9afc2b96085637d42c07bc436c95e403477c13880004446444bf60","msghash":"269c3c650d48884d37ac5dd006366059692c95643af73eb16618a9a96fb6bd14"}
@danmaispace
danmaispace / update_git_repos.sh
Created January 29, 2019 10:23 — forked from douglas/update_git_repos.sh
Update all git repositories under a base directory
#!/bin/bash
# store the current dir
CUR_DIR=$(pwd)
# Let the person running the script know what's going on.
echo "\n\033[1mPulling in latest changes for all repositories...\033[0m\n"
# Find all git repositories and update it to the master latest revision
for i in $(find . -name ".git" | cut -c 3-); do