Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="color-scheme" content="light dark" />
<title>FF Android Synced Passkeys</title>
<style>
@o-az
o-az / url-schemes.md
Created June 8, 2025 12:13 — forked from felquis/url-schemes.md
iOS, Android browser apps URL Schemes to handle URL between browsers, and apps..

Assume the user is on a mobile device iOS Safari (Or other browser), but you want a link to open into any other specific mobile browser app like Chrome, Safari, Firefox, Opera, Arc... How do you do that?

Chrome

To open on Chrome

<a href="googlechrome://example.com">try it on Chrome</a>

check out Chrome iOS Docs for more information

@o-az
o-az / README.md
Last active March 29, 2025 11:27
Setup iSH app
echo "https://dl-cdn.alpinelinux.org/alpine/latest-stable/main" >> /etc/apk/repositories
apk update && apk upgrade

restart app

@o-az
o-az / tsconfig.json
Created February 9, 2025 15:31
my default tsconfig.json
{
"schema": "https://json.schemastore.org/tsconfig.json",
"display": "Default",
"compilerOptions": {
"strict": true,
"noEmit": true,
"allowJs": true,
"checkJs": true,
// add DOM and DOM.Iterable if working with browser
"lib": ["ESNext"],
@o-az
o-az / index.html
Created December 17, 2024 19:20
for ens redirect
<!doctype html>
<html>
<head>
<meta http-equiv="Location" content="https://union.build" />
<meta http-equiv="refresh" content="0; URL=https://union.build" />
</head>
<body/>
</html>
export const reactiveQueryArgs = <T>(cb: () => T) => {
const store = writable<T>();
$effect.pre(() => {
store.set(cb());
});
return store;
};
@o-az
o-az / install_docker_ubuntu.sh
Created October 11, 2024 07:10
install docker on Ubuntu. This will require `sudo` to run `docker`. To run without `sudo`, see `no-sudo.md` for directions
sudo apt update --yes
sudo apt upgrade --yes
sudo apt install --yes \
curl \
apt-transport-https \
ca-certificates \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg \
echo "http://dl-cdn.alpinelinux.org/alpine/v3.20/main" > /etc/apl/repositories;
echo "http://dl-cdn.alpinelinux.org/alpine/v3.20/community" >> /etc/apl/repositories;
echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apl/repositories;
echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apl/repositories;
echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apl/repositories;
echo "http://dl-cdn.alpinelinux.org/alpine/latest-stable/main" >> /etc/apl/repositories;
echo "http://dl-cdn.alpinelinux.org/alpine/latest-stable/community" >> /etc/apk/repositories;
apk update
@o-az
o-az / graphiql.html
Created August 19, 2024 17:58
example of graphiql playground in an html page. Play here https://codepen.io/o-az/pen/poXaZxj?editors=1000
<html lang='en'>
<head>
<title>GraphiQL</title>
<Style>
body {
margin: 0;
width: 100%;
height: 100%;
overflow: hidden;
<!DOCTYPE html>
<html>
<head>
<title>ES6 Demonstration</title>
<style>
.pager { margin: 5px 10px; user-select: none; font-family: sans-serif; }
.page { display: inline-block; padding: 0 5px; cursor: pointer; }
.page:active, .selected { color: red; }
.selected { font-weight: bold; }
#content { font: bold 250% sans-serif; padding: 25px 10px; }