This file contains 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
Prerequisties install: | |
- sudo apt-get install build-essential checkinstall | |
These are the dependancies required by python: | |
- sudo apt-get install libbz2-dev libc6-dev libgdbm-dev libncursesw5-dev libreadline-gplv2-dev libssl-dev libsqlite3-dev tk-dev | |
Download the tar source file from python.org (at the time of writing 3.6.1 is the latest release): | |
- wget -O ~/Downloads/python3.6.1.tgz https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tgz | |
Via command line navigate to the downloaded file directory: |
This file contains 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
/* | |
Export bookmarks from Chrome as text. | |
Go to Bookmarks Manager->Organize->Export to HTML file. | |
Then open that file with chrome, open console (Ctrl+Shift+J) and run this command: | |
*/ | |
[].map.call(document.querySelectorAll("dt a"), function(a) { | |
return a.textContent + " - " + a.href | |
}).join("\n"); |
This file contains 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
#!/usr/bin/env python | |
# Author: Timo Korthals <tkorthals@cit-ec.uni-bielefeld.de> | |
# Template by https://gist.github.com/restrepo/4207109 | |
# Function: | |
# Convert a master latex file | |
# into a single document by including hierarchically | |
# automatically all the LaTeX documents | |
# which are arguments of | |
# \include, \input, or \import | |
# ignoring any \includeonly |