Skip to content

Instantly share code, notes, and snippets.

@asukakenji
asukakenji / 0-go-os-arch.md
Last active April 24, 2024 06:51
Go (Golang) GOOS and GOARCH

Go (Golang) GOOS and GOARCH

All of the following information is based on go version go1.17.1 darwin/amd64.

GOOS Values

GOOS Out of the Box
aix
android
@yannhowe
yannhowe / .gitlab.ci.yml
Created September 26, 2016 18:06
.gitlab.ci.yml for SSH with private key.
# Image neeeds to have ssh-client
image: docker:git
services:
- docker:dind
stages:
- staging
before_script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY
@rponte
rponte / get-latest-tag-on-git.sh
Last active March 11, 2024 07:50
Getting latest tag on git repository
# The command finds the most recent tag that is reachable from a commit.
# If the tag points to the commit, then only the tag is shown.
# Otherwise, it suffixes the tag name with the number of additional commits on top of the tagged object
# and the abbreviated object name of the most recent commit.
git describe
# With --abbrev set to 0, the command can be used to find the closest tagname without any suffix:
git describe --abbrev=0
# other examples
@ardcore
ardcore / atom-events
Last active October 13, 2021 20:35
atom.io events
application:open-your-keymap
application:open-your-stylesheet
autocomplete:attach
autoflow:reflow-paragraph
bookmarks:clear-bookmarks
bookmarks:jump-to-next-bookmark
bookmarks:jump-to-previous-bookmark
bookmarks:toggle-bookmark
bookmarks:view-all
check:correct-misspelling
@mariomartinezsz
mariomartinezsz / install-couchdb-1.5.0.sh
Last active December 30, 2015 05:29
Install CouchDB 1.5.0 on Ubuntu Server (Tested with Ubuntu Server 12.04 LTS Precise Pangolin)
#!/bin/sh
# Based on http://jswiki.lab-01.com/wiki/doku.php?id=install-couch
echo "Downloading Linux build tools and Erlang"
sudo apt-get install build-essential libicu-dev libcurl4-gnutls-dev libtool erlang-dev erlang zip -y
# Work on tmp directory
cd /tmp
# Spidermonkey is required
@kelp404
kelp404 / _remove_all_text_search_documents.md
Last active December 12, 2015 08:59
Remove all documents in text search (GAE)

##Remove all documents in text search (GAE) ###Python

@kelp404
kelp404 / git_note.md
Last active December 12, 2015 01:19
Git note

#Git note

Tags

git tag -a <tag name> -m <comment>
git tag -d <tag name>

Push tags to remote

@kelp404
kelp404 / processingTime.m
Last active December 11, 2015 19:59
Logging code processing time

##Logging code processing time ###Objective-C

@kelp404
kelp404 / _uuidString.md
Last active December 11, 2015 18:09
Generat UUID String

##Generat UUID String ###Objective-C

@kelp404
kelp404 / gist:4572967
Last active December 11, 2015 08:28
Google App Engine note

#Google App Engine note

Update

appcfg.py update myapp/

Update backends

appcfg.py backends myapp/ update