I hereby claim:
- I am bobvanderlinden on github.
- I am bobvanderlinden (https://keybase.io/bobvanderlinden) on keybase.
- I have a public key ASD-ZmTE-wd3nzKSoc_5qjuJWSfzf4VNLu_QLdNYOy5O2Ao
To claim this, I am signing this object:
| <html> | |
| <head> | |
| <script src="https://webqr.com/llqrcode.js"></script> | |
| <script src="jsqrcode-camera.js"></script> | |
| </head> | |
| <body> | |
| <div id="qrcodescanner"></div> | |
| <div id="message"></div> | |
| </body> | |
| <script> |
I hereby claim:
To claim this, I am signing this object:
| .framelayout { | |
| margin: 0; | |
| padding: 0; | |
| border: 0; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } |
| { config, pkgs, ... }: | |
| { | |
| virtualisation.graphics = false; | |
| services.mingetty.autologinUser = "root"; | |
| boot.loader.grub.device = "/dev/sda"; | |
| networking.firewall.enable = false; | |
| services.gogs = { | |
| enable = true; |
| { | |
| server = { | |
| deployment.targetHost = "target.host.com"; | |
| services.openssh.enable = true; | |
| }; | |
| } |
| def exec(String cmdline) { | |
| def os = new ByteArrayOutputStream() | |
| exec { | |
| commandLine cmdline.split(" ") | |
| standardOutput = os; | |
| } | |
| return os.toString().replaceAll('\\s', '') | |
| } | |
| def getGitSha() { |
| ant.taskdef( | |
| name: 'scp', | |
| classname: 'org.apache.tools.ant.taskdefs.optional.ssh.Scp', | |
| classpath: configurations.sshAntTask.asPath | |
| ) | |
| // Publish APK and mapping file over SCP | |
| android.applicationVariants.all { variant -> | |
| if (variant.buildType.name != "release") { | |
| return |
| buildscript { | |
| dependencies { | |
| classpath "com.amazonaws:aws-java-sdk:1.3.11" | |
| } | |
| } | |
| def awsCredentials = new BasicAWSCredentials(awsAccessKey, awsSecretKey) | |
| // Publish APK and mapping file over SCP | |
| android.applicationVariants.all { variant -> |
This Gradle script will generate a changelog.json file from a recent_changes.txt.
The recent_changes.txt is a Markdown file where a developer can define the changelog and the Gradle task will convert it to JSON, so that it can be used inside a app or in later Gradle tasks.
The resulting JSON structure can be found in example.changelog.json.
In addition, the changelog.json is reused for a whatsnew file that can be uploaded to Google Play using Google Play Publisher.
| <?xml version="1.0" encoding="UTF-8"?> | |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>org.maven.test</groupId> | |
| <artifactId>main</artifactId> | |
| <version>1.0-SNAPSHOT</version> | |
| <packaging>pom</packaging> | |
| <name>My Dependency Test</name> | |
| <description/> |