Skip to content

Instantly share code, notes, and snippets.

Avatar
🏔️

Jake Bolewski jakebolewski

🏔️
View GitHub Profile
View libLLVM_common.jl
# Skipping MacroDefinition: LLVM_FOR_EACH_VALUE_SUBCLASS ( macro ) macro ( Argument ) macro ( BasicBlock ) macro ( InlineAsm ) macro ( MDNode ) macro ( MDString ) macro ( User ) macro ( Constant ) macro ( BlockAddress ) macro ( ConstantAggregateZero ) macro ( ConstantArray ) macro ( ConstantExpr ) macro ( ConstantFP ) macro ( ConstantInt ) macro ( ConstantPointerNull ) macro ( ConstantStruct ) macro ( ConstantVector ) macro ( GlobalValue ) macro ( Function ) macro ( GlobalAlias ) macro ( GlobalVariable ) macro ( UndefValue ) macro ( Instruction ) macro ( BinaryOperator ) macro ( CallInst ) macro ( IntrinsicInst ) macro ( DbgInfoIntrinsic ) macro ( DbgDeclareInst ) macro ( MemIntrinsic ) macro ( MemCpyInst ) macro ( MemMoveInst ) macro ( MemSetInst ) macro ( CmpInst ) macro ( FCmpInst ) macro ( ICmpInst ) macro ( ExtractElementInst ) macro ( GetElementPtrInst ) macro ( InsertElementInst ) macro ( InsertValueInst ) macro ( LandingPadInst ) macro ( PHINode ) macro ( SelectInst ) macro ( ShuffleVectorInst ) macro
@jakebolewski
jakebolewski / gist:105415d9a0c1883135e7
Created Aug 13, 2014
Frontend Profile for Tim Holy's examples
View gist:105415d9a0c1883135e7
profiling the front-end
autogenerated test file 1:
julia> function makescript(filename)
open(filename, "w") do file; write(file, "begin\n")
for i = 1:10_000
funcname = "myfunc$i"
write(file, "function $funcname(x)\n x^2\nend\n")
end; write(file, "end")
@jakebolewski
jakebolewski / debug
Last active Aug 29, 2015
Flisp debug
View debug
Reading symbols from flisp/flisp-debug...done.
(gdb) r
Starting program: /home/jake/julia-test/src/flisp/flisp-debug
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
; _
; |_ _ _ |_ _ | . _ _
; | (-||||_(_)|__|_)|_)
;-------------------|----------------------------------------------------------
@jakebolewski
jakebolewski / pkg_load_times_v03.csv
Created Sep 11, 2014
Pkg load times (julia version 0.3.0, julia version 0.4.0-dev+543)
View pkg_load_times_v03.csv
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
AffineTransforms;0.3014349937438965
AnsiColor;0.2761049270629883
ApproxFun;1.699977159500122
ArgParse;0.649144172668457
ArrayViews;0.4829108715057373
ASCIIPlots;0.32707691192626953
AudioIO;0.4905061721801758
Autoreload;0.4801661968231201
AWS;7.8245720863342285
BayesNets;6.312806844711304
View gist:104458397f2e97a3d57d
/Users/jacobbolewski/.julia/v0.3/AWS/src/show.jl => 2
/Users/jacobbolewski/.julia/v0.3/Bokeh/src/generate.jl => 1
/Users/jacobbolewski/.julia/v0.3/SymPy/src/utils.jl => 1
/Users/jacobbolewski/.julia/v0.3/Roots/src/adiff.jl => 1
/Users/jacobbolewski/.julia/v0.3/VML/src/ops.jl => 5
/Users/jacobbolewski/.julia/v0.3/XClipboard/src/XLib.jl => 2
/Users/jacobbolewski/.julia/v0.3/PLX/src/PLX.jl => 1
/Users/jacobbolewski/.julia/v0.3/Gtk/src/displays.jl => 2
/Users/jacobbolewski/.julia/v0.3/VML/test/common.jl => 5
/Users/jacobbolewski/.julia/v0.3/JSON/src/JSON.jl => 2
@jakebolewski
jakebolewski / gist:7f0eb06712ae4b5b1a35
Created Sep 24, 2014
sysimg build for issue #8461
View gist:7f0eb06712ae4b5b1a35
exports.jl
base.jl
reflection.jl
build_h.jl
version_git.jl
c.jl
promotion.jl
tuple.jl
range.jl
expr.jl
@jakebolewski
jakebolewski / gist:bc5b9308749649de8187
Created Nov 18, 2014
HDF5.jl Blosc compression timings
View gist:bc5b9308749649de8187
additives.jls:
serialize write/read
elapsed time: 0.598674364 seconds (33272500 bytes allocated)
2.263 MB
elapsed time: 0.04262621 seconds (7201672 bytes allocated)
jld write/read
elapsed time: 2.307459562 seconds (97953324 bytes allocated, 1.88% gc time)
3.842 MB
@jakebolewski
jakebolewski / config_to_beanshell.py
Created May 8, 2013
A simple program to auto generate a Micro-manager startup script from a Micro manager configuration file
View config_to_beanshell.py
#!/usr/bin/python
import sys
import csv
from string import Template
###############################################################################
# CMD Line Usage
###############################################################################
def print_usage():
@jakebolewski
jakebolewski / MMStartup.bsh
Last active Dec 17, 2015
Auto generated Micro Manger start up file
View MMStartup.bsh
/**
*******************************************************************************
**************************** autogenerated ************************************
*******************************************************************************
**/
/*** Reset **/
mmc.reset();
mmc.setProperty("Core", "Initialize", "0");
View gist:5537609
# Generated by Configurator on Tue Apr 23 11:16:09 EDT 2013
# Reset
Property,Core,Initialize,0
# Devices
Device,COM1,SerialManager,COM1
Device,COM2,SerialManager,COM2
Device,COM10,SerialManager,COM10
Device,COM12,SerialManager,COM12