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
| #include <iostream> | |
| #include <cmath> | |
| #include <random> | |
| #include <fstream> | |
| using namespace std; | |
| /* Мальцев Александр КМБ-1 */ | |
| /* задача о ходе коня */ | |
| const int dX[] = {-2, -1, 1, 2, 2, 1, -1, -2}, |
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
| 🌞 Morning 6 commits ▎░░░░░░░░░░░░░░░░░░░░ 1.5% | |
| 🌆 Daytime 175 commits ████████▉░░░░░░░░░░░░ 42.7% | |
| 🌃 Evening 202 commits ██████████▎░░░░░░░░░░ 49.3% | |
| 🌙 Night 27 commits █▍░░░░░░░░░░░░░░░░░░░ 6.6% |
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
| import java.io.BufferedReader; | |
| import java.io.IOException; | |
| import java.io.InputStreamReader; | |
| import java.util.*; | |
| import java.util.stream.Collector; | |
| import java.util.stream.Collectors; | |
| public class PascalTrinagle { | |
| public static void print(String st){ | |
| System.out.println(st); |
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
| task release(){} | |
| task feature(){} | |
| task pre(){} | |
| release.dependsOn build | |
| feature.dependsOn build | |
| pre.dependsOn build | |
| if (gradle.startParameter.taskNames.any {it.contains('release') }) { | |
| version = "${getVersion()}+${bumpBuildNumber()}b-RELEASE" | |
| bumpMajor() |
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
| task signJar(dependsOn: 'jar',description: 'Let`s Sign JAR.',group: 'Build'){ | |
| onlyIf { | |
| project.hasProperty('keyStore') | |
| } | |
| doLast{ | |
| println ":$project.name:${name}" | |
| ant.signjar( | |
| jar: jar.archivePath, | |
| alias: project.keyStoreAlias, | |
| keystore: project.keyStore, |
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
| @echo off | |
| reg.exe query "HKU\S-1-5-19">nul 2>&1 | |
| if %errorlevel% equ 1 goto UACPrompt | |
| echo "127.0.0.1 maven.apache.org, 127.0.0.1 mvnrepository.com, 127.0.0.1 files.minecraftforge.net, 127.0.0.1 jitpack.io, 127.0.0.1 oss.sonatype.org " >> "C:\WINDOWS\system32\drivers\etc\hosts" | |
| pause>nul | |
| exit /b | |