Skip to content

Instantly share code, notes, and snippets.

Mateusz Warzyński mwarzynski

Block or report user

Report or block mwarzynski

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mwarzynski
mwarzynski / aur-telepresence-v0.96.patch
Last active Jan 24, 2019
Upgrade Telepresence to v0.96 in AUR (Arch Linux user repository) build.
View aur-telepresence-v0.96.patch
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(-)
View txt_unwrap_lines.py
#!/usr/bin/python3.5
# -*- coding: utf-8 -*-
# keywords: unwrap lines, OCR, pdftotext
import sys
import os
import re
def txt_unwrap_lines():
View print_screen.sh
#!/bin/bash
import png:- | xclip -selection c -target image/png -i
# However, you may also use 'flameshot'.
@mwarzynski
mwarzynski / gopath.sh
Created Mar 3, 2017
Automatically setting Golang envs.
View gopath.sh
#!/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"
You can’t perform that action at this time.