Skip to content

Instantly share code, notes, and snippets.

View armando-basile's full-sized avatar

Armando Basile armando-basile

View GitHub Profile
@armando-basile
armando-basile / gist:cdea4d789126007a65e47ff923b5f203
Created November 21, 2019 13:06
WebView - JavaScript to Java communication
package application;
import java.net.URL;
import java.util.Date;
import org.w3c.dom.Element;
import javafx.application.Application;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
@armando-basile
armando-basile / mts-merge.sh
Created October 16, 2018 19:38
bash script to use ffmpeg to merge MTS files and encode with x264
#!/bin/bash
# merge more mts file
actualdir="`pwd`"
if [ -z "$1" ]; then
echo -e "Nessun argomento trovato !!!\nDevi specificare la path della cartella degli MTS da unire\n"
fi
@armando-basile
armando-basile / stacktrace
Created February 9, 2016 14:41
optware-ng on CyanogenMod 13
execve("/system/xbin/wget", ["wget", "-P", "/data/opt/tmp/ipkg-qUiDHM", "http://optware-ng.zyxmon.org/bui"...], [/* 22 vars */]) = 0
brk(0) = 0x1862000
brk(0x18624b8) = 0x18624b8
set_tls(0x1862490, 0x11e464, 0, 0x1212d4, 0x121a50) = 0
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
getuid32() = 0
brk(0x18644b8) = 0x18644b8
brk(0x1865000) = 0x1865000
open("/etc/services", O_RDONLY) = -1 ENOENT (No such file or directory)
# enable build of Gtk gui
%define with_gtk 1
# enable build of Qt gui
%define with_qt 1
%define g_gtk %{name}-gtk
%define g_qt %{name}-qt
%define min_ver 2.0.1
%define name_ver %{name}-%{version}
# enable build of Gtk gui
%define with_gtk 1
# enable build of Qt gui
%define with_qt 1
%define g_gtk %{name}-gui-gtk
%define g_qt %{name}-gui-qt
%define g_console %{name}-console
%define name_ver %{name}-%{version}
%define archivename themonospot
%define basefolder themonospot
%define themonospotbase themonospot-console
Summary: Qt application to use themonospot (multimedia files parser/editor)
Name: themonospot-gui-qt
Version: 0.9.0
Release: %mkrel 1
License: GPLv2
#ExcludeArch: ppc64
Group: Video/Utilities
%define archivename themonospot
%define basefolder themonospot
%define themonospotbase themonospot-console
Summary: Gtk application to use themonospot (multimedia files parser/editor)
Name: themonospot-gui-gtk
Version: 0.9.0
Release: %mkrel 1
License: GPLv2
#ExcludeArch: ppc64
Group: Video/Utilities
%define archivename themonospot
%define basefolder themonospot
Summary: Console application to use themonospot (multimedia files parser/editor)
Name: themonospot-console
Version: 0.9.0
Release: %mkrel 1
License: GPLv2
#ExcludeArch: ppc64
Group: Video/Utilities
Source: https://github.com/armando-basile/%archivename/archive/%{name}-%{version}.tar.gz
%define archivename monosim
%define comexbase comex-base
%define comexfolder comex
Summary: Qt user interface for comex project
Name: monosim-qt
Version: 2.0.1
Release: %mkrel 1
License: GPLv2
#ExcludeArch: ppc64
Group: Communications/Mobile
@armando-basile
armando-basile / monosim-gtk.spec
Created October 19, 2015 22:11
spec file for monosim-gtk
%define archivename monosim
%define comexbase comex-base
%define comexfolder comex
Summary: GTK user interface for comex project
Name: monosim-gtk
Version: 2.0.1
Release: %mkrel 1
License: GPLv2
#ExcludeArch: ppc64
Group: Communications/Mobile