Generates an algorithmic 3D OBJ file with ThreeJS and Node.js.
# print to stdout
node generate-mesh.js > test.obj
# write to file
node generate-mesh.js test.obj
/* | |
****************************************************************************** | |
* Copyright (c) 2015 Particle Industries, Inc. All rights reserved. | |
* | |
* This library is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU Lesser General Public | |
* License as published by the Free Software Foundation, either | |
* version 3 of the License, or (at your option) any later version. | |
* | |
* This library is distributed in the hope that it will be useful, |
NOTES:
p1
referred to below is simply the name given to the LXC. You can change this if you want, just remember to always refer to the same container name :PVagrantfile
's only network config is:config.vm.network "public_network", :bridge => 'en0: Wi-Fi (AirPort)'
# This file is part of avahi. | |
# | |
# avahi is free software; you can redistribute it and/or modify it | |
# under the terms of the GNU Lesser General Public License as | |
# published by the Free Software Foundation; either version 2 of the | |
# License, or (at your option) any later version. | |
# | |
# avahi is distributed in the hope that it will be useful, but WITHOUT | |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public |
given some DOM: | |
<a href="#/">Foo<a> | |
<a href="#/bar">Bar<a> | |
<a href="#/baz!">Baz<a> | |
here is a relatively simple routing API: | |
var routes = { | |
'/': function() { |
13:20 < Nexxy> mmalecki, I experienced OC spray today! | |
13:21 <+mmalecki> Nexxy: why would you even | |
13:21 < Nexxy> I wanted to make sure it worked | |
13:22 < Nexxy> it... it works. | |
13:22 <+mmalecki> what. | |
13:22 < Nexxy> I bought OC spray for my waifu and I and I read that you should test them to make sure they work | |
13:22 < Nexxy> so I did. | |
13:22 < Nexxy> and they do. | |
13:22 < Nexxy> really well. | |
13:23 < Nexxy> so well I had to take a nap after I was done choking |
# Documentation for HAProxy | |
# http://code.google.com/p/haproxy-docs/w/list | |
# http://haproxy.1wt.eu/download/1.2/doc/architecture.txt | |
# NOTES: | |
# open files limits need to be > 256000, use ulimit -n to set (on most POSIX systems) | |
global | |
log 127.0.0.1 local0 | |
log 127.0.0.1 local1 notice |
// nexxy fix | |
if (card.author_id.toString() === s.user._id.toString()) { | |
return res.send | |
( { status: 'INVALID_REQUEST' | |
, error: 'Go high-five someone else!' | |
} | |
) | |
} |
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Author: Wa (logicplace.com) | |
MIT License | |
Copyright (C) 2011 by Wa (logicplace.com) | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights |
A database where you PUT/POST documents to trigger replications and you DELETE to cancel ongoing replications. These documents have exactly the same content as the JSON objects we used to POST to /_replicate/ (fields "source", "target", "create_target", "continuous", "doc_ids", "filter", "query_params".
Replication documents can have a user defined "_id". Design documents (and _local documents) added to the replicator database are ignored.
The default name of this database is _replicator. The name can be changed in the .ini configuration, section [replicator], parameter db.