running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
# See video: https://youtu.be/5z0JImIiQVs | |
readcountdown1 is a function | |
readcountdown1 () | |
{ | |
local secs="$1"; | |
local var="$2"; | |
local msg="$3"; | |
local uinp; | |
for ((i=secs; i>0; i--)) |
OPTS=-Wall | |
CFLAGS=-I/usr/include/cairo ${OPTS} | |
LDLIBS=$(shell pkg-config x11 --libs) -lXfixes -lcairo -lXcomposite -lXext | |
all: cc | |
cc: | |
g++ -o draw-border ${CFLAGS} draw-border.c ${LDLIBS} && ./draw-border | |
vi: |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
#!/bin/bash | |
# Simple script to do a command upon voice-recognition of.. a command. | |
# It uses pocketsphinx_continuous (which comes from debian's | |
# pocketsphinx package in my case). | |
# For accuracy, similar phrases should be provided. | |
# The LAST phrase on the commandline will trigger the command | |
# (which is the very last thing on the command line) | |
# Example: |
class Cfg { | |
static final apiUrl = 'https://www.this-is-my-backend-api-site.com/api'; | |
static final urlAuth = apiUrl+'/auth'; | |
} |
running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8