Skip to content

Instantly share code, notes, and snippets.

View achterbahn's full-sized avatar

Fabian Christen achterbahn

View GitHub Profile
@DESIGNfromWITHIN
DESIGNfromWITHIN / Gulpfile.js
Last active March 4, 2021 21:00
Gulpfile.js example Uses browser-sync, node-neat, gulp and gulp-sass
/*
Gulpfile.js file for the tutorial:
Using Gulp, SASS and Browser-Sync for your front end web development - DESIGNfromWITHIN
http://designfromwithin.com/blog/gulp-sass-browser-sync-front-end-dev
Steps:
1. Install gulp globally:
npm install --global gulp
@alroniks
alroniks / Gulpfile.js
Last active April 1, 2018 14:08
Gulpfile for run watch commands for Gitify (MODX)
'use strict';
console.time('Loading plugins');
var gulp = require('gulp'),
watch = require('gulp-watch'),
shell = require('gulp-shell'),
tap = require('gulp-tap');
console.timeEnd('Loading plugins');
@geforester
geforester / revo_helper.php
Last active January 31, 2023 00:05 — forked from zhabinka/revo_helper.php
snippets for Fenom MODX
// Получение любого поля ресурса произвольного ресурса
{1 | resource : 'pagetitle'}
// Текущий год
{'' | date : 'Y'}
//Условие IF
{$id == '1' ? '' : $url}
//Получение изображения через переменную с точкой ($_pls)