Skip to content

Instantly share code, notes, and snippets.

View slinderud's full-sized avatar

Simen Linderud slinderud

  • Norway
View GitHub Profile
https://launchpad.net/~aslatter/+archive/ubuntu/ppa/+files/alacritty_0.12.0+1-20230416T020426~jammy-ead65221_amd64.deb
# This "custom script" changes all prefixes and ips in netbox given a old aggregate, and a new
from extras.scripts import *
from ipam.constants import *
from ipam.models import Aggregate, Prefix, IPAddress
import netaddr
class ChangeIPs(Script):
@slinderud
slinderud / notion_basic_auth.js
Created September 29, 2019 12:45
Notion.so custom domain and authentication
// Notion custom domain and authentication using cloudflare worker
// https://notion-tricks.com/Use-a-custom-domain-for-a-public-Notion-page-c65c2475c520432e8bd87195edf7c464
// https://xinau.ch/notes/cloudflare-basic-auth/
// I just hacked this together. Probably something weird here
const authorization = "Basic YWRtaW46YWRtaW4=";
const MY_DOMAIN = "example.com"
const START_PAGE = "https://www.notion.so/something"
addEventListener('fetch', event => {

Keybase proof

I hereby claim:

  • I am slinderud on github.
  • I am rwrz (https://keybase.io/rwrz) on keybase.
  • I have a public key whose fingerprint is 355A 9E22 FD03 AA55 148F 09DA 24CE 8044 7D24 8EB5

To claim this, I am signing this object:

Update:
I moved this to a repo:
https://github.com/slinderud/ghidra-config
NOT COMPLETE. Alpha. Still alot of cleaning to do.
Edit:
$HOME/.ghidra/.ghidra-9.0/tools/_code_browser.tcd
This has some default settings to make it more IDA-Like.