Skip to content

Instantly share code, notes, and snippets.

View rex's full-sized avatar

ᴘɪᴇʀᴄᴇ ᴍᴏᴏʀᴇ™ rex

View GitHub Profile
@rex
rex / aws-commands.sh
Created April 13, 2022 10:37
AWS commands
# List all network interfaces with publicly accessible IPs
aws ec2 describe-network-interfaces --query "NetworkInterfaces[].{IP: Association.PublicIp,Description: Description, SGs: Groups}" | jq '.[] | select( .IP != null )'
@rex
rex / css-reloader.js
Created June 12, 2019 16:23
A handy script to aid in UI development; reloads only CSS without reloading the entire page.
window.css_refresh_index = 0;
const begin = () => {
var nodes = document.querySelectorAll('link');
[].forEach.call(nodes, function (node) {
node.href += '?___ref=0';
});
}
const refresh = () => {
if (!window.css_refresh_index) {

Massdrop x Zambumon GMK Serika

  • Core
  • Geometries

Massdrop x MiTo SA Pulse

  • Alphas
  • Zambs
  • Child Kit: Text Mods
  • Child Kit: Numpad
  • Child Kit: Novelties
1. Boka Bartól
2. Playa Benge
3. Playa Funchi
4. Bisé Morto
5. Wayaká
6. Boka Slagbaai
7. Nukove (Doblet)
8. Carel´s Vision
9. Karpata
10. La Dania´s Leap
From To
+
=
(
)
0
1 ¹
2 ²
@rex
rex / loading_messages.json
Created January 2, 2019 17:56
Funny loading messages
[
"swapping space and time",
"downloading golf balls",
"warming up reactor",
"reticulating splines",
"searching for the answer to life, the universe, and everything",
"counting backwards from infinity",
"pay no attention to the man behind the curtain",
"Calculating gravitational constant in your bay",
"following the white rabbit",
@rex
rex / pika-exception-classes.txt
Created November 8, 2018 01:23
Python Pika exception classes
pika.exceptions.AMQPChannelError
pika.exceptions.AMQPConnectionError
pika.exceptions.AMQPError
pika.exceptions.AuthenticationError
pika.exceptions.BodyTooLongError
pika.exceptions.ChannelAlreadyClosing
pika.exceptions.ChannelClosed
pika.exceptions.ChannelError
pika.exceptions.ConnectionClosed
pika.exceptions.ConsumerCancelled
@rex
rex / copy-all-safari-urls.applescript
Created August 15, 2018 15:46
Applescript snippet to copy all URLs from all open tabs in front-most Safari window
------------------------------------------------------------------------------
# Auth: Christopher Stone
# dCre: 2017/11/15 00:00
# dMod: 2017/11/15 00:03
# Appl: Safari
# Task: Put URLs of all tabs of the front window on the clipboard.
# Libs: None
# Osax: None
# Tags: @Applescript, @Script, @Safari, @Put, @URLs, @All, @Tabs, @Front, @Window, @Clipboard
------------------------------------------------------------------------------
@rex
rex / monument-151-tracklist.yml
Created February 15, 2018 23:03
Tracklist: Monument 151 (Spiros Kaloumenos)
info: https://mnmt.no/blog/monument-151-spiros-kaloumenos/
soundcloud: https://soundcloud.com/monument-podcast/monument-151-spiros-kaloumenos
tracks:
- Patrik Skoog – Flowing Icons
- Yan Cook – Micron
- In Space ( Francois X Remix )
- Lewis Fautzi, Nuklear Default – Chernobyl
- Flug – Internal Proceed ( Setaoc Mass Remix )
- Keith Carnal – Lcuy
- Blawan – 993
@rex
rex / URLs.md
Created December 17, 2016 00:07
Stylish™ Stylesheets
  • AWS: URLs matching the regexp /(http|https)?:\/\/docs\.aws\.amazon\.com\/(aws|sdk|AWS|SDK).+/
  • Wikipedia: URLs on the domain wikipedia.org
  • JIRA: URLs starting with https://topgolf.atlassian.net/secure/RapidBoard.jspa