Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.
brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus| <?xml version="1.0"?> | |
| <root> | |
| <devicevendordef> | |
| <vendorname>LOGITECH</vendorname> | |
| <vendorid>0x046d</vendorid> | |
| </devicevendordef> | |
| <deviceproductdef> | |
| <productname>LOGITECH_K811</productname> | |
| <productid>0xb317</productid> |
Lade die neueste "mainline"-Version (hier 1.7.9) von http://nginx.org/en/download.html herunter und entpacke sie:
$ wget http://nginx.org/download/nginx-1.7.9.tar.gz
$ tar xf nginx-1.7.9.tar.gz| // Create shim for requested bootstrap component and require | |
| // and return jQuery so you do not have to inject it separately | |
| // every time you use a bootstrap component. | |
| define({ | |
| load: function (name, req, onload, config) { | |
| // Set this path to wherever the bootstrap components live. | |
| // Contents should match https://github.com/twbs/bootstrap/tree/master/js | |
| var component = 'path/to/bootstrap/js/'+name; | |
| var shim = {}; |
A quick overview of the node.js streams interface with basic examples.
This is based on @brycebaril's presentation, Node.js Streams2 Demystified
Streams are a first-class construct in Node.js for handling data.
Think of them as as lazy evaluation applied to data.
belongs_to association does not automatically save the object. It does not save the associated object either.has_one association, that object is automatically saved (in order to update its foreign key).has_one association) is unsaved (that is, new_record? returns true) then the child objects are not saved. They will automatically when the parent object is saved.| # | |
| # CORS header support | |
| # | |
| # One way to use this is by placing it into a file called "cors_support" | |
| # under your Nginx configuration directory and placing the following | |
| # statement inside your **location** block(s): | |
| # | |
| # include cors_support; | |
| # | |
| # As of Nginx 1.7.5, add_header supports an "always" parameter which |
| <?xml version="1.0" encoding="utf-8" standalone="yes" ?> | |
| <T3DataStructure> | |
| <meta type="array"> | |
| <langDisable>1</langDisable> | |
| </meta> | |
| <sheets> | |
| <general> | |
| <ROOT type="array"> | |
| <TCEforms> | |
| <sheetTitle>Spalten (normal)</sheetTitle> |
| module.exports = { | |
| /** | |
| * | |
| * Using raw socket.io functionality from a Sails.js controller | |
| * | |
| */ | |
| index: function (req,res) { |
The issue:
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Fixed port collision for 22 => 2222. Now on port 2200.
Vagrant cannot forward the specified ports on this VM, since they
would collide with some other application that is already listening