by admin | Feb 10, 2020 | Magento
Go to Magentto root from command line and run following command. php bin/magento indexer:reindex If you get the error “Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors”...
by admin | Feb 1, 2020 | Android, React Native
React native fetch request won’t work on Android API 16 to 19 after react native upgraded to newer okHttp versions which doesn’t support old cipher suites. To make it work we will have to downgrade okHttp version of react native. I specifically encountered...
by admin | Jan 2, 2020 | Virtualmin
Used this guide to upgrade mariadb to version 10 or above. After upgrade postfix needs to be restarted. Go to postfix > Edit config files and copy over files main,master and virtual.rpmsave to their original files. Run command postmap /etc/postfix/virtual And...
by admin | Jan 2, 2020 | Virtualmin
Just a log for the future… Make sure FQDN is setup properly. Check under webadmin > Networking > Network configuration In /etc/postfix/main.cnf myhostname should be set to FQDN. Keep inet_protocols = ipv4 Above is the issue most of the time, configuration...
by admin | Dec 29, 2019 | Wordpress
If you want to change a certain text or a word in theme or plugin and don’t want to edit the theme or plugin files then you can use the following snippet. Place it in functions.php of theme function start_modify_html() { ob_start(); } function end_modify_html()...
by admin | Dec 25, 2019 | iOS
In ios response.uri won’t work for file uploads. Modify it as below (Platform.OS===’android’) ? response.uri : response.uri.replace(‘file://’, ”) and in options storageOptions: { skipBackup: true, path: ‘images’,...
by admin | Dec 16, 2019 | Android, Android Studio
To Run emulator from terminal List all your emulators: emulator -list-avds Run one of the listed emulators with -avd flag: emulator -avd your-emulator React Native create android release build cd android && ./gradlew assembleRelease For details follow this...
by admin | Dec 16, 2019 | iOS, Xcode
How can I launch the iOS Simulator from Terminal? Just use open -a simulator For some specific device 1. open terminal 2. xcrun simctl list 3. get udid of the device you want to launch 4. Paste this in the terminal 5. open -a Simulator –args -CurrentDeviceUDID...
by admin | Dec 8, 2019 | Wordpress
We usually run into this issue while migrating site from one domain to another or during migration from wordpress.com to wordpress.org There are couple of plugins which you use to import external images. One of the popular one is...
by admin | Dec 8, 2019 | Clickfunnels, Javascript
Since we don’t have much access to the code in clickfunnels we have to resort to javascript. Here is a quick little snippet to add current date within funnels in javascript using moment.js You can use it for something like offers expire today etc. <script...
Recent Comments