One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| root = true | |
| [*] | |
| charset = utf-8 | |
| end_of_line = lf | |
| indent_size = 4 | |
| indent_style = space | |
| insert_final_newline = true | |
| trim_trailing_whitespace = true | |
| max_line_length = 120 |
| Some Jenkinsfile examples |
| package main | |
| import ( | |
| "context" | |
| "flag" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "os" | |
| "os/signal" |
| protected ResponseEntity<Resource<List<Attachment>>> patchMultipartApiV1_Treatments_TID(final String aTID, | |
| final Treatment aTreatment, | |
| final boolean keepLock, | |
| final MultipartFile... aMultipartFiles) throws IOException { | |
| final MultiValueMap<String, Object> theMultipartRequest = new LinkedMultiValueMap<>(); | |
| // creating an HttpEntity for the JSON part: | |
| final HttpHeaders theJsonHeader = new HttpHeaders(); | |
| theJsonHeader.setContentType(MediaType.APPLICATION_JSON); |
| import org.apache.catalina.LifecycleListener; | |
| import org.apache.catalina.core.AprLifecycleListener; | |
| import org.springframework.beans.factory.annotation.Value; | |
| import org.springframework.boot.context.embedded.EmbeddedServletContainerFactory; | |
| import org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory; | |
| import org.springframework.context.annotation.Bean; | |
| import org.springframework.context.annotation.Configuration; | |
| /** | |
| * NOTE: You also need to install APR on your system, on Arch Linux the package is called `tomcat-native`. |
| #!/bin/bash | |
| oc cluster down | |
| docker rm -f bindmountproxy |
| http://ernestmicklei.com.s3-website-eu-west-1.amazonaws.com/2012/11/go-restful-api-design/ | |
| http://dukex.svbtle.com/manage-golang-dependencies | |
| https://engineering.canva.com/2015/08/25/how-we-get-things-done/ | |
| https://apiblueprint.org/ | |
| http://www.gofpatterns.com/design-patterns/module3/intro-singleton-design-pattern.php | |
| http://www.hydrogen18.com/blog/stop-listening-http-server-go.html | |
| http://soryy.com/blog/2014/common-mistakes-with-go-lang/ | |
| https://howistart.org/posts/go/1 | |
| https://talks.golang.org/2013/bestpractices.slide#1 | |
| http://peter.bourgon.org/go-in-production/ |
| #!/usr/bin/env python | |
| # | |
| # Adds the ability to add / modify tasks using a "blocks:" attribute, | |
| # the opposite of "depends:". | |
| # | |
| # This script acts as an on-modify, on-add and on-launch hook at the same time. | |
| # | |
| ### SETUP | |
| # Save this file as | |
| # ~/.task/hooks/on-modify.blocks_attr.py |
To remove a submodule you need to: