ffmpeg is a fast video and audio converter that can also grab from a live audio/video source.
- -h show all options
- -h(elp) topic show help
- -version show version
- -formats show available formats
| /* Avalanche matrix visualizer | |
| * $ cc -Ofast -fopenmp -Wall -Wextra avalanche.c | |
| * This is free and unencumbered software released into the public domain. | |
| */ | |
| #include <stdint.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #define NSAMPLES (1L << 24) | |
| #define SCALE 24 |
| # install and build | |
| sudo apt-get install libgstreamer-plugins-base1.0-dev libgstreamer1.0-0 libgstreamer1.0-dev libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio -y | |
| https://github.com/stb-tester/latency-clock.git | |
| cd latency-clock | |
| make all | |
| export GST_PLUGIN_PATH=/usr/local/lib/ | |
| # shit | |
| sudo mv libgsttimeoverlayparse.so /usr/local/lib/ | |
| jit-toy: jit-toy.cpp | |
| clang++ -g -o $@ $^ $(shell /usr/lib/llvm-5.0/bin/llvm-config --cxxflags --ldflags --system-libs --libs core) |
| /* Standard includes */ | |
| #include <stdio.h> | |
| /* HiFive1/FE310 includes */ | |
| #include "sifive/devices/spi.h" | |
| #include "platform.h" | |
| #include "encoding.h" | |
| #include "plic/plic_driver.h" | |
| volatile int invert_LEDs = 0; |
| #!/bin/bash | |
| # THIS GIST IS NO LONGER MAINTAINED! | |
| # GO HERE FOR THE NEW REPO - https://github.com/ZakKemble/avr-gcc-build | |
| # http://www.nongnu.org/avr-libc/user-manual/install_tools.html | |
| # For optimum compile time this should generally be set to the number of CPU cores your machine has |
| #! /usr/bin/env python3 | |
| """Fixing bluetooth stereo headphone/headset problem in debian distros. | |
| Workaround for bug: https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1577197 | |
| Run it with python3.5 or higher after pairing/connecting the bluetooth stereo headphone. | |
| This will be only fixes the bluez5 problem mentioned above . | |
| Licence: Freeware |
| #!/bin/bash | |
| USER="user" | |
| PASSWORD="password" | |
| SEP="+++++" | |
| TMP=`curl -s -D - www.google.it | grep Location` | |
| echo "Header with magic: "$TMP | |
| MAGIC=`echo $TMP | grep -o '[[:alnum:]]\{16\}' | tr -d '\r\n'` | |
| echo "Magic extracted from header: "$MAGIC |
| I use the first | |
| —– BEGIN LICENSE —– | |
| Michael Barnes | |
| Single User License | |
| EA7E-821385 | |
| 8A353C41 872A0D5C DF9B2950 AFF6F667 | |
| C458EA6D 8EA3C286 98D1D650 131A97AB | |
| AA919AEC EF20E143 B361B1E7 4C8B7F04 |