Skip to content

Instantly share code, notes, and snippets.

View isuke's full-sized avatar
🎵
Listening to music, and coding

FUJIYAMA Isuke isuke

🎵
Listening to music, and coding
View GitHub Profile
/**
* テキストを右端で折り返す
*/
@mixin text-break() {
text-wrap: normal;
word-wrap: break-word;
white-space: pre-wrap;
}
/**
{
"files.insertFinalNewline": true,
"[csv]": {
"files.insertFinalNewline": false
},
"[tsv]": {
"files.insertFinalNewline": false
}
}
{"lastUpload":"2021-07-07T12:26:00.047Z","extensionVersion":"v3.4.3"}
<template lang="pug">
.flexible-image(:style="{width: width + unit, height: height + unit}")
img.image(:src="imageUrl" :style="{width: fixedWidth + unit, height: fixedHeight + unit}")
</template>
<script>
export default {
props: {
imageUrl: {
type: String,
12345678.to_s.reverse.scan(/.{1,3}/).join(',').reverse # => "12,345,678"

monokai

  • comment
  • constant.character
  • constant.language
  • constant.numeric
  • constant.numeric.line-number.find-in-files - match
  • constant.other
  • entity.name.class
  • entity.name.filename.find-in-files
{
"printWidth": 160,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": false,
"quoteProps": "consistent", // TODO
"trailingComma": "all",
"bracketSpacing": true,
"jsxBracketSameLine": false, // TODO
{
"extends": ["stylelint-prettier/recommended"]
}
# use coffeescript
*.vue
@isuke
isuke / memo.md
Last active November 10, 2018 06:00
11/10