Skip to content

Instantly share code, notes, and snippets.

unpair wearOS watch wihtout performing factory reset (and without root)

1- Wear is connected with phone A (old phone or the same phone before a factory reset) so turn off Bluetooth on this phone.

2- enable developer mode on watch, manually go:

  • settings > system > about and tap build version 10 times

3- reset previously paired phone (phone A) then watch will restart:

adb shell "pm clear com.google.android.gms && reboot"

@wolfg1969
wolfg1969 / README.md
Last active December 28, 2024 14:03
Volumio Bluetooth receiver on Raspberry Pi Zero W
@amirrajan
amirrajan / 00_demo.md
Last active December 28, 2024 14:01
mRuby vs Lua as a Scripting Layer in a Game Engine
enemy-encounter.mp4
@bmaupin
bmaupin / free-database-hosting.md
Last active December 28, 2024 13:59
Free database hosting
@doop
doop / mac-bytejam.md
Last active December 28, 2024 13:58
How to byte-jam on a mac

How to do a TIC-80 byte-jam on an ARM mac

Byte jams are a fun demoscene event where there's usually music from a DJ and several participants who use the TIC-80 fantasy console to code up a graphics effect from scratch within an hour. I usually watch the Field-FX stream on Monday evenings, and occasionally take part; there's an archive of the graphical effects people have made in these sessions, here.

A rather neat part of this is that TIC-80 has been modified to allow its programs to access the FFT of a sound stream, so that you can make your programs respond to the music in real-time. However, this can require a bit of setup on a mac.

In this document I will describe how to set up the audio software, plus byte jam client and TIC-80 itself, to allow participation in a byte jam.

Initial downloads

@danvy
danvy / WSL2-Net-Fix.ps1
Created September 5, 2020 21:04
Reset your WSL network connection trying to fix WSL2 media disconnected error
# Check these threads before proceeding:
# https://github.com/microsoft/WSL/discussions/5857
# https://github.com/microsoft/WSL/issues/5821
if (-Not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] 'Administrator')) {
$CmdLine = "-File `"" + $MyInvocation.MyCommand.Path + "`" " + $MyInvocation.UnboundArguments
Start-Process -FilePath PowerShell.exe -Verb Runas -ArgumentList $CmdLine
Exit
}
# Restart the Host Network Service
Restart-Service -Force -Name hns
@RabaDabaDoba
RabaDabaDoba / ANSI-color-codes.h
Last active December 28, 2024 13:48 — forked from iamnewton/bash-colors.md
The entire table of ANSI color codes working in C!
/*
* This is free and unencumbered software released into the public domain.
*
* For more information, please refer to <https://unlicense.org>
*/
//Regular text
#define BLK "\e[0;30m"
#define RED "\e[0;31m"
#define GRN "\e[0;32m"
@kenmori
kenmori / TypeScriptPractice.md
Last active December 28, 2024 13:47
TypeScript 練習問題集