A short survey of log collection options and why you picked the wrong one. 😜
I'm Steve Coffman and I work at Ithaka. We do JStor (academic journals) and other stuff. How big is it?
| Number | what it means |
|---|---|
| 101,332,633 | unique visitors in 2017 |
| kubectl get secrets -o json --namespace old | jq '.items[].metadata.namespace = "new"' | kubectl create -f - |
| // getComponent is a function that returns a promise for a component | |
| // It will not be called until the first mount | |
| function asyncComponent(getComponent) { | |
| return class AsyncComponent extends React.Component { | |
| static Component = null; | |
| state = { Component: AsyncComponent.Component }; | |
| componentWillMount() { | |
| if (!this.state.Component) { | |
| getComponent().then(Component => { |
| (with-eval-after-load "persp-mode" | |
| (with-eval-after-load "helm-mode" | |
| (defvar helm-mini-tail-sources (cdr helm-mini-default-sources)) | |
| (defvar helm-persp-completing-read-handlers | |
| '((switch-to-buffer . helm-persp-buffer-list-bridge) | |
| (kill-buffer . helm-persp-buffer-list-bridge) | |
| (persp-kill-buffer . helm-persp-buffer-list-bridge) | |
| (persp-temporarily-display-buffer . helm-persp-buffer-list-bridge) | |
| (persp-add-buffer . helm-persp-buffer-list-bridge) |
| #!/bin/bash | |
| # Example for the Docker Hub V2 API | |
| # Returns all imagas and tags associated with a Docker Hub user account. | |
| # Requires 'jq': https://stedolan.github.io/jq/ | |
| # set username and password | |
| UNAME="" | |
| UPASS="" |
| echo "$STRING" | iconv -t ascii//TRANSLIT | sed -r s/[^a-zA-Z0-9]+/-/g | sed -r s/^-+\|-+$//g | tr A-Z a-z |
| #!/bin/bash | |
| apt-get install -y curl unzip | |
| mkdir -p /var/lib/consul | |
| mkdir -p /usr/share/consul | |
| mkdir -p /etc/consul/conf.d | |
| curl -OL https://dl.bintray.com/mitchellh/consul/0.3.1_linux_amd64.zip | |
| unzip 0.3.1_linux_amd64.zip | |
| mv consul /usr/local/bin/consul |
| //use testingbot.com or saucelabs or roll your own remote webdriver server | |
| import junit.framework.TestCase; //removes need for annotations by extending | |
| import org.openqa.selenium.*; | |
| import org.openqa.selenium.remote.*; | |
| import java.net.URL; | |
| import java.util.concurrent.TimeUnit; | |
| public class RWDTest extends TestCase { | |
| private WebDriver driver; | |
| s:%:%25:g | |
| s: :%20:g | |
| s:<:%3C:g | |
| s:>:%3E:g | |
| s:#:%23:g | |
| s:{:%7B:g | |
| s:}:%7D:g | |
| s:|:%7C:g | |
| s:\\:%5C:g | |
| s:\^:%5E:g |