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
// run this script in the Developer Tools' Console | |
// in the browser of your choice | |
let panelsSelector = '.ct-sidebar-course-content .ud-accordion-panel-toggler'; | |
let checkboxesSelector = '.ct-sidebar-course-content li input[type=checkbox]:checked'; | |
let click = function(selector) { | |
console.log('CLICKING...'); | |
let elems = document.querySelectorAll(selector); | |
elems.forEach(function(item, 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
/* | |
* Editor color scheme is changable with this css file | |
* for details, see | |
* https://defold.com/manuals/editor-styling/ | |
* | |
* Discussion | |
* https://forum.defold.com/t/experiments-with-editor-styling-using-javafx-css/67021 | |
*/ | |
* { |
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
<?php | |
/** | |
* Attempts to parse given meta tag's content from given html; | |
* deals with 'standard' and Open Graph meta tags. | |
* | |
* Order of meta tag attributes could be swapped around e.g. can either be | |
* name="..." content="..." | |
* or | |
* content="..." name="..." |