https://backlog.com/git-tutorial/cn/intro/intro1_1.html
今天我们要来一起学习版本管理系统「Git」哦。
- 首先
- Git是一个分布式版本管理系统,是为了更好地管理Linux内核开发而创立的。
- 用来管理文件版本的系统,保存文件版本历史,不用备份文件
- 可以保存文件状态,可以复原到以前版本,可以显示编辑前后的变化差异
https://backlog.com/git-tutorial/cn/intro/intro1_1.html
今天我们要来一起学习版本管理系统「Git」哦。
| { | |
| // Place your snippets for python here. Each snippet is defined under a snippet name and has a prefix, body and | |
| // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
| // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
| // same ids are connected. | |
| // Example: | |
| // "Print to console": { | |
| // "prefix": "log", | |
| // "body": [ | |
| // "console.log('$1');", |
| # -*- coding: utf-8 -*- | |
| ''' | |
| 1. Construct the url with num_iid, eg: http://a.m.tmall.com/i15110720150.htm, 15110720150 is the num_iid. | |
| 2. Get the html text. | |
| 3. Parse the img urls and insert the num_iid and img urls into sqlite. | |
| ''' | |
| import requests | |
| from pyquery import PyQuery as pq |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| set theDate to do shell script "date '+%Y-%m-%d'" | |
| set outputPath to "~/Dropbox/mytemp/" | |
| set format to "txt" | |
| set counter to 1 | |
| set theFolder to "Notes" | |
| -- uses a counter to avoid duplicate filenames if notes have the same title | |
| tell application "Notes" | |
| tell folder theFolder | |
| set theNotes to every note |