keytool -genkeypair -keyalg RSA -keysize 2048 -validity 365 -alias ca -dname "CN=ca,O=HMS,S=SE" -keystore ca.jks -storepass password
keytool -exportcert -rfc -alias ca -keystore ca.jks -storepass password > ca.pem
cat ca.pem | keytool -importcert -alias ca -noprompt -keystore trust.jks -storepass password
java -cp "C:\Program Files (x86)\JetBrains\IntelliJ IDEA 15.0.2\plugins\java-decompiler\lib\java-decompiler.jar" org.jetbrains.java.decompiler.main.decompiler.ConsoleDecompiler -dgs=true . src |
How to make an application icon for macOS using
iconset
&iconutil
Note: This originates from: https://forum.synology.com/enu/viewtopic.php?f=258&t=107508&sid=78d911737c5ecea1f9087bdab13612bf&start=15#p478281
Here are steps that I have modified to work for me. This assumes you have a shared folder named "docker" in volume1
.
We need to Symlink /var/run/docker.sock
to /volume1/docker/docker.sock
, because Synology Docker GUI will not be able to run it when it's pointed directly to /var/run/docker.sock
. Also the symlink needs to persist after reboot. To make it do so, you will need to create an automated task in your Synology DSM via "Task Scheduler".
- Go to "Control Panel" > "Task Scheduler".
- Click "Create" > "Scheduled Task" > "User-defined Script".
- On the "Create Task: Window, make sure "User:" is selected as "root" and rename the "Task:" to whatever you like.
- Click "Schedule" tab. Under "Date - Run on the following days", select "Daily". Under "Time - Frequency", select "Every 1 hour(s)" (just to be on the safe side).
Exhaustive list of SPDX (Software Package Data Exchange) licenses: https://spdx.org/licenses/
/* | |
* Copyright (c) 2020, Shashank Verma <shashank.verma2002@gmail.com> | |
* | |
* 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: | |
* |
//region XcFramework tasks | |
val xcFrameworkPath = "xcframework/${project.name}.xcframework" | |
tasks.create<Delete>("deleteXcFramework") { delete = setOf(xcFrameworkPath) } | |
val buildXcFramework by tasks.registering { | |
dependsOn("deleteXcFramework") | |
group = "build" | |
val mode = "Release" | |
val frameworks = arrayOf("iosArm64", "iosX64") |
Lots of projects need to test android apps, and use GitHub Actions infrastructure to do so.
This document intends to show current timings for a sample workload, to inform what emulators are a good match for testing.
- We use the AnkiDroid androidTests
- they are long enough to execute that they form a nice balance between cold start emulator time so neither dominates