Skip to content

Instantly share code, notes, and snippets.

View wesruv's full-sized avatar
🤔
Why can I have a status?

wesruv wesruv

🤔
Why can I have a status?
View GitHub Profile
{
"auto_complete_commit_on_tab": true,
"bold_folder_labels": true,
"caret_extra_bottom": 2,
"caret_extra_top": 2,
"caret_extra_width": 3,
"caret_style": "phase",
"color_scheme": "Packages/User/SublimeLinter/Oceanic Next (SL).tmTheme",
"default_line_ending": "unix",
"draw_white_space": "all",
~/projects/lullabot.com-www (master)
$ docker-compose up
Creating lullabotcomwww_web_1
Attaching to lullabotcomwww_web_1
web_1 | npm info it worked if it ends with ok
web_1 | npm info using npm@3.8.6
web_1 | npm info using node@v5.11.1
web_1 | npm info lifecycle lullabot.com-www@0.0.0~preupdate: lullabot.com-www@0.0.0
web_1 | npm info lifecycle lullabot.com-www@0.0.0~update: lullabot.com-www@0.0.0
web_1 |
# Production #
##############
#NODE_ENV = production
COUCHDB = https://api.lullabot.com:443/lullabot
COUCHDB_PREVIEW = https://api.lullabot.com:443/lullabot_preview
ELASTIC_SEARCH_HOST = https://search.lullabot.com
ELASTIC_SEARCH_INDEX = lullabot
ASSETS = https://assets.lullabot.com/
#SITE_URL = https://www.lullabot.com
#PORT = 80
$databases['default']['default'] = array(
'driver' => 'mysql',
'database' => 'defaultdatabase',
'username' => 'root',
'password' => '',
'host' => 'localhost',
);
$conf['theme_debug'] = true;
request.js:117 OPTIONS http://l.lullabot.com/api-proxy ClientRequest._onFinish @ request.js:117(anonymous function) @ request.js:59EventEmitter.emit @ events.js:74finishMaybe @ _stream_writable.js:475afterWrite @ _stream_writable.js:361afterTick @ index.js:18Item.run @ browser.js:64drainQueue @ browser.js:34
:3000/our-work:1 Fetch API cannot load http://l.lullabot.com/api-proxy. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://l.lullabot.com:3000' is therefore not allowed access. The response had HTTP status code 404. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
index.js:124 Uncaught (in promise) Error: request to http://l.lullabot.com/api-proxy failed, reason: Failed to fetch(…)
# Production #
##############
#NODE_ENV = production
COUCHDB = https://api.lullabot.com:443/lullabot
COUCHDB_PREVIEW = https://api.lullabot.com:443/lullabot_preview
ELASTIC_SEARCH_HOST = https://search.lullabot.com
ELASTIC_SEARCH_INDEX = lullabot
ASSETS = https://assets.lullabot.com/
#SITE_URL = https://www.lullabot.com
#PORT = 80
Running "filerev_assets:dist" (filerev_assets) task
File .filerev created.
Running "env:dev" (env) task
Verifying property env.dev exists in config...ERROR
>> Unable to process task.
Warning: Required config property "env.dev" missing. Use --force to continue.
Aborted due to warnings.
npm ERR! Linux 3.19.0-26-generic
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.7
npm ERR! npm v2.11.2
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your operating system or architecture: fsevents@1.0.11
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: any
@wesruv
wesruv / SassMeister-input.scss
Last active May 5, 2023 21:03
Generated by SassMeister.com.
// ----
// Sass (v3.4.20)
// Compass (v1.0.3)
// ----
// See in action @ http://www.sassmeister.com/gist/43a347037bf0afa447ae
///
// Mixin to make-up for bad VH support in iOS
// @param {string} $property - CSS Property to style
/**
* Returns HTML for the user login form
*/
function theme_user_form_render($variables) {
if (arg(0) == 'user') {
if (strcasecmp('password', arg(1)) == 0) {
$title = t('Username and Password Recovery');
$prefix_text = '';
}
elseif (strcasecmp('settings', arg(1)) == 0) {