Skip to content

Instantly share code, notes, and snippets.

@phillcoxon
phillcoxon / Advanced Options Settings
Created April 23, 2018 18:39 — forked from lukecav/Advanced Options Settings (Improved)
MainWP Dashboard - Advanced Options (Performance)
Cross IP Settings
Maximum simultaneous requests 0 Default: 4
Minimum delay between requests (milliseconds) 100 Default: 200
IP Settings
Maximum simultaneous requests per ip 0 Default: 1
Minimum delay between requests to the same ip (milliseconds) 200 Default: 1000
Frontend request Settings
Maximum simultaneous sync requests 12 Default: 8
@phillcoxon
phillcoxon / download_private_github_release.sh
Created November 3, 2019 01:04 — forked from josh-padnick/download.sh
Download a private binary release file from GitHub in bash
#!/usr/bin/env bash
#
# This is an adaptation of code I wrote to download a private binary from GitHub. Such...pain.
# Why can't GitHub just offer a standardized URL you can download a release binary from and attach
# your Github Personal Access Token as a header?
#
# Since this code is an adaptation it hasn't been directly tested, but the code it was adapted from works
# and hopefully you can get the missing piece you're after by looking here.
#