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
| [node:field-category:parents:join:/]/[node:field-category:name]/[node:title] |
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
| # open drush file with command vi /usr/bin/drush and find line bellow | |
| if [ ! -x "$php" ]; then | |
| # php="/usr/bin/php" # find and comment this line | |
| php="/opt/rh/php55/root/usr/bin/php" # add this line set php path to php55 | |
| fi | |
| if [ ! -x "$php" ]; then | |
| echo "ERROR: can't find php."; exit 1 | |
| fi |
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
| <rewrite> | |
| <forix_ajax> | |
| <from><![CDATA[/fajax\/(.*)/]]></from> | |
| <to><![CDATA[/fajax/index/index/$1/]]></to> | |
| <complete>1</complete> | |
| </forix_ajax> | |
| </rewrite> |
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 | |
| class Mage_Core_Model_Config_Options extends Varien_Object | |
| { | |
| /* ... */ | |
| protected function _construct() | |
| { | |
| $appRoot= Mage::getRoot(); | |
| $root = dirname($appRoot); | |
| $this->_data['app_dir'] = $appRoot; |
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
| $("button.btn-cart:not(ajax-processed)").addClass("ajax-processed").each(function(){ | |
| $(this).data('onclick', this.onclick); | |
| this.onclick = function(){ | |
| return false; | |
| } | |
| }); |
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
| FormBuilder = { | |
| PlainText: function (object) { | |
| alert (object); | |
| } | |
| }; | |
| // From: http://stackoverflow.com/questions/359788/javascript-function-name-as-a-string | |
| function executeFunctionByName(functionName, context /*, args */) { | |
| var args = Array.prototype.slice.call(arguments, 2); | |
| var namespaces = functionName.split("."); | |
| var func = namespaces.pop(); |
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
| {"error":false,"action":"viewresult","result":"<div class=\"result-header\">\n \n\t<\/div>\n\n | |
| \n \n<div class=\"store-items\">\n\n\t<div class=\"store\" >\n\t \n\t\t\t\t\t\t<div class | |
| =\"image\">\n\t\t\t<img src=\"http:\/\/sexyhair.local\/skin\/frontend\/rwd\/sexyhair\/images\/locations | |
| \/salon1.png\" \/>\n\t\t<\/div>\n\t\t\t\t\t\t<div class=\"info\">\n\t\t\t<h4>ART_VAN - Pure Sleep2<\ | |
| /h4>\n\t\t\t<div class=\"addr\">2570 Jackson Rd Ann Arbor Alabama <span>48103<\/span><\/div>\n\t\t<\ | |
| /div>\t\n\t\t<div class=\"divider\"><\/div>\n\t<\/div>\n\n\n\t<div class=\"store\" >\n\t \n\t\t | |
| \t\t\t\t<div class=\"image\">\n\t\t\t<img src=\"http:\/\/sexyhair.local\/skin\/frontend\/rwd\/sexyhair | |
| \/images\/locations\/salon2.png\" \/>\n\t\t<\/div>\n\t\t\t\t\t\t<div class=\"info\">\n\t\t\t<h4>Gardiners | |
| Furniture & Mattress2<\/h4>\n\t\t\t<div class=\"addr\">1530 E Joppa Rd. Towson Alabama <span>21286 | |
| <\/span><\/div>\n\t\t<\/div>\t\n\t\t<div class=\"divider\"><\/div>\n\t<\/div>\n\n\n\t<div class=\" |
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
| ln -s /Applications/AMPPS/php-5.5 /Applications/AMPPS/php |
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
| Content = new StackLayout{ | |
| Padding = new Thickness(0), | |
| Orientation = StackOrientation.Horizontal, | |
| HorizontalOptions = LayoutOptions.FillAndExpand, | |
| Children = { | |
| new Label { | |
| Text = "This uses TitleStyle", | |
| Style = Device.Styles.TitleStyle | |
| }, | |
| new Button { |
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
| adb pull /data/data/com.packagename/files/filename.db |