Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| #!/usr/bin/env ruby | |
| # encoding: utf-8 | |
| # By Uğur Özyılmazel, @vigobronx | @ugurozyilmazel | |
| # http://vigodome.com | http://ugur.ozyilmazel.com | http://github.com/vigo | |
| def get_paged_memory_usage(match_string, paging=4096) | |
| mvar = 3 | |
| if match_string.split(/[^\w]/).length > 1 | |
| mvar = 4 |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
Based on this amazing Dribbble shot by Nicholas - https://dribbble.com/shots/3774469-T-R-A-V-E-L-E-R
A Pen by Nikolay Talanov on CodePen.
| export function range(start, stop, step = 1, circularFill = false, map = (value) => value) { | |
| if (typeof stop === 'undefined') { | |
| stop = start; | |
| start = 0; | |
| } | |
| if (step > 0 && start >= stop) { | |
| step = -step; | |
| } |
| define(function (require, exports, module) { | |
| /** | |
| * | |
| * simple stagger function | |
| * | |
| * TODO: add option for a timing function... will require changing @arg interval to duration | |
| * | |
| * */ | |
| return function (targets, interval, action, delay) { |
Codevember day 4: sapphire! Uses the Web Animations API, so if it doesn't work in your browser, that's why.
Click anywhere to see the effect.
A Pen by Adrian C Miranda on CodePen.
| # Add these lines to your dockerfile, before `npm install` | |
| # Copy the bitbucket private key to your docker image | |
| COPY ./bitbucket_ssh_key /opt/my-app | |
| # Copy the ssh script to your docker image | |
| COPY ./ssh-bitbucket.sh /opt/my-app | |
| # Tell git to use your `ssh-bitbucket.sh` script | |
| ENV GIT_SSH="/opt/map-project-tile-server/ssh-bitbucket.sh" |
| ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/id_rsa | |
| ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/github_rsa | |
| ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/mozilla_rsa |
| /* | |
| * PixiJS Background Cover/Contain Script | |
| * Returns object | |
| * . { | |
| * container: PixiJS Container | |
| * . doResize: Resize callback | |
| * } | |
| * ARGS: | |
| * bgSize: Object with x and y representing the width and height of background. Example: {x:1280,y:720} | |
| * inputSprite: Pixi Sprite containing a loaded image or other asset. Make sure you preload assets into this sprite. |