Tag: bash
-
Ett år med trafikkbilder fra vegvesen.no
At jeg kunne finne webkamera på vegvesen.no har jeg kanskje sett en lang stund. Det er kamera plassert rundt omkring i landet på mange ulike posisjoner. De tar et bilde av en vei fra en bestemt vinkel med korte mellomrom. Bildet lagres…
-
Draw a cityscape in day and night with Python turtle
I’ve earlier blogged about drawing a cityscape or urban landscape just by using squares with the Python turtle library. Now, I also have written a Python script that creates a randomized blue sky filled with seagulls, clouds, a rainbow and a the…
-
Identify dominant colors in an image
Deeply inspired by a tweet I saw a couple of days ago, where @NASAGoddard teamed up with @colourlovers to identify colors in satellite images, I set out to write a script that did this with any image. UPDATE: Try it now online…
-
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…
-
Finally a decent script for backing up my DVD collection of movies and TV-series
Depending on how nerd you are, but I have been looking for a good method to digitalize my collection in an acceptable resolution, using a widely used format and keep subtitles and audio languages. In short, I found a couple of BASH…
-
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…