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
$my-icons-spacing: 10px; // give some space to avoid little pixel size issues on resize | |
@import "my-icons/*.png"; | |
$my-icons-sprite-dimensions: true; | |
@include all-my-icons-sprites; | |
// the fun part |
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: ubuntu:latest | |
cache: | |
paths: | |
# - vendor/ | |
- .apt | |
- node_modules | |
deploy_godaddy: | |
stage: deploy | |
environment: Production |
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
// 修改前 | |
function solution(S, K) { | |
const d = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] | |
const nowDat = d.findIndex(item => item === S) | |
const add = K % 7 | |
if (add <= 6 - nowDat) { | |
return d[nowDat + add] | |
} | |
return d[add - (6 - nowDat + 1)] |