Skip to content

Instantly share code, notes, and snippets.

Avatar

Zoltan Arvai azbesthu

  • Hungary, Szeged
View GitHub Profile
@azbesthu
azbesthu / dvb-switch.sh
Created Jul 12, 2015
dvb-switch for t230
View dvb-switch.sh
#! /bin/bash
# /etc/init.d/dvbc-switch
### BEGIN INIT INFO
# Provides: dvbc-switch
# Required-Start: $local_fs $remote_fs udev
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Switch multipurpose tuner to DVB-C.
@azbesthu
azbesthu / gist:7badef25eed8dd9d29b1
Last active Aug 29, 2015
raspbian 2015.06.25 4.0.6
View gist:7badef25eed8dd9d29b1
pi@raspberrypi ~ $ lsmod
Module Size Used by
cfg80211 499322 0
rfkill 22487 1 cfg80211
snd_bcm2835 22331 0
snd_pcm 92157 1 snd_bcm2835
snd_seq 62024 0
snd_seq_device 8188 1 snd_seq
snd_timer 23488 2 snd_pcm,snd_seq
snd 67406 5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device
View gist:a7ee145ec3760913049b
OpenELEC:/dev/dvb/adapter0 # lsmod
Module Size Used by
si2157 3908 1
si2168 6226 1
i2c_mux 2086 1 si2168
dvb_usb_cxusb 43597 1
dib0070 7188 1 dvb_usb_cxusb
dvb_usb 15469 1 dvb_usb_cxusb
rc_core 15367 1 dvb_usb
dvb_core 78568 1 dvb_usb
View gist:c1f5f0eb372de3958fc1
Sport2;T-Home:402000:M64:C:6875:101=2:110=hun:0:B00,B01:48:100:4:0
Minimax/C8;T-Home:402000:M64:C:6875:201=2:210=hun:0:B00,B01:54:100:4:0
COOL;T-Home:402000:M64:C:6875:301=2:310=HUN:0:B00,B01:60:100:4:0
AMC;T-Home:402000:M64:C:6875:401=2:410=hun,411=eng:0:B00,B01:62:100:4:0
Discovery Channel;T-Home:402000:M64:C:6875:501=2:510=hun,511=eng:0:B00,B01:67:100:4:0
Spektrum;T-Home:402000:M64:C:6875:601=2:610=hun:0:B00,B01:72:100:4:0
TV Paprika;T-Home:402000:M64:C:6875:701=2:710=hun:0:B00,B01:77:100:4:0
Echo TV;T-Home:402000:M64:C:6875:801=2:810=hun:0:B00,B01:78:100:4:0
d1TV;T-Home:402000:M64:C:6875:901=2:910=hun:0:B00,B01:81:100:4:0
OzoneNetwork;T-Home:426000:M64:C:6875:101=2:110=hun,111=eng:0:0:10:100:1:0
View gist:1d6de15030e31daa211a
https://github.com/OpenELEC/dvb-firmware/tree/master/firmware
dvb-demod-si2168-a20-01.fw
dvb-demod-si2168-a30-01.fw
dvb-demod-si2168-b40-01.fw
View gist:9ef996526f1f0ff79396
<CheckBox
android:id="@+id/checkBox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="Mutasd a kódot!"
android:drawablePadding="10dp"
android:paddingLeft="0dp"
android:checked="false"
android:drawableLeft="@drawable/checkbox_drawable"
View gist:f4f864dafd7e34ec68e5
======= /etc/init.d/oscam =============
#! /bin/bash
# /etc/init.d/oscam
### BEGIN INIT INFO
# Provides: oscam
# Required-Start:
# Required-Stop:
# Default-Start: 2 3 4 5
@azbesthu
azbesthu / gist:4d4b91cd32b565d7b23e
Last active Aug 7, 2019
Raspi2 tvheadend & oscam setup
View gist:4d4b91cd32b565d7b23e
Raspi2 tvheadend & oscam setup
Raspbian current
sudo apt-get update
sudo apt-get upgrade
# libs for tvheadend & oscam
sudo apt-get install build-essential subversion pcscd pcsc-tools libpcsclite-dev libccid libssl-dev debhelper libavahi-client-dev libcurl4-gnutls-dev liburiparser-dev git
View gist:9f67affe4b1314069162
Using username "root".
root@192.168.1.230's password:
##############################################
# OpenELEC - The living room PC for everyone #
# ...... visit http://www.openelec.tv ...... #
##############################################
OpenELEC (official) Version: 5.0.0
OpenELEC:~ # ls /dev/dvb
adapter0
View gist:154a98d8667c90af3403
diff --git a/Source/WTF/wtf/CurrentTime.cpp b/Source/WTF/wtf/CurrentTime.cpp
index e7326df..0a4dea4 100644
--- a/Source/WTF/wtf/CurrentTime.cpp
+++ b/Source/WTF/wtf/CurrentTime.cpp
@@ -296,6 +296,8 @@ double monotonicallyIncreasingTime()
{
ASSERT(QElapsedTimer::isMonotonic());
static QElapsedTimer timer;
+ if (!timer.isValid())
+ timer.start();