Skip to content

Instantly share code, notes, and snippets.

Vadzim Yakushau rootical

Block or report user

Report or block rootical

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rootical
rootical / SassMeister-input.scss
Created Oct 26, 2015
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// libsass (v3.2.5)
// ----
@import "breakpoint";
.parent {
.child {
@include breakpoint(50em) {
margin-bottom: 0;
@rootical
rootical / SassMeister-input.scss
Last active Oct 26, 2015
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// libsass (v3.2.5)
// ----
@import "breakpoint";
.parent {
.child {
@include breakpoint(50em) {
margin-bottom: 0;
@rootical
rootical / browserify_watchify_babelify.js
Last active Sep 23, 2017
Gulp task example of using Browserify, Watchify, Babelify, Browser Sync, ngAnnoatate with ES6 source maps.
View browserify_watchify_babelify.js
var gulp = require('gulp');
var gulpif = require('gulp-if');
var sourcemaps = require('gulp-sourcemaps');
var util = require('util');
var source = require('vinyl-source-stream');
var buffer = require('vinyl-buffer');
var watchify = require('watchify');
var browserify = require('browserify');
var browserSync = require('browser-sync');
var babelify = require('babelify');
@rootical
rootical / browserify_babelify.js
Created Mar 2, 2015
Browserify, babel, source maps, gulp, es6, babelify
View browserify_babelify.js
'use strict';
var gulp = require('gulp');
var browserify = require('browserify');
var babelify = require('babelify');
var source = require('vinyl-source-stream');
gulp.task('browserify', function() {
return browserify({ debug: true })
.transform(babelify)
View randomNumber.coffee
_randomNum: (max,min=0) ->
return Math.floor(Math.random() * (max - min) + min)
# min is set to 0 by default but a different value can be passed to function
_randomise: ->
randomNum = @_randomNum(10)
# returns a random integer between 0 and 10
You can’t perform that action at this time.