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
name: ブラウザのFetch APIで天気情報を取得してみよう | |
description: Create a new snippet from a blank template. | |
host: EXCEL | |
api_set: {} | |
script: | |
content: > | |
$("#run").click(() => tryCatch(run)); | |
type weather = { |
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
" set encoding=utf-8 | |
scriptencoding utf-8 | |
" ↑1行目は読み込み時の文字コードの設定 | |
" ↑2行目はVim Script内でマルチバイトを使う場合の設定 | |
" Vim scritptにvimrcも含まれるので、日本語でコメントを書く場合は先頭にこの設定が必要になる | |
"---------------------------------------------------------- | |
" NeoBundle | |
"---------------------------------------------------------- | |
if has('vim_starting') |
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
name: Excel JavaScript API Demo | |
description: 広島ITエンジニア合同忘年会2022 LT | |
host: EXCEL | |
api_set: {} | |
script: | |
content: > | |
$("#run_sql").click(() => tryCatch(runSql)); | |
type student = { |
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
name: Excel JavaScript API Demo (1) | |
description: 広島ITエンジニア合同忘年会2022 LT | |
host: EXCEL | |
api_set: {} | |
script: | |
content: > | |
$("#run_sql").click(() => tryCatch(runSql)); | |
type student = { |
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
name: Excel_JavaScriptAPI_SQL | |
description: Excel JavaScriptAPIでSQL | |
host: EXCEL | |
api_set: {} | |
script: | |
content: > | |
$("#run").click(() => tryCatch(run)); | |
type student = { |
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
name: TDD | |
description: Test Driven Development | |
host: EXCEL | |
api_set: {} | |
script: | |
content: | | |
$("#run").click(() => tryCatch(run)); | |
(() => { | |
const add = (x, y) => x + y; |
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
# %% | |
# Doctest | |
import doctest | |
from matplotlib.style import context | |
def add(a, b): | |
"""Return the sum of a and b. |
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
var assert = require("assert"); | |
//var _ = require("/Users/kakim/scoop/apps/nvm/current/nodejs/v12.21.0/node_modules/underscore"); | |
//var _ = require("/Users/kakim/scoop/apps/nvm/current/nodejs/v16.3.0/node_modules/underscore"); | |
var _ = require("/usr/local/lib/node_modules/underscore"); | |
var lyrics = []; | |
for (var bottles = 99; bottles > 0; bottles--) { | |
lyrics.push(bottles + " 本のビールが残っている"); | |
lyrics.push(bottles + " 本のビールが"); |
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
//https://www.canit.jp/category/intro/sql | |
const assert = require("assert"); | |
const student = [ | |
{ | |
id: 1, | |
name: "佐藤", | |
age: 12, | |
gender: "男", | |
test_score: 89, |
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
set encoding=utf-8 " バッファ内で扱う文字コード | |
"---------------------------------------------------------- | |
" パッケージマネージャ | |
"---------------------------------------------------------- | |
if &compatible | |
set nocompatible | |
endif | |
" add the dein installation directory into runtimepath | |
set runtimepath+=~/.cache/dein/repos/github.com/Shougo/dein.vim | |
if dein#load_state('~/.cache/dein') |
NewerOlder