First things first !
sudo apt update
sudo apt upgradesudo apt-get install build-essential git| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
While the following structure is not an absolute requirement or enforced by the tools, it is a recommendation based on what the JavaScript and in particular Node community at large have been following by convention.
Beyond a suggested structure, no tooling recommendations, or sub-module structure is outlined here.
lib/ is intended for code that can run as-issrc/ is intended for code that needs to be manipulated before it can be used| var fn = function(arg1, arg2) { | |
| var str = '<p>aap ' + this.noot + ' ' + arg1 + ' ' + arg2 + '</p>'; | |
| document.body.innerHTML += str; | |
| }; | |
| var context = { | |
| 'noot': 'noot' | |
| }; | |
| var args = ['mies', 'wim']; | |
| // Calls a function with a given 'this' value and arguments provided individually. |
| <?php //Run as command line. Input file as first argument. | |
| const G_FOO = 'aeiou'; //Googlon special letters | |
| const G_INV = 'z'; //Preposition invalidator | |
| const G_PREP = 3; //Preposition size | |
| const G_VERB = 8; //Verb size | |
| const G_ORDER = 'qnbczxjtklmvhrwfsdgp'; //Letter ordering | |
| const G_NUM_MOD = 4; //Pretty number divisor | |
| const G_NUM_MAX = 526593; //Pretty number minimum | |
| $textB = explode(' ', file_get_contents($argv[1])); |
| [user] | |
| name = Your Name | |
| email = [email protected] | |
| [core] | |
| autocrlf = input | |
| [color] | |
| status = auto | |
| diff = auto | |
| branch = auto | |
| [alias] |
| # idéia original em php: http://goncin.wordpress.com/2010/06/21/ditados-populares-em-php/ | |
| ############### | |
| if tempo.is?(:chuvoso) | |
| cavalinho.recolher | |
| end | |
| ################ |