[โ€“] 2 points 7 months ago

Heres my ~/.bin directory:

https://github.com/promitheas17j/dotfiles/tree/main/dot_bin

Hopefully thats what youre asking for.

My favourite ones are:

  • bspwm-minimise.sh and bspwm-restore.sh which allow me to have window minimisation functionality in bspwm, which to my knowledge doesn't exist natively
  • check_last_update.sh which I have in my .zshrc and gives me a count of packages available to update with some basic colouring, as well as if I have a kernel mismatch and need to restart

One that Im still working on but will for sure be my favourite once its done is parse_keybinds.sh and keybind_cheatsheet.sh, which go through some of the software I have and parse their config files to extract all the keybinds into a file with a specific format. The latter script then launches a rofi menu where I can fuzzy search keybinds based on software name and what I want to do but cant remember the binding for. So far Ive got sxhkd and lf, but I consider it a work in progress because I want to also parse neovim bindings, but sxhkd and lf are single file configs while neovim has bindings in multiple files spread across multiple subdirectories in its config directory.

  • source
  • [โ€“] 5 points 7 months ago* (1 child)

    Ill counter that by saying that because you started with something more low level, the other stuff was easy (my belief).

    Also, depending on what the students are actually studying, I think you need to give an introduction to low level stuff because while some will want to do web dev for example, others might want to do low level stuff. Obviously if its a web dev course you dont want to do that, but if its something like CompSci or Software Engineering then i think having a grasp of the fundamentals of low level stuff is necessary.

    Lastly, if its a general introduction to programming course I think C has advantages over other languages since almost everything is done by you, instead of the compiler (for example iterating over an array - C: you need to do the for loop to manually handle the data depending on whatever type is stored in the array - Python: for x in y is sufficient). Im tutoring my little sister in programming because they have it in school, and they use python. Sure its easier to get things done, but its harder to learn/teach general programming with python in my opinion. C would have been my choice, especially since at that level its not like you need to teach/learn memory management, or complex data structures. Its the same concepts as with python (input, output, variables, conditionals, loops, functions) but the syntax just doesnt hide too much from you, unlike python, making it easier to understand whats actually going on

  • source
  • parent
  • context
  • [โ€“] 15 points 8 months ago

    Yes. I avoid the big brands, and try to research as much as possible. For clothes in particular i dont go clothes shopping often, but for groceries, I use the NoThanks app to see if the product is owbed by a company contributing to world suffering. If its a obe time purchase of somethibg like a mouse/keyboard or other such item where you biy it once but its meant to last, I do my best to avoid the same things, but if there is no choice I have to go with the less ethical version sadly.

  • source
  • [โ€“] 2 points 8 months ago

    Haven't celebrated a birthday since I was 5, I hate it.

    I think on my 18th I just got up and went to school like normal. Didn't tell anyone it was my birthday, so everyone acted like regular, then I went home and probably did what I did every evening back then, which is either youtube, games, or coding (one of those, i dont remember which specifically).

  • source
  • view more: โ€น prev next โ€บ