Skip to content

Instantly share code, notes, and snippets.

View rssnyder's full-sized avatar
🥨
limitless servers in a serverless world

Riley Snyder rssnyder

🥨
limitless servers in a serverless world
View GitHub Profile
@rssnyder
rssnyder / pmw_media_share.md
Last active July 19, 2021 21:00
PMW Media Share YT Playlists

PMW Media Share YT Playlists

A list of youtube playlists of media share videos.

Media Share Streams

2021-07-18

@rssnyder
rssnyder / plex.docker-compose.yml
Last active September 5, 2021 14:19
plex resources
---
version: "3"
services:
plex:
image: ghcr.io/linuxserver/plex
container_name: plex
network_mode: host
restart: unless-stopped
environment:

Chicago - September 24-27 2021

Lodgging

  • AirBnb: 1312 S Wabash Ave, Chicago, IL 60605

Activities

  • Navy pier
  • Museum of science, marvel exibit: 2:30pm Saturday
#!/usr/bin/env node
// jshint esversion: 6, asi: true
// <xbar.title>Github Pull requests</xbar.title>
// <xbar.version>v2.0</xbar.version>
// <xbar.author>Noam Knispel</xbar.author>
// <xbar.author.github>noamknispel</xbar.author.github>
// <xbar.desc>Get list of pull requests from Github for multiple repositories</xbar.desc>
// <xbar.dependencies>node.js request co bluebird</xbar.dependencies>
@rssnyder
rssnyder / discord-watcher-bot.go
Created May 28, 2021 20:35
template for making a discord bot to watch changing data
package main
import (
"flag"
"fmt"
"time"
"github.com/bwmarrin/discordgo"
)
@rssnyder
rssnyder / load
Last active September 12, 2021 16:09
load bots into service
#!/usr/bin/python3
from sqlite3 import connect
import logging
from json import dumps
from time import sleep
import sys
import os
from requests import get, post
@rssnyder
rssnyder / client.service
Last active April 19, 2021 17:37
load bots into bot service
[Unit]
Description=discord-stock-ticker
Wants=basic.target
After=basic.target network.target
Before=sshd.service
[Service]
SyslogIdentifier=discord-stock-ticker
StandardOutput=syslog
StandardError=syslog
@rssnyder
rssnyder / fah-bootstrap.sh
Created April 7, 2021 18:32
fah-bootstrap
# become
sudo su -
# install docker
apt-get update
apt-get install docker.io docker-compose -y
# create compose file
echo '---
version: "3"
@rssnyder
rssnyder / oracle-cloud-free-tier-guide.md
Last active July 9, 2025 21:29
oracle-cloud-free-tier-guide

how to leverage oracle's temping offers

free tier limits

The limits of the free tier say that you can create up to 4 instances.

  • x2 x86 instances (2core/1g)
  • x2 ampere instances (with 4core/24g spread between them)
  • 200GB total boot volume space across all intances (minimum of 50G per instance)

create your account

# This is the nebula example configuration file. You must edit, at a minimum, the static_host_map, lighthouse, and firewall sections
# Some options in this file are HUPable, including the pki section. (A HUP will reload credentials from disk without affecting existing tunnels)
# PKI defines the location of credentials for this node. Each of these can also be inlined by using the yaml ": |" syntax.
pki:
# The CAs that are accepted by this node. Must contain one or more certificates created by 'nebula-cert ca'
ca: /etc/nebula/ca.crt
cert: /etc/nebula/host.crt
key: /etc/nebula/host.key
#blocklist is a list of certificate fingerprints that we will refuse to talk to