Skip to content

Instantly share code, notes, and snippets.

View AndKe's full-sized avatar

André Kjellstrup AndKe

  • Tromsø, Norway
View GitHub Profile
sigurd@sigurd-ThinkCentre-M93p:~$ supertuxkart
[verbose ] main: Error messages and other text output will be logged to /home/sigurd/snap/supertuxkart/645/.config/supertuxkart/config-0.10/stdout.log.
[info ] [FileManager]: Data files will be fetched from: '/snap/supertuxkart/645/usr/share/supertuxkart/data/'
[info ] [FileManager]: User directory is '/home/sigurd/snap/supertuxkart/645/.config/supertuxkart/config-0.10/'.
[info ] [FileManager]: Addons files will be stored in '/home/sigurd/snap/supertuxkart/645/.local/share/supertuxkart/addons/'.
[info ] [FileManager]: Screenshots will be stored in '/home/sigurd/snap/supertuxkart/645/.local/share/supertuxkart/screenshots/'.
[info ] [FileManager]: User-defined grand prix will be stored in '/home/sigurd/snap/supertuxkart/645/.local/share/supertuxkart/grandprix/'.
[info ] [FileManager]: Asset 0 will be loaded from '/snap/supertuxkart/645/usr/share/supertuxkart/data/challenges/'.
[info ] [FileManager]: Asset 1 will be loaded from '/snap/supertuxkart/645
/home/andre/Arduino/arduino-1.8.10/arduino-builder -dump-prefs -logger=machine -hardware /home/andre/Arduino/arduino-1.8.10/hardware -hardware /home/andre/.arduino15/packages -hardware /home/andre/Arduino/projects/hardware -tools /home/andre/Arduino/arduino-1.8.10/tools-builder -tools /home/andre/Arduino/arduino-1.8.10/hardware/tools/avr -tools /home/andre/.arduino15/packages -built-in-libraries /home/andre/Arduino/arduino-1.8.10/libraries -libraries /home/andre/Arduino/projects/libraries -fqbn=STM32:stm32:GenF1:pnum=BLUEPILL_F103C8,upload_method=swdMethod,xserial=generic,usb=CDCgen,xusb=FS,opt=osstd,rtlib=nano -vid-pid=0403_6001 -ide-version=10810 -build-path /tmp/arduino -warnings=default -build-cache /tmp/arduino_cache_684948 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.CMSIS.path=/home/andre/.arduino15/packages/STM32/tools/CMSIS/5.5.1 -prefs=runtime.tools.CMSIS-5.5.1.path=/home/andre/.arduino15/packages/STM32/tools/CMSIS/5.5.1 -prefs=runtime.tools.STM32Tools.path=/home/andre/.arduino15/packag
N boxinit (init) : starting 'arduplane'
I arduplane (start_arduplane) : Stopping stock autopilot
I (DragonStarter.s) : Killed
I (ldc) : unix:@ledd.socket
I ledd_lib (ledd-ng) : timer resumed
I (DragonStarter.s) :
N Dragon Starter(DragonStarter.s) : dragon-prog is dead. Security launched: stop heating IMU sensors !
N Dragon Starter(DragonStarter.s) : Date is: Thu, 01 Jan 1970 00:04:57 +0000
N Dragon Starter(DragonStarter.s) : ############################
N Dragon Starter(DragonStarter.s) : ### Dragon returned = 137
#!/bin/sh
cd /data/ftp/internal_000/ardupilot
(
/bin/date
/bin/ls
/bin/dragon_ipc.sh dragon_shutdown
/bin/sleep 2
/usr/bin/killall -KILL dragon-prog
#!/bin/sh
# default rcS running mode script
echo $((1024*1024)) > /proc/sys/net/core/wmem_max # inscrease the max socket size
if test -x /data/ftp/internal_000/ardupilot/start_ardupilot.sh; then
ulogger -t "rcS_mode_default" -p I "Launching ArduPilot"
/data/ftp/internal_000/ardupilot/start_ardupilot.sh
else
ulogger -t "rcS_mode_default" -p I "Launching Dragon"
import matplotlib.pyplot as plt
def make_patch_spines_invisible(ax):
ax.set_frame_on(True)
ax.patch.set_visible(False)
for sp in ax.spines.values():
sp.set_visible(False)
View raw

(Sorry about that, but we can’t show files that are this big right now.)

@AndKe
AndKe / gist:726ced81cdf58edd5d989ed350b7625e
Created July 29, 2019 20:55
Keen , Android structure...
/run/user/1000/gvfs/mtp:host=SAMSUNG_SAMSUNG_Android_f20dbe5a/Card/Android/data/net.sourceforge.clonekeenplus/files/games
.:
total 0
drwx------ 1 andre andre 0 juli 16 18:25 .
drwx------ 1 andre andre 0 juli 16 18:26 ..
drwx------ 1 andre andre 0 juli 29 00:02 keen1
drwx------ 1 andre andre 0 juli 29 00:02 keen2
drwx------ 1 andre andre 0 juli 29 00:02 keen3
drwx------ 1 andre andre 0 juli 29 00:02 keen4
---------------------------------------------------- beginning of /proc/kmsg
K I KERNEL : Booting Linux on physical CPU 0
K I KERNEL : Initializing cgroup subsys cpu
K N KERNEL : Linux version 3.4.11+ (jenkins@94f3b28797c4) (gcc version 4.6.3 (Sourcery CodeBench Lite 2012.03-57) ) #1 SMP PREEMPT Wed Jun 20 15:48:15 UTC 2018
K W KERNEL : CPU: ARMv7 Processor [412fc097] revision 7 (ARMv7), cr=10c53c7d
K W KERNEL : CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
K W KERNEL : Machine: Evinrude board
K I KERNEL : P7 per device DMA memory regions:
K I KERNEL : 9ff00000:9fffffff: ramoops.0
K I KERNEL : 9fe00000:9fefffff: cast-nand.0
@AndKe
AndKe / gist:2cc61b17d1c39af41a28d3ac2a2e6997
Created April 17, 2019 20:40
2G / bad connection experience:
BusyBox v1.25.0 (2018-06-20 15:42:53 UTC) built-in shell (ash)
Enter 'help' for a list of built-in commands.
/ # ulogcat |grep uavpal
I uavpal_drone(ulogger) : Huawei USB device detected (USB ID: 12d1:1f01)
I uavpal_drone(ulogger) : === Loading uavpal softmod 1.3-beta ===
I uavpal_drone(ulogger) : ... detected Parrot Disco (platform evinrude), firmware version 1.7.1
I uavpal_drone(ulogger) : ... trying to use kernel modules compiled for firmware 1.7.0