- Make use of
displayandpositionproperties
-
What is the
displayproperty?-
Allows you to adjust how the elements are placed on the web page
-
Some most commonly used values:
-
| cask_args appdir: "/Applications" | |
| tap "homebrew/cask-fonts" | |
| brew "mas" | |
| #### LAPTOPS #### | |
| #cask "tripmode" | |
| #### LAPTOPS #### | |
| mas "Boop", id: 1518425043 |
| --- | |
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: fluentd-config | |
| namespace: kube-system | |
| data: | |
| kubernetes.conf: |- | |
| <match fluent.**> | |
| @type null |
| #!/usr/bin/env groovy | |
| /** | |
| * notify slack and set message based on build status | |
| */ | |
| import net.sf.json.JSONArray; | |
| import net.sf.json.JSONObject; | |
| import hudson.tasks.test.AbstractTestResultAction; | |
| import hudson.model.Actionable; |
| #!/bin/sh | |
| # yum install android-tools -y | |
| yum install java-1.8.0-openjdk-devel | |
| mkdir -p android-sdk-linux | |
| cd android-sdk-linux | |
| # @see https://developer.android.com/studio/index.html | |
| wget --output-document=android-sdk.zip --quiet https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip | |
| unzip android-sdk.zip | |
| rm -f android-sdk.zip | |
| yes | tools/bin/sdkmanager --licenses |
To send a request via the sandbox, you can use pm.sendRequest.
pm.test("Status code is 200", function () {
pm.sendRequest('https://postman-echo.com/get', function (err, res) {
pm.expect(err).to.not.be.ok;
pm.expect(res).to.have.property('code', 200);
pm.expect(res).to.have.property('status', 'OK');
});
});
You know the pain, you cloned a repo over HTTPS, and now Git asks you for your password each time you want to push or pull.
Chances are you already have the git credential-osxkeychain command installed.
If not, just install Git with brew: brew install git.
Once installed, just tell Git to use the KeyChain to store your credentials:
git config --global credential.helper osxkeychain
This is how to connect to another host with your docker client, without modifying your local Docker installation or when you don't have a local Docker installation.
First be sure to enable the Docker Remote API on the remote host.
This can easily be done with a container.
For HTTP connection use jarkt/docker-remote-api.
https://docs.spring.io/spring-boot/docs/current/reference/html/howto-traditional-deployment.html
The mechanism is based on Spring boot properties
| #!/bin/sh | |
| # check for where the latest version of IDEA is installed | |
| IDEA=`ls -1d /Applications/IntelliJ\ * | tail -n1` | |
| wd=`pwd` | |
| # were we given a directory? | |
| if [ -d "$1" ]; then | |
| # echo "checking for things in the working dir given" | |
| wd=`ls -1d "$1" | head -n1` |