Skip to content

Instantly share code, notes, and snippets.

View dzuluaga's full-sized avatar

Diego Zuluaga dzuluaga

View GitHub Profile
@dzuluaga
dzuluaga / gh-issues-with-markdown.go
Created June 28, 2023 17:19
The provided single-line command utilizes the GitHub CLI (gh) to retrieve a list of issues from a repository in JSON format. It then applies a custom template to format and present the issue number, title, author, assignees, creation date, and description.
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}}
// 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()