More on Gerrymandering

http://www.slate.com/articles/news_and_politics/jurisprudence/2017/03/fixing_gerrymandering_affects_who_is_sent_to_office_and_how_they_govern.html It seems like changing who you represent can change how you represent. I’ll try to keep an eye on this stuff and report back on what I find.

A better way to cheat at voting

I was flipping thru Facebook a little while ago and a few things popped up together: this is actually what america would look like without gerrymandering and Schwarzenegger rips gerrymandering congress. This got me to thinking, what could I do? I reached out to my local representative and am waiting a response. In the meantime I started […]

Make Link List with PowerShell

A script to get a list of links off a given page. I found these two examples to start from: http://normansolutions.co.uk/post/using-powershell-to-check-all-pages-in-website, https://www.petri.com/testing-uris-urls-powershell. clear function get-URLlist($testPage, [int]$linkDepth){ #set the counter [int]$i = 0 #loop thru the list of links, going to sub-pages until the counter equals the given link depth while($linkDepth -gt $i) { foreach($link in $testPage.Links) { […]

Using Google domains with a dynamic IP

This is a script to read the current public IP and update your Google domain with the new IP- #get the current IP $url = “https://ifconfig.co/json” $ip = Invoke-RestMethod $url #send the new IP to Google $updateCommand = “https://username:[email protected]/nic/update?hostname=dynamic.domain.com&myip=$($ip.ip)” Invoke-RestMethod $updateCommand Here is some documentation on Google on how to change your DNS via API- https://support.google.com/domains/answer/6147083. The short […]