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
@reelsense
reelsense / gist:996401b997ec434aa43d5d8bc0cea748
Created March 15, 2018 18:05 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@reelsense
reelsense / _verify-repair-permissions-disk.md
Created March 1, 2018 00:06 — forked from bzerangue/_verify-repair-permissions-disk.md
Mac OS X Utilities via Terminal: (Verify and Repair: Disk Permissions AND Disk / Software Update / TimeMachine)

Verify and Repair Disk Permissions via Terminal (Mac OS X)

Verify Permissions

diskutil verifyPermissions /

Repair Permissions

diskutil repairPermissions /

@reelsense
reelsense / help-vultr-freebsd_zroot.md
Last active January 19, 2022 15:34
Help - How to get FreeBSD zroot on Vultr baremetal

Help - How to get FreeBSD zroot on Vultr baremetal

Some baremetal server providers support FreeBSD, but they rarely provide a zfs on root option to install the OS on a mirrored or striped zraid.

Why is this important?

Beside the obvious benefits of ZFS, it's a required dependency for certain jail managers, like iocage.

@reelsense
reelsense / help-unfuck-finder-error_code_-8072.md
Last active July 7, 2018 18:06
macOS 10.13.1 High Sierra - "error code -8072"

macOS 10.13.1 High Sierra "error code -8072"

I'm running macOS 10.13.1 High Sierra.

  • Q: Why can't I rename files in Finder? I receive an error code -8072. an unexpected error has occurred error code -8072
    • A: Did you run Disk Utility or Disk First Aid recently? Just reboot.
  • Q: Why do I get an error about my Home folder moving or not having access to my Home folder?
    • A: A: Did you run Disk Utility or Disk First Aid recently? Just reboot.
@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.

@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 / 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 / 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 / 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 / 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