vim /etc/supervisor/worker.conf
- Update config
sudo supervisorctl reread
sudo supervisorctl update
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
import { glob } from "glob" | |
import { readFileSync, writeFileSync } from "node:fs" | |
// Bootstrap to Tailwind utility class mappings | |
const utilityMappings = { | |
// Spacing | |
"m-0": "m-0", | |
"m-1": "m-1", | |
"m-2": "m-2", | |
"m-3": "m-3", |
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
# touch ~/mx-keys-remap.sh | |
#!/usr/bin/env bash | |
hidutil property --set '{"UserKeyMapping": | |
[{"HIDKeyboardModifierMappingSrc":0x7000000e7, | |
"HIDKeyboardModifierMappingDst":0x7000000e6}] | |
}' | |
# chmod +x ~/mx-keys-remap.sh |
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
image: node:latest | |
cache: | |
paths: | |
- node_modules/ | |
stages: | |
- lint | |
lint: |
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
const { extendDefaultPlugins } = require("svgo") | |
module.exports = { | |
plugins: extendDefaultPlugins([ | |
{ | |
name: "removeViewBox", | |
active: false, | |
}, | |
]), | |
} |
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
version: 2 | |
jobs: | |
build: | |
docker: | |
- image: circleci/php:7.2-node-browsers | |
working_directory: ~/repo | |
steps: | |
- checkout |
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
<template> | |
<html-fragment :html="icon" /> | |
</template> | |
<script> | |
import axios from "axios" | |
export default { | |
props: { | |
name: String, |
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
const lottieIeFixer = (el, perspective = 'width') => { | |
if (!window.navigator.userAgent.includes('Windows') && !window.navigator.userAgent.includes('rv:11.0')) { | |
return; | |
} | |
const $el = $(el); | |
const width = $el.width(); | |
const height = $el.height(); | |
const $svg = $el.find('svg'); |
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
import debounce from 'lodash/debounce'; | |
export default { | |
data() { | |
return { | |
loading: false, | |
query: null, | |
}; | |
}, | |
watch: { |
NewerOlder