- Text Content Generator - http://www.lipsum.com
- Favicon Generator - http://tools.dynamicdrive.com/favicon
- Data Generator - https://mockaroo.com/
- Mobile Mockup Generator - https://mockuphone.com
- Logo Generator - https://www.logaster.com
- UUID Generator - https://www.uuidgenerator.net/
- Hash Generator - https://passwordsgenerator.net/sha256-hash-generator/
- Ultimate Code Generator - https://webcode.tools/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| WEBGL // p5 WEBGL rendering mode. | |
| createCanvas(w, h, renderer) // Creates a 3D canvas (if renderer is WEBGL). | |
| // Primitives | |
| plane(width, height) // Creates a plane in 3D space. Equivalent to rect() in the default rendering mode. | |
| plane(width, height, detailX, detailY) // Creates a plane in 3D space with the number of triangle subdivisions specified. | |
| box(width) // Creates a cube in 3D space. | |
| box(width, height, depth) // Creates a cuboid in 3D space. | |
| box(width, height, depth, detailX, detailY) // Creates a cuboid in 3D space with triangle subdivisions. | |
| sphere(radius) // Creates a sphere in 3D space. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Created by user on 18/05/17. | |
| */ | |
| // Super useful for debug in web console | |
| function print_filter(filter){ | |
| var f=eval(filter); | |
| if (typeof(f.length) != "undefined") {}else{} | |
| if (typeof(f.top) != "undefined") {f=f.top(Infinity);}else{} | |
| if (typeof(f.dimension) != "undefined") {f=f.dimension(function(d) { return "";}).top(Infinity);}else{} | |
| console.log("DC DEBUG: "+filter+"("+f.length+") = "+JSON.stringify(f).replace("[","[\n\t").replace(/}\,/g,"},\n\t").replace("]","\n]")); |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function print_filter(filter) { | |
| var f=eval(filter); | |
| if (typeof(f.length) != "undefined") {}else{} | |
| if (typeof(f.top) != "undefined") {f=f.top(Infinity);}else{} | |
| if (typeof(f.dimension) != "undefined") {f=f.dimension(function(d) { return "";}).top(Infinity);}else{} | |
| console.log(filter+"("+f.length+") = "+JSON.stringify(f).replace("[","[\n\t").replace(/}\,/g,"},\n\t").replace("]","\n]")); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /usr/share/zoneinfo/Hongkong | |
| > Wed Jan 01 2014 00:00:00 GMT+0800 (HKT) | |
| > Mon Sep 01 2014 00:00:00 GMT+0800 (HKT) | |
| /usr/share/zoneinfo/Pacific/Easter | |
| > Wed Jan 01 2014 00:00:00 GMT-0500 (EASST) | |
| > Mon Sep 01 2014 00:00:00 GMT-0600 (EAST) | |
| /usr/share/zoneinfo/Pacific/Norfolk | |
| > Wed Jan 01 2014 00:00:00 GMT+1130 (NFT) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Returns an array of dates between the two dates | |
| function getDates (startDate, endDate) { | |
| const dates = [] | |
| let currentDate = startDate | |
| const addDays = function (days) { | |
| const date = new Date(this.valueOf()) | |
| date.setDate(date.getDate() + days) | |
| return date | |
| } | |
| while (currentDate <= endDate) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript"> | |
| // First let's create an array of JavaScript Date | |
| // objects. | |
| // More info about the Date class: | |
| // http://w3schools.com/js/js_obj_date.asp | |
| var dates = [ | |
| new Date(2010, 4, 10, 10, 07, 16), | |
| new Date(2010, 4, 8, 9, 16, 09), | |
| new Date(2010, 3, 30, 0, 15, 49), |
NewerOlder