Pebbling Club 🐧🪨

  • jacktuck/unfurl: Metadata scraper with support for oEmbed, Twitter Cards and Open Graph Protocol for Node.js :zap:
    Notes
    Highlight:Unfurl (spread out from a furled state) will take a url and some options, fetch the url, extract the metadata we care about and format the result in a sane way. It supports all major metadata providers and expanding it to work for any others should be trivial. Metadata scraper with support for oEmbed, Twitter Cards and Open Graph Protocol for Node.js :zap: - jacktuck/unfurl
    Unfurl
  • microlinkhq/metascraper: Get unified metadata from websites using Open Graph, Microdata, RDFa, Twitter Cards, JSON-LD, HTML, and more.
    Notes
    Highlight:The metascraper library allows you to easily scrape metadata from an article on the web using Open Graph metadata, regular HTML metadata, and series of fallbacks. Get unified metadata from websites using Open Graph, Microdata, RDFa, Twitter Cards, JSON-LD, HTML, and more. - microlinkhq/metascraper
    Unfurl
  • wasmati: You should write your WebAssembly in TypeScript - ZKSECURITY
    Notes
    The solution is wasmati, a TypeScript library to write Wasm at the instruction level. The wasmati API looks exactly like Webassembly text format (WAT).
    Unfurl
  • Beyond microblogging with ActivityPub [LWN.net]
    Notes
    ActivityPub-enabled microblogs are gaining popularity as a replacement for Twitter, but ActivityPub is for more than just microblogging
    Feed
    Unfurl
  • Server-side rendering (SSR) – Lit
    Notes
    Lit supports server-side rendering through the Lit SSR package. Lit SSR renders Lit components and templates to static HTML markup in non-browser JavaScript environments like Node. It works without fully emulating the browser's DOM, and takes advantage of Lit's declarative template format to enable fast performance, achieve low time-to-first-byte, and support streaming.
    Feed
    Unfurl
  • Date and Time with a Static Site Generator - Jim Nielsen’s Blog
    Notes
    Do you have a static site generator? If so, how do you handle the date and time for when your posts are published?
    Feed
    Unfurl
  • Local-First Web Development
    Notes
    So, you want to build an app that has its data co-located with its UI? That works offline? That synchronizes between clients? And that lets its users own their data?
    Unfurl
  • Learn HTML
    Notes
    This HTML course for web developers provides a solid overview for developers, from novice to expert level HTML.
    Unfurl
  • Provide Blog Metadata via JSON-LD - kiko.io
    Notes
    Centralization of a website's schema.org data in the HEAD instead of everywhere in the HTML
    Feed
    Unfurl
  • Using CSS to create a CRT
    Notes
    I have attempted to assemble a set of CSS effects to replicate this look mainly by adding three things: screen-door effect, flicker, and color separation
    Feed
    Unfurl
  • Embedding Our New React UI in Go | Flipt Blog
    Notes
    The UI is served over HTTP directly from the binary using Go’s fantastic http.FileServer implementation from the standard library. Sometime around February 2021 was the Go 1.16 release, which came with native embedding of files into Go binaries. Flipt quickly took advantage of this feature for bundling the static UI assets directly into the binary. Go has a handy wrapping function that adapts the embed.FS into the required http.FileSystem interface to integrate it seamlessly into an http.Server. You can find the current (v1.16.0) embed directive in Flipt here.
    Feed
    Unfurl
  • How To Use an Emoji as a Favicon Easily | CSS-Tricks - CSS-Tricks
    Notes
    Lea Verou had a dang genius idea to use an emoji as a favicon. The idea only recently possible as browsers have started supporting SVG for favicons. Chuck an emoji inside an SVG <text> element and use that as the favicon.
    Feed
    Embed
    Unfurl
  • Tree views in CSS
    Notes
    A tree view (collapsible list) can be created using only HTML and CSS, without the need for JavaScript. Accessibility software will see the tree view as lists nested inside disclosure widgets, and the standard keyboard interaction is supported automatically.
    Unfurl
  • What does it look like for the web to lose? - Chris Coyier
    Notes
    Better yet, let’s ditch the idea of native apps. All web! All web! All web!
    Feed
    Embed
    Unfurl
  • Creating a 2D physics engine from scratch in Javascript – AILEF
    Notes
    In this article, we will implement a toy 2d physics engine that supports basic forces, collisions and constraints (joints) for circle-shaped objects.
    Feed
    Embed
    Unfurl
  • Displaying Favicons For Any Domain - Jim Nielsen’s Blog
    Notes
    Herein I detail what I discovered attempting to display favicons for any site on the web.
    Feed
    Unfurl
  • ESP32 Web Server (WebSocket) with Multiple Sliders PWM | Random Nerd Tutorials
    Notes
    This tutorial shows how to build an ESP32 web server that displays a web page with multiple sliders. The sliders control the duty cycle of different PWM channels to control the brightness of multiple LEDs.
    Feed
    Embed
    Unfurl
  • Another 100 CSS loaders for your next project - DEV Community 👩‍💻👨‍💻
    Notes
    Ready for the second set of loaders? Yes, it's again me with another collection of 100 CSS loaders. Now you have a total of 200 different loaders!
    Unfurl
  • Hosting SQLite databases on Github Pages - (or any static file hoster) - phiresky's blog
    Notes
    "so I implemented a virtual file system that fetches chunks of the database with HTTP Range requests when SQLite tries to read from the filesystem"
    Feed
    Unfurl
  • Your Front-End Does Not Have To Be Rich
    Notes
    So, when you embark on your next project, take a moment to remember all the choices out there - it’s not just React vs Angular, but leaving most of your business logic server-side could be the right choice for your website.
    Unfurl
  • DRY Switching with CSS Variables: The Difference of One Declaration | CSS-Tricks
    Notes
    This is the first post of a two-part series that looks into the way CSS variables can be used to make the code for complex layouts and interactions less difficult to write and a lot easier to maintain. This first installment walks through various use cases where this technique applies.
    Feed
    Embed
    Unfurl
  • Testing native ES modules using Mocha and esm. – Alex Gibson
    Notes
    Turns out, many JavaScript testing frameworks don’t yet support native ES modules out of the box, and I was struggling to find an easy solution that didn’t require transpiling my code back to ES5.
    Unfurl
  • Enabling CORS in Synology WebDav
    Notes
    ssh ip-synology cd /var/packages/WebDAVServer/target/etc/httpd/ sudo vim conf/httpd.conf-webdav add LoadModule rewrite_module modules/mod_rewrite.so sudo vim conf/extra/httpd-ssl.conf-webdav add : Header always set Access-Control-Allow-Origin "*" Header always set Access-Control-Allow-Headers "origin, content-type, cache-control, accept, authorization, if-match, destination, overwrite" Header always set Access-Control-Expose-Headers "ETag" Header always set Access-Control-Allow-Methods "GET, HEAD, POST, PUT, OPTIONS, MOVE, DELETE, COPY, LOCK, UNLOCK" Header always set Access-Control-Allow-Credentials "true" RewriteEngine on RewriteCond %{REQUEST_METHOD} OPTIONS RewriteRule ^(.*)$ blank.html [R=200,L,E=HTTP_ORIGIN:%{HTTP:ORIGIN}] cd /var/packages/WebDAVServer/target/tools sudo ./start_stop.sh start restart
    Unfurl
  • Underrun – Making Of - PhobosLab
    Notes
    I participated in this year's js13kGames, a JavaScript game development competition with a file size limit of 13kb, including code, assets and everything else. My entry was Underrun, a twin stick shooter using WebGL.
    Feed
    Unfurl
  • We Need Open Hosting Platforms
    Notes
    I don’t want to be an entrepreneur! Hell, that’s even more of a pain in the ass than giving stuff away.
    Unfurl
  • Taft Test - Web Dev Placeholder Image Generater
    Notes
    Does your page design improve when you replace every image with William Howard Taft?
    Unfurl
  • The Fall and Rise of SVG
    Notes
    Now that SVG is widely supported and native to browsers, the art of using it is more connected to the surrounding web technologies that it can now interoperate with in HTML5
    Unfurl
  • Aerotwist - FLIP Your Animations
    Notes
    What we’re trying and do is to turn animations on their head (flip, see? Gosh darnit, I’m so funneh) and, instead of animating “straight ahead” and potentially doing expensive calculations on every single frame we precalculate the animation dynamically and let it play out cheaply.
    Feed
    Unfurl
  • ES6 Promises in Depth
    Notes
    Promises are a very involved paradigm, so we’ll take it slow.
    Feed
    Unfurl
  • The Wrong Debate About Native And Web. - otsukare
    Feed
    Unfurl
  • GitHub tip: easily sync your master to GitHub Pages - BrettTerpstra.com
    Notes
    [remote "origin"] fetch = +refs/heads/*:refs/remotes/origin/* url = git@github.com:user/repo.git push = +refs/heads/master:refs/heads/gh-pages push = +refs/heads/master:refs/heads/master
    Feed
    Unfurl
  • The Web is not Poor Man’s Native | in progress
    Notes
    I agree quite strongly that the web does not need to emulate native to provide a powerful, vibrant app ecosystem.
    Feed
    Embed
    Unfurl
  • Progressive Apps: Escaping Tabs Without Losing Our Soul – Infrequently Noted
    Notes
    These apps aren’t packaged and deployed through stores, they’re just websites that took all the right vitamins.
    Feed
    Unfurl
  • Unit testing React components without a DOM – simonsmith.io – Portfolio and blog of a London based front-end web developer
    Notes
    the idea of shallow rendering is to instantiate a component and get the result of its render method, which is a ReactElement. From here you can do things like check its props and children and verify it works as expected.
    Unfurl
  • Lazymorphic Apps: Bringing back the static web | &yet Blog
    Notes
    We’ve come long way from the simple static sites of the early web, yet somehow, I really miss it.
    Feed
    Unfurl
  • Heroku | Heroku Review Apps Beta
    Notes
    With Review Apps enabled, Heroku will spin up temporary test apps for every pull request that’s opened on GitHub, complete with fresh add-ons and other config required to make the app run
    Feed
    Unfurl
  • Deploying a Jekyll Site on GitHub, Travis CI, and Amazon S3 | ThinkShout
    Unfurl
  • Simplify: move code into database functions | Derek Sivers
    Notes
    If you are a web or API developer, programming code that uses an SQL database, this is for you.
    Feed
    Unfurl
  • draft-nottingham-json-home-02 - Home Documents for HTTP APIs
    Notes
    This document proposes a "home document" format for non-browser HTTP clients.
    Feed
    Unfurl
  • Fill Murray
    Notes
    The internet was missing the ability to provide custom-sized placeholder images of Bill Murray. Now it can.
    Unfurl
  • ifttt-webhook · Abhay Rana
    Notes
    A webhook middleware for the ifttt.com service
    Feed
    Unfurl
  • How to Use npm as a Build Tool
    Notes
    I suggested we should start uing npm instead. npm's scripts directive can do everything that these build tools can, more succinctly, more elegantly, with less package dependencies and less maintainence overhead.
    Unfurl
  • ES6 Modules, AMD and CommonJS — Medium
    Notes
    This article shares some techniques and tools for building web apps using future friendly ES6 module syntax.
    Unfurl
  • SQL on Khan Academy enabled by SQLite, sqljs, asm.js and Emscripten
    Notes
    Our implementation of SQL is based off of SQLite which is compiled down to asm.js by Emscripten packaged into sqljs.
    Unfurl
  • Contributing to FirefoxOS Cordova initiative
    Notes
    This post will focus on how to get started writing the Firefox OS platform and plugins.
    Unfurl
  • The Web Is Dying; Apps Are Killing It - WSJ
    Notes
    Everything about apps feels like a win for users—they are faster and easier to use than what came before. But underneath all that convenience is something sinister: the end of the very openness that allowed Internet companies to grow into some of the most powerful or important companies of the 21st century.
    Unfurl
  • Dexie.js - Minimalistic IndexedDB Wrapper
    Notes
    A Minimalistic Wrapper for IndexedDB
    Unfurl
  • Seth Ladd's Blog: Minification is not enough, you need tree shaking
    Notes
    I believe that web developers need a better workflow that automates tree shaking, dead code elimination, minification, and more. Stop caring how big a library is, and instead let a tool or build step produce the smallest output possible for you, ideally by tree shaking the application.
    Feed
    Unfurl
  • HTML5 Drag and Drop Avatar Changer with Resizing and Cropping | CSS-Tricks
    Notes
    Let's create a page where a user can update their avatar with as little friction as possible: they just drop an image anywhere on the page and it's done.
    Feed
    Embed
    Unfurl
  • Firefox 1.0 Launch Day | Mitchell's Blog
    Notes
    Launch day here was quite a day, and I thought I would describe my view of it.
    Feed
    Embed
    Unfurl