Links

Statistics about the world
http://data.worldbank.org/

Digital tunes
http://musicforprogramming.net

Catalog of data visualization
http://datavizcatalogue.com/

Fun – must seen
everybody wants to kill bruce

Translate every website in german dialects
http://www.burble.de

Online editor and compiler/interpreter for various languages
https://wandbox.org/

Statistics about the world
https://www.gapminder.org/tools/

Balance sheets of most german companies
https://www.bundesanzeiger.de/

The best way to get free https for your webpage – from start to finish in 30 seconds
https://certbot.eff.org/

Good resource for physical algorythms
http://natureofcode.com/book/

 

 

 

 

find files and strings on the shell

Find files and file content on the terminal can be achieved by the use of the find tool.

By far one of the best tools is „Silversearcher ag“, install it with sudo apt-get install silversearcher-ag. If you want to search for example recursive all folders, only php files for the search string „my Value“, simply type:

ag --php "my Value" .

Find file/s containing a specific string in its name:

find . -name "*mySearchString*" -type f

Now list all files that contain the word „searchTerm“

find . -type f -exec grep -l 'searchTerm' {} \;

List all the occurrence and their respective line-number of „searchTerm“ in files. The parameter -n toggles the line-number, the parameter -H toggles the filename.

find . -type f -exec grep -Hn 'searchTerm' {} \;

Do you want to list all files bigger than size x? Here we go:

find . -type f -size +100M -exec ls -lh {} \;

A handy tool as well is ack-grep (you have to install it first). Be sure to wrap the search-term in single quotes.

 ack-grep --php '"the":"SearchTerm"'

 

Exchange files and folders between local and remote machine with secure copy scp

You’d like to exchange data – files or folders – from a local machine to a remote one or visa verce?
scp (secure copy) is the tool of choice.

Copy local file to remote folder

scp localfile.txt user@123.123.123.123:/remote-target-folder

Copy local folder to remote folder

scp -r localfolder user@123.123.123.123:/remote-target-folder

Copy remote file to local folder

scp user@123.123.123.123:/folder/remotefile.txt /local-target-folder

Copy remote folder to local folder

scp -r user@123.123.123.123:/remote-folder /local-target/folder

 

 

Disable the browser cache

Disable Browser cache for firefox:

type in the url-bar:

about:config

confirm the warning. and set browser.cache.disk.enable and browser.cache.memory.enable both to false

 

Disable Browser cache in chrome

press F12 (open the developer-toolbar), go to Network and uncheck „Disable cache“.
The cache is only disabled while the developer-toolbar is open!!!