Copy these files to your ~/Library/Application Support/Notational Velocity/
folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> | |
> Author: Michael Fox | |
> Website: http://www.michaelfox.name | |
> | |
> Quix: http://quixapp.com | |
> | |
@Quixearches Quick Searches | |
acronym javascript:q%20=%20""%20+%20(window.getSelection%20?%20window.getSelection()%20:%20document.getSelection%20?%20document.getSelection()%20:%20document.selection.createRange().text);%20if%20(!q)%20q%20=%20prompt("You%20didn't%20select%20any%20text.%20%20Enter%20a%20search%20phrase:",%20"");%20if%20(q!=null)%20location="http://www.acronymfinder.com/af-query.asp?Find=find&string=exact&Acronym="%20+%20escape(q);%20void%200 Acronym Search |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"searchEngine": "http://www.google.com/search?q=", | |
"commandEngine": "quix", | |
"quixUrl": "https://dl.dropbox.com/s/jpc1gu600xunbs5/quix.txt", | |
"searchBookmarks": true, | |
"scrollingSpeed": "500", | |
"outsideScrolling": false, | |
"shortcutKey": "71", | |
"upScrollingKey": "87", | |
"downScrollingKey": "83", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
$system_support_dir = '/Library/Application Support/TextMate'; | |
$system_bundles_dir = $system_support_dir . "/Bundles"; | |
$official_bundles = array( | |
"ActionScript" => "https://github.com/textmate/actionscript.tmbundle", | |
"Apache" => "https://github.com/textmate/apache.tmbundle", | |
"AppleScript" => "https://github.com/textmate/applescript.tmbundle", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
set encoding=utf-8 | |
set hidden | |
filetype plugin indent on | |
syntax on | |
set synmaxcol=2048 " Don't syntax highlight super-long lines (for performance) | |
set autoindent " automatically indent lines and try to do it intelligently | |
set smartindent | |
set backspace=indent,eol,start " backspace behaves 'normally' |
See html5.org/r/6884
/^[a-zA-Z0-9.!#$%&'*+-/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Brett's searches | |
@Brett's custom searches | |
go https://duckduckgo.com/?q=%21%20%s Open first result (DuckDuckGo) | |
b https://duckduckgo.com/?q=%21%s Bang search (DuckDuckGo) | |
grep https://www.cueup.com/?q=%s&fq=1 Greplin | |
ss https://duckduckgo.com/site:%d%20%s Current site (DuckDuckGo) | |
bt https://duckduckgo.com/site:brettterpstra.com%20%s BrettTerpstra.com (DuckDuckGo) | |
gh http://github.com/search?q=%s&type=Everything&repo=&langOverride=&start_value=1 Search GitHub (everything) | |
hints http://hints.macworld.com/search.php?query=%s&keyType=all&datestart=&dateend=&topic=0&type=stories&results=50&mode=search Search Mac OS X Hints | |
mu http://www.macupdate.com/find/mac/%s Search MacUpdate (Software) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
# Force www | |
RewriteEngine on | |
RewriteCond %{HTTPS} (on)? | |
RewriteCond %{HTTP_HOST} !^www\..+$ [NC] | |
RewriteRule ^ http(?%1s)://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] | |
</IfModule> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Site: sitename.local | |
<VirtualHost *:80> | |
ServerName sitename.local | |
ServerAlias *.sitename.local | |
DirectoryIndex index.php index.html | |
DocumentRoot "/www/sitename/web" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* http://dev.mysql.com/doc/refman/5.1/en/string-functions.html#function_find-in-set | |
* | |
* @param field | |
* @param first_value, second_value, ... | |
*/ | |
public function sort_literal() { | |
$args = func_get_args(); |