Skip to content

Instantly share code, notes, and snippets.

View MadeMyDay's full-sized avatar

Marc Hinse MadeMyDay

View GitHub Profile
@MadeMyDay
MadeMyDay / gulpfile.js
Created November 22, 2017 10:41 — forked from chodorowicz/gulpfile.js
simple gulpfile with stylus, browser sync,
// this method is currently broken
// better use vinyl-source-stream method
// http://fettblog.eu/gulp-browserify-multiple-bundles/
const gulp = require('gulp');
const browserify = require('browserify');
const transform = require('vinyl-transform');
const browserSync = require('browser-sync');
const reload = browserSync.reload;
const gutil = require('gulp-util');
### Keybase proof
I hereby claim:
* I am mademyday on github.
* I am mademyday (https://keybase.io/mademyday) on keybase.
* I have a public key ASCbIfrSR-__HaiOyyz-hG68CLGqn-_lKaCJ4Jbl4hNr0wo
To claim this, I am signing this object:
@MadeMyDay
MadeMyDay / gist:9617254
Last active August 29, 2015 13:57
Wie macht man ein sinnvolles Deployment, wenn man primär auf normalen Webhosting-Angeboten arbeitet?

Meine Vorgehensweise bisher:

Ich nutzte immer Livereload bzw. Prepros bzw. Codekit. Ob lokal oder entfernt war egal, der Kunden-Webspace wurde als Laufwerk per Transmit eingebunden und das hat relativ gut funktioniert (also Änderungen an z.B. Stylus-Dateien wurden processed, .css wurde geschrieben, Browser hat sich automatisch aktualisiert bzw. den neuen Stand angezeigt).

Gulp

Jetzt habe ich gulp mal ausprobiert (hätte auch grunt sein können), finde ich natürlich super, will ja auch ein cooles Kid sein. Aber es macht eben auch mehr als Prepros bzw. ich habe mehr Kontrolle. Soweit so gut. Die Frage ist, wie kann ich das bewerkstellingen, wenn mein Workflow so aussieht:

  1. Entwicklung Prototyp lokal (eigentlich lieber auch gleich auf eigenem/Kundenwebspace, der kein node hat).
@MadeMyDay
MadeMyDay / dabblet.css
Created January 29, 2013 15:57 — forked from anonymous/dabblet.css
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
*
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
@MadeMyDay
MadeMyDay / gist:2783787
Created May 24, 2012 19:43
Dashboard Process module for PW
<?php
/**
* ProcessWire Home Process
*
* Placeholder Process for the admin root. May add version and update checks to this in the future,
* or dashboard type functionality for those that want it.
*
* For more details about how Process modules work, please see:
* /wire/core/Process.php