Skip to content

Instantly share code, notes, and snippets.

@ardevd
ardevd / PKGBUILD
Created Feb 10, 2020
nexus PKGBUILD
View PKGBUILD
# Maintainer: PAPPY <pappy _AT_ a s c e l i o n _DOT_ com>
_version=2.14.13
_patch=01
pkgname=nexus
pkgver=${_version}.${_patch}
pkgvername=${_version}-${_patch}
pkgrel=1
pkgdesc="Nexus 2 Repository Manager (OSS)"
@ardevd
ardevd / verbose_output.log
Created Sep 20, 2019
emulator crash with verbose
View verbose_output.log
emulator: Android emulator version 29.2.0.0 (build_id 5871853) (CL:N/A)
emulator: Found AVD name 'Pixel_3a_API_28'
emulator: Found AVD target architecture: x86
emulator: argv[0]: './emulator'; program directory: '/home/user/android/sdk/emulator'
emulator: Found directory: /home/user/android/sdk/system-images/android-28/google_apis_playstore/x86/
emulator: emuDirName: '/home/user/android/sdk/emulator'
emulator: Found directory: /home/user/android/sdk/system-images/android-28/google_apis_playstore/x86/
emulator: Probing for /home/user/android/sdk/system-images/android-28/google_apis_playstore/x86//kernel-ranchu-64: file exists
@ardevd
ardevd / output.log
Created Sep 20, 2019
emulator crash on sway
View output.log
emulator: Android emulator version 29.2.0.0 (build_id 5871853) (CL:N/A)
emulator: Found AVD name 'Pixel_3a_API_28'
emulator: Found AVD target architecture: x86
emulator: argv[0]: './emulator'; program directory: '/home/user/android/sdk/emulator'
emulator: Found directory: /home/user/android/sdk/system-images/android-28/google_apis_playstore/x86/
emulator: emuDirName: '/home/user/android/sdk/emulator'
emulator: Found directory: /home/user/android/sdk/system-images/android-28/google_apis_playstore/x86/
emulator: Probing for /home/user/android/sdk/system-images/android-28/google_apis_playstore/x86//kernel-ranchu-64: file exists
View io.java
byte dataBuffer[] = new byte[1024];
int bytesRead;
while ((bytesRead = in.read(dataBuffer, 0, 1024)) != -1) {
fileOutputStream.write(dataBuffer, 0, bytesRead);
}
@ardevd
ardevd / nextcloud_permissions.sh
Created Feb 8, 2018
NextCloud folder permissions
View nextcloud_permissions.sh
#!/bin/bash
ncpath='/var/www/nextcloud'
htuser='www-data'
htgroup='www-data'
rootuser='root'
printf "Creating possible missing Directories\n"
mkdir -p $ncpath/data
mkdir -p $ncpath/updater
View gist:b3467bc575b42585694b492262667cbd
[ 2.159958] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4758]
[ 2.191749] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1094..]
[ 2.191752] psmouse serio1: synaptics: Your touchpad (PNP: LEN0073 PNP0f13) says it can support a different bus. If i2c-hid and hid-rmi are not used, you might want to try setting psmouse.synaptics_intertouch to 1 and report this to linux-input@vger.kernel.org.
[ 2.256433] psmouse serio1: synaptics: Touchpad model: 1, fw: 8.2, id: 0x1e2a1, caps: 0xf003a3/0x940300/0x12e800/0x0, board id: 3288, fw id: 2538625
[ 2.256440] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0
[ 2.667386] psmouse serio2: Failed to reset mouse on synaptics-pt/serio0
[ 8.243340] psmouse serio2: Failed to enable mouse on synaptics-pt/serio0
[ 61.414323] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 61.415572] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[
View gist:64bc7c52a76d1bc1246bb7a82f61a035
Applying: Input: silead: Add support for capactive home button found on some x86 tablets
Applying: Input: goodix: Add support for capacitive home button
Applying: Input: gpio_keys - Do not report wake button presses as evdev events
Applying: iio: accel: bmc150: Add support for BOSC0200 ACPI device id
Applying: mmc: sdhci-acpi: Workaround conflict with PCI wifi on GPD Win handheld
Applying: i2c-cht-wc: Add Intel Cherry Trail Whierror: patch failed: drivers/input/rmi4/rmi_smbus.c:322
error: drivers/input/rmi4/rmi_smbus.c: patch does not apply
skey Cove SMBUS controller driver
Applying: Input: silead: Do not try to directly access the GPIO when using ACPI pm
Applying: HID: rmi: Make sure the HID device is opened on resume
View gist:e3f8072c36d77d8e09dff354c5fbf488
Applying: Input: goodix: Add support for capacitive home button
Applying: Input: gpio_keys - Do not report wake button presses as evdev events
Applying: iio: accel: bmc150: Add support for BOSC0200 ACPI device id
Applying: mmc: sdhci-acpi: Workaround conflict with PCI wifi on GPD Win handheld
Applying: i2c-cht-wc: Add Intel Cherry Trail Whifatal: empty ident name (for <>) not allowed
skey Cove SMBUS controller driver
Applying: Input: silead: Do not try to directly access the GPIO when using ACPI pm
Applying: HID: rmi: Make sure the HID device is opened on resume
Applying: Input: rmi4 - remove the need for artificial IRQ in case of HID
Applying: Fix for module sig verification
View gist:955e75d81b04b0c4beb7ec06d9afc239
Applying: Input: gpio_keys - Do not report wake button presses as evdev events
Applying: iio: accel: bmc150: Add support for BOSC0200 ACPI device id
Applying: mmc: sdhci-acpi: Workaround conflict with PCI wifi on GPD Win handheld
Applying: i2c-cht-wc: Add Intel Cherry Trail Whierror: patch failed: drivers/input/mouse/synaptics.c:173
error: drivers/input/mouse/synaptics.c: patch does not apply
error: patch failed: drivers/input/rmi4/rmi_smbus.c:322
error: drivers/input/rmi4/rmi_smbus.c: patch does not apply
skey Cove SMBUS controller driver
Applying: Input: silead: Do not try to directly access the GPIO when using ACPI pm
Applying: HID: rmi: Make sure the HID device is opened on resume
View keybase.md

Keybase proof

I hereby claim:

  • I am ardevd on github.
  • I am edvard (https://keybase.io/edvard) on keybase.
  • I have a public key ASDfHaeo6JTt5AhAx86GDy6z8JY4okgOmyRkKEoXU5LJRAo

To claim this, I am signing this object: