graham1

joined 1 year ago
[–] graham1@gekinzuku.com 1 points 1 year ago

It's true lol. I had to install Docker for teaching on my old drive and that instantly maxed out my root partition even when I kept deleting intermediate builds and unused data. Now I have this fun paranoia for all apps :)

[–] graham1@gekinzuku.com 13 points 1 year ago (4 children)

just fyi I moved Discord, GIMP, Obsidian, and OBS over to flatpak and my root partition jumped from 19GB to 23GB. I'm kinda sad about it tbh

[–] graham1@gekinzuku.com 1 points 1 year ago (1 children)

I was there on TeamSpeak over a decade ago. It was good for its time

[–] graham1@gekinzuku.com 4 points 1 year ago

It looks like you're right. Uninstalling the deb and then installing the flatpak consumed an additional 2GB on my root, but I have a handful of other electron-based apps that are mildly obnoxious snaps, and migrating them might help amortize that cost

[–] graham1@gekinzuku.com 3 points 1 year ago

Oh that's great! I'll switch to the flatpak tonight then

[–] graham1@gekinzuku.com 4 points 1 year ago (4 children)

I haven't tried flatpacks yet. How do they compare to, say, snaps in terms of storage/redundancy?

 

Can't I go one week without having to uninstall and reinstall the damn deb file?

 

A neat short explanation related to building spheres with cubes, like in Minecraft

Piped links:
https://piped.kavin.rocks/watch?v=A2IAyXc0LuE https://piped.video/watch?v=A2IAyXc0LuE

[–] graham1@gekinzuku.com 6 points 1 year ago

username checks out

[–] graham1@gekinzuku.com 8 points 1 year ago

taco bell had me covered even when I had nothing

[–] graham1@gekinzuku.com 30 points 1 year ago (1 children)

It's a way to force an 18 year old into a life of indentured servitude under the guise of "financial assistance" by simply clicking accept on a couple online forms, only for 40% of them to end up working jobs that don't require a college degree in the first place.

[–] graham1@gekinzuku.com 1 points 1 year ago (1 children)

Thanks for the suggestion! I use emacs, although only from the terminal via emacs-nox or emacs-snapshot-nox packages. I haven't used orgmode other than some testing related to other comments, but it's not exactly what I'm looking for. My main criterion is I want everything right in front of me when I open the terminal and start working, not in a separate program or interface.

[–] graham1@gekinzuku.com 5 points 1 year ago

Definitely RE for me. I couldn't sleep after the first time I saw a crimson head. The sharks were terrifying too

[–] graham1@gekinzuku.com 36 points 1 year ago (3 children)

10 minutes? bro I've sat unattended in the room 40 minutes before

 

Hi all, I'm working on setting my terminal to display different tasks and information when I login. I have problems with attention and I frequently forget to do important things, so I really need to do this to help myself. I'm aware some of this will cause my terminal to be more slow when I first login. That's fine even if it takes an additional second to login. I have a rough mockup attached in the picture. The mockup uses the pr -Tm command to display my calendar side-by-side with my schedule and todo list, but here's where I'm at:

  1. Calendar is automated by ncal -C
  2. Weather is automated using curl wttr.in/New%20York?0
  3. Schedule is just a text file at the moment
  4. Todo is just a text file at the moment

I'm looking to also automate my schedule and todo from the command line, but I don't want to use Google-based tools or tools that connect to an external server in general. I'm looking for terminal-based tools where I can add events to my schedule with descriptions, times, and dates (support for recurring events is a bonus, but maybe not required), and then fetch my daily schedule and print it. Does anybody know a good way to handle this part? I could setup a simple database to store and interact with my schedule, but I feel like there has to already be a good tool like that available. However, my searches keeps pulling up things that aren't quite what I want...

Thanks for reading this! I appreciate any advice you have for the Linux side of things.

 

cross-posted from: https://gekinzuku.com/post/394282

Lately I've been obsessed with moving everything that people typically use as widgets into my bashrc. Today I discovered wttr.in, which is an open source project on Github at https://github.com/chubin/wttr.in

Usage is almost trivial. To get weather in your terminal, simply curl the URL with your city after the forward slash. If you live in New York City, use
curl 'https://wttr.in/New%20York'

Now, if that's too much bloat to have covering your precious terminal real estate, instead use
curl 'https://wttr.in/New%20York'?0?A?u which will truncate the curl to only today's weather.

 

cross-posted from: https://gekinzuku.com/post/188827

INTERCAL is an esoteric programming language which was purposely designed to be confusing and not visually aesthetic. It has two maintained implementations in C-INTERCAL and CLC-INTERCAL. C-INTERCAL's compiler is invoked by the ick command, and CLC-INTERCAL's compiler is invoked by the sick command.

Some highlights of INTERCAL include

  • Programmers must use PLEASE before statements to avoid compile errors due to being insufficiently polite, but not too many PLEASE statements or the compiler will report errors due to being overly polite.
  • Every call to a random number generator will introduce a random chance of the code failing to compile and report E774 RANDOM COMPILER BUG, and this chance to fail increases with the number of random number generator calls.
  • If compiling in INTERCAL-72 mode, the compiler will report E111 COMMUNIST PLOT DETECTED if the programmer uses features that are newer than INTERCAL-72.

The full list of compiler errors and warnings for C-INTERCAL, as well as related documentation, can be found in the intercal/doc/ick.txi file under the "Errors and Warnings" chapter. If you want to quickly scroll through them, each of the entries are preceded by an @ieanchor tag.

 
 

cross-posted from: https://gekinzuku.com/post/98403

While it's easy to get an IP address from popular websites such as whatismyip.com, it's not often friendly to a context where you might need to get your IP address for command line tools.

In order to grab your IP address via the command line, there's a page on a site called ipinfo.io/ip which only contains body content corresponding to your IP address. The easiest way to fetch that data is with the curl command (should be available on both Windows and Linux).

curl ipinfo.io/ip

It may also be beneficial to add this to your .bashrc or .aliasrc on Linux systems with something like

alias myip="curl ipinfo.io/ip"

Now you have an easy way to grab your IP address from the command line!

 

Here's the command if you want to run it too. You need the imagemagick package

convert http://i.kym-cdn.com/photos/images/newsfeed/002/285/551/bc0.jpg -size 250x -pointsize 30 caption:'use a traditional image editor.' -geometry +50+470 -composite -size 280x -pointsize 14 caption:"$BASH_COMMAND" -geometry +360+530 -composite meme.jpg

view more: next ›