Migrate Salling Media Sync including License
Actually renewing the Licens fail, because the Licence server has gone offline. But finally i found a way to migrate it and keep it working as before.
Actually renewing the Licens fail, because the Licence server has gone offline. But finally i found a way to migrate it and keep it working as before.
switch ( $_SERVER["HTTP_HOST"] ) {
case "caj.local" : /** Local Config **/
define("DB_NAME", "<local databasename>");
define("DB_USER", "<local username>");
define("DB_PASSWORD", "<pass>");
define("DB_HOST", "localhost");
break;
case "caj.donkeymedia.eu" :
/** Testing Server Config **/
define("DB_NAME", "<testing databasename>");
define("DB_USER", "<testing username>");
define("DB_PASSWORD", "<testing pass>");
define("DB_HOST", "localhost");
break;
case "caj-koeln.de" :
/** Life Config .... **/
break;
You can execute it on a rooted phone using the Smanager App
#!/system/bin/sh
DROPBEAR=`which dropbear`;
#echo
$DROPBEAR case $1 in start|Start)
echo "starting dropbear ..." cd /data/dropbear su -c "$DROPBEAR -v -s -g" ;; stop|Stop)
echo "stopping dropbear ..." killall dropbear ;; *)
echo "usage: dropbear.sh [start|stop]" ;;
esac
http://tn.genano.de/wordpress/2009/09/18/howtotutorial-dropbear-ssh-fur-android-cyanogenmod-konfigurieren/
The Wordpress Plugin Cachify provides a very fast render cache for annonymus users, but it lacks a method to clear the cache if the user is not admin. This tiny plugin solves this issue.
I did it again. Messed up something after installing font. So after removing duplicate fonts I need to clear the font cache. Its simple:
sudo atsutil databases -remove
into Terminal as AdminThis removes all font cache files. (system and all user font cache files)