Skip to content

Instantly share code, notes, and snippets.

View filler's full-sized avatar

Nick Silkey filler

View GitHub Profile
@filler
filler / yahoo_stock_ticker.9m.py
Created August 17, 2023 22:20
xbar docn me bro
#!/usr/bin/env LC_ALL=en_US.UTF-8 /usr/bin/python3
#
# <xbar.title>Yahoo Stock Ticker</xbar.title>
# <xbar.version>v1.1</xbar.version>
# <xbar.author>Long Do</xbar.author>
# <xbar.author.github>longpdo</xbar.author.github>
# <xbar.desc>Shows major stock indices in the menu bar and stock symbols in the dropdown menu by pulling data from the Yahoo Finance API. Similar to finance.yahoo.com the prices are delayed, but no API key is necessary. You can also set price alarms for BUY/SELL limits, which will notify you when the limit is reached.</xbar.desc>
# <xbar.image>https://github.com/longpdo/bitbar-plugins-custom/raw/master/images/yahoo-stock-ticker.png</xbar.image>
# <xbar.dependencies>python3</xbar.dependencies>
# <xbar.abouturl>https://github.com/longpdo/bitbar-plugins-custom/blob/master/README.md#yahoo-stock-ticker</xbar.abouturl>
silkey@aprs:~ $ diff direwolf.conf{.20201229,}
77a78
> ADEVICE plughw:2,0
141c142
< MYCALL N0CALL
---
> MYCALL N5ILK-10
280a282
> PBEACON delay=1 every=30 overlay=S symbol="digi" lat=30^27.128244N long=97^45.705905999999W power=5 height=20 gain=4 comment="N5ILK - #jollyville_gang" via=WIDE1-1,WIDE2-1
318c320
@filler
filler / gist:1347983
Created November 8, 2011 15:10
openclass eula
Terms of Service
Products and Services
Subject to the terms and conditions set forth herein (the "Agreement"), eCollege.com, a Pearson company (hereinafter eCollege.com shall be referred to as "Pearson"), hereby agrees to provide you, provided that you are of legal age to form a binding contract and are not a person barred from receiving services under the laws of the United States or other applicable jurisdiction, with access to and use of, through a supported Internet browser, the products and services ("Products and Services"). The specific content, features and functionality reflected in the Products and Services are subject to Pearson's sole discretion and are also subject to change and discontinuation by Pearson at any time in its sole discretion.
License
Pearson hereby grants you a non-transferable, non-exclusive, non-sublicenseable license to access and use the applicable portions of the Products and Services during the term of this Agreement for the sole purpose of receiving (or in the case o
@filler
filler / Makefile
Created April 25, 2017 15:43
lol, databags.
# TODO: Make this target diff whats on the chef server versus whats
# about to go to the chef server. This way we can catch any out of
# band changes that might have happened and can recover from them.
#
# TODO: Make this target clean the chef server of any objects not in
# version control.
chef-bags:
@$(foreach bag,$(shell basename .chef/data_bags/*), \
knife data bag create $(bag) ; \
knife data bag from file $(bag) .chef/
@filler
filler / gist:82399ed73623e56736cfbc35bb1bda20
Created December 22, 2016 03:59
Vanity call sign spelunking for amateur 'ham' radio.
# 1x3, k,n,w + a,i,o + ???
$ egrep -i '^((k|n|w)(a|e|i|o)[a-z][a-z][a-z]$)' /usr/share/dict/words
621
$
# 2x3, ka-kz,wa-wz + ???
$ egrep -i '^((k|w)[a-z](a|e|g|i|l|o|s|t)[a-z][a-z][a-z]$)’ /usr/share/dict/words
399
$
"Winmail.dat files are created when Outlook, which sends mail by default as HTML,
sends to a device with a native Apple Mail app (iPhones, Macs, and such). Apple
mail does not have an ability to read HTML, so what does it do but convert it
into another format, Rich-text. Upon converting to Rich-text, the attachment is
converted from whatever wholsome filetype it was into the dreaded werebeast that
is winmail.dat."
@filler
filler / hub
Created November 7, 2016 15:51
How to get GitHub:Enterprise + 2FA + hub (https://hub.github.com/) working via ~/.config/hub
github.com:
- user: filler
oauth_token: aaabbbccc
protocol: https
github.company.com:
- user: my-ldap-login
oauth_token: xxxyyyzzz
protocol: https
@filler
filler / README.md
Created July 20, 2012 12:45
split and non-split centos openvpn configs

Hacky Openvpn

Drop both conf files into /etc/openvpn and /etc/init.d/openvpn should pick up on both and fire them up. Configure the ip addr of your host you wish to vpn through in the configs on the server lines.

Key difference is the openvpn-split.conf only pushes routes for netblocks you want to route over the vpn. In the below case, its the two routable /16s. The openvpn-everything.conf pushes a gateway down to clients, shunting all traffic through the vpn endpoint. Also push DNS servers if you have records locked up in campus DNS.

You also have to do all the easy-rsa business which is fairly well documented on the web. Drag the client certs which come from that business over to your vpn client. I use Tunnelblick in OS X.

Tested using openvpn-2.2.2-1.el5.rf from rpmforge on CentOS 5.8 in a Xen DomU.

@filler
filler / dsn.log
Created April 7, 2016 16:48
wow. nice postmaster address right there. you go tx.us!
This is an automatically generated Delivery Status Notification
THIS IS A WARNING MESSAGE ONLY.
YOU DO NOT NEED TO RESEND YOUR MESSAGE.
Delivery to the following recipient has been delayed:
Jane.Doe@cpa.texas.gov
@filler
filler / emacs confirmed!
Last active January 27, 2016 15:14
what mail user agent (mua) does rms use?
Delivered-To: nick@silkey.org
Received: by 10.140.93.164 with SMTP id d33csp2213602qge;
Tue, 26 Jan 2016 16:47:54 -0800 (PST)
X-Received: by 10.55.42.227 with SMTP id q96mr2230222qkq.101.1453855674135;
Tue, 26 Jan 2016 16:47:54 -0800 (PST)
Return-Path: <rms@gnu.org>
Received: from eggs.gnu.org (eggs.gnu.org. [2001:4830:134:3::10])
by mx.google.com with ESMTPS id l13si3543097qhl.44.2016.01.26.16.47.54
for <nick@silkey.org>