I hereby claim:
- I am marcus-herrmann on github.
- I am marcusherrmann (https://keybase.io/marcusherrmann) on keybase.
- I have a public key whose fingerprint is 36EB 66CD 33DA EFB7 8B92 5178 53EB 8A70 C82F 45B2
To claim this, I am signing this object:
if (document.referrer) { | |
const referrerHostname = (new URL(document.referrer)).hostname; | |
let main; | |
if (location.hostname === referrerHostname) { | |
main = document.querySelector('main'); | |
if (!!main) { | |
main.focus(); | |
} |
<template> | |
<h2>Latest News</h2> | |
<p>{{ news }}</p> | |
</template> | |
<script> | |
export default { | |
async setup(props, context) { | |
const promise = new Promise((resolve) => { | |
setTimeout(function () { |
<transition name="bounce"> | |
<div class="shopping-cart__item-count" :key="numberOfCartItems" v-show="numberOfCartItems"> | |
{{ numberOfCartItems }} | |
</div> | |
</transition> |
<?php | |
$user_id = $input->post->int('user_id'); | |
$is_checked = $input->post->bool('is_checked'); | |
$catalogue_id = $input->post->int('catalogue_id'); | |
$permission_type = $input->post->text('permission'); |
<html> | |
<head> | |
<!-- ... --> | |
</head> | |
<body> | |
<!-- ... --> | |
<script> | |
if ('serviceWorker' in navigator) { | |
navigator.serviceWorker.register('/sw.js', { scope: '/test/' }).then( | |
function (reg) { |
<!DOCTYPE html> | |
<html lang="de"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Title</title> | |
<link href="css/screen.css" rel="stylesheet" media="screen" type="text/css" /> | |
<link href="css/print.css" rel="stylesheet" media="print" type="text/css" /> | |
<script type="text/javascript" src="js/jquery.js"></script> |
// More about that approach: http://bigger-on-the-inside.net/articles/named-mediaquery-indicator | |
/* For example in your project wide settings partial */ | |
@mixin mqindicator($mqname) { | |
@if $debug == true { | |
body:before { | |
position: fixed; | |
top: 0; | |
right: 0; |
I hereby claim:
To claim this, I am signing this object: