Skip to content

Instantly share code, notes, and snippets.


Josh Dadak Bigtalljosh

View GitHub Profile
Bigtalljosh / bigtalljosh.omp.json
Last active Oct 21, 2021
View bigtalljosh.omp.json
"final_space": true,
"console_title": true,
"console_title_style": "folder",
"blocks": [
"type": "prompt",
"alignment": "left",
"segments": [
View PoweshellToString.ps1
function Convert-HashToString
[Parameter(Mandatory = $true)]
$hashstr = "@{"
$keys = $Hash.keys
View kill-processes.ps1
# Try and get the processes to kill, we silently ignore any errors because sometimes one of them isn't running
# Note: this line doesn't need to be in the try, because if it errors we're ignoring it.
$ProcessesToKill = Get-Process -Name 'xxxxx', 'xxxxx' -ErrorAction SilentlyContinue
# Try to kill the processess we were able to get
Stop-Process $ProcessesToKill -Force
# Stop all sites on IIS
Bigtalljosh /
Created Jan 17, 2018 — forked from cvan/
How to serve a custom HTTPS domain on GitHub Pages with CloudFlare: *FREE*, secure and performant by default


CloudFlare is an awesome reverse cache proxy and CDN that provides DNS, free HTTPS (TLS) support, best-in-class performance settings (gzip, SDCH, HTTP/2, sane Cache-Control and E-Tag headers, etc.), minification, etc.

  1. Make sure you have registered a domain name.
  2. Sign up for CloudFlare and create an account for your domain.
  3. In your domain registrar's admin panel, point the nameservers to CloudFlare's (refer to this awesome list of links for instructions for various registrars).
  4. From the CloudFlare settings for that domain, enable HTTPS/SSL and set up a Page Rule to force HTTPS redirects. (If you want to get fancy, you can also enable automatic minification for text-based assets [HTML/CSS/JS/SVG/etc.], which is a pretty cool feature if you don't want already have a build step for minification.)
  5. If you
View Annoy your ISP when the speeds aren't as advertised
import os
import sys
import csv
import datetime
import time
import twitter
def test():
View Boxstarter-Work.txt
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
cinst Microsoft-Hyper-V-All -source windowsFeatures
cinst IIS-WebServerRole -source windowsfeatures
cinst git-credential-winstore
cinst console-devel
cinst googlechrome
cinst skype
View keybase
### Keybase proof
I hereby claim:
* I am bigtalljosh on github.
* I am joshdadak ( on keybase.
* I have a public key ASBpPYoqtWHbLbvl23eE2JMJnQbjaGSbwLE6dCjUHnxNvgo
To claim this, I am signing this object:
View Simple C++ to show off in Assembly.
int square(int num);
int main(int argc, const char* argv[])
int result = square(10);
int square(int num)
return num * num;
View DefinitelyNotPenis.js
Ever wanted to replace a random word on the page with 'penis' before?
Now you can!
setInterval(function () { var x = document.querySelectorAll('*'); x[Math.floor(Math.random() * x.length)].innerText = String.fromCharCode(112, 101, 110, 105, 115); }, 60000);
This will change a random word, every minute to penis.
View Has weird right-to-left characters.txt