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
#!/bin/bash | |
# Usage: dockerbackup.sh VolumeName | |
set -e | |
WORKER_USER=backupworker | |
WORKER_HOME="/home/${WORKER_USER}" | |
DEST_DIR_NAME=DockerBackup | |
for volume_name do |
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
using System; | |
using System.Threading.Tasks; | |
namespace ConsoleApp1 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
TaskScheduler.UnobservedTaskException += (sender, e) => |
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
import essentia.standard | |
def estimate_key(filename): | |
loader = essentia.standard.MonoLoader(filename=filename) | |
return essentia.standard.KeyExtractor()(loader()) | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
using System; | |
using System.Numerics; | |
using System.Threading.Tasks; | |
using Accord.Math; | |
using Accord.Math.Transforms; | |
using BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Running; | |
namespace ConsoleApp6 | |
{ |
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
/// <summary> | |
/// <see cref="DependencyOnModelPropertyAttribute"/> が指定されたプロパティの変更通知を有効化します。 | |
/// </summary> | |
protected void EnableAutoPropertyChangedEvent(INotifyPropertyChanged model) | |
{ | |
PropertyChangedEventListener listener = null; | |
foreach (var prop in this.GetType().GetProperties(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance)) | |
{ | |
PropertyChangedEventHandler handler = null; |
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
const int AIN1 = 12; | |
const int BIN1 = 11; | |
const int BTN = 10; | |
void setupPin(int pin) { | |
pinMode(pin, OUTPUT); | |
} | |
void setup() { | |
// put your setup code here, to run once: |
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
web: gunicorn ShareOnCroudia.share_on_croudia:application |
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
using System; | |
using System.Linq; | |
using System.Numerics; | |
using Accord.Math; | |
using Accord.Math.Transforms; | |
using OxyPlot; | |
using OxyPlot.Series; | |
namespace PitchDetector | |
{ |