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 python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Sample scraper script | |
See: https://impythonist.wordpress.com/2015/01/06/ultimate-guide-for-scraping-javascript-rendered-web-pages/ | |
""" | |
# standard imports | |
import sys |
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
{ | |
"fallback": [ | |
{ "class_name": "com.google.android.libraries.youtube.player.background.BackgroundTransitioner", "method_name": "updateBackgroundService", "actions": [ | |
{ "name": "set_field_boolean_before_method", "field_name": "playbackModality.isInBackground", "value": true } | |
] }, | |
{ "class_name": "com.google.android.libraries.youtube.innertube.model.PlayabilityStatusModel", "method_name": "isPlayable", "actions": [ | |
{ "name": "set_field_boolean_before_method", "field_name": "isBackgroundable", "value": true } | |
] }, | |
{ "class_name": "com.google.android.apps.youtube.app.background.BackgroundSettings", "method_name": "getBackgroundAudioSetting", "actions": [ | |
{ "name": "return_string", "value": "on" } |
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/bash | |
# | |
# Install shellcheck | |
set -euo pipefail | |
# resynchronize the package index | |
apt-get -qq update | |
# install QEMU Linux user mode emulator (and jq) |
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/bash | |
# | |
# Send or receive data to/from another device on the network. | |
PROGRAM=${0##*/} | |
LOCAL_IP=192.168.1.100 | |
PORT=6666 | |
PASSWORD=topsecret |
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/bash | |
# | |
# Configure fzf | |
# Set up fzf tab completion | |
. /usr/share/fzf/completion.bash | |
# Set up fzf key bindings | |
. /usr/share/fzf/key-bindings.bash |
OlderNewer