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
$servers = "server1","server2" | |
$users = "user1","user2","user3" | |
$domain= "domain" | |
$admin = "admin" | |
$admin_user = Get-Credential -Credential "$domain\$admin" | |
ForEach ($server in $servers) { | |
Write-Host $server; | |
$admin_grp = [ADSI]::new("WinNT://$server/Administrators,group",$admin_user.UserName,$admin_user.GetNetworkCredential().Password); | |
$rdp_grp = [ADSI]::new("WinNT://$server/Remote Desktop Users,group",$admin_user.UserName,$admin_user.GetNetworkCredential().Password); |
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
launchctl unload /Library/LaunchAgents/org.macosforge.xquartz.startx.plist && \ | |
sudo launchctl unload /Library/LaunchDaemons/org.macosforge.xquartz.privileged_startx.plist && \ | |
sudo rm -rf /opt/X11* /Library/Launch*/org.macosforge.xquartz.* /Applications/Utilities/XQuartz.app /etc/*paths.d/*XQuartz && \ | |
sudo pkgutil --forget org.macosforge.xquartz.pkg && \ | |
rm -rf ~/.serverauth* && rm -rf ~/.Xauthorit* && rm -rf ~/.cache && rm -rf ~/.rnd && \ | |
rm -rf ~/Library/Caches/org.macosforge.xquartz.X11 && rm -rf ~/Library/Logs/X11 |
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
* ALM что это и зачем | |
* все в одном месте - требования, задачи, код, тесты, запуски, релизы | |
* + CI | |
* ALM в части тестирования | |
* ручные тесты | |
* планы/наборы | |
* результаты | |
* Автотесты - если поддерживаются этим ALM | |
* Проблема | |
* "нестандартные" автотесты |
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
Добрый день, | |
я очень рад, что присоединился к команде "Открытия" в год своего двадцатилетнего юбилея работы в сфере ИТ. Начинал как простой разработчик и чем дальше рос в разработке, тем больше зрело желание работать над качеством не только результатов своей работы, но и результатов работы других. Так я пришел в тестирование. В технологичное тестирование - нагрузочное и автоматизированное. И ни разу за 11 лет не пожалел об этом выборе. Более того, комбинация опыта разработки и тестирования позволяет находить нестандартные решения проблем, быстро локализовывать проблемные точки автоматизированных систем. Я успел поработать в разных компаниях от Cisco Systems до Сбербанка. За это время было сделано и достигнуто многое из того, что первоначально казалось нереальным. Например, в Сбербанке удалось разработать и внедрить новую технологическую платформу автотестирования, которая позволила значительно ускорить выполнение автотестов, снизить затраты на поддержку. Но самое главное - она удобна для использования ручны |
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
FROM oraclelinux:6.6 | |
MAINTAINER Konstantin Neradovsky "[email protected]" | |
RUN yum install -y openssh-server sudo passwd | |
ADD run /usr/local/bin/run | |
ADD adminuser /etc/sudoers.d/adminuser | |
RUN ssh-keygen -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa | |
RUN ssh-keygen -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa | |
RUN echo 123qweasd | passwd --stdin root | |
RUN useradd -G root adminuser |
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
import java.net.*; | |
import java.io.*; | |
public class TcpServer { | |
public static void main(String[] args) throws IOException { | |
if(args.length<1) { | |
System.out.println("Usage: program pornum"); | |
return; | |
} | |
int port = Integer.parseInt(args[0]); |
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
def jenkins=Jenkins.instance | |
def jobs=jenkins.getItems(Job.class) | |
long monthAgo=System.currentTimeMillis()-((long)3600*24*30)*1000 | |
println monthAgo | |
jobs.each { Job job -> | |
job.builds.each { build -> | |
if(build.startTimeInMillis<monthAgo) { | |
build.delete() | |
println job.displayName+":"+build.displayName |
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
Switch local repository in command line | |
mvn install -Dmaven.repo.local=/newlocalrepo |
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
@mixin keyframes($name) { | |
@-o-keyframes $name { @content }; | |
@-moz-keyframes $name { @content }; | |
@-webkit-keyframes $name { @content }; | |
@-keyframes $name { @content }; | |
} | |
@mixin animation-name($name...) { | |
-o-animation-name: $name; | |
-moz-animation-name: $name; | |
-webkit-animation-name: $name; |