Skip to content

Instantly share code, notes, and snippets.

View morgoth's full-sized avatar

Wojciech Wnętrzak morgoth

View GitHub Profile
@jclusso
jclusso / update_campfire_github_action.yml
Last active July 25, 2024 15:14
Update Campfire with a GitHub Action that creates a PR.
name: Update Campfire Source
on:
schedule:
- cron: "0 4 * * *"
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
@dhh
dhh / linux-setup.sh
Last active July 5, 2025 08:52
linux-setup.sh
# THIS LINUX SETUP SCRIPT HAS MORPHED INTO A WHOLE PROJECT: HTTPS://OMAKUB.ORG
# PLEASE CHECKOUT THAT PROJECT INSTEAD OF THIS OUTDATED SETUP SCRIPT.
#
#
# Libraries and infrastructure
sudo apt update -y
sudo apt install -y \
docker.io docker-buildx \
build-essential pkg-config autoconf bison rustc cargo clang \

Ruby: The future of frozen string literals

What is a literal?

In programming languages, literals are textual representations of values in the source code. This is a syntactical concept.

Some examples:

7 # integer literal