(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
(defn split-seq [s] | |
"Extract a tail of all same elements: [1 1 0 0 0] -> [[1 1] [0 0 0]]" | |
(let [l (last s)] | |
(split-with #(not= l %) s))) | |
(defn recombine | |
"Distribute tail: [[1] [1] [1] [0] [0]] -> [[1 0] [1 0] [1]]" | |
([a b] [a b]) | |
([a b c] [a b c]) | |
([a b c & more] |
MIT License | |
Copyright (c) 2021 Ryo Nakamura | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
<!DOCTYPE NETSCAPE-Bookmark-file-1> | |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> | |
<!-- This is an automatically generated file. | |
It will be read and overwritten. | |
Do Not Edit! --> | |
<TITLE>Bookmarks</TITLE> | |
<H1>Bookmarks</H1> | |
<DL><p> | |
<DT><A HREF="https://developer.apple.com/library/mac/releasenotes/InterapplicationCommunication/RN-JavaScriptForAutomation/index.html#//apple_ref/doc/-%20uid/TP40014508" ADD_DATE="1414706885" PRIVATE="0" TAGS="javascript,mac,osx,yosemite">JavaScript for Automation Release Notes</A> | |
<DD>This article describes JavaScript for Automation, a new feature in OS X Yosemite. |
## install Catalyst proprietary | |
sudo ntfsfix /dev/sda2 | |
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.BAK | |
sudo apt-get remove --purge fglrx* | |
sudo apt-get install linux-headers-generic | |
sudo apt-get install fglrx xvba-va-driver libva-glx1 libva-egl1 vainfo | |
sudo amdconfig --initial | |
## install build essentials | |
sudo apt-get install cmake |
#!/usr/bin/env ruby | |
# A small ruby script to extract a git history to a tikz picture | |
# Author: Michael Hauspie <Michael.Hauspie@lifl.fr> | |
# Author: Lennart C. Karssen <lennart@karssen.org> | |
# | |
# Not clean code, not always working well, but does its job in most of | |
# the cases I needed :) | |
# | |
# LCK: Added some ideas from this tex.stackexchange answer: |
#!/bin/bash | |
# | |
# | |
# | |
# Start on runlevels 3, 4 and 5. Start late, kill early. | |
# chkconfig: 345 95 05 | |
# | |
# | |
#!/bin/bash |
import Vex from 'vexflow'; | |
import React, {Component} from 'react'; | |
const { | |
Accidental, | |
Formatter, | |
Stave, | |
StaveNote, | |
Renderer, |
import hudson.model.FreeStyleProject | |
import hudson.model.Hudson | |
import hudson.tasks.Publisher | |
import org.jvnet.hudson.plugins.groovypostbuild.GroovyPostbuildRecorder | |
import org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript; | |
import org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntry; | |
// Exclusion list for job names. Job names listed here will NOT have the groovy postbuild entry added. | |
def exclusion_list = ["some_job_that_doesnt_need_groovy_postbuild"] |
diff --git a/sooperlooper-1.7.3/src/engine.cpp b/sooperlooper-1.7.3/src/engine.cpp | |
--- a/sooperlooper-1.7.3/src/engine.cpp | |
+++ b/sooperlooper-1.7.3/src/engine.cpp | |
@@ -313,7 +313,7 @@ void Engine::set_midi_bridge (MidiBridge * bridge) | |
_midi_bridge->MidiControlEvent.connect (mem_fun(*this, &Engine::push_midi_control_event)); | |
_midi_bridge->MidiSyncEvent.connect (mem_fun(*this, &Engine::push_sync_event)); | |
- ParamChanged.connect(bind (mem_fun(*_midi_bridge, &MidiBridge::parameter_changed), this)); | |
+ ParamChanged.connect(sigc::bind(mem_fun(*_midi_bridge, &MidiBridge::parameter_changed), this)); | |