angelonotes.blogspot.com
開源筆記倉庫區: 2014-07
http://angelonotes.blogspot.com/2014_07_01_archive.html
面對自由、了解自由、擁抱自由、享受自由. 由於 Raspberry Pi 的資源較少,因此 amule 也應該使用 daemon 版。 安裝 amuled 與 amulecmd。 Apt-get install amule-daemon amule-utils. 啟動 amuled 並返回命令列。 編輯設定檔 /.aMule/amule.conf. ECPort: 連進 amuled 的 port,預設是 4712。 ECPassword: 連進 amuled 的密碼。由於有加密,可以從指令列輸入,然後貼上,譬如設為 1234。 Echo -n "1234" md5sum cut -d ' ' -f 1. Port: 對外連線的 port,這是最重要的部份。 UDPPort: Kad 與 global search 用的,次重要。 IncomingDir: 已完成的檔案,應該設定到外部硬碟的資料夾。 TempDir: 未完成的檔案,應該設定到外部硬碟的資料夾。 MaxDownload: 最大下載速度,單位是 KB/s。 MaxUpload: 最大上傳速度,單位是 KB/s。 Speed-limit-do...
golang-zhtw.netdpi.net
Go 程式設計導論
http://golang-zhtw.netdpi.net/news
0706-Defer, Panic and Recover. 0801- * 與 & 運算符號. Go 程式設計導論 是 An Introduction to Programming in Go 的正體中文版,. 譯者 Aaron Ming-Yi Liao、Marcus. 網址 http:/ golang-zhtw.netdpi.net. 網址 http:/ www.golang-book.com/. Portions of this page may contain modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License. 創用姓名標示 3.0 台灣 授權條款.
blagrants.blogspot.com
Blag's bag of rants: An Introduction to Programming in Go - Book Review
http://blagrants.blogspot.com/2015/04/an-introduction-to-programming-in-go.html
Blag's bag of rants. My Rants related to SAP, Scripting Languages, Technologies and everything else I wanted to talk about. Miércoles, 22 de abril de 2015. An Introduction to Programming in Go - Book Review. I finished this book a long time ago.but somehow.I never wrote a review for it.sorry about that -:P. This was the first book I read about Go. And I have to say.I totally love it -;). Alvaro "Blag" Tejada Galindo. Publicar un comentario en la entrada. Suscribirse a: Enviar comentarios (Atom). Develope...
golang-book.ru
Указатели — Введение в программирование на Go
http://golang-book.ru/chapter-08-pointers.html
Когда мы вызываем функцию с аргументами, аргументы копируются в функцию:. Func zero(x int) { x = 0 } func main() { x := 5 zero(x) fmt.Println(x) / x всё еще равен 5 }. В этой программе функция. Не изменяет оригинальную переменную. Но что если мы хотим её изменить? Один из способов сделать это использовать специальный тип данных указатель:. Func zero(xPtr *int) { *xPtr = 0 } func main() { x := 5 zero(&x) fmt.Println(x) / x is 0 }. Мы можем изменить значение оригинальной переменной. Операторы * и &. И в ни...
golang-book.ru
Тестирование — Введение в программирование на Go
http://golang-book.ru/chapter-12-testing.html
Писать программы не просто. Даже самые лучшие программисты, зачастую, не в состоянии написать программу так, чтобы она работала как положено в любых случаях. Поэтому, важной частью процесса разработки является тестирование. Написание тестов для нашего кода является отличным способом повышения его качества и стабильности. Go содержит специальную программу, призванную облегчить написание тестов, так что давайте напишем несколько тестов для пакета, который мы создали в предыдущей главе. В папке. Package mat...
rehanjaffer.com
C | Code & Complexity
http://rehanjaffer.com/category/c
The Programming Blog of Rehan Jaffer. Spree Commerce: Deface Code Snippets & Customization. Code Coverage and Ruby/Rails. Product and Service reviews. Free tech books: Part 1. May 25, 2015. May 24, 2015. I’m splitting this post up because there are far too many to list in one and keep things tidy, so expect future posts with more resources. Dive into Python 3. Clojure: Functional Programming for the JVM. A guide to installing Linux from Scratch. Learn Version Control with Git. Learn C the Hard Way. 8220;...
rehanjaffer.com
Free tech books: Part 1 | Code & Complexity
http://rehanjaffer.com/free-tech-books-part-1
The Programming Blog of Rehan Jaffer. Spree Commerce: Deface Code Snippets & Customization. Code Coverage and Ruby/Rails. Product and Service reviews. Free tech books: Part 1. May 25, 2015. May 24, 2015. I’m splitting this post up because there are far too many to list in one and keep things tidy, so expect future posts with more resources. Dive into Python 3. Clojure: Functional Programming for the JVM. A guide to installing Linux from Scratch. Learn Version Control with Git. Learn C the Hard Way. 8220;...
andyatkinson.com
Andy Atkinson - Ruby, software development, startups
http://www.andyatkinson.com/blog/2014/05/03/getting-started-with-go
Getting started with Go. I spent some time learning the Go programming language by working through some tutorials and building a small app. The book An Introduction To Programming in Go. Has 14 chapters and covers data structures, HTTP, command line apps, concurrency, and more. I typed out most of the go example code for practice and have pushed my code here. Go has specific project layout requirements. The. Environment variable points at. And project source code is in. As a subdirectory of. I am enjoyin...