Category Archives: Uncategorized

Migrate Website to Digital Ocean from Sina App Engine(SAE)

Posted in Uncategorized | Leave a comment

GPU Support for Deep Learning on Windows Subsystem Linux(WSL) with Conda

0, Install WSL, xfce4, VcXsrv startxfce4 1, Install Miniconda(Tick all the option) 2, Set alias and add it to the end of .bashrc alias python=”python.exe” alias conda=”conda.exe” alias ipython=”ipython.exe” alias nosetests=”nosetests.exe” alias pip=”pip.exe” 3, Install tensorflow-gpu 4, Install CUDA support … Continue reading

Posted in Uncategorized, 机器学习 | Leave a comment

Amazon Ubuntu Deep Learning Instance Configuring Steps

Git server building. $ ssh-­keygen -­t rsa ­-C “user.email” Modifying hooks: $ vim sample.git/hooks/post-receive Sample code for hooks: #!/bin/sh GIT_WORK_TREE=/home/ubuntu/Deployment/sample git checkout -f chmod -R 777 /home/ubuntu/Deployment/sample Install bazel. 1). Add Bazel distribution URI as a package source (one time … Continue reading

Posted in Uncategorized | Leave a comment

Convert mp3 to mp4 In Batch

Solution 1: ls *.mp3 | while read mp3File ; do outputFile=$(basename “${mp3File}” .mp3) ; ffmpeg -i “${mp3File}” -loop 1 -i image.png -c:a copy -c:v libx264 -shortest “${outputFile}”.mp4 ; done Solution 2: $ mkdir out $ for f in *.mp3; do … Continue reading

Posted in Uncategorized | Leave a comment

Amazon Ubuntu Instance Suffers `Permission Denied(publickey).`

N.B. There are dozens of reasons to lead to this problem, for example, wrong permission of your pem file, incorrect username(e.g., ec2-user, ubuntu),wrong spelling in your command, etc.. The reason which causes my problem, if I am right, is that … Continue reading

Posted in Uncategorized | Leave a comment

PERMISSION DENIED (PUBLICKEY).

A problem occurred while I `git push` to my git server on ec2. I handled this by following this three guide of which their original links are: http://stackoverflow.com/questions/13363553/git-error-host-key-verification-failed-when-connecting-to-remote-repository https://chenhuachao.com/2016/05/26/ssh%E5%87%BA%E9%94%99-sign-and-send-pubkey-signing-failed-agent-refused-operation/ Sorry for missing out the second source link, I will add … Continue reading

Posted in Uncategorized | Leave a comment

(SOLVED)HOW TO BREAK THE LOOP “RESTART SURFACE TO MODIFY SECURITY SETTINGS”

Reference Link: http://earnfs.sinaapp.com/html/1237.htm Handing on my new Surface Pro 4,I try to  install ubuntu on it. But I lost my “Security” menu in UEFI while I try to boot from a PE in my USB stick.Then I get stuck in … Continue reading

Posted in Uncategorized | Leave a comment