What is Meteor.settings.S3Directory - meteor

I'm trying to install cropuploader with meteor-slingshot. The setup documents refer to Meteor.settings.S3Directory but I have no idea what it's referring to because I thought S3 worked on buckets. If someone could shed some light on this I would appreciate it.

S3Directory refers to a directory inside the bucket. Think of it as a top-level folder in the bucket. If you look at the source code, it is optional.

Related

Retrieve folder contents from Windchill API

We want to use the Windchill API for integrating Windchill into our application.
I know how to get the folder structure, but I don't know how to get folder contents.
I would like to get the list of documents by supplying the folder as parameter. I was looking at the documentation but I cannot seem to find anything useful.
This is the method for retrieving folders
get /v1/folders/{id}/folders
This is our Windchill structure and on the right I need the document list.
image
Any help is appreciated.

symfony3 vendor's console commands not available

I just created a new symfony3.2.6. project and added a few vendors (FOS User Bundle, Propel2 and Twig) but no new console seem to be available. At least I do not see any of them when using 'app/console' or 'bin/console' command.
/app/autoload.php is loaded from the console-file which also seems to load the /vendor/autoload.php file.
Are you able to give me a hint on what I might have done wrong?
Thanks a lot!
Steffen
figured it out. The problem was a wrong version-requirement description on packagist.org THANKS FOR YOUR HELP!!!

OpenStack Juno (Devstack) - How to Specify New Neutron Plugin Configuration Files?

I wasn't certain whether to put this question on stackoverflow or serverfault, but I think it is more coding related than IT infrastructure related.
I'm adding a new Neutron L3 plugin and have attempted to mimic the functionality of a few good examples thus far. My problem is here: while my config file is following the same naming conventions/locations, I keep having empty strings returned from Oslo Config.
Edit: my plugin myapp is in /opt/stack/neutron/neutron/plugins/ml2/drivers/myapp and my configuration file ml2_conf_myapp.ini is in /opt/stack/neutron/etc/neutron/plugins/ml2/.
How do you specify to Oslo config where to find new plugin configuration files and what their names are?
Thank you!
I ended up solving this issue by reading through the code in devstack/lib/neutron.
In devstack/local.conf, you can set the variables Q_PLUGIN_EXTRA_CONF_FILES and Q_PLUGIN_EXTRA_CONF_PATH.
In my case, I have:
ML2_L3_PLUGIN=neutron.plugins.ml2.drivers.myapp.myapp
Q_PLUGIN_EXTRA_CONF_FILES+="myapp_conf.ini"
Q_PLUGIN_EXTRA_CONF_PATH="$DEST/neutron/neutron/plugins/ml2/drivers/myapp"
Now Oslo is able to pick up the configurations.
I hope this helps someone else save some work.

include the externs dir in github/closure-compiler/contrib

On a clojurescript project, I've needed to access contrib/externs/w3c_audio.cljs
I thought if I just wrote it in, google would access it, but I couldn't get that to work. Instead, I went in and just copied the file to my local directory.
Is there a way to not do that? i.e write something in my project.clj that knows I want to get the file in closure-compiler's contrib/externs?
:externs ["react/externs/react.js"
"externs/custom.js"
"node_modules/jquery/dist/jquery.min.js"
"contrib/externs/w3c_audio.js"
]
If your project doesn't use any other Clojurescript libraries that requires extra extern files, consider using fence.core/.. for javascript interop:
https://github.com/myguidingstar/fence
Even if your project does, fence still helps reduce number of extern files to work on

Configuring Riak - Can't find a file like /etc/riak/app.config

I have installed Riak on a Debian system from the package riak_2.0.1-1_amd64.deb, and I'm trying to change the configuration so I use the LevelDB Backend for 2i (so I can use secondary indexes).
http://docs.basho.com/riak/latest/dev/taste-of-riak/querying/ says to edit (usually) /etc/riak/app.config, but there is no such file. I can find /etc/riak/riak.conf but that has settings like
something.else.value = 12345
and nothing like
{storage_backend, riak_kv_bitcask_backend}
described on the docs page.
I'm sure its trivial, but trivially what! Help!!!
Configuration in Riak 2.0+ is handled by a riak.conf file that is located in each node's /etc directory. More information can be found in this document.
I think in the newer versions riak.conf is located at: etc/riak/riak.conf
Looks like /etc/riak/riak.conf is the one to use. I set
storage_backend = leveldb
and secondary indexes work now.
Thanks

Resources