|
Slugify # Transliterate everything to ASCII # Strip out apostrophes # Anything that's not a letter or number to a dash # Strip leading & trailing dashes # Everything to lowercase function slugify () { iconv -t ascii//TRANSLIT \ | tr -d "'" \ | sed -E 's/[^a-zA-Z0-9]+/-/g' \ | sed -E 's/^-+|-+$//g' \ | tr "[:upper:]" "[:lower:]" } This is point-free style – so, once you’ve dec..
|
|
How to Rebuild Static Sites at Fixed Intervals with Netlify and GitHub Actions
-
rafaelquintanilha.com
-
5 years ago
-
eng
Learn how to schedule redeployments at regular intervals by building a simple application that fetches stock market data.
|
|
Sometimes I want to resolve several promises at once, then do something when they’re all done. For example, make several API calls, then do something with all the results. I was doing something like this before: // Build your promises array let promises = [ fetch ( ' https://blah.com/static/file.json ' ), fetch ( ' https://blah.com/api/thing/one ' ), fetch ( ' https://blah.com/apr/thing/two ' ), ] ....
|
|
Controlling concurrency with asyncio and semaphores to make large batches of Python HTTP requests fast.
|
|
Controlling concurrency with asyncio and semaphores to make large batches of Python HTTP requests fast.
|
|
Convolutional neural networks have had breakthrough success in image recognition, natural language processing, and even board games like Chess and Go. But what’s really going on during convolution? Well, I think the easiest way to explain is with an interactive demo. Feel free to play around with the parameters below to see for yourself! number: four three eight padding: kernel size: stride: speed: ..
|
|
Last week I encouraged you to collect general knowledge. Viking trade routes, anime, Rothko paintings, architecture, typography, bluegrass standards -- where ever your interests lead you. For these kinds of things, it may be hard to write a note though. You could certainly write down something, but it's unlikely that you'll develop a few paragraphs of a coherent thought about lots of random things. James Webb Young said to use index cards f..
|
|
When we collect software performance measurements, we get a bunch of time intervals. Typically, we tend to interpret time values as continuous values. However, the obtained values are actually discrete due to the limited resolution of our measurement tool. In simple cases, we can treat these discrete values as continuous and get meaningful results. Unfortunately, discretization may produce strange phenomena like pseudo-multimodality or zero..
|
|
When we collect software performance measurements, we get a bunch of time intervals. Typically, we tend to interpret time values as continuous values. However, the obtained values are actually discrete due to the limited resolution of our measurement tool. In simple cases, we can treat these discrete values as continuous and get meaningful results. Unfortunately, discretization may produce strange phenomena like pseudo-multimodality or zero..
|
|
A while ago, I wrote an article about Using Context API in React. However, most of my examples on that page used Class components, , and…
|
|
Using Cortex with Snyk allows teams to know what security vulnerabilities exist throughout their microservice architecture.
|
|
RSS feeds help make consuming any website a million times better. In this post, I show how to make an RSS feed in SvelteKit with a simple endpoint.
|
|
Best viewed on the original page , where extended functionality like the footnote helper is available. What Should You Do with Your Life? Directions and Advice TLDR: The article “What Should You Do with Your Life? Directions and Advice” by Alexey Guzey provides guidance for people who are unsure about their life plans. Here’s a summary: What to work on : Guzey suggests several resources for finding interesting problems to wo....
|
|
Best viewed on the original page , where extended functionality like the footnote helper is available. What Should You Do with Your Life? Directions and Advice TLDR: The article “What Should You Do with Your Life? Directions and Advice” by Alexey Guzey provides guidance for people who are unsure about their life plans. Here’s a summary: What to work on : Guzey suggests several resources for finding interesting problems to wo....
|
|
Best viewed on the original page , where extended functionality like the footnote helper is available. What Should You Do with Your Life? Directions and Advice TLDR: The article “What Should You Do with Your Life? Directions and Advice” by Alexey Guzey provides guidance for people who are unsure about their life plans. Here’s a summary: What to work on : Guzey suggests several resources for finding interesting problems to wo....
|
|
Best viewed on the original page , where extended functionality like the footnote helper is available. What Should You Do with Your Life? Directions and Advice TLDR: The article “What Should You Do with Your Life? Directions and Advice” by Alexey Guzey provides guidance for people who are unsure about their life plans. Here’s a summary: What to work on : Guzey suggests several resources for finding interesting problems to wo....
|
|
Best viewed on the original page , where extended functionality like the footnote helper is available. What Should You Do with Your Life? Directions and Advice TLDR: The article “What Should You Do with Your Life? Directions and Advice” by Alexey Guzey provides guidance for people who are unsure about their life plans. Here’s a summary: What to work on : Guzey suggests several resources for finding interesting problems to wo....
|
|
Best viewed on the original page , where extended functionality like the footnote helper is available. What Should You Do with Your Life? Directions and Advice TLDR: The article “What Should You Do with Your Life? Directions and Advice” by Alexey Guzey provides guidance for people who are unsure about their life plans. Here’s a summary: What to work on : Guzey suggests several resources for finding interesting problems to wo....
|
|
Best viewed on the original page , where extended functionality like the footnote helper is available. What Should You Do with Your Life? Directions and Advice TLDR: The article “What Should You Do with Your Life? Directions and Advice” by Alexey Guzey provides guidance for people who are unsure about their life plans. Here’s a summary: What to work on : Guzey suggests several resources for finding interesting problems to wo....
|
|
Best viewed on the original page , where extended functionality like the footnote helper is available. What Should You Do with Your Life? Directions and Advice TLDR: The article “What Should You Do with Your Life? Directions and Advice” by Alexey Guzey provides guidance for people who are unsure about their life plans. Here’s a summary: What to work on : Guzey suggests several resources for finding interesting problems to wo....
|
|
Best viewed on the original page , where extended functionality like the footnote helper is available. What Should You Do with Your Life? Directions and Advice TLDR: The article “What Should You Do with Your Life? Directions and Advice” by Alexey Guzey provides guidance for people who are unsure about their life plans. Here’s a summary: What to work on : Guzey suggests several resources for finding interesting problems to wo....
|
|
The last 14 months have been a grand experiment in how to manage teams remotely. In one sense this has been a great success. Teams have managed to stay productive and companies have shown record profits. On the other hand, there is a concern of an eventual return-to-office culture.
|
|
The last 14 months have been a grand experiment in how to manage teams remotely. In one sense this has been a great success. Teams have managed to stay productive and companies have shown record profits. On the other hand, there is a concern of an eventual return-to-office culture.
|
|
there at north east so many business person come to there for his business purpose and they want to get female service in city to take rest and resh so they want to get housewife female service and north east escorts agency easly provide that.
|
|
We’re ironically searching for counterexamples to the Riemann Hypothesis. Setting up Pytest Adding a Database Search Strategies Unbounded integers Deploying with Docker Performance Profiling Scaling up Productionizing In the last article we added a menagerie of “production readiness” features like continuous integration tooling (automating test running and static analysis), alerting, and a simple deployment automation. Then I let it loose o..
|
|
We’re ironically searching for counterexamples to the Riemann Hypothesis. Setting up Pytest Adding a Database Search Strategies Unbounded integers Deploying with Docker Performance Profiling Scaling up Productionizing In the last article we added a menagerie of “production readiness” features like continuous integration tooling (automating test running and static analysis), alerting, and a simple deployment automation. Then I let it loose o..
|
|
We’re ironically searching for counterexamples to the Riemann Hypothesis. Setting up Pytest Adding a Database Search Strategies Unbounded integers Deploying with Docker Performance Profiling Scaling up Productionizing In the last article we added a menagerie of “production readiness” features like continuous integration tooling (automating test running and static analysis), alerting, and a simple deployment automation. Then I let it loose o..
|
|
Linus Torvalds’ reply to an anti-vaxxer on the Linux kernel list is a must-read. Pre-2018, Linus would have destroyed the poor chump. He’s discouraging further discussion (Kernel list is not the place for that) while providing crystal clear and detailed mRNA vaccine information, all without renouncing to an opening salvo of his good-ole, grumpy style. As John Gruber affirms , this is one rant we can all get behind.
|
|
Simple Notes app using React, TypeScript, Node.js, GraphQL and MongoDB
-
www.rasikjain.com
-
5 years ago
-
eng
In the series of the blog post, I am going to walk through step by step process of building a Simple Notes App using React, TypeScript, Node.js, GraphQL , and MongoDB. During the process of our development, we are going to use some useful npm packages like Express, Apollo-Server, Typegoose, Mongoose, TypeGraphQL , and Bootstrap. Here is the Github Source Code to run the application. Table of Content Dev Environment Setup GraphQL Server Bac..
|
|
This is my third week providing examples for the Java Collections Framework . It’s actually been four weeks since my first of these posts, but I missed last week due to being sick. I’ll miss next week as well due to being on vacation.
|
|
Tandon’s CS program, unlike CAS and the majority of other schools with CS programs, does not have any sort of CS placement. Officially, the only course an incoming CS/CE/ECE major can skip is the very first Intro course with an AP CS exam score of 4 or 5. Unofficially, you can skip all of the requirements of any of the majors so long as you get enough credits in the required course work by graduation. This guide is intended to be helpful to..
|
|
It’s cliché at this point to say that 2020 was a rough year. I’m grateful in that I and my wife were relatively unscathed by the pandemic. I had some personal health issues however that by themselves made 2020 a bit of a struggle. I learned some important lessons. In February I had a big choir concert. That same weekend I had a large project for one of my CS classes due. I got an extension on my CS project so I could sing in the concert; ....
|
|
It’s cliché at this point to say that 2020 was a rough year. I’m grateful in that I and my wife were relatively unscathed by the pandemic. I had some personal health issues however that by themselves made 2020 a bit of a struggle. I learned some important lessons. In February I had a big choir concert. That same weekend I had a large project for one of my CS classes due. I got an extension on my CS project so I could sing in the concert; ....
|
|
It’s cliché at this point to say that 2020 was a rough year. I’m grateful in that I and my wife were relatively unscathed by the pandemic. I had some personal health issues however that by themselves made 2020 a bit of a struggle. I learned some important lessons.
|
|
It’s cliché at this point to say that 2020 was a rough year. I’m grateful in that I and my wife were relatively unscathed by the pandemic. I had some personal health issues however that by themselves made 2020 a bit of a struggle. I learned some important lessons.
|
|
Learn the differences between the two types of sites: dynamic and static. A practical list of the most important pros and cons.
|
|
Bulgakov’s The Master and Margarita is a wonderful story weaving together the oppresive, homogenous era under the early years of…
|
|
I've made a second prototype of the Squeezebox Keyboard. It's a huge improvement over the first working prototype. Detail of assembled right hand side Improvements included in this version Key switches are hot swappable courtesy of Kailh hot-swap sockets This required a major level-up in my FreeCAD skills as there's a LOT of precise geometry Per-finger splay angle, adjustable for tailor fit Each keywell column is a separate independ....
|
|
I've made a second prototype of the Squeezebox Keyboard. It's a huge improvement over the first working prototype. Detail of assembled right hand side Improvements included in this version Key switches are hot swappable courtesy of Kailh hot-swap sockets This required a major level-up in my FreeCAD skills as there's a LOT of precise geometry Per-finger splay angle, adjustable for tailor fit Each keywell column is a separate independ....
|