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
// modules/_home.scss | |
.home {} | |
// modules/home/_header.scss | |
.home-header {} | |
// modules/home/_main.scss | |
.home-main {} |
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
// no | |
.sign-in--new-user { | |
.sign-in__submit {} | |
// N more rules | |
} | |
// yes | |
.sign-in__submit { | |
background-color: blue; |
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
<style> | |
.sign-in { | |
border: 1px solid black; | |
} | |
.sign-in.is-unavailable { | |
background-color: #eee; | |
} | |
</style> |
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
#!/bin/bash | |
for file in "$@"; do | |
eval "$(stat -s "$file")" | |
formatted_date=$(date -r "$st_ctime" '+%Y-%m-%d_%H-%M-%S') | |
echo mv -v "$file" "${formatted_date}.jpg" | |
done |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>Household costs calculator</title> | |
<style> | |
* { | |
box-sizing: border-box; | |
} |
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
import Quill from 'quill/core' | |
import BlockquoteFormat from 'quill/formats/blockquote' | |
import BoldFormat from 'quill/formats/bold' | |
import HeaderFormat from 'quill/formats/header' | |
import ItalicFormat from 'quill/formats/italic' | |
import LinkFormat from 'quill/formats/link' | |
import ListFormat, { ListItem as ListItemFormat } from 'quill/formats/list' | |
import StrikeFormat from 'quill/formats/strike' | |
import UnderlineFormat from 'quill/formats/underline' |
OlderNewer