One stop shop to install Tailscale on AWS Linux Distros.
/bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/seripap/448757b042912eaa205ad7009148febd/raw/install.sh)"
sudo tailscale up
var month= ["January","February","March","April","May","June","July", | |
"August","September","October","November","December"]; | |
var month = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul","Aug", "Sep", "Oct", "Nov", "Dec"]; | |
//used with date.getMonth() |
{ | |
"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": { |
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...
query IntrospectionQuery { | |
__schema { | |
queryType { name } | |
mutationType { name } | |
types { | |
...FullType | |
} | |
directives { | |
name | |
description |
# Paths {{{ | |
set folder = ~/Mail # mailbox location | |
set alias_file = ~/.mutt/alias # where to store aliases | |
set header_cache = ~/.mutt/cache/headers # where to store headers | |
set message_cachedir = ~/.mutt/cache/bodies # where to store bodies | |
set certificate_file = ~/.mutt/cerficates # where to store certs | |
set mailcap_path = ~/.mutt/mailcap # entries for filetypes | |
set tmpdir = ~/.mutt/temp # where to keep temp files | |
set signature = ~/.mutt/sig # my signature file |
This is a Slack bot that automatically links to Linear.app issues. Sort of how like the Github autolinks work, except for Slack.
For example, you type Check out SE-12
, the bot will then link to https://linear.app/{team}/se-12
This is a small hack
that adds a page numbers at the bottom of the page. Using Puppeteer and a fixed height, the page will render at an A4
size via web and have a fixed footer.
await page.goto('https://bl.ocks.org/seripap/raw/81241195e182b62adc3c87c27258f85f/', {waitUntil: 'networkidle'});
await page.pdf({
path: 'hacks.pdf',
format: 'A4'
});
INSERT into parcel_state values | |
(1, 'AL', 'Alabama', 1), | |
(2, 'AK', 'Alaska', 2), | |
(3, 'AZ', 'Arizona', 4), | |
(4, 'AR', 'Arkansas', 5), | |
(5, 'CA', 'California', 6), | |
(6, 'CO', 'Colorado', 8), | |
(7, 'CT', 'Connecticut', 9), | |
(8, 'DE', 'Delaware', 10), | |
(9, 'DC', 'District of Columbia', 11), |