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
import java.io.{ByteArrayInputStream, ByteArrayOutputStream, ObjectInputStream, ObjectOutputStream} | |
import java.util.Base64 | |
import scala.quoted.* | |
object AutoLift { | |
trait SerializingAutoLift[T] extends ToExpr[T] { | |
def apply(x: T)( | |
using | |
Quotes |
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
import javax.crypto.Cipher; | |
val maxKeyLen = Cipher.getMaxAllowedKeyLength("AES") | |
println(maxKeyLen) |
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
import dronekit | |
import pexpect | |
import sys | |
import time | |
from dronekit_sitl import SITL | |
sys.path.append('/home/peng/.spookystuff/pythonpath') | |
import os | |
sitl_args = ['--model', 'quad', '--home=-35.363261,149.165230,584,353'] |
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
import dronekit | |
import pexpect | |
import sys | |
import time | |
from dronekit_sitl import SITL | |
sys.path.append('/home/peng/.spookystuff/pythonpath') | |
import os | |
sitl_args = ['--model', 'quad', '--home=-35.363261,149.165230,584,353'] |
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
:init | |
The build file 'build.gradle' already exists. Skipping build initialization. | |
:init SKIPPED | |
BUILD SUCCESSFUL | |
Total time: 8.814 secs | |
This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html | |
peng@peng-tribbloids:~/git-drone/dronekit-android$ |