Skip to content

Instantly share code, notes, and snippets.

View bjcubsfan's full-sized avatar
👋

B. J. Potter bjcubsfan

👋
View GitHub Profile
{
2: 2,
11: 6,
4: 21,
5: 20,
6: 20,
7: 2,
8: 15,
9: 227,
42: 9,
@bjcubsfan
bjcubsfan / gust.py
Last active December 27, 2015 09:29 — forked from jhaubrich/gust.py
{
128: 682, # waas_w???wmsp?c1 (OUR AGC)
129: 4350, # waas_w???rg1p?c1 (OUR RG1)
130: 796, # waas_w???rg3p?c1 RG3
182: 114, # waas_w???gs1p?c1
184: 228, # waas_w???gcvp?c1
185: 76,
189: 1,
190: 114, # waas_w???gs3p?c1
191: 76,
@bjcubsfan
bjcubsfan / gist:6677457
Created September 23, 2013 21:50
VMs on modok
8.4G admin_laptop.ova
2.7G admin_laptop.ova.old
4.2G base_winxp_32
258M bj_matlab_winxp
11G gitlab_2.2
5.3G page_nt_runner
658M ubuntu-12.04.1-server-amd64.iso
527M ubuntu_LTS_12.04.ova
415M ubuntu_server_12.04_LTS
@bjcubsfan
bjcubsfan / gist:6300208
Created August 21, 2013 20:59
/wmd/source/2013/07/31/field/displays/bet_c_1751d3_v1_rng
67565 0 81 1058033473 13 13 2 13 2 13 2 3 22996866.3601 45.4 22996866.0247 0.000 0 5 23
67566 0 81 1058033474 13 13 2 13 2 13 2 3 22997219.6680 45.1 22997219.4158 0.000 0 5 23
67567 0 41 1058033474 14 14 3 14 3 14 3 3 24219313.0696 45.4 24219311.3147 0.001 0 5 24
67568 0 41 1058033475 14 14 3 14 3 14 3 3 24219967.5129 45.3 24219965.6135 0.001 0 5 24
67569 0 41 1058033476 14 14 3 14 3 14 3 3 24220621.7046 45.2 24220619.9741 0.001 0 5 24
67570 0 13 1059332097 13 13 3 13 3 13 3 1 20639326.1089 53.7 20639347.4177 0.001 0 3 24
67571 0 13 1059332098 13 13 3 13 3 13 3 1 20639128.2141 53.6 20639149.7598 0.001 0 3 24
67572 0 13 1059332099 13 13 3 13 3 13 3 1 20638930.7932 53.5 20638952.2234 0.000 0 3 24
67573 DVIM->IMIM 1059332404 CNMP GPS Seed Data WRS 1 ( WRE 4 ) SV 8 ( 9 ) LUT
67574 DVIM->IMIM 1059332404 CNMP GPS Seed Data WRS 1 ( WRE 4 ) SV 10 ( 11 ) LUT
@bjcubsfan
bjcubsfan / cron_not_working
Created August 19, 2013 22:32
Why isn't this working. i should be able to load the python module, since it's in PYTHONPATH.
_smon-rt_rfi@modok:~$ PATH=/bin:/usr/bin:/wmd/software/prod/tools/bin:/wmd/software/prod/tools/cron:/AppData/django/db_populators
_smon-rt_rfi@modok:~$ PYTHONPATH=/wmd/software/prod/tools/lib
_smon-rt_rfi@modok:~$ echo $PATH
/bin:/usr/bin:/wmd/software/prod/tools/bin:/wmd/software/prod/tools/cron:/AppData/django/db_populators
_smon-rt_rfi@modok:~$ echo $PYTHONPATH
/wmd/software/prod/tools/lib
_smon-rt_rfi@modok:~$ python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
@bjcubsfan
bjcubsfan / gist:5800837
Created June 17, 2013 21:54
10-monitor.conf arch nvidia config
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 313.30 (buildmeister@swio-display-x86-rhel47-05) Wed Mar 27 16:37:22 PDT 2013
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
@bjcubsfan
bjcubsfan / gist:5774752
Last active December 18, 2015 11:19
DP Reports Data missing?
bpotter@hal9000➜~» du -sh /wmd/source_data/2013/daily/2013-06-*/field/dp_reports
825M /wmd/source_data/2013/daily/2013-06-01/field/dp_reports
0 /wmd/source_data/2013/daily/2013-06-02/field/dp_reports
6.0G /wmd/source_data/2013/daily/2013-06-03/field/dp_reports
6.1G /wmd/source_data/2013/daily/2013-06-04/field/dp_reports
6.0G /wmd/source_data/2013/daily/2013-06-05/field/dp_reports
6.0G /wmd/source_data/2013/daily/2013-06-06/field/dp_reports
6.0G /wmd/source_data/2013/daily/2013-06-07/field/dp_reports
5.6G /wmd/source_data/2013/daily/2013-06-08/field/dp_reports
4.1G /wmd/source_data/2013/daily/2013-06-09/field/dp_reports
def objectify(frame):
""" yeilds one parsed object defined by the parsers in
the waas library.
"""
parsers = {'SP': sp_log.parse,
'CP': cp_log.parse,
'WAAS': waas_log.parse,
}
log_source = frame['log_type']
{'site': 'zse'
'wre': 'b'
'waas_second': 1046639304.0
'header': {'current_wre_mode': 5,
'discarded_logs': 0,
'gps_crc': 2548719432,
'lru_status_flag': 0,
'number_of_geo_obs': 3,
'number_of_gps_obs': 11,
'rate_group_type': 2,
@bjcubsfan
bjcubsfan / common
Last active December 14, 2015 02:58
common keymap that fixes rdesktop-wiggle
include modifiers
#
# Top row
#
1 0x2
2 0x3
3 0x4
4 0x5
5 0x6