Skip to content

Instantly share code, notes, and snippets.

View rameezk's full-sized avatar
🤖
¯\_(ツ)_/¯

Rameez Khan rameezk

🤖
¯\_(ツ)_/¯
View GitHub Profile
kc get nodes -ojson | jq '.items[] | .status.nodeInfo.kubeletVersion'

Keybase proof

I hereby claim:

  • I am rameezk on github.
  • I am rameezkhan (https://keybase.io/rameezkhan) on keybase.
  • I have a public key ASDMDPsSFxcr7Rw12QxbZMkY_H-IwEUxL_wsv4fZh5eipQo

To claim this, I am signing this object:

@rameezk
rameezk / Fix-Massive-Cursor-in_i3wm.md
Last active June 14, 2024 08:08
Fixing massive cursor size in i3wm on HiDPI screens

Edit /etc/X11/Xresources/x11-common and add the following:

! Cursor
Xcursor.size: 24
Xcursor.theme: DMZ-White 

Then logout/restart

@rameezk
rameezk / install_matplotlib_python_3.9_macos.md
Last active October 14, 2020 13:14
Installing Matplotlib Using Python 3.9 on MacOS
  1. Install numpy (1.18.2)
pip install numpy==1.18.2
  1. Get build tools
xcode-select --install
@rameezk
rameezk / get_latest_python_deps_from_pipfile.clj
Created March 4, 2021 07:34
Get latest python deps from Pipfile
;;;; usage: cat Pipfile | bb -io get_latest_python_deps_from_pipfile.clj
;;;; prerequisites
;;;; - lastversion (pipx install lastversion)
;;;; - babashka (brew install borkdude/brew/babashka)
(ns script
(:require [clojure.java.io :as io]
[clojure.java.shell :refer [sh]]
[clojure.string :as str]))
@rameezk
rameezk / sync.sh
Created May 13, 2021 11:16
Sync remote library changes for Pycharm
#!/usr/bin/bash
dest_dir="dest_dir"
watch_dir="watch_dir"
function sync() {
rsync -arhv --exclude ".git/" --delete "$1/" "$dest_dir"
}
function get_relative_path() {