Skip to content

Instantly share code, notes, and snippets.

> 这是一个 Quix 内置命令中文版文件
>
> 要查看更多关于 Quix 命令的编写请参考 http://quixapp.com/syntax/ 或是查看 Lucifr 翻译的中文手册 http://lucifr.com/quix
>
#kill-defaults
@基本命令
@这些是 Quix 内置的最为基本的命令,但可能也是最为强大的一些命令。
a http://www.amazon.com/s/?field-keywords=%s Amazon(亚马逊英文) 搜索
d http://www.google.com/search?q=define:%s Google 定义一个词语
@lucifr
lucifr / code_in_ol.md
Created February 21, 2012 12:57
code in ol
  1. xxxxx

    your code
    
  2. xxxxx

@lucifr
lucifr / sublimetext2.html
Created March 5, 2012 02:49
Sublime Text 2 Shortcuts for Cheaters
<table>
<caption>打开/前往</caption>
<colgroup>
<col style="text-align:left;width:150px"/>
<col style="text-align:left;"/>
</colgroup>
<thead>
<tr>
<th scope="col">快捷键</th>
<th scope="col">说明</th>
@lucifr
lucifr / gist:3696466
Created September 11, 2012 06:25 — forked from al3xandru/gist:1169583
Things Generalized Bookmarklet
javascript: (function () {
var w = window,
d = document,
selectedTxt = w.getSelection ? w.getSelection() : (d.getSelection) ? d.getSelection() : (d.selection ? d.selection.createRange().text : 0),
pageUri = w.location.href,
isGMail = w.location.host.match(/mail\.google\.com/),
subject = d.title,
source, url;
if (isGMail) {
var msgFrm = d.getElementById('canvas_frame'),
@lucifr
lucifr / QuickViewer.py
Created November 7, 2015 14:13
QuickViewer.py
# coding: utf-8
from objc_util import *
import appex
SFSafariViewController = ObjCClass('SFSafariViewController')
def open_in_safari_vc(url):
vc = SFSafariViewController.alloc().initWithURL_entersReaderIfAvailable_(nsurl(url), True)
@lucifr
lucifr / markdown.js
Created January 2, 2013 06:34
markdown.js for hexo
var marked = require('marked'),
mdiscn = require('discount'),
_ = require('underscore'),
highlight = require('../util').highlight,
extend = require('../extend');
var regex = {
backtick: /^`{3}\s*([^\n]+)\n([^`]+)/,
captionUrl: /([^\s]+)\s*(.*)(https?:\/\/\S+)\s*(.*)/,
caption: /([^\s]+)\s*(.*)/
@lucifr
lucifr / AOL Reader Compact.css
Created June 29, 2013 06:17
Ads removed. More compact layout.
.header {
height:49px!important
}
.profile {
margin-top:5px!important
}
.app-logo {
margin-top:14px!important
@lucifr
lucifr / 115fullwindowmod.user.js
Last active January 29, 2016 06:04
100% width and height in 115.com player
// ==UserScript==
// @name 115 Player Full-Window-Mod
// @namespace http://lucifr.com/
// @version 0.1
// @description 100% width and height in 115.com player
// @author Lucifr
// @include http://*.115.com/*
// @include http://115.com/*
// @grant GM_addStyle
// ==/UserScript==
@lucifr
lucifr / Code added to _config.yml
Created December 2, 2011 04:41
Flickr aside for Octopress
# Flick Badges
# Find your user id here: http://idgettr.com/ It should be something like "25711589%40N00".
flickr_user: 25711589%40N00
flickr_count: 6
@lucifr
lucifr / private.xml
Created February 17, 2013 16:00
My KeyRemap4MacBook private.xml
<?xml version="1.0"?>
<root>
<item>
<name>F19 to F19</name>
<appendix>(F19 to Hyper (ctrl+shift+cmd+opt) + F19 Only, F19)</appendix>
<identifier>private.f192f19</identifier>
<autogen>
--KeyOverlaidModifier--
KeyCode::F19,
KeyCode::COMMAND_L,