Skip to content

Instantly share code, notes, and snippets.

@kaleksandrov
kaleksandrov / 2mp3.sh
Created May 5, 2016 19:20
Converts the given video file to an audio one.
#!/bin/sh
case $# in
1)
FROM="$1"
TO="$1"
;;
2)
FROM="$1"
TO="$2"
@kaleksandrov
kaleksandrov / global-protect.sh
Last active November 13, 2024 15:20
Simple script that starts and stops GlobalProtect.app on Mac OSX.
#!/bin/bash
case $# in
0)
echo "Usage: $0 {start|stop}"
exit 1
;;
1)
case $1 in
start)