Skip to content

Instantly share code, notes, and snippets.

View tw3's full-sized avatar

Ted Weatherly tw3

  • Austin, TX
View GitHub Profile
@flostellbrink
flostellbrink / PIA JDownloader Reconnect.md
Last active April 25, 2024 01:09
Script to get new IP addresses in JDownloader by reconnecting Private Internet Access

PIA JDownloader Reconnect

Windows

Script to get new IP addresses in JDownloader by reconnecting Private Internet Access.

  1. Go to Settings -> Reconnect
  2. Tick all three checkboxes.
  3. Set method to External Batch Reconnect
  4. Set interpreter to cmd /c
@tw3
tw3 / tidy-templates.js
Last active January 14, 2020 16:28
A node script that lints / reformats Angular template (html) files to a certain standard
/**
* This node js script scans through the input component template files and tidy's them according to certain guidelines.
*
* Sample shell command:
* node tidy-templates.js src/app projects
*
* To disable lint for a template add this comment to the top of the file:
* <!-- tidy-templates: disable -->
*
* Derived from: