<commit_before># Atom turbo.me file
#
# Licensed under the Apache License, Version 2.0
# http://www.apache.org/licenses/LICENSE-2.0

###################################
# Meta tags
###################################

meta title="Atom"
meta namespace="atom"
meta name="atom"

###################################
# Pull dependency images
###################################

using gnu/wget,powershell

###################################
# Download and install
###################################

cmd mkdir @SYSDRIVE@\Workspace
workdir @SYSDRIVE@\Workspace

# Download
cmd wget --no-check-certificate --no-verbose -O atom.exe https://atom.io/download/windows

# Install
batch cmd
  start /WAIT atom.exe
# Sleep for 20 seconds
  ping localhost -n 21 >NUL
  taskkill /F /T /im atom.exe

#Config
cmd del %userprofile%\.atom\config.cson
batch cmd
  echo "*": >> %userprofile%\.atom\config.cson
  echo   core: >> %userprofile%\.atom\config.cson
  echo      automaticallyUpdate: false >> %userprofile%\.atom\config.cson

# Generate version powershell script
cmd "echo $Atom='c:\workspace\atom.exe' >> GetVersion.ps1"
cmd "echo (Get-Item $Atom ).VersionInfo.ProductVersion >> GetVersion.ps1"
cmd powershell -executionpolicy remotesigned -File GetVersion.ps1
var version = last

###################################
# Clean up
###################################

# Sets the image workdir
workdir @SYSDRIVE@\
cmd rmdir @SYSDRIVE@\Workspace /s /q
cmd rmdir @SYSDRIVE@\wget /s /q

env path=""<commit_msg>Atom script fix<commit_after># Atom turbo.me file
#
# Licensed under the Apache License, Version 2.0
# http://www.apache.org/licenses/LICENSE-2.0

###################################
# Meta tags
###################################

meta title="Atom"
meta namespace="atom"
meta name="atom"

###################################
# Pull dependency images
###################################

using gnu/wget,powershell

###################################
# Download and install
###################################

cmd mkdir @SYSDRIVE@\Workspace
workdir @SYSDRIVE@\Workspace

# Download
cmd wget --no-check-certificate --no-verbose -O atom.exe https://atom.io/download/windows

# Install
batch cmd
  echo Start-Process atom.exe >> script.ps1
  echo $proc = Get-Process -Name atom >> script.ps1
  echo $proc.WaitForExit() >> script.ps1
  echo Sleep -s 20 >> script.ps1
  echo $proc = Get-Process -Name atom >> script.ps1
  echo Stop-Process -InputObject $proc >> script.ps1
  echo $proc = Get-Process -Name node >> script.ps1
  echo Stop-Process -InputObject $proc >> script.ps1
# Node processes were left and kept the job hanging
cmd powershell -File script.ps1

#Config
cmd del %userprofile%\.atom\config.cson
batch cmd
  echo "*": >> %userprofile%\.atom\config.cson
  echo   core: >> %userprofile%\.atom\config.cson
  echo      automaticallyUpdate: false >> %userprofile%\.atom\config.cson

# Generate version powershell script
cmd "echo $Atom='c:\workspace\atom.exe' >> GetVersion.ps1"
cmd "echo (Get-Item $Atom ).VersionInfo.ProductVersion >> GetVersion.ps1"
cmd powershell -executionpolicy remotesigned -File GetVersion.ps1
var version = last

###################################
# Clean up
###################################

# Sets the image workdir
workdir @SYSDRIVE@\
cmd rmdir @SYSDRIVE@\Workspace /s /q
cmd rmdir @SYSDRIVE@\wget /s /q

env path=""
{'fraction_non_alphanumeric': 0.269115890083632, 'fraction_numerical': 0.008661887694145758, 'mean_word_length': 4.90652557319224, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 40, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '564011', 'n_tokens_mistral': 1021, 'n_tokens_neox': 991, 'n_words': 275}