docker build . -t <IMAGE_NAME>
OR
docker build . -t <IMAGE_NAME>:<VERSION>
If version is not specifed, latest is set.
| $content = "I'm {{name}}, I live in {{location}}"; | |
| $var['name'] = 'Max'; | |
| $var['location'] = 'Paris'; | |
| preg_match_all('|{{(.*?)}}|',$content, $matches); | |
| foreach ($matches[1] as $key => $value) { | |
| $content = str_replace('{{' . $value . '}}', $var[$value], $content); | |
| } |
| { | |
| "color_scheme": "Packages/Predawn/predawn.tmTheme", | |
| "findreplace_small": true, | |
| "font_size": 12.0, | |
| "ignored_packages": | |
| [ | |
| "Vintage", | |
| "Syntax Highlighting for Sass", | |
| "SublimeLinter" | |
| ], |
| /** | |
| * listener for pan gesture | |
| */ | |
| - (void)panListener | |
| { | |
| UIPanGestureRecognizer *panGestureRecognizer = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(panHandler:)]; | |
| [self.view addGestureRecognizer:panGestureRecognizer]; | |
| } | |
| /** |
| /*_________________________________________________________________ | |
| * | |
| * Examples | |
| *_________________________________________________________________ | |
| */ | |
| /** | |
| * Components | |
| */ | |
| this.props.actions.setProperties({ |
| /*_________________________________________________________________ | |
| * | |
| * Examples | |
| *_________________________________________________________________ | |
| */ | |
| /** | |
| * React Components | |
| */ | |
| this.props.actions.setProperties({ |
list all size of directory, sort by size
du -sh * | sort -hr
| import { isPlainObject } from 'lodash'; | |
| import { batchActions as batchActionsDefault } from 'redux-batched-actions'; | |
| const handleInnerAction = (action, getState) => { | |
| if (typeof action === 'function') { | |
| return new Promise(resolve => { | |
| const innerDispatch = innerAction => resolve(handleInnerAction(innerAction, getState)); | |
| action(innerDispatch, getState); | |
| }); | |
| } else if (isPlainObject(action)) { |