Skip to content

Instantly share code, notes, and snippets.

View kayslay's full-sized avatar
🎯
Focusing

Badewa Kayode kayslay

🎯
Focusing
View GitHub Profile
@kayslay
kayslay / Xvfb-restart-script.sh
Created March 13, 2018 04:45 — forked from Nimrod007/Xvfb-restart-script.sh
Xvfb restart script
echo "restart Xvfb"
kill -9 `ps aux | grep Xvfb | grep -v grep | awk '{print $2}'`
sleep 3
nohup Xvfb :10 -ac > /tmp/Xvfb.log 2>&1 &
echo "Xvfb started"
exit
@kayslay
kayslay / MergeSort.go
Created September 29, 2017 16:19
merge sort using Golang
package main
import (
"fmt"
)
var (
list []int = []int{838, 23, 83, 64, 83, 23, 63, 90, 50, 20, 20, 4, 30, 5, 2, 50, 190, 19, 3, 70, 21, 3, 20, 28, 93, 39, 838, 23, 83, 64, 83, 23, 63, 90, 50, 20}
)
@suyash
suyash / README.md
Last active June 10, 2024 17:31
mmap examples

identical mmap programs in C and go