Skip to content

Instantly share code, notes, and snippets.

wesruv wesruv

Block or report user

Report or block wesruv

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Preferences.sublime-settings
"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",
View console.log
~/projects/ (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
web_1 | npm info lifecycle
web_1 |
View .env
# Production #
#NODE_ENV = production
#PORT = 80
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 ClientRequest._onFinish @ request.js:117(anonymous function) @ request.js:59EventEmitter.emit @ events.js:74finishMaybe @ _stream_writable.js:475afterWrite @ _stream_writable.js:361afterTick @ @ browser.js:64drainQueue @ browser.js:34
:3000/our-work:1 Fetch API cannot load Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '' 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 failed, reason: Failed to fetch(…)
View gist:8ee696287d3659da3ec81257c9a7a945
# Production #
#NODE_ENV = production
#PORT = 80
View gist:e7a3cf20d8b3e8dd681116606fedb595
Running "filerev_assets:dist" (filerev_assets) task
File .filerev created.
Running "env:dev" (env) task
Verifying property exists in config...ERROR
>> Unable to process task.
Warning: Required config property "" 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! 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 / SassMeister-input.scss
Last active Feb 5, 2020
Generated by
View SassMeister-input.scss
// ----
// Sass (v3.4.20)
// Compass (v1.0.3)
// ----
// See in action @
// 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) {
You can’t perform that action at this time.