Skip to content

Instantly share code, notes, and snippets.

View Rinatamu's full-sized avatar
🤩
Happy

Rinatamu (Ryota Nakamura) Rinatamu

🤩
Happy
View GitHub Profile
@Rinatamu
Rinatamu / Sentreseau_CTO_Introduce.md
Last active February 9, 2023 08:09
Sentreseau Ryota Nakamura Introduce

日本語紹介

クラウドサービスを用いた、「誰もが主役になれる世界」を目指して活動しています。

はじめに

この度は、私と名刺交換・もしくは登壇資料をご覧頂きましてありがとうございます。
私、株式会社ソントレーゾのCTOをしております、中村亮太と申します。

@Rinatamu
Rinatamu / GM365DevBootcamp_MGraphAPI.md
Last active November 24, 2019 07:56
Global Microsoft 365 Developer Bootcamp 2019 Tokyo:Microsoft Graph API
@Rinatamu
Rinatamu / main.py
Last active December 24, 2018 09:24
【成功しました】PowerBI のリアルタイムデータセットにM5Stackから直接データをぶん投げてみた ref: https://qiita.com/rnakamuramartiny/items/243fbc380be8c1fa3b5f
from m5stack import *
import time
import ujson
import urequests
import machine
lcd.setCursor(0, 0)
lcd.setColor(lcd.WHITE)
lcd.font(lcd.FONT_DejaVu24)
lcd.clear()
@Rinatamu
Rinatamu / file0.txt
Created December 5, 2018 04:00
PowerApps で Twitter クライアントを作ろう!(投稿編) ref: https://qiita.com/rnakamuramartiny/items/e5bd413b9e6a95e7642b
Twitter.Tweet(UploadedImage1.Image,{tweetText:"ツイートテキスト")})
$Face_API_KEY = '<FaceAPI Key>'
$URL = 'https://japaneast.api.cognitive.microsoft.com/face/v1.0/detect?returnFaceId=true&returnFaceLandmarks=true&returnFaceAttributes=age,gender,smile,facialHair,headPose,glasses,emotion,hair,makeup,accessories,blur,exposure,noise'
$image = '<FaceAPIに投げるファイルのフルパス>'
$headers = @{
'Ocp-Apim-Subscription-Key' = $Face_API_KEY
'Accept' = 'application/json'
'Content-Type' = 'application/octet-stream'
}
$result = Invoke-RestMethod `
@Rinatamu
Rinatamu / Htmltext1(HtmlText)
Last active October 18, 2018 07:57
PowerApps GameDev#3 カメラ画像の上にイメージをオーバーレイする ref: https://qiita.com/rnakamuramartiny/items/8f812b886a616329c713
"<div style='
position: absolute;
top: 0%;
left: "& Slider1.Value &"%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
width: 50%;
height: auto;
'><img src='https://1.bp.blogspot.com/-sT0aNSDSNd8/W6DT3AoIEtI/AAAAAAABO_4/OH0B97M-Hu8lyzYFM6V1m-z0qCx-WV_bgCLcBGAs/s800/talk4_green_man.png'>
@Rinatamu
Rinatamu / file0.txt
Last active October 15, 2018 10:53
PowerApps GameDev#2 指定したレコード数のデータセットを作成し、古いデータから消していく方法 ref: https://qiita.com/rnakamuramartiny/items/ea532b5352f912a71f24
Collect(Data,{param:RoundDown((Rand()*255),0)});
@Rinatamu
Rinatamu / Score_Seg_1(Image)
Created October 10, 2018 03:08
PowerApps GameDev#1 スコア表示フォントをゲームっぽいものにしてみる ref: https://qiita.com/rnakamuramartiny/items/c95a46eec0d189471926
Switch(Value(Mid(Text(score),Len(Text(score)),1)),
0,ScoreFont_0_Black,
1,ScoreFont_1_Black,
2,ScoreFont_2_Black,
3,ScoreFont_3_Black,
4,ScoreFont_4_Black,
5,ScoreFont_5_Black,
6,ScoreFont_6_Black,
7,ScoreFont_7_Black,
8,ScoreFont_8_Black,
@Rinatamu
Rinatamu / file0.txt
Last active September 30, 2018 14:21
【備忘録】Excelから関数型言語マスター3回目:WebにDBデータ表示 で詰まったところまとめ(Mac) ref: https://qiita.com/rnakamuramartiny/items/0df79ae24a78e4d79a7d
brew install elixir
@Rinatamu
Rinatamu / 1P_ATK_Botton(OnSelect)
Last active September 12, 2018 00:37
PowerAppsでバトルゲームを作ろう!(その2:戦闘画面) ref: https://qiita.com/rnakamuramartiny/items/ded3774e698a3b4351d8
UpdateContext({'1P_Attack_Ponit':(1P_PWR-2P_DFS)+Round((Rand()*5)*'1P_Rand_Times',0)});
If('1P_Attack_Ponit'>0,UpdateContext({'2P_Current_HP':('2P_Current_HP'-'1P_Attack_Ponit')}),"");
UpdateContext({'1PTurn':false,'2PTurn':true})