Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| var crypto = require('crypto'); | |
| var assert = require('assert'); | |
| function mcHexDigest(str) { | |
| var hash = new Buffer(crypto.createHash('sha1').update(str).digest(), 'binary'); | |
| // check for negative hashes | |
| var negative = hash.readInt8(0) < 0; | |
| if (negative) performTwosCompliment(hash); | |
| var digest = hash.toString('hex'); | |
| // trim leading zeroes |
| According to all known laws of aviation, there is no way a bee should be able to fly. | |
| Its wings are too small to get its fat little body off the ground. | |
| The bee, of course, flies anyway because bees don't care what humans think is impossible. | |
| Yellow, black. Yellow, black. Yellow, black. Yellow, black. | |
| Ooh, black and yellow! | |
| Let's shake it up a little. | |
| Barry! Breakfast is ready! | |
| Coming! | |
| Hang on a second. | |
| Hello? |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
<Spigot_Server>/plugins/dynmap/custom-perspectives.txt should exist.perspectives: add the following lines of text. - class: org.dynmap.hdmap.IsoHDPerspective
name: nether_top_map_lowres
maximumheight: 256
minimumheight: 129
inclination: 90feat: new featurefix(scope): bug in scopefeat!: breaking change / feat(scope)!: rework APIchore(deps): update dependenciesbuild: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)ci: Changes to CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)chore: Changes which doesn't change source code or tests e.g. changes to the build process, auxiliary tools, libraries