... should work on Yosemite as well. Add a comment here if you find any problems.
- You want to run guard
- You want use Sublime plugins (like RSpec or Guard plugins)
class API::V1::BaseController < ApplicationController | |
skip_before_filter :verify_authenticity_token | |
before_filter :cors_preflight_check | |
after_filter :cors_set_access_control_headers | |
def cors_set_access_control_headers | |
headers['Access-Control-Allow-Origin'] = '*' | |
headers['Access-Control-Allow-Methods'] = 'POST, GET, PUT, DELETE, OPTIONS' |
'use strict'; // eslint-disable-line strict | |
/* eslint no-unused-vars: 0 */ | |
const fs = require('fs'); | |
const { resolve } = require('path'); | |
const autoprefixer = require('autoprefixer'); | |
const cssnano = require('cssnano'); | |
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const webpack = require('webpack'); | |
const WebpackToolsPlugin = require('webpack-isomorphic-tools/plugin'); |
# This hosts file is brought to you by Dan Pollock and can be found at | |
# http://someonewhocares.org/hosts/ | |
# You are free to copy and distribute this file for non-commercial uses, | |
# as long the original URL and attribution is included. | |
#<localhost> | |
127.0.0.1 localhost | |
127.0.0.1 localhost.localdomain | |
255.255.255.255 broadcasthost | |
::1 localhost |
diff --git a/node_modules/react-scripts/config/paths.js b/node_modules/react-scripts/config/paths.js | |
index 11d81b7..f095618 100644 | |
--- a/node_modules/react-scripts/config/paths.js | |
+++ b/node_modules/react-scripts/config/paths.js | |
@@ -63,7 +63,11 @@ module.exports = { | |
appBuild: resolveApp('build'), | |
appPublic: resolveApp('public'), | |
appHtml: resolveApp('public/index.html'), | |
+ appBackgroundHtml: resolveApp('public/background.html'), | |
+ appOptionsHtml: resolveApp('public/options.html'), |
// @remove-on-eject-begin | |
/** | |
* Copyright (c) 2015-present, Facebook, Inc. | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE file in the root directory of this source tree. | |
*/ | |
// @remove-on-eject-end | |
'use strict'; |
#!/bin/bash | |
# A bash script to update a Cloudflare DNS A record with the external IP of the source machine | |
# Used to provide DDNS service for my home | |
# Needs the DNS record pre-creating on Cloudflare | |
# Proxy - uncomment and provide details if using a proxy | |
#export https_proxy=http://<proxyuser>:<proxypassword>@<proxyip>:<proxyport> | |
# Cloudflare zone is the zone which holds the record |