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
f80681c41c43b41fea575b8ae8d8dc8e: {locked_at : 2016-06-17 21:08:15 UTC} | |
f80681c41c43b41fea575b8ae8d8dc8e: {keep_alive_at : 2016-06-17 21:08:15 UTC} | |
f80681c41c43b41fea575b8ae8d8dc8e: {last_error : } | |
f80681c41c43b41fea575b8ae8d8dc8e: {active_at : } | |
f80681c41c43b41fea575b8ae8d8dc8e: {created_at : 2016-06-17 21:08:15 UTC} | |
f80681c41c43b41fea575b8ae8d8dc8e: {job : {"params"=>{"user_id"=>"56c37cf4f7bb36d06a000071", "organization_id"=>"56c37b61f7bb36d06a00003a", "event"=>"schedule_live_interview", "timestamp"=>1466197695}, "class"=>"Jobs::Intercom::CreateEventJob"}} | |
f80681c41c43b41fea575b8ae8d8dc8e: {queue_options : {}} | |
f80681c41c43b41fea575b8ae8d8dc8e: SUCCESS: Created event schedule_live_interview for organization 56c37b61f7bb36d06a00003a successfuly | |
f80681c41c43b41fea575b8ae8d8dc8e: Completed job 576466bf29e1bc39da00000c | |
f80681c41c43b41fea575b8ae8d8dc8e: Harakiri |
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 isBalanced(string) { | |
var balanced = true; | |
var parts = string.split(''); | |
var openBraces = /{|\[|\(/; | |
var closeBraces = /}|\]|\)/; | |
var stack = []; | |
for (var i = 0; i < parts.length; i++) { | |
if (parts[i].match(openBraces)) { | |
stack.push(parts[i]); |
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
{ | |
// Details: https://github.com/victorporof/Sublime-JSHint#using-your-own-jshintrc-options | |
// Example: https://github.com/jshint/jshint/blob/master/examples/.jshintrc | |
// Documentation: http://www.jshint.com/docs/options/ | |
"browser": true, | |
"esnext": true, | |
"globals": { | |
"$": true, | |
"_": true, | |
"angular": true, |
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
; C Major Chord | |
; By Gilberto Avalos | |
; You need Impromptu to run this script | |
; http://impromptu.moso.com.au/downloads.html | |
; Clear all | |
(au:clear-graph) | |
; Define piano instrument |
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
; C Major Chord | |
; By Gilberto Avalos | |
; Clear all | |
(au:clear-graph) | |
; Define piano instrument | |
(define piano (au:make-node "aumu" "dls " "appl")) | |
(au:connect-node piano 0 *au:output-node* 0) | |
(au:update-graph) |
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
// Open: | |
/Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-pull | |
// Replace line 11 & 12 | |
. git-sh-setup | |
. git-sh-i18n | |
// With this: | |
. /Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-sh-setup | |
. /Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-sh-i18n |
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
titanium build -p ios -F ipad -R ~/ALL_PURPOSE.mobileprovision -T dist-appstore |
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
// If you don't already have alloy.jmk generated do this inside your app/project folder | |
// $ alloy generate jmk | |
task("pre:compile", function(event,logger) { | |
var wrench = require("wrench"), | |
fs = require("fs"), | |
jade = require("jade"), | |
view_root = event.dir.project, | |
path = require("path"); |
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
// This is very common in big projects with a lot of scripts, | |
// when the programmer doesn't know where a function/action was called | |
// Assigning a reference | |
$.fn.val2 = $.fn.val; | |
// Overwriting the original function | |
$.fn.val = function(){ | |
console.log( this, arguments ); | |
console.log( 'Called from: ', arguments.callee.caller ); |
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
/* | |
Modificación de script desarrollado por mirrorlinux.net | |
*/ | |
function calculaRFCURP(data) { | |
var paterno1st = data.apellido_paterno.toUpperCase(); | |
paterno1st = paterno1st.replace("LAS",""); | |
paterno1st = paterno1st.replace("DEL",""); | |
var paterno = paterno1st.replace("LA",""); | |
paterno = paterno.replace("DE",""); |
NewerOlder