Skip to content

Instantly share code, notes, and snippets.

Ryan TG RyanTG

Block or report user

Report or block RyanTG

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:56990b98edecb0daa3f0a556f7d439cf
Do you want to clone the boot loader (executable code area, the first 446 bytes) to: sdc ?
[Y/n]
The first partition of disk /dev/sda starts at 2048.
Saving the hidden data between MBR (1st sector, i.e. 512 bytes) and 1st partition, which might be useful for some recovery tool, by:
dd if=/dev/sda of=/tmp/ocs_onthefly_local.0NPhFl/src-hidden-data.img skip=1 bs=512 count=2047
2047+0 records in
2047+0 records out
1048064 bytes (1.0 MB, 1.0 MiB) copied, 0.143125 s, 7.3 MB/s
*****************************************************.
Collecting partition /dev/sda1 info...
View log.txt
2018-08-01T16:41:28.938512+00:00 app[web.1]: [f552bb69-a9ba-401a-b3ed-07e9edaeb1fa] LocationMachineXref Load (19.1ms) SELECT "location_machine_xrefs".* FROM "location_machine_xrefs" WHERE "location_machine_xrefs"."location_id" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77, $78, $79, $80, $81, $82, $83, $84, $85, $86, $87, $88, $89, $90, $91, $92, $93, $94, $95, $96, $97, $98, $99, $100, $101, $102, $103, $104, $105, $106, $107, $108, $109, $110, $111, $112, $113, $114, $115, $116, $117, $118, $119, $120, $121, $122, $123, $124, $125, $126, $127, $128, $129, $130, $131, $132, $133, $134, $135, $136, $137, $138, $139, $140, $141, $142, $143, $144, $145, $146, $147, $148, $149, $150
View gist:73c78949c634a063c439428594715030
Name Ipdb link Year Manufacturer Ipdb Opdb Id [Machine group] Name [Machine group] Created at [Machine group] Updated at [Machine group]
SlugFest http://ipdb.org/machine.cgi?id=3281 1991 Williams 3281 -
Little League http://ipdb.org/machine.cgi?id=3213 1966 Midway 3213 -
Galactic Girl http://ipdb.org/machine.cgi?id=5559 2010 Custom 5559 -
Ticket Tac Toe http://ipdb.org/machine.cgi?id=4334 1996 Williams 4334 -
Bumper http://ipdb.org/machine.cgi?id=405 1936 Bally 405 -
Hot-Rods http://ipdb.org/machine.cgi?id=1246 1949 Bally 1246 -
Beauty Contest http://ipdb.org/machine.cgi?id=217 1960 Bally 217 -
St. Moritz http://ipdb.org/machine.cgi?id=2410 1938 Chicago Coin 2410 -
Super Mario Bros. Mushroom World http://ipdb.org/machine.cgi?id=3427 1992 Gottlieb 3427 -
@RyanTG
RyanTG / browntown.txt
Last active Jan 8, 2018
Browntown Color Scheme
View browntown.txt
[ColorEffects:Disabled]
Color=56,56,56
ColorAmount=0
ColorEffect=0
ContrastAmount=0.65
ContrastEffect=1
IntensityAmount=0.1
IntensityEffect=2
[ColorEffects:Inactive]
@RyanTG
RyanTG / log.txt
Created Nov 8, 2017
starting log
View log.txt
11-07 20:48:58.770 5057-5057/? D/Launcher: DragLayer dispatchTouchEvent: ACTION_DOWN
11-07 20:48:58.971 4221-4221/? D/wpa_supplicant: wlan0: Control interface command 'SIGNAL_POLL'
11-07 20:48:58.985 4221-4221/? D/wpa_supplicant: CTRL-DEBUG: global_ctrl_sock-sendto: sock=11 sndbuf=163840 outq=0 send_len=48
11-07 20:48:59.378 5057-5057/? D/Launcher: startAnimationToWorkspace: fromState=APPS, toState=SPRING_LOADED
11-07 20:48:59.710 5057-5057/? D/Launcher: onPageSwitch: newPageIndex=1, hasCustomContent=true
11-07 20:49:00.000 2517-4079/? V/AlarmManager: Triggering alarm #0: Alarm{9cf38a3 type 3 when 83343871 android}operation =Intent { act=android.intent.action.TIME_TICK flg=0x50000000 }
11-07 20:49:00.002 2517-2517/? V/AlarmManager: set(PendingIntent{bada69a: PendingIntentRecord{6cf0bcb android broadcastIntent}}) : type=3 triggerAtTime=83403871 win=0 tElapsed=83403871 maxElapsed=83403871 interval=0 flags=0x1
11-07 20:49:00.200 5057-5057/? D/Launcher: DragLayer dispatchTouchEvent: ACTION_UP
11-07 20:49:00.297 2
@RyanTG
RyanTG / post-pull-staging-log.txt
Created Oct 28, 2017
post-pull-staging-log.txt
View post-pull-staging-log.txt
10-28 15:44:05.505 7482-7482/com.pbm D/com.pbm: STARTING APP???????????
10-28 15:44:05.532 7482-7482/com.pbm W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
10-28 15:44:05.758 7482-7554/com.pbm W/System: ClassLoader referenced unknown path: /system/framework/tcmclient.jar
10-28 15:44:08.061 15452-15452/? D/wpa_supplicant: wlan0: Control interface command 'SIGNAL_POLL'
10-28 15:44:08.077 15452-15452/? D/wpa_supplicant: CTRL-DEBUG: global_ctrl_sock-sendto: sock=11 sndbuf=163840 outq=0 send_len=48
10-28 15:44:08.079 2164-4142/? D/ConnectivityService: updateNetworkScore for NetworkAgentInfo [WIFI () - 125] to 60
10-28 15:44:08.584 359-359/? I/Gobi: vendor/qcom/proprietary/RIDL/RIDLClient/RIDLSQL.cpp:2500: GetTran
@RyanTG
RyanTG / pre-pull-staging-log.txt
Created Oct 28, 2017
pre-pull-staging-log.txt
View pre-pull-staging-log.txt
10-28 15:37:32.396 770-770/com.pbm D/com.pbm: STARTING APP???????????
10-28 15:37:32.420 770-770/com.pbm W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
10-28 15:37:32.639 770-845/com.pbm W/System: ClassLoader referenced unknown path: /system/framework/tcmclient.jar
10-28 15:37:33.606 5001-5029/? V/QcrilMsgTunnelSocket: After reading offset = 0 remaining = 4 countRead = 4
10-28 15:37:33.606 5001-5029/? D/QcrilMsgTunnelSocket: messageLength extracted from first 4 inputStream reads = 30
10-28 15:37:33.606 5001-5029/? V/QcrilMsgTunnelSocket: offset = 0 remaining = 30 countRead = 0
10-28 15:37:33.606 5001-5029/? V/QcrilMsgTunnelSocket: offset = 0 remaining = 30 countRead = 30
10-28 15:37:33.607 5001-5029/? D/Qcri
@RyanTG
RyanTG / switrs-decode.txt
Created Oct 17, 2017
Excel function to turn SWITRS / TIMS violcat field into plain English
View switrs-decode.txt
=IF(I2=1, "DUI", IF(I2=2, "Impeding Traffic", IF(I2=3, "Unsafe Speed", IF(I2=4, "Following Too Closely", IF(I2=5, "Wrong Side of Road", IF(I2=6, "Improper Passing", IF(I2=7, "Unsafe Lane Change", IF(I2=8, "Improper Turning", IF(I2=9, "Automobile Right of Way", IF(I2=10, "Pedestrian Right of Way", IF(I2=11, "Pedestrian Violation", IF(I2=12, "Traffic Signals and Signs", IF(I2=13, "Hazardous Parking", IF(I2=14, "Lights", IF(I2=15, "Brakes", IF(I2=16, "Other Equipment", IF(I2=17, "Other Hazardous Violation", IF(I2=18, "Other Than Driver (or Pedestrian)", IF(I2=19, "", IF(I2=20, "", IF(I2=21, "Unsafe Starting or Backing", IF(I2=22, "Other Improper Driving", IF(I2=23, "Pedestrian Under the Influence", IF(I2=24, "Fell Asleep", IF(I2=0, "Unknown", IF(I2="-", "Not Stated"))))))))))))))))))))))))))
View diner.txt
region_name | location_id | location_name | machine_name | machine_id
----------------+-------------+-------------------------------------------+--------------+------------
phoenix | 4777 | Long Wong's | Diner | 765
kansascity | 6783 | Westport Flea Market-Bar-Grill | Diner | 765
lasvegas | 4506 | Pinball Hall of Fame | Diner | 765
chicago | 3043 | Emporium Arcade Bar | Diner | 765
tucson | 6814 | Tucson Indoor Sports Center | Diner | 765
rochester | 3698 | Fantasy Raceways | Diner | 765
bayarea | 1697 | Valley Inn | Diner | 765
southflorida | 7352 | Silverball Museum Delray Beach | Diner | 765
View json-example.json
{
"user_submissions":[
{
"id":131,
"submission_type":"remove_machine",
"submission":"Four Seasons Bowling Center\nTerminator 3: Rise of the Machines\nportland",
"region_id":1,
"created_at":"2015-10-23T19:23:25.109Z",
"updated_at":"2015-10-23T19:23:25.109Z"
},
You can’t perform that action at this time.