Skip to content

Instantly share code, notes, and snippets.

View ampledata's full-sized avatar

Greg Albrecht W2GMD ampledata

View GitHub Profile
ok, trying to come up with a strategy here. I need to setup a subdomain for staging, based on your suggestion here's what I'm thinking:
dns_rr_creator 'create DNS RR for our server based on env' do
rr [node.chef_environment, node['site']].join('.')
ip node['ip_address']
end
{
"name": "staging",
"default_attributes": {
"site": "api.staging.example.com"
},
"json_class": "Chef::Environment",
"chef_type": "environment"
}
000015-RT6YWB-9EYV8H-DCW8UZ-VM9UVJ-0E5X0V-ENA0XG-K4VFH0-6NANKH-XFZVJ0
@ampledata
ampledata / aprx.conf
Last active December 17, 2015 21:39
My W2GMD-6 digi/igate aprx.conf
mycall W2GMD-6
<aprsis>
server igates.aprs.fi
heartbeat-timeout 70
filter "p/B2B/WB6RC/W2GMD b/WB6RC*/W2GMD*"
</aprsis>
http://chortle.ccsu.edu/java5/index.html
http://www.javacodegeeks.com/
http://www.tutorialspoint.com/java/index.htm
@ampledata
ampledata / aprs_thread.py
Last active November 10, 2015 20:35
Threading APRS
#!/usr/bin/env python
import threading
import aprs
class APRSMessage(object):
def __init__(self):
#!/usr/bin/env python
import logging
import kiss
import kiss.constants
# Change the constants here:
kiss.constants.LOG_LEVEL = logging.DEBUG
# or, to change the log format
import fabric.api
import fabric.state
@fabric.api.parallel
def _sudo(cmd):
"""Wraps ``fabric.operations.sudo`` with custom stuff."""
fabric.operations.sudo("sudo gba %s" % cmd)
minute = if new_resource.minute
new_resource.minute
else
'*/5'
end
cron new_resource.name do
only_if { valid_node }
minute minute
command cron_cmd
Yes I very enjoyful pictures.
Thank you very much. There are all the people is my fathers and uncles
and our people.
as you know your grandfa is also of them from North Korea at 1948.
Just 2 year before on Korean War-it was June 25, 1950
isnt it amaging country Korea 1950 and 2010?
just 60 year over, But totaly changed as you see..
I love really i love my contry and proud in mine.