Skip to content

Instantly share code, notes, and snippets.

View hradec's full-sized avatar

Hradec hradec

View GitHub Profile
@hradec
hradec / gist:221560a2aacae9966af3687ddd18dfb4
Created May 4, 2016 17:23
owncloudcmd not syncing file attributes in linux.
Set proxy configuration to use system configuration
sqlite3 version "3.12.2"
sqlite3 journal_mode= "wal"
void OCC::SyncJournalDb::commitInternal(const QString&, bool) Transaction commit "checkConnect" and starting new transaction
Columns in the current journal: ("phash", "pathlen", "path", "inode", "uid", "gid", "mode", "modtime", "type", "md5", "fileid", "remotePerm", "filesize", "ignoredChildrenRemote", "contentChecksum", "contentChecksumTypeId")
void OCC::SyncJournalDb::commitInternal(const QString&, bool) Transaction commit "update database structure: add inode index" and starting new transaction
void OCC::SyncJournalDb::commitInternal(const QString&, bool) Transaction commit "update database structure: add path index" and starting new transaction
Columns in the current journal: ("path", "lastTryEtag", "lastTryModtime", "retrycount", "errorstring", "lastTryTime", "ignoreDuration")
void OCC::SyncJournalDb::commitInternal(const QString&, bool) Transaction commit "checkConnect End"

The banana pi m1 works with the cheap ~$15 chinese 5 port sata multipliers.

Warning: The multipliers will get really hot and unreliable under load or if more than three drives are attached. Definitely put at least a heatsink on it.

With the official bananian distro it appears to work out of the box but it unfortunately only works with one drive at a time.

To get it working with multiple drives you need to enable the sunxi pmp support. The reason this is not enabled per default is that when it is enabled you will be unable to use the sata port without a port multiplier.

The kernel in the official bananian distro does not have sunxi pmp support compiled into it and the kernel is too old anyway.

