Poems similar to: merge

The 64 poems closest in meaning to this word, arranged to spread the colours (progress bar shows chronological position)

Menu │ Chronological


 -> file: fediverse/1867
═══════════════════════════════════════════════─────────────────────────────────────
  I like writing updaters!!

  #!/bin/bash
  set -euo pipefail

  #FIXME
  GAME_DIR="/home/ritz/games/mtg-forge"
  FILES_DIR="${GAME_DIR}/files"
  RES_DIR="${GAME_DIR}/resources"

  mkdir -p "${FILES_DIR}"
  rm -dr "${FILES_DIR}"
  mkdir "${FILES_DIR}"

  mkdir -p "${RES_DIR}"
  mkdir -p "${RES_DIR}/cache"
  mkdir -p "${RES_DIR}/userdir"

  wget -r -l1 --no-parent -P "${FILES_DIR}" -A 'forge-gui-desktop*.tar.bz2'
  "https://downloads.cardforge.org/dailysnapshots/"

  mv
  ${FILES_DIR}/downloads.cardforge.org/dailysnapshots/forge-gui-desktop*.tar.bz2
  "${FILES_DIR}"
  rm -d "${FILES_DIR}/downloads.cardforge.org/dailysnapshots/"
  rm -d "${FILES_DIR}/downloads.cardforge.org/"

  cd "${FILES_DIR}"
  tar xvjf ${FILES_DIR}/forge-gui-desktop*.tar.bz2
  cd -

  cp "${FILES_DIR}/forge.profile.properties.example"
  "${FILES_DIR}/forge.profile.properties"
  sed -i "/[#]/ s/(userDir=).*/\1${RES_DIR//\//\/}\/userdir\//"
  "${FILES_DIR}/forge.profile.properties"
  sed -i "/[#]/ s/(cacheDir=).*/\1${RES_DIR//\//\/}\/cache\//"
  "${FILES_DIR}/forge.profile.properties"

  echo "download complete"
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════────────────────────────┴───────────┘
 -> file: fediverse/4801
═════════════════════════════════════════════════════════───────────────────────────
  if you're got a large directory full of text files that you want to combine
  into one single .txt or .pdf, let me know, I can hook you up with a mega file
  so it's easier to search through or manage when archiving data or whatever the
  heck else you wanna do with it
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════════════──────────────┴───────────┘
 -> file: fediverse/3139
═════════════════════════════════════════════════───────────────────────────────────
  "reply while text is entered in the text field" should open a new tab instead
  of overwriting.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════──────────────────────┴───────────┘
 -> file: fediverse/1740
═══════════════════════════════════════════════─────────────────────────────────────
  @user-217

  fusion
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════────────────────────────┴───────────┘
 -> file: fediverse/1762
═══════════════════════════════════════════════─────────────────────────────────────
  This was the first bash script I ever wrote.

  It's been updated a little, it was a bash alias first, but this is what it
  looks like now.

  Kinda shows what kinds of problems I needed to solve most.
A bash script that plays a random episode of Adventure Time from a terminal.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════────────────────────────┴───────────┘
 -> file: messages/965
═════════════════════════════════════════════════════════════════───────────────────
  paste the error into the text file to better diagnose. Don't put it in a
  comment. It will remind you to clear the bug before compiling.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════════════════════──────┴───────────┘
 -> file: fediverse/582
═════════════════════════════════════════───────────────────────────────────────────
  @user-431

  I made an alias that overwrites cd so I don't have to do this. The important
  line is line 27, you could probably accomplish something similar like this:

  alias cd="cd ${1} && ls -v --color=auto"

  I also set it up so I can change more than one directory up using ... or ....
  or .....

  also I have a few shortcut scripts, cdir and qcd. cdir creates a quick way to
  drop a bookmark wherever I'd like, while qcd can make permanent bookmarks. Also
  qcd makes it so whenever I open a new terminal it opens to the last directory I
  was in, which is nice if you need a new terminal to do something in the current
  folder and you don't want to have to walk alllllllll the way back.
