There are four Kubernetes certifications:
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
echo -n "Target list (google.com, 192.168.1.1/24): " | |
read IP | |
echo "Treat all hosts as online -- skip host discovery (Y/N)?" | |
read answer | |
PN="" | |
if [ "$answer" != "${answer#[Yy]}" ] ; then | |
PN="-Pn"; | |
fi |
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
@echo off | |
SETLOCAL | |
set LOGFILE=%temp%\%random%.log | |
if exist %LOGFILE% ( | |
del /f /s /q %LOGFILE% > nul | |
) |
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
node { | |
env.LOGOS_LEVEL = 'DEBUG' | |
def RESULT_FILE = 'validation-result.txt' | |
def PREV_RESULT_FILE = "prev-${RESULT_FILE}" | |
def PREV_PARAM = "--prev-validation-result ${PREV_RESULT_FILE}" | |
def LOCAL_REPO = 'c:/local-repo' | |
def REMOTE_REPO = 'git@remote.repo:project-name/project-name.git' | |
def REPO_BRANCH = 'develop' | |
def PROJECT_PATH = 'c:/local-repo/project-name' | |
stage('Подготовка окружения') { |
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
#!/usr/bin/swift | |
import Foundation | |
let path = URL(fileURLWithPath: NSString(string: "~/Library/Application Support/.ffuserdata").expandingTildeInPath) | |
let data = try! NSData(contentsOf: path) as Data | |
let dictionary = try! NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(data) as! NSDictionary | |
let mutableDictionary = dictionary.mutableCopy() as! NSMutableDictionary | |
for (key, value) in mutableDictionary { |
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
@echo off | |
rem %1 – полный номер версии 1С:Предприятия | |
rem %2 – имя сервера (с портом агента). Важно указать именно 1540, а не 1541 | |
rem %3 – порт RAS | |
set SrvUserName=LocalSystem | |
set SrvUserPwd="" | |
set Agent=%2 | |
set RASPort=%3 | |
set SrvcName="ras %Agent%" |
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
:: Pick one of these two files (cmd or ps1) | |
:: Set directory for installation - Chocolatey does not lock | |
:: down the directory if not the default | |
SET INSTALLDIR=c:\ProgramData\chocoportable | |
setx ChocolateyInstall %INSTALLDIR% | |
:: All install options - offline, proxy, etc at | |
:: https://chocolatey.org/install | |
@powershell -NoProfile -ExecutionPolicy Bypass -Command "(iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))) >$null 2>&1" && SET PATH="%PATH%;%INSTALLDIR%\bin" |
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
chcp 1251 | |
set OSCRIPT=D:\SOFT\onescript\bin\oscript.exe | |
set DEPLOYKA=D:\SOFT\onescript\deployka\src\ | |
set EPFROOT=D:\SOFT\onescript\epf | |
set STORAGEPATH=tcp://storage.service.consul/erp | |
set DATABASENAME=ERP | |
set DATABASE=/S"onec.service.consul\%DATABASENAME%" | |
set VERSION=8.3.9.1818 | |
set BUILDPATH=d:\Soft\Enterprise |
NewerOlder