Skip to content

Instantly share code, notes, and snippets.

View hack13's full-sized avatar
🦊
Foxy

Timothy Rogers hack13

🦊
Foxy
View GitHub Profile
upstream robust {
ip_hash;
server 127.0.0.1:8002;
server 127.0.0.1:8004;
}
server {
listen 80;
server_name login.grid.com;
location / {
@hack13
hack13 / opensim-playbook.yml
Last active June 17, 2018 14:39
OpenSim Playbook [In Progress]
- hosts: opensim
remote_user: user
become: yes
become_user: root
tasks:
- name: Disable SELinux
selinux:
state: disabled
- name: Add MariaDB 10.3 Repo
yum_repository:

Keybase proof

I hereby claim:

  • I am hack13 on github.
  • I am hack13 (https://keybase.io/hack13) on keybase.
  • I have a public key ASBxyIqtytMJ01bjYcXjs-MAQVt6v3K9DWOlauIQxeqGFQo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@hack13
hack13 / lastfm-for-neos.js
Last active February 1, 2022 17:14
Cloudflare Worker for parsing LastFM in Neos
/**
* Simple Worker that fetches what you are listening to from LastFM
* then parses it for use inside of NeosVR (or your other app)
* Note: Make sure you create a Worker Encrypted Environment Variable
* with your LastFM API Key, this scripts expects you to use key "API_KEY"
*/
// Reach out and get your data from LastFM
async function gatherResponse(response) {
const { headers } = response
# This version is for neosvr server
# ChangeLog
# June 3, 2021: Intial creation of management script
# June 4, 2021: Added shutdown and start functions
# June 8, 2021: Switched to subprocess lib and fixed output of the patch info
# June 14, 2021: Made proto be a little more polite...
# July 3, 2021: Made windows version
# Oct 31, 2021: Added som comments and error handling for bad requests
# Jan 29, 2022: Updated to support docker and not depend on a second script as well as multiple headlesses on the same machine
# Jul 3, 2022: Added a check for check world destroyed at request of ScarsTRF