A BASH script that overwrites the built in "change directory" command to auto magically list the contents of the directory you've moved into after moving.  here's the content of the script:  #!/bin/bash  alias cd="cd-improved"  function cd-improved(){      if [ "${1}" = "..." ] ; then         builtin cd .. && builtin cd ..     elif [ "${1}" = "...." ] ; then         builtin cd .. && builtin cd .. && builtin cd ..     elif [ "${1}" = "....." ] ; then         builtin cd .. && builtin cd .. && builtin cd .. && builtin cd ..          elif [ -d "./${1}" ] ; then         local target_dir="./${1}"      elif [ "${1}" = "cdir" ] ; then         local target_dir="$(tail -n 1 '/home/ritz/scripts/.cdir-target')"         echo ${target_dir}       else         local target_dir="${1}"     fi      if [ ! "${2}" = '--no-ls' ] ; then         builtin cd "${target_dir}" && ls -v --color=auto     else         builtin cd "${target_dir}"     fi          # if the qcd function is defined     if declare qcd > /dev/null; then         quick_cd -d DEFAULT         quick_cd -a DEFAULT     fi }
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════──────────────────────────────┴───────────┘
 -> file: fediverse/3901
════════════════════════════════════════════════════────────────────────────────────
  @user-1550 `mkdir ~/icons
  mv ./*.png ~/icons
  `

  maybe?
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════───────────────────┴───────────┘
 -> file: fediverse/848
══════════════════════════════════════════──────────────────────────────────────────
  ┌──────────────────────┐
  │ CW: gentoo           │
  └──────────────────────┘


  wrote this in an hour, used a local LLM to generate the regexes.

  haven't tested it yet because I'm not on gentoo rn, so don't run it. which is
  why I shared the code as an image.

  if you really want the text of it then check out the visual description of the
  image.
#A script written in bash. It is used to update the Gentoo type system to the most recently written functionality. Should not be used more than once a day, and the program written here must be specifically configured to act against that functionality. However, should the user persist in their attempts to break that rule, they simply have to flip a particular switch.  #!/bin/bash  function gentoo-update(){    RED='\033[0;31m'    NOC='\033[0m'     if [ "$#" -eq 0]; then       date | cat >> ~/scripts/.gentoo-update-target           LAST_UPDATE_DATE="$(tail -n 1 '~/scripts/.gentoo-update-target' \       && echo "${LAST_UPDATE_DATE}"                                      \        | sed -r 's/\b(\d{4}-\d{2}-\d{2})\b/\1/g'                                   THIS_UPDATE_DATE="$(date)"                                      \       && echo "${THIS_UPDATE_DATE}"                                      \        | sed -r 's/\b(\d{4}-\d{2}-\d{2})\b/\1/g'        if [ ${LAST_UPDATE_DATE} = ${THIS_UPDATE_DATE} ]; then          printf "don't sync more than once a day! ${RED}  a witch will curse you >: (${NOC}\n"       else          echo "syncing..."          echo "${LAST_UPDATE_DATE}"             | cat            >> ~/scripts/.gentoo-update-target          emerge --sync       fi     elif [ "${1}" == "-l" ]; then       cat ~/scripts/.gentoo-update-target     elif [ "${1}" == "-f" ]; then       echo "okay but it's your funeral buddy. or worse."       energe --sync     fi  }
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════════─────────────────────────────┴───────────┘
 -> file: fediverse_boost/65
◀═╦════════════════[BOOST]═════════════════──────────────────────────────────────┐
  ║ ┌──────────────────────────────────────────────────────────────────────────┐ │
  ║ │ bash-errors                                                              │ │
  ║ │                                                                          │ │
  ║ │ Permalink: https://wizardzines.com/comics/bash-errors/                   │ │
  ║ └──────────────────────────────────────────────────────────────────────────┘ │
  ╠─────────┐                                                        ┌───────────┤
  ║ similar │                     chronological                      │ different │
  ╚═════════╧══════════════════════════════──────────────────────────┴───────────┴─▶
 -> file: fediverse/1773
═══════════════════════════════════════════════─────────────────────────────────────
  ┌─────────────────────────┐
  │ CW: programming-is-easy │
  └─────────────────────────┘


  Need to install a program from Github? Follow these simple steps:

  step 1: make an empty text file

  step 2: put this at the top: #!/bin/bash

  step 3: put this on the next line: set -euo pipefail

  step 4: mkdir -p the directory you want to install it to

  step 5: rm -dr the directory you want to install it to

  step 6: mkdir -p the directory you want to install it to

  step 7: git clone the project

  step 8: this is the hard part - go through each of the steps listed in the
  readme and configure the installation to the needs of your system. Put them in
  the bash script one-by-one.

  step 9: save the file, it doesn't need an extension like .txt or .sh,
  extensions are for windows noobs

  step 10: chmod +x the file and then ./the file!

  step 11: fix it when they change their installation instructions...

  Need a run script? Easy! Write it as a function below your update script, then
  echo the bottom half of the update script into a file named "run" that's placed
  in the project directory.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════────────────────────────┴───────────┘
 -> file: fediverse/6137
