This file contains hidden or 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/sh | |
WRITE=false | |
FILE="ChangeLog" | |
GITPATH="master..HEAD" | |
while [ "$1" != "" ]; do | |
case $1 in | |
-c ) | |
GITPATH="" |
This file contains hidden or 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
"C:\Users\Nicole\Version Control\Composer\behat\composer.json" | |
{ | |
"require": { | |
"behat/behat": "2.4.*@stable", | |
"behat/mink": "1.4@stable", | |
"behat/mink-goutte-driver": "*", | |
"behat/mink-selenium-driver": "*", | |
"behat/mink-selenium2-driver": "*", | |
"behat/mink-sahi-driver": "*", |
This file contains hidden or 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
$content = '<!-- BEFORE: ' . (memory_get_peak_usage() / 1048576) . ' -->'; | |
$content .= '<!-- AFTER: ' . (memory_get_peak_usage() / 1048576) . ' -->'; |
This file contains hidden or 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/sh | |
find . -type d -name .git -exec sh -c "cd \"{}\"/../ && pwd && if git status | grep -q \"nothing to commit\" | |
then | |
git pull | |
else | |
git stash && git pull && git stash pop | |
fi" \; |
This file contains hidden or 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
backend default { | |
.host = "127.0.0.1"; | |
.port = "8080"; | |
} | |
# Enable flushing access only to internals | |
acl flushers { | |
"127.0.0.1"; | |
} |
This file contains hidden or 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
RTE { | |
## define table classes | |
classes.myCustomTable { | |
name = My custom table layout | |
alternating.rows { | |
# 0 = even, 1 = odd | |
startAt = 0 | |
oddClass = row-odd |
This file contains hidden or 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_AUTHOR_DATE='2013-02-18 17:45' GIT_COMMITTER_DATE='2013-02-18 17:45' git commit -m "" |
This file contains hidden or 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 filter-branch --env-filter 'GIT_COMMITTER_DATE=$GIT_AUTHOR_DATE; export GIT_COMMITTER_DATE' |
This file contains hidden or 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
/etc/init.d/bind9 stop | |
mkdir -p /var/chroot/bind9/{etc,dev,var/cache/bind,var/run/bind/run} | |
chown -R bind:bind /var/chroot/bind9/var/* | |
mknod /var/chroot/bind9/dev/null c 1 3 | |
mknod /var/chroot/bind9/dev/random c 1 8 | |
chmod 666 /var/chroot/bind9/dev/{null,random} | |
mv /etc/bind /var/chroot/bind9/etc | |
ln -s /var/chroot/bind9/etc/bind /etc/bind | |
chown -R bind:bind /etc/bind/* | |
nano /etc/default/bind9 |
This file contains hidden or 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
1) Ping | |
Name: Ping (public) | |
Protocol: ICMPv4 | |
Specific ICMP types: echo request | |
Scope: IP range | |
2) Apache HTTP Server | |
Switch from deny to allow for both rules (TCP and UDP) | |
Set up IP scope |