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
# generated by Slic3r 1.3.0-dev on Fri Feb 23 16:52:42 2018 | |
[filament:ColorFabb Brass Bronze 1.75mm] | |
bed_temperature = 50 | |
bridge_fan_speed = 100 | |
compatible_printers = | |
cooling = 1 | |
disable_fan_first_layers = 1 | |
end_filament_gcode = "; Filament-specific end gcode \n;END gcode for filament\n" | |
extrusion_multiplier = 1 |
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
jakub@pidizvik:~/vsfm$ make | |
mkdir -p build | |
mkdir -p bin | |
cd build; ar -x ../lib/VisualSFM.a; cd ..; | |
g++ -w -o bin/VisualSFM build/*.* -pthread -lGL -lGLU -lX11 -ldl -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgthread-2.0 -pthread -lglib-2.0 lib/lapack.a lib/blas.a lib/libf2c.a lib/libjpeg.a | |
/usr/bin/ld: lib/lapack.a(dgeev.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC | |
/usr/bin/ld: lib/lapack.a(dgehrd.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC | |
/usr/bin/ld: lib/lapack.a(dgerqf.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC | |
/usr/bin/ld: lib/lapack.a(dgesv.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC | |
/usr/bin/ld: li |
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
function changeText(originalText) { | |
return "💩"; | |
} | |
// Najde všechny texty v dokumentu | |
var walker = document.createTreeWalker(document.body, NodeFilter.SHOW_TEXT, null, null); | |
// Sem budeme dávat nalezený texty | |
var node = null; | |
// dokud walker.nextNode() vrací text a ne null | |
while(node = walker.nextNode()) { | |
// "text node" má "data", to je text co je pak vidět v browseru |
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
#define E .0000001f | |
bool fEqual(float x, float y) | |
{ | |
return (x+E > y && x-E < y); | |
} | |
float4 rgba2hsla(float4 rgba) { | |
float M = max(rgba.x, rgba.y); | |
M = max(M, rgba.z); |
OlderNewer