- Go through the tour at https://tour.golang.org/welcome/1
- Promptly abandon all of those plans you have to use channels everywhere
- Read the language spec once over: https://golang.org/ref/spec
- https://dave.cheney.net/2017/04/26/understand-go-pointers-in-less-than-800-words-or-your-money-back
- Read Effective Go: https://golang.org/doc/effective_go.html
- Read CodeReviewComments (essentially a semi-official style guide) https://github.com/golang/go/wiki/CodeReviewComments
- http://devs.cloudimmunity.com/gotchas-and-common-mistakes-in-go-golang/
- 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.
- And a smattering of other good articles:
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
[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 |
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
def getProjectName() { | |
return 'JenkinsPipeline' | |
} | |
def getJDKVersion() { | |
return 'jdk1.8.0_101' | |
} | |
def getMavenConfig() { | |
return 'maven-config' |
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
def release = false | |
pipeline { | |
agent any | |
options { | |
timestamps() | |
disableConcurrentBuilds() | |
} |
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/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" |
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
version: 0.2 | |
phases: | |
install: | |
commands: | |
- echo Entered the install phase... | |
- pip install -r requirements.txt | |
build: | |
commands: | |
- echo Entered the build phase... |
- Run the following in your terminal.
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Max (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Apple Initial Bitpool (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Apple Initial Bitpool Min (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool" 80
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Max" 80
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Min" 80
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.
I hereby claim:
- I am include on github.
- I am franciscocabrita (https://keybase.io/franciscocabrita) on keybase.
- I have a public key ASAsluN-GxaHzfoqGPUasLS0-cfYjYJlZ0xrQgjrv1GYOgo
To claim this, I am signing this object: