Skip to content

Instantly share code, notes, and snippets.

View asbubam's full-sized avatar
:octocat:
Just enjoy the show.

asbubam asbubam

:octocat:
Just enjoy the show.
View GitHub Profile
@asbubam
asbubam / README.md
Created October 27, 2018 07:18 — forked from steve-jansen/README.md
Stop and start Symantec Endpoint Protection on OS X

This script enables you stop and start Symantec Endpoint Protection on OS X

Installation

sudo curl https://gist.githubusercontent.com/steve-jansen/61a189b6ab961a517f68/raw/sep -o /usr/local/bin/sep
sudo chmod 755 /usr/local/bin/sep
sudo chown root:staff /usr/local/bin/sep
@asbubam
asbubam / cw-monitor-memusage.py
Last active December 27, 2015 15:49 — forked from shevron/LICENSE
#!/usr/bin/env python
'''
Send memory usage metrics to Amazon CloudWatch
This is intended to run on an Amazon EC2 instance and requires an IAM
role allowing to write CloudWatch metrics. Alternatively, you can create
a boto credentials file and rely on it instead.
Original idea based on https://github.com/colinbjohnson/aws-missing-tools
'''
@asbubam
asbubam / iTermRails.scpt
Last active December 15, 2015 21:59 — forked from AndrewTerry/iTermRails.scpt
$osascript iTermRails.scpt
property railsFolder : "/Users/asbubam/dev/rails_projects/" --update this to reflect your own location
global targetProjectName
global railsProject
-- Creates a new tab with the command passed to it, and sets the title accordingly
on newTab(tabTitle, command)
tell application "iTerm" to tell last terminal
launch session "Default"
tell last session
write text "cd " & railsProject & "/" & command