Skip to content

Instantly share code, notes, and snippets.

View AkechiShiro's full-sized avatar
🌴
Away, might not able to respond in a timely manner, pause on open source

Samy Lahfa AkechiShiro

🌴
Away, might not able to respond in a timely manner, pause on open source
View GitHub Profile
@AkechiShiro
AkechiShiro / aegis.sh
Created July 14, 2024 00:24
Aegis-gui-install
#!/usr/bin/env bash
init-keys
sudo pacman -S --needed openssl yarn glib2 gtk3 libappindicator-gtk3 libsoup3 svt-av1 util-linux-libs util-linux webkit2gtk-4.1 pkg-config rustup
rustup install default nightly
git clone https://github.com/mwaurawakati/aegis-gui-tauri
cargo install tauri-cli --git https://github.com/tauri-apps/tauri --branch tauri-cli-v2.0.0-beta.22
cd aegis-gui-tauri
sudo mount -o remount,size=8G /run/archiso/cowspace
WEBKIT_DISABLE_COMPOSITING_MODE=1 cargo tauri dev
@AkechiShiro
AkechiShiro / logs.sh
Created June 3, 2023 04:12
Logs of CI/CD for Archlinux Vagrant provision with password
==> archlinux: Successfully added box 'archlinux/archlinux' (v20230601.155191) for 'virtualbox'!
==> archlinux: Importing base box 'archlinux/archlinux'...
Progress: 90%
==> archlinux: Matching MAC address for NAT networking...
==> archlinux: Checking if box 'archlinux/archlinux' version '20230601.155191' is up to date...
==> archlinux: Setting the name of the VM: archiso-zfs_archlinux_1685763357598_89260
==> archlinux: Clearing any previously set network interfaces...
==> archlinux: Preparing network interfaces based on configuration...
archlinux: Adapter 1: nat
@AkechiShiro
AkechiShiro / wayfire-git-build-log.md
Created January 19, 2021 01:13
wayfire-git-0.4.0-build-logs

Log

aura >>= Building wayfire-git...
==> Making package: wayfire-git 0.4.0.r168.g25d568f-1 (mar. 19 janv. 2021 02:11:27)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning wayfire git repo...
Cloning into bare repository '/var/cache/aura/vcs/wayfire-git/wayfire-git/wayfire'...
remote: Enumerating objects: 10, done.
@AkechiShiro
AkechiShiro / log.md
Created January 19, 2021 01:06
Wayfire 0.6.0 build fails on Archlinux

Log

aura >>= Building wayfire...
==> Making package: wayfire 0.6.0-1 (mar. 19 janv. 2021 02:01:38)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading wayfire-0.6.0.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
@AkechiShiro
AkechiShiro / backtrace.md
Last active January 7, 2021 16:24
GEF backtrace of Nextcloud conflict crash with style fusion

GEF status

