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
Option Explicit | |
'searchRangeの中からsearchWordを値として持つセルを返す | |
Public Function getTargetCell(searchWord As String, searchRange As Variant) As Range | |
Dim targetCell As Range | |
If searchWord <> "" Then | |
'対応する作業の行を取得 | |
Set targetCell = searchRange.Find(What:=searchWord) | |
If Not targetCell Is Nothing Then | |
Set getTargetCell = targetCell |
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
// execute 'brew install lame' before use this script | |
const fs = require('fs'), | |
path = require('path'), | |
execSync = require('child_process').execSync, | |
srcDir = process.argv[2] || '.', | |
dstDir = process.argv[3] || 'mp3'; | |
try{ fs.mkdirSync(dstDir); }catch(e){} | |
fs.readdir(srcDir, (err, files) => { |
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
package main | |
import ( | |
"io/ioutil" | |
"fmt" | |
) | |
func main(){ | |
addHeader("a,b,c", "test.csv") | |
} |
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
exports.handler = (a) => { | |
return a + a; | |
}; |
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
package main | |
import ( | |
"fmt" | |
"go/ast" | |
"go/parser" | |
) | |
import "golang.org/x/tools/go/loader" | |
func main() { |
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
package main | |
import ( | |
"fmt" | |
"go/ast" | |
"go/parser" | |
) | |
import "golang.org/x/tools/go/loader" | |
func main() { |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
[ | |
{ | |
"description": "test-description", | |
"id": "df9584e4-a230-4a56-9e2b-32c286d7c58d", | |
"title": "東京!!!!↔横浜!!!!", | |
"transportations": [ | |
{ | |
"arrival": "東京", | |
"departure": "横浜", | |
"destination": "どこかビル", |
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://github.com/mpppk/messagen | |
# https://qiita.com/mpppk/items/76298ac7ff9f2d31a0bf | |
Definitions: | |
- Type: Root | |
Templates: | |
- "{{.Intro}}{{.Main}}{{.Outro}}" | |
- Type: Intro | |
Templates: |
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
require 'json' | |
require 'open-uri' | |
require 'net/https' | |
class NicovideoAPIWrapper | |
def login(mail, password) | |
#ログインを試みる | |
https = Net::HTTP.new('secure.nicovideo.jp', 443) | |
https.use_ssl = true | |
https.verify_mode = OpenSSL::SSL::VERIFY_NONE |
OlderNewer