Skip to content

Instantly share code, notes, and snippets.

View amio's full-sized avatar
:copilot:

Amio Jin amio

:copilot:
View GitHub Profile
@amio
amio / sshproxy.md
Last active October 22, 2018 20:32
SSH Through or Over Proxy

SSH Through or Over Proxy

In today's cruel networked world, we're too often hampered behind (evil) company proxies that restricts how we can use the internet while at work, at a customers' place or even in some cases while at home or at friends'.

Not only do proxies restrict what you can do, what protocols that are accepted, what sites you can visit and what TCP ports that are let through, it also allows your company or friend to log and supervise you.

Note that even when you use HTTPS through the proxy, the server name is exposed so a logging proxy will see what HTTPS servers you connect to.

I'll show you some easy steps that help you circumvent the boundaries of most proxy setups, and that also will bring you more freedom and prevent peeking eyes to investigate your browsing habits!

@amio
amio / color-picker.applescript
Last active December 12, 2015 03:29
Color Picker using DigitalColor Meter
-- Color Picker using DigitalColor Meter
-- Checks to see if System Preferences > Universal Access > Enable access for assistive devices is checked
-- This option is required for "System Events" to use the keystroke and key code commands.
-- If it is not checked, your password is required to make the change
tell application "DigitalColor Meter" to activate
tell application "System Events"
tell process "DigitalColor Meter"
set visible to false
@amio
amio / readme.md
Created October 22, 2012 07:17
WOL.CN

WOL中文增强


  1. 将鼠标指向技能提示由英文改为中文
  2. 样式美化
    • 修改字体为OpenSans

安装方法

  1. 安装插件环境
@amio
amio / metalmonkey.user.js
Last active October 9, 2015 02:08
WMOCN.Plus
// ==UserScript==
// @name MetalMonkey Experiment
// @namespace http://amio.us/
// @version 0.3
// @description 测试 MetalMonkey 哎哟
// @match http://developer.chrome.com/*
// @match https://gist.github.com/*
// @include http://www.google.com/intl/en/policies/faq/
// @exclude http://developer.chrome.com/*/whats-new/
// @grant GM_xmlhttpRequest
@amio
amio / gist:2043125
Created March 15, 2012 09:14
Activate Finder
tell application "Finder"
activate
if not (exists Finder window 1) then
open home
end if
end tell