Skip to content

Instantly share code, notes, and snippets.

View arthurprogramming's full-sized avatar

Arthur Guimarães arthurprogramming

View GitHub Profile
#!/bin/bash
mkdir -p ./{speedup,invert,upload,overlay,downloaded}
#find . -type f -name "*.mp4" -exec rm {} \;
PLAYLIST="$1"
START="$2"
END="$3"
if [[ ! -z $1 ]];
<?php
class FutebolCard
{
const URL = 'https://www.futebolcard.com/site';
const SOON = 'Soon';
protected $token;
public function __construct($token)
#!/bin/bash
if [ ! -z $(which whiptail) ];
then
DIALOGPROGRAM="whiptail"
elif [ ! -z $(which dialog) ];
then
DIALOGPROGRAM="dialog"
else
echo -e "You need 'whiptail' or 'dialog' to use this script"
#!/bin/bash
PROJECTPATH=$1
PATHTOSAVE=$2
if [[ -z $PROJECTPATH ]]; then
echo "no project path informed!"
exit 1
fi
@arthurprogramming
arthurprogramming / tenhoursvideo.sh
Last active August 29, 2015 14:13
Making 10 hours videos
#!/bin/bash
COMMAND=$1
FILE_NAME=$2
LIST_FILE="lista.txt"
case $COMMAND in
"make10")
TIME=$3
@arthurprogramming
arthurprogramming / tagupdate.sh
Last active August 29, 2015 14:11
Indexing php projects for vim
#!/bin/bash
function doScan()
{
MAINFILE=$1
TYPE=$2
PARAM=""
BKP_FILE="cscope.files.bak"
if [[ $TYPE == "partial" ]] ; then