Press "Enter" to skip to content

Posts published in “Dev”

Golang Basic 8 - Pointer

Golang Basic 8 - Pointer Pointer A pointer holds the memory address of a value. Declear Pointers in Golang are very similar to pointers in…

Golang Basic 7 - Function

Golang Basic 7 - Function Function Function Declear A function can take zero or more arguments. Notice that the type comes after the variable name.…

Golang Basic 4 - Basic Operators

Golang Basic 4 - Basic Operators Arithmetic Operators Operators Operator Sense Description Sample Result Addition The ‘ ’ operator adds two operands. 3 2 5…

Golang Basic 6 - Basic for loop

Golang Basic 6 - Basic for loop for loop Go has only one looping construct, the for loop. The basic for loop has three components…

Golang Basic 5 - If statement

Golang Basic 5 - If statement if if statement if boolVal{ // if boolVal is true, run this code block. } Sample root@go:l5/ # cat…

Golang Basic 3 - Basic I-O functions

Golang Basic 3 - Basic I/O functions About fmt package Package fmt implements formatted I/O with functions analogous to C's printf and scanf. The format…

Golang Basic 1 - Install && Hello World

Golang Basic 1 - Install && Hello World What is Golang Official website: https://golang.org/ Go is an open source programming language that makes it easy…

Resolve the word2vec installing error

1st time I try to install word2vec root@dev:/# pip install word2vec Looking in indexes: https://mirrors.aliyun.com/pypi/simple/ Collecting word2vec Downloading https://mirrors.aliyun.com/pypi/packages/ce/51/5e2782b204015c8aef0ac830297c2f2735143ec90f592b9b3b909bb89757/word2vec-0.10.2.tar.gz (60kB) 100% |████████████████████████████████| 61kB 1.1MB/s Complete…

Tensorflow-lite Android Object Detect 初体验

写在开始 在这篇文章中, 会手把手教你如何在你的电脑上将Tensorflow-lite Android Demo给跑起来, 希望会对那些需要在Android原生应用落地的童鞋有所帮助. 准备工作 下载Android Studio(我直接下的最新的) 下载地址: https://developer.android.com/studio/ 从github上clone Tensorflow ➜ sample ✗ git clone https://github.com/tensorflow/tensorflow.git Cloning into 'tensorflow'... remote: Enumerating objects:…