Skip to content

Instantly share code, notes, and snippets.

tc electronic NDR-1 Nova Drive

MIDI & System Exclusive (SysEx) Protocol

2024-04-04 Raphaël Doursenaud rdoursenaud@gmail.com

Sent

@rdoursenaud
rdoursenaud / !RebootToOs.md
Created August 17, 2018 00:09 — forked from Darkhogg/!RebootToOs.md
"Reboot to {OS}" scripts for rEFInd Next Boot selection

Reboot to {OS}

This a collection of notes and files used in my quest to create "Reboot to Windows" and "Reboot to Linux" scripts (and desktop shortcuts) for Linux and Windows respectively that automatically reboot my system and instruct rEFInd to auto-select the appropriate OS entry.

General Information

The key for achieving this is to modify the EFI Variable PreviousBoot with GUID 36d08fa7-cf0b-42f5-8f14-68df73ed3740, which rEFInd uses to store the last entry selected in the menu and, if using the + default entry, will be used to select the default OS. By doing this, we trick rEFInd into booting the OS we choose without having to be physically there to press the keyboard.

@rdoursenaud
rdoursenaud / PKGBUILD
Last active May 6, 2019 15:49
fusioninventory-agent 2.4 Arch Linux package [Work In Progress]
# Maintainer : Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>
# Previous Maintainer : kuri <sysegv at gmail dot com>
# Contributor : Kevin C <kiven at kiven dot fr>
# Contributor: Alex 'AdUser' Z
pkgname=fusioninventory-agent
_pkgname="FusionInventory-Agent"
pkgver=2.4.0
_pkgver=2.4
pkgrel=1
pkgdesc="An application for keeping track of the hardware and software"
@rdoursenaud
rdoursenaud / gae-test-skip-files.py
Created October 20, 2016 15:25
Test Google App Engine app.yaml skip-files regexes without deploying
#!/usr/bin/env python2.7
# encoding=utf8
#
# Copyright 2007 Google Inc.
# Copyright 2016 Raphaël Doursenaud
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
@rdoursenaud
rdoursenaud / extract.sh
Created October 12, 2016 11:11
Extract a directory based GIT repository to separate repositories keeping all branches and history
#!/bin/sh
# Copyright (C) 2016 Raphaël Doursenaud
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@rdoursenaud
rdoursenaud / keybase.md
Last active August 2, 2016 22:05
keybase.md

Keybase proof

I hereby claim:

  • I am rdoursenaud on github.
  • I am rdoursenaud (https://keybase.io/rdoursenaud) on keybase.
  • I have a public key ASCsNpaBh2xvtMNUop2jBO2Ga1LjKg_gOrMjHWHtfXoiGQo

To claim this, I am signing this object:

@rdoursenaud
rdoursenaud / demo.php
Last active February 11, 2016 19:29
Weird PHP7 behavior when calling class property from array key
<?php
// Run with PHP 5.x and 7.x to see the differences.
// SETUP
class Test {
var $property = 1;
}
$array = [
0 => 'property'
@rdoursenaud
rdoursenaud / markdown.css
Last active August 29, 2015 14:27 — forked from imjasonh/markdown.css
Render Markdown as unrendered Markdown (see http://jsbin.com/huwosomawo)
* {
font-size: 12pt;
font-family: monospace;
font-weight: normal;
font-style: normal;
text-decoration: none;
color: black;
cursor: default;
}
@rdoursenaud
rdoursenaud / .multitailrc
Created June 11, 2015 13:18
Multitail configuration for Dolibarr syslog
colorscheme:dolibarr
bright:1
cs_re:yellow,red:.*EMERG.*
cs_re:white,red:.*ALERT.*
cs_re:green,red:.*CRIT.*
cs_re:red:.*ERR.*
cs_re:white,yellow:.*WARNING.*
cs_re:green,yellow:.*NOTICE.*
cs_re:green:.*INFO.*
cs_re:white:.*DEBUG.*