This file contains hidden or 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 | |
source <(curl -s https://raw.githubusercontent.com/staketown/utils/master/common.sh) | |
printLogo | |
source <(curl -s https://raw.githubusercontent.com/staketown/cosmos/master/utils/ports.sh) && sleep 1 | |
export -f selectPortSet && selectPortSet | |
read -r -p "Enter node moniker: " NODE_MONIKER |
This file contains hidden or 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
const puppeteer = require('puppeteer'); | |
var browser = (async () => { | |
const browser = await puppeteer.launch({ | |
//headless: false, | |
slowMo: 10, | |
ignoreHTTPSErrors: true | |
}); |
This file contains hidden or 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
/* | |
* FormData for XMLHttpRequest 2 - Polyfill for Web Worker | |
* (c) 2014 Rob Wu <[email protected]> | |
* License: MIT | |
* - append(name, value[, filename]) | |
* - XMLHttpRequest.prototype.send(object FormData) | |
* | |
* Specification: http://www.w3.org/TR/XMLHttpRequest/#formdata | |
* http://www.w3.org/TR/XMLHttpRequest/#the-send-method | |
* The .append() implementation also accepts Uint8Array and ArrayBuffer objects |
This file contains hidden or 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
For anybody else landing here with this problem, WPML now adds a post_lang attribute the posts' mappings. (I'm using 3.9.4) | |
It also adds a post_filter argument to the request itself so it considers this post_lang in ElasticPress queries. | |
One problem remains : the indexing is still for a unique language as described in this issue. | |
To resolve this, add a filter to suppress WPML's filter on the indexing | |
add_filter('ep_index_posts_args', function($args) { | |
return array_merge($args, [ |
This file contains hidden or 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
.top-bar, .top-bar a, .top-bar .mini-nav .customSelect, .top-bar .mini-nav a:hover, .header-bottom-bar a { | |
color: white !important; | |
position: fixed !important; | |
width: 100% !important; | |
background: red none repeat center center !important; | |
z-index: 99 !important; | |
top: 0; | |
} | |
.masthead { |
This file contains hidden or 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
jQuery(document).ready(function($) { | |
/* | |
Small object to manipulate ajax page for wordpress. Inherit to your liking! | |
For: CmantikWeb - Servio Zambrano | |
*/ | |
var loadMore = { | |
paged : 2, | |
switchp : 1, | |
action : "get_daypackage", | |
buttom : $('#more-package'), |