This file contains 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
resource "nexus_repository" "maven_proxy_central" { | |
name = "maven-central" | |
format = "maven2" | |
type = "proxy" | |
online = true | |
http_client { | |
} |
This file contains 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
provider "nexus" { | |
insecure = true | |
password = "admin123" | |
url = "https://127.0.0.1:8080" | |
username = "admin" | |
} | |
resource "nexus_repository" "maven_hosted" { | |
name = "maven-repo" | |
format = "maven" |
This file contains 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
#!/bin/bash | |
function get_in_asc() { | |
ls -l $1 | awk '{print $9}' | |
} | |
function get_in_desc() { | |
ls -l $1 | awk '{print $9}' | tac | |
} |
This file contains 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
package com.wekast.DongleClient; | |
import org.json.JSONObject; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.io.PrintStream; | |
import java.net.Socket; | |
public class Main { |
This file contains 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
package ru.zapiataia.telran.isSumm; | |
import java.util.Arrays; | |
public class Main { | |
public static void main(String[] args) { | |
int[] array = {1, 4, 5, 4, 5}; | |
int sum = 3; |
This file contains 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
if (!xmppConnection.isConnected()) { | |
xmppConnection.connect(); | |
} | |
AccountManager manager = AccountManager.getInstance(xmppConnection); | |
manager.createAccount(username, password, attributes); | |
xmppConnection.disconnect(); | |
xmppConnection.connect(); | |
xmppConnection.login(username, password); | |
vCard.save(xmppConnection); |