FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Every Developer Should Have a 'Scripts' Folder — Here's What's in Mine
How-ToProgramming Languages

Every Developer Should Have a 'Scripts' Folder — Here's What's in Mine

via Dev.to PythonAlex Spinov3h ago

The Most Productive Thing I Ever Did Two years ago, I created a ~/scripts/ folder. Every time I write a one-off script that saves me time, it goes in there. Now I have 30+ scripts that save me hours every week. Here are the most useful ones. 1. Quick API Check #!/usr/bin/env python3 # api_check.py — Test if an API endpoint is alive import requests , sys url = sys . argv [ 1 ] if len ( sys . argv ) > 1 else input ( " URL: " ) try : resp = requests . get ( url , timeout = 10 ) print ( f " Status: { resp . status_code } " ) print ( f " Time: { resp . elapsed . total_seconds () : . 2 f } s " ) print ( f " Size: { len ( resp . content ) } bytes " ) if resp . headers . get ( " content-type " , "" ). startswith ( " application/json " ): import json print ( json . dumps ( resp . json (), indent = 2 )[: 500 ]) except Exception as e : print ( f " Error: { e } " ) Usage: python3 api_check.py https://api.openalex.org/works?per_page=1 2. CSV Quick Look #!/usr/bin/env python3 # csv_look.py — Quick s

Continue reading on Dev.to Python

Opens in a new tab

Read Full Article
7 views

Related Articles

We Tested This FREE TradingView Trend Indicator… It Only Works Here!
How-To

We Tested This FREE TradingView Trend Indicator… It Only Works Here!

Medium Programming • 3h ago

5 Campfire Songs Anyone Can Play on Guitar (Free Chord Charts)
How-To

5 Campfire Songs Anyone Can Play on Guitar (Free Chord Charts)

Dev.to Beginners • 6h ago

Bybit vs HTX — Which Crypto Exchange Is Better? (2026)
How-To

Bybit vs HTX — Which Crypto Exchange Is Better? (2026)

Dev.to Beginners • 6h ago

Stop Posting Noise: Building in Public Needs Real Value
How-To

Stop Posting Noise: Building in Public Needs Real Value

Dev.to Beginners • 7h ago

We got an audience with the "Lunar Viceroy" to talk how NASA will build a Moon base
How-To

We got an audience with the "Lunar Viceroy" to talk how NASA will build a Moon base

Ars Technica • 7h ago

Discover More Articles