Skip to content

Instantly share code, notes, and snippets.

View Coordinate-Cat's full-sized avatar
🪫
harder, better, faster, stronger

Ocat Coordinate-Cat

🪫
harder, better, faster, stronger
View GitHub Profile
@for $i from 0 through 100 {
&.cell-#{$i * 5} {
width:round(percentage($i * 5/100));
}
}
// output↓
// html
class="cell-5"
class="cell-10"
@Coordinate-Cat
Coordinate-Cat / index.js
Last active April 7, 2021 09:41
microCMS api default
export default {
async asyncData({ $config, error }) {
try {
const { data } = await axios.get(
' URL ',
{ headers: { ' API NAME ': $config.apiKey } }
)
return data
} catch (err) {
error({
@Coordinate-Cat
Coordinate-Cat / setting.json
Last active April 7, 2021 09:40
Additional settings when tailwind intellisense's completion function is dead.
"editor.quickSuggestions": {
"strings": true
},
@Coordinate-Cat
Coordinate-Cat / shell
Last active April 7, 2021 09:40
vagrant inaccessible error
vagrant up
// → error
vagrant status
// Remove the target vm in virtualbox.
vagrant up
MTU:1454
DNS(primary):1.1.1.1
DNS(secondary):1.0.0.1
$ git clone https://github.com/username/repo.git
Username: your_username
Password: your_token
1.normal commit
2.Use `commit -amend` to specify a date in the past.
git commit --amend --date="Sun Nov 1 00:00:00 2021 +0900"
3.vim
ZZ
4.Use `GIT_COMMITTER_DATE` to specify a past date and change the `COMMITTER` commit date as well.
GIT_COMMITTER_DATE='Sun Nov 1 00:00:00 2021 +0900' git commit --amend
h1 h2 h3 h4 h5 h6 h7 h8 br b i strong em a pre code img tt
div ins del sup sub p ol ul table thead tbody tfoot blockquote
dl dt dd kbd q samp var hr ruby rt rp li tr td th s strike summary
details caption figure figcaption
abbr bdo cite dfn mark small span time wbr
FIXED version
Rank Username UserID GrossEarning
1 CriticalRole 229729353 9626712.16
2 xQcOW 71092938 8454427.17
3 summit1g 26490481 5847541.17
4 Tfue 60056333 5295582.44
5 NICKMERCS 15564828 5096642.12
6 ludwig 40934651 3290777.55
7 TimTheTatman 36769016 3290133.32
8 Altoar 29279425 3053839.94
# type-challenges
https://github.com/type-challenges/type-challenges
https://github.com/type-challenges/type-challenges/issues/created_by/Coordinate-Cat
## warm-up
### 13 - Hello World
https://github.com/type-challenges/type-challenges/issues/4653
## easy
### 4 - Pick