$ svn log --xml | grep author | sort -u | perl -pe 's/.>(.?)<./$1 = /'手动设置对应关系 users.txt
| #!/usr/bin/env bash | |
| # ======================================================================================= | |
| # | |
| # A simple script to test Synology NAS disk speed with hdparm, dd and fio. | |
| # | |
| # How to use: | |
| # | |
| # 1. Save synology_disk_benchmark.sh and xfio.conf to your Synology NAS | |
| # 2. Make it executable: chmod +x synology_disk_benchmark.sh |
| # <类型>: (类型的值见下面描述) <主题> (最多50个字) | |
| # 解释为什么要做这些改动 | |
| # |<---- 请限制每行最多72个字 ---->| | |
| # 提供相关文章和其它资源的链接和关键字 | |
| # 例如: Github issue #23 | |
| # --- 提交 结束 --- | |
| # 类型值包含 |
| #+STARTUP: noindent | |
| 问题:VirtualBox成功安装Win7后无法识别招行网银 | |
| 系统:Ubuntu12.04 prices,VirtualBox4.1.12 | |
| 依次设置: | |
| 1 增加当前用户对usb的操作权限: | |
| $sudo lsusb | |
| Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub |
| .markdown-here-wrapper { | |
| font-size: 16px; | |
| line-height: 1.8em; | |
| letter-spacing: 0.1em; | |
| } | |
| pre, code { | |
| font-size: 14px; | |
| font-family: Roboto, 'Courier New', Consolas, Inconsolata, Courier, monospace; |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
| Ctrl+C | copy current line (if no selection) |
| Ctrl+X | cut current line (if no selection) |
| Ctrl+⇧+K | delete line |
| Ctrl+↩ | insert line after |
| <?php | |
| require_once 'app/Mage.php'; | |
| Mage::app(); | |
| $quote = Mage::getModel('sales/quote') | |
| ->setStoreId(Mage::app()->getStore('default')->getId()); | |
| $product = Mage::getModel('catalog/product')->load(6); /* 6 => Some product ID */ |
| # http://www.mono-project.com/Compiling_Mono_on_OSX | |
| require 'formula' | |
| class Mono < Formula | |
| #url 'http://download.mono-project.com/sources/mono/mono-3.0.6.tar.bz2' | |
| #sha1 'e2187f80366fcd65c55a1ab946f8d3b39e81be77' | |
| url 'http://download.mono-project.com/sources/mono/mono-2.10.9.tar.bz2' | |
| sha1 '1a6e8c5a0c3d88d87982259aa04402e028a283de' | |
| #!/bin/sh | |
| # purge-cache: Script to purge varnish cache. Defaults are defined in | |
| # /etc/default/varnish. | |
| # | |
| # Cosimo <[email protected]> | |
| # Based on reload-vcl, by Stig Sandbeck Mathisen <ssm at debian dot org> | |
| # Settings | |
| defaults=/etc/default/varnish |
| #!/bin/sh | |
| # purge-cache: Script to purge varnish cache. Defaults are defined in | |
| # /etc/default/varnish. | |
| # | |
| # Cosimo <[email protected]> | |
| # Based on reload-vcl, by Stig Sandbeck Mathisen <ssm at debian dot org> | |
| # Settings | |
| defaults=/etc/default/varnish |