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
git config --global user.name "prosantomazumder" | |
git config --global user.email "[email protected]" | |
$ git init | |
$ git ls | |
$ git status | |
$ git add * | |
$ git commit -m "version 1.0.1" | |
$ git status | |
$ git push | |
$ git remote add origin "Git Repository URL here" |
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
<?php | |
$servername = "localhost"; | |
$username = "dbuser"; | |
$password = "dbpassword"; | |
$dbname = "dbname"; | |
$conn = new mysqli($servername, $username, $password, $dbname); | |
if ($conn->connect_error) { | |
die("Connection failed: " . $conn->connect_error); | |
} |
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
function smoothScrollSectionID() { | |
$('.main-nav li > a').on('click', function (event) { | |
var target = $(this.getAttribute('href')); | |
if (target.length) { | |
event.preventDefault(); | |
$('html, body').stop().animate({ | |
scrollTop: target.offset().top - 80 | |
}, 1000); | |
} | |
}); |
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
SHORTCODE.PHP | |
------------------------ | |
function functionname(){ | |
ob_start(); | |
?> | |
HTMLCODEHERE.. | |
<?php |
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
Package Name | |
-------------------------- | |
1. Emmet | |
2. AutoFileName | |
3. AllAutocomplete | |
4. BracketHighlighter | |
5. Local History | |
6. SublimeLinter | |
7. ColorPicker | |
8. MarkDown Editing |