Skip to content

Instantly share code, notes, and snippets.

View YoussefKababe's full-sized avatar
☺️

Youssef Kababe YoussefKababe

☺️
View GitHub Profile
@YoussefKababe
YoussefKababe / parallax-mixin.js
Last active June 26, 2016 20:16
A RiotJS mixin that adds parallax effect to any tag with a background-image property
import kefir from 'kefir'
const parallaxMixin = {
init: function() {
let ratio = this.opts.parallaxRatio || 1
this.on('mount', () => {
this.updateBGPosition(ratio)
let scrolls = kefir.fromEvents(window, 'scroll')

Keybase proof

I hereby claim:

  • I am YoussefKababe on github.
  • I am youssefkababe (https://keybase.io/youssefkababe) on keybase.
  • I have a public key whose fingerprint is 129A 9FC8 2B9B D5CA 9835 5182 AE7C DE05 F8B7 81E2

To claim this, I am signing this object:

All binary can be downloaded http://pan.baidu.com/s/1hqH2Pko

Sublime Text 3, build 3083 (dev) for Windows x64

OFFSET ORIGINAL CRACKED
0xe21b3 85 3B

md5:c3522c719d24f85dd770c93b9bf9e56f

#!/bin/sh
# Sublime Text 3 install with Package Control (last update: 24 March 2015)
#
# Run this script with:
#
# curl -L git.io/sublimetext | sh
# Detect the architecture
@YoussefKababe
YoussefKababe / Dockerfile
Created September 15, 2014 04:00
Dockerfile to compile and install nginx with additional modules
FROM ubuntu:trusty
MAINTAINER Youssef Kababe "youssef.kbe@gmail.com"
RUN apt-get update
RUN apt-get install -y wget
RUN apt-get install -y libpcre3-dev
RUN apt-get install -y zlib1g-dev
RUN apt-get install -y make
RUN wget http://nginx.org/download/nginx-1.6.1.tar.gz