Skip to content

Instantly share code, notes, and snippets.

View brw's full-sized avatar
📝
/人◕ ‿‿ ◕人\

Bas van den Wollenberg brw

📝
/人◕ ‿‿ ◕人\
View GitHub Profile
@brw
brw / spoof-bluesky-mobile-detection.user.js
Last active April 10, 2025 18:31
Temporary userscript that overrides `navigator.maxTouchPoints` to be 0 to work around Bluesky's incorrect touch device detection causing the volume slider and hover cards to not show up and DMs to not send on pressing enter. Will be obsolete once https://github.com/bluesky-social/social-app/pull/5919 gets merged.
// ==UserScript==
// @name Spoof Bluesky mobile detection
// @namespace https://bas.sh
// @match https://bsky.app/*
// @match https://main.bsky.dev/*
// @grant none
// @version 2.0
// @author Bas (@bas.sh)
// @description Temporary userscript to work around Bluesky's incorrect touch device detection (obsolete)
// @license MIT
2024/03/04 06:06:18 serve_command.go:108: Starting terraform-ls 0.32.7
2024/03/04 06:06:18 service.go:106: Preparing new session ...
2024/03/04 06:06:18 langserver.go:102: Starting server (pid 138918; concurrency: 4) ...
2024/03/04 06:06:18 opts.go:215: Received request batch of size 1 (qlen=0)
2024/03/04 06:06:18 opts.go:215: Dequeued request batch of length 1 (qlen=0)
2024/03/04 06:06:18 rpc_logger.go:32: Incoming request for "initialize" (ID 1): {"initializationOptions":[],"capabilities":{"workspace":{"workspaceEdit":{"resourceOperations":["rename","create","delete"]},"applyEdit":true,"semanticTokens":{"refreshSupport":true},"symbol":{"dynamicRegistration":false,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalWorkspaceSymbolSupport":true},"didChangeWatchedFiles":{"dynamicRegistration":false,"relativePatternSupport":true},"configuration":true,"workspaceFolders":true},"textDocument":{"publishDiagnostics":{"tagSupport":{"valueSet":[1,2]},"relatedIn

Keybase proof

I hereby claim:

  • I am brw on github.
  • I am brw (https://keybase.io/brw) on keybase.
  • I have a public key whose fingerprint is AFD4 9875 C8C6 FD59 CB6F BEEE F223 F14B 92A6 9574

To claim this, I am signing this object:

@brw
brw / # tree-sitter - 2021-05-18_18-26-49.txt
Created May 18, 2021 16:27
tree-sitter on Ubuntu 20.04.2 LTS - Homebrew build logs
Homebrew build logs for tree-sitter on Ubuntu 20.04.2 LTS
Build date: 2021-05-18 18:26:49
@brw
brw / .gitignore
Last active June 12, 2023 05:15 — forked from JonnyWong16/update_all_metadata.py
Updates all metadata in the Tautulli database after moving Plex libraries.
.env

Keybase proof

I hereby claim:

  • I am brw on github.
  • I am brw (https://keybase.io/brw) on keybase.
  • I have a public key ASD9c6a-AYUUpMyKTMldlNp5mg0ONKHCoxI35WCGhGJ0fwo

To claim this, I am signing this object:

@brw
brw / app.js
Last active January 4, 2018 16:02
Authentication with Auth0 using Horizon + Vue.js test
const horizon = Horizon({authType: 'token'})
new Vue({
el: '#app',
data: {
authenticated: false
},
ready() {
this.authenticated = horizon.hasAuthToken()
},