This file contains hidden or 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
{ | |
"credentials": [ | |
{ | |
"id": "photoid", | |
"format": "mso_mdoc", | |
"meta": { | |
"doctype_value": "org.iso.23220.photoID.1" | |
}, | |
"claims": [ | |
{ "path": ["org.iso.23220.1", "family_name_unicode" ] }, |
This file contains hidden or 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
{ | |
"files.exclude": { | |
"**/.git": true, | |
"**/.svn": true, | |
"**/.hg": true, | |
"**/CVS": true, | |
"**/.DS_Store": true, | |
"**/Thumbs.db": true, | |
"**/.gradle": true, | |
"**/.idea": true, |
This file contains hidden or 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
// Application Kotlin file to initialize a Map provider | |
package com.omh.android.maps.sample | |
import android.app.Application | |
import com.omh.android.maps.api.factories.OmhMapProvider | |
class DemoApp : Application() { | |
override fun onCreate() { | |
super.onCreate() |
This file contains hidden or 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
gh issue list --json number,title,createdAt,assignees,body,author --template \ | |
'# {{printf "GitHub Issues"}} | |
{{range .}} | |
## {{printf "#%v" .number}} {{.title}} | |
## Tester | |
{{.author.name}}{{if .author.name}} - {{end}}{{.author.login}} | |
### Assignees | |
{{range .assignees}}{{.name}} {{.login}} {{if .name}},{{end}}{{end}} | |
### Created at | |
{{.createdAt}} |
This file contains hidden or 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
# add this line at the end of ~/.bashrc file | |
# this alias installs zsh and oh-my-zsh by calling $ install-zsh | |
# useful for GCP Cloud Shell, which will remove zsh everytime your Cloud Shell container is terminated. | |
alias install-zsh="curl \"https://gist.githubusercontent.com/dzuluaga/3bf775217728debf360a4377c7eb5118/raw/install-oh-my-zsh-gcp-cloud-shell.sh?$(date +%s)\" | sudo bash" |
This file contains hidden or 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
#!/usr/bin/env bash | |
# Runs localtunnel on GCP Cloud Shell in a single command. | |
# Run this script directly from the command line | |
# | |
# $ curl "https://gist.githubusercontent.com/dzuluaga/b9428ea1a1d1a3fb831c53cbf39316dd/raw/run-localtunnel-gcp-cloud-shell.sh?$(date +%s)" | bash | |
echo "Installing zsh..." | |
echo "" | |
npm install -g localtunnel |
This file contains hidden or 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
#!/usr/bin/env bash | |
# Installs oh-my-zsh on GCP Cloud Shell in a single command. | |
# Run this script directly from the command line | |
# | |
# $ curl "https://gist.githubusercontent.com/dzuluaga/3bf775217728debf360a4377c7eb5118/raw/install-oh-my-zsh-gcp-cloud-shell.sh?$(date +%s)" | sudo bash | |
# | |
# you can also append an alias to ~/.bashrc to install-zsh at anytime | |
# | |
# alias install-zsh="curl \"https://gist.githubusercontent.com/dzuluaga/3bf775217728debf360a4377c7eb5118/raw/install-oh-my-zsh-gcp-cloud-shell.sh?$(date +%s)\" | sudo bash" |
This file contains hidden or 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
#!/usr/bin/env bash | |
# Installs ngrok on GCP Cloud Shell in a single command | |
# Run this script directly from the command line | |
# | |
# $ curl "https://gist.githubusercontent.com/dzuluaga/b3b18a98c2ba9c326c3e6680301b26b8/raw/install-ngrok-gcp-cloud-shell.sh?$(date +%s)" | sudo bash | |
echo 'Downloading ngrok...' | |
curl https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip -o ngrok-stable-linux-amd64.zip |
This file contains hidden or 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
#!/usr/bin/env bash | |
# Replaces the current existing of Gradle with 5.2.1 | |
# Run this script directly from the command line | |
# | |
# $ curl "https://gist.githubusercontent.com/dzuluaga/80df9a5316b56c19da982054e335468a/raw/update-gradle-cloud-shell.sh?$(date +%s)" | sudo bash | |
echo 'Downloading Gradle...' | |
curl https://downloads.gradle.org/distributions/gradle-5.2.1-bin.zip -o gradle-5.2.1-bin.zip |
This file contains hidden or 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/bash | |
file="$HOME/ngrok" | |
if [ -f "$file" ] | |
then | |
echo "$file found." | |
else | |
echo "$file not found. Downloading." | |
curl https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip -o $HOME/ngrok-stable-linux-amd64.zip | |
unzip $HOME/ngrok-stable-linux-amd64.zip -d $HOME |
NewerOlder