Tag: python

  • Find taglines for any film at IMDb

    Lots of times when I am watching a film, I get curious what the movie taglines are. I look it up at imdb.com, but that isn’t always so smart, as I might end up see more than I should. Who likes spoilers?…

  • 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…

  • Flytte Google Keep notater fra Gmail til G Suite med Python

    Det oppstod nylig et behov for litt python scripting, noe jeg alltid har stor glede av. Bakgrunnen er at jeg er midt en overgang mellom Gmail og G Suite (før Google Apps), flytter alle tjenestene mine ut fra Gmail og inn i…

  • 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…

  • iphaiku – generates a unique haiku poem from your official IP address

    I recently came across a tiny python library called pyhipku, which converts an IP address, either IPv4 or IPv6, to a haiku poem. It uses a predefined dictionary all open source. I wanted to make a frontend for this small library and…

  • 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…

  • Get a nice looking terminal prompt in ubuntu

    The terminal is a non-graphical frontend to the operating system and in linux the most commonly used one is called bash. Normally and I am only guessing here, if you are a terminal user, you don’t spend much time prettifying the look…

  • Oppdagelsen av snøballtall

    Jeg liker tall og språk og når jeg kommer over skjulte ikke-hensiktsmessige meninger i tekster blir det ofte spennende. For eksempel å finne skjulte haikudikt i gamle bøker eller tekster som ikke hadde til hensikt å skrive haikudikt. Jeg vet at jeg…

  • Hvilken dag tvitrer du oftest på?

    Jeg har brukt Twitter siden 2008 og det har blitt mange tweets i løpet av disse årene. Jeg har ikke full oversikt over hva jeg har tvitret (“Å tvitre” ble årets nyord i Norge i 2009), men i 2012 lanserte Twitter verktøyet…