You can add the gcd
script to your local bin path or you can add the followin snippet to your bash .profile
or zsh .zshrc
file.
function gcd {
REPO=$1
CLONEPATH=$2
if [ -z $CLONEPATH ]; then
// tailwind.config.js | |
const plugin = require('tailwindcss/plugin'); | |
module.exports = { | |
theme: { | |
fontFamily: { | |
sans: ['Roboto Condensed'], | |
}, | |
}, | |
plugins: [ | |
plugin(({ addBase }) => { |
// from https://blog.tailwindcss.com/tailwindcss-2-2#sibling-selector-variants | |
// add your desired variant 'peer-checked' | |
// | |
// Just like group can be combined with any other variant, peer can as well, | |
// so you have variants like peer-hover, peer-focus, peer-disabled, and loads more at your fingertips. | |
const plugin = require('tailwindcss/plugin'); | |
const peer = plugin.withOptions(function (options) { | |
return function ({ addVariant, config }) { | |
const prefixSelector = function (prefix, selector) { |
// Inherits padding and border settings from your tailwind config to provide alternate padding utilities, | |
// which account for border sizes using the css calc() function. | |
// | |
// Usage: <div class="abds-pt-2-border-2" = "padding-top: calc(0.5rem - 2px);" | |
const _ = require('lodash'); | |
const { borderWidth } = require('tailwindcss/defaultTheme'); | |
module.exports = function () { | |
return function ({ addUtilities, e, config }) { | |
const paddings = config('theme.paddingBorder.padding', config('theme.padding', {})); |
// .storybook/main.js | |
module.exports = { | |
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'], | |
addons: [ | |
'@storybook/addon-links', | |
'@storybook/addon-essentials' | |
], | |
}; |
M221 T0 S100 ;reset flow | |
M104 S0 ;turn off hotend | |
M140 S0 ;turn off bed | |
M107 ;turn off fan | |
G91 ;set relative positioning | |
G1 E-1 F300 ;retract extruder slightly | |
G1 Z+150 E-5 X-20 Y-20 F9000.00 ;move z down, retract warm, move nozzle away | |
G28 X Y ;home x, y | |
M84 ;disable steppers | |
G90 ;reset absolute |
{ | |
"version": 1.1, | |
"atDirectives": [ | |
{ | |
"name": "@tailwind", | |
"description": "Use the `@tailwind` directive to insert Tailwind's `base`, `components`, `utilities` and `screens` styles into your CSS.", | |
"references": [ | |
{ | |
"name": "Tailwind Documentation", | |
"url": "https://tailwindcss.com/docs/functions-and-directives#tailwind" |
// example tailwind.config.js | |
// ... | |
// theme: { | |
// readableText: { | |
// level: 'AAA', | |
// size: 'small' | |
// }, | |
// } | |
// ... | |
// |
# This file contains common pin mappings for the BIGTREETECH SKR V1.3 | |
# board. To use this config, the firmware should be compiled for the | |
# LPC1768. | |
# See the example.cfg file for a description of available parameters. | |
[stepper_x] | |
step_pin: P2.2 | |
dir_pin: !P2.6 | |
enable_pin: !P2.1 |
$variables: ( | |
"screens": ( | |
"sm": "640px", | |
"md": "768px", | |
"lg": "1024px", | |
"xl": "1280px" | |
), | |
"colors": ( | |
"transparent": "transparent", | |
"black": "#000", |