Oh for fuck's sake
Can't I go one week without having to uninstall and reinstall the damn deb file?
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
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:
ncal -Ccurl wttr.in/New%20York?0I'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?uwhich will truncate the curl to only today's weather.
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
ickcommand, and CLC-INTERCAL's compiler is invoked by thesickcommand.Some highlights of INTERCAL include
- Programmers must use
PLEASEbefore statements to avoid compile errors due to being insufficiently polite, but not too manyPLEASEstatements 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 DETECTEDif 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
@ieanchortag.
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
PLEASE before statements to avoid compile errors due to insufficiently polite, but not too many PLEASE statements or the compiler will report errors due to being overly polite.E774 RANDOM COMPILER BUG, and this chance to fail increases with the number of random number generator calls.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
curlcommand (should be available on both Windows and Linux).curl ipinfo.io/ipIt may also be beneficial to add this to your
.bashrcor.aliasrcon Linux systems with something likealias myip="curl ipinfo.io/ip"Now you have an easy way to grab your IP address from the command line!
(attached image: our "About Us" page from the website in 2010 explaining the origin of the name, written by Kori I believe)
Kori, our resident weeb at the time, was always sending random stuff in Japanese in chat despite none of us understanding anything she was saying. When it finally came time and we wanted to come up with a name for the growing group and site, I said "let's do that Japanese word for 'games' that Kori keeps posting... Gekinzuku!"
Everybody thought that was a cool enough word/reason, so that's how the name was born. It's nothing close to ゲームス, but it somehow has a relatively one-to-one translation to the Japanese alphabet, ゲキンズークー. The use of ー characters is to bring the right spoken emphasis across to Japanese for "zu" and "ku", but disclaimer I'm still not a Japanese expert ;)
The group isn't nearly as big as it was in during the 2008-2011 timeframe, but we still have 5-10 active members that we stay in touch with, all united under our common misunderstanding of words posted in a language we didn't even speak.
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
Here's how to download and install a Linux terminal via the Termux app on your phone.
Why should you install a Linux terminal on your phone? It allows you to easily ssh, code, and even host webapps from the palm of your hand. Those are my own use examples, but the possibilities are limitless.
Note: The Termux app on the Google play store is out of date and doesn't have the correct permissions to work properly.
pkg upgrade in the terminal to update all the packages. Termux uses the pkg package manager, which wraps apt, to avoid doing dangerous things.termux-setup-storage (see the wiki).I LOVE /dev/loop I LOVE /dev/loop I LOVE /dev/loop I LOVE /dev/loop I LOVE /dev/loop I LOVE /dev/loop I LOVE /dev/loop I LOVE /dev/loop