This Nubank Contributor Agreement (“NCA”) applies to any contribution that you make to any product or project managed by Nubank (the “project”), and sets out the intellectual property rights you grant to us in the contributed materials. The term “us” or "Nubank" shall mean Nu Holdings and any of its entities, subsidiaries, affiliates or companies part of the Nubank group. The term “you” shall mean the copyright owner or the legal entity authorized by the copyright owner identified below that is making this NCA with Nubank. For legal entities, the entity making the Contribution and all other entities that control, are controlled by, or under common control with the entity are considered to be a single Contributor. For the purposes of this definition, “control” means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) benefici
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Copy JIRA Tag | |
// @description Copies the text of the JIRA issue number and description to the clipboard | |
// @version 2 | |
// @grant GM.notification | |
// @grant GM.setClipboard | |
// @include https://jira.walmart.com/browse/* | |
// ==/UserScript== | |
let key = document.getElementById("key-val") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env joker | |
(ns script | |
(:require [joker.tools.cli :as cli] | |
[joker.os :as os] | |
[joker.strconv :refer [atoi]])) | |
(def opts | |
[["-d" "--defcon VALUE" "Set DEFCON level" | |
:parse-fn atoi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"status": "FAIL", | |
"payload": { | |
"errors": [ | |
{ | |
"field": "header", | |
"category": "APPLICATION", | |
"description": "Error description not available", | |
"severity": "ERROR", | |
"code": "org.apache.commons.json.JSONException", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns extract-docs | |
(:require | |
[medley.core :refer [filter-vals]] | |
[clojure.java.io :as io] | |
[clojure.string :as str] | |
[clojure.edn :as edn]) | |
(:import | |
(java.io PrintWriter Writer File))) | |
(defn full-name [k] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(map #(assoc % :full-name (str (:first-name %) " " (:last-name %))) (sort-by :last-name) (filter #(= "97204" (:zip person)) (get-contacts db)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(deftask base-image | |
"Builds the base image for other images." | |
[] | |
(comp (init :dir (io/file "base") :from "anapsix/alpine-java:8") | |
(add :file ["launch.sh"]) | |
(artifact :dependency '[[org.bouncycastle/bcprov-jdk15on "1.54"]] :target "/opt/jdk/jre/lib/ext/") | |
(artifact :dependency '[[com.walmartlabs/timestamper "0.1.2"]] :target "/usr/local/java-agents/") | |
(inst :section :postamble :inst :run :arguments ["chmod a+x launch.sh"]) | |
(build-image :image-name "base" :version default-base-version))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(deftask init | |
"First step when building a Docker image. Optionally specifies a directory | |
of resources that can be added to the image." | |
[d dir DIR file "Directory to add." | |
f from IMAGE str "Base image name."] | |
(assert from "--from is required") | |
(assert (or (nil? dir) | |
(is-readable-directory? dir)) | |
"--dir must specify an existing directory") | |
(with-pre-wrap fs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> boot pom --project example --version 0.1 -- jar -- install | |
Writing pom.xml and pom.properties... | |
Writing example-0.1.jar... | |
Installing example-0.1.jar... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> boot repl | |
nREPL server started on port 62614 on host 127.0.0.1 - nrepl://127.0.0.1:62614 | |
REPL-y 0.3.7, nREPL 0.2.12 | |
Clojure 1.9.0-alpha10 | |
Java HotSpot(TM) 64-Bit Server VM 1.8.0_74-b02 | |
Exit: Control+D or (exit) or (quit) | |
Commands: (user/help) | |
Docs: (doc function-name-here) | |
(find-doc "part-of-name-here") | |
Find by Name: (find-name "part-of-name-here") |
NewerOlder