Define a webpack plugin that pulls version information from package.json.
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
| /** | |
| # bash | |
| # Mac-specific | |
| cd /Applications | |
| ./BrowserStackLocal --key [your browserstack key] --local-identifier PatternLab | |
| */ | |
| var webdriver = require('selenium-webdriver'), | |
| By = webdriver.By; |
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
| # SYNTAX: | |
| var pattern = new RegExp(pattern, attributes); # attributes: g (global); i (case-sensitive); m (multiline matches) | |
| var pattern = /pattern/attributes; # same as above | |
| # BRACKETS: | |
| [...]: Any one character between the brackets. | |
| [^...]: Any one character not between the brackets. |
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
| # | |
| # Aliases | |
| # (sorted alphabetically) | |
| # | |
| alias g='git' | |
| alias ga='git add' | |
| alias gaa='git add --all' | |
| alias gapa='git add --patch' |
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
| #!/bin/bash | |
| # Stop all containers | |
| docker stop $(docker ps -a -q) | |
| # Delete all containers | |
| docker rm $(docker ps -a -q) | |
| # Delete all images | |
| docker rmi $(docker images -q) |
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
| git log --no-merges --since='01-01-2019' --pretty=format:%h,%ad,%an,%ae,%s > history.csv |
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> | |
| import SvelteMarkdown from 'svelte-markdown' | |
| import Link from "../components/markdown/Link.svelte"; | |
| export let data; | |
| const { title } = data; | |
| </script> | |
| <SvelteMarkdown |
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
| :root { | |
| --base-color: #444484; | |
| --highlight-base-color: #FA6E23; | |
| --base-color-h: var(--base-color); /* Extract hue from the base color */ | |
| --base-color-l: var(--base-color); /* Extract lightness from the base color */ | |
| --base-color-s: var(--base-color); /* Extract saturation from the base color */ | |
| /* Adjust the step for lighter and darker shades */ | |
| --lightness-step: 15; |
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
| .GitHub { | |
| width: 100%; | |
| display: flex; | |
| justify-content: center; | |
| margin-bottom: -69px; | |
| } | |
| .sr-only { | |
| display: none; | |
| } |
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
| { | |
| "config": { | |
| "commit-prompt": { | |
| "questions": [ | |
| { | |
| "name": "type", | |
| "placeHolder": "Select the type of change you are committing (type)", | |
| "type": "oneOf", | |
| "scopes": [ | |
| { |