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
#include <stdio.h> | |
int main (int argc, char ** argv) { | |
int A[10][10]; | |
A[3][3] = 10; | |
printf("i am ten: %d\n", *(((int*) A)+33)); | |
} |
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
def dict_subset(d1, d2): | |
"""Return true if d2 is contained within d1.""" | |
if type(d1) is not dict or type(d2) is not dict: | |
return False | |
res = [] | |
for key, val in d2.items(): | |
if key in d1.keys(): | |
if type(val) is dict: | |
res.append(dict_subset(d1[key], val)) | |
elif val != d1[key]: |
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
LINK usr/lib/libjulia.dylib | |
Undefined symbols for architecture x86_64: | |
"llvm::TargetRegistry::lookupTarget(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&)", referenced from: | |
_jl_dump_function_asm in codegen.o | |
"std::string::find_last_not_of(char, unsigned long) const", referenced from: | |
llvm::SMDiagnostic::print(char const*, llvm::raw_ostream&, bool) const in libLLVMSupport.a(SourceMgr.o) | |
"std::string::copy(char*, unsigned long, unsigned long) const", referenced from: | |
llvm::sys::Path::makeUnique(bool, std::string*) in libLLVMSupport.a(Path.o) | |
"std::string::find(char const*, unsigned long, unsigned long) const", referenced from: | |
llvm::TernOpInit::Fold(llvm::Record*, llvm::MultiClass*) const in libLLVMTableGen.a(Record.o) |
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
type PhyloNode | |
label::String | |
children::Vector{PhyloNode} | |
length::Real | |
end | |
function parsenewick(newick::String) | |
newick = rstrip(newick,';') | |
newick = replace(newick,":","+") | |
newick_expr = parse(newick) |
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
function replace_(rep,expr::Expr) | |
i = findfirst(x->x==:_,expr.args) | |
if i == 0 | |
# recurse on subexprs one at a time | |
# subexprs = expr.args[] | |
error("dun goofed") | |
else | |
return Expr(expr.head, | |
[expr.args[1:i-1] | |
rep |
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
2013-12-30 11:38] torque-node172-16-1-250: Cufflinks on /glusterfs/users/jporter/scale/hg19_scale_project/work2/align/HG00109_1_M_120209_4/3_131109_hg19_scale_project_tophat/3_131109_hg19_scale_project | |
-sort.bam. | |
[2013-12-30 11:38] torque-node172-16-1-250: [05:38:07] Loading reference annotation and sequence. | |
[2013-12-30 12:41] torque-node172-16-1-250: Warning: couldn't find fasta record for 'chr17_ctg5_hap1'! | |
[2013-12-30 12:41] torque-node172-16-1-250: This contig will not be bias corrected. | |
[2013-12-30 12:41] torque-node172-16-1-250: Warning: couldn't find fasta record for 'chr17_gl000205_random'! | |
[2013-12-30 12:41] torque-node172-16-1-250: This contig will not be bias corrected. | |
[2013-12-30 12:48] torque-node172-16-1-250: Warning: couldn't find fasta record for 'chr19_gl000209_random'! | |
[2013-12-30 12:48] torque-node172-16-1-250: This contig will not be bias corrected. | |
[2013-12-30 12:48] torque-node172-16-1-250: Warning: couldn't find fasta record for 'chr1_gl000191_random'! |
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
Maui Scheduler General Public License | |
This product includes software developed for The University of New Mexico High Performance Computing Education and Research Center for use in the Maui Scheduler software. Copyright (C) 2000 Science and Technology Corporation @ UNM, Software developed for The University of New Mexico. All Rights Reserved. | |
Maui Scheduler is a trademark of Science & Technology Corporation @ UNM | |
THE SOFTWARE IS PROVIDED AS IS AND SCIENCE & TECHNOLOGY CORPORATION @ UNM (STC) AND THE UNIVERSITY OF NEW MEXICO (UNM) DISCLAIM ALL WARRANTIES RELATING TO THE SOFTWARE, WHETHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. NEITHER UNM, | |
STC, NOR ANYONE INVOLVED IN THE CREATION, PRODUCTION, OR DELIVERY OF THE SOFTWARE SHALL BE LIABLE FOR ANY INDIRECT, CONSEQUENTIAL, OR INCIDENTAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE EVEN IF UNM OR STC HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR |
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
(setq inhibit-startup-message t) | |
(global-set-key (kbd "M-n") 'forward-paragraph) | |
(global-set-key (kbd "M-p") 'backward-paragraph) | |
(setq backup-inhibited t) | |
(setq auto-save-default nil) | |
(setq create-lockfiles nil) | |
(defalias 'yes-or-no-p 'y-or-n-p) |
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
[2014-02-27 16:02:13] DEBUG lt-chitcpd <<< New state: CLOSING | |
[2014-02-27 16:02:13] DEBUG lt-chitcpd <<< Finished handling event PACKET_ARRIVAL on state FIN_WAIT_1 | |
[2014-02-27 16:02:13] DEBUG lt-chitcpd >>> Handling event PACKET_ARRIVAL on state CLOSING | |
[2014-02-27 16:02:13] DEBUG lt-chitcpd <<< New state: CLOSING | |
[2014-02-27 16:02:13] DEBUG lt-chitcpd >>> TCP data BEFORE handling: | |
[2014-02-27 16:02:13] DEBUG lt-chitcpd ······················································ | |
[2014-02-27 16:02:13] DEBUG lt-chitcpd CLOSING | |
[2014-02-27 16:02:13] DEBUG lt-chitcpd | |
[2014-02-27 16:02:13] DEBUG lt-chitcpd ISS: 3949 IRS: 3949 | |
[2014-02-27 16:02:13] DEBUG lt-chitcpd SND.UNA: 3950 |