Skip to content

Instantly share code, notes, and snippets.

# icons
https://github.com/google/material-design-icons.git
export PATH=/WORK/POKY-NITRO/sysroots/i686-pokysdk-linux/usr/bin:/WORK/POKY-NITRO/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi:$PATH
export PKG_CONFIG_SYSROOT_DIR=/WORK/POKY-NITRO/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi
export PKG_CONFIG_PATH=/WORK/POKY-NITRO/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib/pkgconfig
export CONFIG_SITE=/WORK/POKY-NITRO/site-config-cortexa9hf-vfp-neon-poky-linux-gnueabi
export CC="arm-poky-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/WORK/POKY-NITRO/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi"
export CXX="arm-poky-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/WORK/POKY-NITRO/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi"
export CPP="arm-poky-linux-gnueabi-gcc -E -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/WORK/POKY-NITRO/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi"
expor
@ericbutters
ericbutters / cross compiling stuff
Last active August 29, 2015 14:01
cross compiling stuff
# FIRST: exported tools to cross compile
export PATH=/home/eric/src/imx6/opt/ESX/imx6/sysroots/i686-linux/usr/bin:/home/eric/src/imx6/opt/ESX/imx6/sysroots/i686-linux/usr/bin/armv7a-vfp-neon-linux-gnueabi:$PATH
export PKG_CONFIG_SYSROOT_DIR=/home/eric/src/imx6/opt/ESX/imx6/sysroots/armv7a-vfp-neon-linux-gnueabi
export PKG_CONFIG_PATH=/home/eric/src/imx6/opt/ESX/imx6/sysroots/armv7a-vfp-neon-linux-gnueabi/usr/lib/pkgconfig
export CONFIG_SITE=/home/eric/src/imx6/opt/ESX/imx6/site-config-armv7a-vfp-neon-linux-gnueabi
export CC="arm-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/home/eric/src/imx6/opt/ESX/imx6/sysroots/armv7a-vfp-neon-linux-gnueabi"
export CXX="arm-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/home/eric/src/imx6/opt/ESX/imx6/sysroots/armv7a-vfp-neon-linux-gnueabi"
export CPP="arm-linux-gnueabi-gcc -E -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/home/eric/src/im
# set mouse
:set mouse=a "use mouse to select window etc
:set mouse=v "use mouse to copy to clipboard
# folding
:set foldmethod=syntax "source code folding
# shift+tab to remove leading tabs
VISUAL MODE and select lines, then '<' and '.' to use last command.
# creates the forwarding headers in the include directories
./bin/syncqt.pl
@ericbutters
ericbutters / bash stuff
Last active January 3, 2016 08:59
Linux notes
# docker, save to archive
docker save ntg6_sdkbuildenv:20151030_0855 | bzip2 > ntg6_sdkbuildenv_20151030_0855.bz2
# find, ignore directories and special files, create archive
find . -maxdepth 1 -type f \( ! -iname "*.done" \) -print0 | tar -cvzf downloads-yocto.tar.gz --null -T -
# dd - watch progress
watch -n 5 "sudo kill -USR1 30083"
# pandoc