This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Token Based API Access for Supabase | |
-- | |
-- How to configure Supabase (https://supabase.com/) to generate and accept API tokens. | |
-- | |
-- (c) 2022 Felix Zedén Yverås | |
-- Provided under the MIT license (https://spdx.org/licenses/MIT.html) | |
-- | |
-- Disclaimer: This file is formatted using pg_format. I'm not happy with the result but | |
-- prefer to follow a tool over going by personal taste. | |
-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create or replace function delete_external_provider() | |
returns trigger | |
language plpgsql | |
security invoker | |
as | |
$$ | |
declare | |
v_api_base_url text; | |
v_delete_provider_api_url text; | |
v_provider provider := old; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta":{ | |
"theme":"caffeine" | |
}, | |
"basics":{ | |
"name":"Philipp Steinrötter", | |
"label":"Full Stack Developer and Entrepreneur", | |
"image":"https://avatars.githubusercontent.com/u/19429600?v=4", | |
"summary":"Into building great products, startups and open source.", | |
"email":"[email protected]", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { stringifyVariables } from '@urql/core'; | |
import { | |
Cache, | |
Resolver, | |
Variables, | |
NullArray, | |
} from '@urql/exchange-graphcache'; | |
export type MergeMode = 'outwards' | 'inwards'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:fermium-alpine AS builder | |
WORKDIR /app/builder | |
COPY . . | |
# https://github.com/nodejs/docker-node/issues/384#issuecomment-305208112 | |
RUN apk --no-cache add --virtual native-deps \ | |
git g++ gcc libgcc libstdc++ linux-headers make python && \ | |
yarn global add --silent node-gyp &&\ | |
yarn --silent && \ | |
apk del native-deps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Terraform v0.15.2 | |
on linux_amd64 | |
Configuring remote state backend... | |
Initializing Terraform configuration... | |
Terraform used the selected providers to generate the following execution | |
plan. Resource actions are indicated with the following symbols: | |
+ create | |
Terraform will perform the following actions: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import zipfile | |
from lxml import etree | |
from email.mime.text import MIMEText | |
from email.mime.multipart import MIMEMultipart | |
import pandas as pd | |
import datetime | |
def load_attachment(zip, name): | |
fh = zip.open(name) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
xcode-select --install | |
brew update | |
brew tap homebrew/cask | |
brew tap homebrew/cask-versions | |
export PATH="/opt/homebrew/bin:$PATH" | |
softwareupdate --install-rosetta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set vm_game 2 // I have no idea what this shit is | |
set vm_cgame 2 // Nope | |
set vm_ui 2 // Nada | |
set dedicated 1 // Dedicated server but not announced | |
set com_hunkmegs 128 // How much RAM for your server | |
set net_port 27960 // The network port | |
seta sv_hostname "ENR Teamevent" // name that appears in server list | |
seta g_motd "Welcome to the ENR Teamevent!" // message that appears when connecting | |
seta sv_maxclients 16 // max number of clients than can connect |