View gist:c426a2792924b09ffaa23f28a69686c5
$databases['default']['default'] = array( | |
'driver' => 'mysql', | |
'database' => 'defaultdatabase', | |
'username' => 'root', | |
'password' => '', | |
'host' => 'localhost', | |
); | |
$conf['theme_debug'] = true; |
View gist:6095aca5ed111fa15524a3fe615f1184
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(…) |
View gist:8ee696287d3659da3ec81257c9a7a945
# 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 |
View gist:e7a3cf20d8b3e8dd681116606fedb595
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. |
View gist:9fb293d59d84ef73120bf6da312bc1bc
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 |
View SassMeister-input.scss
// ---- | |
// 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 |
View gist:fb8d47a7d0c0a65e2855
/** | |
* 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) { |
View SassMeister-input.scss
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.3) | |
// ---- | |
$breakpoints: ( | |
echo: 400px, | |
hotel: 600px, | |
kilo: 800px, | |
november: 1000px, |
View generic-toggle.html
<a href="#" class="js-dropdown__toggle">Toggle Link</a> | |
<div class="js-dropdown__wrapper"> | |
<h3>Toggleable Content</h3> | |
<p>Can have other wrappers, but no tag should be between the toggle link and toggle wrapper.</p> | |
</div> |
View scrollhandler.jsx
revealHandleMouseScroll: function(e) { | |
var now = new Date().getTime(); | |
var revealLastRun = this.state.revealLastRun; | |
var revealLastScrollEvent = now - this.state.revealLastScrollEvent; | |
var revealLastScrollEventStrength = this.state.revealLastScrollEventStrength; | |
// Scroll direction is from sitepoint.com/html5-javascript-mouse-wheel/ | |
var scrollDirection = Math.max(-1, Math.min(1, (e.wheelDelta || -e.detail))); | |
var scrollDistance = null; | |
var scrollStrength = null; | |
var hasInertialScroll = false; |