Skip to content

Instantly share code, notes, and snippets.

Daniel Nitsikopoulos dNitza

View GitHub Profile

Keybase proof

I hereby claim:

  • I am dnitza on github.
  • I am nitza ( on keybase.
  • I have a public key whose fingerprint is FABC 5631 46C3 D363 D067 2CE9 AE7E 8B6F 4449 6882
dNitza / gist:b2ac8833deee1197a927
Last active Aug 29, 2015
Prevent touch event when trying to scroll on touch enabled device
View gist:b2ac8833deee1197a927
'use strict';
var App = App || {};
App.PhotoContainerView = Backbone.View.extend({
el: '.photos-container',
scrollY: 0,
dNitza / gist:5fd71ef77c4e2b948ed2
Last active Aug 29, 2015
Calculate distance from user given a lattitde and longitude
View gist:5fd71ef77c4e2b948ed2
/* global App:false */
'use strict';
var Lib = Lib || {};
Lib.DistanceView = Backbone.View.extend({
latitude: 0,
dNitza / dimensions.scss
Created Oct 11, 2012
SCSS Mixin to replace width/height with dimensions
View dimensions.scss
@mixin dimensions($width: auto, $height: auto) {
width: $width;
height: $height;
You can’t perform that action at this time.