Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

rruprai rruprai

🎯
Focusing
View GitHub Profile
@rruprai
rruprai / extract-media-query.js
Created Dec 24, 2019
Gulpjs separating css by media query
View extract-media-query.js
'use strict';
// Required packages.
var gulp = require('gulp'),
sass = require('gulp-sass'),
del = require('del'),
minifyCss = require('gulp-clean-css'),
renameFile = require('gulp-rename'),
mediaQueriesSplitter = require('gulp-media-queries-splitter');
@rruprai
rruprai / local.services.yml
Created Apr 26, 2019
Local Services File for Drupal 8
View local.services.yml
# Local development services.
#
# To activate this feature, follow the instructions at the top of the
# 'example.settings.local.php' file, which sits next to this file.
parameters:
http.response.debug_cacheability_headers: true
twig.config:
debug: true
auto_reload: true
cache: false
@rruprai
rruprai / settings.local.php
Created Apr 26, 2019
Local Settings for Drupal 8
View settings.local.php
<?php
// @codingStandardsIgnoreFile
/**
* @file
* Local development override configuration feature.
*
* To activate this feature, copy and rename it such that its path plus
* filename is 'sites/default/settings.local.php'. Then, go to the bottom of
@rruprai
rruprai / config.yml
Last active May 4, 2019
DrupalVM config.yml with existing codebase
View config.yml
---
# Available `vagrant_box` values include:
# - geerlingguy/drupal-vm (pre-provisioned, based on Ubuntu 18.04)
# - geerlingguy/centos7
# - geerlingguy/centos6
# - geerlingguy/debian9
# - geerlingguy/debian8
# - geerlingguy/ubuntu1804
# - geerlingguy/ubuntu1604
vagrant_box: geerlingguy/ubuntu1804
You can’t perform that action at this time.