Skip to content

Instantly share code, notes, and snippets.

@ahoarau
ahoarau / gist:cdbda9b95cd62438a335
Created February 16, 2015 10:11
Rebuild all dkms modules
ls /var/lib/initramfs-tools | sudo xargs -n1 /usr/lib/dkms/dkms_autoinstaller start
@JamesMGreene
JamesMGreene / gitflow-breakdown.md
Last active May 11, 2025 19:58
`git flow` vs. `git`: A comparison of using `git flow` commands versus raw `git` commands.

Initialize

gitflow git
git flow init git init
  git commit --allow-empty -m "Initial commit"
  git checkout -b develop master

Connect to the remote repository

./i386-softmmu/qemu-system-i386 -s -kernel /home/gan/project/xenomai_prj/buildroot-2012.08/output/build/linux-2.6.38.8/arch/x86/boot/bzImage -hda /home/gan/project/xenomai_prj/buildroot-2012.08/output/images/rootfs.ext2 -append "console=ttyS0 root=/dev/sda rw xeno_hal.clockfreq=1600000000 xeno_hal.cpufreq=1600000000" -nographic
./i386-softmmu/qemu-system-i386 -kernel ~/project/xenomai_prj/linux-2.6.38.8/build/arch/i386/boot/bzImage -hda ~/project/xenomai_prj/busybox-1.20.2/rootfs.img -append "console=ttyS0 root=/dev/sda xeno_hal.clockfreq=1600000000 xeno_hal.cpufreq=1600000000" -nographic
@smits
smits / lqt-test.lua
Created March 30, 2012 08:46
rttlua GUI example
require 'qtcore'
require 'qtgui'
require 'os'
app = QApplication(select('#',...) + 1, {'lua', ...})
dp = rtt.getTC():getPeer('deployer')
dp:loadComponent('name','OCL::LuaComponent')
name = dp:getPeer('name')
name:exec_str('function updateHook() print(rtt.getTime()) end')