Asking DuckDuckGo the URL Of Go Packages
Table of Contents
Quick post just to tell my new laziness tool: goinstallddgresult .
goinstallddgresult gdu latest
Then after searching at DuckDuckGo, it asks me:
And after select it, success!
Quick Dive In
This may be the most dumb thing, but it promises to save some seconds of my life
when I delete ~/go directory to save storage…
It uses ddglite a script which brings a dead-simple parsing of the page to JSON,
see an example:
ddglite gdu
[
{
"url": "https://github.com/dundee/gdu",
"text": "GitHub - dundee/gdu: Fast disk usage analyzer with console interface ..."
},
{
"url": "https://www.pioneer.com/us/tools-services/growing-degree-unit.html",
"text": "Growing Degree Unit (GDU) Calculator | Pioneer® Seeds"
},
{
"url": "https://www.omnicalculator.com/biology/gdu",
"text": "GDU Calculator — Growing Degree Units"
},
{
"url": "https://plantcalculators.com/crop-farming/growing-degree-unit-gdu/",
"text": "Growing Degree Unit (GDU) Calculator - plantcalculators.com"
},
{
"url": "https://areacalculators.com/gdu-growing-degree-units-calculator/",
"text": "GDU (Growing Degree Units) Calculator - Area Calculators"
},
{
"url": "https://www.geeksforgeeks.org/linux-unix/gdu-faster-disk-usage-analyzer-for-linux/",
"text": "Gdu - Faster Disk Usage Analyzer for Linux - GeeksforGeeks"
},
{
"url": "https://cloudspinx.com/how-to-analyze-disk-usage-on-linux-using-gdu/",
"text": "How To Analyze Disk Usage on Linux using gdu - CloudSpinx"
},
{
"url": "https://cfm-calculator.com/biology/Growing-Degree-Units-GDU-Calculator.php",
"text": "Growing Degree Units (GDU) Calculator"
},
{
"url": "https://treeier.com/gdu-calculator-growing-degree-units-calculator/",
"text": "GDU Calculator | Growing Degree Units Calculator - Treeier"
},
{
"url": "https://commandmasters.com/commands/gdu-common/",
"text": "Using 'gdu' for Disk Usage Analysis (with examples)"
}
]
And it is the magic behind.
Thanks for reading.