Skip to content

Instantly share code, notes, and snippets.

View christianlupus's full-sized avatar

Christian Wolf christianlupus

  • Saarland University
  • Saarbrücken, Germany
View GitHub Profile
@christianlupus
christianlupus / README.md
Last active July 14, 2019 13:20
Debugging session of cups with Brother Ql-500 and wrong page size

Exact setup

There are 2 machines involved:

  • 192.168.0.249
  • 192.168.0.246 aka localhost

The printer ist physically installed on the 249 machie.

On both machines CUPS is installed and running.

diff --git a/PKGBUILD b/PKGBUILD
index 97400e2..53ae83d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,7 +25,8 @@ source=("$name::git+https://github.com/NatronGitHub/Natron.git#commit=$com"
sha512sums=('SKIP'
'3150970fe1de1c30fe6e58b999249c6c1157c7f60b6e21c316e6690112aabc0d2908f1735f9b51cc70611297a25cefc59d57dbbe4b7155f8775700d12372ae5d'
- '9ec6c75d0bba8b139f4373e13357a9bb34b41ff2accd0365e09d9a517d93f93090f2a8784ff7bdde2cfbebbc3bad2c06d07563231710e18ff6cdedbfc7b42bee')
+ 'SKIP')
diff --git a/PKGBUILD b/PKGBUILD
index c8c0f64..51feb86 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,7 @@ source=("https://core.tcl-lang.org/tcllib/uv/tcllib-$pkgver.tar.gz")
sha256sums=('01fe87cf1855b96866cf5394b6a786fd40b314022714b34110aeb6af545f6a9c')
package(){
- cd "$srcdir"/tcllib-tcllib-${pkgver/./-}
+ cd "$srcdir"/tcllib-${pkgver}
{"name":"H\u00e4hnchenfilet mit Kartoffel-Bohnen-Salat","image":"https:\/\/img.chefkoch-cdn.de\/ck.de\/rezepte\/219\/219330\/820464-960x720-haehnchenfilet-mit-kartoffel-bohnen-salat.jpg","keywords":"","recipeYield":4,"recipeIngredient":["500,00 g Kartoffel(n) ","1,00 Knoblauchzehe(n) , zerdr\u00fcckt","80,00 ml Oliven\u00f6l ","1,00 EL Wei\u00dfweinessig ","1,00 EL Mayonnaise ","1,00 TL Dijonsenf ","1,00 Bund Rucola ","500,00 g H\u00e4hnchenbrustfilet(s) , in W\u00fcrfel geschnitten","400,00 g Bohnen , gr\u00fcne","2,00 Tomate(n) , in Achtel geschnitten","1,00 EL Kapern , kleine","25,00 g Butter "],"@context":"http:\/\/schema.org","@type":"Recipe","dailyDozen":"","recipeInstructions":[]}
@christianlupus
christianlupus / smart.sdl
Created August 21, 2019 07:49
Smart output of hdd
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-5.2.2-arch1-1-ARCH] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Hitachi Ultrastar A7K2000
Device Model: Hitachi HUA722020ALA331
Serial Number: YBKVP82F
LU WWN Device Id: 5 000cca 221f667f8
Firmware Version: JKAOA3NH
User Capacity: 2.000.398.934.016 bytes [2,00 TB]
==> Using [aur] repository
-> patchbay: 8.0.1-3 -> 8.1.0-1
==> Retrieving package files
Von https://aur.archlinux.org/patchbay
= [aktuell] master -> origin/master
/tmp/view.Hq0UdBDB/patchbay
/tmp/view.Hq0UdBDB/patchbay/patchbay.desktop
/tmp/view.Hq0UdBDB/patchbay/.SRCINFO
/tmp/view.Hq0UdBDB/patchbay/src
/tmp/view.Hq0UdBDB/patchbay/.git
[234329.523877] INFO: task Xorg:103414 blocked for more than 122 seconds.
[234329.523879] Tainted: G W OE 5.3.7-arch1-1-ARCH #1
[234329.523879] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[234329.523880] Xorg D 0 103414 1926 0x00004000
[234329.523881] Call Trace:
[234329.523886] ? __schedule+0x27f/0x6d0
[234329.523888] schedule+0x43/0xd0
[234329.523889] io_schedule+0x12/0x40
[234329.523891] wait_on_page_bit+0x139/0x220
[234329.523892] ? add_to_page_cache_lru+0xc0/0xc0
*********************** Log Started 2020-03-19T07:04:39Z ***********************
07:04:39:************************* Folding@home Client *************************
07:04:39: Website: https://foldingathome.org/
07:04:39: Copyright: (c) 2009-2018 foldingathome.org
07:04:39: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
07:04:39: Args:
07:04:39: Config: /var/lib/fah/config.xml
07:04:39:******************************** Build ********************************
07:04:39: Version: 7.5.1
07:04:39: Date: May 11 2018
version: "3"
services:
app:
image: mhubig/partkeepr:latest
environment:
- PARTKEEPR_DATABASE_HOST=db
- PARTKEEPR_DATABASE_NAME=partkeepr
- PARTKEEPR_DATABASE_PORT=3306
- PARTKEEPR_DATABASE_USER=partkeepr
@christianlupus
christianlupus / Error.log
Created April 1, 2020 16:26
Nextcloud Notes
App Version: 2.11.3
App Version Code: 2011003
Files App Version Code: 30110090
---
OS Version: 3.18.120-perf-g0e12ed5(V10.0.18.0.PDLMIXM)
OS API Level: 28
Device: daisy_sprout
Model (and Product): Mi A2 Lite (daisy)