Skip to Content
Dan k
Tips & Tricks

Photograph / Documenting

Macro Ring LED Light – This gets you a nice even lights, when you don’t have nice cloudily day to diffuse your light source.

Turn your WordPress to One Big Flat zip file

Install wordpress on your local host if you don’t have a server

Good WordPress plugin and settings

AJAX Thumbnail Rebuild – Rebuilds the thumbnails on the site.
Default Image Link – Helps you to reduce the site file size by making linking images to the source to “none” by default.

Mercurial Installation

#1 Install Homebrew to install Mercuroal
ruby -e “$(curl -fsSL”

#2 Install Mercuroal
$ brew install mercurial
#3 Download all keys from professor Gershenfeld to your downloads folder.
mkdir ~/.ssh
mv ~/Downloads/classes.txt ~/Downloads/classes (might be necessary)
mv ~/Downloads/classes ~/.ssh
mv ~/Downloads/ ~/.ssh
sudo chmod 600 ~/.ssh/classes
echo -en “host\nport 846” > ~/.ssh/config
#4 Set local file directory
mkdir ~/Desktop/Archive
hg clone -e “ssh -i ~/.ssh/classes” ssh:// ~/Desktop/Archive

Change to your name and email address, then paste the entire line into the terminal:
echo -en “\n\n[ui]\nusername = First Last <>\nssh = ssh -i ~/.ssh/classes -C\n\n[extensions]\nconvert =\nfetch =\n\n[hooks]\n\nchangegroup = hg update >&2” >> ~/Desktop/Archive/.hg/hgrc



git clone fabclasses:classes/863.15/section.CBA

git clone fabclasses:classes/863.15/section.Architecture

git clone fabclasses:classes/863.15/section.Harvard

git clone fabclasses:classes/863.15/doc

git clone fabclasses:classes/863.15

git clone fabclasses:classes/863.14

. . . . . .

in the .ssh/config file

host fabclasses


user git

port 846

identityfile ~/.ssh/classes


git pull beanstalk dev

git add .

git commit -m “fix #96”

git push beanstalk dev


git config –global “Dan Chen”

git config –global “”

git config –global “dchen02″

git config –global “”

cd mayo-rcm

git branch

git checkout dev

git remote

git pull

git add -A

git commit -m “BLE Duplex”

git push


Pull and Push with Mercurial

hg pull
hg update
hg add .
hg commit -m “adding this file”
hg push

DAN K CHEN © 2024