This is the hack approach to adding environment variables to the nginx configuration files. As with most Google results for this search, the reason is Docker.
I intended to deploy two Docker containers.
This is the hack approach to adding environment variables to the nginx configuration files. As with most Google results for this search, the reason is Docker.
I intended to deploy two Docker containers.
{ config, lib, pkgs, ... }: | |
with lib; | |
{ | |
imports = [ | |
# ISO image | |
<nixpkgs/nixos/modules/installer/cd-dvd/iso-image.nix> | |
# Hardware support similar to installer Live CD | |
<nixpkgs/nixos/modules/profiles/all-hardware.nix> |
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"net/http" | |
) | |
type test_struct struct { | |
Test string |
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!" |
# | |
# 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 |
# | |
# 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 |
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') |
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.
"To include this, run `cat .gitlfstrack | xargs git lfs track`" | |
"*.3ds" | |
"*.3g2" | |
"*.3gp" | |
"*.7z" | |
"*.a" | |
"*.aac" | |
"*.adp" | |
"*.ai" | |
"*.aif" |