(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| // Copyright 2015 The go-ethereum Authors | |
| // This file is part of the go-ethereum library. | |
| // | |
| // The go-ethereum library is free software: you can redistribute it and/or modify | |
| // it under the terms of the GNU Lesser General Public License as published by | |
| // the Free Software Foundation, either version 3 of the License, or | |
| // (at your option) any later version. | |
| // |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| source : http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/ | |
| ------------------------------------------------------------------ | |
| Procedure To Add a Swap File Under Linux | |
| You need to use the dd command to create swap file. The mkswap command is used to set up a Linux swap area on a device or in a file. | |
| Step #1: Login as the Root User | |
| Open a terminal window (select Applications > Accessories > Terminal) or login to remote server using the ssh client. Switch to the root user by typing su - (or sudo -s) and entering the root password, when prompted: |
| git branch --merged master | grep -v "\* master" | xargs -n 1 git branch -d |
| sudo kextunload /System/Library/Extensions/AppleHDA.kext | |
| sudo kextload /System/Library/Extensions/AppleHDA.kext |
| node -e "console.log(require('crypto').createHash('md5').update('YOUR PASSWORD HERE','utf8').digest('hex'))" |
| package main | |
| import "fmt" | |
| type foo int | |
| type foos []foo | |
| func (f foos) first() foo { | |
| if len(f) == 0 { |
| package main | |
| import ( | |
| "bytes" | |
| "encoding/gob" | |
| "fmt" | |
| "time" | |
| "github.com/syndtr/goleveldb/leveldb" | |
| ) |