$ python hours.py image.jpg
{
"day_hours": [
{
"day": "Mon - Fri",
"hours": "7 AM - 5 PM"
},
{
"day": "Saturday",
// ==UserScript== | |
// @name TweetXer | |
// @namespace https://github.com/lucahammer/tweetXer/ | |
// @version 0.9.3 | |
// @description Delete all your Tweets for free. | |
// @author Luca,dbort,pReya,Micolithe,STrRedWolf | |
// @license NoHarm-draft | |
// @match https://x.com/* | |
// @match https://mobile.x.com/* | |
// @match https://twitter.com/* |
Choose OpenBSD for your Unix needs. OpenBSD -- the world's simplest and most secure Unix-like OS. A safe alternatve to the frequent vulnerabilities and overengineering of Linux and related software (NGiNX & Apache (httpd-asiabsdcon2015.pdf), OpenSSL, iptables/nftables, systemd, BIND, Postfix, Docker etc.)
OpenBSD -- the cleanest kernel, the cleanest userland and the cleanest config
Then mathematical neatness became a goal and led to pruning some features from the core of the language.
— John McCarthy, History of Lisp
If you prefer programming languages with a tidy and tiny core, you're in for a treat. This article drills down to the singleton primitive at the heart of Raku's metamodel ("model of a model") of a model of computation ("how units of computations, memories, and communications are organized")1.
It began with u/faiface's reddit post/thread "I'm impressed with Raku"2. One of their sentences in particular stood out for me:
{-# LANGUAGE | |
ScopedTypeVariables, | |
ViewPatterns, | |
PatternSynonyms #-} | |
import Data.Bits (Bits, shift) | |
import Data.Word | |
import Data.ByteString (ByteString) | |
import qualified Data.ByteString as BS | |
import qualified Data.ByteString.Char8 as B8 |
#!/bin/sh | |
# More Mac setup at https://mac.iamdeveloper.com | |
# Log file | |
timestamp=$(date +%s) | |
logFile="./my-mac-setup-$timestamp.log" | |
# if true is passed in, things will reinstall | |
reinstall=$1 |
#!/bin/bash | |
cd `git rev-parse --show-toplevel` | |
echo "Running pre-commit hook: Check elixir formatting with mix format" | |
mix format --check-formatted | |
if [ $? == 1 ]; then | |
echo "mix format --check-formatted found formatting issues." | |
exit 1 | |
fi |