Skip to content

Instantly share code, notes, and snippets.

View sugimomoto's full-sized avatar

Kazuya Sugimoto sugimomoto

View GitHub Profile
@sugimomoto
sugimomoto / cdataapiscript.markdown
Last active December 10, 2023 02:38
独自スクリプト言語の VS Code Snippet を作ってみた:CData API Script #vscodejp
@sugimomoto
sugimomoto / Hajimete_id_Postman.markdown
Last active December 15, 2021 00:09
はじめてでも怖くない! Postman を使って、Web API を触ってみよう! #hajimete_it
@sugimomoto
sugimomoto / tagayasu_12_output_strategy.markdown
Last active May 8, 2021 14:22
地方エンジニアが実践するアウトプット継続のための2つの戦略 #タガヤス その12
@sugimomoto
sugimomoto / powerappscds.markdown
Last active May 8, 2021 14:22
PowerApps/CDS の WebAPI でアプリ接続をする方法 #PowerApps #CDS
@sugimomoto
sugimomoto / PowerPlatformWinterOsaka.markdown
Last active May 8, 2021 14:18
Power Platform のために押さえておくと嬉しい API のエコシステムのお話 #JPPUG #PowerPlatform #MSIgniteTheTour #MSIgnite #JPPUGWinter19
@sugimomoto
sugimomoto / datetimeformatter.swift
Created December 21, 2020 11:39
Datetime Formatter for Swift
import UIKit
/*
Date型から任意のフォーマットで文字列を生成する場合
*/
// Reference
// https://developer.apple.com/documentation/foundation/dateformatter
var date = Date()
@sugimomoto
sugimomoto / ZoomReplication.ps1
Created October 23, 2020 03:37
ZoomReplication
# ライブラリ読み込み
[void][System.Reflection.Assembly]::LoadWithPartialName("System.Data")
# DB接続
$connectionString = "DSN=CData API Zoom;"
$odbcCon = New-Object System.Data.Odbc.OdbcConnection($connectionString)
$odbcCon.Open()
# コマンドオブジェクト作成
$odbcCmd = New-Object System.Data.Odbc.OdbcCommand
@sugimomoto
sugimomoto / KING OF TIME.postman_collection.json
Created August 13, 2020 15:32
Postman Collection for KING OF TIME API
{
"info": {
"_postman_id": "56c4abe2-794a-4136-bbe7-c6313f0c2140",
"name": "KING OF TIME",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "企業情報データを取得",
"request": {
@sugimomoto
sugimomoto / SampleJRuby.rb
Created July 3, 2020 06:38
SampleJRuby.rb
require 'java'
require 'rubygems'
# CData Salesforce JDBC Driver のjarファイルパスを指定
require "C:/Program Files/CData/CData JDBC Driver for Salesforce 2019J/lib/cdata.jdbc.salesforce.jar"
# Salesforce への接続文字列を設定
url = "jdbc:salesforce:User=XXXX;Password=XXXX;Security Token=XXXX;"
conn = java.sql.DriverManager.getConnection(url)
stmt = conn.createStatement