Skip to content

Instantly share code, notes, and snippets.

@shrx
shrx / organize_w
Created October 4, 2016 09:41 — forked from Jacob-Vlijm/w_resize.py
window resize script for XFCE (Xubuntu), depends on wmctrl
#!/usr/bin/env python3
import subprocess
import sys
titleHeight = 12
arg = sys.argv[1]
def get(command):
return subprocess.check_output(["/bin/bash", "-c", command]).decode("utf-8")
@shrx
shrx / # moreutils - 2016-09-14_11-01-32.txt
Created September 14, 2016 09:09
moreutils on Mac OS X 10.10.5 - Homebrew build logs
Homebrew build logs for moreutils on Mac OS X 10.10.5
Build date: 2016-09-14 11:01:32
@shrx
shrx / # matplotlib - 2016-04-20_09-42-11.txt
Created April 20, 2016 07:58
matplotlib (homebrew/python/matplotlib) on Mac OS X 10.10.5 - Homebrew build logs
Homebrew build logs for homebrew/python/matplotlib on Mac OS X 10.10.5
Build date: 2016-04-20 09:42:11
@shrx
shrx / gist:4ff89d3a7b204abb8991
Created June 14, 2014 13:56
Second try building Cockatrice on OS X
cmake ..
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is Clang 5.1.0
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/local/bin/gcc-4.2
-- Check for working C compiler: /usr/local/bin/gcc-4.2 -- works
-- Detecting C compiler ABI info
@shrx
shrx / gist:a907b6b9707167b43bd1
Created June 14, 2014 12:57
OS X Cockatrice build log
cmake ..
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is Clang 5.1.0
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/local/bin/gcc-4.2
-- Check for working C compiler: /usr/local/bin/gcc-4.2 -- works
-- Detecting C compiler ABI info
@shrx
shrx / brew doctor
Created October 20, 2013 16:55
for glib-networking
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
/opt/local/bin/ncurses5-config
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by glib-networking configure 2.38.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --disable-dependency-tracking --without-ca-certificates --prefix=/usr/local/Cellar/glib-networking/2.38.1
## --------- ##
## Platform. ##
/usr/bin/env perl -e use XML::Parser
/usr/bin/env perl -e use XML::Parser
==> Downloading http://ftp.gnome.org/pub/GNOME/sources/glib-networking/2.38/glib-networking-2.38.1.tar.xz
Already downloaded: /Library/Caches/Homebrew/glib-networking-2.38.1.tar.xz
/usr/local/opt/xz/bin/xz -dc "/Library/Caches/Homebrew/glib-networking-2.38.1.tar.xz" | tar xf -
==> ./configure --disable-dependency-tracking --without-ca-certificates --prefix=/usr/local/Cellar/glib-networking/2.38.1
./configure --disable-dependency-tracking --without-ca-certificates --prefix=/usr/local/Cellar/glib-networking/2.38.1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
@shrx
shrx / gist:1878222
Created February 21, 2012 19:10
d-bus make install failure (after the 4c8d3e8 fix)
==> Downloading http://dbus.freedesktop.org/releases/dbus/dbus-1.4.18.tar.gz
File already downloaded in /Users/differenxe/Library/Caches/Homebrew
/usr/bin/tar xf /Users/differenxe/Library/Caches/Homebrew/d-bus-1.4.18.tar.gz
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/d-bus/1.4.18 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc --disable-xml-docs --disable-doxygen-docs --enable-launchd --with-launchd-agent-dir=/usr/local/Cellar/d-bus/1.4.18 --without-x --disable-tests
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/d-bus/1.4.18 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc --disable-xml-docs --disable-doxygen-docs --enable-launchd --with-launchd-agent-dir=/usr/local/Cellar/d-bus/1.4.18 --without-x --disable-tests
checking build system type... x86_64-apple-darwin10.8.0
checking host system type... x86_64-apple-darwin10.8.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checki
@shrx
shrx / gist:1876317
Created February 21, 2012 12:42
d-bus 1.4.18 make failure
==> Downloading http://dbus.freedesktop.org/releases/dbus/dbus-1.4.18.tar.gz
File already downloaded in /Users/differenxe/Library/Caches/Homebrew
/usr/bin/tar xf /Users/differenxe/Library/Caches/Homebrew/d-bus-1.4.18.tar.gz
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/d-bus/1.4.18 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc --disable-xml-docs --disable-doxygen-docs --enable-launchd --with-launchd-agent-dir=/usr/local/Cellar/d-bus/1.4.18 --without-x
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/d-bus/1.4.18 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc --disable-xml-docs --disable-doxygen-docs --enable-launchd --with-launchd-agent-dir=/usr/local/Cellar/d-bus/1.4.18 --without-x
checking build system type... x86_64-apple-darwin10.8.0
checking host system type... x86_64-apple-darwin10.8.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p...