Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
console.log("Hello from scripts_dynamic.js"); | |
jQuery(document).ready(function ($) { | |
console.log("More than one side banner account found"); | |
if ( | |
jQuery('.recommended-video-section-lg > div[id="side_banner_account"]') | |
.length > 1 | |
) { | |
console.log("Removing duplicate side banner account"); | |
jQuery( |
[{"name":"Israel","dial_code":"+972","code":"IL"},{"name":"Afghanistan","dial_code":"+93","code":"AF"},{"name":"Albania","dial_code":"+355","code":"AL"},{"name":"Algeria","dial_code":"+213","code":"DZ"},{"name":"AmericanSamoa","dial_code":"+1 684","code":"AS"},{"name":"Andorra","dial_code":"+376","code":"AD"},{"name":"Angola","dial_code":"+244","code":"AO"},{"name":"Anguilla","dial_code":"+1 264","code":"AI"},{"name":"Antigua and Barbuda","dial_code":"+1268","code":"AG"},{"name":"Argentina","dial_code":"+54","code":"AR"},{"name":"Armenia","dial_code":"+374","code":"AM"},{"name":"Aruba","dial_code":"+297","code":"AW"},{"name":"Australia","dial_code":"+61","code":"AU"},{"name":"Austria","dial_code":"+43","code":"AT"},{"name":"Azerbaijan","dial_code":"+994","code":"AZ"},{"name":"Bahamas","dial_code":"+1 242","code":"BS"},{"name":"Bahrain","dial_code":"+973","code":"BH"},{"name":"Bangladesh","dial_code":"+880","code":"BD"},{"name":"Barbados","dial_code":"+1 246","code":"BB"},{"name":"Belarus","dial_code":"+375"," |
Setup | |
----- | |
git clone <repo> | |
clone the repository specified by <repo>; this is similar to "checkout" in | |
some other version control systems such as Subversion and CVS | |
Add colors to your ~/.gitconfig file: | |
[color] |
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
Create an empty git repo or reinitialize an existing one
git init
While solving the HackerRank problems, you will notice the words STDIN and STDOUT are often mentioned. | |
To simplify these two concepts and understand how they are useful in the context of solving challenges in HackerRank, this is what you need to know: | |
STDIN is the source of data your program will read from and use as the input to the algorithm or function that you will implement. Traditionally, the input from a keyboard can be used as STDIN. In the context of HackerRank, STDIN usually refers to some test data they will provide to your solution to validate that your implementation actually solves the challenge. | |
STDOUT defines the place where the printed output of your code will go. It's very common to use the terminal as STDOUT, meaning that every time you print something (e.g. a log) it will show up in the terminal. However, the STDOUT could be changed to be a file, in which case every time your code calls console.log() it will get saved to that file. | |
The first coding challenge will help you see this con |
// Bootstrap | |
/* Custom, iPhone Retina */ | |
@media only screen and (min-width : 320px) { | |
} | |
/* Extra Small Devices, Phones */ | |
@media only screen and (min-width : 480px) { |