Skip to content

Instantly share code, notes, and snippets.

View barthalion's full-sized avatar
🐌
I may be slow to respond

Bart Piotrowski barthalion

🐌
I may be slow to respond
View GitHub Profile
#!/usr/bin/python3 -u
# -*- mode: Python; coding: utf-8 -*-
# Fix issues with missing OSTree objects
#
# Copyright (C) 2017 Endless Mobile, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
#!/bin/bash
cxx_packages() {
while read pkg; do
mapfile -t files < <(pacman -Qlq $pkg | grep -v /$)
grep -Fq libstdc++.so.6 "${files[@]}" <&- 2>/dev/null && echo $pkg
done < <(pacman -Qmq)
}
while read pkg; do

Keybase proof

I hereby claim:

  • I am barthalion on github.
  • I am barthalion (https://keybase.io/barthalion) on keybase.
  • I have a public key whose fingerprint is F369 1687 D867 B81B 51CE 07D9 BBE4 3771 4873 28A9

To claim this, I am signing this object:

@barthalion
barthalion / valgrind.log
Created June 11, 2014 09:35
profanity 0.4.2 valgrind
==11272== Memcheck, a memory error detector
==11272== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==11272== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
==11272== Command: profanity
==11272== Parent PID: 6628
==11272==
==11272== Invalid read of size 4
==11272== at 0x427D32: autocomplete_param_with_ac (autocomplete.c:226)
==11272== by 0x420650: cmd_autocomplete (command.c:1537)
==11272== by 0x4196FA: inp_get_char (inputwin.c:514)