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
sudo dpkg -i <Downloads/code_1.79.2-1686734195_amd64.deb> |
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
-------------ubuntu_file_permission--------------- | |
sudo mkdir /qlabImg | |
#sudo chmod -R 755 /qlabImg/ | |
sudo chown -R anam:anam /qlabImg | |
sudo chmod -R 755 /qlabImg | |
-------------ubuntu_file_permission--------------- | |
-------------ubuntu_file_transfer--------------- | |
data Send ==>> rsync -avrP /Source_path/ [email protected]: /*if send in root no destination path*/ |
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
JavaScript Best Practice (Source Link) : https://developer.wordpress.org/themes/advanced-topics/javascript-best-practices/ | |
Using $ | |
Because the copy of jQuery included in WordPress loads in (link needed) noConflict() mode, use this wrapper code in your theme’s .js files to map “$” to “jQuery”: | |
( function( $ ) { | |
// Your code goes here | |
} )( jQuery ); | |
UI Best Practices (Source Link) : https://developer.wordpress.org/themes/advanced-topics/ui-best-practices/ | |
Logo Homepage Link # | |
Descriptive Anchor Text # |
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
Child Theme Config (Source code) :https://developer.wordpress.org/themes/advanced-topics/child-themes/ |
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
wp_head(); | |
wp_footer(); | |
get_header();/*for include header*/ | |
get_footer();/*for include footer*/ | |
get_template_part("path/file_name"); /*for include other file. here, extension not allow*/ | |
echo site_url(); /*for site URL link up (main domain OR homepage)*/ | |
post_class(); | |
the_permalink(); | |
the_title(); | |
the_author(); |
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
/** | |
laravel Crud | |
*/ | |
https://www.youtube.com/watch?v=pbInjl8FfPQ&list=PLzBl445W4ietNRSeCYA_ItcNtkaNmh2Yh |
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
/* Defination of Abstract Class*/ | |
An abstract class is a class that contains at least one abstract method, which is a method without any actual code in it, just the name and the parameters, and that has been marked as "abstract". | |
The purpose of this is to provide a kind of template to inherit from and to force the inheriting class to implement the abstract methods. | |
An abstract class thus is something between a regular class and a pure interface. Also interfaces are a special case of abstract classes where ALL methods are abstract. | |
Abstract classes are classes that contain one or more abstract methods. An abstract method is a method that is declared, but contains no implementation. Abstract classes may not be instantiated, and require subclasses to provide implementations for the abstract methods. | |
abstract class AbstractClass | |
1. Can not instantiate abstract class: Classes defined as abstract may not be instantiated, and any class that contains at least one abstract method must also be abstract. |
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
https://github.com/ToTanbir/laravel-from-scratch |
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
/* mysql Said 1018 - Can't read dir of '.' (errno: 13 - Permission denied) */ | |
chown -R mysql:mysql /var/lib/mysql/ #your mysql user may have different name | |
chmod -R 755 /var/lib/mysql/ | |
/* 1006 - Can't create database 'test_DB' (errno: 15240960) in mysql */ | |
sudo chown -R mysql:mysql /var/lib/mysql/ |
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
sudo apt --fix-broken install | |
sudo apt-get update | |
sudo apt-get upgrade |
NewerOlder