Skip to content

Instantly share code, notes, and snippets.

🤓
Reading your blog posts

Šime Vidas simevidas

🤓
Reading your blog posts
Block or report user

Report or block simevidas

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View dependencies.json
{
"dependencies": {
"axios": "0.18.0",
"classnames": "2.2.6",
"compression": "1.7.3",
"express": "4.16.4",
"helmet": "3.15.0",
"highlight.js": "9.15.6",
"lodash": "4.17.11",
"marked": "0.3.19",
@simevidas
simevidas / index.html
Last active Apr 25, 2019
amp.dev source code
View index.html
<!DOCTYPE html>
<html lang="en" i-amphtml-layout="" i-amphtml-no-boilerplate="" transformed="amp-toolbox-optimizer">
<head>
<style amp-runtime="" i-amphtml-version="011904091426070">html{overflow-x:hidden!important}body,html{height:auto!important}html.i-amphtml-fie{height:100%!important;width:100%!important}body{margin:0!important;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%}[hidden]{display:none!important}html.i-amphtml-singledoc.i-amphtml-embedded{-ms-touch-action:pan-y;touch-action:pan-y}html.i-amphtml-fie>body,html.i-amphtml-singledoc>body{overflow:visible!important}html.i-amphtml-fie:not(.i-amphtml-inabox)>body,html.i-amphtml-singledoc:not(.i-amphtml-inabox)>body{position:relative!important}html.i-amphtml-webview>body{overflow-x:hidden!important;overflow-y:visible!important;min-height:100vh!important}html.i-amphtml-ios-embed-legacy>body{overflow-x:hidden!important;overflow-y:auto!important;position:absolute!important}html.i-amphtml-ios-e
View pokemon.js
window["ytInitialPlayerResponse"] = ({
"responseContext": {
"serviceTrackingParams": [{
"service": "GFEEDBACK",
"params": [{
"key": "is_viewed_live",
"value": "False"
}, {
"key": "e",
"value": "23710476,23733013,23736685,23744176,23751767,23752869,23755886,23755898,23758087,23758201,23759539,23760559,23760704,23761607,23762649,23764064,23764741,23768292,23769730,23778934,23780479,23780706,23783454,23785187,23785333,23785745,23786637,23787228,23788852,23789420,23789432,23789671,23789842,23790675,23792217,23792774,23793965,23795305,23795527,23795862,23796763,23796890,23797407,23797443,9440173,9449243,9460516,9469037,9471239,9471649,9475672"
View web-platform-timeline.md

This page chronologically lists features that have been introduced to the web platform by a browser update.

Firefox 65 / January 29, 2019

  • CSS image-rendering: crisp-edges value
  • CSS overflow-wrap: anywhere value
  • jump-none and jump-both positions for CSS steps() timing function

Chrome 72 / January 29, 2019

View web-platform-news-daily-content.md

January 12, 2019

  • Autoprefixer: Autoprefixer warns you if you use deprecated CSS properties, e.g., text-decoration-skip: ink instead of text-decoration-skip-ink: auto.
  • Josh Aas: Let’s Encrypt has stopped checking domains against the Google Safe Browsing API before issuance (content safety is outside the scope of certificates).
  • Rachel Andrew: CSS multi-column layout (e.g., column-count: 4) is currently the only layout method that can create Masonry-style layouts with unequal height items.
  • Zach Leatherman: On macOS, buttons seem to lose their native styles if they become multi-line.
  • Anne van Kesteren: The DOM Standard lists the 18 built-in HTML elem
View webplatform.news-20181029T002706.json
{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3594.0 Safari/537.36","environment":{"networkUserAgent":"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36(KHTML, like Gecko) Chrome/71.0.3559.0 Mobile Safari/537.36","hostUserAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3594.0 Safari/537.36","benchmarkIndex":1446},"lighthouseVersion":"3.2.0","fetchTime":"2018-10-28T23:27:06.492Z","requestedUrl":"https://webplatform.news/issues","finalUrl":"https://webplatform.news/issues","runWarnings":[],"runtimeError":{"code":"NO_ERROR","message":""},"audits":{"is-on-https":{"id":"is-on-https","title":"Uses HTTPS","description":"All sites should be protected with HTTPS, even ones that don't handle sensitive data. HTTPS prevents intruders from tampering with or passively listening in on the communications between your app and your users, and is a prerequisite for HTTP/2 and ma
View main.js
(window.webpackJsonp = window.webpackJsonp || []).push([[0], [, , , , function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
});
var o = n(0);
n(62);
var r = {
top: {
viewBox: "0 0 24 24",
View main.css
@charset "UTF-8";:root {
--brand-gradient:linear-gradient(45deg,#f012be,#0074d9);--brand-gradient-alpha:linear-gradient(45deg,rgba(240,18,190,0.06667),rgba(0,116,217,0.06667));--scale:1rem}
@media (min-width: 768px) {
:root {
--scale:1.17rem
}
}
@media (min-width: 1260px) {
View system-font-stacks.css
.booking.com {
font-family:
BlinkMacSystemFont,
-apple-system,
Segoe UI,
Roboto,
Helvetica,
Arial,
sans-serif;
}
View sw.js
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Workbox build configuration
* and re-run your build process.
You can’t perform that action at this time.