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
/** | |
Example: | |
getHTMLSubElements(HTML, '.cssSelector'); | |
getHTMLSubElements(HTML, '#idSelector'); | |
getHTMLSubElements(HTML, 'SubTagName .cssSelector'); | |
*/ | |
function getHTMLSubElements(HTML, sel) { | |
let root = document.createElement("DIV"); | |
root.innerHTML = HTML; |
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 | |
/** | |
* Shortcode for product unit price. | |
* | |
* Example: | |
* [woo_product_unit_price unit="Kg" unit_ratio="0.25"] | |
* | |
* Frontend view: | |
* Egységár: 1000 Ft / Kg | |
* |
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
version: '2' | |
services: | |
web: | |
image: node:argon | |
volumes: | |
- ./www:/usr/src/app | |
ports: | |
- "3000:8080" | |
depends_on: |
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
// ==UserScript== | |
// @name hup.hu.mobile | |
// @namespace https://gist.github.com/hunsly/3b0de70430d9f231b510f2750d3d5f91/ | |
// @version 0.2 | |
// @description Top menut alakit ki az oldal tetejen | |
// @author hunsly | |
// @updateURL https://gist.github.com/hunsly/3b0de70430d9f231b510f2750d3d5f91/raw/hup.hu.mobile.user.js | |
// @downloadURL https://gist.github.com/hunsly/3b0de70430d9f231b510f2750d3d5f91/raw/hup.hu.mobile.user.js | |
// @match https://hup.hu/* | |
// @grant none |