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
function filterHealthChecks($redirect_url, $request_url) { | |
$localIp = getHostByName(getHostName()); | |
error_log($redirect_url); | |
error_log($request_url); | |
if(preg_match("http[s]?://{$localIp}/")) { | |
error_log("Matched"); | |
return false; | |
} | |
return true; | |
} |
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
Ymj Ifwp Kfhynts rfij ny |f~ ytt jfx~ yt lzjxx ymj pj~3 ^tz xmtzqis,y mf{j jshtiji ymj xufhjx3 Ymfy rfpjx ny tg{ntzx |mfy ymj tkkxjy nx3 N j}ujhy rtwj kwtr ymj Ifwp Kfhynts3 | |
)tkkxjy B : | |
ktwjfhm-)qnsj ns ljy2htsyjsy 3axhwnuyjw2tzy3y}y. | |
? | |
)sj|Qnsj B '' | |
ktwjfhm-)hmfw ns )qnsj3ytHmfwFwwf~-.. | |
? | |
)hts{jwyji B `g~yjb`hmfwb)hmfw |
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
/* hides the native tabs */ | |
.tabbrowser-tab { | |
visibility: collapse; | |
} | |
.tabs-newtab-button { | |
visibility: collapse; | |
} | |
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header { |
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
function Clear-DeletedBranches | |
{ | |
[CmdletBinding(SupportsShouldProcess = $true, ConfirmImpact = 'High')] | |
param( | |
[Parameter(Mandatory = $false)] | |
[string] | |
$GitDir = $PWD | |
) | |
$before = git branch -a |
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
#!ipxe | |
dhcp | |
echo IP Address: ${net0/ip} |
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
#!ipxe | |
dhcp | |
menu SRE iPXE boot Menu | |
item --gap Choices: | |
item local Boot From Local Hard Drive | |
item wds Windows Deployment Services | |
item c7 Centos 7 | |
item c6 Centos 6 (Depricated) | |
item dd Dell Diagnostics CD |
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
#!ipxe | |
menu SRE iPXE boot Menu | |
item --gap -- --------------- Local Hard Drive ----------------- | |
item --key l Local Boot From Local Hard Drive | |
item --gap -- --------------- Installers ----------------------- | |
item --key w Windows Deployment Services | |
item --key c Centos 7 | |
item --key s Centos 6 (Depricated) | |
item --gap -- --------------- Diagnostics ---------------------- |
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
using System; | |
using System.Collections.Generic; | |
using System.Collections.Specialized; | |
using System.Configuration; | |
using System.IO; | |
using System.Linq; | |
using System.Net; | |
using System.Net.NetworkInformation; | |
using System.Runtime.InteropServices; | |
using System.Text; |
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
# This is an example of the Stack Exchange Tier 1 HAProxy config | |
# The only things that have been changed from what we are running are: | |
# 1. User names have been removed | |
# 2. All Passwords have been remove | |
# 3. IPs have been changed to use the example/documentation ranges | |
# 4. Rate limit numbers have been changed to randome numbers, don't read into them | |
userlist stats-auth | |
group admin users $admin_user | |
user $admin_user insecure-password $some_password |