Skip to content

Instantly share code, notes, and snippets.

View kramfs's full-sized avatar

Rudel Saldivar kramfs

View GitHub Profile
cat << EOF >> brightup.sh
#!/bin/sh
# Created on $(date)
EOF
~~~~~~~~~
# START #
~~~~~~~~~
# Install LUCI
@kramfs
kramfs / macos_image_resize_cli_sips
Created December 17, 2021 05:31
Resize image aspect ratio in MacOS CLI using sips
# This will resize the image to 514x400 pixels. Height: 514 (pixel) x Width: 400 (pixel).
# This is good for forms that require certain image aspect ratio i.e. passport, license, etc
# NOTE: Make a copy of the original image as a backup just in case.
sips --resampleHeightWidth 514 400 Passport_Photo_copy.jpg
@kramfs
kramfs / .vimrc
Last active April 8, 2024 12:10
base vimrc config
" Use double-quotes for comments
" Enable syntax highlighting
syntax on
" Uncomment below to enable line numbers
"set number
" Install vim-plug if not found
if empty(glob('~/.vim/autoload/plug.vim'))

Keybase proof

I hereby claim:

  • I am kramfs on github.
  • I am kramfs (https://keybase.io/kramfs) on keybase.
  • I have a public key whose fingerprint is 36E6 F7B4 E315 0B0E 9134 9320 F52E F350 DCA7 E5D6

To claim this, I am signing this object: