Skip to content

Instantly share code, notes, and snippets.

@sunjam
sunjam / gist:4b50038e7a83ee0a5ac8e81b4afb47b2
Created December 11, 2016 17:57
Trace output from latest Nixnote2
This file has been truncated, but you can view the full file.
$ nixnote2
DEBUG 2016-12-11 09:13:15.815 ( ../nixnote2/gui/shortcutkeys.cpp @ 203 ) Loading system shortcuts from "/usr/share/nixnote2/shortcuts.txt"
DEBUG 2016-12-11 09:13:15.816 ( ../nixnote2/gui/shortcutkeys.cpp @ 205 ) Loadng user shortcuts from "/home/james/.nixnote/shortcuts.txt"
DEBUG 2016-12-11 09:13:15.816 ( ../nixnote2/gui/shortcutkeys.cpp @ 236 ) Unable to open file for reading or file does not exist.
DEBUG 2016-12-11 09:13:15.818 ( ../nixnote2/main.cpp @ 157 ) Program Home: "/usr/share/nixnote2/"
DEBUG 2016-12-11 09:13:15.818 ( ../nixnote2/main.cpp @ 158 ) Built on Dec 11 2016 at 08:32:11
DEBUG 2016-12-11 09:13:15.818 ( ../nixnote2/main.cpp @ 159 ) Built with Qt 4.8.7 running on 4.8.7
DEBUG 2016-12-11 09:13:15.821 ( ../nixnote2/main.cpp @ 218 ) Setting up NN
DEBUG 2016-12-11 09:13:15.834 ( ../nixnote2/nixnote.cpp @ 118 ) Looking for transaltions: "/usr/share/nixnote2/translations/nixnote2_en_US.qm"
DEBUG 2016-12-11 09:13:15.837 ( ../nixnote2/sql/databaseconnection.cpp @ 37 ) SQL dri
@sunjam
sunjam / gist:a66d4f048ff5b61ff35cdd645cb9168e
Created December 10, 2016 16:48
PKGBUILD for Nixnote2-git
# Maintainer: maz-1 <loveayawaka@gmail.com>
_pkgname=nixnote2
pkgname=$_pkgname-git
pkgver=latest
pkgrel=1
pkgdesc="Nixnote2 is a C++ rewrite of nixnote,which is a clone of Evernote designed to run on Linux.Nixnote is formerly called nevernote."
arch=('x86_64' 'i686')
url="http://nevernote.sourceforge.net/"
license=('GPL2')
@sunjam
sunjam / shnth-dmesg-output.txt
Last active August 6, 2016 19:37
Shnth Shbobo dmesg output - Causing issues on x220 Thinkpad running Arch Linux
[ 5930.940594] ata1.00: configured for UDMA/133
[ 5930.941414] ata5: SATA link down (SStatus 0 SControl 300)
[ 5930.942411] ata2: SATA link down (SStatus 0 SControl 300)
[ 5931.134464] PM: resume of devices complete after 506.065 msecs
[ 5931.134884] PM: Finishing wakeup.
[ 5931.134888] Restarting tasks ... done.
[ 5931.184013] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[ 5931.184229] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
[ 5931.191872] iwlwifi 0000:03:00.0: Radio type=0x0-0x0-0x3
[ 5931.200279] usb 1-1.5: new high-speed USB device number 4 using ehci-pci
@sunjam
sunjam / LD_PRELOAD=libcurl.so.3 nixnote2
Created July 17, 2016 15:47
API Rate Limit Exceeded
$ LD_PRELOAD=libcurl.so.3 nixnote2
nixnote2: /usr/lib/libcurl.so.3: no version information available (required by nixnote2)
INFO 2016-07-17 08:32:52.137 ( ../nixnote2/nixnote.cpp @ 1820 ) "Beginning Sync"
INFO 2016-07-17 08:32:52.137 ( ../nixnote2/nixnote.cpp @ 1820 ) "Downloading changes"
INFO 2016-07-17 08:32:52.230 ( ../nixnote2/nixnote.cpp @ 1820 ) "Download 0% complete for notebooks, tags, & searches."
INFO 2016-07-17 08:32:52.380 ( ../nixnote2/nixnote.cpp @ 1820 ) "Download 24% complete for notebooks, tags, & searches."
INFO 2016-07-17 08:32:52.380 ( ../nixnote2/nixnote.cpp @ 1820 ) "Download complete for notebooks, tags, & searches. Downloading notes."
INFO 2016-07-17 08:33:12.133 ( ../nixnote2/nixnote.cpp @ 1820 ) "Download 0% complete."
INFO 2016-07-17 08:33:58.358 ( ../nixnote2/nixnote.cpp @ 1820 ) "Download 6% complete."
INFO 2016-07-17 08:34:51.475 ( ../nixnote2/nixnote.cpp @ 1820 ) "Download 11% complete."
@sunjam
sunjam / 20x20 HTML Table
Created April 17, 2015 17:40
HTML Table for Tagspaces & Summernote
insertTableMaxSize: {
col: 20,
row: 20
},