A hand crafted markdown document contains all major Javascript topics covered, taken from different sources. Brush Up your JS memory.
Single line comments start with //
. For multi-line commands, you use /* ... */
// This is a single line comment
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
There are many Git workflows out there, I heavily suggest also reading the atlassian.com [Git Workflow][article] article as there is more detail then presented here.
The two prevailing workflows are [Gitflow][gitflow] and [feature branches][feature]. IMHO, being more of a subscriber to continuous integration, I feel that the feature branch workflow is better suited.
When using Bash in the command line, it leaves a bit to be desired when it comes to awareness of state. I would suggest following these instructions on [setting up GIT Bash autocompletion][git-auto].
When working with a centralized workflow the concepts are simple, master
represented the official history and is always deployable. With each now scope of work, aka feature, the developer is to create a new branch. For clarity, make sure to use descriptive names like transaction-fail-message
or github-oauth
for your branches.
Dumping ground for Links
<?php | |
abstract class World{ | |
abstract protected function draw_map($country_name); | |
abstract protected function draw_flag($country_name); | |
public function show_info(){ | |
print "This is an abstract class for World"; | |
} | |
} |
<?php | |
interface World{ | |
public function draw_map($country_name); | |
public function draw_flag($country_name); | |
} | |
class Bangladesh implements World{ | |
public function draw_map($country_name){ |
<?php | |
interface World{ | |
public function draw_map($country_name); | |
public function draw_flag($country_name); | |
//Fatal error: Interface function World::show_info() cannot contain body | |
public function show_info(){ | |
print "This is an interface for World"; | |
} | |
} |
<?php | |
interface World{ | |
public function draw_map($country_name); | |
//Fatal error: Access type for interface method World::draw_flag() must be omitted | |
protected function draw_flag($country_name); | |
<?php | |
abstract class World{ | |
abstract public function show_population($country_name); | |
abstract protected function draw_map($country_name); | |
//Fatal error: Abstract function World::draw_flag() cannot be declared private | |
abstract private function draw_flag($country_name); | |
public function show_info(){ |
<?php | |
interface World{ | |
public function draw_map($country_name); | |
public function draw_flag($country_name); | |
const b = 'Interface constant'; | |
//Fatal error: Interfaces may not include member variables | |
public $var1 = 'hello ' . 'world'; |