Skip to content

Instantly share code, notes, and snippets.

View OpnSrcConstruction's full-sized avatar
:octocat:
Working from home

Open Source Construction OpnSrcConstruction

:octocat:
Working from home
View GitHub Profile
@OpnSrcConstruction
OpnSrcConstruction / keybase.md
Created July 15, 2016 18:44
keybase.io proof Friday July 15 2:44 PM

Keybase proof

I hereby claim:

  • I am OpnSrcConstruction on github.
  • I am kjlw99 (https://keybase.io/kjlw99) on keybase.
  • I have a public key whose fingerprint is 1082 F010 2BEC E976 7F16 2199 1334 9065 9A1F E0E4

To claim this, I am signing this object:

@OpnSrcConstruction
OpnSrcConstruction / GStreamer-1.0 some strings.sh
Created March 5, 2017 15:27 — forked from strezh/GStreamer-1.0 some strings.sh
GStreamer-1.0 personal cheat sheet
#!/bin/bash
# play YUV444 FULL HD file
gst-launch-1.0 -v filesrc location=size_1920x1080.yuv ! \
videoparse width=1920 height=1080 framerate=25/1 format=GST_VIDEO_FORMAT_Y444 ! \
videoconvert ! \
autovideosink
# play YUV422 FULL HD file
gst-launch-1.0 -v filesrc location=size_1920x1080.yuv ! \
'''
@author: OpenSourceConstruction
'''
Super_list = ['Super-man', 'Super-girl', 'Krypto']
# Print the entire list.
@OpnSrcConstruction
OpnSrcConstruction / This example shows how a simple string, is actually a list of string objects in Python.
Last active April 9, 2019 19:29
Python Example: basic list slicing objects #python #slicing #list
'''
@author: OpnSrcConstruction
'''
# A string is just a list of string objects in Python.
# This is much simpler, than all those strict languages like C.
string_greeting = "Hello World!"
programming_community = "Python Programming"
@OpnSrcConstruction
OpnSrcConstruction / A basic pair of tuples, and how to reference them.
Last active April 9, 2019 19:32
Python example: tuple basics #python #tuple
'''
@author: OpnSrcConstruction
'''
tuple_1 = ('Joe', 'Pam', 1998, 2018)
tuple_2 = (1, 2, 3, 4, 5, 6, 7, 8, 9)
'''
@author: OpnSrcConstruction
'''
for letter in 'OpnSrcConstruction':
print('Current Letter :' , letter , '\n')
print("\nGood bye :)")
'''
@author: OpnSrcConstruction
'''
x = 1
if x == 1:
print('x is equal to 1')
'''
@author: OpnSrcConstruction
'''
x = 5
if x == 1:
print('x is equal to 1')
elif x == 3:
@OpnSrcConstruction
OpnSrcConstruction / Example while looping.
Created April 9, 2019 20:47
Python Example: while loopin #python #while #loop
# future while loop
@OpnSrcConstruction
OpnSrcConstruction / Python hello world statement.
Created April 9, 2019 20:49
Python statement example: #python #statement #hello-world
'''
@author: CreativeCub
'''