Put this on your wp-config.php
/* That's all, stop editing! Happy blogging. */
define('FS_METHOD', 'direct');
Put this on your wp-config.php
/* That's all, stop editing! Happy blogging. */
define('FS_METHOD', 'direct');
bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:9000)" != "200" ]]; do sleep 5; done' | |
# also check https://gist.github.com/rgl/c2ba64b7e2a5a04d1eb65983995dce76 |
<settings> | |
... | |
<activeProfiles> | |
<activeProfile>nexus</activeProfile> | |
</activeProfiles> | |
... | |
<profiles> | |
<profile> | |
<id>nexus</id> | |
<repositories> |
#!groovy | |
# Best of Jenkinsfile | |
# `Jenkinsfile` is a groovy script DSL for defining CI/CD workflows for Jenkins | |
node { | |
} |
/** | |
* Created by tturner on 7/22/15. | |
*/ | |
import groovy.json.* | |
static def parseQueryString(String string) { | |
string.split('&').collectEntries{ param -> | |
param.split('=', 2).collect{ URLDecoder.decode(it, 'UTF-8') } | |
} |
import java.io.UnsupportedEncodingException; | |
public final class HexDumpUtil { | |
public static String formatHexDump(byte[] array, int offset, int length) { | |
final int width = 16; | |
StringBuilder builder = new StringBuilder(); | |
for (int rowOffset = offset; rowOffset < offset + length; rowOffset += width) { | |
builder.append(String.format("%06d: ", rowOffset)); |
codename=$(lsb_release -c | awk '{print $2}') | |
sudo tee /etc/apt/sources.list.d/ddebs.list << EOF | |
deb http://ddebs.ubuntu.com/ ${codename} main restricted universe multiverse | |
deb http://ddebs.ubuntu.com/ ${codename}-security main restricted universe multiverse | |
deb http://ddebs.ubuntu.com/ ${codename}-updates main restricted universe multiverse | |
deb http://ddebs.ubuntu.com/ ${codename}-proposed main restricted universe multiverse | |
EOF | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ECDCAD72428D7C01 | |
sudo apt-get update |
To remove a submodule you need to:
When hosting our web applications, we often have one public IP
address (i.e., an IP address visible to the outside world)
using which we want to host multiple web apps. For example, one
may wants to host three different web apps respectively for
example1.com
, example2.com
, and example1.com/images
on
the same machine using a single IP address.
How can we do that? Well, the good news is Internet browsers