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
#!/bin/sh | |
set -eu | |
FETCH="curl -s" | |
# or for curl: | |
#FETCH="curl -s" | |
# $1: your domain | |
# $2: subdomain to update use @ for TLD | |
# $3: the password given to you by Namecheap's web interface | |
# | |
# Rerun this script every 5 minutes. Crontab entry (not as root): |
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 groovyx.net.http.ContentType | |
import groovyx.net.http.HttpResponseDecorator | |
import groovyx.net.http.RESTClient | |
import net.sf.json.JSONObject | |
import org.apache.commons.codec.binary.Base64 | |
// This gradle file will add several tasks. | |
// For example, pulling all source and translation files at once for all projects: | |
// ./gradlew transifexPullAll |
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
<?xml version="1.0" encoding="utf-8"?> | |
<!-- See screenshot at https://goo.gl/photos/kTWbF7UNbKjy8gKX8 --> | |
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="208dp" | |
android:background="@android:color/black"> | |
<android.support.constraint.Guideline |
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
// additional required configuration to hook into the build script | |
android { | |
signingConfigs { | |
release { | |
// specify signing properties on the command line | |
if (project.hasProperty('keyStore')) { | |
println 'Generating a signed package.' | |
storeFile file(keyStore) | |
storePassword storePass | |
keyAlias alias |