Skip to content

Instantly share code, notes, and snippets.

View thykka's full-sized avatar
🛠️

Moses Holmström thykka

🛠️
View GitHub Profile
$(window).resize(changeorder);
$(document).ready(changeorder);
function changeorder(){
//inner page reordering
if ($(".page-left-column").css("float") == "none" ){
$( "#information-widget" ).appendTo( ".page-right-column" );
}
if ($(".page-left-column").css("float") == "left" ){
$( "#information-widget" ).prependTo( "#information-widget-container" );
@thykka
thykka / .guardfile
Last active August 29, 2015 14:21 — forked from dvessel/README.mdown
Boilerscoop
notification :off
puts "Using default guard file."
group :development do
if File.exists?("./config.rb")
# Time to compile!
puts `compass compile --time --quiet`
# https://github.com/guard/guard-compass
guard :compass do
watch(%r{(.*)\.s[ac]ss$})
end
@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 / 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
@thykka
thykka / README.md
Last active December 13, 2019 20:39 — forked from ShinYHubgit/README.md
SCRIPT-8
@thykka
thykka / tmpbli.js
Last active August 25, 2020 11:35
/tmp/bli
i18next.init({
lng: Vue.params.i18nextLanguage,
resources: {
en: {
translation: {
'why collaborate with us': 'Why collaborate with us?',
'our experience, our mood, our skills': `Our experience, our mood and our multiple expertise:
we design and produce cross-channel strategies in an Agile manner
to optimize your profitability.`
),