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
HTTP/1.1 500 Backend Servers Unavailable | |
Content-Type: text/html | |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"> | |
<title>Service Unavailable</title> | |
<style type="text/css"> | |
body, p, h1 { |
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
class mig::agent { | |
case $::operatingsystem { | |
'CentOS', 'RedHat': { | |
package { | |
'mig-agent': | |
ensure => latest, | |
} | |
} | |
'Ubuntu': { | |
package { |
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
#!/usr/bin/env python | |
import nntplib | |
import re | |
import sys | |
usage = """./nntp-stats [nntp-group-name]""" | |
if len(sys.argv) < 2: | |
print usage |
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
Index: hiera.yaml | |
=================================================================== | |
--- hiera.yaml (revision 121269) | |
+++ hiera.yaml (working copy) | |
@@ -2,16 +2,16 @@ | |
:backends: | |
- yaml | |
:yaml: | |
- :datadir: /etc/puppet/hiera | |
+ :datadir: /etc/puppet |
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
Index: hiera.yaml | |
=================================================================== | |
--- hiera.yaml (revision 121269) | |
+++ hiera.yaml (working copy) | |
@@ -2,16 +2,16 @@ | |
:backends: | |
- yaml | |
:yaml: | |
- :datadir: /etc/puppet/hiera | |
+ :datadir: /etc/puppet |
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
/** | |
* Detect if the browser is running in Private Browsing mode | |
* | |
* @export | |
* @returns {Promise} | |
*/ | |
export default function isPrivateMode() { | |
return new Promise((resolve) => { | |
const on = () => resolve(true); // is in private mode | |
const off = () => resolve(false); // not private mode |