Skip to content

Instantly share code, notes, and snippets.

Raymon S raymonschouwenaar

View GitHub Profile
View sass-extend.css
.message, .success, .error {
border: 1px solid #ccc;
padding: 10px;
color: #333;
.success {
border-color: green;
View sass-nesting.css
nav ul {
margin: 0;
padding: 0;
list-style: none;
nav li {
display: inline-block;
nav a {
display: block;
View sass-math.css
.container {
width: 100%;
article[role="main"] {
float: left;
width: 62.5%;
aside[role="complimentary"] {
raymonschouwenaar /
Created Dec 23, 2014
Simple HTTP server NodeJS

Simple HTTP server NodeJS

run: node start The commandline will show you that the server is running! Visit in your browser.

raymonschouwenaar / mobileCheck.js
Created Jan 8, 2015
Function to check if Mobile Device (Android, WebOS, iPhone, iPad, iPod (or iOS), Windows Phone, SymbianOS, RIM)
View mobileCheck.js
(function () {
'use strict';
var useragent = navigator.userAgent;
function deviceOS() {
if(useragent.match(/Android/i)) {
return 'android';
} else if(useragent.match(/webOS/i)) {
View Sublime tabtrigger
View Sublime snippet default
Here is the place for you're code!
Hello, ${1:this} is a ${2:snippet}.
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>hello</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
View Sublime selff snippet
(function() {
'use strict';
var ${1:function_name} = function() {
var ${1:function_name} = "abc";
return ${1:function_name};
raymonschouwenaar / email-validation.module.js
Created Feb 18, 2015
Vanilla JavaScript emailValidation Module
View email-validation.module.js
var emailValidation = (function(emailValidation) {
'use strict';
var emailValidator, emailIsValid, addClass, removeClass, hasClass, removeElement, classListSupport, eleValue, isNotEmpty, emailRegex, validateErrorElClass,
validateErrorEl, formContainerEl, defaults, parent, validateElClass, result, atCharIndex, pointCharIndex;
emailValidation.defaults = {
formContainer: ".email-conformation",
valElementClass: "email-validation-error",
errorMessage: "Dit is geen geldig emailadres",
You can’t perform that action at this time.