Skip to main content
tdro

Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.

tdro micro.thedroneely.com view
  • Markdown Plaintext Embed Permalink
  • 73/50 words 24s read

    There’s an old article from the developer of NetNewsWire ( reader) that questions the idea of the unread count. You can’t read all the unread — so why entertain a time consuming mythos around that number?

    It applies everywhere — What narratives might people create around the programming language % numbers on GitHub? Do they waste time thinking/fretting about their mythos? Fun to think about.

    GitHub’s Language Savant
    GitHub’s Language Savant Linguist
    Index: Cache · Source
    #musings
    Bing Images

    Bing Images

    via @default Bing Images bing.com view
  • Markdown Plaintext Embed Permalink
  • 25/50 words 8s read

    Regional Park of Migliarino, San Rossore, Massaciuccoli, Italy (© Stefano Valeri/Alamy)

    Regional Park of Migliarino, San Rossore, Massaciuccoli, Italy (© Stefano
    Regional Park of Migliarino, San Rossore, Massaciuccoli, Italy (© Stefano
    Index: Cache · Source
    #feeds
    Grumpy Website

    Grumpy Website

    via @tdro Grumpy Website grumpy.website view
  • Markdown Plaintext Embed Permalink
  • 35/50 words 12s read

    nikitonsky: There’re no technical reasons for limitations like these to exist. Next time you catch yourself thinking about allowing or not allowing certain symbols somewhere: just don’t. Allow everything. Users will thank you for that.

    #feeds
    Mozilla Hacks

    hacks.mozilla.org

    via @default Mozilla Hacks hacks.mozilla.org view
  • Markdown Plaintext Embed Permalink
  • 39/50 words 13s read

    How do you merge two Git repositories without losing history? This post will take you through the step-by-step process. The post Merging two GitHub repositories without losing commit history appeared first on Mozilla Hacks - the Web developer blog.

    #feeds
    Bing Images

    Bing Images

    via @default Bing Images bing.com view
  • Markdown Plaintext Embed Permalink
  • 18/50 words 6s read

    Baltic Sea in Estonia (© fotoman-kharkov/Getty Images)

    Baltic Sea in Estonia (© fotoman-kharkov/Getty Images)
    Baltic Sea in Estonia (© fotoman-kharkov/Getty Images)
    Index: Cache · Source
    #feeds
    Bing Images

    Bing Images

    via @default Bing Images bing.com view
  • Markdown Plaintext Embed Permalink
  • 26/50 words 9s read

    Bearded reedlings at a wetland in Flevoland, Netherlands (© Gert-Jan IJzerman/Minden Pictures)

    Bearded reedlings at a wetland in Flevoland, Netherlands (© Gert-Jan
    Bearded reedlings at a wetland in Flevoland, Netherlands (© Gert-Jan
    Index: Cache · Source
    #feeds
    Bing Images

    Bing Images

    via @default Bing Images bing.com view
  • Markdown Plaintext Embed Permalink
  • 29/50 words 10s read

    Boundary Trail in Mount St. Helens National Volcanic Monument, Washington (© Don Geyer/Alamy)

    Boundary Trail in Mount St. Helens National Volcanic Monument, Washington (© Don
    Boundary Trail in Mount St. Helens National Volcanic Monument, Washington (© Don
    Index: Cache · Source
    #feeds
    tdro

    Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.

    tdro micro.thedroneely.com (edited) view
  • Markdown Plaintext Embed Permalink
  • 146/50 words 49s read
    My puppeteer scripts now use deno.

    Nothing to disclose.

    No more need for npm in my personal stack! The native browser’s path comes from which.

    javascript
    import puppeteer from "https://deno.land/x/puppeteer@16.2.0/mod.ts";
    
    const chrome = "chromium";  // Browser Chrome: "firefox" | "chromium" | "google-chrome" | ...
    const product = "chrome";   // Product Base:   "firefox" | "chrome"
    
    const command = new Deno.Command("which", { args: [chrome] });
    const { status, stdout, stderr } = command.outputSync();
    const executablePath = new TextDecoder().decode(stdout).trim();
    
    const browser = await puppeteer.launch({
      headless: false,
      executablePath: executablePath,
      product: product,
    });
    
    const site = "example.com";
    const page = await browser.newPage();
    
    await page.setViewport({ width: 1024, height: 768 });
    await page.goto("https://" + site);
    await page.screenshot({ path: site + ".png" });
    
    await page.waitForSelector('a');
    
    const url = await page.evaluate(() => {
      return document.querySelector('a').href;
    });
    
    console.log(url);
    
    await browser.close();
    Basic Boilerplate: Captures a picture of example.com (main.ts)
    shell
    deno run --allow-all main.ts
    Deno Version: 1.45.5
    #gists #webdev
    Grumpy Website

    Grumpy Website

    via @tdro Grumpy Website grumpy.website view
  • Markdown Plaintext Embed Permalink
  • 9/50 words 3s read

    nikitonsky: Don’t use different font size for no reason

    #feeds
    Bing Images

    Bing Images

    via @default Bing Images bing.com view
  • Markdown Plaintext Embed Permalink
  • 24/50 words 8s read

    Kiteboarders and windsurfers off the Pelješac Peninsula, Croatia (© helivideo/Getty Images)

    Kiteboarders and windsurfers off the Pelješac Peninsula, Croatia (©
    Kiteboarders and windsurfers off the Pelješac Peninsula, Croatia (©
    Index: Cache · Source
    #feeds

    Authors