Skip to content

Instantly share code, notes, and snippets.

View ItachiSan's full-sized avatar

Giovanni Santini ItachiSan

View GitHub Profile
@ItachiSan
ItachiSan / test_fetch_position.py
Created March 13, 2024 15:54
Python script fetching the current position
import sys
import time
from PySide6.QtCore import QCoreApplication, QObject, QTimer
from PySide6.QtPositioning import QGeoPositionInfoSource, QGeoPositionInfo
class PositionPoller(QObject):
def __init__(self, parent: QObject):
super().__init__(parent)
@ItachiSan
ItachiSan / PKGBUILD
Created March 9, 2023 12:20
PKGBUILD for disecting kernel regression bigs
# Maintainer: Jonathan Wright <jon@than.io>
# Contributor: Boohbah <boohbah at gmail.com>
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Modified 'linux-git' PKGBUILD for bisecting the kernel.
# Essentially an updated PKGBUILD with inspirations from 'linux-mainline' and 'linux'.
# The main change is the Git repository so that we can get all released tags.
# Then use this guide:
# https://wiki.archlinux.org/title/Bisecting_bugs_with_Git
@ItachiSan
ItachiSan / basic_error_log.sh
Last active June 22, 2021 16:10
v2.7.9 - ArchLinux build error
$ makepkg -src
==> Making package: telegram-desktop-dev 2.7.9-1 (Tue 22 Jun 2021 05:38:26 PM CEST)
==> Checking runtime dependencies...
==> Installing missing dependencies...
# Lots of logs for dependencies installation ...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
@ItachiSan
ItachiSan / PKGBUILD_fixes.diff
Last active June 23, 2021 09:01
Updates to libtg_owt-git PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
index b1b1c8e..1fa9e92 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,30 @@
# Maintainer: Jiachen YANG <farseerfc at archlinux dot org>
+# Contributor: Giovanni 'ItachiSan' Santini <giovannisantini93 at yahoo dot it>
_pkgname=libtg_owt
pkgname=${_pkgname}-git
@ItachiSan
ItachiSan / changes.diff
Created January 7, 2019 20:12
Franz tweaking and clean-ups
diff --git a/PKGBUILD b/PKGBUILD
index 1e83eb3..603b4b8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,44 +1,55 @@
-# Maintainer: Filipe Laíns (FFY00) <lains@archlinux.org>
+# Maintainer: Giovanni 'ItachiSan' Santini <giovannisantini93@yahoo.it>
+# Contributor: Filipe Laíns (FFY00) <lains@archlinux.org>
# Contributor: Pieter Goetschalckx <3.14.e.ter <at> gmail <dot> com>
@ItachiSan
ItachiSan / franz_fixes.diff
Last active August 18, 2018 22:35
Fixes to AUR *franz* package: better variable handling, removing unused and adding necessary dependencies, avoid clutter user folders
diff --git a/PKGBUILD b/PKGBUILD
index ecbd55d..9c66e9c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,30 +2,34 @@
# Contributor: Pieter Goetschalckx <3.14.e.ter <at> gmail <dot> com>
pkgname=franz
-_pkgver=5.0.0-beta.18
-pkgver=${_pkgver//-/_}
@ItachiSan
ItachiSan / error.log
Last active July 13, 2018 22:51
Minimal build failure on ArchLinux
# Assuming that all the sources are downloaded and the configuration is done
$ cd src/tdesktop/out/Release/
$ make clean
$ make VERBOSE=1 lib_export
/usr/bin/cmake -H/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release -B/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release --check-build-system CMakeFiles/Makefile.cmake 0
make -f CMakeFiles/Makefile2 lib_export
make[1]: ingresso nella directory "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release"
/usr/bin/cmake -H/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release -B/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/CMakeFiles 1
make -f CMa
@ItachiSan
ItachiSan / lfg.py
Last active May 24, 2018 20:38
LFGSpider WIP
# -*- coding: utf-8 -*-
import scrapy
class Comic(scrapy.Item):
name = scrapy.Field()
volumes = scrapy.Field()
volumes_selectors = scrapy.Field()
class Volume(scrapy.Item):
name = scrapy.Field()
@ItachiSan
ItachiSan / changelog_full.txt
Created April 8, 2014 09:28
FM Radio changelog - CM9 framework_base
This is a combination of 41 commits.
1) frameworks/base: Add support for FM Radio feature and FM Tx Device
- Enhanced Android framework to support FM Radio playback.
- Added support for audio playback on FM Tx device
- This change is merge of below commits:
commit 3fb81cbd00ea97fbfb7ff5918320848d1e8437ce
Author: Sidipotu Ashok <sashok@codeaurora.org>
@ItachiSan
ItachiSan / changelog.txt
Created April 8, 2014 07:21
fm_radio_changelog
commit 1e11a32ffa182e6ed82822f8a3a6ab4abc2a05e1
Author: Giovanni Santini <giovannisantini93@yahoo.it>
Date: Mon Apr 7 20:12:24 2014 +0200
Removed old QCOM FM stuff
Change-Id: Ia7be5296d895567ffa39ee28bd904a720fbb2bf4
commit 8d222da02b09c1373092e5bc653c4bb833129e48
Author: Giovanni Santini <giovannisantini93@yahoo.it>