Read this
Put this instead.
<Installation InstalledByMsi="false">
<InstallationTarget Version="[12.0,17.0)" Id="Microsoft.VisualStudio.VSWinDesktopExpress" />
<InstallationTarget Version="[12.0,17.0)" Id="Microsoft.VisualStudio.Pro" />
| // ==UserScript== | |
| // @name Pokemon Eclipse RPG AutoFinder | |
| // @version 1 | |
| // @grant none | |
| // @description No Wait Times For Portal Roms. | |
| // @include https://pkmneclipse.net/* | |
| // ==/UserScript== | |
| window.onload = function () { | |
| function AutoClick() | |
| { |
Read this
Put this instead.
<Installation InstalledByMsi="false">
<InstallationTarget Version="[12.0,17.0)" Id="Microsoft.VisualStudio.VSWinDesktopExpress" />
<InstallationTarget Version="[12.0,17.0)" Id="Microsoft.VisualStudio.Pro" />
| // ==UserScript== | |
| // @name Portal Roms Instant Downloader | |
| // @version 1 | |
| // @grant none | |
| // @description No Wait Times For Portal Roms. | |
| // @include http://www.portalroms.com/* | |
| // ==/UserScript== | |
| //This was only tested on the PS2 page, it should work on the other pages assuming they follow the same scheme. | |
| var DownloadLink = "http://www.portalroms.com/torrents/" |
| [CmdletBinding()] | |
| Param( | |
| [string] $url = "http://{SERVER}/pro_users/login", | |
| [string] $username = "{Email}", | |
| [string] $password = '{Password}' | |
| ) | |
| $userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0" | |
| $headers = @{"Accept"="text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"; "Accept-Encoding"="gzip, deflate"; "Accept-Language"="en-US,en;q=0.5";} | |
| $r = Invoke-WebRequest ($url) -SessionVariable session -UserAgent $userAgent -Headers $headers |
Hello again, hopefully after reading this you'll be able to understand how RUCKUS ZoneDirector does certain things under the hood. I will cover 4 things in this little Gist, first of all I will show you how to authenticate using PowerShell and keep the session stored. As a base for this guide I will be using this writeup so be sure to read that for the details I will surely miss out on mentioning. This is for a basic SysAdmin who wants to let users do certain things with ZoneDirector without having to give any control of the actual system itself.
Since in my enviroment we use a valid SSL certificate you may or may not need to add this simple hack to the top of your PowerShell.
[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}
Hello, I am writing this guide to showcase what Metro Info use on their Next Bus service. They publish an offical API which can be found here, however I found this API to be to annoying to work with, also the fact that it returns all data in a SQLXML format made it really hard for me to justify working with, so instead here I am publishing my findings of their "private" one.
I only know of 3 endpoints that get all the information I wanted from the service, there may be more, but I will only cover these 3.
The base URL is: http://m.metroinfo.co.nz/" all 3 enpoints are appended to this URL and all requests should be and can only be made by using a POST request. More information on this will be detailed below
| [ | |
| { | |
| "PlatformName": "Bus Interchange (Platform B)", | |
| "RouteNumber": "17", | |
| "RouteName": "Bryndwr/Huntsbury", | |
| "Destination": "Huntsbury", | |
| "ETA": "17" | |
| }, | |
| { | |
| "PlatformName": "Bus Interchange (Platform B)", |
| { | |
| "displayFieldName": "ProjectName", | |
| "fieldAliases": { | |
| "PlatformName": "PlatformName", | |
| "RouteNos": "RouteNos", | |
| "PlatformNo": null, | |
| "PlatformTag": "PlatformTag", | |
| "RoadName": null, | |
| "BearingToRoad": null | |
| }, |
| { | |
| "displayFieldName": "ProjectName", | |
| "fieldAliases": { | |
| "PlatformName": "PlatformName", | |
| "RouteNos": "RouteNos", | |
| "PlatformNo": "PlatformNo", | |
| "PlatformTag": "PlatformTag", | |
| "RoadName": "RoadName", | |
| "BearingToRoad": "BearingToRoad" | |
| }, |