Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Optimizing...

Paweł Kowalski pavelloz

💭
Optimizing...
  • Earth, Milky Way
View GitHub Profile
View demo.graphql
# get 10 models sorted by created_at - oldest to newest.
# Note it shows models from all schemas, because no filtering is applied
query getItems {
models(
per_page: 10
) {
total_entries
results {
id
created_at
@pavelloz
pavelloz / svg-png-jpg.md
Created Feb 18, 2020
When to use svg, png, and when jpg
@pavelloz
pavelloz / debug.liquid
Created Feb 14, 2020 — forked from piotrze/debug.liquid
Debug liquid
View debug.liquid
---
slug: debug
layout_name:
---
<!DOCTYPE html>
<html lang="en">
<head>
<title>Definitive Universal Programmer Aid</title>
<!-- Skeleton.css without grid -->
<style>.container{position:relative;width:100%;max-width:960px;margin:0 auto;padding:0 20px;box-sizing:border-box}.column,.columns{width:100%;float:left;box-sizing:border-box}@media (min-width:400px){.container{width:85%;padding:0}}@media (min-width:550px){.container{width:80%}}html{font-size:62.5%}body{font-size:1.5em;line-height:1.6;font-weight:400;font-family:Raleway,HelveticaNeue,"Helvetica Neue",Helvetica,Arial,sans-serif;color:#222}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:2rem;font-weight:300}h1{font-size:4rem;line-height:1.2;letter-spacing:-.1rem}h2{font-size:3.6rem;line-height:1.25;letter-spacing:-.1rem}h3{font-size:3rem;line-height:1.3;letter-spacing:-.1rem}h4{font-size:2.4rem;line-height:1.35;letter-spacing:-.08rem}h5{font-size:1.8rem;line-height:1.5;letter-spacing:-.05rem}h6{font-size:1.5rem;line-height:1.6;letter-spacing:0}@media (