Skip to content

Instantly share code, notes, and snippets.

View ehlxr's full-sized avatar
🎯
Focusing

ḕℏỈẍȓ ehlxr

🎯
Focusing
View GitHub Profile
@ehlxr
ehlxr / tmux_italic.md
Created May 25, 2022 16:08 — forked from gyribeiro/tmux_italic.md
enable italic font on tmux
@ehlxr
ehlxr / Caddyfile.caddy1
Created October 7, 2020 06:42 — forked from yukimochi/Caddyfile.caddy1
For Mastodon Caddy Setting file. (Based on official Nginx configuration example) [Last Update: May 16, 2020]
https://yourdomain.example.com/ {
log / /var/log/caddy/mastodon.log "{combined}" {
rotate_age 90
}
root /home/mastodon/live/public
gzip
header / {
Strict-Transport-Security "max-age=31536000"
}

Keybase proof

I hereby claim:

  • I am ehlxr on github.
  • I am ehlxr (https://keybase.io/ehlxr) on keybase.
  • I have a public key ASAnY1xCv8ONgs_6pG2FHNHHsSDL0glPh9W_TxdOVwm1Nwo

To claim this, I am signing this object:

@ehlxr
ehlxr / main.go
Created July 21, 2020 04:30 — forked from yukimochi/main.go
Check All subscriber in Activity-Relay
package main
import (
"encoding/json"
"fmt"
"os"
"strings"
"time"
"github.com/go-redis/redis"
@ehlxr
ehlxr / README.md
Last active April 16, 2020 03:11 — forked from chuyik/README.md
macOS 给 Git(Github) 设置代理(HTTP/SSH)
@ehlxr
ehlxr / emojis.json
Created December 19, 2017 01:22 — forked from oliveratgithub/emojis.json
Emoji-list with emojis, names, shortcodes, unicode and html entities [massive list]
{
"emojis": [
{"emoji": "👩‍👩‍👧‍👧", "name": "family_mothers_two_girls", "shortname": "", "unicode": "", "html": "👩‍👩‍👧‍👧", "category": "p", "order": ""},
{"emoji": "👩‍👩‍👧‍👦", "name": "family_mothers_children", "shortname": "", "unicode": "", "html": "👩‍👩‍👧‍👦", "category": "p", "order": ""},
{"emoji": "👩‍👩‍👦‍👦", "name": "family_mothers_two_boys", "shortname": "", "unicode": "", "html": "👩‍👩‍👦‍👦", "category": "p", "order": ""},
{"emoji": "👨‍👩‍👧‍👧", "name": "family_two_girls", "shortname": "", "unicode": "", "html": "👨‍👩‍👧‍👧", "category": "p", "order": ""},
{"emoji": "👨‍👩‍👧‍👦", "name": "family_children", "shortname": "", "unicode": "", "html": "👨‍👩‍👧‍👦", "category": "p", "order": ""},
{"emoji": "👨‍👩‍👦‍👦", "name": "family_two_boys", "shortname": "", "unicode": "", "html": "👨&zw
@ehlxr
ehlxr / jwtRS256.sh
Last active January 15, 2018 08:28 — forked from ygotthilf/jwtRS256.sh
How to generate JWT RS256 key
ssh-keygen -t rsa -b 2048 -f jwtRS256.key
# Don't add passphrase
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub
cat jwtRS256.key
cat jwtRS256.key.pub