- 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/
This file contains 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
const points = { | |
'immortal': 7, | |
'diamond': 6, | |
'platinum': 5, | |
'gold': 4, | |
'silver': 3, | |
'bronze': 2, | |
'iron': 1, | |
}; |
This file contains 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
[ | |
{ | |
"paletteName": "gray", | |
"swatches": [ | |
{ | |
"name": "100", | |
"color": "#f7fafc" | |
}, | |
{ | |
"name": "200", |
This file contains 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
$sizeUnit: rem | |
$marginKey: "m" | |
$paddingKey: "p" | |
$separator: "-" | |
$sizes: ("none", 0), ("auto", auto), ("xxs", 0.125), ("xs", 0.25), ("sm", 0.5), ("md", 1), ("lg", 2), ("xl", 4), ("xxl", 8) | |
$positions: ("t", "top"), ("r", "right"), ("b", "bottom"), ("l", "left") | |
@function sizeValue($key, $value) | |
@return if($key == "none" or $key == "auto", $value, $value + $sizeUnit) |
This file contains 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
<html> | |
<head> | |
<style type="text/css"> | |
body{ | |
text-align: center; | |
font-family: sans-serif; | |
} | |
h1{ | |
font-size: 45px; | |
} |
$ sudo npm install -g hexo-cli
$ hexo -v
hexo-cli: 0.1.9
This file contains 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
{# find the children (subpages) of a parent page, in this case the "about" page #} | |
<ul> | |
{% for p in page.find('/about').children if p != page %} | |
<li><a href="{{p.url}}">{{ p.title }}</a></li> | |
{% endfor %} | |
</ul> | |
{# show all the pages with a certain category, in this case "cars" #} | |
<h2>All the CAR posts</h2> | |
<ul> |
NewerOlder