Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Umar umar14

🏠
Working from home
View GitHub Profile
@umar14
umar14 / scriptOmx.sh
Created Aug 14, 2019
RPi script to loop videos in omxplayer
View scriptOmx.sh
#!/bin/sh
# set here the path to the directory containing your videos
VIDEO_PATH1="/home/pi/PyLoopVideo/FINAL/MainVideo.mp4"
VIDEO_PATH2="/home/pi/PyLoopVideo/FINAL/Video1.mp4"
VIDEO_PATH3="/home/pi/PyLoopVideo/FINAL/Video2.mp4"
FILE_Button1="/home/pi/PyLoopVideo/FINAL/button1.txt"
FILE_Button2="/home/pi/PyLoopVideo/FINAL/button2.txt"
@umar14
umar14 / test.au3
Created Aug 14, 2019
A simple Autoit Script for Windows
View test.au3
#include <Misc.au3>
#include <MsgBoxConstants.au3>
Local $hDLL = DllOpen("user32.dll")
While 1
If _IsPressed("75", $hDLL) Then
ConsoleWrite("_IsPressed - Shift Key was pressed." & @CRLF)
; Wait until key is released.
While _IsPressed("75", $hDLL)
You can’t perform that action at this time.