Skip to content

Instantly share code, notes, and snippets.

View XEngine's full-sized avatar
🍊

Cem Yılmaz XEngine

🍊
View GitHub Profile
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
using Shared.Services;
@XEngine
XEngine / scratch.js
Created June 22, 2019 07:34
simpleParallax
import debounce from 'lodash/throttle'
export default class Parallax {
constructor() {
this.parallaxElements = document.querySelector('.parallax-content')
this.last_known_scroll_position = 0;
this.ticking = false;
this.observe = this.observe.bind(this)
this.init()
[
{
"title": "Amiga",
"items": [
"Chuckie Egg",
"Manic Miner",
"Jet Set Willy",
"Dizzy: The Ultimate Cartoon Adventure",
"Boulder Dash",
"Renegade",