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
[Telnet server] | |
TelnetListenAddress=0.0.0.0 | |
TelnetListenPort=23 | |
TelnetMaxConnections=0 | |
TelnetTimeout=0 | |
TelnetBanner= | |
TelnetCMD=C:\Windows\system32\cmd.exe | |
TelnetRun=0 | |
TelnetNewConsole=1 | |
[SSH server] |
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
docker run --privileged --rm \ | |
-e OVERLAY_MOUNT="mount -t overlayfs overlayfs -o lowerdir=/overlay,upperdir=/var/cache/omnibus /var/cache/omnibus" \ | |
-e OMNIBUS_PROJECT=scalarizr -e OMNIBUS_VERSION=3.9.b98.658f21b -e OMNIBUS_INSTALL_DIR=/opt/scalarizr -e OMNIBUS_LOG_LEVEL=debug \ | |
-v /omnibus/cache/persistent/scalarizr/feature-SA-96-strider-to-drone/ubuntu-1204:/overlay \ | |
-v /omnibus/data/scalarizr/feature-SA-96-strider-to-drone/658f21b3ad8bcf7d97205af242de07e3dfc4eab5:/project \ | |
overlay_test |
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
get-childitem "C:\windows\System32" -recurse | where {$_.extension -eq ".exe"} | % { | |
Write-Host $_.FullName | |
} |
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
<?xml version="1.0" encoding="UTF-8"?> | |
-<key name="Software"> | |
-<key name="ConEmu"> | |
-<key name=".Vanilla" build="140707" modified="2015-10-19 08:57:27"> |
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
def compare_deps(freeze1, freeze2): | |
freeze1 = freeze1.splitlines() | |
freeze2 = freeze2.splitlines() | |
print('arg1 contains {} items, arg2 contains {} items'.format(len(freeze1), len(freeze2))) | |
for item1 in freeze1: | |
if '==' not in item1: | |
continue | |
name1, ver1 = item1.split('==') | |
for item2 in freeze2: | |
if '==' not in item2: |
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
version=`python setup.py --version` | |
export EMBED_FAM_AGENT=yes | |
hosts="windows" | |
pkg_types="msi" | |
fab clone_fam | |
if [[ version -eq "3.10" ]]; then | |
fab -H root@centos-5,root@centos-5-32 -P build_rpm_deps --colorize-errors --ssh-config-path=/root/.ssh/config --user=root | |
hosts="$hosts,root@ubuntu-1004,root@ubuntu-1004-32,root@centos-5,root@centos-5-32" |
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
def cleanup_gcs(): | |
branches = _get_git_branches() | |
project_bucket = '{}/{}'.format(env.ci.bucket, env.ci.project) | |
for obj in local( | |
'gsutil ls -R {}'.format(project_bucket), capture=True): | |
if any([branch in obj for branch in branches]): | |
continue | |
else: | |
local('gsutil -m rm -R {}'.format(obj)) |
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 os | |
import pprint | |
import subprocess | |
# input | |
custom_reqs_current = "" | |
omnibus_reqs_old = "" | |
fatmouse_agent_reqs = [] |
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
income = { | |
'1': 3.0, | |
'2': 3.0, | |
'3': 3.0, | |
'4': 3.0, | |
'5': 3.0, | |
'6': 3.0, | |
'7': 3.0, | |
'8': 3.0, | |
'9': 3.0, |
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 argparse | |
import logging | |
import os | |
import re | |
import subprocess | |
import sys | |
from common.utils import imputil | |
from stdlib_list import stdlib_list |