@hradec
hradec / crash_20171124093727_1.dmp
Created November 24, 2017 18:14
SteamVR VRCompositor crash dump file - 24-11-2017
MDMP�� �XZ4�(-�V$���8��gG�#��gG(�gGY@�gGS��gGd�gG@`� gG�w��
gGH�s
8v5�V�P�R09:37:28.790727 - VkSurfaceKHR : 2c5e650
���u�����V���V�P�V0��n�-k��`4k�@��2k�ɂ4k�V��V�n�`4k0@��2k��2kn�-k#�����P�-k��V���V��V��i���V@�V�#����V�1���V����?�`4k 1�0���
���u��2k�ɂ4k�r��r�0��P�V�����W�3kla��V��p3k�����.k`��.k�ޒ�Օ��%a4k��2k`�V���a4k��������h���������V�m�%��+/k4�`4k�@��3k���4k������V�k@��3khT�3kX�A}�!IZ��j@p�V�`�V���V��i���c!����������tracerpid: 0
in�����������@@@@@@@@@@@@@@@@ZZZZZZZZZZZZZZZZ =�`4k�������`M�3k���4k4�`4@��3k���4kؤV�ԤV�@��3khT�3k��A_8+�t��`@��V���V�ؤV��i���V��V�_8+@�V�h�V�X��4k?�`4k��4kX��4k��V���V���4k��A����(��3k���4k�B� �������V�a4k����(�����u�� ���p�V�{DG��k�`�V��V��)�2k��V��OJ0k�V�a4k��V��UJ0k���u�����V�VJ0k���u��V��V��`J0kp2k���3k�
�0��V�@�
@hradec
hradec / gist:3231150dc2f2c9de5b81032e188c1a32
Created November 27, 2017 22:46
~/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh
+++ dirname /atomo/home/rhradec/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh
++ cd /atomo/home/rhradec/.local/share/Steam/steamapps/common/SteamVR/bin/..
++ pwd
+ TOOLSDIR=/atomo/home/rhradec/.local/share/Steam/steamapps/common/SteamVR
++ cd /atomo/home/rhradec/.local/share/Steam/steamapps/common/SteamVR/../runtime
/atomo/home/rhradec/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh: line 3: cd: /atomo/home/rhradec/.local/share/Steam/steamapps/common/SteamVR/../runtime: No such file or directory
++ pwd
+ RUNTIMEDIR=/RAID/atomo/home/rhradec
+ case $(uname) in
++ uname
@hradec
hradec / gist:da94ec5af2c8f3448d582044741f154c
Created November 28, 2017 23:28
running steamvr with VK_LOADER_DEBUG=all
[email protected] ~/.local/share/Steam/steamapps/common/SteamVR $ VK_LOADER_DEBUG=all /atomo/home/rhradec/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh
+++ dirname /atomo/home/rhradec/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh
++ cd /atomo/home/rhradec/.local/share/Steam/steamapps/common/SteamVR/bin/..
++ pwd
+ TOOLSDIR=/atomo/home/rhradec/.local/share/Steam/steamapps/common/SteamVR
++ cd /atomo/home/rhradec/.local/share/Steam/steamapps/common/SteamVR/../runtime
/atomo/home/rhradec/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh: line 3: cd: /atomo/home/rhradec/.local/share/Steam/steamapps/common/SteamVR/../runtime: No such file or directory
++ pwd
+ RUNTIMEDIR=/atomo/home/rhradec/.local/share/Steam/steamapps/common/SteamVR
+ case $(uname) in
@hradec
hradec / gist:f00d281953b221ca65f523aefb954080
Created November 29, 2017 03:39
~/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh vulkaninfo
===========
VULKAN INFO
===========
Vulkan API Version: 1.0.61
INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_core_validation.json, version "1.1.0"
INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_unique_objects.json, version "1.1.0"
INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_standard_validation.json, version "1.1.1"
INFO: [loader] Code 0 : Encountered meta-layer VK_LAYER_LUNARG_standard_validation
@hradec
hradec / gist:8ad16fc4ae1c362ff8167f6a40fda3f8
Created November 29, 2017 03:47
VK_LOADER_DEBUG=all ~/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh ~/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh
[email protected] ~/.local/share/Steam/steamapps/common/SteamVR $
[email protected] ~/.local/share/Steam/steamapps/common/SteamVR $
[email protected] ~/.local/share/Steam/steamapps/common/SteamVR $
[email protected] ~/.local/share/Steam/steamapps/common/SteamVR $
[email protected] ~/.local/share/Steam/steamapps/common/SteamVR $
[email protected] ~/.local/share/Steam/steamapps/common/SteamVR $
[email protected] ~/.local/share/Steam/steamapps/common/SteamVR $
[email protected] ~/.local/share/Steam/steamapps/common/SteamVR $ VK_LOADER_DEBUG=all ~/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh ~/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh
+++ dirname /atomo/home/rhradec/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh
++ cd /atomo/home/rhradec/.local/share/Steam/steamapps/common/SteamVR/bin/..
@hradec
hradec / gist:3bde3df30e3099a9f401b151edb2f5bc
Created November 29, 2017 03:47
VK_LOADER_DEBUG=all ~/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh ~/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh
[email protected] ~/.local/share/Steam/steamapps/common/SteamVR $
[email protected] ~/.local/share/Steam/steamapps/common/SteamVR $
[email protected] ~/.local/share/Steam/steamapps/common/SteamVR $
[email protected] ~/.local/share/Steam/steamapps/common/SteamVR $
[email protected] ~/.local/share/Steam/steamapps/common/SteamVR $
[email protected] ~/.local/share/Steam/steamapps/common/SteamVR $
[email protected] ~/.local/share/Steam/steamapps/common/SteamVR $
[email protected] ~/.local/share/Steam/steamapps/common/SteamVR $ VK_LOADER_DEBUG=all ~/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh ~/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh
+++ dirname /atomo/home/rhradec/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh
++ cd /atomo/home/rhradec/.local/share/Steam/steamapps/common/SteamVR/bin/..
@hradec
hradec / gist:ea975f6583dcd661dc2a198d759550fe
Created December 5, 2017 06:28
/tmp/dumps/crash_20171204222213_1.dmp
Sending build context to Docker daemon 6.144kB
Step 1/10 : FROM walberla/buildenv-ubuntu-basic:16.04
---> 6538453ed055
Step 2/10 : MAINTAINER hradec <[email protected]>
---> Using cache
---> f05f121ecfaf
Step 3/10 : ARG GCC_VERSION=4.9
---> Using cache
---> e410591d124c
Step 4/10 : RUN apt-get update
@hradec
hradec / sshuttle.service
Last active July 11, 2019 17:44 — forked from theherk/sshuttle.service
systemd service unit file for sshuttle
[Unit]
Description=sshuttle service a permanent tunnel
After=network.target
[Service]
ExecStart=/usr/bin/sshuttle -r <user@address:port> --no-latency-control --disable-ipv6 -H --dns -v 192.168.0.0/24
Restart=always
[Install]
WantedBy=multi-user.target