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
| @mixin grid($columns: 12, $use-classes: false) { | |
| .grid { | |
| display: grid; | |
| grid-template-columns: repeat($columns, 1fr); | |
| } | |
| .grid > * { | |
| order: $columns + 1; | |
| } | |
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
| # Outputs: | |
| # [Jun 08 13:45] user:/cwd $ | |
| # Date is dimmed white, user is bold green, colon is white, cwd is bold green, prompt is white | |
| PS1="\[\e[02;37m\][\D{%b %d} \A]\[\e[00m\] \[\e[01;32m\]\u\[\e[00m\]:\[\e[01;34m\]\w\[\e[00m\] $" |
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 | |
| while [[ $# -gt 0 ]]; do | |
| case $1 in | |
| -h|--help) | |
| echo "This script lists Git branches whose upstream tracking branches no longer exist (are \"[gone]\") and that have no upstream tracking branch." | |
| echo "It will ask for confirmation to delete branches from each group." | |
| echo "While the script can live anywhere, it will work on the current working directory's Git repository." | |
| echo "" | |
| exit 0 |
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
| javascript: var defaultEmail=""; var email=window.prompt("Email to send data to:", defaultEmail);var lib=JSON.stringify(localStorage.getItem('5em-library')); var party=JSON.stringify(localStorage.getItem('5em-party-info')); var players=JSON.stringify(localStorage.getItem('5em-players')); var body = "http://kobold.club/\n\nlocalStorage.setItem('5em-library', "+lib+");localStorage.setItem('5em-party-info', "+party+");localStorage.setItem('5em-players', "+players+");"; var link=document.createElement('a');link.setAttribute('href',"mailto:"+email+"?subject=Kobold%20Club%20export&body="+encodeURIComponent(body));var body=document.querySelector("body");body.appendChild(link);link.click(); |
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
| @mixin flex-container($dir: row nowrap, $align: stretch) { | |
| $ios_orient: horizontal; | |
| $ios_lines: multiple; | |
| @if nth($dir, 1) == column { | |
| $ios_orient: vertical; | |
| } | |
| @if length($dir) > 1 and nth($dir, 2) == nowrap { | |
| $ios_lines: single; | |
| } |