Skip to content

Instantly share code, notes, and snippets.

View deeseert's full-sized avatar
🎯
Always coding

Gio deeseert

🎯
Always coding
View GitHub Profile

Automate GitHub Release

This script automates the publishing of a new release on GitHub and runs npm deploy whenever the version number in package.json is changed.

It requires two secret tokens in the repo settings:

  1. GH_TOKEN - a fine-grained token with read/write permissions for content and pull releases.
  2. NPM_TOKEN - a CI token from your NPM account.

Learn more about how it works here.

@bradtraversy
bradtraversy / docker-help.md
Last active November 23, 2025 10:14
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@jfarmer
jfarmer / 01-truthy-and-falsey-ruby.md
Last active March 5, 2025 10:26
True and False vs. "Truthy" and "Falsey" (or "Falsy") in Ruby, Python, and JavaScript

true and false vs. "truthy" and "falsey" (or "falsy") in Ruby, Python, and JavaScript

Many programming languages, including Ruby, have native boolean (true and false) data types. In Ruby they're called true and false. In Python, for example, they're written as True and False. But oftentimes we want to use a non-boolean value (integers, strings, arrays, etc.) in a boolean context (if statement, &&, ||, etc.).

This outlines how this works in Ruby, with some basic examples from Python and JavaScript, too. The idea is much more general than any of these specific languages, though. It's really a question of how the people designing a programming language wants booleans and conditionals to work.

If you want to use or share this material, please see the license file, below.

Update

@jaseemabid
jaseemabid / git tutorials.md
Last active May 9, 2025 01:01 — forked from netroy/git tutorials.md
Awesome git tutorials I am finding here and there
@netroy
netroy / git tutorials.md
Created October 27, 2011 10:09
Awesome git tutorials I am finding here and there