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/bash | |
for file in `ls -1 ~/zones` | |
do | |
suffix=".dns" | |
domainname=${file%$suffix} | |
echo " " | |
echo "$domainname being imported" | |
zone2sql --zone=$file --gmysql --zone-name=$domainname | mysql -h | |
localhost -D pdns -u pdns | |
pdnsutil set-kind $domainname master |
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
From f89fa6404142834b16a6bd54b7650eccb5f51e30 Mon Sep 17 00:00:00 2001 | |
From: tje3d <[email protected]> | |
Date: Thu, 28 Sep 2017 21:28:17 +0330 | |
Subject: [PATCH] wg_tena_gm | |
--- | |
src/server/game/Battlefield/Battlefield.cpp | 3 ++ | |
.../game/Battlefield/Zones/BattlefieldWG.cpp | 52 ++++++++-------------- | |
src/server/game/Battlefield/Zones/BattlefieldWG.h | 2 + | |
3 files changed, 23 insertions(+), 34 deletions(-) |
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
From 1247667c4f7a9dba28829eb2c88a81c7836773ef Mon Sep 17 00:00:00 2001 | |
From: tje3d <[email protected]> | |
Date: Thu, 28 Sep 2017 21:33:19 +0330 | |
Subject: [PATCH] wg_tena_teleporter_aura | |
--- | |
.../game/Battlefield/Zones/BattlefieldWG.cpp | 39 +++++++++++++++------- | |
src/server/game/Battlefield/Zones/BattlefieldWG.h | 4 ++- | |
src/server/scripts/Northrend/zone_wintergrasp.cpp | 2 +- | |
3 files changed, 31 insertions(+), 14 deletions(-) |
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
<?php | |
// This script is to solve the problem of doing database search and replace | |
// when developers have only gone and used the non-relational concept of | |
// serializing PHP arrays into single database columns. It will search for all | |
// matching data on the database and change it, even if it's within a serialized | |
// PHP array. | |
// The big problem with serialised arrays is that if you do a normal DB | |
// style search and replace the lengths get mucked up. This search deals with |
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
<IfModule mod_mime.c> | |
AddType audio/mp4 m4a f4a f4b | |
AddType audio/ogg oga ogg | |
AddType application/javascript js jsonp | |
AddType application/json json | |
AddType video/mp4 mp4 m4v f4v f4p | |
AddType video/ogg ogv | |
AddType video/webm webm | |
AddType video/x-flv flv |
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/bash | |
WP_OWNER=fpmuser # <-- wordpress owner | |
WP_GROUP=fpmuser # <-- wordpress group | |
WP_ROOT=$1 # <-- wordpress root directory | |
WS_GROUP=apache # <-- webserver group | |
# reset to safe defaults | |
find ${WP_ROOT} -exec chown ${WP_OWNER}:${WP_GROUP} {} \; | |
find ${WP_ROOT} -type d -exec chmod 755 {} \; |
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
curl -O https://wordpress.org/latest.zip | |
unzip latest.zip | |
mv wordpress site | |
rm latest.zip |