Skip to content

Instantly share code, notes, and snippets.

View amukiza's full-sized avatar

Mukiza Andrew amukiza

View GitHub Profile
@amukiza
amukiza / git-auto-sign-commits.sh
Created May 11, 2020 02:57 — forked from mort3za/git-auto-sign-commits.sh
Auto sign your git commits
# Generate a new pgp key: (better to use gpg2 instead of gpg in all below commands)
gpg --gen-key
# maybe you need some random work in your OS to generate a key. so run this command: `find ./* /home/username -type d | xargs grep some_random_string > /dev/null`
# check current keys:
gpg --list-secret-keys --keyid-format LONG
# See your gpg public key:
gpg --armor --export YOUR_KEY_ID
# YOUR_KEY_ID is the hash in front of `sec` in previous command. (for example sec 4096R/234FAA343232333 => key id is: 234FAA343232333)

Keybase proof

I hereby claim:

  • I am amukiza on github.
  • I am andrewmukiza (https://keybase.io/andrewmukiza) on keybase.
  • I have a public key ASACFlHa29Lsl-KdcB7sPBJ7nybTZWt4wLc5ybcGJsyQzQo

To claim this, I am signing this object:

@amukiza
amukiza / Emacs_starter.pl
Created February 21, 2016 12:17 — forked from railwaycat/Emacs_starter.pl
Start Emacs.app from CLI
#!/usr/bin/perl
# Emacs starter for Emacs mac port
# Thanks to Aquamacs Project and David Reitter
my $args = "";
my $tmpfiles = "";
for my $f (@ARGV) {
=begin
In our first session we said that a variable acts as a named storage location. Or its a name refers to some value
in your program.
An example would be:
=end
age = 20
=begin