Skip to content

Instantly share code, notes, and snippets.

View ignisf's full-sized avatar
😈

ignisf

😈
View GitHub Profile
@ignisf
ignisf / malta.sh
Last active October 3, 2023 22:49
FreeBSD kernel, rootfs generation script (useful for running freebsd on qumu with MALTA emulation)
#!/bin/sh
set -e
export TARGET=mips
export TARGET_ARCH=mips
export KERNCONF=MALTA
export DESTDIR=/nfsroot/$TARGET.$TARGET_ARCH
export KERNDIR=/tftpboot/$TARGET.$TARGET_ARCH
export IMAGEDIR=/images
@ignisf
ignisf / ppp.conf
Created March 31, 2014 20:42
FreeBSD PPP Configuration for MTel HUAWEI E303 USB 3g Modem
mtel:
set device /dev/cuaU0.0
set speed 921600
set timeout 0
set authname mtel
set authkey mtel
set phone *99#
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" \
@ignisf
ignisf / mpd.conf
Last active February 16, 2019 06:44
FreeBSD MPD5 Configuration for Mtel HUAWEI 3g Modem
startup:
# configure mpd users
set user foo bar admin
set user foo1 bar1
# configure the console
set console self 127.0.0.1 5005
set console open
# configure the web server
set web self 0.0.0.0 5006
set web open
ignisf@c1-10-1-3-77:~/therubyracer$ bundle exec ruby test.rb
test.rb:2: [BUG] Segmentation fault
ruby 1.9.3p484 (2013-11-22 revision 43786) [arm-linux-eabihf]
-- Control frame information -----------------------------------------------
c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :New
c:0003 p:0031 s:0007 b:0007 l:002344 d:000830 EVAL test.rb:2
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:002344 d:002344 TOP
@ignisf
ignisf / _preview.svg
Last active March 31, 2016 01:16
Blood Pressure Plot
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

CC0

To the extent possible under law, Petko Bordjukov has waived all copyright and related or neighboring rights to this nginx ssl configuration.

This work is published from: Bulgaria.

Domain Name: TECHINC.INFO
Registry Domain ID: D503300000077714301-LRMS
Registrar WHOIS Server:
Registrar URL: https://www.gandi.net/whois
Updated Date: 2018-03-14T23:40:37Z
Creation Date: 2018-03-14T23:17:22Z
Registry Expiry Date: 2020-03-14T23:17:22Z
Registrar Registration Expiration Date:
Registrar: Gandi SAS
Registrar IANA ID: 81
ffmpeg -threads 2 -i emd-thegreatestshowman.2160p.mkv -map 0:0 -map 0:1 -c:v copy -strict -2 -c:a:0 dca -profile:a:0 dts_hd_ma -ac 6 -channel_layout '5.1(side)' -c:s copy dts.mkv
@ignisf
ignisf / local.conf
Last active April 29, 2018 17:33
/etc/fonts/local.conf
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="pattern">
<test qual="any" name="family"><string>Helvetica</string></test>
<edit name="family" mode="assign" binding="same"><string>Liberation Sans</string></edit>
</match>
<alias>
<family>serif</family>
<prefer>
while (true); do arecord -f dat -D iec958:CARD=Device,DEV=0 | ./ffmpeg-10bit -probesize 32 -i - -f alsa surround51:CARD=Device,DEV=0; done