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
[tw-mbp-fkorotkov pants (guava-version)]$ cat /Users/fkorotkov/workspace/fkorotkov/pants/examples/src/java/org/pantsbuild/example/hello/greet/BUILD | |
jar_library(name='guava', | |
jars=[ | |
jar('com.google.guava', 'guava', '16.0', | |
apidocs='http://docs.guava-libraries.googlecode.com/git-history/v16.0/javadoc/'), | |
]) | |
java_library(name = 'greet', | |
dependencies = [':guava'], |
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
# Usage: `python abandoned_projects_finder.py *.gradle` | |
import os | |
import re | |
import sys | |
import subprocess | |
rootdir = os.getcwd() | |
project_file_pattern = re.compile(sys.argv[1]) |
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
# workaround to make rule key to depend on node and npm versions | |
NODE_NPM_VERSIONS = 'cat $(location //:node_version) && cat $(location //:npm_version) && ' | |
# prepopulated modules | |
# for example CI fails to clone react-native-permissions fork due to ssh permissions | |
export_file( | |
name = 'locale_node_modules', | |
src = 'node_modules', | |
out = 'node_modules', | |
) |
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
container: | |
image: gradle:4.4.1-jdk8 | |
cpu: 4 | |
memory: 12G | |
no_caching_task: | |
dist_script: gradle dist --no-build-cache | |
global_caching_task: | |
gradle_cache: |
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 bash | |
GCP_PROJECT_ID=... | |
MY_IMAGE=... | |
USERNAME=_json_key | |
PASSWORD=$(cat keyfile.json) | |
TOKEN=$(echo "$USERNAME:$PASSWORD" | base64) |
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
(version 1) | |
(debug deny) | |
;; by default deny everything | |
(deny default) | |
;; allow sending signals to itself and processes in the same group | |
(allow signal (target same-sandbox)) | |
;; allow outbound internet |
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 bash | |
set -e | |
# list of Nix packages to install | |
NIX_PACKAGES="darwin.shell_cmds" | |
XCODE_DERIVED_DATA="$HOME/Library/Developer/Xcode/DerivedData" | |
WORKING_DIRECTORY=$PWD |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<array> | |
<dict> | |
<key>attributeSetting</key> | |
<integer>1</integer> | |
<key>choiceAttribute</key> | |
<string>selected</string> | |
<key>choiceIdentifier</key> |
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
build_task: | |
windows_container: | |
image: cirrusci/windowsservercore:2019 | |
os_version: 2019 | |
node_modules_cache: | |
folder: node_modules | |
fingerprint_script: type yarn.lock | |
install_script: choco install -y nodejs yarn | |
build_script: | |
- refreshenv |
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
interface Loader<ID, T> { | |
suspend fun loadByIds(ids: Set<ID>): Map<ID, T> | |
} |
OlderNewer