This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copy file url for use in Mixxx (QUrl) | |
#!/bin/bash | |
# Prompt user for input | |
read -p "Enter duration in seconds: " DURATION | |
read -p "Enter artist name: " ARTIST | |
read -p "Enter title: " TITLE | |
# Sanitize inputs for filename | |
SAFE_ARTIST=$(echo "$ARTIST" | tr -cd '[:alnum:] .-') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* User style snippet to minimize the infamous 'Comment and Close' button in Github PRs | |
* How to: | |
* either add this snippet to your [Firefox profile directory]/chrome/user_content.css | |
* or write to a separate file which is the included in user_content.css like this | |
* @import url("user_github_tweaks.css"); | |
*/ | |
/* Domain selector taken from */ | |
/*! Github Dark v1.19.16 (2017-11-23) */ | |
/* Repository: https://github.com/StylishThemes/GitHub-Dark */ | |
/* Userstyle: http://userstyles.org/styles/37035 */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thread 1 "mixxx" received signal SIGSEGV, Segmentation fault. | |
SidebarModel::parent (index=..., this=0x555565088410) at /src/library/treeitem.h:62 | |
62 return m_pParent != nullptr; | |
(gdb) thread apply bt 1 | |
Invalid thread ID: bt 1 | |
(gdb) thread apply 1 bt | |
Thread 1 (Thread 0x7fffea675100 (LWP 32196) "mixxx"): | |
#0 SidebarModel::parent(QModelIndex const&) const (index=<optimized out>, this=0x555565088410) at /src/library/treeitem.h:62 | |
#1 SidebarModel::parent(QModelIndex const&) const (this=0x555565088410, index=...) at /src/library/sidebarmodel.cpp:173 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='utf-8'?> | |
<MixxxControllerPreset mixxxVersion="" schemaVersion="1"> | |
<info> | |
<name>hotcue-loop activation</name> | |
</info> | |
<controller id="virt"> | |
<scriptfiles> | |
<file filename="hotcue-loop-test.js" functionprefix="virt"/> | |
</scriptfiles> | |
<controls/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************** | |
* Test xfader switch * | |
* * | |
* Press hotcues 1-3 on deck1 to switch modes * | |
***************************************************/ | |
function virt() {}; | |
virt.init = function (id,debug) { | |
virt.id = id; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function virt() {}; | |
virt.init = function (id,debug) { | |
virt.id = id; | |
console.log("-------------------"); | |
console.log("-------------------"); | |
console.log("-------------------init"); | |
console.log("-------------------"); | |
console.log("-------------------"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='utf-8'?> | |
<MixxxControllerPreset schemaVersion="1" mixxxVersion=""> | |
<info> | |
<name>hotue test script</name> | |
<description>click Eject on deck 2 to trigger hotuce test on deck1</description> | |
</info> | |
<controller id="virt"> | |
<scriptfiles> | |
<file filename="hotcue-test.js" functionprefix="virt"/> | |
</scriptfiles> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# In which build dir are we? | |
# print link target of /home/user/mixxx/src/xxx_build | |
function qw() { | |
# awk -F/ | |
# use '/' as delimiter | |
# '{print $(NF-0)}' | |
# print only last chunk | |
readlink /home/user/mixxx/src/xxx_build | awk -F/ '{print $(NF-0)}' | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// declare timers and 'pressed' booleans at the beginning of the script. | |
TerminalMix.loopInTimers = []; | |
TerminalMix.loopOutTimers = []; | |
TerminalMix.loopInLongPressed = []; | |
TerminalMix.loopOutLongPressed = []; | |
var loopMarkerMoveFactor = 20; | |
// Loop_in button | |
TerminalMix.loopIn = function (channel, control, value, status, group) { | |
if (value) { // press |