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
| # | |
| # @author Jonathon byrd | |
| # | |
| ############################################################ | |
| # first things first, set your iptables for a web server. If you jack these | |
| # up you don't want to have to re-install your os after doing much more. | |
| # @see http://www.thegeekstuff.com/2011/06/iptables-rules-examples/ | |
| # and | |
| # @see https://help.ubuntu.com/community/IptablesHowTo |
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
| #!/usr/bin/perl -w | |
| # | |
| ## Copyright (C) 2011 Colin Mollenhour <http://colin.mollenhour.com/> | |
| ## | |
| ## This program is free software; you can redistribute it and/or | |
| ## modify it under the terms of the GNU General Public License | |
| ## as published by the Free Software Foundation; version 2 dated June, | |
| ## 1991. | |
| ## |
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
| SET @entityid = '3'; | |
| SELECT ea.attribute_id, ea.attribute_code, eav.value AS 'value', 'varchar' AS 'type' | |
| FROM catalog_category_entity e | |
| JOIN catalog_category_entity_varchar eav | |
| ON e.entity_id = eav.entity_id | |
| JOIN eav_attribute ea | |
| ON eav.attribute_id = ea.attribute_id | |
| WHERE e.entity_id = @entityid | |
| UNION |
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 | |
| # | |
| # redis - this script starts and stops the redis-server daemon | |
| # | |
| # chkconfig: - 85 15 | |
| # description: Redis is a persistent key-value database | |
| # processname: redis-server | |
| # config: /etc/redis/redis.conf | |
| # config: /etc/sysconfig/redis | |
| # pidfile: /var/run/redis.pid |
NewerOlder