Skip to content

Instantly share code, notes, and snippets.

View Erisa's full-sized avatar
💕

Erisa A Erisa

💕
View GitHub Profile
@Ovyerus
Ovyerus / Cursor Flipper.ahk
Last active December 1, 2018 02:33
flip flop that cursor baby
; Constants
MOUSE_SWAP := 0x21
SET_CURSORS := 0x57
KEY_ORDER := ["Arrow","Help","AppStarting","Wait","Crosshair","IBeam","NWPen","No","SizeNS","SizeWE","SizeNWSE","SizeNESW","SizeAll","UpArrow","Hand"]
SCHEME = scheme name
; Generate scheme list
RegRead, SchemeList, HKEY_CURRENT_USER\Control Panel\Cursors\Schemes, % SCHEME,
SchemeList := StrSplit(SchemeList, ",")
# Copyright (C) 2012 The CyanogenMod Project
# (C) 2017 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
@Voronenko
Voronenko / nginx.conf
Created March 9, 2018 13:08
nginx proxy private s3 bucket
worker_processes 1;
daemon off;
error_log /dev/stdout info;
pid /usr/local/var/nginx/nginx.pid;
events {
worker_connections 1024;
}
@Melon-Bread
Melon-Bread / NX2OGG.py
Last active November 24, 2018 01:10
A simple python script to convert Nintendo Switch audio files (.lopus) to Vorbis audio files (.ogg)
#!/usr/bin/env python3
"""
Converts .lopus to .ogg via vgmstream & ffmpeg
"""
__author__ = "Melon Bread"
__version__ = "0.5.0"
__license__ = "MIT"
import argparse
@Ratismal
Ratismal / hasteflake.js
Last active August 7, 2019 22:34
converts a snowflake into a hastebin-like token
const data = [
"12345",
"12346",
"22346",
"21345"
]
const output = [];
const consonants = [
@nekoprog
nekoprog / OPNsense aarch64.txt
Last active January 3, 2022 14:24
OPNsense aarch64 Todo List
https://www.worksonarm.com/explore/freebsd/
https://wiki.freebsd.org/arm64
https://wiki.freebsd.org/arm64?action=AttachFile&do=view&target=arm64_build.sh
https://ci.freebsd.org/job/FreeBSD-stable-11-aarch64-build/
https://github.com/HardenedBSD/hardenedbsd-ports/blob/master/sysutils/Makefile
https://www.aliexpress.com/item/32880728063.html
http://www.banana-pi.org/r64.html
http://espressobin.net/
http://wiki.espressobin.net/tiki-index.php
@Ovyerus
Ovyerus / prompt-preview.png
Last active August 7, 2020 04:13
Hot powershell prompt
prompt-preview.png
@Ovyerus
Ovyerus / config.fish
Last active August 7, 2020 04:11
Sexy fish prompt
set -g symb '▲'
set -g leading_brace 0
set -g has_launched 0
function git_info
set -l branch (git rev-parse --abbrev-ref HEAD 2> /dev/null)
printf "%s(%s%s%s)" $c0 $c1 $branch $c0
set -l changes (git status --porcelain --ignore-submodules 2> /dev/null)
@TheFarmingBunny
TheFarmingBunny / rules.v4
Created February 17, 2020 18:48
iptables
# Generated by xtables-save v1.8.2 on Thu Jan 23 19:30:09 2020
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A OUTPUT -j LOG -p tcp -o eth1 --dport 32400 --log-prefix "DROP:" --log-level 6
-A OUTPUT -j LOG -p tcp -o eth1 --dport 8112 --log-prefix "DROP:" --log-level 6
-A FORWARD -i eth1 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -i eth0 -o eth1 -j ACCEPT
-A FORWARD -i eth0 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT