- Navigate to the main feed page of Strava in a web browser:
https://www.strava.com/dashboard?num_entries=100
- Replace the "100" in the above URL with whatever number of activities you wish to give kudos to
- Open Developer Tools in your web browser and navigate to the console
- Paste the script below into the console and press enter:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Usage: dev_signed_cert.sh HOSTNAME | |
# | |
# Creates a CA cert and then generates an SSL certificate signed by that CA for the | |
# given hostname. | |
# | |
# After running this, add the generated dev_cert_ca.cert.pem to the trusted root | |
# authorities in your browser / client system. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name URL Conversion | YouTube - HookTube | |
// @namespace Tazeki | |
// @description The smallest, possibly most useful YouTube-HookTube conversion script. RegEx based. Report bugs to tangentale@protonmail.com. Sends any /www.youtube.com/ sites to HookTube before page load. Does not affect /other.youtube.com/, (gaming.youtube.com, creatoracademy.youtube.com, etc.). | |
// @include *youtube* | |
// @version 1 | |
// @grant none | |
// @run-at document-start | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# update repositories | |
curl -sL https://deb.nodesource.com/setup_10.x | bash - | |
apt-get update | |
# download the necessary prerequisite components for mineos | |
apt-get -y install nodejs supervisor git rdiff-backup screen build-essential default-jre-headless | |
# download the most recent mineos web-ui files from github |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Mount an NFS share on Android | |
# Requirements: | |
# - Busybox | |
# - A kernel supporting nfs (either built-in or as a module) | |
# On my Nexus 7 2012 I use the following kernel: | |
# http://forum.xda-developers.com/showthread.php?t=2107224 | |
# Remember: if you have problems of system space, simply delete some of the default stuff. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#usage | |
# find %Dropbox%/Apps/Wahoo | grep csv$ | sort | awk -f wahoo2csv.awk | |
# Date, TotalDistance, Time, AverageSpeed | |
BEGIN { | |
FS="," | |
general_info_flg=0 | |
distance=0 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget is a nice tool for downloading resources from the internet. The basic usage is wget url: | |
wget http://linuxreviews.org/ | |
Therefore, wget (manual page) + less (manual page) is all you need to surf the internet. The power of wget is that you may download sites recursive, meaning you also get all pages (and images and other data) linked on the front page: | |
wget -r http://linuxreviews.org/ | |
But many sites do not want you to download their entire site. To prevent this, they check how browsers identify. Many sites refuses you to connect or sends a blank page if they detect you are not using a web-browser. You might get a message like: |