vim /etc/supervisor/worker.conf
- Update config
sudo supervisorctl reread
sudo supervisorctl update
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
# 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 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 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 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 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 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 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: { |
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
<?php | |
$subject = 'Temat wiadomości'; | |
$recipient = '[email protected]'; | |
$output = [ | |
'success' => 'Dziękujemy za wiadomość.', | |
'error' => 'Coś poszło nie tak. Spróbuj ponownie.', | |
]; |
NewerOlder