apt-get install nut
- Edit
/etc/nut/nut.conf:
| -# this is an (incomplete) structure of the file that the script converts | |
| %entry{:type => :folder} | |
| %name Folder Name | |
| -# forgot what type these entries are... | |
| %entry{:type => :<not-folder>} | |
| %name Name | |
| %description Notes | |
| %field{:id => 'generic-username'} Username | |
| %field{:id => 'generic-password'} Password |
| # Major US Cities with DMA Codes | |
| major_cities = [ | |
| {'city': 'Ada', 'dma_code': 657, 'latitude': 34.774531000000003, 'longitude': -96.678344899999999, 'region': 'OK', 'slug': 'ada-ok'}, | |
| {'city': 'Akron', 'dma_code': 510, 'latitude': 41.081444699999999, 'longitude': -81.519005300000003, 'region': 'OH', 'slug': 'akron-oh'}, | |
| {'city': 'Albany', 'dma_code': 525, 'latitude': 31.578507399999999, 'longitude': -84.155741000000006, 'region': 'GA', 'slug': 'albany-ga'}, | |
| {'city': 'Alexandria', 'dma_code': 644, 'latitude': 31.311293599999999, 'longitude': -92.445137099999997, 'region': 'LA', 'slug': 'alexandria-la'}, | |
| {'city': 'Alpena', 'dma_code': 583, 'latitude': 45.061679400000003, 'longitude': -83.432752800000003, 'region': 'MI', 'slug': 'alpena-mi'}, | |
| {'city': 'Altoona', 'dma_code': 574, 'latitude': 40.5186809, 'longitude': -78.394735900000001, 'region': 'PA', 'slug': 'altoona-pa'}, | |
| {'city': 'Amarillo', 'dma_code': 634, 'latitude': 35.221997100000003, 'longitude': -101.8312969, 'region': 'TX', 'slug': 'amarillo-tx'}, |
| // ==UserScript== | |
| // @name Southwest Auto Check-In | |
| // @namespace http://dbknickerbocker.blogspot.com | |
| // @description Automatically check-in for Southwest flights | |
| // @include http://southwest.com/flight/retrieveCheckinDoc* | |
| // @include http://www.southwest.com/flight/retrieveCheckinDoc* | |
| // @include http://southwest.com/flight/selectPrintDocument* | |
| // @include http://www.southwest.com/flight/selectPrintDocument* | |
| // @updateURL https://gist.github.com/dbknickerbocker/5730976/raw/southwest.user.js | |
| // @author David B. Knickerbocker |
| import sys | |
| import mechanize | |
| from random import choice | |
| class Scrapper(object): | |
| """ | |
| Main scrapper object. | |
| Use self.do_anonymous_scrapping after setting self.url | |
| (or use scrap() function) |
apt-get install nut
/etc/nut/nut.conf:| // ==UserScript== | |
| // @name Southwest Auto Check-In | |
| // @namespace http://dbknickerbocker.blogspot.com | |
| // @description Automatically check-in for Southwest flights | |
| // @include https://southwest.com/flight/retrieveCheckinDoc* | |
| // @include https://www.southwest.com/flight/retrieveCheckinDoc* | |
| // @include https://southwest.com/flight/selectPrintDocument* | |
| // @include https://www.southwest.com/flight/selectPrintDocument* | |
| // @updateURL https://gist.github.com/dbknickerbocker/5730976/raw/southwest.user.js | |
| // @author David B. Knickerbocker |
LICENSE/DISCLAIMER - This information is provided as is and without warranty. Permission to repost this information is granted so long as it is properly attributed to "droidsec.org" and/or "jduck". Thank you for your consideration.
Pixel C MXB48T from MXB48J
Pixel C MXB48T from MXB48K
Nexus 6P MMB29Q from MMB29P
Nexus 5X MMB29Q from MMB29P
Nexus 6 MMB29Q from MMB29S
Nexus
This guide creates a reverse SSH tunnel to route all Plex server traffic through it.
Step 2 is done on the tunnel, all other steps are done on the plex server.
On plex server:
| import requests | |
| import re | |
| import sys | |
| from multiprocessing.dummy import Pool | |
| def robots(host): | |
| r = requests.get( | |
| 'https://web.archive.org/cdx/search/cdx\ | |
| ?url=%s/robots.txt&output=json&fl=timestamp,original&filter=statuscode:200&collapse=digest' % host) |
Make a copy of your normal VLC Shortcut and paste this into it's Target under Properties and customize according to you're system and setup.
"C:\Program Files\VideoLAN\VLC\vlc.exe" dshow:// :dshow-vdev="Game Capture HD60 S (Video) (#01)" :dshow-adev="Game Capture HD60 S (Audio) (#01)" :dshow-aspect-ratio="16:9" :dshow-audio-samplerate=48000 :dshow-audio-channels=2 :live-caching=0 :dshow-fps=60