(?:class|className)=(?:["']\W+\s*(?:\w+)\()?["']([^'"]+)['"]
docker stack deploy -c <(docker-compose -f docker-compose.yaml config) {stack name}
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
<?php | |
/** | |
* Prevent update notification for plugin - | |
* http://www.thecreativedev.com/disable-updates-for-specific-plugin-in-wordpress/ | |
* Add to the core plugin file | |
*/ | |
function disable_plugin_updates( $value ) { | |
if ( isset($value) && is_object($value) ) { | |
$plugin_file_name = basename(__DIR__) . '/' . basename(__FILE__); | |
if ( isset( $value->response[$plugin_file_name] ) ) { |
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
<?php | |
/** | |
* Plugin Name: MU plugins subdirectory loader | |
* Plugin URI: http://code.ctlt.ubc.ca | |
* Description: Enables the loading of plugins sitting in mu-plugins (as folders) | |
* Version: 0.1 | |
* Author: iamfriendly, CTLT | |
* Author URI: http://ubc.ca/ | |
* |
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
test: | |
git push upstream release/$v | |
release: | |
git commit -m ":memo: $v changelog" | |
git checkout main | |
git merge --no-ff release/$v -m ":bookmark: $v" | |
git tag -a $v -m "Release $v" | |
git checkout develop | |
git merge --no-ff release/$v -m ":bookmark: merge $v to develop" | |
git push origin develop |
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
// base | |
.target { | |
max-height: 0; | |
} | |
@keyframes accordionIn { | |
0% { | |
opacity: 0; | |
transform: scale(0.9) rotateX(-60deg); |
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
&::-webkit-scrollbar { | |
height: 3px; | |
} | |
&::-webkit-scrollbar-track { | |
background-color: #fff; | |
} | |
&::-webkit-scrollbar-thumb { | |
background: #ddd; | |
border-radius: 10px; | |
} |
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 textDecoration($bg: var(--bg0), $color: currentColor, $space: 2px) { | |
// box-shadow & text-shdaow를 이용한 text-decoration 구성 | |
// 참고: https://codepen.io/999hyeon/pen/QWpVOgL | |
text-shadow: -#{$space} -#{$space} #{$bg}, -#{$space} #{$space} #{$bg}, | |
#{$space} -#{$space} #{$bg}, #{$space} #{$space} #{$bg}; | |
box-shadow: inset 0 -0.05em #{$bg}, inset 0 -0.1em #{$color}; | |
display: inline; | |
} |
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 gap($size: 1em, $direction: y) { | |
--gap: #{$size}; | |
@supports (gap: var(--gap)) { | |
gap: var(--gap); | |
} | |
@supports not (gap: var(--gap)) { | |
> *:not(:last-child) { | |
@if $direction == x { | |
margin-right: var(--gap); | |
} |
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
(id|class)="[^"]+" |