git log --onelinegit checkout commit-hash filename| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| "encoding/json" | |
| "html/template" | |
| ) | |
| type User struct { |
| $ git remote rm origin | |
| $ git remote add origin git@github.com:aplikacjainfo/proj1.git | |
| $ git config master.remote origin | |
| $ git config master.merge refs/heads/master |
| const items = [ | |
| { | |
| id: 1, | |
| content: 'This is first Item' | |
| }, | |
| { | |
| id: 2, | |
| content: 'This is first Item' | |
| }, | |
| { |
import (
"math/rand"
"time"
)
func main() {
// NewSource takes int64 value which is returned by time.Now().UnixNano()
source := rand.NewSource(time.Now().UnixNano())
r := rand.New(source)| # ssh(1) obtains configuration data from the following sources in the following order: | |
| # | |
| # 1. command-line options | |
| # 2. user's configuration file (~/.ssh/config) | |
| # 3. system-wide configuration file (/etc/ssh/ssh_config) | |
| # | |
| # For each parameter, the first obtained value will be used. The configuration files contain sections separated | |
| # by “Host” specifications, and that section is only applied for hosts that match one of the patterns given in the | |
| # specification. The matched host name is the one given on the command line. | |
| # |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"