Skip to content

Instantly share code, notes, and snippets.

Calculating dependencies ... done!
[ebuild N ] dev-python/pillow-2.0.0-r1 USE="jpeg lcms tiff truetype zlib -doc -examples -scanner {-test} -tk -webp" PYTHON_TARGETS="python2_7 python3_3 -python2_6 -python3_2" 1,376 kB
[ebuild N ] virtual/python-imaging-2 USE="-tk" PYTHON_TARGETS="python2_7 python3_3 -python2_6 -python3_2" 0 kB
[ebuild N ] dev-python/gconf-python-2.28.1:2 USE="-examples" 550 kB
[ebuild N ] gnome-extra/gnome-screensaver-3.6.1 USE="pam systemd -debug -doc" 556 kB
[ebuild N ] gnome-base/gnome-panel-3.8.0-r1 USE="introspection -eds -networkmanager" 0 kB
[ebuild N ] x11-wm/muffin-1.8.2-r1 USE="introspection xinerama {-test}" 2,623 kB
[ebuild N ] gnome-extra/nemo-1.8.5 USE="exif introspection (-packagekit) {-test} -tracker -xmp" 3,717 kB
[ebuild N ] gnome-extra/cinnamon-1.8.8.1-r1 USE="bluetooth networkmanager" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" 4,381 kB
[blocks B ] d
/********** ACCURATE TIMER for REAL TIME CONTROL ***
This C program illustrates accurate timing on a
Raspberry Pi by sending a 50kHz signal to a GPIO pin
with a jitter of about 0.1 microseconds. It uses the
processor's 1MHz timer and disables interrupts.
It includes GPIO setup and read/write code.
Compiled from console with gcc under the standard
Debian distribution.
@rigid
rigid / Test.vcf
Created April 4, 2014 21:35
Test VCARD 2.1
BEGIN:VCARD
VERSION:2.1
N:Test;Testo;;;
FN:Testo Test
TEL;CELL:1234
TEL;HOME:4567
EMAIL;WORK:test@test.com
URL:http://www.test.com
PHOTO;JPEG;ENCODING=BASE64:/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgMCAgMDAwM
EAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/
@rigid
rigid / gist:9983670
Created April 4, 2014 21:42
DavDroid Sync log
I/davdroid.ContactsSyncAdapter(10660): httpClient = ch.boye.httpclientandroidlib.impl.client.InternalHttpClient@4185af50
I/davdroid.DavSyncAdapter(10660): Performing sync for authority com.android.contacts
I/davdroid.ContactsSyncAdapter(10660): httpClient 2 = ch.boye.httpclientandroidlib.impl.client.InternalHttpClient@4185af50
D/davdroid.WebDavResource(10660): Using preemptive authentication (not compatible with Digest auth)
I/davdroid.SyncManager(10660): Remotely removing 0 deleted resource(s) (if not changed)
I/davdroid.SyncManager(10660): Uploading 1 new resource(s) (if not existing)
V/davdroid.LocalAddressBook(10660): Couldn't read contact photo
V/davdroid.LocalAddressBook(10660): java.io.FileNotFoundException: No photo file found for ID 0
V/davdroid.LocalAddressBook(10660): at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:146)
V/davdroid.LocalAddressBook(10660): at android.content.ContentProviderProxy.openAssetFile(ContentProviderNative.java:577)
@rigid
rigid / gist:90c176d9effd5af30ff8
Created September 20, 2014 08:00
MSF install failed
E/DSPLOIT[core.UpdateService.onHandleIntent](31171): running: cd '/data/data/it.evilsocket.dsploit/files/msf' && bundle install --without development test
E/DSPLOIT[core.UpdateService.onHandleIntent](31171): Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
E/DSPLOIT[core.UpdateService.onHandleIntent](31171): installing your bundle as root will break this application for all non-root
E/DSPLOIT[core.UpdateService.onHandleIntent](31171): users on this machine.
E/DSPLOIT[core.UpdateService.onHandleIntent](31171): Fetching gem metadata from http://gems.dsploit.net/...
E/DSPLOIT[core.UpdateService.onHandleIntent](31171): Fetching gem metadata from https://rubygems.org/.........
E/DSPLOIT[core.UpdateService.onHandleIntent](31171): Resolving dependencies..........
E/DSPLOIT[core.UpdateService.onHandleIntent](31171): Using rake 10.3.2
E/DSPLOIT[core.UpdateService.onHandleIntent](31171): Using i18n 0.6.11
E/DSPLOIT[core.UpdateService.onHandleIntent](31171): Using multi_json 1.0.4
@rigid
rigid / gist:17a6b56a52e8cf7f8e7e
Created October 27, 2014 08:21
commit d73c9d8ddffb2 build fail
[ 86%] Building CXX object src/python/CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o
Linking CXX shared library ../../output/lib/libqgispython.so
CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o: In function `QgsPythonUtilsImpl::getTraceback()':
/storage/code/3rdparty/QGIS/src/python/qgspythonutilsimpl.cpp:(.text+0x463a): undefined reference to `PyString_AsString'
CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o: In function `QgsPythonUtilsImpl::getTypeAsString(_object*)':
/storage/code/3rdparty/QGIS/src/python/qgspythonutilsimpl.cpp:(.text+0x4acc): undefined reference to `PyClass_Type'
/storage/code/3rdparty/QGIS/src/python/qgspythonutilsimpl.cpp:(.text+0x4ae7): undefined reference to `PyString_AsString'
CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o: In function `QgsPythonUtilsImpl::PyObjectToQString(_object*)':
/storage/code/3rdparty/QGIS/src/python/qgspythonutilsimpl.cpp:(.text+0x4d72): undefined reference to `PyObject_Unicode'
@rigid
rigid / gist:9e828e76e1d11784b471
Created October 31, 2014 11:13
python/chardet fubar
# USE="-* python_targets_python3_4 python_single_target3_4" emerge -vp chardet
These are the packages that would be merged, in order:
Calculating dependencies t
!!! Problem resolving dependencies for dev-python/chardet
... done!
@rigid
rigid / gist:007ff7bbc7b382bf5af4
Last active August 29, 2015 14:08
blender crash
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff35b7f6f in ?? () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/libgcc_s.so.1
(gdb) bt
#0 0x00007ffff35b7f6f in ?? () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/libgcc_s.so.1
#1 0x0000000000000001 in ?? ()
#2 0x000000000104f1dd in GPU_texture_create_3D ()
#3 0x000000000104f9d3 in GPU_invalid_tex_init ()
#4 0x000000000104fb36 in GPU_extensions_init ()
#5 0x000000000083d928 in wm_window_add_ghostwindows ()
#6 0x0000000000820a41 in WM_check ()
eselect mesa list
64bit i915 (Intel 915, 945)
64bit i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
64bit r300 (Radeon R300-R500)
64bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
64bit sw (Software renderer)
[1] classic
[2] gallium *
32bit i915 (Intel 915, 945)
[1] classic
@rigid
rigid / gist:da68f34c956fd4cd23cf
Last active August 29, 2015 14:08
glxinfo crash
# DISPLAY=":0" valgrind /usr/bin/glxinfo
==7432== Memcheck, a memory error detector
==7432== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==7432== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
==7432== Command: /usr/bin/glxinfo
==7432==
name of display: :0
==7432== Invalid read of size 1
==7432== at 0x600FA84: ??? (in /usr/lib64/libXext.so.6.4.0)
==7432== by 0x40275C: print_screen_info (in /usr/bin/glxinfo)