Skip to content

Instantly share code, notes, and snippets.

@aanatoly
aanatoly / imx6_qt5_defconfig
Last active May 18, 2016 10:13
qt5webengine in br2
BR2_arm=y
BR2_cortex_a9=y
BR2_ARM_ENABLE_NEON=y
BR2_ARM_ENABLE_VFP=y
BR2_ARM_FPU_VFPV3=y
BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOPDIR)/.ccache"
BR2_CCACHE_INITIAL_SETUP="-M 2G"
# BR2_CCACHE_USE_BASEDIR is not set
BR2_SHARED_STATIC_LIBS=y
@aanatoly
aanatoly / wget-gravatar
Created December 5, 2015 16:44
python script to fetch gravtar image
#!/usr/bin/python
'''Get your grvatar image
'''
prog_name = "wget-gravatar"
prog_version = "0.1"
prog_epilog = '''
Example:
%(prog)s --email me@foo.com -o /tmp/gravatar
'''
@aanatoly
aanatoly / xx.c
Created February 28, 2014 01:37
x11 app to monitor if there is a window in fullscreen mode
/* Compile: gcc xx.c -o xx -lX11 */
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <X11/Xutil.h>
#include <X11/keysym.h>
#include <X11/Xos.h>
#include <stdio.h>