Skip to content

Instantly share code, notes, and snippets.

View unex's full-sized avatar
💭
👉😎👉

unex unex

💭
👉😎👉
View GitHub Profile
#!/bin/sh
API_KEY=""
set -eu
mkdir -p "/usr/local/share/ntopng/httpdocs/geoip"
TEMPDIR="$(mktemp -d "/usr/local/share/ntopng/httpdocs/geoip/MMDB-XXXXXX")"
trap 'rc=$? ; set +e ; rm -rf "'"$TEMPDIR"'" ; exit $rc' 0
dsafasfasdfhgf
jkglj
j
j
j
jj
j
function _0x1f69(_0x5bfbd0, _0x568a9b) {
const _0x3b49dc = _0x3b49();
return _0x1f69 = function (_0x1f699a, _0x27a00b)
{
_0x1f699a = _0x1f699a - 0x1b8;
let _0x323d61 = _0x3b49dc[_0x1f699a];
return _0x323d61;
}, _0x1f69(_0x5bfbd0, _0x568a9b);
}
@unex
unex / README.md
Last active October 25, 2021 19:25
PrimeFa
{
"embeds": [
{
"title": "Major",
"description": ":computer: for Computer Science\n:zap: for Computer Engineering\n:adult: for Human Centered Computing",
"color": 2201331
},
{
"title": "Programming Languages",
"description": ":snake: for Python\n:hotsprings: for Java\n<:c_:748602040044748880> for C\n<:cplusplus:748602446795898994> for C++\n<:csharp:748603240203026514> for C#",
@unex
unex / svg-header.js
Created July 26, 2020 18:00 — forked from wookiehangover/svg-header.js
QL.com SVG header
//= require snap.svg-min
(function(){
var defaultCoordMultiplier = 50;
var shapeSpacingMultiplier = .45;
var tilt = 3;
var height = 8;
var width = 4;
var origin = { x: 0, y: 0 };
@unex
unex / discord.png
Last active May 12, 2020 03:43
New reddit custom widget Discord button
discord.png
@unex
unex / get_temps.py
Created February 2, 2020 06:36
ECE103 - Scrape the last 36 months of temperature data and wrap it up in a nice little csv file with a bow on top.
# Pulls the last 36 months of temp data and writes it to a csv file for ezpz use in matlab using csvread()
import os
import requests
import datetime
import statistics
import csv
API_KEY = os.environ.get("API_KEY") # wunderground has no public API so you have to yoink this from a browser request
LOCATION = "KFNL:9:US"
@unex
unex / fix_radarr_paths.py
Created August 25, 2019 01:51
fix erroneous radarr paths cuz im a dumbass
# fix erroneous radarr paths cuz im a dumbass
import requests
import json
API_BASE = 'https://example.com/radarr/api'
API_KEY = '1234567890'
class Radarr(requests.Session):
def __init__(self, *args, **kwargs):
"""
Steam Long Workshop / Guide GIF Glitcher
========================================
https://github.com/notderw/
========================================
THIS SCRIPT IS EXPERIMENTAL!
If you have any issues, please leave a comment detailing any errors you are having.
If this script does not work on your GIF, try using the HEX editor method detailed
in the guide below.