Skip to content

Instantly share code, notes, and snippets.

@seripap
seripap / README.md
Last active August 15, 2023 14:17
AWS Install and Configure Tailscale

One stop shop to install Tailscale on AWS Linux Distros.

/bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/seripap/448757b042912eaa205ad7009148febd/raw/install.sh)"

Quick start

sudo tailscale up
@seripap
seripap / graphql_introspection_query.graphql
Created November 30, 2022 20:01 — forked from a7v8x/graphql_introspection_query.graphql
GraphQL introspection query - for fetching the whole schema (from GraphiQL IDE) for https://atheros.ai/blog/graphql-introspection-and-introspection-queries
query IntrospectionQuery {
__schema {
queryType { name }
mutationType { name }
types {
...FullType
}
directives {
name
description
@seripap
seripap / README.md
Last active August 9, 2023 14:45
Sync GitHub and Pierre.co

Sync GitHub Pull Requests to Pierre.co

Add secrets, PIERRE_RSA_KEY and PIERRE_RSA_KNOWN_HOSTS to your GitHub Actions secrets. Move these workflow files into .github/workflows to use them. This currently only syncs 1 user, could be updated to support multiple users. This is meant to help test Pierre as these scripts will continue to force push to Pierre.

PIERRE_RSA_KEY is your Pierre private key, PIERRE_RSA_KNOWN_HOSTS can be pulled using the following command: ssh-keyscan git.pierre.co, which looks something like

git.pierre.co ssh-rsa AAAA...
@seripap
seripap / settings.json
Created September 27, 2023 19:36
Zed Settings
{
"theme": "One Dark",
"base_keymap": "SublimeText",
"buffer_font_size": 16,
"buffer_font_family": "Operator Mono Book",
"autosave": "on_window_change",
"format_on_save": "on",
"formatter": "language_server",
"vim_mode": true,
"inlay_hints": {