zoukankan      html  css  js  c++  java
  • golang in ubuntu

    1. environment for go

     we don't need to set GOROOT, see http://dave.cheney.net/2013/06/14/you-dont-need-to-set-goroot-really  

    Just add the following lines to ~/.bashrc and this will persist. 

    export GOPATH=$HOME/go
    ##export PATH=$PATH:$GOPATH/bin

    2. MongoDB 

    after install MongoDB from official package.

    stan@stan-VirtualBox:~$ mongo
    MongoDB shell version: 2.4.9
    connecting to: test
    Server has startup warnings:
    Sat Oct 11 22:55:55.418 [initandlisten]
    Sat Oct 11 22:55:55.418 [initandlisten] ** NOTE: This is a 32 bit MongoDB binary.
    Sat Oct 11 22:55:55.418 [initandlisten] ** 32 bit builds are limited to less than 2GB of data (or less with --journal).
    Sat Oct 11 22:55:55.418 [initandlisten] ** See http://dochub.mongodb.org/core/32bit
    Sat Oct 11 22:55:55.418 [initandlisten]
    >

    3. git

    stan@stan-VirtualBox:~$ git
    usage: git [--version] [--help] [-C <path>] [-c name=value]
    [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
    [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
    [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
    <command> [<args>]

    4. config sublime

     http://www.cnblogs.com/yourihua/archive/2012/06/04/2529333.html

    5. download project from GitHub

    6. learn some package

    flag  :  https://gobyexample.com/command-line-flags

  • 相关阅读:
    实验七---类的多态
    实验六
    实验五---排序、质数
    实验四---杨辉三角
    node中间件KOA函数
    java文件名判断练习
    npm install 安装报错错误问题
    bundle is not defined 手动搭建项目架构(一)
    ztree实现拖拽功能
    js单线程 详解 来自知乎
  • 原文地址:https://www.cnblogs.com/harrysun/p/4020003.html
Copyright © 2011-2022 走看看