I hereby claim:
- I am aculich on github.
- I am aculich (https://keybase.io/aculich) on keybase.
- I have a public key whose fingerprint is 0ECD 94E4 CA66 5EDE 7B0E 4EEA 433A DD5F B2DC 45FC
To claim this, I am signing this object:
set numerichints | |
set typelinkhints | |
set sortlinkhints | |
set noautofocus | |
set nosmoothscroll | |
set regexp | |
set smartcase | |
set incsearch | |
set cncpcompletion | |
map h previousTab |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
times=${1-3} | |
for i in `seq $times`; do echo -e "\a"; sleep 0.3; done |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# quick and dirty extraction script that should be replaced by proper XSLT templates | |
# sudo apt-get install -y python3-dateutil | |
from lxml import etree | |
import dateutil | |
import re |
/**= | |
* User: zircote | |
* Date: 16/10/2013 | |
* Time: 08:59 | |
*/ | |
var SERVICE_HOST = 'http://aws.amazon.com' | |
var data_sources = { | |
"linux-od": { |
--This script MUST be named "Switch to <User>.scpt", where <User> is the name of the user to switch to. | |
--You must first make a password item (a.k.a. a key) for the other user's password using Keychain Access, | |
--and call it "<user>", where "<user>" is the other user's name.the field "Kind" must be "User Login" (without quotes). | |
--The script assumes that you make this key in your login.keychain, which is the default one. | |
--The first time you run this script, you will be prompted to allow Keychain Scripting to access the password of the key. | |
--This script requires "Enable access for assistive devices" to be enabled in the Universal Access system preference pane. | |
set username to word -1 of my findReplace(".scpt", "", (path to me as text)) | |
-- Invoke Fast User Switching. The `id -ur username` part gets the uid number that corresponds to the username and substitutes it at the end of the CGSession command |
#!/bin/bash | |
# Summary: | |
# Bash script repoints all inbound access for a given AWS EC2 security group | |
# to your current IP addr(v4) as provided by ifconfig.me/ip | |
# To use this script: | |
# Pass the name of a security group as a command line argument | |
# e.g. $ aws_repoint_to_my_ip.sh SECURITYGROUPNAME |
#!/bin/sh | |
HOST=${1:-localhost} | |
PASSWORD=$(cat /dev/urandom | tr -dc '[:alnum:]' | fold -w 128 | head -n 1) | |
csr="${HOST}.csr" | |
key="${HOST}.key" | |
cert="${HOST}.cert" | |
------------ | |
Amazon (http://calculator.s3.amazonaws.com/index.html) | |
------------ | |
type price CPU RAM Disk I/O EBS opt. | |
t2.micro 10$ 1 1.0 -- Low -- | |
t1.micro 15$ 1 0.6 -- Very Low -- | |
t2.small 10$ 1 2.0 -- Low -- | |
m1.small 34$ 1 1.7 1 x 160 Low -- | |
t2.medium 41$ 2 4.0 -- Low -- | |
m3.medium 56$ 1 3.7 SSD 1 x 4 Moderate -- |
$ nova net-list | |
+--------------------------------------+-----------+------+ | |
| ID | Label | CIDR | | |
+--------------------------------------+-----------+------+ | |
| df082c3f-f235-476c-97a0-160a8d567c88 | benchmark | None | | |
| 4367cd20-722f-4dc2-97e8-90d98c25f12e | public | None | | |
+--------------------------------------+-----------+------+ | |
$ nova boot --flavor 1 --image 3e2cfdd5-f726-4535-b035-26f72917aa96 --nic net-id=df082c3f-f235-476c-97a0-160a8d567c88 --key-name default --availability-zone nova ubuntu-benchmark | |
+--------------------------------------+---------------------------------------------------------------------+ | |
| Property | Value | |