Skip to content

Instantly share code, notes, and snippets.

View include's full-sized avatar
👽
Free Jaffa

Francisco Cabrita include

👽
Free Jaffa
View GitHub Profile

React Native + macOS + Clojurescript

image

Project Catalyst

Since the recent release of Catalina, macOS has shipped with the ability to allow iOS/iPAD apps to run on macOS without any modification via a featureset known as Project Catalyst.

This is exciting, as writing React Native + Clojurescript apps as a target for the desktop is much more compelling than a pure Electron app (imo).

./AaronO/go-git-http/.git
./ActiveState/tail/.git
./adriaandejonge/helloworld/.git
./ajhager/engi/.git
./ajstarks/svgo/.git
./andelf/go-curl/.git
./apcera/nats/.git
./armon/circbuf/.git
./armon/consul-api/.git
./armon/consul-kv/.git
@include
include / Jenkinsfile
Created September 2, 2019 23:06 — forked from merikan/Jenkinsfile
Some Jenkinsfile examples
Some Jenkinsfile examples
@include
include / install-docker.md
Created August 16, 2019 12:18 — forked from npearce/install-docker.md
Amazon Linux 2 - install docker & docker-compose using 'sudo amazon-linux-extras' command
@include
include / goresources.md
Created July 20, 2019 11:37 — forked from flowchartsman/start.md
Go Learning Resources For the Beginner

Reading

  1. Go through the tour at https://tour.golang.org/welcome/1
  2. Promptly abandon all of those plans you have to use channels everywhere
  3. Read the language spec once over: https://golang.org/ref/spec
  4. https://dave.cheney.net/2017/04/26/understand-go-pointers-in-less-than-800-words-or-your-money-back
  5. Read Effective Go: https://golang.org/doc/effective_go.html
  6. Read CodeReviewComments (essentially a semi-official style guide) https://github.com/golang/go/wiki/CodeReviewComments
  7. http://devs.cloudimmunity.com/gotchas-and-common-mistakes-in-go-golang/
  8. https://coder.today/tech/2018-11-10_profiling-your-golang-app-in-3-steps/ This is a very effective tool in your toolbelt, and you will use it A LOT.
  9. And a smattering of other good articles:
@include
include / .gitconfig
Created June 13, 2019 22:57 — forked from HarshadRanganathan/.gitconfig
.gitconfig aliases
[alias]
##
# One letter alias for our most frequent commands.
#
# Guidelines: these aliases do not use options, because we want
# these aliases to be easy to compose and use in many ways.
##
a = add
@include
include / Jenkinsfile
Created November 22, 2018 00:17 — forked from HarshadRanganathan/Jenkinsfile
Jenkins Declarative Pipeline Example - https://rharshad.com/jenkins-pipeline-as-code/
def getProjectName() {
return 'JenkinsPipeline'
}
def getJDKVersion() {
return 'jdk1.8.0_101'
}
def getMavenConfig() {
return 'maven-config'
@include
include / Jenkinsfile
Created November 22, 2018 00:15 — forked from endofcake/Jenkinsfile
Approve deployment to production
def release = false
pipeline {
agent any
options {
timestamps()
disableConcurrentBuilds()
}
@include
include / userdata.sh
Created November 22, 2018 00:08 — forked from endofcake/userdata.sh
Check that ecs-agent is running and signal back to CloudFormation
#!/bin/bash
set -euo pipefail
<...>
echo "Checking that agent is running"
until $(curl --output /dev/null --silent --head --fail http://localhost:51678/v1/metadata); do
printf '.'
sleep 1
done
exit_code=$?
printf "\nDone\n"
@include
include / get_image_tags.py
Created November 21, 2018 23:50 — forked from endofcake/get_image_tags.py
An external data source for Terraform that returns the versions of all images in an ECS task definition
''' Return image tags specified in ECS task definition '''
import json
import sys
import boto3
ECR_CLIENT = boto3.client('ecr')
ECS_CLIENT = boto3.client('ecs')
def main(cluster_name, service_name):