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
@unex
unex / README.md
Last active October 25, 2021 19:25
PrimeFa
@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 / 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.
@unex
unex / AA Sublime Text Settings
Last active August 2, 2018 03:18
Sublime Text Settings
esketit
@unex
unex / 00-logo
Last active August 2, 2018 03:22
MOTD
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/home/d/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="mh-custom"