Skip to content

Instantly share code, notes, and snippets.

View BKeanu1989's full-sized avatar

Kevin Fechner BKeanu1989

View GitHub Profile
@BKeanu1989
BKeanu1989 / IntersectionObserver-polyfill.js
Last active October 8, 2017 09:34
IntersectionObserver Polyfill
/**
* Copyright 2016 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@BKeanu1989
BKeanu1989 / getPositionofelement.js
Created September 29, 2017 18:58
cumulativeOffset
var cumulativeOffset = function(element) {
var top = 0, left = 0;
do {
top += element.offsetTop || 0;
left += element.offsetLeft || 0;
element = element.offsetParent;
} while(element);
return {
top: top,
@BKeanu1989
BKeanu1989 / Mini Features
Created September 29, 2017 14:47
Web API's to use/learn next...
IntersectionObserver
Lazy loading of content
Web Speech API
https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API
Recognition & synthesis
PaymentRequest API
https://developers.google.com/web/fundamentals/payments/
@BKeanu1989
BKeanu1989 / startup-&-general-ideas.txt
Created September 21, 2017 11:24
some ideas from my youth & now
baloons
coffee cups
vid compilations
@BKeanu1989
BKeanu1989 / project-ideas.txt
Last active November 2, 2017 11:18
Project Ideas
Chrome Extension
Is my site online?
-- done. could be reworked, but it's working ... No need to change it
https://github.com/BKeanu1989/chrome-is_my_site_online
Crawler Software
Nightmare-js with Electron & daydream
-- not working on it anymore. It has been a fun but short project
@BKeanu1989
BKeanu1989 / To-learn.txt
Last active April 24, 2018 16:13
The things I want to learn next.
Vue JS
Basics - Check
Nuxt
PWA
bascics - check
"High Scalable Servers"
Reverse Proxy - check
@BKeanu1989
BKeanu1989 / gist:1bb7da31040935fb7a30ed42a6779886
Created August 12, 2017 18:11
copy directory to inner directory
rsync --recursive MAINFOLDER/* MAINFOLDER/sandbox
@BKeanu1989
BKeanu1989 / gist:b978e1420e3a5a29459493e68b744a82
Created August 7, 2017 16:04
copy directory into itself(subdirectory)
rsync -Rr ./Desktop/ ./Desktop/sub/
@BKeanu1989
BKeanu1989 / robots.txt
Created July 25, 2017 10:40
disallow everything
User-agent: *
Disallow: /
@BKeanu1989
BKeanu1989 / filterableList.ejs
Created July 3, 2017 09:25
filterAble List via Javascript
<input type="text" id="searchUniversity" class="form-control" placeholder="HU Berlin">
<div id="universities-container">
<% universities.forEach(function(single) { %>
<div class="single-university-container <%= single.title %>">
<div class="row">
<div class="col-md-12 col-xs-12">