Index ¦ Archives

C

C language is a general-purpose, imperative computer programming language, supporting structured programming, lexical variable scope and recursion, while a static type system prevents many unintended operations. By design, C provides constructs that map efficiently to typical machine instructions, and therefore it has found lasting use in applications that had formerly …


JSON

In computing, JSON (JavaScript Object Notation) is an open-standard format that uses human-readable text to transmit data objects consisting of attribute–value pairs. It is the most common data format used for asynchronous browser/server communication, largely replacing XML which is used by Ajax.

nvim example.json

{
  "firstName": "Daniel",
  "lastName …

XML

In computing, Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable.

vim example.xml

<note>
    <to>RMS</to>
    <from>D4n1</from>
    <heading>Reminder</heading>
    <body>Happy Hacking!</body>
</note>

XML


CSS

Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language. Although most often used to set the visual style of web pages and user interfaces written in HTML and XHTML, the language can be applied to any XML …


HTML

HyperText Markup Language (HTML) is the standard markup language for creating web pages and web applications. With Cascading Style Sheets (CSS), and JavaScript, it forms a triad of cornerstone technologies for the World Wide Web. Web browsers receive HTML documents from a webserver or from local storage and render them …


Parted

GNU Parted manipulates partition tables. This is useful for creating space for new operating systems, reorganizing disk usage, copying data on hard disks and disk imaging. The package contains a library, libparted, as well as well as a command-line frontend, parted, which can also be used in scripts.

Run

parted …

Fdisk

GNU Fdisk is used for creating, deleting, resizing, moving, checking, and copying disk partitions and their file systems.

Install

sudo apt install fdisk

Run

fdisk /dev/sda

Gnu Fdisk


Luks

The Linux Unified Key Setup (LUKS) is a disk encryption specification created by Clemens Fruhwirth in 2004 and was originally intended for Linux.

Install

sudo apt install cryptsetup

Encrypt

sudo cryptsetup luksFormat /dev/sdb1
sudo cryptsetup open /dev/sdb1 disk
sudo mkfs.ext4 /dev/mapper/disk

(Un)Mount

sudo cryptsetup …

© 2000-2022 by Daniel Pimentel (d4n1). Under MIT.