Skip to content

Instantly share code, notes, and snippets.

View mwarzynski's full-sized avatar

Mateusz Warzyński mwarzynski

View GitHub Profile
Fluent Bit v2.1.5
* Copyright (C) 2015-2022 The Fluent Bit Authors
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
* https://fluentbit.io
[2023/06/18 02:48:26] [ info] Configuration:
[2023/06/18 02:48:26] [ info] flush time | 1.000000 seconds
[2023/06/18 02:48:26] [ info] grace | 5 seconds
[2023/06/18 02:48:26] [ info] daemon | 0
[2023/06/18 02:48:26] [ info] ___________
@mwarzynski
mwarzynski / aur-telepresence-v0.96.patch
Last active January 24, 2019 01:22
Upgrade Telepresence to v0.96 in AUR (Arch Linux user repository) build.
From 992b3e8645029dd755cda349cc57b4d96ee3871d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mateusz=20Warzy=C5=84ski?= <mathew.warzynski@gmail.com>
Date: Fri, 18 Jan 2019 20:04:19 +0100
Subject: [PATCH] Upgrade to v0.96
---
.SRCINFO | 8 ++++----
PKGBUILD | 7 +++----
new_ver.txt | 2 +-
3 files changed, 8 insertions(+), 9 deletions(-)
#!/bin/bash
import png:- | xclip -selection c -target image/png -i
# However, you may also use 'flameshot'.
#!/usr/bin/python3.5
# -*- coding: utf-8 -*-
# keywords: unwrap lines, OCR, pdftotext
import sys
import os
import re
def txt_unwrap_lines():
@mwarzynski
mwarzynski / gopath.sh
Created March 3, 2017 00:51
Automatically setting Golang envs.
#!/bin/bash
DIRECTORY=${PWD}
export GOROOT=/usr/local/go
export GOPATH=$(echo $DIRECTORY | awk -F'/src/' '{print $1}')
CHANGED=0
if [[ $PATH != *$GOROOT* ]]; then
echo "adding GOROOT/bin to PATH"