Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Sohaib Mohamed smalinux

🎯
Focusing
View GitHub Profile
View urls
https://www.youtube.com/watch?v=HnQBMwR-RuY | Google Summer of Code 2022 Contributor Summit - YouTube
https://www.youtube.com/watch?v=JfZvWrUXhWY | How I Consistently Study with a Full Time Job: My Scheduling Formula - YouTube
https://www.youtube.com/watch?v=wpwObdgemoE | Michael Stapelberg: Why I wrote my own rsync - YouTube
https://www.youtube.com/watch?v=OuvZfcpuc1A | Andrew Tate on Why You Should STOP Giving Girls Attention - YouTube
https://github.com/gcmt/taboo.vim | gcmt/taboo.vim: Few utilities for pretty tabs
https://www.google.com/search?q=vim+tabs+plugin&sxsrf=ALiCzsbiVG65xoaTxxCn2WkXCk5lAHeVmA%3A1654119974980&ei=Jt6XYpy0O4bglwS0rbzwDA&oq=vim+tabs+tricks&gs_lcp=Cgdnd3Mtd2l6EAMYADIHCAAQRxCwAzIHCAAQRxCwAzIHCAAQRxCwAzIHCAAQRxCwAzIHCAAQRxCwAzIHCAAQRxCwAzIHCAAQRxCwAzIHCAAQRxCwA0oECEEYAEoECEYYAFAAWABgxxJoAXABeACAAQCIAQCSAQCYAQDIAQjAAQE&sclient=gws-wiz | vim tabs plugin - Google Search
https://www.google.com/search?q=vim+tabs+key+binds&oq=vim+tabs+key+binds&aqs=chrome..69i57.5188j0j1&sourceid=chrome&ie=
View Makefile
all:
git add .
git commit -m "Update ..."
git push --force-with-lease
echo "done!"
View emacs
https://www.youtube.com/c/JakeBox0/videos
View drvinfo
barebox@riscv-virtio,qemu:/ drvinfo
Driver Device(s)
--------------------
syscon
riscv-timer
riscv-timer
riscv
cpus:cpu@0.of
cpus:cpu@1.of
cpus:cpu@2.of
View gist:c9999b7419576a83c9068e877adb4401
[smalinux@dhcppc9 test]$ ./emulate.pl virt64_defconfig
Can't exec "tuxmake": No such file or directory at ./emulate.pl line 377.
vsystem: No such file or directory
Error building: -1
Resolved: https://gitlab.com/Linaro/tuxmake/-/blob/master/docs/install-rpm.md
[smalinux@dhcppc9 test]$ tuxmake -a riscv -k virt64_defconfig --kconfig-add=test/kconfig/base.cfg -b /tmp/bareboxbuild-eof2wEgQ36 -o /tmp/bareboxbuild-eof2wEgQ36/artifacts default
@smalinux
smalinux / FS
Last active Oct 16, 2021
I want to log here my progress here, want to know when this happened? look at $git blame & the date of the commit, sometimes the date not that important, sometimes it is... each line is independent. you not supposed to modify any line. you not supposed to re-write the history here.
View FS
All Linux docs related to FS:
https://www.kernel.org/doc/html/latest/filesystems/index.html
@smalinux
smalinux / Makefile
Last active Jul 6, 2022
/home/smalinux/.newsboat/urls
View Makefile
# {{{ clone gist
# git clone https://gist.github.com/smalinux/1fec75973e213e046cb9c5f4d1665afc ~/newsboat
# }}}
#
# {{{ Thanks for this chrome addon: Get RSS Feed URL
# https://chrome.google.com/webstore/detail/get-rss-feed-url/kfghpdldaipanmkhfpdcjglncmilendn/related?hl=en
# }}}
all:
ln -sf ~/newsboat/urls ~/.newsboat/
ln -sf ~/newsboat/config ~/.newsboat/
View stackoverflow
https://stackoverflow.com/users/379897
View GUI.py
# GUI.py
# RUN THIS FILE
import pygame
from solver import solve, valid
import time
pygame.font.init()
class Grid:
# To change the starting board change this