════════════════════════════════════════════════════════════════════────────────────
  sometimes, comments need to go on the left side of text. Like for parts of the
  script which should be user-editable, the fields should all be right-aligned to
  the farthest required bit of text. Instead of [picture A] it should be [picture
  B]
an example script written in the bash computer language that has all the variables hidden behind comments on the left. makes it very hard to try new variables. the same picture, but the variables are moved to the right.  now it's easier for the user to update them since they don't have to use their mouse.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════════════════════───┴───────────┘
 -> file: fediverse/6348
═════════════════════════════════════════════════════════════════════───────────────
  here's a neat function
computer code
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════════════════════════──┴───────────┘
 -> file: fediverse/5168
════════════════════════════════════════════════════════════────────────────────────
  this is one of the first scripts I wrote

  I can't believe I put the --no-ls AFTER the argument, ha, what a noob.

  ah well if it works it works and I can't refactor now because I built it into
  random scripts and I'd be fixing errors all the time.
script 1:  #!/bin/bash  # sort by filetype would be nice  alias cd="cd-improved"  function cd-improved(){      if [ "${1}" = "..." ] ; then         builtin cd .. && builtin cd ..     elif [ "${1}" = "...." ] ; then         builtin cd .. && builtin cd .. && builtin cd ..     elif [ "${1}" = "....." ] ; then         builtin cd .. && builtin cd .. && builtin cd .. && builtin cd ..          elif [ -d "./${1}" ] ; then         local target_dir="./${1}"      elif [ "${1}" = "cdir" ] ; then         local target_dir="$(tail -n 1 '/home/ritz/scripts/.cdir-target')"         echo ${target_dir}       else         local target_dir="${1}"     fi      if [ ! "${2}" = '--no-ls' ] ; then         builtin cd "${target_dir}" && ls -v --color=auto     else         builtin cd "${target_dir}"     fi          # if the qcd function is defined     if declare qcd > /dev/null; then         quick_cd -d DEFAULT         quick_cd -a DEFAULT     fi }    script 2:  #!/bin/bash  function cdir(){        if [ "$#" -eq 0 ]; then       pwd | cat >> ~/scripts/.cdir-target    elif [ "${1}" == "-l" ]; then       cat ~/scripts/.cdir-target    fi      }
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════════════───────────┴───────────┘
 -> file: fediverse/1686
═══════════════════════════════════════════════─────────────────────────────────────
  @user-1049

  doesn't work on Firefox T.T
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════────────────────────────┴───────────┘
 -> file: fediverse/1224
═══════════════════════════════════════════─────────────────────────────────────────
  @user-883

  sure that would help! I've used it to convert video files to a smaller size for
  uploading to websites, but that's about it
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════────────────────────────────┴───────────┘
 -> file: notes/20260913-212428.txt
══════════════════════════════════════════════════════════════════════════════════──
  My similar-different has had a bug in the computer code that makes it all
  shuffled. And it shows the same ~1000 poems over and over. I should fix it.
  I'll fix it tomorrow. Sorry. I've known that its been messed up for like, a
  month, but I didn't fix it because I was shy.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════════╧══════════─┘
 -> file: fediverse/1735
═══════════════════════════════════════════════─────────────────────────────────────
  a video that's a gif and an audio file played at the same time using && in bash
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════────────────────────────┴───────────┘
 -> file: fediverse/5199
════════════════════════════════════════════════════════════────────────────────────
  updated my compiled.txt words, if you're interested

  https://ritz-menardi.neocities.org/words/compiled.txt
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════════════───────────┴───────────┘
 -> file: fediverse/1570
════════════════════════════════════════════────────────────────────────────────────
  @user-883

  oh! that looks interesting. I just did it with a auto-sourced shell script that
  overrides CD =P
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════───────────────────────────┴───────────┘
 -> file: fediverse/3804
