Skip to content

Instantly share code, notes, and snippets.

View GladOSkar's full-sized avatar
🌳
We do what we must because we can

Oskar GladOSkar

🌳
We do what we must because we can
  • Berlin, Germany
  • 04:25 (UTC +02:00)
View GitHub Profile

Neuheiten reduzieren

  1. .zip aus Cloud herunterladen
  2. .zip in "Downloads" mit rechtsklick > "Alle extrahieren..." entpacken
  3. in den neuen Ordner wechseln und das PDF per rechtsklick > "Edit with PDF Architect 5" öffnen
  4. Zu löschende Seiten mit "Strg"-Taste auswählen
  5. Rechtsklick auf die ausgewählten Seiten > Löschen

Externe Excel-Datei referenzieren

@GladOSkar
GladOSkar / i3-powerline.patch
Created July 25, 2018 19:36
Patch to make powerline separators span the full height in the i3bar
diff --git a/libi3/font.c b/libi3/font.c
index 81091ea7..cd04f1c5 100644
--- a/libi3/font.c
+++ b/libi3/font.c
@@ -86,18 +86,20 @@ static bool load_pango_font(i3Font *font, const char *desc) {
static void draw_text_pango(const char *text, size_t text_len,
xcb_drawable_t drawable, xcb_visualtype_t *visual, int x, int y,
int max_width, bool pango_markup) {
+ bool separator = (text[0] == ""[0]);
/* Create the Pango layout */
@GladOSkar
GladOSkar / i3-powerline.patch
Last active September 3, 2020 07:29
Patch to make powerline separators span the full height in the i3bar - Very hacky, use at own risk! - Designed for use with greshake/i3status-rust - Only tested on 1080p wo/ scaling
diff --git a/libi3/font.c b/libi3/font.c
index 81091ea7..cd04f1c5 100644
--- a/libi3/font.c
+++ b/libi3/font.c
@@ -86,18 +86,20 @@ static bool load_pango_font(i3Font *font, const char *desc) {
static void draw_text_pango(const char *text, size_t text_len,
xcb_drawable_t drawable, xcb_visualtype_t *visual, int x, int y,
int max_width, bool pango_markup) {
+ bool separator = (text[0] == ""[0]);
/* Create the Pango layout */
@GladOSkar
GladOSkar / jettest.cpp
Last active January 11, 2019 11:11
CPP inheritance tests
#include <iostream>
using namespace std;
class Tier {
public:
int id;
virtual ~Tier() = default;
Tier(int x) {
id = x;
}

Keybase proof

I hereby claim:

  • I am gladoskar on github.
  • I am gladoskar (https://keybase.io/gladoskar) on keybase.
  • I have a public key ASAIkQquNxYVq8gqqXNjIEoeh3mtRwZMb4-rOBrh66_6PQo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am gladoskar on github.
  • I am gladoskar (https://keybase.io/gladoskar) on keybase.
  • I have a public key ASAIkQquNxYVq8gqqXNjIEoeh3mtRwZMb4-rOBrh66_6PQo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am gladoskar on github.
  • I am gladoskar (https://keybase.io/gladoskar) on keybase.
  • I have a public key ASAIkQquNxYVq8gqqXNjIEoeh3mtRwZMb4-rOBrh66_6PQo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am gladoskar on github.
  • I am gladoskar (https://keybase.io/gladoskar) on keybase.
  • I have a public key ASAIkQquNxYVq8gqqXNjIEoeh3mtRwZMb4-rOBrh66_6PQo

To claim this, I am signing this object:

[Character Name] – [Player Name]

Priority

Metatype Attributes Mag/Res Skills Resources
D B E A C

Personal Details