brew install nginx
Configuration file for nginx will be at /usr/local/etc/nginx/nginx.conf
Web apps can be stored at /usr/local/var/www
Start:
| /** | |
| * @title objectUtils.js | |
| * @description magical comprehensions for JS Object instances | |
| * @author Max L Dolgov, plugn@github.com | |
| * | |
| * Here is `var` keyword for ability to re-declare functions, | |
| * it makes tweaking functions in browser console possible. | |
| * | |
| */ |
| /** | |
| * php.es6 | |
| * @description PHP functions implemented in JavaScript/ES6 | |
| * @author Max L Dolgov <bananafishbone@gmail.com> | |
| */ | |
| function count(value) { return value.length } | |
| function chr(num) { return String.fromCharCode(num) } | |
| function ord(str) { return String(str).charCodeAt(0) } | |
| function trim(str) { return String(str).trim() } | |
| function substr(str, start, length) { return String(str).substr(start, length) } |
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <!-- HBox and VBox layouts have been implementated with many libraries/toolkits on | |
| different platforms and languages (like ExtJS,QT,GTK,.NET...). | |
| This tries to achieve the same but with CSS only. | |
| Supported browsers: IE 10+, Safari 6.1, Latest FF, Chrome --> | |
| <style type="text/css"> | |
| html, body { |
| var sample = { | |
| el: { | |
| upload: 'Upload file', | |
| filterPopover: { | |
| apply: 'Apply' | |
| }, | |
| rightholdersItem: { | |
| cardInterestedParty: 'Interested Party', | |
| documents: 'Documents', | |
| catalog: 'Catalogue' |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>header</title> | |
| <style id="jsbin-css"> | |
| .flex-row { | |
| display: flex; | |
| flex-direction: row; |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| <template> | |
| <div class="ui icon input"> | |
| <input | |
| :placeholder="placeholder" | |
| :value="value" | |
| @input="onInput" | |
| @blur="onBlur" | |
| ref="input" | |
| /><i | |
| class="icon" :class="value ? 'close link' : icon" |