Skip to content

Instantly share code, notes, and snippets.

@tVienonen
tVienonen / install_lamp_16.sh
Last active January 23, 2018 14:12 — forked from ankurk91/install_lamp_ubuntu.sh
Ubuntu 16.04 - PHP development (php 7.1, MySQL 5.7, apache 2.4)
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
# Ubuntu 16.04 Dev Server
# Run like - bash install_lamp.sh
# Script should auto terminate on errors
echo -e "\e[96m Adding PPA \e[39m"
sudo add-apt-repository -y ppa:ondrej/apache2
X latitude X longitude Y latitude Y longitude Signal strength Signal strength (real)
60.298568100961496 24.748044003550376 60.29938488166851 24.78266214382662 -53 dBm 53
@tVienonen
tVienonen / Bluetooth LE Dual Boot Connecting guide.md
Created February 23, 2020 17:24
Guide for pairing and connecting Bluetooth LE devices when using Linux and Windows dual boot

Bluetooth LE Dual Boot Connecting guide

  1. Pair and connect on Linux
  2. Pair and connect on Windows
  3. Shut down Bluetooth device
  4. Boot to Linux
  5. Mount Windows partition
  6. Go to <windows-mount>/Windows/System32/config
  7. Run command chntpw -e SYSTEM
  • Install chntpw if it is not available
@tVienonen
tVienonen / remove_plus_articles
Created September 27, 2021 12:03
Hides Iltalehti.fi plus articles from main feed
// Use this userscript with Tampermonkey extension
// ==UserScript==
// @name Remove PLUS articles
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Hides Iltalehti PLUS articles from the main news feed
// @author Topi Vienonen
// @match https://www.iltalehti.fi/
// @icon https://www.google.com/s2/favicons?domain=iltalehti.fi
// @grant none