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
Param( | |
# On or Off | |
[Parameter(Mandatory=$true)][ValidateSet("On", "Off")][string] $state | |
) | |
$clientToken = "<client token>"; | |
$clientSecret = "<client secret>"; | |
$plugMiniDeviceIds = ("<device id 1>", "<device id 2>"); | |
$apiEndpoint = "https://api.switch-bot.com/v1.1/" |
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
public class main{ | |
public static void Main(){ | |
initM(); | |
for(int i=0; i<=10; i++){ | |
System.Console.WriteLine($"{i}:{M(i)}"); | |
} | |
} | |
private static int[] m = new int[11]; | |
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
MIT License | |
Copyright (c) 2020 rioil | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
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
make: *** 未完了のジョブを待っています.... | |
make: *** [out/target/product/BEJ2/obj/GYP/shared_intermediates/android_webview/jni/InputStream_jni.h] Error 1 | |
make: *** [out/target/product/BEJ2/obj/GYP/shared_intermediates/android_webview/jni/CancellationSignal_jni.h] Error 1 | |
Traceback (most recent call last): | |
File "../../base/android/jni_generator/jni_generator.py", line 1103, in <module> | |
sys.exit(main(sys.argv)) | |
File "../../base/android/jni_generator/jni_generator.py", line 1099, in main | |
GenerateJNIHeader(input_file, output_file, options) | |
File "../../base/android/jni_generator/jni_generator.py", line 1012, in GenerateJNIHeader | |
jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, options) |