I hereby claim:
- I am dphov on github.
- I am dphov (https://keybase.io/dphov) on keybase.
- I have a public key ASCCGxkr5452EpM8x10PFqeiE-9bZyLRc7bDSFdUEjhonAo
To claim this, I am signing this object:
Locale Identifier | Locale Name | |
---|---|---|
mr | Marathi | |
bs | Bosnian | |
ee_TG | Ewe (Togo) | |
ms | Malay | |
kam_KE | Kamba (Kenya) | |
mt | Maltese | |
ha | Hausa | |
es_HN | Spanish (Honduras) | |
ml_IN | Malayalam (India) |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>active</key> | |
<true/> | |
<key>addr</key> | |
<integer>0</integer> | |
<key>altid</key> | |
<integer>0</integer> |
I hereby claim:
To claim this, I am signing this object:
countdown() | |
( | |
IFS=: | |
set -- $* | |
secs=$(( ${1#0} * 3600 + ${2#0} * 60 + ${3#0} )) | |
while [ $secs -gt 0 ] | |
do | |
sleep 1 & | |
printf "\r%02d:%02d:%02d" $((secs/3600)) $(( (secs/60)%60)) $((secs%60)) | |
secs=$(( $secs - 1 )) |
#!/bin/bash | |
# Functions ============================================== | |
# return 1 if global command line program installed, else 0 | |
# example | |
# echo "node: $(program_is_installed node)" | |
function program_is_installed { | |
# set to 1 initially | |
local return_=1 |
#!/usr/bin/env python3 | |
# -*- coding:utf-8 -*- | |
""" | |
Basic tutorial 12: Streaming | |
https://gstreamer.freedesktop.org/documentation/tutorials/basic/streaming.html | |
""" | |
import gi | |
import sys | |
import logging |
#!/usr/bin/env python3 | |
""" | |
Basic tutorial 9: Media information gathering | |
https://gstreamer.freedesktop.org/documentation/tutorials/basic/media-information-gathering.html | |
""" | |
import sys | |
import logging | |
import gi | |
gi.require_versions({'Gtk': '3.0', 'Gst': '1.0', 'GstApp': '1.0', 'GstPbutils': '1.0'}) |
#!/usr/bin/env python3 | |
# -*- coding:utf-8 -*- | |
""" | |
Basic tutorial 8: Short-cutting the pipeline | |
https://gstreamer.freedesktop.org/documentation/tutorials/basic/short-cutting-the-pipeline.html | |
""" | |
import sys | |
import logging | |
import gi |
#!/usr/bin/env python3 | |
# coding=utf-8 | |
# https://gstreamer.freedesktop.org/documentation/tutorials/basic/dynamic-pipelines.html | |
import gi | |
gi.require_versions({'Gtk': '3.0', 'Gst': '1.0'}) | |
from gi.repository import Gst, Gtk | |
Gst.init(None) |
# coding=utf-8 | |
# https://gstreamer.freedesktop.org/documentation/tutorials/basic/concepts.html | |
# thanks to https://github.com/gkralik/python-gst-tutorial | |
import gi | |
# import sys | |
gi.require_versions({'Gtk': '3.0', 'Gst': '1.0'}) | |
from gi.repository import Gst, GObject, GLib, Gtk | |
Gst.init(None) |