Skip to content

Instantly share code, notes, and snippets.

View nikreiman's full-sized avatar

Nik Reiman nikreiman

  • Stockholm, Sweden
View GitHub Profile
https://extensions.gnome.org/extension/3780/ddterm/
https://extensions.gnome.org/extension/1162/emoji-selector/
https://extensions.gnome.org/extension/1125/github-notifications/
https://extensions.gnome.org/extension/1399/pop-theme-toggle/
https://extensions.gnome.org/extension/120/system-monitor/
@nikreiman
nikreiman / sp
Last active October 26, 2015 23:44 — forked from wandernauta/sp
sp is a command-line client for Spotify's dbus interface. Play, pause, skip and search tracks from the comfort of your command line.
#!/bin/bash
#
# This is sp, the command-line Spotify controller. It talks to a running
# instance of the Spotify Linux client over dbus, providing an interface not
# unlike mpc.
#
# Put differently, it allows you to control Spotify without leaving the comfort
# of your command line, and without a custom client or Premium subscription.
#
@nikreiman
nikreiman / clion64.properties.txt
Last active August 29, 2015 14:07
CLion64 JVM properties for big, boosty projects (requires JDK8)
-ea
-server
-Xms1g
-Xmx4g
-Xss16m
-XX:+DoEscapeAnalysis
-XX:+UnlockExperimentalVMOptions
-XX:+UseConcMarkSweepGC
-XX:LargePageSizeInBytes=256m
-XX:ReservedCodeCacheSize=96m
@nikreiman
nikreiman / log
Created August 27, 2014 09:13
F@H linux logs
This file has been truncated, but you can view the full file.
*********************** Log Started 2014-08-16T10:49:41Z ***********************
10:49:41:************************* Folding@home Client *************************
10:49:41: Website: http://folding.stanford.edu/
10:49:41: Copyright: (c) 2009-2014 Stanford University
10:49:41: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
10:49:41: Args: --child --lifeline 1441 /etc/fahclient/config.xml --run-as
10:49:41: fahclient --pid-file=/var/run/fahclient.pid --daemon
10:49:41: Config: /etc/fahclient/config.xml
10:49:41:******************************** Build ********************************
10:49:41: Version: 7.4.4
@nikreiman
nikreiman / bandnames.txt
Last active August 29, 2015 14:02
English words not used in band names (according to Discogs)
Abbasid
Achaean
Achebe
Aconcagua
Adirondacks
Adonises
Advil
Aeneid
Aesculapius
Afghans
@nikreiman
nikreiman / log.txt
Created May 1, 2014 12:16
MrsWatson Omnisphere error log (abbreviated)
- 00000000 000008 Setting 2 channels
- 00000000 000008 MrsWatson version 0.9.7 initialized, build 20140125
D 00000000 000010 Host platform is Mac OS X (Mac OS X 10.9.2)
D 00000000 000010 Application is 32-bit
D 00000000 000011 Launched with options: --error-report -p Omnisphere -m /Users/pepper/Desktop/example.mid --parameter 0,1.0 --parameter 1,0.9 --parameter 2,0.9, --parameter 3,0.9 --parameter 4,0.9 --parameter 5,0.9 --parameter 6,0.9 --parameter 7,0.9 --parameter 8,0.9 -c
D 00000000 000011 Trying to find plugin 'Omnisphere'
D 00000000 000011 Looking for plugin 'Omnisphere' in '/Users/pepper/MrsWatson/bin/Mac OS X'
D 00000000 000011 Looking for plugin 'Omnisphere' in '/Library/Audio/Plug-Ins/VST'
- 00000000 000011 Plugin 'Omnisphere' is of type VST2.x
D 00000000 000011 Looking for plugin 'Omnisphere' in '/Users/pepper/MrsWatson/bin/Mac OS X'
@nikreiman
nikreiman / log.txt
Created May 1, 2014 12:01
MrsWatson Omnisphere error log
This file has been truncated, but you can view the full file.
- 00000000 000008 Setting 2 channels
- 00000000 000008 MrsWatson version 0.9.7 initialized, build 20140125
D 00000000 000010 Host platform is Mac OS X (Mac OS X 10.9.2)
D 00000000 000010 Application is 32-bit
D 00000000 000011 Launched with options: --error-report -p Omnisphere -m /Users/pepper/Desktop/example.mid --parameter 0,1.0 --parameter 1,0.9 --parameter 2,0.9, --parameter 3,0.9 --parameter 4,0.9 --parameter 5,0.9 --parameter 6,0.9 --parameter 7,0.9 --parameter 8,0.9 -c
D 00000000 000011 Trying to find plugin 'Omnisphere'
D 00000000 000011 Looking for plugin 'Omnisphere' in '/Users/pepper/MrsWatson/bin/Mac OS X'
D 00000000 000011 Looking for plugin 'Omnisphere' in '/Library/Audio/Plug-Ins/VST'
- 00000000 000011 Plugin 'Omnisphere' is of type VST2.x
D 00000000 000011 Looking for plugin 'Omnisphere' in '/Users/pepper/MrsWatson/bin/Mac OS X'
@nikreiman
nikreiman / keybase.md
Created April 11, 2014 13:56
Keybase proof

Keybase proof

I hereby claim:

  • I am nikreiman on github.
  • I am nikreiman (https://keybase.io/nikreiman) on keybase.
  • I have a public key whose fingerprint is 8CE1 E8DF CCB8 01FD 6F8C 941A 9A55 32C1 7354 8D98

To claim this, I am signing this object:

@nikreiman
nikreiman / sse-bufconvert.c
Created December 12, 2013 09:17
Converting 16-bit shorts to floating point samples with SSE
#include <stdlib.h>
#include <malloc.h>
#include <xmmintrin.h>
#if 1
#define ITERATIONS 1
#define BUFSIZE 32
#else
#define ITERATIONS 1000000
#define BUFSIZE 512
@nikreiman
nikreiman / gist:5721141
Created June 6, 2013 12:28
List of functions which *cannot* be MIDI mapped in Ableton Live
Track delay
I/O routing
Show/hide any panel
Show/hide I/O, sends, returns, etc.
Time signature
EQ-8 mode, channel config
Navigation in the browser
Computer MIDI keyboard
Cue/solo (the button above the Cue volume)
Enable/disable clips