Skip to content

Instantly share code, notes, and snippets.

View ytjohn's full-sized avatar

John Hogenmiller ytjohn

View GitHub Profile
@ytjohn
ytjohn / 00 install notes
Last active December 17, 2015 17:39
hackintosh dv7-7432cl notes
HP ENVY dv7-7243cl Intel Core i7-2630QM Processo
- 17.3-inch diagonal Full HD Anti-glare LED-backlit display (1920 x 1080)
- 2.24GHz 3rd generation Intel Core i7-3630QM Processor with Turbo Boost Technology up to 3.40GHz
- 12GB DDR3 SDRAM (2 DIMM)
- Intel HD graphics 4000 with up to 1696MB total graphics memory
- 1TB 5400RPM hard drive with HP ProtectSmart Hard Drive Protection
- SuperMulti DVD burner
- 10/100/1000 Gigabit Ethernet LAN (RJ-45 connector)
- Multi-Format Digital Media Card Reader for Secure Digital cards & Multimedia cards
- 3 SuperSpeed USB 3.0
@ytjohn
ytjohn / wishlist
Last active December 29, 2015 22:59
wishlist
Updated: 2013-11-25
Dexter any/all seasons (have none)
Veronica Mars any season (have none)
Any season of Doctor Who (modern or classic, have none)
Doctor Who Books/Audios
Simpsons Seasons (I have Season 6)
Seinfeld Seasons (I have S1-2)
LEF Lightbulbs (ie, Cree brand at Home Depot)
noise cancelling headphones
@ytjohn
ytjohn / 0 press release draft
Last active December 31, 2015 11:39
ham in a day
Local club hosts "Ham In A Day"
More information: http://www.bcars.org/logbook/2013-bcars-ham-in-a-day
Event Date: December 14, 2013
This Saturday, the Bedford County Amateur Radio Society hosted its first ever "Ham In A Day"
event. This provided an opportunity for people interested in Amateur Radio to attend a one
day radio "boot camp" to learn about Amateur Radio, followed by an FCC testing session at
2 PM. For those that manage to pass this exam session, the FCC will license that
individual as an Amateur Radio Operator, commonly referred to as a "ham".
@ytjohn
ytjohn / gist:8393159
Created January 13, 2014 01:19
The real reason USA goes to war.

Another important yet commonly overlooked aspect of the war was that the US got to develop weapons and combat techniques on real people in a hostile environment. We're developing our drone and guided missile systems etc on real targets in the field. America always makes it a point to have military operations at least once per soldier-generation... you cant put a value on having actual combat experienced troops, with support and supply systems that have been combat tested. No other nation on earth has these sorts of experienced assets.

You can talk all you want about China having millions of soldiers... doesnt count for shit when they (probably) lack the logistics to actually put them to any real use. American military logistics outstrip everyone else by a huge margin.

Mark my words... as our current generation of combat hardened soldiers near retirement age, we will engage someone elsewhere in the world so that our green troops can learn from the combat vets, and so that we always have experienced troops in

@ytjohn
ytjohn / thetimes.py
Created November 1, 2014 20:01
show multiple timezone
#!/usr/bin/env python
from datetime import datetime
from dateutil import tz
import collections
import time
utczone = tz.gettz('UTC')
utc = datetime.utcnow()
@ytjohn
ytjohn / iterations.md
Created December 2, 2014 18:20
iterate over a sub element

In inventory, have these defined

hostgroups: {
 'group1': [
    '1.1.1.1',
    '1.1.1.2.'
    '1.1.1.3'
    ],
 'group2': [
@ytjohn
ytjohn / aprswx.md
Last active August 29, 2015 14:12
aprs packets

K3HPA-1>APU25N,W3YA-1,WIDE2-1:@281838z4048.86N/07753.74W_267/003g003t044r000P000p000h81b10130State College WX {UIV32N}<0x0d>

Breakdown:

  • K3HPA-1>APU25N = from K3HPA to APU25N
  • W3YA-1 = via W3YA-1
  • WIDE2-1 = Path 2 -1 (Two hops in all directions) http://info.aprs.net/index.php?title=Paths
  • : split between header and body
  • @281838z 18 hours, 38 minutes Zulu on 28th day of month. Timestamps are optional, and considered untrustworthy. All RF traffic is considered live, and received timestamp is more relevant.
@ytjohn
ytjohn / rage4dns.py
Last active August 29, 2015 14:12
update ttl
# this is just the beginning
import requests
import json
class Rage4dns():
def __init__(self, username, token):
self.username = username
self.token = token
@ytjohn
ytjohn / direwolf.log
Created April 4, 2015 02:02
playing with sockets in kiss.py
Connected to KISS client application ...
[0L] KB3DFZ-5>APDW10,WIDE1-1,WIDE2-1:testing
[0L] KB3DFZ-5>APDW10,WIDE1-1:;444.200+R*111111z4000.80N/07833.25Wr444.200MHz T123 +500 k3nqt www.bcars.org
Digipeater WIDE1 (probably W3YA-1) audio level = 8 [SINGLE]
[0] KB3DFZ-5>APDW10,W3YA-1,WIDE1*:;444.200+R*111111z4000.80N/07833.25Wr444.200MHz T123 +500 k3nqt www.bcars.org
Object, "444.200+R", Repeater, DireWolf, WB2OSZ
N 40 00.8000, W 078 33.2500, 444.200MHz T123 +500
k3nqt www.bcars.org
@ytjohn
ytjohn / amh350.ipynb
Last active February 2, 2020 20:49
Uniden/Force AMH 350 Frequency programming
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.