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
curl -X PUT http://localhost:9200/_settings -d '{ "number_of_replicas" :0 }' | |
curl -X PUT http://localhost:9200/_cluster/settings -d '{"transient" : {"cluster.routing.allocation.enable": true}}' |
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
ffmpeg -loop 1 -i logo.jpg -i source.mp3 -c:a libmp3lame -c:v libx264 -b:a 128k -shortest output.mp4 |
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
var Klass = (function() { | |
var Klass = function() {}; | |
Klass.extend = function(constructor, props) { | |
var _super = this.prototype; | |
if (arguments.length < 2) { | |
props = constructor; | |
constructor = function(){}; | |
} |
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
#include <stdio.h> | |
#include "hardware/irq.h" | |
#include "hardware/gpio.h" | |
#include "pico/stdlib.h" | |
#include "pico/time.h" | |
static const uint8_t DEBOUNCE = 50; | |
static bool pressed = false; | |
static int32_t alarm_id = 0; |
OlderNewer