Skip to content

Instantly share code, notes, and snippets.

View botmad's full-sized avatar

Marcin Palmaka botmad

  • Scott Logic
  • Edinburgh
View GitHub Profile
@botmad
botmad / index.html
Created January 10, 2019 09:49
Parallax Image
<div class="container" ng-app="parallaxApp" ng-controller="mainCtrl">
<div class="parallaximage-container" parallax>
<img class="layer layer0" src="http://jaromvogel.com/images/design/jumping_rabbit/page2layer0.png"/>
<img class="layer layer1" src="http://jaromvogel.com/images/design/jumping_rabbit/page2layer1.png"/>
<img class="layer layer2" src="http://jaromvogel.com/images/design/jumping_rabbit/page2layer2.png"/>
<img class="layer layer3" src="http://jaromvogel.com/images/design/jumping_rabbit/page2layer3.png"/>
<img class="layer layer4" src="http://jaromvogel.com/images/design/jumping_rabbit/page2layer4.png"/>
</div>
<div class="instructions">
@nabrown
nabrown / grams-final.html
Last active June 21, 2020 22:46
Instagram Gallery - Complete
<!DOCTYPE html>
<html>
<head>
<title>Instagram Gallery</title>
<script src="https://unpkg.com/[email protected]/dist/vue.min.js"></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<style type="text/css">
:root{
--color: #95e9ef;
--background: #1f1f1f;
@eirikb
eirikb / load-vue-components-from-folder.js
Created May 24, 2017 19:24
Load all Vue components from a given folder, no need for an "index.js"-file
const req = require.context('./components/', true, /\.(js|vue)$/i);
req.keys().map(key => {
const name = key.match(/\w+/)[0];
return Vue.component(name, req(key))
});
@mfd
mfd / GTWalsheimPro.css
Last active May 31, 2025 16:34
GT Walsheim Pro
@font-face {
font-family: GT Walsheim Pro;
src: local("GT Walsheim Pro Regular"),local("GTWalsheimProRegular"),url(GTWalsheimProRegular.woff2) format("woff2"),url(GTWalsheimProRegular.woff) format("woff"),url(GTWalsheimProRegular.ttf) format("truetype");
font-weight: 400;
font-style: normal
}
@font-face {
font-family: GT Walsheim Pro;
src: local("GT Walsheim Pro Bold"),local("GTWalsheimProBold"),url(GTWalsheimProBold.woff2) format("woff2"),url(GTWalsheimProBold.woff) format("woff"),url(GTWalsheimProBold.ttf) format("truetype");
@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #