Based on https://gist.github.com/kevin-smets/8568070
-
Install iTerm2
-
Import patched Solarized Dark under Settings → Profiles → Colors → Color Presets…
More info on patched vs vanilla Solarized Dark:
HttpPost request = new HttpPost(m.getRequestURL()); | |
request.addHeader("content-type", "application/json; charset=UTF-8"); | |
System.out.println(m.getAuthKey()); | |
request.addHeader("Authorization", "Basic " + m.getAuthKey()); | |
StringEntity params = new StringEntity(m.getBody(),"UTF-8"); | |
request.setEntity(params); | |
HttpResponse response = httpClient.execute(request); |
JsonProcedureExtractor extractor = JsonProcedureExtractor.newBuilder() | |
.withParams( | |
new JdbcParameter<Long>("maxValue", JdbcParamType.IN_NUMBER, Long.valueOf(1)), | |
new JdbcParameter<Object>("maxValue", JdbcParamType.OUT_CURSOR) | |
) | |
.withStoredProcedure("{call terra.pkg_tsod3_inv.report(?,?,?)}") | |
.build(); |
package com.example.demo.config; | |
import org.springframework.boot.autoconfigure.jdbc.DataSourceProperties; | |
import org.springframework.boot.context.properties.ConfigurationProperties; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.context.annotation.Lazy; | |
import org.springframework.context.annotation.Primary; | |
import javax.sql.DataSource; |
String str[]={"ID : 122", | |
"Сумма 400.00 RUB", | |
"Дата создания: 09.03.2019", | |
"ID : 12287", | |
"Сумма 1000.00 RUB", | |
"Дата создания: 09.03.2019"}; | |
//System.out.println(IntStream.range(1,100).distinct().count()); | |
List<String> testList = Arrays.asList(str).stream() | |
.filter(s -> s.startsWith("ID") | s.startsWith("Дата")) | |
.collect(Collectors.toList()); |
import java.io.*; | |
import java.math.*; | |
import java.security.*; | |
import java.text.*; | |
import java.util.*; | |
import java.util.concurrent.*; | |
import java.util.regex.*; | |
public class Solution { |
<template> | |
<v-container class="grey lighten-5"> | |
<v-row no-gutters> | |
<v-btn text icon color="green"> | |
<v-icon>mdi-cached</v-icon> | |
</v-btn> | |
</v-row> | |
<v-row no-gutters> | |
<v-data-table | |
:headers="headers" |
package com.alamer; | |
import lombok.AllArgsConstructor; | |
import lombok.Data; | |
import java.util.Arrays; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.function.Function; | |
import java.util.stream.Collectors; |
Based on https://gist.github.com/kevin-smets/8568070
Install iTerm2
Import patched Solarized Dark under Settings → Profiles → Colors → Color Presets…
More info on patched vs vanilla Solarized Dark:
printf "\n${BLUE}%s${RESET}\n" "Updating custom plugins" | |
cd custom/plugins | |
for plugin in */; do | |
if [ -d "$plugin/.git" ]; then | |
printf "${YELLOW}%s${RESET}\n" "${plugin%/}" | |
git -C "$plugin" pull | |
fi | |
done |
before_script: | |
# | |
# System | |
# | |
- export PROJECT_NAME=$(basename ${CI_PROJECT_DIR}|sed -e 's/\\\./-/g') | |
- export PROJECT_GROUP=$(echo ${CI_PROJECT_DIR} | awk -F'/' '{print $(NF-2)}' | tr 'A-Z' 'a-z') | |
- export PROJECT_SUBGROUP=$(echo ${CI_PROJECT_DIR} | awk -F'/' '{print $(NF-1)}' | tr 'A-Z' 'a-z') | |
- export DHUB_ADDRESS="harbor.localdomain" | |
- export IMAGE_ADDRESS="${DHUB_ADDRESS}/${PROJECT_GROUP}/${PROJECT_SUBGROUP}/${PROJECT_NAME}:${CI_COMMIT_REF_NAME}" | |
- export IMAGE_ADDRESS_WITHOUT_TAG="${DHUB_ADDRESS}/${PROJECT_GROUP}/${PROJECT_SUBGROUP}/${PROJECT_NAME}" |