open/vuew jks cert: jre/bin/ikeyman.exe
2023-06-20
2023-06-11
js
https://jsonplaceholder.typicode.com/posts
var firstName = "Jamila";
console.log(typeof firstName); //string
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference
console.log(Object.values(person));
console.log(Object.keys(person));
console.log(JSON.stringify(person))
const advice = document.querySelector(".advice");
advice.textContent = "asdf";
btn.addEventListener("click", fnBtn);
arrays: map find reduce sort
datas = [{id:1,title:'adsf'},{id:2},{title:'asdf3}]
datas.find((id)=> d.id===id)
const id = data?.id? ?? 0;
const arry = [1,2,3]
console.log(arry.map((el)=>el*2)) //2,4,6
console.log(datas.map((el)=>el.id)//1,2
const dataNew = datas.map((data)=>({
dataId:data.id;
dataTitle: data.title;
}))
const pages = books.reduce((accu,book)=>accu + book.pages,0);
//initial value could be a number 0, array [], object {})
//unlike map filter, the sort mutated the array
[2,1,3].sort((a,b)=>a-b) //[1,2,3]
//to preserve the original array, we create a copy first:
data.slice().sort(a,b=>b-a)
const booksAfter = [...books, newBook] //spread operator (not rest)
2023-06-03
Java
https://www.youtube.com/watch?v=X80nJ5T7YpE Spring Boot + JWT
https://www.youtube.com/watch?v=t4-416mg6iU OAuth
/libs/some.jar
mvn install:install-file -Dfile=some.jar -DgroupId=asdf.com -DartifactId=artif -Dversion=1.9.9 -Dpackaging=jar -DgeneratePom=true
2023-06-02
power supply
https://www.youtube.com/watch?v=oqVrS08UOW8
Импульсные СТАБИЛИЗАТОРЫ НАПРЯЖЕНИЯ и ТОКА. Как они работают
SEPIC - повышающий и понижающий стабилизатор
Subscribe to:
Posts (Atom)