Skip to content

Instantly share code, notes, and snippets.

Avatar

Perttu Ehn rpsu

  • Yleisradio
  • Finland
  • Twitter @ropsue
View GitHub Profile
View OVH dynhost (DynDNS clone) update script
#!/usr/bin/env bash
# /path/to/dyndns-update.sh
# 1. Create a credentials file called
# dyndns-update.sh_EXAMPLE.COM.creds.txt
# with user credentials, such as
# example.com-username:USER-PASSWORD
#
# 2. Try this at least once. The output of curl commands tells if update is successful, not necessary or if something was wrong.
# sudo sh /path/to/dyndns-update.sh
View raspberry_pi_setup.md

Raspberry Pi Zero setup without keyboard and display adapters

Raspberry Pi comes with HDMI mini socket, and the Adapter HDMI mini to HDMI costs 4-5 €. However, I did not have one laying around so I flashed the Micro SD card I had and added the wifi configuration to it.

Then I can SSH directly to the box using the dynamic IP address my router provides.

  1. Stick the Micro SD to laptop with an adapter
  2. Download Raspberry Pi OS Lite from https://www.raspberrypi.org/software/operating-systems/
@rpsu
rpsu / casks.sh
Last active Mar 15, 2021
LIst of brew packages / MacOS
View casks.sh
$ brew list --casks -1
android-file-transfer
brave-browser
chromedriver
chromium
docker-edge
firefox
firefox-developer-edition
fork
github
View keybase.md

Keybase proof

I hereby claim:

  • I am rpsu on github.
  • I am rpsue (https://keybase.io/rpsue) on keybase.
  • I have a public key ASAMY3aR6XLgCY8Sy90z4zCMrNsbXwfWoJsI3VREzhSBEQo

To claim this, I am signing this object:

@rpsu
rpsu / gist:cbf28a6f666a48b266a46f6dc62cd6b1
Last active Nov 8, 2017
Agility, retrospectives and human relationships
View gist:cbf28a6f666a48b266a46f6dc62cd6b1

What is agile, in practise? Looking into one implementation of agile software development.

Walk through the sprint retrospective and discuss why is it important to have.

Learn about how productivity of group of people evolves through time, and what are the common traps along the way.

@rpsu
rpsu / toss_away_converted_music.sh
Last active Sep 22, 2016
Toss away music that's already converted with iTunes. Flexible, file extension is a variable, locations are variables.
View toss_away_converted_music.sh
#!/bin/bash
# CHANGE THESE!!
# This is the folder where your music is located (*all* music within this folder is handled)
DIRECTORY="/path/to/your/music"
# this is the safe (temporary?) location for your files.
NEW_PLACE="/path/to/the/destination/folder"
ORG_EXT='.m4a'
@rpsu
rpsu / mint_17.2_macbook_pro_retina_15_inch_mid_2014.md
Last active Mar 1, 2018 — forked from pinge/ubuntu_14.04_macbook_pro_retina_15_inch_mid_2014.md
How to install Ubuntu 14.04.1 LTS on a MacBook Pro Retina 15" Mid 2014 (11,3)
View mint_17.2_macbook_pro_retina_15_inch_mid_2014.md