install some softwares for ubuntu_12.04 (1)

how to install ulipad

1 install python-wxgtk2.8

  $ sudo apt-get install python-wxgtk2.8

2 download the source code of ulipad:

  http://code.google.com/p/ulipad/downloads/list

3 unzip

4 put the Ulipad to desktop

  a. $ sudo gedit /usr/share/applications/Ulipad.desktop
  b. copy the string to the opened file
    [Desktop Entry]
    Name=Ulipad
    Comment=a Python IDE
    Exec=python /home/nico/software/ulipad/UliPad.py
    Icon=/home/nico/software/ulipad/ulipad.ico
    Teminal=false
    Type=Application
    Categories=Application;Development;

 

how to install github

(1)install github

  1 $ sudo apt-get install git
  2 $ mkdir github_pro
  3 $ cd github_pro
  4 $ git init
  5 $ git config --global user.name "onestar"
  6 $ git config --global user.email "onestar1967@gmail.com"

(2)connect GitHub
  1 login GitHub website, create account

  2 create SSH key
    a. $ shh-key -t rsa -C "onestar1967@gmail.com"
    b. create name for rsa file : onestar_rsa
    c. now you can see in the github_pro, there are two files: onestar_rsa, onestar_rsa.pub
    d. move two files to home/.ssh dir

  3 login GitHub Website
    a. GitHub -> Account Setting -> SSH keys -> Add SSH Keys
    b. copy the content in onestar_rsa.pub, paste into the website SSH keys

  4 test connection
    a. $ssh -T git@github.com
    b. successful!

(3)make your own repository
  1 login GitHub website, make a repository

  2 colne the repository to local
    a. $ git clone git@github.com:"onestar1967"/<repository_name>.git

(4)push file to your repository
  1 after clone the repository, you can create files, eg. name is "test.py"

  2 push the file to the repository
    a. $ git add test.py
    b. $ git commit -m "some messages, whatever you lik to describe pushing file"
    c. $ git remote add origin git@github.com:"onestar1967"/<repository_name>.git
    d. $ git push -u origin master

  3 attention that : the "origin" is nick name, you can use any string you like.

  4 git remote rm origin

(5)check GitHub Website

  1 if successful, you can find test.py on the website!!!

enjoy it!!!

 

转载于:https://www.cnblogs.com/onestar1967/p/3280648.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值