[-] [email protected] 11 points 3 weeks ago* (last edited 3 weeks ago)

Tbh these scripts are for my personal use, written in the way that makes sense for me. I only open sourced it as a joke an as an example of how reinventing your own wheel is not that hard sometimes, and comes with the benefit of doing just what you need it to do.

Actually I was thinking of adding a sysget fallback, as I might need to do some debian/fedora hacking soon.

33
submitted 3 weeks ago by [email protected] to c/[email protected]
26
submitted 3 months ago by [email protected] to c/[email protected]
[-] [email protected] 5 points 4 months ago

Will do, bossman

[-] [email protected] 7 points 4 months ago* (last edited 4 months ago)

It should be pretty soon. I've got it working already, but I need to test it more and figure out how Firefox profiles work with Playwright.

If you want you can just clone it and replace "chromium" with "firefox". It should just work, and it shouldn't take too long to figure out the rest.

67
submitted 4 months ago by [email protected] to c/[email protected]
11
submitted 5 months ago by [email protected] to c/[email protected]
15
Microsoft builds a Death Ray. (sebastiancarlos.com)
submitted 5 months ago by [email protected] to c/[email protected]
23
submitted 5 months ago by [email protected] to c/[email protected]
21
submitted 5 months ago by [email protected] to c/[email protected]
9
GPL cheat sheet (lemmy.sdf.org)
submitted 5 months ago by [email protected] to c/[email protected]
261
submitted 6 months ago by [email protected] to c/[email protected]
[-] [email protected] 12 points 6 months ago

Just curious, what would be a correct translation?

[-] [email protected] 64 points 6 months ago

The joke is that it's hard to tell if this is a joke because the lines between good intentions, corporate jargon, and feasibility have been blurred beyond recognition both here and in the real world.

It's also funny that after all these years, i18n is still a mess. Moreover, even if translations are standard in GUIs and documentation, for some reason, everyone is okay with defaulting to English for the oldest form of computer interaction.

Also, the joke is whatever you want it to be. Follow your dreams.

438
The future is now (lemmy.sdf.org)
submitted 6 months ago by [email protected] to c/[email protected]
39
submitted 6 months ago by [email protected] to c/[email protected]

Source code:

#!/usr/bin/env bash

# runasm - Assemble, link, and run multiple assembly files, then delete them.
if [[ $# -eq 0 ]]; then
    echo "Usage: runasm  [ ...]"
    echo "  - Assemble, link, and run multiple assembly files, then delete them."
    echo "  - Name of executable is the name of the first file without extension."
    exit 1
fi

object_files=()
executable_file=${1%.*}

for assembly_file in "$@"; do
    # Avengers, assemble!
    object_file="${assembly_file%.*}.o"
    as "${assembly_file}" -o "${object_file}"
    if [[ $? -ne 0 ]]; then
        exit 1
    fi
    object_files+=("${object_file}")
done

# Link
ld "${object_files[@]}" -o "${executable_file}"
if [[ $? -ne 0 ]]; then
    exit 1
fi

# Run, remove created files, and return exit code
./"${executable_file}"
exit_code=$?
rm "${object_files[@]}" "${executable_file}" > /dev/null 2>&1
exit "${exit_code}"
344
submitted 6 months ago by [email protected] to c/[email protected]
[-] [email protected] 8 points 7 months ago
[-] [email protected] 25 points 8 months ago

It's also traditional to eat raw meat, but we discovered fire at some point.

[-] [email protected] 30 points 8 months ago* (last edited 8 months ago)

You also don’t need the dash for the short options.

True, but I refuse to entertain such a non-standard option format. It's already enough to tolerate find's.

[-] [email protected] 14 points 8 months ago
[-] [email protected] 15 points 8 months ago

it's surely one of the CSS lines of all time

[-] [email protected] 37 points 8 months ago
[-] [email protected] 6 points 8 months ago

When you say immutable what do you mean? Surely dotfiles are meant to change over time? Where would you like to edit them?

view more: next ›

sebastiancarlos

joined 11 months ago