Skip to content

Instantly share code, notes, and snippets.

View reelsense's full-sized avatar
🇺🇸
1635 E58A 7EFB EC41 0C0F 6FCF 14C1 182B C579 36B2

Bryan Black reelsense

🇺🇸
1635 E58A 7EFB EC41 0C0F 6FCF 14C1 182B C579 36B2
View GitHub Profile
### Keybase proof
I hereby claim:
* I am reelsense on github.
* I am reelsense (https://keybase.io/reelsense) on keybase.
* I have a public key whose fingerprint is 1635 E58A 7EFB EC41 0C0F 6FCF 14C1 182B C579 36B2
To claim this, I am signing this object:
@reelsense
reelsense / trampgpg.sh
Created March 8, 2016 06:15 — forked from seamustuohy/trampgpg.sh
temporary travel GPG key generation script
#!/bin/bash
#==========================
# For writing to help file.
#==========================
write_help_header()
{
echo "## $1" >> $TMPDIR/README.md
}
@reelsense
reelsense / tiger-vnc.rb
Last active July 5, 2016 09:42
Installing Tiger-VNC and Forcing omitting the FLTK dependency (Without omitting Brew will say that is an incompatible formulae)
class TigerVnc < Formula
homepage "http://tigervnc.org/"
url "https://github.com/TigerVNC/tigervnc/archive/v1.6.0.tar.gz"
sha256 "98ffe98fcfe883e6c35aec579295b53d73d2ccf62e0f6e53a73ecad993b096ca"
depends_on "cmake" => :build
depends_on "gnutls" => :recommended
depends_on "jpeg-turbo"
depends_on "gettext"
depends_on :x11
@reelsense
reelsense / burnin.js
Created July 19, 2016 02:50
Remove burn in with magic
var $burnGuard = $('<div>').attr('id','burnGuard').css({
'background-color':'#FF00FF',
'width':'1px',
'height':$(document).height()+'px',
'position':'absolute',
'top':'0px',
'left':'0px',
'display':'none'
}).appendTo('body');
@reelsense
reelsense / nircmd
Created November 4, 2016 05:16
nircmd audio switch example
@ECHO OFF
C:\NIRCMD\NIRCMDC setdefaultsounddevice "DENON-AVR-0" 3
C:\NIRCMD\NIRCMDC setdefaultsounddevice "Webcam Microphone" 1
C:\NIRCMD\NIRCMDC setdefaultsounddevice "Webcam Microphone" 2
C:\NIRCMD\NIRCMDC setdefaultsounddevice "XONAR" 3
C:\NIRCMD\NIRCMDC setdefaultsounddevice "Wave Recording" 3
C:\NIRCMD\NIRCMDC setdefaultsounddevice "Microphone" 3
C:\NIRCMD\NIRCMDC setdefaultsounddevice "VG248-C" 1
C:\NIRCMD\NIRCMDC setdefaultsounddevice "VG248-C" 2
@reelsense
reelsense / list-blocklists
Last active March 7, 2020 15:48
List of block lists for SSH and SIP probes
# SIP probes to Asterisk servers
https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/bi_voip_2_30d.ipset
https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/gofferje_sip.netset
https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/blocklist_de_sip.ipset
https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/voipbl.netset
# dataplane_sipquery
https://dataplane.org/sipquery.txt
# VNC probes
https://www.dragonresearchgroup.org/insight/vncprobe.txt dragon_vncprobe
@reelsense
reelsense / SIP-blocklist.txt
Created January 27, 2017 16:23
SIP blocklist
1.169.74.97
1.170.223.140
101.201.81.5
101.251.0.136
103.195.100.170
103.199.17.94
103.200.43.70
103.69.45.248
103.7.82.84
103.78.12.59
@reelsense
reelsense / help-unfuck-pkg.md
Last active July 7, 2018 18:06
How to remove pkg-devel and reinstall pkg to resolve conflict

How to remove pkg-devel and reinstall pkg to resolve conflict

I updated pkg on my freebsd jail 2017-05-25 and it said it needed to update to pkg-1.10.1 but pkg-devel-1.10.99.4 was installed. This completely fucked me and made pkg inoperable.

The error:

Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:11:amd64/quarterly, please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
@reelsense
reelsense / ublock-origin-filters.txt
Last active October 24, 2017 00:14
Ublock Origin - Filters
! Fuck Youtube autoplay
||youtube.com/yts/jsbin/*/watch_autoplayrenderer.js$important
@reelsense
reelsense / example-find.md
Last active October 25, 2017 22:27
Example usage

Example usage - find

Permission Changes in Bulk

Find all folders and change permissions to rwxr-xr-x.

find project/ -type d -exec chmod 755 {} \;

Find all folders and change ownership.