This file contains 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/sh | |
PULSEPHP_URL="https://github.com/diniremix/pulsePHP/archive/master.zip" | |
PULSEJS_URL="https://gist.githubusercontent.com/diniremix/8df589843792342197cd/raw/deebde566b25316fc39c8da5a18a4eeb9e88efa4/pulseJS.js" | |
TEST_DIR="./test" | |
APP_DIR="./js" | |
function help(){ | |
echo; | |
echo -e "\e[1;97mpulse\e[0m - a simple script to generate skeletons for Web applications"; |
This file contains 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
var pulseJS=(function () { | |
var urlBase='app/pulsePHP/v1/'; | |
getFormsElements=function (form) { | |
var regForm = $('#'+form).serializeArray(); | |
var regFormObject = {}; | |
var cont=0; | |
$.each(regForm,function(i, v) { | |
regFormObject[v.name] = v.value; | |
}); |
This file contains 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
function shit() { | |
if [ -n "$2" ]; then | |
curl -i http://git.io -F url=https://github.com/"$1" -F code="$2"; | |
else | |
curl -i http://git.io -F url=https://github.com/"$1"; | |
fi | |
} |
This file contains 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
@echo off | |
echo pega la direccion del enlace aqui... | |
set /p link= | |
wget -c %link% | |
@echo on |
This file contains 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 | |
java $JVM_ARGS -jar /usr/local/bin/yuicompressor-2.4.7.jar "$@" |
This file contains 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
Show hidden characters
//minifyjs.sublime-build | |
{ | |
"cmd": [ "${packages}\\JavaScript\\yui.bat", "$file", "-o", "${file_path}/${file_base_name}.min.js"], | |
"selector": "source.js" | |
} | |
//yui.bat | |
@echo off | |
echo minifying %* | |
:: path to yui compressor |
This file contains 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 | |
if [ $# -le 0 ];then | |
echo -e $0: Especifique un nombre de archivo javascript; | |
exit 1; | |
fi | |
JS=$1; | |
function convert() { | |
if [ -e $JS ]; then | |
FILENAME=$(basename "$JS") |
This file contains 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
[Desktop Entry] | |
Name=Sublime | |
Name[es]=Sublime Text 2 | |
Comment=Sublime Text 2 | |
Comment[es]=Sublime Text 2 | |
GenericName[es]=Sublime Text 2 | |
TryExec=/home/diniremix/.SublimeText2/sublime_text | |
Exec=/home/diniremix/.SublimeText2/sublime_text | |
Icon=/home/diniremix/.SublimeText2/Icon/32x32/sublime_text.png | |
Type=Application |
This file contains 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/bash | |
clear | |
function createProyect(){ | |
proyname=$1 | |
if [ ! -d "$proyname" ]; | |
then | |
echo | |
echo -e 'Creando nuevo repositorio de GIT: \e[1;33m'$proyname'\e[0m' | |
mkdir -v $proyname |
OlderNewer