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
#echo "deb http://apt.puppetlabs.com/ wheezy main dependencies" >> /etc/apt/sources.list.d/puppet.list | |
#echo "deb http://apt.puppetlabs.com/ precise main dependencies" >> /etc/apt/sources.list.d/puppet.list | |
echo "deb http://apt.puppetlabs.com/ trusty main dependencies" >> /etc/apt/sources.list.d/puppet.list | |
wget http://apt.puppetlabs.com/pubkey.gpg | |
gpg --import pubkey.gpg | |
gpg -a --export 4BD6EC30 | apt-key add - | |
rm pubkey.gpg | |
aptitude install -y puppet-common |
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
{ | |
"extractors": [ | |
{ | |
"condition_type": "none", | |
"condition_value": "", | |
"converters": [], | |
"cursor_strategy": "copy", | |
"extractor_config": { | |
"regex_value": "cat=\"(.*?)\"" | |
}, |
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
<?php | |
/* | |
* Detects a Request through HTTP/HTTPS Proxy and sets the coresponding server variables. | |
* | |
* usage: | |
* in php.ini or .htaccess | |
* php_value auto_prepend_file /var/www/proxy.php | |
* | |
* in pool.d for php-fpm | |
* php_value[auto_prepend_file] = /var/www/proxy.php |
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
<?php | |
$pattern = Array( | |
'/<pre>(\s)*<code class="(\S*)">/i', | |
'/<\/code><\/pre>/i', | |
'/<pre>/i', | |
'/<\/pre>/i', | |
'/@(\S*)@/i', | |
); |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<code_scheme name="TYPO3_jr"> | |
<option name="OTHER_INDENT_OPTIONS"> | |
<value> | |
<option name="INDENT_SIZE" value="4" /> | |
<option name="CONTINUATION_INDENT_SIZE" value="8" /> | |
<option name="TAB_SIZE" value="4" /> | |
<option name="USE_TAB_CHARACTER" value="true" /> | |
<option name="SMART_TABS" value="false" /> | |
<option name="LABEL_INDENT_SIZE" value="0" /> |
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
Search: \[submodule ".*/([^\/]*)"\]\n\tpath = (.*)\n\turl = (.*) | |
Replace: git submodule add $3 $2\ngit commit -m "[TASK] Add puppet module $1" |
NewerOlder