time.google.com
time1.google.com
time2.google.com
time3.google.com
### | |
### [2023-06-19] UPDATE: Just tried to use my instructions again on a fresh install and it failed in a number of places. | |
###. Not sure if I'll update this gist (though I realise it seems to still have some traffic), but here's a list of | |
###. things to watch out for: | |
### - Check out the `nix-darwin` instructions, as they have changed. | |
### - There's a home manager gotcha https://github.com/nix-community/home-manager/issues/4026 | |
### | |
# I found some good resources but they seem to do a bit too much (maybe from a time when there were more bugs). | |
# So here's a minimal Gist which worked for me as an install on a new M1 Pro. |
rsync (Everyone seems to like -z, but it is much slower for me)
"To include this, run `cat .gitlfstrack | xargs git lfs track`" | |
"*.3ds" | |
"*.3g2" | |
"*.3gp" | |
"*.7z" | |
"*.a" | |
"*.aac" | |
"*.adp" | |
"*.ai" | |
"*.aif" |
Performance mode changes the system parameters of your Mac. These changes take better advantage of your hardware for demanding server applications.
A Mac with macOS Server that needs to run high-performance services can turn on performance mode to dedicate additional system resources for server applications. Note, however, that performance mode can be enabled even without macOS Server being installed to achieve similar benifits for other high-performance services.
sudo nvram boot-args="serverperfmode=1 $(nvram boot-args 2>/dev/null | cut -f 2-)"
sudo reboot
Reference: https://support.apple.com/en-us/HT202528.
import requests | |
from requests.auth import HTTPBasicAuth | |
import re | |
from StringIO import StringIO | |
import uuid | |
# Inspired from https://gist.github.com/toudi/67d775066334dc024c24 | |
# Tested on Jira 7.4 and Gitlab 2.2 with Python 2.7 | |
JIRA_URL = 'https://your-jira-url.tld/' | |
JIRA_ACCOUNT = ('jira-username', 'jira-password') |
# | |
# fair-queue based settings for EdgeRouter Lite traffic shaping | |
# | |
# download is typically 30 and change. everything can burst to 100% | |
# of bandwidth, priority rules keep the garbage in check | |
set traffic-policy shaper download | |
set traffic-policy shaper download bandwidth 30Mbit |
# | |
# fair-queue based settings for EdgeRouter Lite traffic shaping | |
# | |
# download is typically 6 and change. everything can burst to 100% | |
# of bandwidth, priority rules keep the garbage in check | |
set traffic-policy shaper download | |
set traffic-policy shaper download bandwidth 30Mbit |
local Mom = {} | |
local Dad = {} | |
local Child = {} | |
function Mom:work() | |
print "I'm a particle physicist!" | |
end | |
function Dad:work() | |
print "I'm a computer guy!" |
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"net/http" | |
) | |
type test_struct struct { | |
Test string |