;; Automatically generated
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(anzu-cons-mode-line-p nil)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding: utf-8 | |
from __future__ import print_function | |
import configparser | |
import re | |
import shutil | |
import sys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/munki/munki-python | |
# change the above path to your own python if you don't have Munki installed | |
""" | |
Merges add_servers into current favorites and removes remove_servers. | |
Run as root to update all users or as normal user to update just that user. | |
""" | |
import os | |
import getpass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/etc/sysctl.conf | |
kern.ipc.maxsockbuf=16777216 | |
net.inet.tcp.sendspace=1048576 | |
net.inet.tcp.recvspace=1048576 | |
net.inet.tcp.win_scale_factor=8 | |
net.inet.tcp.autorcvbufmax=33554432 | |
net.inet.tcp.autosndbufmax=33554432 |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! Title: uBlock filters -- Annoyances | |
! Description: Filters optimized for uBlock Origin, to be used with Fanboy's | |
! and/or Adguard's "Annoyances" list(s) | |
! Expires: 8 days | |
! License: http://creativecommons.org/licenses/by/3.0/ | |
! Homepage: https://github.com/uBlockOrigin/uAssets | |
! Forums: https://github.com/uBlockOrigin/uAssets/issues | |
! https://github.com/uBlockOrigin/uAssets/issues/1026 | |
buzzfeed.com##[id^="mod-newsletter-signup-"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* | |
---------------------------------------------------------------------------------- | |
ABOUT THIS SCRIPT | |
Written by:William Smith | |
Professional Services Engineer | |
Jamf | |
[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'fileutils' | |
require 'nokogiri' | |
require 'optparse' | |
require 'erb' | |
def class_exists?(class_name) | |
klass = Module.const_get(class_name) | |
return klass.is_a?(Class) | |
rescue NameError |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Script to merge all mp4 videos in current directory (recursively 2 levels) | |
## And update chapter marks to retain the folder/filename | |
## Script for merging videos | |
filename=`basename pwd` | |
current=`pwd` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Load NVM | |
export NVM_DIR="$(realpath $HOME/.nvm)" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
# Linux antigen file | |
source /usr/share/zsh-antigen/antigen.zsh | |
# Load the oh-my-zsh's library. | |
antigen use oh-my-zsh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* | |
---------------------------------------------------------------------------------- | |
ABOUT THIS SCRIPT | |
Written by:William Smith | |
Professional Services Engineer | |
Jamf | |
[email protected] |