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
$ vagrant up | |
There were warnings and/or errors while loading your Vagrantfile. | |
Your Vagrantfile was written for an earlier version of Vagrant, | |
and while Vagrant does the best it can to remain backwards | |
compatible, there are some cases where things have changed | |
significantly enough to warrant a message. These messages are | |
shown below. | |
Warnings: | |
* `config.vm.customize` calls are VirtualBox-specific. If you're |
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
RewriteEngine on | |
RewriteRule ^/galaxy$ /galaxy/ [R] | |
RewriteRule ^/galaxy/static/style/(.*) /Users/galaxy/galaxy-dist/static/june_2007_style/blue/$1 [L] | |
RewriteRule ^/galaxy/static/scripts/(.*) /Users/galaxy/galaxy-dist/static/scripts/packed/$1 [L] | |
RewriteRule ^/galaxy/static/(.*) /Users/galaxy/galaxy-dist/static/$1 [L] | |
RewriteRule ^/galaxy/favicon.ico /Users/galaxy/galaxy-dist/static/favicon.ico [L] | |
RewriteRule ^/galaxy/robots.txt /Users/galaxy/galaxy-dist/static/robots.txt [L] | |
RewriteRule ^/galaxy(.*) http://localhost:8080$1 [P] |
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
>>> x = [] | |
>>> y = [x, [x], dict(x=x)] | |
>>> import objgraph | |
>>> objgraph.show_refs([y], filename='sample-graph.png') | |
Graph written to ....dot (... nodes) | |
Image generated as sample-graph.png |
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
import pycallgraph | |
pycallgraph.start_trace() | |
# insert code | |
pycallgraph.make_dot_graph('test.png') |
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
-- Find the note in omnifocus for the current project / folder | |
-- (or create a new one) and display it. | |
-- Created by Mark Fowler ([email protected]) | |
-- Help from http://veritrope.com/code/search-evernote-for-notes-containing-link-to-selected-omnifocus-item/ | |
-- on getting the name / url for the current omnifocus item | |
tell front window of application "OmniFocus" | |
try |
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
bc<<<2+2 |
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
#!/usr/bin/perl -w | |
use strict; | |
print "Hello world, this is an example of a gist embedded in a wp post.\n"; |
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
DB<124> $stream = $db->get_Stream_by_id(\@a); | |
DB<125> | |
------------- EXCEPTION: Bio::Root::Exception ------------- | |
MSG: WebDBSeqI Request Error: | |
500 write failed: Connection reset by peer | |
Content-Type: text/plain | |
Client-Date: Tue, 18 Oct 2011 15:58:29 GMT | |
Client-Warning: Internal response |
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
DB<21> $db = Bio::DB::Fasta->new('out.fa'); | |
indexing was interrupted, so unlinking out.fa.index at /usr/lib/perl5/site_perl/5.8.8/Bio/DB/Fasta.pm line 1053. | |
at /usr/lib/perl5/site_perl/5.8.8/Bio/DB/Fasta.pm line 1053 | |
Bio::DB::Fasta::DESTROY('Bio::DB::Fasta=HASH(0x14d3b8a0)') called at /usr/lib/perl5/vendor_perl/5.8.8/Error.pm line 184 | |
eval {...} called at /usr/lib/perl5/vendor_perl/5.8.8/Error.pm line 184 | |
DB::eval called at /usr/lib/perl5/5.8.8/perl5db.pl line 3410 | |
DB::DB called at -e line 1 |