クラウドサービスを用いた、「誰もが主役になれる世界」を目指して活動しています。
この度は、私と名刺交換・もしくは登壇資料をご覧頂きましてありがとうございます。
私、株式会社ソントレーゾのCTOをしております、中村亮太と申します。
クラウドサービスを用いた、「誰もが主役になれる世界」を目指して活動しています。
この度は、私と名刺交換・もしくは登壇資料をご覧頂きましてありがとうございます。
私、株式会社ソントレーゾのCTOをしております、中村亮太と申します。
Microsoft Graph API
Global Microsoft 365 Developer Bootcamp 2019 Tokyo
| 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() |
| 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 ` |
| "<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'> |
| Collect(Data,{param:RoundDown((Rand()*255),0)}); |
| 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, |
| brew install elixir |
| 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}) |