Skip to content

Instantly share code, notes, and snippets.

View emolr's full-sized avatar

Emil Møller emolr

  • Hi, freelance designer/programmer
  • Denmark
View GitHub Profile
@dennishn
dennishn / base.service.ts
Last active February 13, 2017 05:57
Emil Møller and Dennis Haulund Nielsen's amazing DRY, SOC data modelling concept for Angular
/*
I am the base Service, any business specific service will extend upon me.
My purpose is to control generic things, common for all services.
For instance i keep track of when a service is communicating with a server.
*/
class BaseService {
public isSending$: Observable<any>;
public isSendingSubject = new Subject<any>();
constructor() {
@budiadiono
budiadiono / gulpfile.js
Last active January 25, 2019 20:09
Gitbook serve with gulpjs (while wait https://github.com/GitbookIO/gitbook/issues/1379 resolved)
var browserSync = require('browser-sync').create()
var reload = browserSync.reload
var gulp = require('gulp')
var gitbook = require('gitbook')
var path = require('path')
var del = require('del')
// path of your *.md book files
var rootPath = path.join(__dirname, 'docs')
@larrybotha
larrybotha / A.markdown
Last active March 3, 2021 10:41
Custom social sharing icons
anonymous
anonymous / dabblet.css
Created March 19, 2013 08:08
Using form :active / :focus to unveil content (only css)
/**
* Using form :active / :focus to unveil content (only css)
*/
/* Styling*/
body{
text-align:center;
/*background:url(http://www.wallchan.com/images/sandbox/1305675944-abstract-blurry-wallpaper-wallpaper.jpg);*/
background:#f6f6f6;
}
anonymous
anonymous / dabblet.css
Created March 18, 2013 16:59
Using form :active / :focus to unveil content (only css)
/**
* Using form :active / :focus to unveil content (only css)
*/
/* Styling*/
body{
text-align:center;
/*background:url(http://www.wallchan.com/images/sandbox/1305675944-abstract-blurry-wallpaper-wallpaper.jpg);*/
background:#f6f6f6;
}