http://www.nextbus.com/xmlFeedDocs/NextBusXMLFeed.pdf
http://webservices.nextbus.com/service/publicXMLFeed?command=agencyList
Obtain a list of available transit agencies.
| # Read email in inbox, look for any URLs and update them to wallabag, delete email if URLs found in it. | |
| # Built from various internet sources. Final code donated under GPL v3 by Github user aptgetupgrade | |
| # Tested using python 2. Could be run as part of a crontab, e.g. every 5 mins. | |
| # | |
| import sys | |
| import imaplib | |
| import getpass | |
| import email | |
| import email.header | |
| import datetime |
http://www.nextbus.com/xmlFeedDocs/NextBusXMLFeed.pdf
http://webservices.nextbus.com/service/publicXMLFeed?command=agencyList
Obtain a list of available transit agencies.
I'm a Python programmer and frequently work with the excellent [virtualenv][] tool by Ian Bicking.
Virtualenv is a great tool on the whole but there is one glaring problem: the activate script that virtualenv provides as a convenience to enable its functionality requires you to source it with your shell to invoke it. The activate script sets some environment variables in your current environment and defines for you a deactivate shell function which will (attempt to) help you to undo those changes later.
This pattern is abhorrently wrong and un-unix-y. activate should instead do what ssh-agent does, and launch a sub-shell or sub-command with a modified environment.
| This is a pretty simple setup: | |
| Siri is used to control Homebridge using the HomeKit protocol. | |
| Homebridge has a module named Homebridge-ssh that allows you to run commands over ssh. | |
| There is a shell script on an OpenWrt box to enable, disable, and check the status of a MAC Address block in the FORWARD table. | |
| 1. Install node on your platform. I went with 8.9 for no specific reason other than I initially had issues with 10 that probably weren't related.. | |
| 2. Install homebridge and homebridge-ssh. You should probably also put hombridge-config-ui-x on there too... I used the unsafe-perm parameter after getting a significant number of errors: | |
| sudo -i npm install -g homebridge --unsafe-perm | |
| sudo -i npm install -g homebridge-ssh --unsafe-perm |
This is an incomplete, ever-changing curated list of content to assist people into the worlds of Data Science and Machine Learning. If you have a recommendation for something to add, please let me know. If something isn't here, it doesn't mean I don't recommend it, I just may not have had a chance to review it yet or not.
I will generally list things in order of easier to more formal/challenging content.
It may feel like there is an overwhelming amount of stuff for you to learn (because there is). But, there is a guided path that will get you there in time. You need to focus on Linear Algebra, Calculus, Statistics and probably Python (or R). Your best bet is to get a Safari Books Online account (https://www.safaribooksonline.com) which you may already have access to through school or work. If not, it is a reasonable way to get access to a tremendous number of books and videos.
I'm not saying you will get what you need out of everything here, but I have read/watched at least some of all of the following an
| <!DOCTYPE NETSCAPE-Bookmark-file-1> | |
| <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> | |
| <!-- This is an automatically generated file. | |
| It will be read and overwritten. | |
| Do Not Edit! --> | |
| <TITLE>Bookmarks</TITLE> | |
| <H1>Bookmarks</H1> | |
| <DL><p> | |
| <DT><A HREF="https://developer.apple.com/library/mac/releasenotes/InterapplicationCommunication/RN-JavaScriptForAutomation/index.html#//apple_ref/doc/-%20uid/TP40014508" ADD_DATE="1414706885" PRIVATE="0" TAGS="javascript,mac,osx,yosemite">JavaScript for Automation Release Notes</A> | |
| <DD>This article describes JavaScript for Automation, a new feature in OS X Yosemite. |
| #!/usr/bin/python3 | |
| # interactive script for generating persistent | |
| # clientcred and usercred files for mastodon.py | |
| from mastodon import Mastodon | |
| from getpass import getpass | |
| import sys | |
| if __name__ == "__main__": |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdint.h> | |
| #ifdef _MSC_VER | |
| #include <intrin.h> /* for rdtscp and clflush */ | |
| #pragma optimize("gt",on) | |
| #else | |
| #include <x86intrin.h> /* for rdtscp and clflush */ | |
| #endif |
| wordlist created from original 41G stash via: | |
| grep -rohP '(?<=:).*$' | uniq > breachcompilation.txt | |
| Then, compressed with: | |
| 7z a breachcompilation.txt.7z breachcompilation.txt | |
| Size: |
| #!/usr/bin/env sh | |
| if [ "$1" != "" ]; then | |
| sBatchList="" | |
| sBatchMessage="$3" | |
| while IFS=, read col1 col2 | |
| do | |
| sBatchList="$sBatchList $col1" |