Skip to content

Instantly share code, notes, and snippets.

👽
Jaffa kree

Francisco Cabrita include

👽
Jaffa kree
Block or report user

Report or block include

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View cljs-macos.md

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).

View golang-github-repos.txt
./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 Sep 2, 2019 — forked from merikan/Jenkinsfile
Some Jenkinsfile examples
View Jenkinsfile
Some Jenkinsfile examples
@include
include / install-docker.md
Created Aug 16, 2019 — forked from npearce/install-docker.md
Amazon Linux 2 - install docker & docker-compose using 'sudo amazon-linux-extras' command
View install-docker.md
@include
include / goresources.md
Created Jul 20, 2019 — forked from flowchartsman/start.md
Go Learning Resources For the Beginner
View goresources.md

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 Jun 13, 2019 — forked from HarshadRanganathan/.gitconfig
.gitconfig aliases
View .gitconfig
[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
View Jenkinsfile
def getProjectName() {
return 'JenkinsPipeline'
}
def getJDKVersion() {
return 'jdk1.8.0_101'
}
def getMavenConfig() {
return 'maven-config'
@include
include / Jenkinsfile
Created Nov 22, 2018 — forked from endofcake/Jenkinsfile
Approve deployment to production
View Jenkinsfile
def release = false
pipeline {
agent any
options {
timestamps()
disableConcurrentBuilds()
}
@include
include / userdata.sh
Created Nov 22, 2018 — forked from endofcake/userdata.sh
Check that ecs-agent is running and signal back to CloudFormation
View userdata.sh
#!/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 Nov 21, 2018 — 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
View get_image_tags.py
''' 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):
You can’t perform that action at this time.