Skip to content

Instantly share code, notes, and snippets.

View Mirabis's full-sized avatar
💭
I may be slow to respond.

Mirabis Mirabis

💭
I may be slow to respond.
View GitHub Profile
@Mirabis
Mirabis / allowlist.txt
Last active September 5, 2023 18:39
Adguard Home Whitelist
# Spotify premium with Denon Heos speakers
# https://github.com/anudeepND/whitelist/issues/93
mobile-ap.spotify.com
apresolve.spotify.com
upgrade.scdn.com
market.spotify.com
spclient.wg.spotify.com
audio-ake.spotify.com.edgesuite.net
d.pr
# CrowdSec allowlist below
@Mirabis
Mirabis / docker-compose.yml
Created April 24, 2016 10:55
Docker-Compose Example
version: "2"
services:
openvpn:
image: dperson/openvpn-client:latest
command: -f
restart: always
dns: 10.0.0.2
cap_add:
- NET_ADMIN
devices:
public bool CanBuyMouse(User _user)
{
if (_user.Level > 13)
{ // Require approval
return ApprovalSystem.Approve(_user, producttype: mouse)
}
else if(_user.Level.Between(12,3))
{ // Below €50,- month
return _user.expenses < 50.00;
}
@Mirabis
Mirabis / build_ffmpeg.sh
Last active December 3, 2016 14:44
Auto-Compile ffmpeg for Linux
#!/bin/sh
# http://www.github.com/markus-perl (original)
# Version 0.2
CWD=`pwd`
PACKAGES="$CWD/packages"
WORKSPACE="$CWD/workspace"
CC=clang
LDFLAGS="-L${WORKSPACE}/lib -lm"