DevTips

Empower your development workflow with our curated collection of quick tips and practical tutorials. From file handling and image processing to API integration and open source tools, our dev tips cover a wide range of topics to enhance your coding skills and boost productivity. Whether you’re a beginner or an experienced developer, dive in to find efficient solutions for your projects.

  • Automating SFTP file polling with Ruby

    Import files securely from SFTP servers with Ruby's Net::SFTP, using strict host checks, atomic local writes, and explicit error handling.

    Kevin van Zonneveld

  • Resumable file uploads in Angular

    Build an Angular upload form with tus-js-client and a local tus server, then pause, reload, and resume uploads from the bytes already stored on disk.

    Tim Koschützki

  • Optimize PNGs in the browser with Oxipng

    Optimize PNGs locally in the browser with jSquash Oxipng, a Web Worker, and Vite, with input limits, cancellation, and downloadable results.

    Tim Koschützki

  • Read files in Java with memory mapping

    Read files with Java memory mapping, compute a SHA-256 checksum, and compare buffered reads while accounting for size limits and memory costs.

    Kevin van Zonneveld

  • Comparing PNG optimizers in Node.js

    Compare pngquant, OptiPNG, and Sharp in Node.js using repeatable PNG fixtures, measured sizes and times, and checks for pixels and transparency.

    Kevin van Zonneveld