╔══════════════════════════════════════════════════────────────────────────────────┐
║ @user-570                                                                        │
║                                                                                  │
║ well, the idea is that they would handle all the tech debt and merge requests    │
║ and bugfixes and such - the kind of things that aren't very interesting to work  │
║ on. That way, the people who are most dedicated and passionate for the project   │
║ have a way to clear out their backlog and start as if from scratch.              │
║                                                                                  │
║ Plus, if they later don't understand how or why something was implemented, they  │
║ could always message the person who implemented it and say "hey why did you do   │
║ it this way I had it this other way before" and then they could reply and say    │
║ "oh yeah because of this-and-this system we implemented for these-or-that        │
║ caching reasons related to integer flow through the syncretic binary op-code     │
║ delimiter" and then actually wait no maybe you're right, I see what you mean     │
║                                                                                  │
║ well... they don't have to merge everything if they don't want to. They could    │
║ just... ignore the parts that people worked on that they don't want to include   │
║ in the project. I'm thinking it'd be an opt-in thing too, so someone could       │
║ request it!                                                                      │
╠═════════╗                                                            ┌───────────┤
║ similar ║                       chronological                        │ different │
╚═════════╩═══════════════════════════════════════─────────────────────┴───────────┘
 -> file: fediverse/1567
════════════════════════════════════════════────────────────────────────────────────
  I helped make a script that saves the last directory you CD'd to in every shell
  / terminal. It helps because when I open a new terminal I'm already where I was
  working last, which means I'm less likely to forget what I was doing.

  However, it does make my home directory a bit more messy, as I no longer open
  my computer to that place.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════───────────────────────────┴───────────┘
 -> file: fediverse/3504
══════════════════════════════════════════════════──────────────────────────────────
  I have too many packages.
the output of neofetch for Ritz Menardi's computer.  OS: Void Linux x86_64 Host: X299 AORUS Gaming 3 Kernel: 6.6.46_1 Uptime: 1 hour, 32 mins Packages: 1757 (xbps-query), 30 (flatpak) Shell: bash 5.2.21 Resolution: 2560x1440 WM: dwm Theme: gnome [GTK2], Adwaita [GTK3] Icons: Adwaita [GTK2/3] Terminal: st Terminal Font: Hack Nerd Font Mono CPU: Intel i7-7820X (16) @ 4.300GHz GPU: NVIDIA GeForce GTX 1080 Ti Memory: 4268MiB / 31794MiB
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════════════════─────────────────────┴───────────┘
 -> file: fediverse/849
╔═════════════════════════════════════════─────────────────────────────────────────┐
║ wish there were ascii characters that took up more than one line of code         │
║ vertically.                                                                      │
║                                                                                  │
║ wonder if we could use a sorting algorithm, or markup language, or something     │
║ like that to organize less structured data along user-customizable rules. Like,  │
║ a code editor that worked with your ideas, rather than the strict expression of  │
║ your text. You could pretty much write in any language, even pseudocode, and     │
║ the LLM behind the scenes would translate whatever you wrote into whatever       │
║ result you needed. Writing Rust, but need to fit in with C code? No worries      │
║ it'll translate for you. As long as the end result is functionally the same,     │
║ which could be verified by running two separate VMs that ran interpreters every  │
║ time you saved. And as long as their translation layers matched completely,      │
║ then odds are they're the same. And if not, well, the programmer can always      │
║ debug it. It's not like this would be running on something that needed to        │
║ perform in the moment? Like, improv instead of tragedies, or battles instead of  │
║ strategies                                                                       │
Image attachment
╠═════════╗                                                            ┌───────────┤
║ similar ║                       chronological                        │ different │
╚═════════╩══════════════════════════════──────────────────────────────┴───────────┘
 -> file: fediverse/312
═══════════════════════════════════════─────────────────────────────────────────────
  normalize playing one game while listening to the soundtrack of another
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════────────────────────────────────┴───────────┘
 -> file: fediverse/1934
════════════════════════════════════════════════────────────────────────────────────
  @user-1109

  do it in a random color each time! Here's my implementation for viewing txt
  files colorfully:
