Skip to content

Instantly share code, notes, and snippets.

ls - The most frequently used command in Linux to list directories
pwd - Print working directory command in Linux
cd - Linux command to navigate through directories
mkdir - Command used to create directories in Linux
mv - Move or rename files in Linux
cp - Similar usage as mv but for copying files in Linux
rm - Delete files or directories
touch - Create blank/empty files
ln - Create symbolic links (shortcuts) to other files
cat - Display file contents on the terminal
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created April 22, 2025 18:01
Rimworld output log published using HugsLib
Log uploaded on Wednesday, April 23, 2025, 2:01:11 AM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
BetterLoading(me.samboycoding.betterloading.dev)[mv:3.5.0.0]: BetterLoading(2.3.0), Tomlet(3.1.3)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Vanilla Backgrounds Expanded(vanillaexpanded.backgrounds): VBE(1.0.0)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies)
@Jorge-Lopes
Jorge-Lopes / Dockerfile
Created April 22, 2025 18:00
Scripts and configuration files required for Agoric Osmosis multi chain environment
ARG BASE_IMAGE="osmolabs/osmosis"
ARG VERSION="25.0.1-alpine"
FROM ${BASE_IMAGE}:${VERSION} AS source
FROM alpine:3.20
LABEL org.opencontainers.image.source="https://github.com/hyperweb-io/starship"
COPY --from=source /bin /usr/bin
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created April 22, 2025 18:00
Rimworld output log published using HugsLib
Log uploaded on Tuesday, April 22, 2025, 8:00:19 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Core(Ludeon.RimWorld): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Multiplayer(rwmt.Multiplayer): 0MultiplayerAPI(av:0.5.0,fv:0.5.0), 0PrepatcherAPI(1.2.0), LiteNetLib(1.0.0), MultiplayerLoader(1.0.0), RestSharp(av:106.12.0,fv:106.12.0), System.IO.Compression(av:4.1.2,fv:4.6.24705.1), Multiplayer(0.10.5 [no FileVersionInfo]), MultiplayerCommon(1.0.0 [no FileVersionInfo])
Farmable Neutroamine(kongkim.FarmableNeutroamine): (no assemblies)
Map Preview(m00nl1ght.MapPreview): LunarLoader(1.1.9), LunarFramework(1.1.9), MapPreview(1.12.17), MapPreviewMod(1.12.17)
Multiplayer Compatibility(rwmt.MultiplayerCompatibility): Multiplayer_Compat(1.1.0), Multiplayer_Compat_Referenced(0.0.0 [no FileVersionInfo])
HugsLib(UnlimitedHugs.HugsLib)[ov:11.0.5]: 0Harmony(av:2.3.3,fv:1.2.0.1), HugsLib(av:1.0.0,fv:11.0.5)
@igords-goncalves
igords-goncalves / postgres-cheatsheet.md
Created April 22, 2025 18:00 — forked from Kartones/postgres-cheatsheet.md
PostgreSQL command line cheatsheet

PSQL

Magic words:

psql -U postgres

Some interesting flags (to see all, use -h or --help depending on your psql version):

  • -E: will describe the underlaying queries of the \ commands (cool for learning!)
  • -l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)
@kayleemchugh
kayleemchugh / values.yaml
Created April 22, 2025 17:59
Example of how to set up labels and annotations in your values.yaml
mlflow:
# -- Labels to add to the mlflow deployment
labels: {}
# -- Annotations to add to the mlflow deployment
annotations: {}
# -- Number of mlflow server replicas to deploy
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created April 22, 2025 17:59
qalculate v5.5.2 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-3271648369-1090961594-3340217685-1000</user>
<keys>
<key installerType="Msi" displayName="Qalculate!" displayVersion="5.5.2">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26C24B28-56F3-4E50-9C18-BA240D4F6A8C}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{26C24B28-56F3-4E50-9C18-BA240D4F6A8C}]]></UninstallString>
@andrew-malokhatko
andrew-malokhatko / Main.kt
Created April 22, 2025 17:57
Additional test task for the “Effective file transfer between machines for remote development” project
import kotlin.math.ceil
import java.io.IOException
import java.nio.file.*
import java.nio.file.attribute.*
import kotlin.system.exitProcess
fun main(vararg args: String) {
val dir = try {
Path.of(args[0])
} catch (_: Exception) {