Skip to content

Instantly share code, notes, and snippets.

View DominikAngerer's full-sized avatar
🏠
For sure working from somewhere 🤘

DominikAngerer DominikAngerer

🏠
For sure working from somewhere 🤘
View GitHub Profile
@DominikAngerer
DominikAngerer / gist:b5c874779000201e457fc2d8aab145dc
Created August 17, 2017 15:15
Add/Update/Delete an URL Parameter without reload - History API
export function updateQueryStringParam(key, value) {
let baseUrl = [location.protocol, '//', location.host, location.pathname].join('');
let urlQueryString = document.location.search;
let newParam = key + '=' + value;
let params = '?' + newParam;
// If the "search" string exists, then build params from it
if (urlQueryString) {
let updateRegex = new RegExp('([\?&])' + key + '[^&]*');
@DominikAngerer
DominikAngerer / boostrap-navbar-only.min.css
Created September 4, 2017 08:22
boostrap-navbar-only.min.css
/*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2017 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*!
* Generated using the Bootstrap Customizer (https://getbootstrap.com/docs/3.3/customize/?id=8a346573877bdd2ea285424925943720)
* Config saved to config.json and https://gist.github.com/8a346573877bdd2ea285424925943720
*//*!
@DominikAngerer
DominikAngerer / test.md
Created September 4, 2017 11:45
A full Markdown test file/suite - you can use this to test your Website stylings.

H1

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

H2

@DominikAngerer
DominikAngerer / index.html
Last active October 17, 2017 15:34
Animated Cubes ES6
<html>
<head>
<title></title>
<style>
body, html {
background: #ccc;
}
#cube-container .cubes {
top: 0
@DominikAngerer
DominikAngerer / sample-stylings.css
Last active December 6, 2017 13:53
sample-stylings.css
@import url('https://fonts.googleapis.com/css?family=Lato');
.root {
max-width: 960px;
margin: 0 auto;
font-family: 'Lato', sans-serif;
margin-top: 120px;
}
.teaser {
module.exports = {
watch: {
'model': {
handler: function (value) {
this.$emit('changed-model', value)
},
deep: true
}
},
created: function() {
@font-face{font-family:Lato;font-style:italic;font-weight:300;src:local('Lato Light Italic'),local('Lato-LightItalic'),url(https://fonts.gstatic.com/s/lato/v14/2HG_tEPiQ4Z6795cGfdivKCWcynf_cDxXwCLxiixG1c.ttf) format('truetype')}@font-face{font-family:Lato;font-style:italic;font-weight:400;src:local('Lato Italic'),local('Lato-Italic'),url(https://fonts.gstatic.com/s/lato/v14/LqowQDslGv4DmUBAfWa2Vw.ttf) format('truetype')}@font-face{font-family:Lato;font-style:italic;font-weight:700;src:local('Lato Bold Italic'),local('Lato-BoldItalic'),url(https://fonts.gstatic.com/s/lato/v14/HkF_qI1x_noxlxhrhMQYEKCWcynf_cDxXwCLxiixG1c.ttf) format('truetype')}@font-face{font-family:Lato;font-style:italic;font-weight:900;src:local('Lato Black Italic'),local('Lato-BlackItalic'),url(https://fonts.gstatic.com/s/lato/v14/VNUH7ZAcagYBWsAiBBCEY6CWcynf_cDxXwCLxiixG1c.ttf) format('truetype')}@font-face{font-family:Lato;font-style:normal;font-weight:300;src:local('Lato Light'),local('Lato-Light'),url(https://fonts.gstatic.com/s/lato/v14
@DominikAngerer
DominikAngerer / auth0.css
Created January 30, 2018 21:21
SideBySideAuth0 Style
body {
marign: 0;
}
#auth0-lock-container-1.auth0-lock-container {
min-height: 100vh;
}
#auth0-lock-container-1 .auth0-lock-overlay {
display:none;
@DominikAngerer
DominikAngerer / bootstrap-4-red.css
Last active February 6, 2018 14:24
Bootstrap-4-red
/*!
* Bootstrap v4.0.0 (https://getbootstrap.com)
* Copyright 2011-2018 The Bootstrap Authors
* Copyright 2011-2018 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/:root{--blue:#eb3d32;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#eb3d32;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;
@DominikAngerer
DominikAngerer / xyz.json
Created March 6, 2018 15:14
awdawdwadawda
This file has been truncated, but you can view the full file.
[
{
"ad_first_child": "",
"categories": {
"43407": {
"colorcode": "#814180",
"id": "43407",
"image": null,
"is_option": "0",
"name": "54 - Purple",