Skip to content

Instantly share code, notes, and snippets.

View solarnz's full-sized avatar

Chris Trotman solarnz

View GitHub Profile

This is a quick and (very dirty) python script that will export all of your remarkable notebooks to PDF files, and outputs them with the correct path based on the collection they're store in on the tablet.

You'll need to edit the script to set the notebook path directory and the output pdf path correctly, but it shouldn't be too hard to follow.

You'll need to compile https://github.com/rorycl/rm2pdf, as this script uses the binary and template pdf from there.

Keybase proof

I hereby claim:

  • I am solarnz on github.
  • I am solarnz (https://keybase.io/solarnz) on keybase.
  • I have a public key ASAhFVB_0WIzJO1kVzipZ1NNqMc2xc9SJepo-lRIZmoiKwo

To claim this, I am signing this object:

@solarnz
solarnz / gist:4e04efdcf972144c3bec
Last active August 29, 2015 14:07
My cVim settings
set nosmoothscroll
let mapleader = "\"
let barposition = "bottom"
map F createActiveTabbedHint
@solarnz
solarnz / keybase,md
Last active August 29, 2015 14:05
keybase.md
### Keybase proof
I hereby claim:
* I am solarnz on github.
* I am solarnz (https://keybase.io/solarnz) on keybase.
* I have a public key whose fingerprint is 6F9B EF3D EE86 4187 5D0D F41D C2BC 2CE5 FC63 1BC2
To claim this, I am signing this object:
diff --git a/commandline/Makefile b/commandline/Makefile
index d4234b2..0f9eb35 100644
--- a/commandline/Makefile
+++ b/commandline/Makefile
@@ -159,48 +159,48 @@ endif
ifeq "$(USBLIB_TYPE)" "HIDDATA"
CFLAGS += -DUSE_HIDDATA
OBJS = ./hiddata.o
endif
@solarnz
solarnz / gist:3830588
Created October 3, 2012 23:39
android-formatting.xml
<?xml version="1.0" encoding="UTF-8"?>
<profiles version="10">
<profile name="Android" version="10">
<setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="0"/>
@solarnz
solarnz / pbcmd.cpp
Created December 11, 2011 19:37 — forked from jgeboski/pbcmd.cpp
ZNC Playback on Command
/*
* Copyright (C) 2011 James Geboski <jgeboski@gmail.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*/
#include "Chan.h"
#include "Client.h"
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.35.13
# Sun Sep 18 23:01:59 2011
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_GENERIC_GPIO=y
CONFIG_GENERIC_TIME=y
# CONFIG_ARCH_USES_GETTIMEOFFSET is not set
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.35.10
# Sat Sep 10 13:18:49 2011
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_HAVE_SCHED_CLOCK=y
CONFIG_GENERIC_GPIO=y
CONFIG_GENERIC_TIME=y
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.36.4
# Thu Sep 8 18:55:11 2011
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_GENERIC_GPIO=y
# CONFIG_ARCH_USES_GETTIMEOFFSET is not set
CONFIG_GENERIC_CLOCKEVENTS=y