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
| sudo apt-get update | |
| sudo apt-get upgrade | |
| sudo apt-get -y install git zsh tig curl vim htop vlc tlp tlp-rdw build-essential automake | |
| # Battery management | |
| sudo tlp start | |
| # install node js | |
| curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - | |
| sudo apt-get install -y nodejs |
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
| const log = new Proxy({}, { | |
| get: (_, colour) => function() { | |
| console.log(`%c ${[].slice.call(arguments).join(' ')}`, `color: ${colour}`) | |
| } | |
| }) | |
| // example | |
| log.tomato('I am tomato') | |
| log.chocolate('I am chocolate') | |
| log.cornflowerblue('I am cornflowerblue') |
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
| run.config: | |
| cache_dirs: | |
| - vendor | |
| - node_modules | |
| engine: php | |
| engine.config: | |
| runtime: php-7.1 | |
| extensions: | |
| - pdo_pgsql | |
| - bcmath |
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
| # This file means nothing. It's just here to give the Gist a name I can understand. | |
| # This configuration requires the KNP Snappy Bundle [https://github.com/KnpLabs/KnpSnappyBundle] |
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 | |
| namespace AppBundle\Form; | |
| use Symfony\Component\Form\AbstractType; | |
| use Symfony\Component\Form\Extension\Core\Type\PasswordType; | |
| use Symfony\Component\Form\Extension\Core\Type\RepeatedType; | |
| use Symfony\Component\Form\Extension\Core\Type\SubmitType; | |
| use Symfony\Component\Form\FormBuilderInterface; |
OlderNewer