Skip to content

Instantly share code, notes, and snippets.

View andrewSC's full-sized avatar
🎉

Andrew Crerar andrewSC

🎉
View GitHub Profile
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issue...
==> Creating package "ttf-google-fonts-git"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
install_manifest.txt:397:/usr/lib64/libopencv_saliency.so.3.3
install_manifest.txt:398:/usr/lib64/libopencv_saliency.so
install_manifest.txt:412:/usr/lib64/libopencv_text.so.3.3.1
install_manifest.txt:413:/usr/lib64/libopencv_text.so.3.3
install_manifest.txt:414:/usr/lib64/libopencv_text.so
install_manifest.txt:461:/usr/lib64/libopencv_calib3d.so.3.3.1
install_manifest.txt:462:/usr/lib64/libopencv_calib3d.so.3.3
install_manifest.txt:463:/usr/lib64/libopencv_calib3d.so
install_manifest.txt:467:/usr/lib64/libopencv_ccalib.so.3.3.1
install_manifest.txt:468:/usr/lib64/libopencv_ccalib.so.3.3
../gdk/broadway/gdkwindow-broadway.c:254:1: error: conflicting types for ‘_gdk_broadway_display_create_window_impl’
_gdk_broadway_display_create_window_impl (GdkDisplay *display,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../gdk/broadway/gdkscreen-broadway.h:26:0,
from ../gdk/broadway/gdkwindow-broadway.c:29:
../gdk/broadway/gdkprivate-broadway.h:119:12: note: previous declaration of ‘_gdk_broadway_display_create_window_impl’ was here
void _gdk_broadway_display_create_window_impl (GdkDisplay *display,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../gdk/broadway/gdkwindow-broadway.c: In function ‘_gdk_broadway_display_create_window_impl’:
../gdk/broadway/gdkwindow-broadway.c:276:18: error: ‘screen’ undeclared (first use in this function); did you mean ‘strlen’?
[andrew@arrakis ~]$ aurphan -e
https://aur.archlinux.org/packages/firefox-developer/ 399 votes
https://aur.archlinux.org/packages/vlc-git/ 186 votes
https://aur.archlinux.org/packages/gobject-introspection-git/ 53 votes
https://aur.archlinux.org/packages/ttf-google-fonts-git/ 514 votes
https://aur.archlinux.org/packages/cower/ 948 votes
https://aur.archlinux.org/packages/libpam-google-authenticator/ 48 votes
https://aur.archlinux.org/packages/wayland-git/ 70 votes
https://aur.archlinux.org/packages/gnome-common-git/ 115 votes
https://aur.archlinux.org/packages/glib2-git/ 42 votes
[139/1326] Generating gtkdbusgenerated-gdbus with a custom command.
FAILED: gtk/gtkdbusgenerated.c gtk/gtkdbusgenerated.h
/usr/sbin/gdbus-codegen --interface-prefix org.Gtk. --c-namespace _Gtk --output-directory gtk --generate-c-code gtkdbusgenerated ../gtk/gtkdbusinterfaces.xml
Traceback (most recent call last):
File "/usr/sbin/gdbus-codegen", line 41, in <module>
from codegen import codegen_main
ModuleNotFoundError: No module named 'codegen'
------------------------------ Build Results ------------------------------
Failed building [/home/andrew/Dev/aur/gtk4-git]
Successfully built [git-git-v2.14.2.r606.g7451fcdc0d-1-x86_64.pkg.tar]
Successfully built [vlc-git-3.0.0.r14657.ge341d44d4f-1-x86_64.pkg.tar]
Successfully built [atk-git-2.26.0.3.g271d9e4.271d9e4-1-x86_64.pkg.tar]
Successfully built [glib2-git-2.54.0.53.gc1a31c3aa-1-x86_64.pkg.tar]
Successfully built [gnome-common-git-3.14.0.r14.1df0aa1-1-any.pkg.tar]
Successfully built [pango-git-debug-1.40.12.3946.a22187d6-1-x86_64.pkg.tar]
Successfully built [gobject-introspection-git-1:1.54.0.3671.66c08289-1-x86_64.pkg.tar]
Successfully built [wayland-git-1.14.90.2025.5bb8268-1-x86_64.pkg.tar]
[andrew@caladan firefox-developer]$ namcap -m firefox-developer-56.0b7-1-x86_64.pkg.tar
firefox-developer E: elffile-not-in-allowed-dirs opt/firefox-developer/libplds4.so
firefox-developer E: elffile-not-in-allowed-dirs opt/firefox-developer/libsmime3.so
firefox-developer E: elffile-not-in-allowed-dirs opt/firefox-developer/libssl3.so
firefox-developer E: elffile-not-in-allowed-dirs opt/firefox-developer/pingsender
firefox-developer E: elffile-not-in-allowed-dirs opt/firefox-developer/updater
firefox-developer E: elffile-not-in-allowed-dirs opt/firefox-developer/plugin-container
firefox-developer E: elffile-not-in-allowed-dirs opt/firefox-developer/libsoftokn3.so
firefox-developer E: elffile-not-in-allowed-dirs opt/firefox-developer/libmozavcodec.so
firefox-developer E: elffile-not-in-allowed-dirs opt/firefox-developer/minidump-analyzer
$ curl -I http://127.0.0.1:80
HTTP/1.1 404 NOT FOUND
Server: nginx/1.10.2
Date: Mon, 10 Jul 2017 15:59:31 GMT
Content-Type: text/html
Content-Length: 233
Connection: keep-alive
$ python
Python 3.6.1 (default, Mar 28 2017, 09:22:36)
[GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.38)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import datetime
>>> datetime.datetime.strptime('2017-06-05T13:34:34.198182+00:00', '%Y-%m-%dT%H:%M:%S.%f%z')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/_strptime.py", line 565, in _strptime_datetime
tt, fraction = _strptime(data_string, format)
@andrewSC
andrewSC / man2bro.md
Last active September 20, 2017 15:12
Convert your man, into a bro.
bash
shopt -s extdebug; trap 'case $BASH_COMMAND in *" man"|*" bro") eval man ${BASH_COMMAND% *}; false; esac' DEBUG

Then you can do fun things like:

scp bro
wget bro