- Ensure having a clean index (nothing is staged).
- Stage the files of interest (assuming they are the files in
src/
).
git add src/
- Stash interactively what we want for the patch
src/
).git add src/
Javascript advanced tutorial for beginners and experienced developers gives good examples for them.
Anonymous functions could be useful for:
To call anonymous functions use arguments.callee()
Imagine having a Food
module within the our Zoo
module.
Other classes than delicious could be defined too in the Food
module.
We actually want to know how using this class is possible in other modules.
module Zoo
module Food
class Delicious
# code
end
This is a guideline for learning javascript.
It should pick you up from the start of learning to mastering javascript.
It is ok to jump the courses that you find less adding to the more challenging ones.
And It is incomplete yet.
Walkthrough the language
config/
├── config.exs
├── dev.exs
├── prod.exs
└── test.exs
@echo off | |
:: this is a file template for cmd_aliases mentioned in the main tutorial | |
:: originally captured from the reference SO question http://stackoverflow.com/questions/20530996/aliases-in-windows-command-prompt | |
:: Temporary system path at cmd startup (examples) | |
::set PATH=%PATH%;"C:\Program Files\Sublime Text 2\" | |
:: Add to path by command (examples) |
This Gist is a WIP
var a, b, c;
a = b = c = 10;
alert(a + b + c)
Those regexes were tested on Sublime text editor.
Use Regex101 to validate your regexes.
find what \n(\w+)\n
replace with #ifdef something\n\1\n#endif something
Sample case:
abc