Visit my blog or connect with me on Twitter
git init
or
| /* | |
| ******************************************************************************** | |
| Golang - Asterisk and Ampersand Cheatsheet | |
| ******************************************************************************** | |
| Also available at: https://play.golang.org/p/lNpnS9j1ma | |
| Allowed: | |
| -------- | |
| p := Person{"Steve", 28} stores the value |
| <?php | |
| use PhpCsFixer\Config; | |
| use PhpCsFixer\Finder; | |
| $rules = [ | |
| 'phpdoc_indent' => true, | |
| 'binary_operator_spaces' => [ | |
| 'operators' => ['=>' => null] | |
| ], |
| ┌──────────┐ | |
| ──┤ Overview ├───────────────────────────────────────────────────────────────── | |
| └──────────┘ | |
| $ npm install --save bluebird | |
| const Promise = require('bluebird') |
| <?php | |
| namespace App\Merge; | |
| class Marge | |
| { | |
| protected $data = []; | |
| public function setData($data) | |
| { |
Visit my blog or connect with me on Twitter
git init
or
| <?php | |
| namespace MyVendor_MyPlugin; | |
| class MyClass | |
| { | |
| /* ... */ | |
| } | |
| /*EOF*/ |
| --- | |
| - name: Restart sshd | |
| service: | |
| name: ssh | |
| state: restarted | |
| become: yes | |
| - name: Start NTP | |
| service: | |
| name: ntp |