Skip to content

Instantly share code, notes, and snippets.

sudo rm -rf /usr/bin/slack
sudo rm -rf /usr/lib/slack
sudo rm -rf /usr/share/applications/slack.desktop
sudo rm -rf /usr/share/pixmaps/slack.png
yay -Syu slack-desktop
@yogidevbear
yogidevbear / emacs-keybinding-cheatsheet.md
Last active November 14, 2023 15:35
Emacs keybinding cheatsheet
Keys Description
C Ctrl
M Alt
Helper functions:
C-h k key-binding Describe the function bound to the key binding. To get this to work, you actually perform the key sequence after typing C-h k.
C-h f Describe function.
Cider/REPL bindings:
M-x cider-jack-in Jack into the REPL
Window key bindings:

Keybase proof

I hereby claim:

  • I am yogidevbear on github.
  • I am yogidevbear (https://keybase.io/yogidevbear) on keybase.
  • I have a public key ASCYYEwvanGrQplCQcYjrXT5MR-v6kerUg0W-VtqQmtt6wo

To claim this, I am signing this object:

@yogidevbear
yogidevbear / clojure_structure.txt
Last active March 9, 2017 15:32
What is the best way to return a formatted data structure (like option_1.txt or option_2.txt) from the initial flat data structure (initial_flat_structure.txt) using Clojure?
(def initial_data [
{ :entry "E1", :judge "J1", :comment "E1J1C1" },
{ :entry "E1", :judge "J2", :comment "E1J2C1" },
{ :entry "E1", :judge "J1", :comment "E1J1C2" },
{ :entry "E2", :judge "J1", :comment "" },
{ :entry "E2", :judge "J2", :comment "" },
{ :entry "E3", :judge "J1", :comment "E3J1C1" },
{ :entry "E3", :judge "J1", :comment "E3J1C2" },
{ :entry "E3", :judge "J2", :comment "" }
])
@yogidevbear
yogidevbear / 0_reuse_code.js
Created October 1, 2015 09:04
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console