Also applies to the NZXT Smart Device
Hue+ accessories use WS2812B integrated LED and controllers. Pinout is:
- +5V (marked with arrow; corresponding wire with white stripe)
- IN (data in)
Also applies to the NZXT Smart Device
Hue+ accessories use WS2812B integrated LED and controllers. Pinout is:
This text is the section about OS X Yosemite (which also works for macOS Sierra) from https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/#mac-os-x
The last time i visited this link it was dead (403), so I cloned it here from the latest snapshot in Archive.org's Wayback Machine https://web.archive.org/web/20170523131633/https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/
| 'use strict'; | |
| ////////////////////////////////// | |
| // How to use? | |
| // 1. Create `sequelize-schema-file-generator.js` in your app root | |
| // 2. Make sure you've ran the `sequelize init` before (It should create `config`,`seeders`,`migrations` folders). | |
| // 3. Update `DATABASE_DSN` below to match your connection string (works with any database adapter that Sequelize supports) | |
| // 4. Run it with `node sequelize-schema-file-generator.js` | |
| // 5. Review the generated migrations inside of the `migrations` folder. | |
| ////////////////////////////////// |
docker run -d --name es elasticsearchdocker run -d --name logstash --link es:elasticsearch logstash -v /tmp/logstash.conf:/config-dir/logstash.conf logstash logstash -f /config-dir/logstash.confdocker run --link es:elasticsearch -d kibanaLOGSTASH_ADDRESS=$(docker inspect --format '{{ .NetworkSettings.IPAddress }}' logstash)| $ wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtools-2.repo | |
| $ yum install devtoolset-2-gcc devtoolset-2-binutils | |
| $ yum install devtoolset-2-gcc-c++ devtoolset-2-gcc-gfortran | |
| # The file is now part of OpenWrt repo: | |
| # | |
| # https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=scripts/qemustart;hb=HEAD | |
| # | |
| # |
| { | |
| // http://eslint.org/docs/rules/ | |
| "ecmaFeatures": { | |
| "binaryLiterals": false, // enable binary literals | |
| "blockBindings": false, // enable let and const (aka block bindings) | |
| "defaultParams": false, // enable default function parameters | |
| "forOf": false, // enable for-of loops | |
| "generators": false, // enable generators | |
| "objectLiteralComputedProperties": false, // enable computed object literal property names |
| For my own sanity ;) Scraped from a variety of places, including: http://stackoverflow.com/questions/14130560/nodejs-udp-multicast-how-to?utm_medium=twitter&utm_source=twitterfeed | |
| !Server | |
| var news = [ | |
| "Borussia Dortmund wins German championship", | |
| "Tornado warning for the Bay Area", | |
| "More rain for the weekend", | |
| "Android tablets take over the world", | |
| "iPad2 sold out", |
| /* Use WP-CLI instead https://developer.wordpress.org/cli/commands/search-replace/ */ | |
| SET @oldsite='http://oldsite.com'; | |
| SET @newsite='http://newsite.com'; | |
| UPDATE wp_options SET option_value = replace(option_value, @oldsite, @newsite) WHERE option_name = 'home' OR option_name = 'siteurl'; | |
| UPDATE wp_posts SET post_content = replace(post_content, @oldsite, @newsite); | |
| UPDATE wp_links SET link_url = replace(link_url, @oldsite, @newsite); | |
| UPDATE wp_postmeta SET meta_value = replace(meta_value, @oldsite, @newsite); | |
| /* only uncomment next line if you want all your current posts to post to RSS again as new */ |