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
#!/bin/bash | |
login="root" | |
pass="PASSWORD" | |
ip="MY_IP_ADDRESS" | |
publicip=$(wget -q -O - checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//') | |
sshpass -p $pass ssh $login@$ip "iptables -I INPUT -j ACCEPT -s $publicip" | |
sshpass -p $pass ssh $login@$ip | |
#this script will log you in and then add your publip ip to the allowed list in iptables. | |
#necessary because http is blocked by iptables for security reason |
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
mkdir src/com/fingi | |
mv src/com.fingi.csipsimple.src/com/fingi/ | |
find src/ -type f -print0 | xargs -0 sed -i 's/com.csipsimple./com.fingi.csipsimple./g' *.java | |
find res/ -type f -print0 | xargs -0 sed -i 's/com.csipsimple./com.fingi.csipsimple./g' *.xml |
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
#!/bin/bash | |
############ check arguments ################# | |
if [ -z "$1" ] | |
then | |
echo "No argument supplied, please provide product name and build type. such as: ./renameAndBuild.sh aloft debug " | |
exit | |
fi | |
############ setting paths ################# |
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
${filecomment} | |
${includes} | |
#include <boost/test/unit_test.hpp> | |
using namespace std; | |
${namespace_begin} |
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
remove | |
debug_stop=1 | |
from the query string |
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
http://www.rtuin.nl/2013/01/php-cli-remote-debugging-with-phpstorm-zend-debugger/ | |
--------------------------------------------------------------------------------------------------------- | |
This post aims to give an overview of how to get remote cli debugging working with PhpStorm and Zend Debugger. You can find more detailed information under the links in this article. | |
Some time ago i wanted to debug a PHPUnit test in PhpStorm, debugging PHP scripts using the cli sapi turned out to require some extra effort. | |
The situation is that my project files reside in a virtualbox, and open the project files -via a mounted directory- in PhpStorm. This means that, for normal web debugging, you have to specify some server settings, including the path mapping. | |
Since you work on the server directly, you have to set up a remote debugging connection to your IDE. In his blog post, Kevin Schroeder explains how to do this. |
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
# | |
# Automatically generated make config: don't edit | |
# OpenWrt version: Barrier Breaker (r33735) | |
# Tue Dec 10 21:29:36 2013 | |
# | |
CONFIG_HAVE_DOT_CONFIG=y | |
# CONFIG_TARGET_ppc40x is not set | |
# CONFIG_TARGET_ppc44x is not set | |
# CONFIG_TARGET_realview is not set | |
# CONFIG_TARGET_atheros is not set |
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
Window-->preference-->General-->Editors-->Text Editors-->Annotations--->C++ Occurances |
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
/*******************************************************/ | |
protected static $instance = null; | |
protected function __construct() | |
{ | |
//Thou shalt not construct that which is unconstructable! | |
} | |
protected function __clone() | |
{ |
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
xrandr --output DVI-I-0 --right-of DVI-I-1 |
OlderNewer