Skip to content

Instantly share code, notes, and snippets.

View ericsonj's full-sized avatar
💪
Working

Ericson Joseph ericsonj

💪
Working
View GitHub Profile
@ericsonj
ericsonj / gst_tools_examples.sh
Created September 27, 2021 14:02 — forked from sepastian/gst_tools_examples.sh
Use gst-launch (gstreamer-tools) to capture single images and stream video from the command-line.
# Capture a single image and save it in JPEG format.
$ gst-launch v4l2src num-buffers=1 ! jpegenc ! filesink location=/tmp/test.jpg
# Stream video from a webcam.
$ gst-launch v4l2src ! xvimagesink
@ericsonj
ericsonj / i3 dropdown terminal
Created April 16, 2021 11:14 — forked from indeedwatson/i3 dropdown terminal
Dropdown terminal for i3 utilizing the scratchpad
exec --no-startup-id termite --name dropdown &
bindsym $mod+i [instance="dropdown"] scratchpad show, move position center
for_window [instance="dropdown"] floating enable, resize set 800 600, \
move scratchpad