Skip to content

Instantly share code, notes, and snippets.

{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
@ljosa
ljosa / karabiner.json
Created July 16, 2018 07:25
SpaceFN is working, except that autorepeat is not disabled for space
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
matching-aerospike-r3-2xl-0:~$ asadm -e "info"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Network Information~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Node Node Ip Build Cluster Cluster Cluster Principal Rackaware Client Uptime
. Id . . Size Key Integrity . Mode Conns .
ip-172-16-12-45.ec2.internal:3000 BB9A0D2720F3D0A 172.16.12.45:3000 C-3.11.1.1 6 2F33230246FFF22A True BB9F6E9B244CC12 none 247 8497:40:42
ip-172-16-15-243.ec2.internal:3000 BB99A05B2C5140A 172.16.15.243:3000 C-3.11.1.1 6 2F33230246FFF22A True BB9F6E9B244CC12 none 254 1945:57:30
ip-172-16-40-122.ec2.internal:3000 BB966892C91890E 172.
@ljosa
ljosa / Dockerfile
Created December 6, 2017 21:55
Build container for xf86-input-evdev-spacefn
FROM ubuntu:16.04
RUN apt-get update -y && apt-get install -y vim-tiny debian-keyring build-essential fakeroot devscripts
RUN sed -i.bak 's/^# deb-src/deb-src/' /etc/apt/sources.list
RUN apt-get update -y && apt-get -y build-dep xserver-xorg-input-evdev-hwe-16.04
RUN apt-get source xserver-xorg-input-evdev-hwe-16.04
WORKDIR /xserver-xorg-input-evdev-hwe-16.04-2.10.5
CMD cp /src/xf86-input-evdev-spacefn/src/evdev.c src/evdev.c && debuild -us -uc -i -I && cp build/src/.libs/evdev_drv.so /src
@ljosa
ljosa / redis.conf
Last active December 13, 2016 20:36
# Redis configuration file example
# Note on units: when memory size is needed, it is possible to specify
# it in the usual form of 1k 5GB 4M and so forth:
#
# 1k => 1000 bytes
# 1kb => 1024 bytes
# 1m => 1000000 bytes
# 1mb => 1024*1024 bytes
# 1g => 1000000000 bytes