Skip to content

Instantly share code, notes, and snippets.

View ArnoutDevos's full-sized avatar
🎯
Focusing

Arnout Devos ArnoutDevos

🎯
Focusing
View GitHub Profile
@trouleau
trouleau / ix-2019-setup-step-by-step-instructions.md
Last active February 17, 2021 10:20
Internet Analytics lab environment setup

Internet Analytics lab environment setup

1. Which machines to use?

You can use your the computers in BC 07-08 or your own computer to do the labs.

How to use an EPFL-provided computer?

If you want to use the computers in BC 07-08, they run virtual machines; the image that contains the software that you will use during the course is

@tamsanh
tamsanh / jupyter_cell_notify.py
Created April 6, 2018 03:18
Generate and play a sound in Jupyter Notebook when then cell is run. Useful as notification when a long-running cell is done.
from IPython.lib.display import Audio
import numpy as np
framerate = 4410
play_time_seconds = 3
t = np.linspace(0, play_time_seconds, framerate*play_time_seconds)
audio_data = np.sin(2*np.pi*300*t) + np.sin(2*np.pi*240*t)
Audio(audio_data, rate=framerate, autoplay=True)
@trouleau
trouleau / ix-faq-students.md
Last active February 17, 2021 12:36
ix-faq

Frequently asked questions

This is a list of questions related to the technical infrastructure required to do the labs.

I want to use an EPFL-provided computer. How should I proceed?

You can use the computers in BC 07-08. These computers run virtual machines; choose one of the two following images that contains the software that you will use during the course is

@480
480 / gist:3b41f449686a089f34edb45d00672f28
Last active July 3, 2024 03:59
MacOS X + oh my zsh + powerline fonts + visual studio code terminal settings

MacOS X + oh my zsh + powerline fonts + visual studio code (vscode) terminal settings

Thank you everybody, Your comments makes it better

Install oh my zsh

http://ohmyz.sh/

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
@yrevar
yrevar / imagenet1000_clsidx_to_labels.txt
Last active November 8, 2024 06:50
text: imagenet 1000 class idx to human readable labels (Fox, E., & Guestrin, C. (n.d.). Coursera Machine Learning Specialization.)
{0: 'tench, Tinca tinca',
1: 'goldfish, Carassius auratus',
2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias',
3: 'tiger shark, Galeocerdo cuvieri',
4: 'hammerhead, hammerhead shark',
5: 'electric ray, crampfish, numbfish, torpedo',
6: 'stingray',
7: 'cock',
8: 'hen',
9: 'ostrich, Struthio camelus',