Skip to content

Alex Rusin Blog

  • BlogExpand
    • AWS
    • Javascript Development
    • Remix
    • PHP MySQL Development
    • Laravel
    • System Administration
    • WordPress Development
    • Magento
    • Uncategorized
  • My Projects
Alex Rusin Blog
  • Laravel | PHP MySQL Development

    Running Artisan Command as a Separate PHP Process in Laravel

    Byalexrusin September 9, 2017September 9, 2017

    In Laravel framework you can create commands and call them from php application.  One command can call another command, and another command, and so on.  But if an exception is thrown in one of the commands in this chain the whole chain breaks.  In order to avoid this problem and run each artisan command as…

    Read More Running Artisan Command as a Separate PHP Process in LaravelContinue

  • PHP MySQL Development | WordPress Development

    Create WordPress User with Admin Privileges in MySQL

    Byalexrusin July 23, 2017July 23, 2017

    INSERT INTO `wp_users` (`user_login`, `user_pass`, `user_nicename`, `user_email`, `user_status`) VALUES (‘admin’, MD5(‘password’), ‘User Admin’, ‘user@admin.com’, ‘0’); INSERT INTO `wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES (NULL, (Select max(id) FROM wp_users), ‘wp_capabilities’, ‘a:1:{s:13:”administrator”;s:1:”1″;}’); INSERT INTO `wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES (NULL, (Select max(id) FROM wp_users), ‘wp_user_level’, ’10’);

    Read More Create WordPress User with Admin Privileges in MySQLContinue

  • System Administration

    Disable .htaccess on Apache

    Byalexrusin July 17, 2017July 17, 2017

    It is possible to disable .htaccess files while using mod_rewrite in virtual host’s configuration file. Options FollowSymLinks AllowOverride None Require all granted RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]

    Read More Disable .htaccess on ApacheContinue

  • System Administration

    Running Node.js App with Supervisord on Homestead

    Byalexrusin July 3, 2017July 14, 2017

    Earlier I covered how to continuously run Node.js app with Forever.  In this article I will explain how to run Node.js app with Supervisord.  Since Homestead already has Supervisord installed, we will use it. First, let’s create a simple node application.  Edit after.sh script in Homestead installation to contain the following code: #!/bin/sh cd /var/www…

    Read More Running Node.js App with Supervisord on HomesteadContinue

  • PHP MySQL Development

    Exporting/Importing MySQL database from/to Remote Server

    Byalexrusin June 20, 2017June 21, 2017

    Export database mysqldump -u dbuser -p databasename -h rds.amazonaws.com > backup.sql Import database mysql -u username -p -h rds.amazon.com databasename < backup.sql mysql –host=rds.amazonaws.com –user=dbuser –password=password databasename < backup.sql

    Read More Exporting/Importing MySQL database from/to Remote ServerContinue

  • PHP MySQL Development | System Administration

    Using PhpMyAdmin With Homestead

    Byalexrusin June 18, 2017June 18, 2017

    Laravel Homestead includes a lot of software, but unfortunately does not have PhpMyAdmin.  You can always install it on nginx, but if you have it already on your host system (for example, as a part of xampp package), you can always configure it as a Nginx site. First of all, you need to edit your config.inc.php file.  At…

    Read More Using PhpMyAdmin With HomesteadContinue

  • Magento

    Magento 2 Errors and Solutions

    Byalexrusin December 16, 2016December 16, 2016

    “Cannot create a symlink for ” error This error most likely will show up when you are running Magento 2 on Windows system (XAMPP, WAMP, etc).  This error causes font icons to be replaced by non-resolvable symbols (problem in the admin area).  Long story short, if Magento can’t find a static asset file, it will…

    Read More Magento 2 Errors and SolutionsContinue

  • Magento | PHP MySQL Development

    Magento 2 Data Migration Notes

    Byalexrusin December 4, 2016December 16, 2016

    Recently I was assigned to do data migration from Magento 1.8.1.0 to Magento 2.1.0 In this article, I will share some points you must look out for when migrating to Magento 2. There are several things you must be aware of before you start migration: Magento 2 is a memory hog.  So, suggested 2GB RAM…

    Read More Magento 2 Data Migration NotesContinue

  • WordPress Development

    Swipebox Plugin for WordPress

    Byalexrusin October 29, 2016October 29, 2016

    Recently I was looking for a nice “lightbox” type jQuery plugin that will have swipe gestures for mobile devices.  I came across Swipebox.  I liked this jQuery plugin and decided to make my own WordPress plugin for it.  In this article I will outline main steps of its creation.  You can find complete plugin at…

    Read More Swipebox Plugin for WordPressContinue

  • System Administration

    Run Node.js Apps with Forever on Ubuntu Server

    Byalexrusin October 29, 2016October 29, 2016

    PM2 is a great process manager for Node.js apps.  I have been using PM2 for a while, but lately it gave up on me – it refused to start one of my Node.js apps.  I tested the app and did not find any problems with it: it started up and ran ok when I was…

    Read More Run Node.js Apps with Forever on Ubuntu ServerContinue

Page navigation

Previous PagePrevious 1 … 9 10 11 12 13 Next PageNext

© 2025 Alex Rusin Blog - WordPress Theme by Kadence WP

  • Blog
    • AWS
    • Javascript Development
    • Remix
    • PHP MySQL Development
    • Laravel
    • System Administration
    • WordPress Development
    • Magento
    • Uncategorized
  • My Projects