use coursera-dl
coursera-dl -u username -p password –cauth fromcookie -f “pptx ppt pdf” –specialization deep-learning
coursera-dl -u username -p password –cauth fromcookie -f “pptx ppt pdf” machine-learning
use coursera-dl
coursera-dl -u username -p password –cauth fromcookie -f “pptx ppt pdf” –specialization deep-learning
coursera-dl -u username -p password –cauth fromcookie -f “pptx ppt pdf” machine-learning
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
there are large files (>100M), which can not be downloaded from coursera directly. found they’re available here:
Besides Andrew Ng’s lecture, a good discussion can be found here:
https://towardsdatascience.com/word2vec-skip-gram-model-part-1-intuition-78614e4d6e0b
https://towardsdatascience.com/word2vec-skip-gram-model-part-2-implementation-in-tf-7efdf6f58a27
convert -resize 1024X768 source.png dest.jpg #(keep aspect ratio)
convert -resize 1024X768! source.png dest.jpg #(not keep aspect ratio)
https://askubuntu.com/questions/1164/how-to-easily-resize-images-via-command-line
just a side note on how to resize image in scipy for cnn.
my_image = “image.jpg” # change this to the name of your image file
fname = “images/” + my_image
image = np.array(ndimage.imread(fname, flatten=False))
my_image = scipy.misc.imresize(image, size=(300,225)).reshape((3002253,1))
my_image = my_image/255.
Execute !tar cvfz allfiles.tar.gz *
in a cell
press ctrl + L
———————————————————–
pipci@Ubuntu:~$ unzip -O CP936 xxx.zip
下面这两个参数也行
unzip -O GBK
unzip -O GB18030
https://apple.stackexchange.com/questions/230437/how-can-i-combine-multiple-pdfs-using-the-command-line
"/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py" -o PATH/TO/YOUR/MERGED/FILE.pdf /PATH/TO/ORIGINAL/1.pdf /PATH/TO/ANOTHER/2.pdf /PATH/TO/A/WHOLE/DIR/*.pdf
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 want to modify. Make your changes and then commit them with the same message you had before:
$ git commit -a --amend --no-edit
to modify the commit, and after that
$ git rebase --continue
to return back to the previous head commit.