Skip to content

Instantly share code, notes, and snippets.

View mariusk's full-sized avatar

Marius Kjeldahl mariusk

View GitHub Profile
--- node_modules/art/core/path.js.org 2015-12-01 15:43:21.000000000 +0100
+++ node_modules/art/core/path.js 2015-12-01 15:50:24.000000000 +0100
@@ -95,8 +95,8 @@
if (ex == null){
this._pivotX = +c1x; this._pivotY = +c1y;
ex = +c2x; ey = +c2y;
- c2x = (ex + (+c1x) * 2) / 3; c2y = (ey + (+c1y) * 2) / 3;
- c1x = (x + (+c1x) * 2) / 3; c1y = (y + (+c1y) * 2) / 3;
+ c2x = (ex + (c1x) * 2) / 3; c2y = (ey + (c1y) * 2) / 3;
+ c1x = (x + (c1x) * 2) / 3; c1y = (y + (c1y) * 2) / 3;
import _ from 'lodash';
import React from 'react';
import React3 from 'react-three-renderer';
import THREE from 'three';
class ThreeDView extends React.Component {
constructor(props, context) {
super(props, context);
this.cameraPosition = new THREE.Vector3(0, 0, 5);
let Start = React.createClass({
childContextTypes: {
user: React.PropTypes.object
},
getChildContext: function() {
return this.state;
},
(add-hook 'web-mode-hook (lambda ()
(setq web-mode-markup-indent-offset 2)
(setq web-mode-css-indent-offset 2)
(setq web-mode-code-indent-offset 2)))
sudo xcode-select -s /Library/Developer/CommandLineTools
brew reinstall php56 --with-homebrew-libressl --with-homebrew-libxml2 --with-pgsql
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
composer global require drush/drush:dev-master
export PATH=$PATH:"~/.composer/vendor/bin"
drush dl drupal-8
$ clang -o conftest -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/libxml2 conftest.c -ldl -v -Wl,-v
Apple LLVM version 7.0.0 (clang-700.0.53)
Target: x86_64-apple-darwin15.0.0
Thread model: posix
"/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.11.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -disable-free -disable-llvm-verifier -main-file-name conftest.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -relaxed-aliasing -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 251.4 -v -dwarf-column-info -resource-dir /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefaul
$ clang -o conftest -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/libxml2 -L/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib conftest.c -ldl -v -Wl,-v
Apple LLVM version 7.0.0 (clang-700.0.53)
Target: x86_64-apple-darwin15.0.0
Thread model: posix
"/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.11.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -disable-free -disable-llvm-verifier -main-file-name conftest.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -relaxed-aliasing -masm-verbose -munwind-tables -target-cpu core2 -target-linker-ver
clang -o conftest -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/libxml2 -L/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib conftest.c -ldl -v
Apple LLVM version 7.0.0 (clang-700.0.53)
Target: x86_64-apple-darwin15.0.0
Thread model: posix
"/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.11.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -disable-free -disable-llvm-verifier -main-file-name conftest.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -relaxed-aliasing -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 251
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by PostgreSQL configure 9.4.4, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --disable-debug --prefix=/usr/local/Cellar/postgresql/9.4.4 --datadir=/usr/local/Cellar/postgresql/9.4.4/share/postgresql --docdir=/usr/local/Cellar/postgresql/9.4.4/share/doc/postgresql --enable-thread-safety --with-bonjour --with-gssapi --with-ldap --with-openssl --with-pam --with-libxml --with-libxslt --with-perl --with-tcl --with-tclconfig=/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib --with-uuid=e2fs
## --------- ##
## Platform. ##
$ otool -L /usr/lib/libSystem.B.dylib
/usr/lib/libSystem.B.dylib:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1225.0.0)
/usr/lib/system/libcache.dylib (compatibility version 1.0.0, current version 75.0.0)
/usr/lib/system/libcommonCrypto.dylib (compatibility version 1.0.0, current version 60074.0.0)
/usr/lib/system/libcompiler_rt.dylib (compatibility version 1.0.0, current version 62.0.0)
/usr/lib/system/libcopyfile.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/system/libcorecrypto.dylib (compatibility version 1.0.0, current version 334.0.0)
/usr/lib/system/libdispatch.dylib (compatibility version 1.0.0, current version 500.1.5)
/usr/lib/system/libdyld.dylib (compatibility version 1.0.0, current version 360.14.0)