Skip to content

Instantly share code, notes, and snippets.

View 0proto's full-sized avatar

Evgeniy Kornev 0proto

View GitHub Profile
# Copyright 2017 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@0proto
0proto / vpn-utilities.applescript
Created May 13, 2016 14:22 — forked from iloveitaly/vpn-utilities.applescript
Configure / create VPN connections via applescript
-- Author: Michael Bianco <http://mabblog.com/>
-- Some help from: http://discussions.info.apple.com/message.jspa?messageID=10363317
on create_vpn_service(vpn_name)
tell application "System Preferences"
reveal pane "Network"
activate
tell application "System Events"
tell process "System Preferences"
package;
import openfl.display.Sprite;
enum Rotation {
North;
East;
South;
West;
}