use this emacs version from eamcsformacosx. sometime, if os x complains the version, use an old version. also, brew install emacs will install core, only in the terminal. you can view them as two separate emacs. to use gui, one need permissions, grant disk access to /usr/bin/ruby and emacs. to see /usr/bin/ruby, press ctrl+cmd+period to …
Category Archives: linux
git clone a specific directory
https://atulsingh0.medium.com/git-use-sparse-checkout-pull-specific-folder-from-repository-1091b2da52bf
a brief discussion about rest, rcp and http
https://etherealbits.com/2012/12/debunking-the-myths-of-rpc-rest/
split and merge tar.gz file
split: tar -czf – ~/work | split –bytes=100MB – ~/workspaces.tar.gz https://learner.coursera.help/hc/en-us/articles/360004990332-Download-Jupyter-Workspace-files merge cat *.tar.gz* | tar xvfz – https://stackoverflow.com/questions/38199571/untar-multiple-tar-gz-aa-tar-gz-ab-pattern-files
download jupyter files from coursera
Execute !tar cvfz allfiles.tar.gz * in a cell https://www.reddit.com/r/learnmachinelearning/comments/7er5ps/coursera_downloading_all_the_assignments_jupyter
ubuntu show path of a folder
press ctrl + L
ubuntu unzip 乱码
———————————————————–pipci@Ubuntu:~$ unzip -O CP936 xxx.zip 下面这两个参数也行unzip -O GBKunzip -O GB18030 https://blog.csdn.net/Pipcie/article/details/85050734
modify a specified commit in git
First rebase to the commit right before the one you want to change. Make the change. Commit. Rebase back. http://stackoverflow.com/questions/1186535/how-to-modify-a-specified-commit You can use git rebase, for example, if you want to modify back to commit bbc643cd, run $ git rebase –interactive bbc643cd^ In the default editor, modify ‘pick’ to ‘edit’ in the line whose commit you …
List directory only in linux
ls -d */
Bash script tutorial
A link for Bash scripting turorial http://linuxconfig.org/bash-scripting-tutorial