Skip to content

Instantly share code, notes, and snippets.

View crispgm's full-sized avatar
Caffeinated

David Zhang crispgm

Caffeinated
View GitHub Profile
Olympus Share APP control urls over E-M10 camera, still to investigate..
http://192.168.0.10
http://192.168.0.10/
http://192.168.0.10/clear_resvflg.cgi
http://192.168.0.10/exec_pwoff.cgi
http://192.168.0.10/exec_shutter.cgi?com=1st2ndpush
http://192.168.0.10/exec_shutter.cgi?com=1stpush
http://192.168.0.10/exec_shutter.cgi?com=1strelease
http://192.168.0.10/exec_shutter.cgi?com=2nd1strelease
@crispgm
crispgm / remove_file_from_last_commit.sh
Last active December 31, 2019 02:53 — forked from 0x8BADFOOD/remove_file_from_last_commit
[Git] Remove file from last commit
# roll back commit
git reset --soft HEAD^
# remove file from index
git reset HEAD path/to/unwanted_file
# commit again without unwanted files
git commit -m "My commit message"
# Source: http://stackoverflow.com/questions/12481639/remove-files-from-git-commit