Skip to content

Instantly share code, notes, and snippets.

View wlanowski's full-sized avatar

John Nitzsche wlanowski

View GitHub Profile
@wlanowski
wlanowski / txt
Created April 28, 2024 10:48
Journalctl Bug Missing System Tray Icon Snap Kubuntu
Apr 28 12:39:06 john-xmgneo systemd[1845]: Started app-spotify_spotify-ced8cad17e4342d091f02cbe5b6499cd.scope - Spotify - Music Player.
Apr 28 12:39:06 john-xmgneo systemd[1845]: Started snap.spotify.spotify-111b9437-a359-4259-ab4e-5e6bc630be5c.scope.
Apr 28 12:39:06 john-xmgneo kernel: kauditd_printk_skb: 95 callbacks suppressed
Apr 28 12:39:06 john-xmgneo kernel: audit: type=1400 audit(1714300746.184:240): apparmor="DENIED" operation="capable" class="cap" profile="/usr/lib/snapd/snap-confine" pid=3308 comm="snap-confine" capability=12 capname="net_admin"
Apr 28 12:39:06 john-xmgneo kernel: audit: type=1400 audit(1714300746.184:241): apparmor="DENIED" operation="capable" class="cap" profile="/usr/lib/snapd/snap-confine" pid=3308 comm="snap-confine" capability=38 capname="perfmon"
Apr 28 12:39:06 john-xmgneo kernel: audit: type=1326 audit(1714300746.364:242): auid=1000 uid=1000 gid=1000 ses=4 subj=snap.spotify.spotify pid=3379 comm="spotify" exe="/snap/spotify/75/usr/share/spotify/spotify" sig=0 arch=c00000
@wlanowski
wlanowski / txt
Created September 8, 2023 15:28
Error chat-martha special chars utf-8
chat-martha-chatgpt-telegram-bot-1 | Traceback (most recent call last):
chat-martha-chatgpt-telegram-bot-1 | File "/app/bot/main.py", line 100, in <module>
chat-martha-chatgpt-telegram-bot-1 | main()
chat-martha-chatgpt-telegram-bot-1 | File "/app/bot/main.py", line 13, in main
chat-martha-chatgpt-telegram-bot-1 | load_dotenv()
chat-martha-chatgpt-telegram-bot-1 | File "/usr/local/lib/python3.9/site-packages/dotenv/main.py", line 346, in load_dotenv
chat-martha-chatgpt-telegram-bot-1 | return dotenv.set_as_environment_variables()
chat-martha-chatgpt-telegram-bot-1 | File "/usr/local/lib/python3.9/site-packages/dotenv/main.py", line 91, in set_as_environment_variables
chat-martha-chatgpt-telegram-bot-1 | if not self.dict():
chat-martha-chatgpt-telegram-bot-1 | File "/usr/local/lib/python3.9/site-packages/dotenv/main.py", line 75, in dict
@wlanowski
wlanowski / txt
Created May 17, 2023 16:18
access.log
89.211.xxx.xxx 3587662 - [15/May/2023:23:46:45 +0200] "POST /wp-login.php HTTP/2.0" 302 1111 "XXX" "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 wp-iphone/22.3" superbitch380.de 2.529 "[fda0:9a52:10d1:103::1]:10001" text/html; charset=UTF-8 0.000/2.529 302 atGAszyzr2StJD2Tbl -
89.211.xxx.xxx 3587662 - [15/May/2023:23:46:45 +0200] "GET /wp-json/wp/v2/media/10258?context=edit&_locale=user HTTP/2.0" 401 709 "XXX" "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 wp-iphone/22.3" superbitch380.de 2.570 "[fda0:9a52:10d1:103::1]:10001" application/json; charset=UTF-8 0.000/2.570 401 at06U4rCigprmx17ZB -
89.211.xxx.xxx 3587662 - [15/May/2023:23:46:45 +0200] "GET /wp-json/wp/v2/media/10266?context=edit&_locale=user HTTP/2.0" 401 710 "XXX" "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 wp-iphone/22.3" superbitch380.de 2.624 "[
@wlanowski
wlanowski / txt
Created May 17, 2023 16:16
Fail2ban-Log (on Server)
2023-05-15 23:46:43,984 fail2ban.filter [1109]: INFO [nginx-wplogin-https] Found 89.211.xxx.xxx - 2023-05-15 23:46:43
2023-05-15 23:46:44,005 fail2ban.filter [1109]: INFO [nginx-wplogin-https] Found 89.211.xxx.xxx - 2023-05-15 23:46:43
2023-05-15 23:46:44,027 fail2ban.filter [1109]: INFO [nginx-wplogin-https] Found 89.211.xxx.xxx - 2023-05-15 23:46:43
2023-05-15 23:46:44,356 fail2ban.filter [1109]: INFO [nginx-wplogin-https] Found 89.211.xxx.xxx - 2023-05-15 23:46:43
2023-05-15 23:46:44,376 fail2ban.filter [1109]: INFO [nginx-wplogin-https] Found 89.211.xxx.xxx - 2023-05-15 23:46:44
2023-05-15 23:46:44,401 fail2ban.filter [1109]: INFO [nginx-wplogin-https] Found 89.211.xxx.xxx - 2023-05-15 23:46:44
2023-05-15 23:46:44,439 fail2ban.filter [1109]: INFO [nginx-wplogin-https] Found 89.211.xxx.xxx - 2023-05-15 23:46:44
2023-05-15 23:46:44,459 fail2ban.filter [1109]: INFO [nginx-wplogin-https] Found 89.211.xxx.xxx - 2023-05-15 23:46:44
2023-05-15 23:46:44,488 fail2ban.filter [1109]: INFO [nginx-wplogin-https] Found
`
### wp-core ###
version: 6.2.1
site_language: de_DE
user_language: de_DE
timezone: Europe/Berlin
permalink: /%category%/%postname%
https_status: true
multisite: false
<!DOCTYPE html>
<html lang="de-DE">
<head>
<meta charset='UTF-8'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' />
<!-- This site is optimized with the Yoast SEO plugin v19.14 - https://yoast.com/wordpress/plugins/seo/ -->
<!-- wp:paragraph -->
<p>Gallery no captions</p>
<!-- /wp:paragraph -->
<!-- wp:gallery {"linkTo":"none"} -->
<figure class="wp-block-gallery has-nested-images columns-default is-cropped"><!-- wp:image {"id":10047,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://superbitch380.de/wp-content/uploads/2023/01/img_0082-1024x768.jpg" alt="" class="wp-image-10047"/></figure>
<!-- /wp:image -->
<!-- wp:image {"id":10046,"sizeSlug":"large","linkDestination":"none"} -->
@wlanowski
wlanowski / txt
Created January 12, 2023 13:18
Site Health report superbitch380.de
`
### wp-core ###
version: 6.1.1
site_language: de_DE
user_language: de_DE
timezone: Europe/Berlin
permalink: /%category%/%postname%
https_status: true
multisite: false
<!-- wp:paragraph -->
<p>First Gallery - without captions - Working</p>
<!-- /wp:paragraph -->
<!-- wp:gallery {"linkTo":"none"} -->
<figure class="wp-block-gallery has-nested-images columns-default is-cropped"><!-- wp:image {"id":10048,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://superbitch380.de/wp-content/uploads/2023/01/img_0059-768x1024.jpg" alt="" class="wp-image-10048"/></figure>
<!-- /wp:image -->
<!-- wp:image {"id":10045,"sizeSlug":"large","linkDestination":"none"} -->
@wlanowski
wlanowski / txt
Created January 11, 2023 11:19
Wordpress Gallery Report
`
<!-- wp:paragraph -->
<p>First Gallery - without captions - Working</p>
<!-- /wp:paragraph -->
<!-- wp:gallery {"linkTo":"none"} -->
<figure class="wp-block-gallery has-nested-images columns-default is-cropped"><!-- wp:image {"id":10048,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://superbitch380.de/wp-content/uploads/2023/01/img_0059-768x1024.jpg" alt="" class="wp-image-10048"/></figure>
<!-- /wp:image -->