You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
💭
🕶️
Jett Sjöberg
JettIsOnTheNet
💭
🕶️
CEO of HTMX | Dev: ❤️ OSS | AI/Machine Learning, Data Science, Neovim, Python, Lua, Swift, C, Go, ASM, Java, Ruby, JS/TypeScript, Haskell.
Quick Start Guide: Setting up ZFS on Ubuntu 18/20/22.04
Quick Start Guide: Setting up ZFS on Ubuntu 18/20/22.04
Setting up ZFS on Ubuntu can be a great way to improve the performance and reliability of your storage setup, and is extremely straight forward. Since ZFS is not enabled in the Ubuntu main archive after version 16.04 but as a separate package in the universe repository, you will need to be sure you have universe respository enabled.
Caution:
This HOWTO uses a whole physical disk.
Backup your data if you are re-using a drive. Any existing data will be lost.
A list of Style Guides for Swift Programming Language.
Swift is a reliable and efficient language that is well-suited for building apps on Apple platforms. Its focus on safety, simplicity, and integration with Apple frameworks make it a top choice for developers of all skill levels.
One major disadvantage of Swift however is that it does not have an in-depth Style Guide. The guide provided by Swift.org leaves a lot open to interpretation. This can lead to inconsistency in the way code is written which can become especially problematic in large projects with multiple contributors. The less time and effort you have to spend ensuring that the codebase is cohesive, the better.
An in-depth Style Guide helps establish a common language and set of best practices that everyone on the team can follow, making it easier to collaborate and maintain the code over time. If you are learning Swift, I suggest to follow a Style Guide while learning. It makes your code 10x better, from day 1 and yo
TypeScript is a statically-typed language developed by Microsoft. It compiles to plain JavaScript and supports all ECMAScript features. To get started with TypeScript, install it via npm:
Lua is a lightweight, efficient, and versatile scripting language known for its simplicity and extensibility. It was created by Roberto Ierusalimschy, Waldemar Celes, and Luiz Henrique de Figueiredo at the Pontifical Catholic University of Rio de Janeiro in Brazil in 1993. The name "Lua" translates to "moon" in Portuguese, reflecting the language's intention to be a small and beautiful extension to existing systems. Lua is often used as an embedded scripting language in various applications and has gained popularity in the game development industry for its ease of integration and speed. Its clean and intuitive syntax, along with a powerful set of features, makes Lua a preferred choice for developers seeking a fast and efficient language for their projects.
1. Comments
-- This is a single-line comment--[[ This is a multi-line comment
Conda is an open-source package management and environment management system that helps you install, manage, and organize packages and their dependencies. Conda allows you to create isolated environments for different projects, each with its own set of packages and dependencies, helping to avoid conflicts and ensure reproducibility.
Getting out of the way some quick nomenclature and differences.
Conda:
Conda is essentially the package manager. Your new best friend. It can be invoked by calling the command conda.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters