This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-*- mode: nginx; mode: flyspell-prog; mode: autopair; ispell-local-dictionary: "american" -*- | |
## Define a zone for limiting the number of simultaneous | |
## connections nginx accepts. 1m means 32000 simultaneous | |
## sessions. We need to define for each server the limit_conn | |
## value refering to this or other zones. | |
## ** This syntax requires nginx version >= | |
## ** 1.1.8. Cf. http://nginx.org/en/CHANGES. If using an older | |
## ** version then use the limit_zone directive below | |
## ** instead. Comment out this | |
## ** one if not using nginx version >= 1.1.8. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Cron script to update Mozilla Firefox build editions | |
# Targeted OS: Fedora 23 - will probably work on most | |
# Default Firefox version: Firefox Developer Edition (aurora) | |
# Leaves files in the following spots: | |
# /opt/firefox-dev | |
# /usr/share/applications/firefox-dev.desktop | |
# | |
# set -x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param($global:RestartRequired=0, | |
$global:MoreUpdates=0, | |
$global:MaxCycles=10) | |
function Check-ContinueRestartOrEnd() { | |
$RegistryKey = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" | |
$RegistryEntry = "InstallWindowsUpdates" | |
switch ($global:RestartRequired) { | |
0 { | |
$prop = (Get-ItemProperty $RegistryKey).$RegistryEntry |