Skip to content

Instantly share code, notes, and snippets.

View samqi's full-sized avatar

Sam samqi

  • .MY
View GitHub Profile
@samqi
samqi / yocto-rpi.sh
Created May 5, 2018 16:29
yocto-rpi
# old ref with 12mb image for R Pi https://www.cnx-software.com/2013/07/05/12mb-minimal-image-for-raspberry-pi-using-the-yocto-project/
#########################################################
# 2018 - yocto for R Pi - http://www.jumpnowtek.com/rpi/Raspberry-Pi-Systems-with-Yocto.html
# install dependency on build machine/server
sudo apt install build-essential chrpath diffstat gawk libncurses5-dev texinfo python2.7
#
#get main Yocto project poky layer
git clone -b rocko git://git.yoctoproject.org/poky.git poky-rocko
cd poky-rocko
#get the dependency layers - repositories shouldn’t need modifications other then periodic updates and can be reused for different projects or different boards.

Effective Engineer - Notes

What's an Effective Engineer?

  • They are the people who get things done. Effective Engineers produce results.

Adopt the Right Mindsets

@samqi
samqi / spectre-meltdown.sh
Created January 11, 2018 10:00
spectre and meltdown checker
git clone https://github.com/speed47/spectre-meltdown-checker.git
cd spectre-meltdown-checker/
sudo sh spectre-meltdown-checker.sh
@samqi
samqi / rc.firewall
Created January 26, 2017 08:23 — forked from lopes/rc.firewall
My template to configure iptables.
#!/bin/bash
#rc.firewall
#
#
# Firewall configuration file.
#
#
# AUTHOR: José Lopes Oliveira Jr. <indiecode.com.br>
#
#