Categories
matematikk

Visualizing 100k decimals of Pi, Tau and e with Python

Having an interest for numbers, Linux and small scale programming and scripting shortens the route to test out things like this. It generally starts out with: “I wonder what that would look like” and ends in a continuous awe for numbers, programming and Linux. Having seen similar attempts to visualize numbers and an earlier attempt […]

Categories
linux

Type the Vulcan salute anywhere in Linux

Type the Vulcan salute (made famous by Spock) anywhere in Linux like this: ctrl + shift + u followed by 1f596 + spacebar 🖖 (or any unicode symbol) 🚀 1f680 is cool too 😉 For those in Microsoft Windows, there is hope. Only some programs like outlook and word are supported, but not browsers. I […]

Categories
matematikk

Create plasma-fractal wallpapers for your phone with ImageMagick

Do you like fractals? Do you like plasma? Perhaps both? Or do you simply like to fiddle with linux terminal commands? I know what I like, therefore I give you a one liner to create five awesome wallpapers for your phone: Download the samples here, but if you create them yourself, they will be your […]

Categories
talesyntese

How to create those evil hacker virus voices from the 90s

Remember those old hacker films from the 80-90s? I do. There is especially one that comes to mind and that is “Hackers” from 1995. Jonny Lee Miller from the ongoing Netflix hit Elementary is of the two lead characters. The other one is Angelina Jolie. If you haven’t seen it, you can here.  In this […]

Categories
linux

Generate beautiful background sci-fi space noise in linux command line

Here is a couple of examples of how you can generate beautiful background sounds directly in linux command line with the play command (install the vox package in your linux distribution). Sound in space (sure, lets image that would work) play -n -c1 synth whitenoise lowpass -1 120 lowpass -1 120 lowpass -1 120 gain […]

Categories
Koding

Et par erfaringer med HTML5 videotag

Jeg skrev et pythonskript som skulle hente ned stillbilder fra en rekke forskjellige webkameraer som vegvesenet har gjort tilgjengelig på sine sider. Deretter skulle skriptet sette sammen stillbildene til en timelapsefilm. Fra stillbilder til levende film Vegvesenet opplyser at de ikke lagrer bildene, men laster opp nye til samme adresse hvert 5-10 minutt. Jeg satte […]

Categories
Koding

Show cron jobs as an agenda

As a linux user I also use the cron daemon for controlling when to run tasks. Mostly I don’t interfere with the systems cron jobs, but add my own schedules tasks using the command crontab -e. Reading the cron jobs with crontab -l can be cumbersome and I needed a nicer formatted view of the […]