Git: Adding and Removing Tags on GitHub 1) Delete the v1.0 tag locally: git tag -d v1.02) Delete the v1.0 tag on GitHub (which removes its download link): git push origin :v1.03) Add a new tag for the updated release: git tag -a v
Git: Add submodule with a specific version Add submodule with a specific version:git submodule add git://github.com/XXXXX/xxx.yyyy.git stm32_std_libgit statusgit submodule initgit submodule updatecd stm32_std_lib/git reset --hard V3.1
Linux & Mac package安装命令 Linux packagesUsers on Linux can quickly install the necessary packages from repositories.Ubuntu & Debiansudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-
Linux terminal, CMD 和 Git 中的代理设置 CMD 设置代理在 cmd 环境下设置代理可能不是很常用,但是某些情况下还是可能会用到,比如公司的电脑只能通过设置代理访问外网,而你需要在 cmd 环境下使用 gem 命令更新文件时。当然,如果你使用某些代理软件为所有通讯设置了代理,那就不需要这些设置了。为 cmd 设置代理很简单,首先打开 cmd (win + R,输入 cmd,然后按 enter 键),然后输入如下
Python画图 Python画图:http://yuedu.163.com/news_reader/#/~/source?id=9f1cfa88-1d49-414d-b455-4f95173b1a56_1&cid=263d9a66bee64aaca27e20459cc0130d_1
linux远程复制SCP 远程上传文件夹 举例,我要将本地文件夹/home/administrator/Desktop/old/driver/test/ 远程上传到 192.168.62.10 这台机器的/root/文件夹下,使用远程端的root用户作为登陆用户scp -r /home/administrator/Desktop/old/driver/test/ root@192.168.62.10:/
C/C++ static analysis: CodeViz CodeViz是《Understanding The Linux Virtual Memory Manager》的作者 Mel Gorman 写的一款分析C/C++源代码中函数调用关系的open source工具(类似的open source软件有egypt、ncc)。其基本原理是给 GCC 打个补丁,让它在编译时每个源文件时 dump 出其中函数的 call graph,然后用 Pe
HTML中嵌入MP3播放器 Notes for Music Player-replace song.mp3 with the url of the song you want-delete autoplay="autoplay" if you don't want the song to start when the page loads-delete loop="loop" if you only wa
Ubuntu 12.04 安装中文拼音输入法 ibus 1. 执行如下命令,安装必要的组件sudo apt-get install ibus ibus-clutter ibus-gtk ibus-gtk3 ibus-qt4 ibus-pinyin2.装好后输入下面的命令启动ibusim-switch -s ibus3.输入下面的命令让系统任务栏有ibus输入法图标i
Python学习资料收集 Mac下python升级:http://wolfpaulus.com/jounal/mac/installing_python_osxPython 3:入门教程中文翻译:http://docspy3zh.readthedocs.org/en/latest/tutorial/入门教程英文原版:http://docs.python.org/3.4/tutorial/inte
Google Spreadsheet作为data table动态加载到Web page 主要做法是1. 把建好的Spreadsheet publish,选择publish自动更新。2. 用Google API和Javascript动态读取Google Spreadsheet的内容,其中使用到tabletop.js详情参考: 1. http://builtbybalance.com/Tabletop/2. https://github.com/jsoma/t
Map of the Internet Here is a beautiful map of the Internet, designed by Peer1 Hosting, , based on Internet topology data from the Cooperative Association for Internet Data Analysis (CAIDA).Click the link : Map of
Matlab画图希腊字母显示 在matlab的label,text,title里面经常要显示特殊字符,matlab的默认选项是支持tex语法的,利用tex的语法就可以实现特殊字符的显示,下面是一些常用语法,比如想要显示α,只需写上\alpha,注意这个斜线不能丢呀,希腊字母:----小写-------- ------大写------α \alpha Α β \beta