This file contains 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
Well basically the following are issues on running android emulator. | |
react native commands: | |
I. react-native run-android | |
1. issue: Error: Unable to open class file R.java [duplicate] OR Unable to open class file \R.java: Permission denied | |
fix: Open android studio, close current project and create a new one, re-run react command. | |
reference: https://stackoverflow.com/questions/3796490/error-unable-to-open-class-file-r-java | |
2. issue: (Physical device running issue) Unable to load script from assets 'index.android.bundle'.... | |
fix: Access dev menu by shaking the device, goto dev settings, goto debug server host & port for device, add the machine ip and server port e.g 192.168.1.34:8081 | |
3. issue: react native configuration with the default not found "this normally occur once you uninstall a package" |
This file contains 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
1. http://chir.ag/projects/name-that-color/#FF0005 - Identifying color name. |
This file contains 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
Step 1: Add Nodejs PPA | |
Node.js is available in two versions, first is current (most recent version) and another is LTS. Select which version you need to install on the system. Then use one of following commands to install PPA on your system. Node.js officially provides these PPA’s. | |
Use Current Release: At te last update of this tutorial, Node.js 8.0 is the current Node.js release available. | |
Command: | |
$ sudo apt-get install python-software-properties | |
$ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - | |
Use LTS Release : At te last update of this tutorial, Node.js 6.11 is the LTS release available. | |
Command: |
This file contains 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
1. follow the laravel broadcasting installation. locate the socket.io section. | |
ref: https://laravel.com/docs/5.4/broadcasting#driver-prerequisites | |
2. laravel does not include a Socket.IO server implementation. | |
luckily we have a community driven Socket.IO server is currently maintained at the tlaverdure/laravel-echo-server GitHub repository. | |
- we need to make sure that the requirements are there. | |
Laravel 5.3 | |
Node 5.0+ | |
Redis 3+ | |
- incase you an old node is installed follow this instruction https://gist.github.com/tidalgo22/d7ae7fa298247d6e98b349ffd4e3e591 | |
this helps you install latest node and npm in your server. |
This file contains 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
mkdir myfolder - create folder | |
rm -rf mydir - In the above example, the "mydir" directory, along with all files and directories within that directory, would be deleted with no prompt or message. | |
sudo kill `sudo lsof -t -i:9001` - kill the running instance on a port. | |
sudo chmod 770 -r /var/www/subdir - make a folder writeable. | |
Ubuntu References: |
This file contains 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
~ -tilde instructs nginx to perform a case-sensitive regular expression match, instead of a straight string comparison. | |
^ -matches the beginning of the input. For example, ^/photos/.*$ would match paths beginning in '/photos/'. By itself, ^ is a shortcut for all paths (since they all have a beginning). | |
* -matches all strings. |
This file contains 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
HTML SEO Standards | |
Search engines can pick up ranking signals from specific HTML elements. (Here are the most important HTML elements) | |
Title tag : | |
Imagine that you wrote 100 different books but gave them all the same exact title. How would anyone understand that they are all about different topics? | |
Imagine that you wrote 100 different books, and while they did have different titles, the titles weren’t very descriptive — maybe just a single word or two. Again, how would anyone know, at a glance, what the books were about? | |
HTML titles have always been and remain the most important HTML signal that search engines use to understand what a page is about. | |
According to Matt Cutts a former head of web spam team in google. Bad page title will be ignored, and Google will writes its own title from content and links of the page. | |
Meta Description: |
This file contains 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
ERD Tool: https://www.lucidchart.com/ | |
ERD Tutorial: https://www.youtube.com/watch?v=QpdhBUYk7Kk&list=PL5olS7Cifr15TOTk-NofU9oPreMOcBZZM |
This file contains 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
https://www.rosehosting.com/blog/install-laravel-on-ubuntu-16-04/ | |
How to fix Error: laravel.log could not be opened? | |
sudo chmod -R 777 storage |
This file contains 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
https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-16-04 | |
https://askubuntu.com/questions/851847/how-to-enable-and-disable-php7-modules-in-linux-server-16-4 | |
https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-with-nginx-on-an-ubuntu-14-04-server |
OlderNewer