Skip to content

Instantly share code, notes, and snippets.

View syedanam's full-sized avatar

Syed Nasrul Islam Anam syedanam

View GitHub Profile
@syedanam
syedanam / vs_code_update_command
Created June 20, 2023 10:01
Vs Code Update From Download Latest File
sudo dpkg -i <Downloads/code_1.79.2-1686734195_amd64.deb>
@syedanam
syedanam / ubuntu_command.txt
Last active December 6, 2022 04:37
Ubuntu Useful Command
-------------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/ sakil@192.168.4.171: /*if send in root no destination path*/
Child Theme Config (Source code) :https://developer.wordpress.org/themes/advanced-topics/child-themes/
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();
@syedanam
syedanam / LaravelCrud
Created January 29, 2018 10:59
LaravelCrud
/**
laravel Crud
*/
https://www.youtube.com/watch?v=pbInjl8FfPQ&list=PLzBl445W4ietNRSeCYA_ItcNtkaNmh2Yh
@syedanam
syedanam / Abstract
Last active December 21, 2017 13:11
difination many type of
/* 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.
@syedanam
syedanam / lavravel_scrach
Created December 2, 2017 18:00
jefrry's way
https://github.com/ToTanbir/laravel-from-scratch
@syedanam
syedanam / mysql_in_ubuntu
Last active December 2, 2017 09:06
mysql error in ubuntu
/* 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/
@syedanam
syedanam / E: Unmet dependencies. Try using -f
Created November 27, 2017 04:56
E: Unmet dependencies. Try using -f
sudo apt --fix-broken install
sudo apt-get update
sudo apt-get upgrade