Skip to content

Instantly share code, notes, and snippets.

View sabrehagen's full-sized avatar
☁️
containerized.

Jackson Delahunt sabrehagen

☁️
containerized.
View GitHub Profile
change `GET api/v1/users/592f6ac71cda6d03e88fa08b/follows?type=user&size=30&page=1`
to `GET /api/v1/social?
parentType=user &
parentId=592f6ac71cda6d03e88fa08b &
socialType=follow&childType=user`
change `PUT api/v1/users/childId/follows/parentId`
to `PUT /api/v1/social?

Keybase proof

I hereby claim:

  • I am sabrehagen on github.
  • I am sabrehagen (https://keybase.io/sabrehagen) on keybase.
  • I have a public key whose fingerprint is 5B43 7DC2 C741 1E86 FCC7 7809 B0A5 C4DB E9F0 7F4D

To claim this, I am signing this object:

# formatted
environment = pm2447
skipMissing = true
configPath = /home/jackson/repositories/temando/dev-env/stacks/core.yml
# non formatted
environment = devenv
skipMissing = true
WEBPASSWORD=113459eb7bb31bddee85ade5230d6ad5d8b2fb52879e00a84ff6ae1067a210d3
PIHOLE_INTERFACE=tun0
IPV4_ADDRESS=10.1.1.15/24
IPV6_ADDRESS=fe80::64fc:ad73:b5d2:43e2
QUERY_LOGGING=true
INSTALL_WEB=true
DNSMASQ_LISTENING=single
PIHOLE_DNS_1=1.1.1.1
PIHOLE_DNS_2=8.8.8.8
PIHOLE_DNS_3=2620:0:ccc::2
@sabrehagen
sabrehagen / timeago
Last active November 14, 2019 02:15
#!/bin/bash
minutes=60
hours=$(( 60 * minutes ))
days=$(( 24 * hours ))
diff=$(( ${2:-$(date +%s)} - $1 ))
if (( diff < 60 )); then
ago="${diff} seconds"
elif (( diff < 120 )); then
[
{
"border": "pixel",
"current_border_width": 1,
"floating": "auto_off",
"fullscreen_mode": 0,
"geometry": {
"x": 0,
"y": 0,
"width": 1792,
[
{
"command": [
"alacritty"
],
"working_directory": "/home/jackson"
},
{
"command": [
"/usr/share/code/code",
[
{
"border": "pixel",
"current_border_width": 1,
"floating": "auto_off",
"fullscreen_mode": 0,
"geometry": {
"x": 21,
"y": 21,
"width": 928,
[
{
"command": [
"/usr/bin/google-chrome"
],
"working_directory": "/home/jackson"
},
{
"command": [
"/usr/share/code/code",
{
"border": "pixel",
"current_border_width": -1,
"floating": "auto_off",
"fullscreen_mode": 1,
"geometry": {
"x": 0,
"y": 0,
"width": 0,
"height": 0