This file contains hidden or 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
require 'digest/md5' | |
=begin | |
About: | |
This script automatically runs on a 2-second loop, searches the current directory for haml & sass files that have been modified since the last iteration and builds them as needed into a file with the same name minus the .haml/sass extension. I wrote it so I could use Haml & Sass to develop Wordpress themes. | |
How-to: | |
1) Name your source files with the extension you'd like them to have, then add ".haml" or ".sass" as appropriate... | |
For example: index.php.haml and styles.css.sass |
This file contains hidden or 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
# $Id: PKGBUILD 134523 2011-08-05 07:55:30Z juergen $ | |
# Maintainer: Juergen Hoetzel <[email protected]> | |
# Contributor: Renchi Raju <[email protected]> | |
pkgname=emacs-athena | |
pkgver=23.3a | |
pkgrel=1 | |
pkgdesc="The Emacs Editor, with Athena widget toolkit" | |
arch=(i686 x86_64) | |
url="http://www.gnu.org/software/emacs/emacs.html" | |
license=('GPL') |
This file contains hidden or 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
from datetime import datetime | |
from flask import * | |
from flaskext.wtf import * | |
from flaskext.sqlalchemy import * | |
from werkzeug import generate_password_hash, check_password_hash | |
app = Flask() | |
app.config.from_pyfile('app_settings.py') | |
db = SQLAlchemy(app) |
This file contains hidden or 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 | |
/* | |
Plugin Name: Disable plugins when doing local dev | |
Description: If the WP_LOCAL_DEV constant is true, disables plugins that you specify | |
Version: 0.1 | |
License: GPL version 2 or any later version | |
Author: Mark Jaquith | |
Author URI: http://coveredwebservices.com/ | |
*/ |
This file contains hidden or 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
@register.filter(name='twittify') | |
def twittify(value): | |
""" Replace @ and #'s with links to twitter""" | |
return mark_safe( | |
re.sub(r"#(?P<ht>([a-zA-Z0-9_])+)", r"#<a href='http://twitter.com/#!/search?q=\g<ht>' target='_blank'>\g<ht></a>", | |
re.sub(r"@(?P<un>([a-zA-Z0-9_]){1,15})", r"@<a href='http://twitter.com/\g<un>' target='_blank'>\g<un></a>", value)) | |
) | |
twittify.mark_safe=True |
This file contains hidden or 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
$less-column-width: 68px; | |
$less-gutter-width: 24px; | |
@function column-width($columns) { | |
@return ($less-column-width * $columns) + ($less-gutter-width * ($columns - 1)); | |
} | |
@function grid-padding-px($columns) { | |
@if $columns == 10 { | |
@return 48px; |
This file contains hidden or 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
:+1: | |
:-1: | |
:airplane: | |
:art: | |
:bear: | |
:beer: | |
:bike: | |
:bomb: | |
:book: | |
:bulb: |
This file contains hidden or 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 | |
/* | |
Plugin Name: Comment meta data test | |
Version: 1.0 | |
Plugin URI: http://wpengineer.com | |
Description: Comment meta data test | |
Author: Latz | |
Author URI: http://wpengineer.com | |
*/ |
This file contains hidden or 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 | |
/* | |
Plugin Name: Comment meta data test | |
Version: 1.0 | |
Plugin URI: http://wpengineer.com | |
Description: Comment meta data test | |
Author: Latz | |
Author URI: http://wpengineer.com | |
*/ |
This file contains hidden or 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
(add-to-list 'load-path "~/Dropbox/Mew") | |
(autoload 'mew "mew" nil t) | |
(autoload 'mew-send "mew" nil t) | |
;; Optional setup (Read Mail menu for Emacs 21): | |
(if (boundp 'read-mail-command) | |
(setq read-mail-command 'mew)) | |
;; Optional setup (e.g. C-xm for sending a message): | |
(autoload 'mew-user-agent-compose "mew" nil t) | |
(if (boundp 'mail-user-agent) |