Skip to content

Files

Latest commit

 

History

History

script

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Script

You will find some scripts here. Some of them are useful, others aren't. Feel free to use them at your own discretion.

Title Comment Generator

$ python title_comment_generator.py -c TEST

Gives you:

##################################### TEST #####################################

Beautiful, isn't it?

Acces to Ipython notebook remotely

From remote server:

remote_user@remote_host$ ipython notebook --no-browser --port=8889

On local machine:

local_user@local_host$ ssh -N -f -L localhost:8888:localhost:8889 remote_user@remote_host

-N: no remote commands will be executed

-f: SSH go to background (we will need to kill the process)

-L: port forwarding configuration

Open your browser:

localhost:8888

Source

How to get all your tabs URL?

Open a terminal on Mac OS X:

osascript -e'set text item delimiters to linefeed' -e'tell app "google chrome" to url of tabs of window 1 as text'

Start a Docker

docker-machine create -d virtualbox docker-vm
eval $(docker-machine env docker-vm)