View artwork.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "6c78b554-4b08-4f7d-9b5f-15ac618e6d62", | |
"name": "Ylop", | |
"description": "", | |
"assetScheme": "https://", | |
"assetHost": "f8n-production-collection-assets.imgix.net", | |
"assetPath": "/0x46Be8f341dbdF7Bb0890Ddb5056f62c3c034CbF6/9/nft.gif", | |
"assetIPFSPath": "QmQpxifUVa1LhrBgNMTWrKS1jCXbJLBbQ7Z53msjcXvSuL/nft.gif", | |
"metadataScheme": "https://", | |
"metadataHost": "ipfs.io", |
View enum-in-array.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// when T is a custom type we want to infer from | |
// that rather than extending from any string | |
export function isValueInArray<T extends string>( | |
values: T[], | |
value: T | undefined | |
) { | |
return value ? values.includes(value) : false; | |
} | |
type Status = 'PENDING' | 'ERROR' | 'SUCCESS'; |
View index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form id="subForm" class="js-cm-form" action="https://www.createsend.com/t/subscribeerror?description=" method="post" data-id="A61C50BEC994754B1D79C5819EC1255CF918EA4461ABD274FF5FC92A3B4F4151F402A76763551CB7D3D4AC1E2361AFD2E85A761A108693FCE3D82C70BE5AEBD0"> | |
<p> | |
<label for="fieldName">Name</label><br /> | |
<input id="fieldName" name="cm-name" type="text" /> | |
</p> | |
<p> | |
<label for="fieldEmail">Email</label><br /> | |
<input id="fieldEmail" class="js-cm-email-input" name="cm-vtikrl-vtikrl" type="email" required /> | |
</p> |
View main.es5.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
function _toArray(arr) { return Array.isArray(arr) ? arr : Array.from(arr) } | |
function makeSpans (selector) { | |
var _document$querySelect = document.querySelectorAll(selector) | |
var _document$querySelect2 = _toArray(_document$querySelect) | |
var elements = _document$querySelect2.slice(0) | |
return elements.map(function (element) { |
View shots.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{ | |
"id": 2971559, | |
"title": "Profiling", | |
"description": null, | |
"width": 400, | |
"height": 300, | |
"images": { | |
"hidpi": "https://cdn.dribbble.com/users/1/screenshots/2971559/new-profiles.jpg", | |
"normal": "https://cdn.dribbble.com/users/1/screenshots/2971559/new-profiles_1x.jpg", | |
"teaser": "https://cdn.dribbble.com/users/1/screenshots/2971559/new-profiles_teaser.jpg" |
View gist:788a5fd8f607b7505e71
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Step 0 : FROM ubuntu:trusty | |
---> 86ce37374f40 | |
Step 1 : MAINTAINER kload "kload@kload.fr" | |
---> Using cache | |
---> bf41e25f0a8d | |
Step 2 : RUN echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d; chmod +x /usr/sbin/policy-rc.d | |
---> Using cache | |
---> 2f2fc4b4f6ca | |
Step 3 : RUN apt-get update | |
---> Using cache |
View form.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form accept-charset="UTF-8" action="/payment" class="cardInfo" method="post"> | |
<fieldset class="cardInfo__cardDetails"> | |
<div class="form-row cardInfo__cc-num"> | |
<label for="cc-num"><abbr title="required">*</abbr><span>Card Number</span></label> | |
<div class="cc-num__wrap"> | |
<!-- using type="tel" because type="number" doesn’t pass HTML5 form validation with jQuery.payment formatting --> | |
<input id="cc-num" type="tel" class="paymentInput cc-num" placeholder="•••• •••• •••• ••••" autocompletetype="cc-number" required="required"> | |
<span class="card" aria-hidden="true"></span> |
View modernizr-typekit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Modernizr.load([{ | |
test: Modernizr.fontface, | |
complete: function() { | |
TypekitConfig = { | |
kitId: 'xxxxxxx', | |
scriptTimeout: 3000 | |
}; | |
(function() { | |
var t = setTimeout(function() { | |
}, TypekitConfig.scriptTimeout); |