Skip to content

Instantly share code, notes, and snippets.

View cweagans's full-sized avatar

Cameron Eagans cweagans

View GitHub Profile
" Configure Cmd+/ to run `gc` in visual mode for block commenting
vnoremap <D-/> :Commentary<CR>
nnoremap <D-/> :Commentary<CR><Down>
" Configure Gist plugin
let g:gist_clip_command = 'pbcopy'
let g:gist_post_private = 1
akamai-x-get-request-id, akamai-x-cache-on, akamai-x-cache-remote-on, akamai-x-check-cacheable, akamai-x-get-cache-key, akamai-x-get-extracted-values, akamai-x-get-nonces, akamai-x-get-ssl-client-session-id, akamai-x-get-true-cache-key, akamai-x-serial-no
diff --git a/README.md b/README.md
index e6a463a..d50d69e 100644
--- a/README.md
+++ b/README.md
@@ -100,3 +100,8 @@ This library draws inspiration from the [C++ Boost Graph Library](http://www.boo
## License
MIT
+
+## THIS IS A NEW SECTION ADDED BY A PATCH.
$ ./build.py --codeintel-completer
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++
<?php
namespace My\Something {
class MyClass {
public static function my_function() {
echo "shutdown function called";
}
}
}
<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
*/