5.1. More on Lists The list data type has some more methods. Here are all of the methods of list objects: list.append(x) Add an item to the end of the list. Equivalent to a[len(a):] = [x]. list.extend(iterable) Extend the list by appending all the items from the iterable. Equivalent to a[len(a):] = iterable. list.insert(i, x) Insert an item at a given position. The first argument is the Read more…


4.1. if Statements x = int(input(“Please enter an integer: “)) if x < 0: x = 0 print(‘Negative changed to zero’) elif x == 0: print(‘Zero’) elif x == 1: print(‘Single’) else: print(‘More’) >>> x = int(input(“Please enter an integer: “)) Please enter an integer: 42 >>> if x < 0: … x = 0 … print(‘Negative changed to zero’) … elif Read more…


if (comments_open() || get_comments_number()): comments_template(); endif; the_post_navigation(array( ‘next_text’=>'<span class=”meta-nav” aria-          hidden=”true”>’.__(‘Next’,’twentyfifteen’).'</span>’.'<span class=”screen-reader-text”>’.__(‘Next post:’,’twentyfifteen’).'</span>’.'<span class=”post-title”>%title</span>, ‘prev_text’=>'<span class=”meta-nav” aria-          hidden=”true”>’.__(‘Prev’,’twentyfifteen’).'</span>’.'<span class=”screen-reader-text”>’.__(‘Previouspost:’,’twentyfifteen’).'</span>’.'<span class=”post-title”>%title</span> ))


get…………… get_theme_file_uri(‘images/logo.png’); echo get_permalink(); wp_enque_script(); wp_enque_style(); wp_enque_style(‘style’,get_stylesheet_uri()); wp_enque_style($handle,$src,$deps,$ver,$media); wp_enque_style(‘slider’,get_template_directory_uri ‘/css/slider.css’,false,’1.1′,’all’); wp_enque_script(‘$handle,$src,$deps,$ver,$in_footer’); function add_theme_scripts(){


wordpress

Important tags: bloginfo(‘name’); bloginfo(‘descripton’); get_header(); get_sidebar(); get_footer(); <?php get_header(); if(have_posts()):while(have_post()):the_post(); the_content(); endwhile;


git show with a commit ID shows the changes made in a particular commit. To see the changes betweentwo commits, you can use git diff ID1..ID2, where ID1and ID2 identify the two commits you’re interested in, and the connector .. is a pair of dots. For example, git diff abc123..def456shows the differences between the commits abc123 and def456, while git diff HEAD~1..HEAD~3shows the differences between the state of the repository one commit in the past and Read more…


A hash is like an absolute path: it identifies a specific commit. Another way to identify a commit is to use the equivalent of a relative path. The special label HEAD, which we saw in the previous chapter, always refers to the most recent commit. The label HEAD~1 then refers to the commit before it, while HEAD~2 refers to the commit before that, and so on. Read more…


In order to make common operations fast and minimize storage space, Git uses a multi-level structure to store data.  In simplified form, this has three key parts: Every unique version of every file. (Git calls these blobs because they can contain data of any kind.) tree that tracks the names and locations of a set of files. A commit that records the author, log message, and Read more…


Interlude: how can I edit a file? Unix has a bewildering variety of text editors. In this course, we will sometimes use a very simple one called Nano. If you type nano filename, it will open filename for editing (or create it if it doesn’t already exist). You can then move around with the arrow keys, delete characters with the backspace key, and Read more…


What’s the first step in saving changes? You commit changes to a Git repository in two steps: Add one or more files to the staging area. Commit everything in the staging area. To add a file to the staging area, use git add filename. check status: git status   How can I tell what’s going to be committed? To compare Read more…


A diff is a formatted display of the differences between two sets of files. Git displays diffs like this: diff –git a/report.txt b/report.txt index e713b17..4c0742a 100644 — a/report.txt +++ b/report.txt @@ -1,4 +1,4 @@ -# Seasonal Dental Surgeries 2017-18 +# Seasonal Dental Surgeries (2017) 2017-18 TODO: write executive summary. This shows: The command used to produce the output (in this case, diff –git). In Read more…


When you are using Git, you will frequently want to check the status of your repository.  To do this, run the command   git status   ., which displays a list of the files  that have been modified since the last time changes were saved. How can I tell what I have changed? Git has a  staging area in which it  stores files with changes  you want Read more…


Each of your Git projects has two parts: the files and directories that you create and edit directly, and the extra information that Git records about the project’s history.The combination of these two things is called a repository. Git stores all of its extra information in a directory called .git.it is located in the root directory of the  repository.  Git expects this information to be laid out Read more…


This chapter explains what version control is and why you should use it, and introduces the most common steps in a common Git workflow. What is version control? A version control system is a tool that manages changes made to the files and directories in a project. Many version control systems exist; this lesson focuses on one called Git. which is used by many of Read more…


Version control is one of the power tools of programming.It allows you to keep track of what you did when, undo any changes you have decided you don’t want, and collaborate at scale with other people.This course will introduce you to Git, a modern version control tool that is very popular with data scientists and software developers alike, and show Read more…


Linux is a popular OS


Some classes of bootstrap are given below: <p class=”text-left”>Left aligned text.</p> <p class=”text-center”>Center aligned text.</p> <p class=”text-right”>Right aligned text.</p> <p class=”text-justify”>Justified text.</p> <p class=”text-nowrap”>No wrap text.</p>


Components: <span class=”glyphicon glyphicon-search” aria-hidden=”true”></span> <button type=”button” class=”btn btn-default” aria-label=”Left Align”> <span class=”glyphicon glyphicon-align-left” aria-hidden=”true”></span> </button> <button type=”button” class=”btn btn-default btn-lg”> <span class=”glyphicon glyphicon-star” aria-hidden=”true”></span> Star </button>


Like other progrmming languages, php has also operators.Generally ,there are nine types of operators in php.They are : 1.Arithmatic operator: +,-,*,/,%,** 2. logic operator: &&,||,xor,!(not) 3.Ternary operator:? 4.Bitwise operator:&,|,^ 5.Assignment operator:= 6.Reference operator:& 7.Comparison operator:>,<,>=,<=,<>,==,===,!=,!== and there are also two more operator such as @ and true,false.


wordpress

WordPress is a CMS (content management system) . It is built in php programming language. There are also more CMS such as joomla.Nowadays wordpress is very much popular among users as it is user-friendly. Some WordPress built functions: 1.<?php get_header();?>  2.<?php get_footer();?> 3.<?php get_sidebar();?> 4.<?php the_title();?> 5.<?php the_content();?> 6.<?php the_post();?> 7.<?php the_post_thumbnail ();?> 8.<?php get_sidebar(‘id’);?> 9.<?php bloginfo(‘name’);?> 10.<?php bloginfo(‘content’);?>


PHP is a server side scripting language  which is mostly using for web development.Because it is well secured  and it work with hypertext markup language such as html. Basic Structure of PHP: <?php echo “Hello World”;  ?>


apps

Good company in a journey makes the way seem shorter. — Izaak Walton Thanks for joining me! Hello, I am Rasel.My full name is Md Rasel Uddin.I am a student. I am also a web developer. And also a programmer.I primarily program in php. My skills R below: php expert, mysql, javascript basic, jquery, html, css, bootstrap , CMS,e-commerce,woocommerce && Read more…




Calender

April 2018
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30