This command will replace the first letter for its upper case letter, after obj['
element
:%s/obj\['\(\w\)/obj['\u\1/g
Usage:
# Add the following to your .gitconfig file. | |
[diff] | |
tool = meld | |
[difftool] | |
prompt = false | |
[difftool "meld"] | |
cmd = meld "$LOCAL" "$REMOTE" | |
I hereby claim:
To claim this, I am signing this object:
echo "" | |
echo "* Se inicializa el proyecto" | |
echo "* $ git init" | |
echo "" | |
git init | |
echo "" | |
echo "* Se crean archivos .gitignore y README.md" | |
echo "* $ touch .gitignore y README.md" |
{ | |
"appVersion" : "3.5.1", | |
"jsonVersion" : "0.0.3", | |
"exchange" : { | |
"orionx" : { | |
"markets" : [ | |
{ | |
"basecurrency" : "BTC", | |
"pares" : [ | |
"CHA", |
function checkSize(seenBlock,value){ | |
let count = seenBlock.size; | |
seenBlock.add(value); | |
if(seenBlock.size==count && value!="."){ | |
console.log("break bloque: "+value); | |
return false; | |
} | |
return true; | |
} |
function rotateImage(a) { | |
let array = []; | |
for(let i=0; i<a.length; i++){ | |
let arrayIn = []; | |
let aux = 0; | |
for(let j=a[i].length-1; j>=0; j--){ | |
//console.log("i:"+i+"|j:"+j+": "+a[j][i]); | |
arrayIn[aux]=a[j][i]; | |
aux++; | |
} |
function firstNotRepeatingCharacter(s) { | |
/*Se define un array al cual se irá sacando información*/ | |
let length = s.length,result = [], seen = new Set(), notSeen = new Set(); | |
let notOcurrance = "_"; | |
for (let index = 0; index < length; index++) { | |
let value = s[index]; | |
if (seen.has(value)){ | |
notSeen.delete(value); | |
}else{ | |
notSeen.add(value); |
function firstDuplicate(a) { | |
let length = a.length,result = [], seen = new Set(); | |
let firstOccurance = -1; | |
for (let index = 0; index < length; index++) { | |
let value = a[index]; | |
if (seen.has(value)){ | |
/*Guardo primera ocurrencia y quiebro*/ | |
firstOccurance=value; | |
break; | |
} |