Skip to content

Instantly share code, notes, and snippets.

make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[1]: Entering directory '/home/don/openscad_deps/mxe'
uname -a
Linux serebryanya 4.15.0-30-generic #32-Ubuntu SMP Thu Jul 26 17:42:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
git log --pretty=tformat:"%H - %s [%ar] [%d]" -1
e89d5d7ee2a059d676cb1d7ce8e7c2a0f28b70af - Install Qt4 translations [10 days ago] [ (HEAD -> master, origin/master, origin/HEAD)]
lsb_release -a 2>/dev/null || sw_vers 2>/dev/null || true
Distributor ID: Ubuntu
Description: Ubuntu 18.04 LTS
Release: 18.04
@donbright
donbright / keybase.md
Last active November 25, 2018 08:15
keybase.md

Keybase proof

I hereby claim:

  • I am donbright on github.
  • I am donbright (https://keybase.io/donbright) on keybase.
  • I have a public key ASDlKfbn8TrJm6rWLisYXJmfJYTpkf_lUza-6dWQ8X4idwo

To claim this, I am signing this object:

@donbright
donbright / cylinder_to_point.scad
Last active October 13, 2016 02:05
cylinder_to_point.scad
// public domain, don bright 2015, http://github.com/donbright
/* Cylinder from 0,0,0 to point x,y,z
very inefficient but it seems to work OK
see also
http://www.povray.org/documentation/view/3.6.0/297/
http://planning.cs.uiuc.edu/node102.html
http://www.songho.ca/opengl/gl_anglestoaxes.html
openscad source code transform.cc
*/
@donbright
donbright / README.tinycc.darwin8.md
Last active September 4, 2018 09:00
This allows rudimentary usage of TinyCC on Darwin 8 i386, the core of MacOSX 10.4

Step 0.

The point of this is to install the TinyCC compiler on the Darwin 8 computer operating sysytem, running on an i386 mcahine. Darwin 801 is the open source core of Apple's Mac OSX (TM) 10.4 Tiger operating system. The hottest operating system of 2005.

These are extremely rudimentary instructions, assuming you have an extensive experience with commandline and familiarity with the various terminology and jargon.

This was streamed on raw video here, and contains full unedited details of how it was done the first time:

@donbright
donbright / fakeclipplane.scad
Last active August 26, 2015 02:41
OpenSCAD fake clipping plane module
// public domain, don bright 2015, http://github.com/donbright
/* Fake version of POV-ray clipping plane, using 'cube' object.
Input is Normal vector, Distance, and 'cubesize'.
Example:
difference() { sphere(3); fakeclipplane([1,1,2],2,10); }
see also
http://www.povray.org/documentation/view/3.6.0/297/
http://planning.cs.uiuc.edu/node102.html
http://www.songho.ca/opengl/gl_anglestoaxes.html
@donbright
donbright / cgal mxe 32 bit
Created May 19, 2013 18:05
cgal mxe 32 bit
This file has been truncated, but you can view the full file.
make[1]: Entering directory `/home/don/openscad_deps/mxe'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
rm -rf '/home/don/openscad_deps/mxe/tmp-cgal'
mkdir -p '/home/don/openscad_deps/mxe/tmp-cgal'
cd '/home/don/openscad_deps/mxe/tmp-cgal' && xz -dc '/home/don/openscad_deps/mxe/pkg/CGAL-4.0.2.tar.xz' | tar xf -
cd '/home/don/openscad_deps/mxe/tmp-cgal/CGAL-4.0.2'
(cd '/home/don/openscad_deps/mxe/tmp-cgal/CGAL-4.0.2' && patch -p1 -u) < ./src/cgal-1-fixes.patch
patching file CMakeLists.txt
patching file TryRunResults.cgal.cmake
@donbright
donbright / gist:5608444
Created May 19, 2013 18:04
mxe 32 bit build cgal log
This file has been truncated, but you can view the full file.
make[1]: Entering directory `/home/don/openscad_deps/mxe'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
rm -rf '/home/don/openscad_deps/mxe/tmp-cgal'
mkdir -p '/home/don/openscad_deps/mxe/tmp-cgal'
cd '/home/don/openscad_deps/mxe/tmp-cgal' && xz -dc '/home/don/openscad_deps/mxe/pkg/CGAL-4.0.2.tar.xz' | tar xf -
cd '/home/don/openscad_deps/mxe/tmp-cgal/CGAL-4.0.2'
(cd '/home/don/openscad_deps/mxe/tmp-cgal/CGAL-4.0.2' && patch -p1 -u) < ./src/cgal-1-fixes.patch
patching file CMakeLists.txt
patching file TryRunResults.cgal.cmake
make[1]: Entering directory `/data/scratch/donb/mxe-w64'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
rm -rf '/data/scratch/donb/mxe-w64/tmp-cgal'
mkdir -p '/data/scratch/donb/mxe-w64/tmp-cgal'
cd '/data/scratch/donb/mxe-w64/tmp-cgal' && xz -dc '/data/scratch/donb/mxe-w64/pkg/CGAL-4.0.2.tar.xz' | tar xf -
cd '/data/scratch/donb/mxe-w64/tmp-cgal/CGAL-4.0.2'
(cd '/data/scratch/donb/mxe-w64/tmp-cgal/CGAL-4.0.2' && patch -p1 -u) < ./src/cgal-1-fixes.patch
patching file CMakeLists.txt
patching file TryRunResults.cgal.cmake
patching file cmake/modules/FindBoost.cmake