Skip to content

Instantly share code, notes, and snippets.

Avatar
✌️
livin' the dream...

Rahul Bajaj rabajaj0509

✌️
livin' the dream...
View GitHub Profile
View aliases good to have
# User specific aliases and functions
alias start="bundle exec foreman s"
alias railsc="bundle exec rails c"
alias migrate="bundle exec rake db:migrate"
alias seed="bundle exec rake db:seed"
alias rubocop="bundle exec rake foreman_rh_cloud:rubocop"
alias 3808="fuser -k 3808/tcp"
alias 3000="fuser -k 3000/tcp"
alias restart="sudo foreman-maintain service restart"
alias rhpr='function _rhpr(){ cd foreman_rh_cloud; hub pr checkout "$@"; };_rhpr'
View bin_i3-lock-screen.sh
#!/usr/bin/env sh
i3lock -i ~/.config/i3/lock_screen.png
View gist:8dad04c22fd93eacbf44baea950996ad
rm -rfv /etc/foreman-proxy/*ssl*
rm -rfv /etc/foreman/old-certs
rm -rfv /etc/foreman/*.pem
rm -rfv /var/lib/puppet/ssl
rm -rfv /root/ssl-build
foreman-installer -v --certs-regenerate-ca=true --certs-regenerate=true \
--foreman-foreman-url "https://bread.usersys.redhat.com" \
--foreman-servername sat6.example.com \
--certs-ca-common-name sat6.example.com \
@TSiege
TSiege / The Technical Interview Cheat Sheet.md
Last active Nov 27, 2021
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.
View The Technical Interview Cheat Sheet.md

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\