View gittag.sh
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 | |
echo -n "Tag Name: " | |
read -e TAG | |
git tag $TAG | |
git push origin --tags |
View allegroImageOpener.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
document.querySelectorAll("img").forEach(e=>{"presentation"===e.getAttribute("role")&&(console.log(e.src),window.open(e.src))}); |
View makeJSONfromHTMLlist.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
function generujJSON(nazwaIDlisty) { | |
var listaArr = []; | |
var listaOsoby = ['','']; | |
var lista = document.getElementById(nazwaIDlisty).children[0].children; | |
for (var i = 0; i < lista.length; i++) { | |
var osoba = lista[i].innerText.split(",")[0]; | |
listaOsoby = ['m', osoba]; | |
listaArr.push(listaOsoby); | |
} | |
var jsonWykladowcy = JSON.stringify(listaArr); |