This is a work in progress
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
We're going to create a preset patch using this guide. | |
Technical Specification for OP-XY Patch JSON File Format | |
1. Introduction | |
1.1 Purpose | |
The purpose of this document is to provide a comprehensive technical specification for the JSON file format used to store and exchange patch data on the OP-XY device. This specification aims to standardize the structure and content of patch files, ensuring compatibility and consistency across different patches, whether they are synth presets, drum kits, or sample-based instruments. By adhering to this format, developers, sound designers, and users can create, modify, and share patches efficiently and reliably. | |
1.2 Overview |
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
set smoothscroll | |
" alias ':g' to ':tabnew google' | |
command g tabnew google | |
map <C-l> nextTab | |
map <C-h> previousTab | |
map <C-u> scrollPageUp | |
map <C-d> scrollPageDown |
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
" map "f" createTabbedHint | |
" map "shift+f" createHint | |
map "ctrl+l" nextTab | |
map "ctrl+h" previousTab | |
map "ctrl+u" scrollPageUp | |
map "ctrl+d" scrollPageDown |
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
Verifying my Blockstack ID is secured with the address 13mmWSf2GZJuEhSW1bUNSTSpkRKqyuRzyn https://explorer.blockstack.org/address/13mmWSf2GZJuEhSW1bUNSTSpkRKqyuRzyn |
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 readAllNumbers(input) { | |
var number = ""; | |
var numbers = []; | |
for (var i = 0; i < input.length; i++) { | |
if (input[i] === ' ' || input[i] === '\n') { | |
numbers.push(parseInt(number)); | |
number = ""; | |
continue; | |
} else { | |
number += input[i]; |
Sometimes you have a process you lost the PID, and would like to kill it.
You can use top
(or better htop
) to search for your process name and press k
to kill it.
But this isn’t optimal when you aren’t sure of its name.
A better alternative is to search by the port opened, for example port 80:
sudo lsof -i :80
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
# Get list of streams | |
aws kinesis list-streams --region {region: us-east-1} | |
# Get list of shards for a stream | |
aws kinesis describe-stream --region {region: us-east-1} --stream-name {stream_name} | |
# Split | |
aws kinesis split-shard --region {region: us-east-1} --stream-name {stream_name} --shard-to-split {shard_id_to_split} --new-starting-hash-key {new_starting_hash_key:(shard ending hashkey / 2)} | |
# Check that it worked | |
aws kinesis describe-stream --region {region: us-east-1} --stream-name {stream_name} |
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
cat <(ssh server1 sudo tail -f /var/log/test.log) <(ssh server2 sudo tail -f /var/log/test.log) | grep /api/1/test >> hits & watch wc -l hits |
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
cat <(ssh server1 sudo tail -f /var/log/log.log) <(ssh server2 sudo tail -f /var/log/log.log) | grep /api/1/test >> hits |
NewerOlder