Skip to content

Instantly share code, notes, and snippets.

Daniel Nitsikopoulos dNitza

View GitHub Profile
dNitza /
Last active Mar 16, 2020
Upgrade elasticsearch on semaphore
# Script for uprading Elasticsearch to version 7.2.1
# Before running this script, please reset your dependency cache in Project Settings > Admin.
# Add the line below to your Setup commands in Project Settings (without the # at the beginning):
# wget ; sudo bash
dNitza /
Created Jun 4, 2019
Detect if WWDC19 Platforms State of the Union is available
# Thanks to
# Execute this script to be notified when the WWDC 2019 Platforms State of the Union is available.
# Make sure this file is `chmod +x` to run in your Terminal.
while true

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.