slideo.com - reactlondon2017
Opinionated code formatting
Perude devs to incorporate into existing apps, not force them
| const angularJson = require('./angular.json'); | |
| const exec = require('child_process').exec; | |
| const fs = require('fs'); | |
| const mainProjects = Object.keys(angularJson.projects).filter(proj => !proj.includes('e2e')); | |
| const tsConfigPaths = parseTsconfigPaths(); | |
| function parseTsconfigPaths() { | |
| const pathsArray = []; | |
| for (const projectName of mainProjects) { |
This package includes a job to pull forecasts from the Forecast.io API and a widget to display the forecast information.
mix kitto.install --gist 229b76b15eae45ee9f5cc1e5d62a40ebIn this gist I would like to describe an idea for GraphQL subscriptions. It was inspired by conversations about subscriptions in the GraphQL slack channel and different GH issues, like #89 and #411.
At the moment GraphQL allows 2 types of queries:
querymutationReference implementation also adds the third type: subscription. It does not have any semantics yet, so here I would like to propose one possible semantics interpretation and the reasoning behind it.
Steps to get Rails 4 saving its output to Syslog via Rsyslog. This assumes you are on CentOS, but should be pretty adaptable to any other distribution. Ruby 2.0+ is also required.
lograge and logstash-event to your Gemfile. Feel free to remove from production if you'd like to test it in development as well or something.production.rb with the lograge settings and set the logger to Syslog::Logger.conf files to /etc/rsyslog.d/. /etc/rsyslog.conf should have $IncludeConfig /etc/rsyslog.d/*.conf enabled, so it will load any additional configs from /etc/rsyslog.conf.