Skip to content

Instantly share code, notes, and snippets.

View atian25's full-sized avatar
🐷
is watching you.

TZ | 天猪 atian25

🐷
is watching you.
View GitHub Profile
@atian25
atian25 / gist:9670423a725a35d844fe4d9e5189800a
Created August 31, 2016 07:07 — forked from jimbojsb/gist:1630790
Code highlighting for Keynote presentations

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2:

@atian25
atian25 / z-automator.png
Created August 31, 2016 07:06 — forked from lrytz/z-automator.png
Shortcut for Syntax Highlighting in Keynote
@atian25
atian25 / set-header.js
Created August 31, 2016 03:20 — forked from fengmk2/set-header.js
set header benchmark
'use strict';
const OutgoingMessage = require('http').OutgoingMessage;
'use strict';
const Benchmark = require('benchmark');
const benchmarks = require('beautify-benchmark');
const suite = new Benchmark.Suite();
@atian25
atian25 / README.md
Created March 9, 2016 14:07 — 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
@atian25
atian25 / terminal.sh
Last active August 29, 2015 14:17 — forked from Rpsl/terminal.sh
cd ~/Library/Application\ Support/WebStorm9/NativeNeighbourhood/classes/org/intellij/plugins/nativeNeighbourhood/icons/macosx
echo '#!/bin/sh
#
# Reveal a directory in the Terminal.
#
# The script takes one argument, the qualified name of a directory.
#
# Note that the script is necessary because osascript before osx 10.4 could not
# pass arguments.