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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<script src="./browser/bundle.js"></script> | |
</head> | |
<body> |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
/* Linked list entry */ | |
typedef struct llEntry { | |
struct llEntry* prev; | |
struct llEntry* next; | |
void* data; | |
} llEntry; |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <time.h> | |
int find_median(int* arr, size_t count); | |
size_t median_count(int* arr, size_t count, int median); | |
int find_median(int* arr, size_t count) { | |
int sum = 0; |
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
#!/bin/bash | |
# https://gist.github.com/ericek111/7463aa1c2367683e51578789767a583a | |
# Check if SOX is installed | |
if ! hash "${SOX:-sox}" 2>/dev/null; then | |
echo "ERROR: SOX was not found in path ${SOX:-sox}" | |
echo "Run: sudo apt-get install sox libsox-fmt-mp3" | |
exit 1 | |
fi |
NewerOlder