Skip to content

Instantly share code, notes, and snippets.

View luc-tielen's full-sized avatar

Luc Tielen luc-tielen

View GitHub Profile
@luc-tielen
luc-tielen / gui.rs
Created October 28, 2017 15:42
Bug in relm_attributes/outdated docs?
use relm::Widget;
use relm_attributes::widget;
use gtk;
use gtk::{WidgetExt, ButtonExt, LabelExt, OrientableExt};
use gtk::Orientation::Vertical;
// Had to add this code, even though docs say it can be auto generated?
pub struct Model {
counter: i32,
@luc-tielen
luc-tielen / Makefile
Created October 11, 2017 08:41
Seed works fine locally, but not in docker container?
# NOTE: using alpine-elixir-phoenix docker image
DOCKER_ID=$(shell docker ps -aqf "name=webserver")
.PHONY: run
run:
docker-compose up
@luc-tielen
luc-tielen / arm-none-eabi-gcc.sh
Created January 26, 2017 12:35 — forked from cjmeyer/arm-none-eabi-gcc.sh
Bash: Build Binutils, GCC, Newlib, and GDB for ARM EABI (Cross-compiler).
#! /usr/bin/env bash
# Target and build configuration.
TARGET=arm-none-eabi
PREFIX=/opt/arm-none-eabi-4.7.1
# Sources to build from.
BINUTILS=binutils-2.23.1
GCC=gcc-4.7.1
NEWLIB=newlib-1.20.0
@luc-tielen
luc-tielen / bitbake-output.txt
Last active April 7, 2016 06:21
Yocto build error for var-som-mx6 (ti-compat-wireless)
~/yocto/build/conf$ bitbake core-image-minimal
Parsing recipes: 100% |########################################################| Time: 00:02:54Parsing of 2064 .bb files complete (0 cached, 2064 parsed). 2579 targets, 153 skipped, 3 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.26.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-poky-linux-gnueabi"