[ Legend: Modified register | Code | Heap | Stack | String ]
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── registers ────
$rax   : 0x0               
$rbx   : 0x00007fffb038a4c00x00007fffb038a4c0  →  [loop detected]
$rcx   : 0x00007fffede99615<raise+325> mov rax, QWORD PTR [rsp+0x108]
$rdx   : 0x0               
$rsp   : 0x00007fffffffa2a00x0000000000000000
$rbp   : 0x00007fffffffa4f80x00007fffee7039400x00000000ffffffff
@AkechiShiro
AkechiShiro / Backtrace.log
Last active November 29, 2020 14:49
Nextcloud 3.1.0daily (build 20201102) segmentation fault
Thread 1 "AppRun" received signal SIGSEGV, Segmentation fault.
0x00005555556cc75a in QExplicitlySharedDataPointer<OCC::AccountState>::operator->() const ()
(gdb) bt
#0 0x00005555556cc75a in QExplicitlySharedDataPointer<OCC::AccountState>::operator->() const ()
#1 0x00005555557e1772 in OCC::User::avatar() const ()
#2 0x00005555557e20c1 in OCC::UserModel::avatarById(int const&) ()
#3 0x00005555557e3cf3 in OCC::ImageProvider::requestImage(QString const&, QSize*, QSize const&) ()
#4 0x00007ffff0b4057b in QQuickPixmap::load(QQmlEngine*, QUrl const&, QSize const&, QFlags<QQuickPixmap::Option>, QQuickImageProviderOptions const&) ()
at /tmp/.mount_nextclM9T6fd/usr/bin/../lib/libQt5Quick.so.5
#5 0x00007ffff0c97f82 in QQuickImageBase::load() ()
@AkechiShiro
AkechiShiro / variety.log
Last active November 12, 2020 04:11
Variety logfiles of 12Nov2020
INFO: 2020-11-12 05:04:08,845: main() 'Using profile folder /home/user/.config/variety/'
INFO: 2020-11-12 05:04:08,847: perform_upgrade() 'Last run version was 0.8.4 or earlier, current version is 0.8.4'
INFO: 2020-11-12 05:04:09,030: process_command() 'Received command: ['-v']'
INFO: 2020-11-12 05:04:09,032: load_banned() 'Missing or invalid banned URLs list, no URLs will be banned'
INFO: 2020-11-12 05:04:09,046: start() 'Using data_path /usr/share/variety'
INFO: 2020-11-12 05:04:09,046: load() 'Jumble loading'
INFO: 2020-11-12 05:04:09,047: _walk_modules() 'Jumble loading module in __init__ from /usr/lib/python3.8/site-packages/variety/plugins/builtin/__init__.py'
INFO: 2020-11-12 05:04:09,047: _walk_modules() 'Jumble loading module in UnsplashDownloader from /usr/lib/python3.8/site-packages/variety/plugins/builtin/downloaders/UnsplashDownloader.py'
INFO: 2020-11-12 05:04:09,048: load() 'Jumble found plugin class: <class 'UnsplashDownloader.UnsplashDownloader'>: {'name': 'UnsplashDownloader', 'description':
@AkechiShiro
AkechiShiro / backtrace.asm
Last active September 26, 2020 13:45
gdb Backtrace of seg fault on nextcloud3.0.1git ArchLinux
(gdb) backtrace
#0 0x00007fffeeb3cd90 in QObject::objectName() const () at /usr/lib/libQt5Core.so.5
#1 0x00007fffe4034208 in chameleon::ChameleonStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () at /usr/lib/qt/plugins/styles/libchameleon.so
#2 0x00007fffe402e5ad in chameleon::ChameleonStyle::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex const*, QPainter*, QWidget const*) const ()
at /usr/lib/qt/plugins/styles/libchameleon.so
#3 0x00007fffef6ad071 in () at /usr/lib/libQt5Widgets.so.5
#4 0x00005555556612b9 in OCC::FolderStatusDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const ()
#5 0x00007fffef8d3370 in QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () at /usr/lib/libQt5Widgets.so.5
#6 0x00007fffef8d70d6 in QTreeView::drawTree(QPainter*, QRegion const&) const ()
at /usr/lib/libQt5Widgets.so.5
@AkechiShiro
AkechiShiro / log.txt
Created September 26, 2020 13:41
nextcloud3.0.1 log of segmentation fault
2020-09-26 15:36:14:097 [ info nextcloud.gui.application ]: "################## Nextcloud locale:[en_US] ui_lang:[] version:[3.0.1git] os:[Arch Linux]"
2020-09-26 15:36:14:097 [ info nextcloud.gui.application ]: Using "en_US" translation
2020-09-26 15:36:14:098 [ info nextcloud.gui.socketapi ]: server started, listening at "/run/user/1000/Nextcloud/socket"
2020-09-26 15:36:14:098 [ info nextcloud.gui.folder.manager ]: setting remote poll timer interval to 30000 msec
2020-09-26 15:36:14:132 [ info nextcloud.gui.account.manager ]: Account for QUrl("hiddenurl") using auth type "webflow"
2020-09-26 15:36:14:132 [ info nextcloud.sync.credentials.webflow ]: Get QNAM
2020-09-26 15:36:14:166 [ debug default ] [ unknown ]: static bool LibSecretKeyring::findPassword(const QString&, const QString&, QKeychain::JobPrivate*)
2020-09-26 15:36:14:166 [ warning qt.qpa.xcb ]: QXcbConnection: XCB error: 5 (BadAtom), sequence: 536, resource id: 0, major code: 20 (GetProperty), minor code: 0
2020-09-26 15:36:14:177 [ info nextcl
@AkechiShiro
AkechiShiro / tlp-stat
Created August 9, 2020 00:16
tlp-stat full output
--- TLP 1.3.1 --------------------------------------------
+++ Configured Settings:
/etc/tlp.conf L0015: TLP_ENABLE="1"
/etc/tlp.conf L0025: TLP_PERSISTENT_DEFAULT="0"
/etc/tlp.conf L0030: DISK_IDLE_SECS_ON_AC="0"
/etc/tlp.conf L0031: DISK_IDLE_SECS_ON_BAT="2"
/etc/tlp.conf L0035: MAX_LOST_WORK_SECS_ON_AC="15"
/etc/tlp.conf L0036: MAX_LOST_WORK_SECS_ON_BAT="60"
defaults.conf L0010: CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance"