tool

Git Ignore

14:54:00, Thursday, September 6, 2018

简介 在 Git 版本系统中,文件的状态一般有三种: tracked,文件已经提交到版本控制系统中 untracked,文件在工作目录中,还未提交到版本控

Read More...
IDE

VS Code

17:39:00, Saturday, August 25, 2018

Keyboard shortcuts Being able to keep your hands on the keyboard when writing code is crucial for high productivity. VS Code has a rich set of default keyboard shortcuts as well as allowing you to customize them. Keyboard Shortcuts Reference - Learn the most commonly used and popular keyboard shortcuts by downloading the reference sheet. Install a Keymap extension - Use the keyboard shortcuts of your old editor (such as

Read More...
data-science

Numba

15:15:00, Wednesday, August 22, 2018

A compiler for Python array and numerical functions Numba is an Open Source NumPy-aware optimizing compiler for Python sponsored by Anaconda, Inc. It uses the remarkable LLVM compiler infrastructure to compile Python syntax to machine code. It is aware of NumPy arrays as typed memory regions and so can speed-up code using NumPy arrays. Other, less well-typed code will be translated to Python C-API calls effectively removing the “interpreter” but not removing the dynamic indirection.

Read More...
python

Conda - a package management system

15:05:00, Wednesday, August 22, 2018

Conda brief Conda is an open source package management system and environment management system that runs on Windows, macOS and Linux. Package, dependency and environment management for any language—Python, R, Ruby, Lua, Scala, Java, JavaScript, C/ C++, FORTRAN Conda quickly installs, runs and updates packages and their dependencies. Conda easily creates, saves, loads and switches

Read More...
windows

Windows - 提高工作效率

21:40:08, Wednesday, August 8, 2018

使用 Windows 系统时可以提高工作效率的一些小技巧: 上下文环境菜单 右击桌面或者文件系统空白处时,会弹出上下文环境菜单如下: 键盘导航:该菜单中的项目在尾

Read More...
tool

Git Brief

16:16:00, Friday, June 22, 2018

安装配置 主要是客户端的用法 配置 After you install Git, configure it for first time use using git config, a built-in tool that obtains and sets configuration variables. These configuration variables are located in three different places on a GNU/Linux system: /etc/gitconfig - stores the configuration information for all system users and their respective repositories. ~/.gitconfig - stores user-specific configuration files

Read More...
python

Import

13:40:27, Friday, June 15, 2018

Introduction PEP 328 import 语句经常遇到的两个较为棘手的情形: 要导入许多对象时, import 太长。为了遵循一行代码不至于太长的约定,需要想办法将一个 import 语句分割为多行代码。

Read More...
python

Pep

11:35:25, Friday, June 15, 2018

The PEP contains conventions, not laws or syntax. “A universal convention supplies all of maintainability, clarity, consistency, and a foundation for good programming habits too. What it doesn’t do is insist that you follow it against your will. That’s Python!” —Tim Peters on comp.lang.python, 2001-06-16

Read More...
python

Performance

21:20:26, Wednesday, May 30, 2018

CPython 和 PyPy CPython作为最流行的Python环境,对于CPU密集型任务(CPU bound tasks)较慢,而 PyPy 则较快。 可以使用的 David Beazley的 C

Read More...
python

Package Quickstart

20:36:30, Wednesday, May 30, 2018

网络应用 Requests Python的urllib2标准模块涵盖了所需的大多数HTTP功能,但它的API却是支离破碎的。它构建在一个和现今完全不同的时期—

Read More...