Skip to content

Instantly share code, notes, and snippets.

View dlbnco's full-sized avatar
:shipit:
🦡

Mateus Dal Bianco dlbnco

:shipit:
🦡
View GitHub Profile
@edolyne
edolyne / server.js
Created August 6, 2018 15:24
Dynamic Sitemap creation for NextJS based projects
const express = require('express');
const next = require('next');
const sm = require('sitemap');
const axios = require('axios');
const port = parseInt(process.env.PORT, 10) || 3000;
const dev = process.env.NODE_ENV !== 'production';
const app = next({ dev });
const handle = app.getRequestHandler();
@viridiano
viridiano / designtoolbox.md
Last active September 7, 2020 15:13
Designers Toolbox – A curated list of tools for designers and front-end developers.
Design/Webdesign Tools
  • Cool Backgrounds – A collection of tools to create compelling, colorful images for blogs, social media, and websites
  • unDraw Illustrations – Browse to find the images that fit your needs and click to download
  • Streamline – World's largest icon library
  • Icons8 – All icons are done by a single designer, so your work will look consistent
  • Simple Icon – Free SVG icons for popular brands
  • SVGRepo – 170.000+ Free SVG Vectors and Icons
  • Noun Project – Over a million curated icons
  • Icon Finder
@manfromanotherland
manfromanotherland / formspree.html
Last active July 3, 2024 14:24
JS: Ajax send forms using the most excellent Formspree » http://formspree.io #snippet
<form id="contact-form" action="//formspree.io/your@email.com" method="post">
<input type="text" name="Name" placeholder="Name" required>
<input type="email" name="Email" placeholder="Email" required>
<textarea name="Message" cols="30" rows="6" placeholder="Message" required></textarea>
<!-- CONFIG -->
<input class="is-hidden" type="text" name="_gotcha">
<input type="hidden" name="_subject" value="Subject">
<input type="hidden" name="_cc" value="email@cc.com">
<!-- /CONFIG -->
<input class="submit" type="submit" value="Send">