Skip to content

Instantly share code, notes, and snippets.

@rigid
rigid / gist:3073746
Created July 9, 2012 01:41
output of ./PixelController.sh
classpath: lib/minim-spi-2.0.2.jar:lib/tritonus_aos-2.0.2.jar:lib/jsminim-2.0.2.jar:lib/processing-blinkenlight-0.5.jar:lib/commons-lang-2.5.jar:lib/ecj-3.5.1.jar:lib/minim-2.0.2.jar:lib/jargs-1.0.jar:lib/core-1.2.1.jar:lib/jna-3.2.7.jar:lib/rxtx-2.2pre5.jar:lib/serial-1.2.1.jar:lib/commons-collections-3.2.1.jar:lib/artnet4j-0001.jar:lib/tritonus_share-2.0.2.jar:lib/net-1.2.1.jar:lib/pde-1.2.1.jar
09.07.2012 03:35:31 com.neophob.PixelController setup
INFO:
09.07.2012 03:35:31 com.neophob.PixelController setup
INFO: -----------------------------------
09.07.2012 03:35:31 com.neophob.PixelController setup
INFO: --- PixelController Setup START ---
09.07.2012 03:35:31 com.neophob.PixelController setup
INFO: Config loaded, 26 entries
09.07.2012 03:35:31 com.neophob.sematrix.properties.PropertiesHelper <init>
/storage/code/libvisual/libvisual.git/libvisual-plugins/plugins/input/jack/input_jack.cpp: In function 'const VisPluginInfo* get_plugin_info()':
/storage/code/libvisual/libvisual.git/libvisual-plugins/plugins/input/jack/input_jack.cpp:82:5: error: cannot convert 'int (*)(VisPluginData*) {aka int (*)(_VisPluginData*)}' to 'const char*' in initialization
/storage/code/libvisual/libvisual.git/libvisual-plugins/plugins/input/jack/input_jack.cpp:82:5: error: invalid conversion from 'VisObject* {aka _VisObject*}' to 'int' [-fpermissive]
At global scope:
cc1plus: error: unrecognized command line option "-Wno-tautological-compare" [-Werror]
cc1plus: all warnings being treated as errors
make[2]: *** [plugins/input/jack/CMakeFiles/input_jack.dir/input_jack.cpp.o] Error 1
make[1]: *** [plugins/input/jack/CMakeFiles/input_jack.dir/all] Error 2
make: *** [all] Error 2
# valgrind --leak-check=full --show-reachable=yes lv-tool -d stdout >/dev/null
==9738== Memcheck, a memory error detector
==9738== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==9738== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==9738== Command: lv-tool -d stdout
==9738==
^C==9738== Jump to the invalid address stated on the next line
==9738== at 0x3A6: ???
==9738== by 0x4020FC3: ??? (in /lib/ld-2.15.so)
# valgrind lv-tool -i alsa -a blursk
==17249== Memcheck, a memory error detector
==17249== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==17249== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==17249== Command: lv-tool -i alsa -a blursk
==17249==
lv-tool v0.1
Loading actor 'blursk'...
Loading input 'alsa'...
==17249== Syscall param ioctl(arg) contains uninitialised byte(s)
=ERROR REPORT==== 2013-02-07 18:28:50 ===
** State machine <0.630.0> terminating
** Last message in was {ircstring,":niven.freenode.net 433 * danielh :Nickname is already in use."}
** When State == wait_for_registration
** Data == {error,
{xmlelement,"error",
[{"code","409"},{"type","cancel"}],
[{xmlelement,"conflict",
[{"xmlns",
"urn:ietf:params:xml:ns:xmpp-stanzas"}],
/** use DWT counter to delay */
void dwt_sleep(u32 time)
{
static volatile u32 *DWT_CYCCNT = (u32 *) 0xE0001004;
static volatile u32 *DWT_CONTROL = (u32 *) 0xE0001000;
static volatile u32 *SCB_DEMCR = (u32 *) 0xE000EDFC;
/* reset the counter */
*DWT_CYCCNT = 0;
/* start DWT counter */
@rigid
rigid / gist:5025299
Last active December 14, 2015 03:59
static void RCC_Config(void)
{
/* RCC system reset */
RCC_DeInit();
/* Enable HSE */
RCC_HSEConfig(RCC_HSE_ON);
/* Wait till HSE is ready */
ErrorStatus status;
apollo
description: System
product: X10SLH-F/X10SLM+-F (To be filled by O.E.M.)
vendor: Supermicro
version: 0123456789
serial: 0123456789
width: 64 bits
capabilities: smbios-2.7 dmi-2.7 vsyscall32
configuration: boot=normal chassis=server family=To be filled by O.E.M. sku=To be filled by O.E.M. uuid=00000000-0000-0000-0000-002590D27590
*-core
@rigid
rigid / gist:6870265
Created October 7, 2013 15:56
sensors-detect
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
Driver `jc42':
* Bus `SMBus I801 adapter at 0580'
Busdriver `i2c_i801', I2C address 0x18
Chip `Microchip MCP98243' (confidence: 5)
Driver `to-be-written':
* ISA bus, address 0xca2
@rigid
rigid / gist:6870621
Created October 7, 2013 16:17
sensors output
sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +27.8°C (crit = +105.0°C)
temp2: +29.8°C (crit = +105.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +29.0°C (high = +80.0°C, crit = +100.0°C)
Core 0: +28.0°C (high = +80.0°C, crit = +100.0°C)