I hereby claim:
- I am vsliouniaev on github.
- I am safjx (https://keybase.io/safjx) on keybase.
- I have a public key whose fingerprint is CB98 8B08 4F02 80DF F826 228A 51A5 7E8B 9B49 3A67
To claim this, I am signing this object:
param( | |
[Parameter(mandatory=$true)] | |
[ValidatePattern('[^"]+')] | |
[string]$version | |
) | |
# Jump up one directory up from where the script file is located | |
Push-Location ((Split-Path $MyInvocation.MyCommand.Path) + '\..') | |
function UpdateDevInfo([string]$fileLocation) |
winrar.exe a out-path-here my/folder/path/* -r -ep1 -ma5 -s -sfx -md1g -y -t -zsfxcomment.txt -ibck |
a = create archive | |
-r = recurse path for files | |
-ep1 = don't add container path in archive | |
-ma5 = use winrar v5 format | |
-s = solid archive | |
-sfx = self-extracting .exe | |
-md1g = use a 1GB dictionary | |
-y = answer yes to all prompts | |
-t = test files after archiving | |
-z = add a comment from a file, which provides ext |
;The comment below contains SFX script commands | |
Silent=1 | |
Overwrite=1 |
using System.Reflection; | |
using System.Runtime.InteropServices; | |
[assembly: AssemblyCompany("Greenfinch Technology")] | |
[assembly: AssemblyCopyright("Greenfinch Technology 2014")] | |
[assembly: AssemblyTrademark("")] | |
#if DEBUG | |
[assembly: AssemblyConfiguration("Debug")] | |
#else | |
[assembly: AssemblyConfiguration("Release")] |
if(${env:InstalledStatusMonitor} -eq 1) | |
{ | |
Write-Host "Status monitor has already been installed on this machine by this script" -ForegroundColor Green | |
} | |
Write-Host "Using chocolatey to install the Web Platform Installer ..." -ForegroundColor Green | |
iex ((new-object net.webclient).downloadstring('https://chocolatey.org/install.ps1')) | |
cinst webpi -y | |
Stop-Process -Name WebPlatformInstaller |
I hereby claim:
To claim this, I am signing this object:
You fell victim to reddit formatting. Here's the easy-to-copy version. | |
@rem *** Disable Some Service *** | |
sc stop DiagTrack | |
sc stop diagnosticshub.standardcollector.service | |
sc stop dmwappushservice | |
sc stop WMPNetworkSvc | |
sc stop WSearch | |
sc config DiagTrack start= disabled |
#!/bin/bash | |
for i in *.aa | |
do name=`echo $i | cut -d'.' -f1`; | |
echo $name; | |
ffmpeg -i "$i" -c:a libmp3lame -ac 2 -q:a 2 "${name}.mp3" | |
done |
# GPG - this allows signing of git commits | |
export GPG_TTY=$(tty) | |
#GO | |
export GOROOT=/usr/local/go | |
export GOPATH=/c/dev/go | |
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH | |
# git commands | |
gl() { git log --pretty --oneline "$@"; } |