- Gruntを使っていない or 聞いたことがない人
- IDEやエディタ経由でCoffeeScriptやSassなどのコンパイルをしている人
- ブラウザの更新ボタンを押しながら開発している人
- minifyとかを手動でやっている人
ちなみにVimの話じゃないです。
{"lastUpload":"2020-02-20T10:26:05.289Z","extensionVersion":"v3.4.3"} |
object Main extends App{ | |
def pir(n: Int): Iterable[String] = { | |
import scala.math._ | |
for ( | |
i <- (-n to n); | |
height = n - abs(i) | |
if (height > 0) | |
) yield "o" * height | |
} |
object Main { | |
def arithmeticSequence(n: Int, d: Int = 1): List[Int] = { | |
require(n > 0) | |
@scala.annotation.tailrec | |
def f(i: Int, acc: List[Int]): List[Int] = i match { | |
case 0 => acc | |
case _ => f(i - 1, i * d :: acc) | |
} | |
f(n, Nil) |
# coding: utf-8 | |
import numpy | |
import pickle | |
import json | |
path = "" # pickleファイルのpath | |
with open(path, 'rb') as f: | |
network = pickle.load(f) | |
# 以下のようなnumpy配列を含むようなデータを想定 |
// Amethystと併用を前提 | |
// Amethystの「Display current layout」をオフにすること | |
var util = { | |
// alt + shift + .. | |
key: function(k, mod) { | |
return k + ':alt,shift' + (mod ? ',' + mod : ''); | |
} | |
}; |
USER_ID = "qiitaのユーザ名" | |
PASSWORD = "qiitaのパスワード" | |
# initialize {{{ | |
page = require("webpage").create() | |
fs = require("fs") | |
page.onConsoleMessage = (msg) -> console.log("CONSOLE: " + msg) | |
# ページが読み込まれたら page.onCallback を呼ぶ |
import std.stdio; | |
import std.conv; | |
import std.range; | |
import std.array; | |
import std.string; | |
import std.algorithm; | |
import std.typecons; | |
alias Tuple!(int, "x", int, "y") P; | |
import std.stdio; | |
import std.range; | |
import std.algorithm; | |
void main() | |
{ | |
auto target = 13; | |
auto ns = [1, 2, 4, 7]; |
import std.stdio; | |
import std.algorithm; | |
import std.range; | |
void main() | |
{ | |
auto str_list = [ | |
"abcdefg", | |
"dlang", | |
"qwerty", |