Skip to content

Instantly share code, notes, and snippets.

Avatar

Jaigouk Kim jaigouk

View GitHub Profile
View rust-in-large-organizations-notes.md

Rust in Large Organizations

Initially taken by Niko Matsakis and lightly edited by Ryan Levick

Agenda

  • Introductions
  • Cargo inside large build systems
  • FFI
  • Foundations and financial support
@jaigouk
jaigouk / $HOME_ssh_config
Last active Mar 4, 2019
switch profiles
View $HOME_ssh_config
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
#WORK
# work-github-id
Host work-github-id.github.com
HostName github.com
User git
@jaigouk
jaigouk / install-go.sh
Created Dec 9, 2018 — forked from ndaidong/install-go.sh
Install Go 1.x.x in Ubuntu 18+
View install-go.sh
#!/bin/bash
if [ -z "$VERSION" ]; then
echo 'Please specify a version. e.g, "VERSION=1.11.2 sh install-go.sh"'
exit
fi
export GO_DOWNLOAD_URL=https://storage.googleapis.com/golang/go$VERSION.linux-amd64.tar.gz
export GOPATH=/workspace
View homebrew_multiple_mysql_versions.md

Multiple MySQL Versions with Homebrew

For homebrew version 0.9.5.

brew -v # => Homebrew 0.9.5

Install the current version of mysql.

# Install current mysql version
brew install mysql
View berlin_airport.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jaigouk
jaigouk / README.md
Created Jul 27, 2018 — forked from alexellis/README.md
OpenFaaS functions on knative
View README.md

Portability with knative

Three functions from the OpenFaaS store have been packaged as "knative serving" definitions. No change to the container or code is needed.

  • Inception - identify the content of images with machine-learning - is it a bird, a plane or what?
  • Colorise - turn any black and white image into colour
  • NodeInfo - give system info, pass "verbose" as the body for network adapters etc.
View gist:6d6c917b04450f6b9e56a39e3be232ea
Verifying my Blockstack ID is secured with the address 1YEkc1R6XYPUiHC2QVtnEwsZw733fpUDn https://explorer.blockstack.org/address/1YEkc1R6XYPUiHC2QVtnEwsZw733fpUDn
@jaigouk
jaigouk / build_tf.sh
Created May 1, 2018 — forked from venik/build_tf.sh
Bash script for local building TensorFlow on Mac/Linux with all CPU optimizations (default pip package has only SSE)
View build_tf.sh
#!/usr/bin/env bash
# Author: Sasha Nikiforov
# source of inspiration
# https://stackoverflow.com/questions/41293077/how-to-compile-tensorflow-with-sse4-2-and-avx-instructions
# Detect platform
if [ "$(uname)" == "Darwin" ]; then
# MacOS
@jaigouk
jaigouk / registry-cm.yaml
Created Mar 26, 2018
resitry template files
View registry-cm.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: "{{ template "harbor.fullname" . }}-registry"
labels:
{{ include "harbor.labels" . | indent 4 }}
data:
config.yml: |+
version: 0.1
log:
View harbor-values.yaml
persistence:
enabled: true
# The tag for Harbor docker images.
harborImageTag: &harbor_image_tag v1.4.0
# The FQDN for Harbor service.
externalDomain: docker.mysite.com
# If set to true, you don't need to set tlsCrt/tlsKey/caCrt, but must add
# Harbor FQDN as insecure-registries for your docker client.