This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: DL | |
| channels: | |
| - pytorch | |
| - caffe2 | |
| - conda-forge | |
| - soumith | |
| - defaults | |
| dependencies: | |
| - _nb_ext_conf=0.4.0=py36_1 | |
| - anaconda-client=1.6.3=py36_0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: testDL | |
| channels: | |
| - pytorch | |
| - soumith | |
| - defaults | |
| dependencies: | |
| - blas=1.0=mkl | |
| - ca-certificates=2018.12.5=0 | |
| - certifi=2018.11.29=py36_0 | |
| - cffi=1.11.5=py36he75722e_1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Script originally posted by stackOverflow user 'sgDysregulation': | |
| # https://stackoverflow.com/questions/28972614/ipython-notebook-convert-an-html-notebook-to-ipynb | |
| # Requirements: | |
| # beautifulsoup4==4.7.1 | |
| # lxml==4.3.3 | |
| # urllib3==1.24.1 | |
| # simplejson==3.13.2 | |
| # To check if lxml is available as a parser: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #/bin/bash | |
| # Script to convert HTTPS to SSH github remote URLs providing a parent folder | |
| # containing all the repo directories (i.e.: with a .git subdirectory) | |
| # | |
| # This script was inspired by https://gist.github.com/m14t/3056747 | |
| directoryContainingAllRepos=$1 | |
| cd $directoryContainingAllRepos |
Mecab can be compiled from sources from its repo or downloading:
Mecadic source: mecab-0.996.tar.gz
Mecadic dictionary mecab-ipadic-2.7.0-20070801.tar.gz
This is a port of the original gist to python 3.
This script allows to use the free VPN service provided by VPNGate in an easy way. The user just needs to provide the desidered output country, and the script automatically chooses the best server.
After this step, OpenVPN is launched with the proper configuration. The VPN can be terminated by pressing Ctrl+C.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var log = require('./lib/logger')(module); | |
| log.info('foo'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Download installers | |
| mkdir ~/Downloads/nvidia | |
| cd ~/Downloads/nvidia | |
| wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda_8.0.61_375.26_linux-run | |
| wget http://us.download.nvidia.com/XFree86/Linux-x86_64/384.59/NVIDIA-Linux-x86_64-384.59.run | |
| sudo chmod +x NVIDIA-Linux-x86_64-384.59.run | |
| sudo chmod +x cuda_8.0.61_375.26_linux-run | |
| ./cuda_8.0.61_375.26_linux-run -extract=~/Downloads/nvidia/ | |
| # Uninstall old stuff | |
| sudo apt-get --purge remove nvidia-* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for i in *.wav; do lame -b 320 -h "${i}" "${i%.wav}.mp3"; done |