See also, http://libraryofalexandria.io/cgo/
cgo
has a lot of trap.
but Not "C" pkg also directory in $GOROOT/src
. IDE's(vim) Goto command not works.
So, Here collect materials.
#!/usr/bin/python3 | |
# -*- coding: UTF-8 -*- | |
import logging | |
import math | |
import random | |
import re | |
import sqlite3 | |
import time | |
import uuid |
# Hello, and welcome to makefile basics. | |
# | |
# You will learn why `make` is so great, and why, despite its "weird" syntax, | |
# it is actually a highly expressive, efficient, and powerful way to build | |
# programs. | |
# | |
# Once you're done here, go to | |
# http://www.gnu.org/software/make/manual/make.html | |
# to learn SOOOO much more. |
package main | |
import ( | |
"fmt" | |
"reflect" | |
"time" | |
) | |
func main() { | |
type T struct { |
import ( | |
"encoding/binary" | |
"math" | |
) | |
func Float32ToByte(float float32) []byte { | |
bits := math.Float32bits(float) | |
bytes := make([]byte, 4) | |
binary.LittleEndian.PutUint32(bytes, bits) |
#include <stdio.h> | |
typedef void (*callback_t)(char *); | |
void callback_test(char *str) { | |
printf("%s\n", str); | |
return; | |
} | |
void callback_main(callback_t cb) { |
See also, http://libraryofalexandria.io/cgo/
cgo
has a lot of trap.
but Not "C" pkg also directory in $GOROOT/src
. IDE's(vim) Goto command not works.
So, Here collect materials.
package main | |
import ( | |
"crypto/md5" | |
"crypto/rand" | |
"encoding/binary" | |
"encoding/hex" | |
"fmt" | |
"io" | |
"os" |
ssh-keygen -t rsa -b 4096 -C "[email protected]" -P "" -f deploy-key |
git config user.signingkey B48CF8424DDA96E1 | |
git config commit.gpgsign true | |
git config user.email "[email protected]" | |
git config user.name "Tosone" |
kubectl get namespaces | |
kubectl get pods --namespace uaa | |
kubectl get pods --namespace scf | |
kubectl get pods --namespace stratos | |
kubectl describe pods uaa-0 --namespace uaa | |
kubectl describe pods router-0 --namespace scf | |
kubectl logs -f --namespace uaa uaa-0 uaa |