This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# Requirements: youtube-dl (https://github.com/rg3/youtube-dl/) | |
if [ -n "$(youtube-dl --version)" ]; then | |
format=`youtube-dl -F "$1"` | |
if [ -n "$(echo "$format" | cut -d " " -f1 | grep 299)" ]; then | |
youtube-dl -f 299+140 "$1" | |
elif [ -n "$(echo "$format" | cut -d " " -f1 | grep 298)" ]; then | |
youtube-dl -f 298+140 "$1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name dpCat - Crear | |
// @namespace dpcat | |
// @description Crear nueva produccion | |
// @include http://127.0.0.1:8000/postproduccion/crear/ | |
// @require https://code.jquery.com/jquery-2.2.3.min.js | |
// @version 1 | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env ruby | |
# NAME : gmailer.rb | |
# DESCRIPTION : Check and notify new gmails | |
# AUTHOR : Madh93 (Miguel Hernandez) | |
# VERSION : 0.0.1 | |
# LICENSE : GNU General Public License v3 | |
# USAGE : ruby gmailer.rb XML [OPTION] | |
require 'nokogiri' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# NAME : xfcemon.sh | |
# DESCRIPTION : Launch XFCE/Cinnamon apps | |
# AUTHOR : Madh93 (Miguel Hernandez) | |
# VERSION : 0.0.1 | |
# LICENSE : GNU General Public License v3 | |
# USAGE : bash xfcemon.sh | |
NewerOlder