some bash computer code which first picks a random color, and if the color is a bad combination (like, black front and black back, meaning you can't see the lines of the letters) then it redoes it and tries to pick a better one randomly. It'll keep trying until it gets a correct combination but honestly there's only like one or two bad ones that don't look so great
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘
 -> file: bluesky/12
══════════════════════════════════════════════════════════──────────────────────────
  alas, if only the command for deleting the contents of a directory and the
  command to delete THE ENTIRE COMPUTER FROM EXISTENCE are off by a single .
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════════════════════════─────────────┴───────────┘
 -> file: fediverse/6065
═══════════════════════════════════════════════════════════════════─────────────────
  ┌─────────────────────────────────────────────┐
  │ CW: something-to-do-if-you're-feeling-bored │
  └─────────────────────────────────────────────┘


  get 10 people on a team and have each listen to 1/10th of the fediverse feed
  while working on other projects
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════────┴───────────┘
 -> file: notes/environment-variables
══════──────────────────────────────────────────────────────────────────────────────
  To edit environment variables:

  ~/.bashrc is for variables only accessible by the user.

  /etc/profile is for variables accessible by all users.

  /etc/environment is for variables accessible by anyone.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════────┴────────────────────────────────────────────────────────────┴───────────┘
 -> file: fediverse/2295
════════════════════════════════════════════════────────────────────────────────────
  ┌───────────────────────────────────┐
  │ CW: re: your favorite text editor │
  └───────────────────────────────────┘


  @user-1218

  can echo into a file if nothing else, though that's quite a big hassle =P
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘
 -> file: fediverse/3423
══════════════════════════════════════════════════──────────────────────────────────
  every time I search the internet for a solution to a linux problem I have to do
  add -ubuntu to the end of the search query
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════════════════─────────────────────┴───────────┘
 -> file: messages/1311
═════════════════════════════════════════════════════════════════════════───────────
  did you know they could re-arrange the order of my similar-different pages and
  the audience wouldn't be able to tell

  html is just text

  your browser can display whatever it wants.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════════╧═──────────┘
 -> file: fediverse/1966
════════════════════════════════════════════════────────────────────────────────────
  The design is simple: Have an array of function pointers that need to be
  assigned to a thread. Then, have a manager thread read through that array, and
  for every non-zero value put it into a thread-specific array. Those threads
  will read through their personal  array and execute whichever function is
  pointed to by the function pointer placed in their todo-list by the manager
  function.

  ... I'm too stupid to make it happen though. Writing code is hard.
A screenshot of some C code.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘
 -> file: fediverse/4512
══════════════════════════════════════════════════════──────────────────────────────
  @user-1687

  I use dmenu, so I'm thinking I'll write a script and call it using dmenu. The
  script will start by using flameshot to grab the snipped part of the screen
  into the clipboard, and then I need to find an OCR engine (thanks for the
  google-able term btw!) which can take clipboard contents as input, and output
  text to the clipboard.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════════════════════─────────────────┴───────────┘
 -> file: fediverse/292
═══════════════════════════════════════─────────────────────────────────────────────
  normalize majestic tapestries under thicc planes of glass instead of carpet
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════────────────────────────────────┴───────────┘
 -> file: fediverse/3599
══════════════════════════════════════════════════──────────────────────────────────
  ┌─────────────────────────────┐
  │ CW: re: computers-mentioned │
  └─────────────────────────────┘


  @user-1573 `
  " Select the font for the hardcopy
  set printfont=Courier:h8
  :let &printheader = " "
  command! -range=% HardcopyPdf , hardcopy > %.ps | !ps2pdf %.ps && rm %.ps &&
  echo 'Created: %.pdf'

  " vimfolds - use marker as fold method
  set foldmethod=marker
  set foldtext=MyFoldText()

  " Functions
  function! MyFoldText()
      let line = getline(v:foldstart)
      let folded_line_num = v:foldend - v:foldstart
      let line_text = substitute(line, '^"{\+', '', 'g')
      let fillcharcount = &textwidth - len(line_text) - len(folded_line_num)
      return '+'. repeat('-', 4) . line_text . repeat('.', fillcharcount) . ' ('
      . folded_line_num . ' L)'
  endfunction

  let g:rainbow_active = 1
  `

  Here's the bottom part of the config - I ran out of characters and couldn't
  post the whole thing.

  If you don't know what vimfolds are here's a good guide:

  https://www.vimfromscratch.com/articles/vim-folding

  also:

  https://vim.fandom.com/wiki/Folding
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════════════════─────────────────────┴───────────┘
 -> file: fediverse/3877
════════════════════════════════════════════════════────────────────────────────────
  @user-570

  I do`alias ls='ls -v --color=auto'
  `

  and that seems to cover most things. Then in my cd alias I do`alias cd='cd ${@}
  && ls -la'
  `

  so I don't have to type ls everytime I cd ^_^
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════───────────────────┴───────────┘
 -> file: fediverse/3124
═════════════════════════════════════════════════───────────────────────────────────
  I should not have to follow 16 steps that I don't understand just because you
  decided my system wasn't good enough for me.
a long list of steps in order to update a gentoo system to a new version (not even the newest version, I might add)
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════──────────────────────┴───────────┘
 -> file: fediverse/3878
════════════════════════════════════════════════════────────────────────────────────
  @user-570

  that's not actually my script, here's the real one:`#!/bin/bash

  alias cd="cd-improved"

  function cd-improved(){

      if [ "${1}" = "..." ] ; then
          builtin cd .. && builtin cd ..
      elif [ "${1}" = "...." ] ; then
          builtin cd .. && builtin cd .. && builtin cd ..
      elif [ "${1}" = "....." ] ; then
          builtin cd .. && builtin cd .. && builtin cd .. && builtin cd ..

      elif [ -d "./${1}" ] ; then
          local target_dir="./${1}"

      elif [ "${1}" = "cdir" ] ; then
          local target_dir="$(tail -n 1 '/home/ritz/scripts/.cdir-target')"
          echo ${target_dir}


      else
          local target_dir="${1}"
      fi

      if [ ! "${2}" = '--no-ls' ] ; then
          builtin cd "${target_dir}" && ls -v --color=auto
      else
          builtin cd "${target_dir}"
      fi
  }
  `
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════───────────────────┴───────────┘
 -> file: fediverse/4430
═════════════════════════════════════════════════════───────────────────────────────
  @user-1674 @user-1675

  do both

  screenshots can't be deleted
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════════──────────────────┴───────────┘
 -> file: fediverse_boost/126
◀═╦═══════════════════[BOOST]════════════════════────────────────────────────────┐
  ║ ┌──────────────────────────────────────────────────────────────────────────┐ │
  ║ │ man page sections                                                        │ │
  ║ │                                                                          │ │
  ║ │ Permalink: https://wizardzines.com/comics/man-pages/                     │ │
  ║ └──────────────────────────────────────────────────────────────────────────┘ │
  ╠─────────┐                                                        ┌───────────┤
  ║ similar │                     chronological                      │ different │
  ╚═════════╧════════════════════════════════════────────────────────┴───────────┴─▶
 -> file: fediverse/5139
╔═══════════════════════════════════════════════════════════───────────────────────┐
║ when your contracting company sends your resume to an employer, send your own    │
║ copy as well. They can choose to deal with your union representative or          │
║ directly with you, which will take up time during each of your day. however      │
║ unions are more easily dealt with because the issues they deal with are the      │
║ ones that impact most of their workplace. it's up to the scale of the company    │
║ and project so it's really on a case-by-case.                                    │
║                                                                                  │
║ I think it'd be cool if someone made some kind of "desktop widget" or "terminal  │
║ UI interface that can be in one corner of the screen like asciiquarium or        │
║ whatever" of my mastodon text-entry field. Could also take input from other      │
║ sources too, like nvim or text-entry-field.                                      │
║                                                                                  │
║ you could follow along as I write                                                │
║                                                                                  │
║ like... letter by letter as it updates automatically. PUSH/PULL requests for     │
║ all the GETTING of POSTITS and whatnot.                                          │
║                                                                                  │
║ [organizing tip: post-its can be passed along]                                   │
║                                                                                  │
║ [so don't put anything permanent on them]                                        │
║                                                                                  │
║ [but all papers must go back where they belong]                                  │
║                                                                                  │
║ [to ensure work is organized]                                                    │
╠═════════╗                                                            ┌───────────┤
║ similar ║                       chronological                        │ different │
╚═════════╩════════════════════════════════════════════════────────────┴───────────┘
 -> file: fediverse/4124
═════════════════════════════════════════════════════───────────────────────────────
  @user-883

  well, depending on what you're trying to accomplish, maybe processing 1/16th of
  the audio file on 16 different threads would be faster. I guess it depends on
  if you need context from earlier in the processing stage - if you do, then
  you'd probably want to do 1/16th of the processing on each thread instead.

  ... hmmmm that doesn't look right, how about this:`[changes all the magic
  number 16s to num_threads]
  `
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════════──────────────────┴───────────┘
 -> file: messages/258
═══════════════════════════════════════════─────────────────────────────────────────
  Give different regions different starting cosmetics @legiontd
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════────────────────────────────┴───────────┘
 -> file: fediverse/307
═══════════════════════════════════════─────────────────────────────────────────────
  normalize building a library that's just a wrapper around solutions you've made
  to common problems from the past that can be imported into every project you
  work on
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════────────────────────────────────┴───────────┘
 -> file: fediverse/2865
═════════════════════════════════════════════════───────────────────────────────────
  omgggggg just let me play the game, package manager T.T
a bunch of terminal output text for building kernel modules quite redundantly
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════──────────────────────┴───────────┘
 -> file: fediverse/2084
════════════════════════════════════════════════────────────────────────────────────
  I love it when words align like this
picture of some source code which is aligned in an aesthetically pleasing way, like when every fork in the drawer is nestled together or a pile of folded clothes are placed on-top of one another rather than being a jumbled mess
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘
 -> file: fediverse/4206
═════════════════════════════════════════════════════───────────────────────────────
  oops, the file wasn't working before.
  here's the updated link:

  https://youtu.be/qeNhQQXvpxQ
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════════──────────────────┴───────────┘
 -> file: fediverse/6167
════════════════════════════════════════════════════════════════════────────────────
  ┌──────────────────────┐
  │ CW: AI-mentioned     │
  └──────────────────────┘


  I can certainly see a future where programmers choose a level of abstraction
  they are comfortable with, same as today, but fill in the gaps, the lower
  parts, the parts they will not spend time, energy, and mental space
  understanding, with AI.

  I think that the role of the various people on a software team will begin to
  merge. Product designers, managers, front-end versus back-end, these feel like
  distinctions that will begin to fade from relevance. I think that's okay. I
  think it will make us feel more powerful, will elevate workers to a higher tier
  of organizational operation, and will increase the flexibility of computation.

  Why program your own software when you could use someone else's? This is the
  way of the past.

  Why use someone else's software when you could design your own? This is the way
  of the future.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════════════════════───┴───────────┘
 -> file: fediverse/2171
════════════════════════════════════════════════────────────────────────────────────
  ┌──────────────────────┐
  │ CW: re: caps         │
  └──────────────────────┘


  @user-1195

  get_new_unused_UUID(){ if random_num() == is in lists.UUIDs then return
  get_new_unused_UUID(); }
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘
 -> file: fediverse/1034
══════════════════════════════════════════──────────────────────────────────────────
  @user-192

  be careful, recursion can cause stack overflows.

  better to run function pointers from a loop. That way you can operate as long
  as necessary. Just make sure you don't get in an infinite loop...
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════════─────────────────────────────┴───────────┘
 -> file: fediverse/6024
═══════════════════════════════════════════════════════════════════─────────────────
  vimfolds are the best part of vim
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════────┴───────────┘
 -> file: fediverse/1869
═══════════════════════════════════════════════─────────────────────────────────────
  oh dear, Mastodon formatting makes that script look weird. Here's the script in
  picture form so you can reference and fix it:

  I would edit the original post with backslashes and such but I'm exactly out of
  characters teehee
a screenshot of some BASH code
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════────────────────────────┴───────────┘
 -> file: notes/screen-record
══════════════════════════════════════════════════════──────────────────────────────
  screen record should just... copy from the associated music file instead of
  like... imperfectly storing the visual contents??

  better compression... 'sall I'm sayin'
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════════════════════─────────────────┴───────────┘
 -> file: fediverse/4829
═════════════════════════════════════════════════════════───────────────────────────
  check out my shuffle-all-music script
a picture of a bash script which shuffles all the music files in my music directory and also displays the title in a different color for each song, which is sorta like slightly changing the flavor of the song without changing the sound  oh it also saves the names into a list of "recently played" songs and every time you run the script it deletes the list. so it only like, saves the last time you ran the script.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════════════──────────────┴───────────┘
 -> file: fediverse/5944
═══════════════════════════════════════════════════════════════════─────────────────
  I swear, Lua has the worst manual out there.

  I was looking for a definition of this function called io.flush(). Here's what
  I found: [picture 1]:`**io.flush ()**

  Equivalent to io.output():flush().
  `

  okay, so what's io.output():flush()? [one result found] and it's the thing I
  just found. great.

  okay, so how about io.output()? [third picture]:`**io.output ([file])**

  Similar to io.input, but operates over the default output file.
  `

  and`**io.write (···)**

  Equivalent to io.output():write(···).
  `

  I know the text is blue, but it's not clickable. It's just text, not a
  hyperlink to more comprehensive documentation.

  There's also file:flush(), but that doesn't seem relevant to what I'm looking
  for, because I'm working with lines and not files:`**file:flush ()**

  Saves any written data to file.
  `

  there are no more references to flushing, nor outputting of input nor output.
  this manual sucks.

  ah, well, back to vibe coding I go.

  EDIT: at least it's all on one page.
picture of one section of the lua manual documentation.  io.flush ()  Equivalent to io.output():flush(). picture of a ctrl+f search on a web page. It's searching for io.output:flush() and there's 1 result found, which is the exact same place I found the first picture. two results:  io.output ([file])  Similar to io.input, but operates over the default output file.   and...  io.write (···)  Equivalent to io.output():write(···).
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════────┴───────────┘
 -> file: messages/412
═══════════════════════════════════════════════─────────────────────────────────────
  Coding superpower:

  Start thread
  While(true):
  Run();

  Then, whenever you want it to run something else, change the function pointer
  that run() uses to call a function

  At the end of the run() function, set the function pointer in the while loop to
  the next one. That way you don't stack overflow from the recursion.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════────────────────────────┴───────────┘
 -> file: fediverse/404
════════════════════════════════════════────────────────────────────────────────────
  a preprocessor directive that tells the compiler to ignore all warnings on the
  next line
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════───────────────────────────────┴───────────┘
 -> file: fediverse/3822
═══════════════════════════════════════════════════─────────────────────────────────
  @user-1582

  I think that's what happened, in addition to... whatever this input/output
  error is. No clue what to do about that. Maybe my SD card is dying, I've
  flashed over it like, 10 times now haha 😅
ls: command not found  /bin/ls -bash: /bin/ls: Input/Output error
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════────────────────────┴───────────┘
 -> file: fediverse/5877
═══════════════════════════════════════════════════════════════════─────────────────
  I wish I could click on ls output to cd up or down
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════────┴───────────┘
 -> file: fediverse/1696
═══════════════════════════════════════════════─────────────────────────────────────
  smartphone_max_battery_life = int_to_percent(100 - update_count);
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════────────────────────────┴───────────┘
 -> file: fediverse/3162
═════════════════════════════════════════════════───────────────────────────────────
  I wrote a script which scrapes every issue of Nintendo Power from a neat and
  cool archive.

  please don't use it all at once`#!/bin/bash

  set -euo pipefail

  sleep_duration=5
  DIR="/home/ritz/documents/nintendo-power"
  touch "${DIR}/download-bookmark"
  bookmark=$(cat ${DIR}/download-bookmark)

  for i in $(seq ${bookmark} 285);
  do
     echo "sleeping before downloading number ${i}"
     sleep ${sleep_duration}

     formatted_number=$(printf "%03d" ${i})
     wget "https://myrient.erista.me/files/Miscellaneous/Nintendo Power Issues
     1-285/Nintendo Power Issue ${formatted_number}.cbr"
     rm           ${DIR}/download-bookmark
     touch        ${DIR}/download-bookmark
     echo ${i} >> ${DIR}/download-bookmark
  done
  `
A short 20 line script which downloads every issue of Nintendo Power.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════──────────────────────┴───────────┘
 -> file: fediverse/4728
════════════════════════════════════════════════════════────────────────────────────
  every time a software project changes it's installation method I have to update
  my install and update scripts which I wrote explicitly so I don't have to go to
  their website and tell the world that I'm thinking about using this particular
  piece of software
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════════───────────────┴───────────┘
 -> file: fediverse/2584
════════════════════════════════════════════════────────────────────────────────────
  fedi bot that adds "in minecraft" to the end of each of my toots from the past
  two weeks
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