Skip to content

Instantly share code, notes, and snippets.

View RomanHargrave's full-sized avatar

Roman Hargrave RomanHargrave

  • Cascadia
View GitHub Profile
WATER="com.eblong.pw.rain/WaterSounds"
MOD_WATER="org.boodler.manage/VolumeModulateAgent ($WATER) delta=0.7 vol=0.8"
FROGS="org.boodler.manage/Sequential 40 90 30
($WATER)
(org.boodler.manage/VolumeModulateAgent
(org.boodler.manage/Simultaneous
(org.boodler.manage/VolumeModulateAgent (com.eblong.zarf.frogs/Bullfrogs 1.0 0.2) delta=0.3 vol=0.1 mindelay=0.01 maxdelay=300 maxfade=300 minfade=30)
(org.boodler.manage/VolumeModulateAgent (com.eblong.zarf.frogs/Bullfrogs 0.001 0.0001 ) delta=0.3 vol=0.1 mindelay=0.01 maxdelay=30 maxfade=5 minfade=2)
@joepie91
joepie91 / vpn.md
Last active July 24, 2024 06:18
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
@CyberShadow
CyberShadow / fontawesome.d
Last active March 8, 2022 10:47
My i3bar script
module fontawesome;
// Version 4.6.3
enum FontAwesome : wchar
{
fa_500px = '\uf26e',
fa_adjust = '\uf042',
fa_adn = '\uf170',
fa_align_center = '\uf037',
@mill1000
mill1000 / README.md
Last active July 5, 2024 08:18
Headless A2DP Audio Streaming on Raspbian Stretch

About

This gist will show how to setup Raspbian Stretch as a headless Bluetooth A2DP audio sink. This will allow your phone, laptop or other Bluetooth device to play audio wirelessly through a Rasperry Pi.

Motivation

A quick search will turn up a plethora of tutorials on setting up A2DP on the Raspberry Pi. However, I felt this gist was necessary because this solution is:

  • Automatic & Headless - Once setup, the system is entirely automatic. No user iteration is required to pair, connect or start playback. Therefore the Raspberry Pi can be run headless.
  • Simple - This solution has few dependencies, readily available packages and minimal configuration.
  • Up to date - As of December 2017. Written for Raspbian Stretch & Bluez 5.43

Prerequisites

@riad-uk
riad-uk / Tidal_Tokens
Created January 4, 2018 11:28
Tidal Dev tokens for 3rd Party apps
browser = 'wdgaB1CilGA-S_s2' # Streams HIGH/LOW Quality over RTMP, FLAC and Videos over HTTP, but many Lossless Streams are encrypted.
android = 'kgsOOmYk3zShYrNP' # All Streams are HTTP Streams. Correct numberOfVideos in Playlists (best Token to use)
ios = '_DSTon1kC8pABnTw' # Same as Android Token, but uses ALAC instead of FLAC
native = '4zx46pyr9o8qZNRw' # Same as Android Token, but FLAC streams are encrypted
audirvana = 'BI218mwp9ERZ3PFI' # Like Android Token, supports MQA, but returns 'numberOfVideos = 0' in Playlists
amarra = 'wc8j_yBJd20zOmx0' # Like Android Token, but returns 'numberOfVideos = 0' in Playlists
# Unkown working Tokens
token1 = 'P5Xbeo5LFvESeDy6' # Like Android Token, but returns 'numberOfVideos = 0' in Playlists
token2 = 'oIaGpqT_vQPnTr0Q' # Like token1, but uses RTMP for HIGH/LOW Quality
token3 = '_KM2HixcUBZtmktH' # Same as token1