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
git clone git@git:puppet.git | |
cd puppet | |
git checkout -b mybrokenbranch | |
echo "this line breaks everything" >> manifests/site.pp | |
git commit -am 'Intentionally breaking things' | |
git push origin mybrokenbranch |
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 | |
# | |
SOLR_HOME="/srv/tomcat/rpsolr/solr" | |
for INDEX_DIR in `/bin/find ${SOLR_HOME} -type d -name index -exec dirname {} \;`; do | |
CORE=`/bin/basename ${INDEX_DIR}` | |
/bin/grep "<core name=\"${CORE}\"" ${SOLR_HOME}/solr.xml > /dev/null | |
if [ $? != 0 ]; then | |
echo "Removing datadir for non-existent core ${CORE}" |
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
sudo launchctl unload /Library/LaunchDaemons/com.crashplan.engine.plist | |
sudo rm -r /Library/Caches/CrashPlan/* | |
sudo launchctl load /Library/LaunchDaemons/com.crashplan.engine.plist |
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 | |
rm ~/Library/Preferences/com.apple.screensaver.plist | |
/usr/libexec/PlistBuddy -c "Add :askForPassword integer 1" ~/Library/Preferences/com.apple.screensaver.plist | |
/usr/libexec/PlistBuddy -c "Add :askForPasswordDelay integer 60" ~/Library/Preferences/com.apple.screensaver.plist |
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
host-1 | |
anotherhost-1 | |
yetanotherhost-1 | |
host1 | |
anotherhost1 | |
yetanotherhost1 |
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
From f7c4e5a1fca1ca5c158dc393a44d753b0dccc8a8 Mon Sep 17 00:00:00 2001 | |
From: root <[email protected]> | |
Date: Mon, 6 Apr 2015 14:00:48 -0500 | |
Subject: [PATCH 1/2] working | |
--- | |
conf.d/default.conf | 59 +++++++++++++++++++++++++++++++++++++++++++++----- | |
nginx.conf | 13 ++++++++++- | |
2 files changed, 65 insertions(+), 7 deletions(-) |
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
[{"key":"accountTransactionSearch","value":true},{"key":"accountsDisplayDensity","value":"0"},{"key":"accountsEmphasizedOutflows","value":false},{"key":"accountsSelectedTotal","value":true},{"key":"accountsStripedRows","value":false},{"key":"activityTransactionLink","value":true},{"key":"budgetBalanceToZero","value":true},{"key":"budgetProgressBars","value":"0"},{"key":"budgetQuickSwitch","value":false},{"key":"budgetRowsHeight","value":"0"},{"key":"categoryActivityPopupWidth","value":"0"},{"key":"changeEnterBehavior","value":false},{"key":"checkCreditBalances","value":true},{"key":"checkNumbers","value":false},{"key":"collapseExpandBudgetGroups","value":false},{"key":"collapseSideMenu","value":false},{"key":"colourBlindMode","value":false},{"key":"currentMonthIndicator","value":true},{"key":"daysOfBuffering","value":true},{"key":"daysOfBufferingHistoryLookup","value":"0"},{"key":"editButtonPosition","value":"0"},{"key":"enableRetroCalculator","value":true},{"key":"enlargeCategoriesDropdown","value":true},{"k |
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
[Unit] | |
Description=CrowdStrike Falcon Host SIEM Connector | |
ConditionPathExists=/opt/crowdstrike/etc/cs.falconhoseclient.cfg | |
[Service] | |
User=daemon | |
UMask=022 | |
LimitNOFILE=10000 | |
TimeoutStopSec=90 | |
WorkingDirectory=/opt/crowdstrike/bin |
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 | |
service apache2 status | |
prevstatus=$? | |
if [ $prevstatus -ne 0 ]; then | |
echo "Apache stopped, starting now." | |
service apache2 start | |
fi |
OlderNewer