Skip to content
cafebedouin.org

cafebedouin.org

The archive is the argument.

  • writing
    • pillow book
    • book reviews
    • github
    • comments
    • essays
    • poetry
    • stories
  • reading
    • key books
    • articles
    • blog post
    • books
    • poetry
    • quotes
  • media
    • art
    • books
      • goodreads
    • comics
    • film
      • letterboxd
    • games
    • images
    • interviews
    • music
    • podcasts
    • software
    • videos
  • life
    • open questions
    • lessons
    • educational
    • tools
    • recipes
    • bookmarks
    • biography
  • cafebedouin
    • about
    • favorite posts
    • favorite things
    • github
    • goodreads
    • key books
    • letterboxd
    • portfolio
    • reddit
    • twitter
  • RSS

Category: software

You Don’t Need (To Complain About) Substack

March 24, 2021March 25, 2021 ~ cafebedouin

"Our timing was nearly perfect—a mere two weeks after we wrote our joint essay, Substack had a huge controversy, and is now facing a backlash. Writers are thinking of jumping ship and looking for ideas for what to do next. I’ve been doing this without a net for a while, and I have a few … Continue reading You Don’t Need (To Complain About) Substack

bash: Number of Days Between Today and Some Future Date

March 23, 2021March 21, 2021 ~ cafebedouin

#!/bin/bash printf -v date '%(%Y-%m-%d)T\n' -1 echo $(( ($(date -d $1 +%s) - $(date -d $date +%s)) / 86400 )) days Above is a bash script to output the number of days between today and some future date. Copy it into a file, e.g., diffdate.sh, into a directory, e.g., ~/bin/scripts. Then, enter the directory you … Continue reading bash: Number of Days Between Today and Some Future Date

Posts navigation

Older posts
Newer posts

Search

On Method

Declared where seats decide.
Deterministic where facts decide.
Explicit about which is which.

Where to Start

Favorite Posts
On The Examined Life
Deferential Realism
About

Top Posts & Pages

  • Dead End by Snail Mail
  • The Implied Machine Reader
  • bash: Getting a Cryptocurrency Price From Console Using Ergopad
  • Hearts of Glass v2
  • Janus 2:1 Spiral Density Wave, Saturn's B Ring

Archives

Enter your email address to follow this blog and receive notifications of new posts by email.

Translate

Site License

CC0 1.0 Universal
A WordPress.com Website.
cafebedouin.org
A WordPress.com Website.
  • Subscribe Subscribed
    • cafebedouin.org
    • Join 454 other subscribers
    • Already have a WordPress.com account? Log in now.
    • cafebedouin.org
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
Loading Comments...