Skip to content

Instantly share code, notes, and snippets.

View stratosgear's full-sized avatar
🥥

Stratos Gerakakis stratosgear

🥥
View GitHub Profile
@stratosgear
stratosgear / i3lock.strace
Created April 26, 2024 22:17
i3lock --debug
➜ strace -t -o i3lock.strace i3lock -n --debug
[i3lock-debug] device = 3
[i3lock-debug] Resource Xft.dpi not specified, skipping.
[i3lock-debug] Using fallback for calculating DPI.
[i3lock-debug] Using dpi = 96
[i3lock-debug] Querying monitors using RandR 1.5
[i3lock-debug] 1 RandR monitors found (timestamp 8083)
[i3lock-debug] found RandR monitor: 2256 x 1504 at 0 x 0
[i3lock-debug] scaling_factor is 1, physical diameter is 190 px
@stratosgear
stratosgear / gist:2d1d550ff008e4da9ca1287658608e06
Created June 30, 2022 12:43
oathkeeper/07-traefik-decision error log
➜ docker-compose up
[+] Running 8/8
⠿ Container 07-traefik-decision-mailslurper-1 Created 0.8s
⠿ Container 07-traefik-decision-postgres-kratos-1 Created 1.0s
⠿ Container 07-traefik-decision-kratos-selfservice-ui-node-1 Created 0.9s
⠿ Container traefik Created 0.9s
⠿ Container 07-traefik-decisio
{
"openapi": "3.0.2",
"info": {
"title": "rapidxmm",
"version": "0.2.45",
"description": "API server for upper limits requests, currently supporting XMM only"
},
"paths": {
"/api/v1/version": {
"get": {
[tool.poetry]
name = "XXXXX"
version = "1.2.3"
description = "Project description"
authors = ["me <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.7"
fastapi= "^0.39.0"
@stratosgear
stratosgear / paypal_experience.md
Last active July 29, 2019 15:26
Ask HN: Is this Paypal experience customary?

Here is a succinct timeline of the events.

  • I received a Paypal notification that 600 USD were deposited on my account.
  • I was not expecting any money, so I logged in to see what this is about.
  • Apparently someone paid me for an item they bought on Ebay.
  • The information contained on my Paypal account about the transaction, did NOT contain any information on what this is about.
  • I am NOT an Ebay seller, so I have nothing else to follow this up.
  • My first thought (apart from quickly spending the money) was that some poor soul after thinking that they have paid for an item they would wait for ever for an item they thought they purchased, only to never receive it.
  • So I spent some considerable amount of time trying to locate the seller from their name only (did not have an email) by googling around, to clarify the issue
  • As it was getting late, I left the issue to continue the next day.
2019-03-22 09:47:58 - [sway-1.0/sway/main.c:153] Linux serenity 5.0.2-arch1-1-ARCH #1 SMP PREEMPT Thu Mar 14 18:47:49 UTC 2019 x86_64 GNU/Linux
2019-03-22 09:47:58 - [sway-1.0/sway/main.c:169] Contents of /etc/os-release:
2019-03-22 09:47:58 - [sway-1.0/sway/main.c:153] NAME="Arch Linux"
2019-03-22 09:47:58 - [sway-1.0/sway/main.c:153] PRETTY_NAME="Arch Linux"
2019-03-22 09:47:58 - [sway-1.0/sway/main.c:153] ID=arch
2019-03-22 09:47:58 - [sway-1.0/sway/main.c:153] BUILD_ID=rolling
2019-03-22 09:47:58 - [sway-1.0/sway/main.c:153] ANSI_COLOR="0;36"
2019-03-22 09:47:58 - [sway-1.0/sway/main.c:153] HOME_URL="https://www.archlinux.org/"
2019-03-22 09:47:58 - [sway-1.0/sway/main.c:153] DOCUMENTATION_URL="https://wiki.archlinux.org/"
2019-03-22 09:47:58 - [sway-1.0/sway/main.c:153] SUPPORT_URL="https://bbs.archlinux.org/"
planet diameter
Mercury 4878
Venus 12104
Earth 12760
Mars 6787
Jupiter 139822
Saturn 120500
Uranus 51120
Neptune 49530
Pluto 2301
@stratosgear
stratosgear / rpi3_iot_server.md
Created January 20, 2019 20:07 — forked from xoseperez/rpi3_iot_server.md
Raspberry Pi 3 with Mosquitto, Node-RED, InfluxDB, Grafana and Nginx (as a reverse proxy)
@stratosgear
stratosgear / Stylefile.yml
Created August 2, 2018 08:19
Customizations for github.com via StyleURL.
---
version: 1.0
domains:
- github.com
url_patterns:
- github.com/*
timestamp: '2018-08-02T08:18:47Z'
id: Wm7V
redirect_url: https://github.com/
shared_via: StyleURL - (https://styleurl.app) import and export CSS changes from Chrome

Keybase proof

I hereby claim:

  • I am stratosgear on github.
  • I am stratos (https://keybase.io/stratos) on keybase.
  • I have a public key ASC1YwttjT2zx5AkBxgXveFn9AEOlliC1QHnEyCbAsUYyQo

To claim this, I am signing this object: