Skip to content

Instantly share code, notes, and snippets.

View miknonny's full-sized avatar

Michael Mbah miknonny

View GitHub Profile
@miknonny
miknonny / gist:5575994
Created May 14, 2013 13:48
Learning git
have been learning to use git for a while... I discovered that the more i read about git the less i knew about it.
I haev to practice to really know how to work with it.
progit-en a good book...and a must read. Do not use online tutorial. you can refer to them for something...but you
must read this book.
git config --global merge.tool p4merge
git config --global mergetool.p4merge.cmd 'p4merge.exe \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"'
git config --global diff.tool p4merge
git config --global difftool.p4merge.cmd 'p4merge.exe \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"'
@miknonny
miknonny / gist:eb841907f8c91a625388
Created March 12, 2016 21:25
Using the Raspberry Pi Camera Board on Arch Linux ARM
Add /opt/vc/bin to your $PATH:
# To add /opt/vc/bin temporarily to your $PATH:
PATH=$PATH:/opt/vc/bin
and set up your /boot/config.txt to contain the following:
gpu_mem=128
start_file=start_x.elf
fixup_file=fixup_x.dat
@miknonny
miknonny / gist:3e44cf64bffcd140d373
Created March 21, 2016 15:47
Balsamiq Mockups 2.2.22 for mac key
Name : Sam
Serial : eJzzzU/OLi0odswsqglOzK0xsjQzNzI2NjA1q3GuMQQAnJAJjw==
@miknonny
miknonny / introrx.md
Created April 16, 2019 05:36 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@miknonny
miknonny / Activate Office 2019 for macOS VoL.md
Created May 31, 2021 02:05 — forked from zthxxx/Activate Office 2019 for macOS VoL.md
crack activate office on mac with license file

Activate MS Office 2019/2016 for macOS - Microsoft_Office_2019_VL_Serializer

Office 2019 above

2019-06-03

Note that Office2019 DO NOT support activate via simple copy/paste plist license file which is the simplest way to activate Office 2016. Fortunately, you can also use the VL Serializer tool, just install Office 2019 and Serializer, then run Serializer to activate.

Ref

@miknonny
miknonny / sender.go
Created December 3, 2022 23:03 — forked from douglasmakey/sender.go
Golang - send an email with attachments.
package main
import (
"bytes"
"encoding/base64"
"fmt"
"io/ioutil"
"mime/multipart"
"net/smtp"
"os"
@miknonny
miknonny / main.go
Created July 26, 2023 16:02
read fixed byte size from http connection
package main
import (
"flag"
"fmt"
"log"
"net/http"
"os"
)
package chat
import (
"bytes"
"fmt"
"log"
"os"
"os/signal"
"syscall"
"time"