$ git commit --amend --author="Author Name <[email protected]>"or
$ git commit --amend --reset-author| # Convert | |
| openssl rsa -in ~/.ssh/id_rsa -outform pem > id_rsa.pem | |
| # Permission | |
| chmod 700 id_rsa.pem |
| # OS | |
| # export GOOS=linux | |
| # ROOT FILES | |
| export GOROOT=/usr/local/go | |
| # Define here your path of GO projects | |
| export GOPATH=$HOME/Projects | |
| # Export go project in terminal | |
| export GOBIN=$GOPATH/bin |
| // Package main | |
| // Copyright 2017 Kranz. All rights reserved. | |
| // Use of this source code is governed by a MIT-style | |
| // license that can be found in the LICENSE file. | |
| /** | |
| Test read file by chunks | |
| ➜ read ll | |
| total 13241936 | |
| drwxr-xr-x 5 rlopes staff 170B 16 Jan 01:19 ./ |
| // Copyright 2017 Kranz. All rights reserved. | |
| // Use of this source code is governed by a MIT-style | |
| // license that can be found in the LICENSE file. | |
| package main | |
| import ( | |
| "os" | |
| "log" | |
| "io" | |
| "bufio" |
| // Copyright 2017 Kranz. All rights reserved. | |
| // Use of this source code is governed by a MIT-style | |
| // license that can be found in the LICENSE file. | |
| package main | |
| import ( | |
| "os/exec" | |
| "log" | |
| "os" | |
| "time" |
| // Copyright 2016 Kranz. All rights reserved. | |
| // Use of this source code is governed by a MIT-style | |
| // license that can be found in the LICENSE file. | |
| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| "os/exec" | |
| "log" |
| # Maintainer: Ashley Whetter <(firstname) @ awhetter.co.uk> | |
| # Contributor: Eothred <[email protected]> | |
| pkgname=spotify | |
| pkgver=1.0.45.186 | |
| _anotherpkgver=.g3b5036d6 | |
| pkgrel=1 | |
| pkgdesc="A proprietary music streaming service" | |
| arch=('x86_64' 'i686') | |
| license=('custom:"Copyright (c) 2006-2010 Spotify Ltd"') |
| // Copyright 2016 rodkranz. All rights reserved. | |
| // Use of this source code is governed by a MIT-style | |
| // license that can be found in the LICENSE file. | |
| package main | |
| import ( | |
| "encoding/json" | |
| "errors" | |
| "fmt" | |
| "io/ioutil" |
| // Copyright 2016 Kranz. All rights reserved. | |
| // Use of this source code is governed by a MIT-style | |
| // license that can be found in the LICENSE file. | |
| package main | |
| import ( | |
| "net/http" | |
| "fmt" | |
| "runtime" | |
| "log" |