(from Understanding Nginx Server and Location Block Selection Algorithms - https://goo.gl/YyzshP)
GIT CHEAT SHEET STAGE & SNAPSHOT Working with snapshots and the Git staging area git status show modified files in working directory, staged for your next commit git add file add a file as it looks now to your next commit (stage) git reset file unstage a file while retaining the changes in working directory git diff. Groovy/Scripted cheat sheet? Posted by 1 day ago. I set up Jenkins in docker and a few additional containers which have our build environment set up and a few machines that can handle all of our build needs. I then built a declarative pipeline which can (with a change in parameters) build any of the streams that I point it at.
JENKINS CHEAT SHEET Jenkins is a software which allows you to do the continuous integration on your application/software lifecycle. It gets installed on the server where the central build will take place. Now lets understand its workflow. J e n k i n s FURTHERMORE: JenkinsTraining Commands in Jenkins: (URLs).
Priority
The listen directive can be set to:
When 'incomplete' listen directives
Nginx evaluates these by using the following formula:
If a request is made for /blahblah, the first location will initially get the request. It will try to find a file called blahblah in /var/www/main directory. If it cannot find one, it will follow up by searching for a file called blahblah.html.
A request for /rewriteme/hello will be handled initially by the first location block. It will be rewritten to /hello and a location will be searched.
An MSBuild Cheatsheet of handy references I’ve used for automating with MSBuild.
Specify the path(s) to Project Reference DLLs. The ReferencePath property allows you to add a series of paths that MSBUILD will check, overriding any project-based references.
To change where MSBuild puts the build output. You can use a relative path or full path.
In MSBuild scripts, to use quotes in commands use the " characters.
Specify the build configuration and platform.
To Copy files to your output location using the Copy task with an Item.
When creating MSBuild Scripts, the casing of the XML nodes and attributes matters. Using lower case on attributes could result in an MSBuild error indicating the attribute is unknown.
<Target name=”Default”>
is not the same as
<Target Name=”Default”>
If your case is wrong you’ll get an error like: MSB4066: The attribute “name” in element is unrecognized.
MSB4064: The “Retries” parameter is not supported by the “Copy” task. This error usually means you’re targetting v10.0 of MSBuild but you only have v9.00 installed. Use the IsDesktopBuild condition to use v9.0 when not in Visual Studio.