Skip to content

Instantly share code, notes, and snippets.

Christopher Larson kergoth

Block or report user

Report or block kergoth

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View build+flash.sh
#!/bin/sh
set -e
docker run -v "$PWD:/qmk" -e keyboard=tokyo60 -e keymap=kergoth qmk-local
while ! dfu-programmer atmega32u4 erase; do
:
done
dfu-programmer atmega32u4 flash .build/tokyo60_kergoth.hex
dfu-programmer atmega32u4 launch
View oe-examples-mess.txt
$ ag '\--(with|without|enable|disable)-(examples|samples)' poky meta*
poky/meta/recipes-multimedia/libtheora/libtheora_1.1.1.bb
22:EXTRA_OECONF = "--disable-examples"
poky/meta/recipes-multimedia/speex/speexdsp_1.2rc3.bb
17: --disable-examples \
poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
28: --disable-examples \
View bitbake-keyboardinterrupt-traceback.txt
Traceback (most recent call last):
File "/scratch/dogwood/minnowmax/poky/bitbake/bin/bitbake", line 45, in <module>
cookerdata.CookerConfiguration()))
File "/scratch/dogwood/minnowmax/poky/bitbake/lib/bb/main.py", line 470, in bitbake_main
configParams)
File "/scratch/dogwood/minnowmax/poky/bitbake/lib/bb/ui/knotty.py", line 559, in main
_, error = server.runCommand(["stateShutdown"])
File "/scratch/dogwood/minnowmax/poky/bitbake/lib/bb/server/process.py", line 48, in runCommand
self.connection.send(command)
KeyboardInterrupt
@kergoth
kergoth / install.sh
Created Dec 3, 2015 — forked from jnwhiteh/install.sh
lua+luarocks in sandboxed environment
View install.sh
#!/usr/bin/env bash
set -e
die() {
echo "$1";
exit 1;
}
# Fetch and install Lua/LuaRocks/Kepler into the local directory
View leaky-layer-test.meta-ti.alsa-state
WARNING: Host distribution "Ubuntu-12.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 0% | | ETA: --:--:-- Loading cache: 1% | | ETA: 00:00:00 Loading cache: 2% | | ETA: 00:00:00 Loading cache: 3% |# | ETA: 00:00:00 Loading cache: 4% |# | ETA: 00:00:00 Loading cache: 5% |## | ETA: 00:00:00 Loading cache: 6% |## | ETA: 00:00:00 Loading cache: 7% |### | ETA: 00:00:00 Loading cache: 8% |### | ETA: 00:00:00 Loading cache: 9% |### | ETA: 00:00:00 Loading
View itf
#!/bin/sh
while true; do
list-iterm2-profiles | fzf | tr '\n' '\0' | xargs -0 open-iterm2-profile
done
View mel-busybox.txt
Covered by oe-core:
enabled:
udhcpc, wget, cmp, losetup, switch_root, halt, reset, seamless
bz2/gz/lzma/z, ip tunnel, telnet, which, run-parts, tar autodetect,
tr classes, env long opts, nohup, od, realpath, tty, patch, diff_dir,
fbset, mkswap, ipv6, renice, fuser, ash bash compat, hostname,
disabled:
blkid
mkfs.vfat
View vdf_disable_reg.txt
› ./vdf_disable_reg /Volumes/My\ Passport/Games\ -\ Pending/Age\ of\ Empires\ II\ -\ HD\ Edition\ \(Steam\).app/Game/**/installscript.vdf
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Valve\Steam\Apps\CommonRedist\DirectX\Jun2010]
"dxsetup"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\Valve\Steam\Apps\CommonRedist\vcredist\2010]
"x64"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\Valve\Steam\Apps\CommonRedist\vcredist\2010]
View do_populate_sdk-behavior-notes.md
  • do_populate_sdk()
    • mappings of TOOLCHAIN_{HOST,TARGET}_TASK{,_ATTEMPTONLY}
    • oe.manifest.create_manifest() for HOST & TARGET
      • Writes out manifests listing what will be installed
        • Standard
        • Attempt only (we don’t care if they fail or aren’t available) Will need to investigate how to handle this. I expect I’ll need a new argument for opkg-p2 to try to find these things and just warn if it can’t, rather than being fatal.
        • Languages
        • Multilib
    • oe.sdk.populate_sdk()
View check-python-deps
#!/bin/sh
# Use recipetool to check for missing PACKAGECONFIG/RDEPENDS in our python recipes
set -e
python_recipes () {
bitbake -s | grep '^python-' | grep -v native | awk '{print $1}'
}
get_value () {
You can’t perform that action at this time.