Skip to content

Instantly share code, notes, and snippets.

ffmpeg -i music.m4a music.mp3
ffmpeg -f s16le -ar 11250 -ac 2 -i YouInputFileName.pcm -ar 44100 -ac 2 YouOutputFileName.wav
sudo apt-get install faad flac lame libmad0 libmpcdec6 mppenc vorbis-tools wavpack ffmpeg mpg123 sox socat nmap netcat
sudo apt-get install libopus0 opus-tools
@fallenangel3k
fallenangel3k / gksu.txt
Created January 22, 2021 16:51
gksu & gksudo replacement
Ubuntu 18.04: Some installation programs and others do need gksudo or gksu to be available with the same name. To make these work:
Install gnome version of ssh-askpass. Without this the password dialog may be hidden behind another window:
sudo apt-get install ssh-askpass-gnome
Create new file my-gksudo.sh:
sudo -H gedit /etc/profile.d/my-gksudo.sh
import bpy
import math
class flower(object):
def __init__(self):
# mesh arrays
verts = []
faces = []
-- Import packages
require 'torch'
require 'gnuplot'
--------------------------------------
-- Define the Kalman filter 'class' --
--------------------------------------
-- Constructor
Kalman = {}
Kalman.__index = Kalman
strategy = 3 --[[ Preset game rules and ascent_settings. 1 to turn off; setting it more than 1 will overrides base settings
...2 - Normal Mode for normal balance [>8000 bits]
...3 - Normal Mode for high balance [>16300 bits]
...4 - Alternative mode for multiplier 3, just for having more than common run
...5 - Early profit and later normal run for balance [>4500 bits]
...6 - High profit for medium numbers, for balance [>5000 bits] medium risk
...7 - 2x Mode, for low balance run [<2000 bits] low risk
...8 - 2x Mode, for medium balance run [<4000 bits], average risk
...9 - Soft strategy run, not long term, something like medium term. For balance [>2000 bits] low risk
]]
@fallenangel3k
fallenangel3k / install-soapysdr.sh
Last active April 16, 2021 18:25 — forked from songritk/install-soapysdr.sh
SoapySDR install script for raspberry PI
# Building CubicSDR for Linux
# This script will successfully build CubicSDR under Debian Jessie on the Raspberry Pi3.
# Adapted from https://github.com/cjcliffe/CubicSDR/wiki/Build-Linux
# Larry Dighera June 7, 2016
# [email protected]
# songritk Mar 24,2018 # fallenangel3k Nov 21,2020
cd ~