This file contains 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 <errno.h> | |
#include <fcntl.h> | |
#include <linux/loop.h> | |
#include <sys/ioctl.h> | |
#include <stdio.h> | |
#include <unistd.h> | |
// Sample program using loop interface to find a free loopback device | |
// in the system and send a bunch of ioctls to the found device. | |
// Please see: https://man7.org/linux/man-pages/man4/loop.4.html |
This file contains 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 numpy as np | |
from scipy.signal import firwin, lfilter, butter, medfilt | |
import matplotlib | |
matplotlib.use('TkAgg') | |
import matplotlib.pyplot as plt | |
# sampling frequency in Hz | |
Fs = 8000 |
This file contains 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
// Example program | |
#include <iostream> | |
#include <string> | |
int main() | |
{ | |
static constexpr size_t N {4}; | |
std::string banner [N] = {"name", "loction", "duration", "genre"}; | |
std::string song1 [N] = {"dilagi", "https://www.youtube.com/watch?v=B3P4zGY6llw", "600", "Qawali"}; | |
std::string song2 [N] = {"Everthing I do", "/home/my-home/everything.mp3", "240", "Pop"}; |
This file contains 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
Links in comments |
This file contains 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
General log dump to replace pastebin |
This file contains 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
package commonapi.foobar | |
interface FooBarInterface { | |
version { major 0 minor 1 } | |
broadcast bar { | |
out { | |
Boolean reply | |
} | |
} |