Reduce .apk size of nativescript
tns install webpack tns build android - - bundle
tns install webpack tns build android - - bundle
SELECT dash_users.id,dash_users.email FROM dash_users LEFT JOIN restaurant ON restaurant.vid = dash_users.id WHERE NOT EXISTS (SELECT 1 FROM dash_users WHERE dash_users.id=restaurant.vid ) ORDER BY restaurant.id DESC limit 0,100
$ci =&get_instance(); $ci->load->model(your model); $ci->(your model)->(your function);
I go to this file: wp-includes/deprecated.php and find this line in (deprecated) wp_get_http()function: @set_time_limit ( 60 );
Use this in .htaccess file for resolve the issue RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?/$1
Friendly speaking while using the TinyMCE editor in wordpress this one is the issue it from go to visual to text its removing those tags for overcome those issues do…
http://sql-hub.com/Page/index.php?Shortname=amstomy
$product = Mage::getModel(‘catalog/product’)->loadByAttribute(‘sku’,$products); $data = ”; $relatedData = $product->getRelatedProductIds(); $insertIt = array(); if(count($relatedData) > 0){ foreach($relatedData as $relatedProduct) { $insertIt = array(‘position’=>0,’qty’=>”) ; } } $insertIt= array(‘position’=>0,’qty’=>”); try{ $product->setRelatedLinkData($insertIt)->save(); Mage::getSingleton(‘adminhtml/session’)->addSuccess(Mage::helper(‘adminhtml’)->__(‘Product…
For to update meteor us version : Update to the release candidate with: meteor update --release 1.2.0
<?php copydir("source","destination"); echo "done"; function copydir($source,$destination) { if(!is_dir($destination)){ $oldumask = umask(0); mkdir($destination, 01777); // so you get the sticky bit set umask($oldumask); } $dir_handle = @opendir($source) or die("Unable to open");…