Skip to Content
Dan k
Chen
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

https://wordpress.org/plugins/static-html-output-plugin/

Install wordpress on your local host if you don’t have a server
http://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMP

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 https://raw.githubusercontent.com/Homebrew/install/master/install)”

#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/classes.pub ~/.ssh
sudo chmod 600 ~/.ssh/classes
echo -en “host fab.cba.mit.edu\nport 846” > ~/.ssh/config
#4 Set local file directory
mkdir ~/Desktop/Archive
hg clone -e “ssh -i ~/.ssh/classes” ssh://hg@fab.cba.mit.edu/863.11 ~/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 <email@mit.edu>\nssh = ssh -i ~/.ssh/classes -C\n\n[extensions]\nconvert =\nfetch =\n\n[hooks]\n\nchangegroup = hg update >&2” >> ~/Desktop/Archive/.hg/hgrc

 

GIT

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

hostname fab.cba.mit.edu

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 user.name “Dan Chen”

git config –global user.email “dan@essential-design.com”

git config –global user.name “dchen02″

git config –global user.email “dchen@ideo.com”

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