Skip to content

Instantly share code, notes, and snippets.


Yili He elihe999

View GitHub Profile
elihe999 / cloudSettings
Last active Aug 3, 2020
vscode extensions
View cloudSettings
elihe999 / flashingpushbutton.h
Created Oct 18, 2019 — forked from jniemann66/flashingpushbutton.h
Making a flashing button in Qt
View flashingpushbutton.h
#include <QPushButton>
#include <QTimer>
// class flashingPushButton
// Description: a QPushButton which flashes on and off whenever it is Disabled (to indicate that the app is busy processing ...)
class flashingPushbutton : public QPushButton{
elihe999 / pcap2wav
Created Jul 12, 2018 — forked from avimar/pcap2wav
Convert raw PCAP files into a .wav file
View pcap2wav
# pcap2wav
# Original Author: Michael Collins <>
#Standard disclaimer: batteries not included, your mileage may vary...
# Updated by Avi Marcus <>
# Accepts arg of pcap file w/only 2 RTP streams
# Creates a .<codec> file and a .wav file
# For codecs other than PCMA and PCMU the script calls fs_cli and does a little recording to create the wav file(s)
# taken from
# generate server.xml with the following command:
# openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes
# run as follows:
# python
# then in your browser, visit:
# https://localhost:4443
import BaseHTTPServer, SimpleHTTPServer
import ssl
elihe999 /
Created Jun 22, 2018 — forked from lanuma/
Extract RTP from pcap to raw and convert to wav
pcap_file="voip.pcap"; #nama file pcap
audio_output="suara.wav"; #output audio
raw_file="suara.raw"; #nama raw file hasil extract
if [ $EUID -ne 0 ]; then
echo "This script must be run as root";
exit 1;
You can’t perform that action at this time.