Skip to content

Instantly share code, notes, and snippets.

View thykka's full-sized avatar
🛠️

Moses Holmström thykka

🛠️
View GitHub Profile
@thykka
thykka / XmqaBj.markdown
Last active October 29, 2015 12:44
XmqaBj
@thykka
thykka / index.html
Last active February 5, 2016 15:26 — forked from anonymous/index.html
Animooted particle parallax background
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Animooted particle parallax background</title>
<style id="jsbin-css">
body {
background-color: #63BCB3;
font-family: Droid Sans, sans-serif;
@thykka
thykka / iframe.html
Created April 14, 2016 17:15
Accessing an element inside an iframe
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Parent</title>
</head>
<body>
<h2 id="derp">I'm in an iframe!</h2>
</body>
</html>
@thykka
thykka / slider.html
Created June 16, 2017 17:32
JavaScript custom slider component
<div class="range">
<div class="track">
<span class="fill">
</span>
</div>
<span class="thumb">
<span class="display">
<span class="value">100</span>%
</span>
</span>
@thykka
thykka / email-greeting-generator.markdown
Created March 9, 2018 15:25
Email Greeting Generator

Email Greeting Generator

Click the name to generate a new one!

This is a hiatus from the usual tech-oriented stuff. Something for the masses for once :)

A Pen by Moses Holmström on CodePen.

License.

@thykka
thykka / tildenhancer.user.js
Last active June 6, 2018 06:36
Some tweaks for Tildes
// ==UserScript==
// @name Tildenhancer
// @namespace http://tildes.net/
// @version 0.1
// @description Tweaks
// @author thykka
// @match https://tildes.net/*
// @grant GM_addStyle
// @grant GM_getValue
// @grant GM_setValue
@thykka
thykka / gulpfile.js
Created June 8, 2018 11:31
Sasswuatch
// Install gulpfile dependencies with: npm i
// Install browser extension from
// - https://addons.mozilla.org/en-US/firefox/addon/livereload/
// - https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei
var gulp = require('gulp');
var watch = require('gulp-watch');
var livereload = require('gulp-livereload');
var notify = require('gulp-notify');
var sourcemaps = require('gulp-sourcemaps');
@thykka
thykka / easing.js
Created September 25, 2018 14:33 — forked from gre/easing.js
Simple Easing Functions in Javascript - see https://github.com/gre/bezier-easing
/*
* Easing Functions - inspired from http://gizma.com/easing/
* only considering the t value for the range [0, 1] => [0, 1]
*/
EasingFunctions = {
// no easing, no acceleration
linear: function (t) { return t },
// accelerating from zero velocity
easeInQuad: function (t) { return t*t },
// decelerating to zero velocity
// ==UserScript==
// @name Stop lohtu- etuliitteelle!
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match *://*/*
// @grant none
// ==/UserScript==
@thykka
thykka / jsfiddle-annoyances.user.js
Last active June 24, 2019 09:03
jsfiddle annoyaces userscript
// ==UserScript==
// @name jsfiddle annoyances
// @namespace https://gist.githubusercontent.com/thykka/d130a68229dc9bda81e6f11f7388d52d/
// @version 0.0.3
// @description Kill the anti-features!
// @author Thykka
// @match https://jsfiddle.net/*
// @updateURL https://gist.githubusercontent.com/thykka/d130a68229dc9bda81e6f11f7388d52d/raw
// @downloadURL https://gist.githubusercontent.com/thykka/d130a68229dc9bda81e6f11f7388d52d/raw
// @grant none