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 | |
# One time only, to create wpa.conf: | |
# wpa_passphrase ESSID secret > wpa.conf | |
# su to root, or use sudo for following commands | |
su | |
# Bring the wlan interface up | |
ifconfig wlan0 up |
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 | |
# Marko Martinović | |
# Print command traces | |
set -x | |
# SSH user | |
SSHUSER="" | |
# SSH host |
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 | |
# Marko Martinović | |
# Prints command traces | |
set -x | |
# Tables to ignore | |
IGNORE_TABLES=(dataflow_batch_export dataflow_batch_import log_customer log_quote log_summary log_summary_type log_url log_url_info log_visitor log_visitor_info log_visitor_online report_event index_event enterprise_logging_event_changes core_cache core_cache_tag core_session core_cache_tag) | |
# Source SSH |
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 | |
# magento-transfer-2.sh | |
# Marko Martinovic | |
# | |
# Initiate on a destination web server | |
# Maintenance mode required | |
# Prints command traces | |
set -x | |
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
zend_extension=/usr/lib/php5/20121212/xdebug.so | |
xdebug.remote_enable=on | |
xdebug.remote_handler=dbgp | |
xdebug.remote_host=localhost | |
xdebug.remote_port=9000 | |
xdebug.auto_trace=0 | |
xdebug.trace_enable_trigger=1 | |
xdebug.trace_format=0 | |
xdebug.trace_output_name=trace.%R | |
xdebug.collect_params=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
DELIMITER // | |
CREATE PROCEDURE truncateAllTables() | |
-- | |
-- truncateAllTables | |
-- Date: 2014-05-26 | |
-- Author: Andrew Cassidy <[email protected]> | |
-- Author: Marko Martinović <[email protected]> | |
-- | |
-- This Stored Procedure loops over the tables in the current database and | |
-- truncates them. |
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
DELIMITER // | |
CREATE PROCEDURE dropAllTables() | |
-- | |
-- dropAllTables | |
-- Date: 2014-05-26 | |
-- Author: Andrew Cassidy <[email protected]> | |
-- Author: Marko Martinović <[email protected]> | |
-- | |
-- This Stored Procedure loops over the tables in the current database and | |
-- drops them. |
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 | |
if(class_exists('Quick_Chat')) { | |
global $quick_chat; | |
*/ | |
* Define option variables: | |
* | |
* $height = '400'; | |
* $room = 'default'; |
OlderNewer