Skip to content

Instantly share code, notes, and snippets.

View cameronoxley's full-sized avatar

Cameron Oxley cameronoxley

  • Klick Inc
  • Toronto, Canada
View GitHub Profile
@cameronoxley
cameronoxley / fix-checkpoint.command
Created November 15, 2013 18:51
Fixes the "com.apple.launchd com.checkpoint.epc.service: Exited with code: 1" and "Tcom.apple.launchd: (com.checkpoint.epc.service) Throttling respawn: Will start in 10 seconds" Config error in: Checkpoint Endpoint Security E75.01.
#!/bin/bash
sudo cp -f /Library/Application\ Support/Checkpoint/Endpoint\ Connect/Trac.config.bak /Library/Application\ Support/Checkpoint/Endpoint\ Connect/Trac.config
@cameronoxley
cameronoxley / Clock Progress
Last active December 28, 2015 02:59
Draws a clock face in ascii to simulate progress for bash scripts
#!/bin/bash
# Draws a 'progress bar' using ascii clocks
# $1 : Seconds to delay
function delay() {
delay_time=$(echo "$1/24" | bc -l);
clear;
echo $'\xf0\x9f\x95\x90' #1
sleep $delay_time;