Skip to content

Instantly share code, notes, and snippets.

View mukolweke's full-sized avatar
🎯
Its about learning and sharing

Michael O. Mukolwe mukolweke

🎯
Its about learning and sharing
View GitHub Profile
@mukolweke
mukolweke / .vimrc
Created July 16, 2024 10:07 — forked from Bahad001/.vimrc
My Configuration (Thanks to Jeffrey Way - Laracasts)
set nocompatible
source ~/.vim/plugins.vim
syntax enable
set number
set expandtab
set tabstop=2
set shiftwidth=2
set softtabstop=2
set backspace=indent,eol,start
@mukolweke
mukolweke / how-to-setup-verified-commits.md
Created August 21, 2022 11:57 — forked from Beneboe/how-to-setup-verified-commits.md
How to Setup Verified Commits on Github
# ---------------START ALIASES----------------------------------------
# Configs
alias zshc="vim ~/.zshrc"
alias wip="git add . && git commit -m 'wip'"
# Common shell functions
alias less='less -r'
alias tf='tail -f'
alias l='less'
@mukolweke
mukolweke / docker-help.md
Created May 27, 2022 12:47 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@mukolweke
mukolweke / gist:af725145defe6b86f036d6f067b444b7
Created November 30, 2018 05:37 — forked from JeffreyWay/gist:1525217
Instant Server for Current Directory
alias server='open http://localhost:8000 && python -m SimpleHTTPServer'
@mukolweke
mukolweke / login.rb
Created October 17, 2015 09:46
Ruby Login with TK
require 'tk'
class LogIn
def initialize
ph ={'padx'=>50,'pady'=>30}
p=proc{hello}
@text =TkVariable.new
root=TkRoot.new{title "Hello, Name"}
top=TkFrame.new(root)
@mukolweke
mukolweke / mike.rb
Last active October 17, 2015 09:44
Ruby
answer = "kuku"
tries = 0
while tries <3
print("What's my nickname? ")
response=gets
response=response.chomp
tries += 1
if response == "kuku"
puts "That's right!!!"
exit