Skip to content

Instantly share code, notes, and snippets.

View profrodai's full-sized avatar
🎯
Focusing

Rod Rivera profrodai

🎯
Focusing
View GitHub Profile
from pathlib import Path
import os
p = Path('03_Books/')
for ix, path in enumerate(sorted(os.listdir(p))):
if '.DS_Store' not in path:
full_path = os.path.join(p, path)
if os.path.isdir(full_path):
if ix < 10:
@profrodai
profrodai / cisco_vpn.md
Last active October 31, 2019 21:35
Notes on the cisco vpn at skoltech

Working with Windows and the Ubuntu bash

  • Check install instructions at http://cdn.skoltech.ru/files/manuals/VPN_access_instruction_eng.pdf
  • Download the cisco client
  • First run on powershell: Get-DnsClientServerAddress -AddressFamily IPv4 | Select-Object -ExpandPropert ServerAddresses
  • Copy the ip listed
  • Open the Ubuntu bash
  • Open resolv.conf
  • sudo nano /etc/resolv.conf
  • Edit the /etc/resolv.conf and replace all nameserver {ip} with the ones generated by the top one.
  • Save file
@profrodai
profrodai / .gitignore
Created June 21, 2018 13:32
Ignore extensions
*.csv
output/
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace TSFresh_per_Cluster1-Copy3.ipynb
@profrodai
profrodai / adase_gpu_tf_conda
Last active June 14, 2018 14:52
List of steps to build TensorFlow gpu with conda in the adase servers
git clone https://github.com/DhavalThkkar/DeepLearningDocker.git
# Comment out everything but last line in bash nvidia_docker.sh
bash nvidia_docker.sh
nano Dockerfile.gpu
# Edit the version of the cuda image
# 9.1-cudnn7-devel-ubuntu16.04
# Add latest versions
# https://repo.anaconda.com/archive/Anaconda3-5.2.0-Linux-x86_64.sh
# https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.8.0-cp36-cp36m-linux_x86_64.whl
docker build -t riverar_docker_tfgpu_conda -f Dockerfile.gpu .

Keybase proof

I hereby claim:

To claim this, I am signing this object: