Skip to content

Instantly share code, notes, and snippets.

@AkBKukU
AkBKukU / video-convert
Last active April 2, 2017 15:50
A basic script to batch convert a directory of videos
#!/bin/bash
# Get list of files from input directory
files=("$(ls input)")
# Output extension
outType=".mp4"
# Iterate over files
for file in $files
# CMake file for Vulkan Tutorial
# by Shelby Jueden (AkBKukU)
cmake_minimum_required(VERSION 3.1)
project(VKDemo)
# Set the name of the ouput binary
set(
BIN_NAME
/* -------------- MultiLEDPWM -------------- *\
| By: Shelby Jueden |
| Date: 2016-05-06 |
| |
| Description: This is a software PWM Library |
| that has 4 animations and a cycling mode. |
| It's designed to be used with a line of |
| LEDs. |
\*-------------------------------------------*/
#!/bin/bash
MAXVOL=40
MAXMICVOL=25
SINKAPP="mpd"
readfile=true
if [ "d$1" != "d" ]
then
MAXVOL=$1
echo "$MAXVOL" > ~/.maxvol
@AkBKukU
AkBKukU / gethub
Last active August 29, 2015 14:07
A simple linux script to simplifiy downloading github repos
#!/bin/bash
# Usage
#
# run `gethub githubuser/repo`
# example `gethub github/markup`
pName=$1