Skip to content

Instantly share code, notes, and snippets.

View PierreAndreis's full-sized avatar
🏠
Working from home

Pierre Ortega PierreAndreis

🏠
Working from home
View GitHub Profile
@PierreAndreis
PierreAndreis / useScrollTop.ts
Created December 3, 2023 21:52
useScrollTop.ts expo-router
// Copied from https://github.com/react-navigation/react-navigation/blob/main/packages/native/src/useScrollToTop.tsx
// and modified to work with expo-router
import { useNavigation } from "expo-router";
import * as React from "react";
import type { ScrollView } from "react-native";
type ScrollOptions = { animated?: boolean; x?: number; y?: number };
type ScrollableView =
@PierreAndreis
PierreAndreis / README.md
Created November 11, 2022 03:10 — forked from craftyc0der/README.md
Minikube/Ambassador/Agones

Minikube - Agones

Install Ambassador

helm repo add datawire https://app.getambassador.io
helm repo update

helm install -n emissary --create-namespace \
    emissary-ingress --devel \
import theme from '@chakra-ui/theme';
import { mode } from '@chakra-ui/theme-tools';
const defaultButton = theme.components.Button;
type Dict = Record<string, any>;
function variantSolid(props: Dict) {
const { colorScheme: c } = props;
unbindall
bind "0" "slot10"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "6" "slot6"
bind "7" "slot7"
bind "8" "slot8"
// This example depends on hello.js to be running in another process.
// This Node is a socket that replies to hello.js with "world!" when it receives "Hello".
// This example tests concurrency with parallel messages in IPC.
const { Node } = require("../src/index");
const node = new Node("concurrent")
.on("error", console.error)
.on("connect", () => console.log("Connected!"));
{"lastUpload":"2020-06-18T19:48:03.063Z","extensionVersion":"v3.4.3"}
{
"workbench.iconTheme": "vscode-icons",
"editor.renderWhitespace": "all",
"editor.minimap.enabled": true,
"editor.minimap.renderCharacters": false,
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
'Adagio_DefaultSkin','Adagio_Skin_Angel','Adagio_Skin_Goth_T1','Adagio_Skin_Goth_T2','Adagio_Skin_Goth_T3','Alpha_DefaultSkin','Alpha_Skin_Horror_T1','Alpha_Skin_Horror_T2','Ardan_DefaultSkin','Ardan_Skin_Fallen_T1','Ardan_Skin_Fallen_T2','Ardan_Skin_Fallen_T3','Ardan_Skin_Glad','Baron_DefaultSkin','Baron_Skin_Terran_T1','Blackfeather_DefaultSkin','Blackfeather_Skin_Dynasty_T1','Blackfeather_Skin_Vamp','Catherine_DefaultSkin','Catherine_Skin_Glad','Catherine_Skin_Ice','Catherine_Skin_Ice_RI','Catherine_Skin_Vampire_T1','Catherine_Skin_Vampire_T2','Catherine_Skin_Vampire_T3','Celeste_DefaultSkin','Celeste_Skin_Hlwn','Celeste_Skin_Hlwn_RI','Celeste_Skin_Moon','Celeste_Skin_Queen_T1','Celeste_Skin_Queen_T2','Celeste_Skin_Queen_T3','Flicker_DefaultSkin','Fortress_DefaultSkin','Fortress_Skin_Hell_T1','Fortress_Skin_Hell_T2','Fortress_Skin_Hell_T3','Fortress_Skin_Xmas','Fortress_Skin_Xmas_RI','Glaive_DefaultSkin','Glaive_Skin_Prehistoric_T1','Glaive_Skin_Prehistoric_T2','Glaive_Skin_Prehistoric_T3','Glaive_Skin_Sor