Skip to content

Instantly share code, notes, and snippets.

View cweagans's full-sized avatar

Cameron Eagans cweagans

View GitHub Profile
<script type="text/javascript">($=[$=[]][(__=!$+$)[_=-~-~-~$]+({}+$)[_/_]+
($$=($_=!''+$)[_/_]+$_[+$])])()[__[_/_]+__
[_+~$]+$_[_]+$$](_/_)</script>
commit 99d8f7d39f15be6905929268e1ee61b8f8ff2afa
Author: Cameron Eagans <cweagans@gmail.com>
Date: Wed Nov 16 12:54:53 2011 -0700
Patch for actionscript parsing
diff --git a/actionscript.c b/actionscript.c
new file mode 100644
index 0000000..39f8d15
--- /dev/null
@cweagans
cweagans / .htaccess
Created December 1, 2011 23:27 — forked from jacine/.htaccess
My favorite Drupal trick for local theme development
# Find this line and insert the code below it (adapted to use your sitename/server).
# RewriteBase /
# Use files on the dev server instead of syncing them locally.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^sites/sitename/(files/.*)$ http://dev.whatever.com/sites/sitename/$1 [L,QSA]
total 0
drwxr-xr-x 5 cweagans staff 170 Dec 8 00:29 Lucius
drwxr-xr-x 5 cweagans staff 170 Dec 9 11:22 blackboard
drwxr-xr-x 5 cweagans staff 170 Dec 8 00:29 bufkill.vim
drwxr-xr-x 5 cweagans staff 170 Dec 8 00:29 cmdalias.vim
drwxr-xr-x 6 cweagans staff 204 Dec 9 11:23 flex-highlighting
drwxr-xr-x 9 cweagans staff 306 Dec 8 00:29 gist-vim
drwxr-xr-x 7 cweagans staff 238 Dec 8 00:29 minibufexpl.vim
drwxr-xr-x 8 cweagans staff 272 Dec 8 00:29 nerdtree
drwxr-xr-x 5 cweagans staff 170 Dec 8 00:29 nerdtree-chmod
<?php
/**
* @file
*
* drush_phpstorm.drush.inc
*
* Generates a command XML file for PHPStorm/WebStorm/IntelliJ IDEs
* that provides integration with Drush
*/
<?php
/**
* @file
*
* drush_phpstorm.drush.inc
*
* Generates a command XML file for PHPStorm/WebStorm/IntelliJ IDEs
* that provides integration with Drush
*/
<?php
/**
* @file
* Provides MetaWeblog services for BlogAPI
*/
/**
* Implements hook_blogapi_info().
*/
# Created Tue Oct 25 11:44:33 MDT 2011
<VirtualHost *:80>
DocumentRoot "/Users/cweagans/Sites/marketer.dev"
ServerName marketer.dev
#ServerAlias your.alias.here
ScriptAlias /cgi-bin "/Users/cweagans/Sites/marketer.dev/cgi-bin"
<Directory "/Users/cweagans/Sites/marketer.dev">
Options All
Okay, after hashing this out in IRC for a little while, here's what we (myself, Michelle) think should happen:
1) Add a block to http://drupal.org/forum saying something to the effect of "Some support can be found in the forums, and you're welcome to use it as such, but you may find quicker response and more condensed information here: link to SE"
2) Add a link to SE on http://drupal.org/support
3) Point askdrupal.org at the Drupal StackExchange site
SELECT
pic.nid,
pic.sid as "original_state",
pis.name as "original_state_name",
pic.comment_number,
(
SELECT
pic2.sid
FROM
project_issue_comments pic2