This file contains hidden or 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
| -- run first thing in the morning, e.g., from cron | |
| tell application "Things3" | |
| set theToken to "your-auth-token" | |
| set theTodos to to dos of list "Today" | |
| repeat with aTodo in theTodos | |
| set tagList to tags of aTodo | |
| repeat with aTag in tagList | |
| if (name of aTag as text) is "Evening" |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |