Locate Empty Directories from Command Line

As a software engineer that lives too much of his life on a computer, I like keeping my machine as clean as possible. I don’t keep rogue downloaded files and removes apps when I don’t need them. Part of keeping a clean, performant system is removing empty directories. To identify empty directories, I use the following command: find . -type d --empty To remove empty directories, we can add a --delete flag: find . -type d --empty --delete Keeping a clean machine is easy when you know the tools that can help you. find makes identifying and eliminating easy, so don’t be afraid to use it! The post Locate Empty Directories from Command Line appeared first on David Walsh Blog. David... more →
Posted in: JavaScript

See A Satellite Tonight

James Darpinian’s See a Satellite Tonight can tell you at what time tonight satellites will fly over your house. It can also show you exactly where to look in the night sky if you want to see a satellite passing overhead.  Share your location with See a Satellite Tonight and you can view an interactive 3D Cesium Earth map, showing your current location highlighted on the globe. The globe also Maps Mania… more →
Posted in: Interactive Maps

Mapping A Rainy Day in Paris

For day 2 of the #30DayMapChallenge I’ve created an animated Map of A Rainy Day in Paris. Obviously this one isn’t a map but it does use the Leaflet mapping library, GeoJSON and uses animated polylines. What you can see in my ‘map’ is a partial recreation of the painting Paris Street; Rainy Day by Gustave Caillebotte. You can see the painting itself on this instance of my Leaflet-IIIF-GeoJSON Maps Mania… more →
Posted in: Interactive Maps

Integrating Cloudinary Notifications with Pipedream

As I continue my journey into learning the awesomeness of the Cloudinary platform, today I decided to take a look at their notifications support. Cloudinary lets you specify a webhook URL that will be hit on different types of events. I whipped up a quick example of using this with Pipedream, my favorite service for processing webhooks. Here’s how I did it. Raymond Camden… more →
Posted in: JavaScript

An Alpine.js Template for Glitch

I discovered Glitch a few months ago, and while I haven’t used it a lot since then, the more I do, the more I really dig it. When working on my blog post yesterday, I shared the demo as a Glitch project, you can see it here if you would like. While setting up the project, I fumbled a bit with the right order of script tags, which was entirely my fault, but knowing my memory I wanted to note what worked for me, and share it with others. Let’s start with the code first. Raymond Camden… more →
Posted in: JavaScript

US Level 0

My social media accounts have been lit up today by people posting their US Level and Europe Level scores. US Level and Europe Level are two very simple interactive maps which can score your globetrotting experience by awarding you points based on the number of states or countries you have visited.Working out your US Level is very easy. All you have to do is click on each U.S. state and choose Maps Mania… more →
Posted in: Interactive Maps

Building an API to List Cloudinary Images in a Folder

I was preparing to work on a Cloudinary and Apline post when I realized I needed something before I could build that demo – a list of images in a Cloudinary folder. While this is directly supported by their SDKs and REST APIs, I needed something that could be used in a public-facing web application. So with that in mind, I turned to Pipedream to build a serverless endpoint. Here’s how I did it. Raymond Camden… more →
Posted in: JavaScript
1 52 53 54 55 56 190