Skip to content

Instantly share code, notes, and snippets.

View zaf00130's full-sized avatar

Z Flanagan zaf00130

View GitHub Profile
@logic2design
logic2design / Devonthink Daily Journal.applescript
Last active December 9, 2023 22:09
Will create a daily Journal entry with Daily Events, Quote of the Day, World and Local News Headlines and Weather Condtion
#################################################################################
# Title: Create Daily Journal Entry in Devonthink, with Daily Events, Quote of the Day, World & Local News and Weather Condtion
#################################################################################
# Iain Dunn
# Logic2design.com
# logic2design@icloud.com
# Contributors, inspration and sources
# Based on script by Chuck Lane October 2, 2013
@andreasRedeker
andreasRedeker / webcam-widget.js
Created November 12, 2020 20:03
An iPhone widget, that shows you a live webcam image from foto-webcam.eu on your homescreen
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: blue; icon-glyph: camera-retro;
// Script by Andreas Redeker <hello@andreasredeker.de>
let param = args.widgetParameter
let url
if (param != null && param.length > 0) {
url = param
@wujunchuan
wujunchuan / .zshrc
Last active May 6, 2023 13:26
My config files
# If you come from bash you might have to change your $PATH.
# Golang config
export GOPATH=$HOME/go
export PATH=$HOME/bin:/usr/local/bin:$PATH:$HOME/qiniu:/usr/local/opt/go/libexec/bin:$GOPATH/bin
export ARIA_PATH=$HOME/.aria2
export JAVA_HOME='/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home'
export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/algs4.jar
export ZPLUG_HOME=/usr/local/opt/zplug
source $ZPLUG_HOME/init.zsh
# export ANDROID_HOME=$HOME/Library/Android/sdk
@ttscoff
ttscoff / logr.bash
Last active April 16, 2022 23:59
Bash logging utility that simplifies use of logger command
#!/bin/bash
# Logging utility that simplifies user of bash logger command
# # First source the script
# source ~/scripts/logr.bash
# # Start the logger, generates log name from scripts filename
# logr start
# # or define your own
# logr start LOG_NAME
@atcuno
atcuno / gist:3425484ac5cce5298932
Last active March 25, 2024 13:55
HowTo: Privacy & Security Conscious Browsing

The purpose of this document is to make recommendations on how to browse in a privacy and security conscious manner. This information is compiled from a number of sources, which are referenced throughout the document, as well as my own experiences with the described technologies.

I welcome contributions and comments on the information contained. Please see the How to Contribute section for information on contributing your own knowledge.

Table of Contents

@kamermans
kamermans / fail2ban-allstatus.sh
Created July 11, 2011 17:06
Show status of all fail2ban jails at once
#!/bin/bash
JAILS=`fail2ban-client status | grep "Jail list" | sed -E 's/^[^:]+:[ \t]+//' | sed 's/,//g'`
for JAIL in $JAILS
do
fail2ban-client status $JAIL
done