Skip to content

Instantly share code, notes, and snippets.

Eric Nemchik nemchik

Block or report user

Report or block nemchik

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nemchik
nemchik / Procedure Install Package Manager (Chocolatey).xml
Created Oct 29, 2015
Procedure Install Package Manager (Chocolatey)
View Procedure Install Package Manager (Chocolatey).xml
<?xml version="1.0" encoding="utf-8"?>
<ScriptExport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.kaseya.com/vsa/2008/12/Scripting">
<Procedure name="Install Package Manager (Chocolatey)" treePres="3" id="1653461059" folderId="810375256887811" treeFullPath="Maintenance.Application Install / Update / Remove">
<Body description="">
<Statement name="ExecuteShellCommand" continueOnFail="false">
<Parameter xsi:type="StringParameter" name="Command" value="powershell -NoProfile -Command Set-ExecutionPolicy Unrestricted" />
<Parameter xsi:type="EnumParameter" name="ExecuteAccount" value="System" />
<Parameter xsi:type="BooleanParameter" name="Is64Bit" value="False" />
</Statement>
<Statement name="ExecuteShellCommand" continueOnFail="true">
@nemchik
nemchik / Procedure Install-Update putty.xml
Created Oct 29, 2015
Procedure Install-Update putty
View Procedure Install-Update putty.xml
<?xml version="1.0" encoding="utf-8"?>
<ScriptExport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.kaseya.com/vsa/2008/12/Scripting">
<Procedure name="Install/Update putty" treePres="3" id="1416324289" folderId="810375256887811" treeFullPath="Maintenance.Application Install / Update / Remove">
<Body description="Actions: Installs program. If it is already installed, update to latest versions. If it is already updated, do nothing.&#xA;This procedure depends on the Package Manager (Chocolatey) so the procedure to install it will be run before attempting to install/update this package.&#xA;&#xA;Reason: Installing common programs and keeping them up to date.&#xA;&#xA;Requirements: Windows XP/2003 or newer&#xA;&#xA;Maintainer: Eric Nemchik">
<Statement name="ExecuteScript" continueOnFail="false">
<Parameter xsi:type="StringParameter" name="ScriptID" value="1653461059" />
<Parameter xsi:type="StringParameter" name="Sc
View Procedure Windows Update Config.xml
<?xml version="1.0" encoding="utf-8"?>
<ScriptExport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.kaseya.com/vsa/2008/12/Scripting">
<Procedure name="Windows Update Config" treePres="3" id="903396851" folderId="882226466053275" treeFullPath="Configuration.Windows Features &amp; Services">
<Body description="Set the service to auto start, set &quot;do not check&quot; for updates (still allows them to be done), Set &quot;do not force reboot for updates&quot;, stop the existing service if it's running, start the service.&#xA;&#xA;Applies to Windows Update and dependencies (Background Intelligent Transfer Service &amp; DCOM Server Process Launcher).">
<Statement name="ExecuteShellCommand" continueOnFail="false">
<Parameter xsi:type="StringParameter" name="Command" value="sc config wuauserv start= auto" />
<Parameter xsi:type="EnumParameter" name="ExecuteAccount" value="User" />
<Parameter xsi:type="BooleanP
View TeamViewer_Removal.bat
REM Kill TeamViewer Process
taskkill /f /im teamviewer*
REM Remove Older Versions
for /d %%F in ("C:\Program Files\TeamViewer\*") do "%%F\uninstall.exe" /S
for /d %%F in ("C:\Program Files (x86)\TeamViewer\*") do "%%F\uninstall.exe" /S
REM Remove Newer Versions
"C:\Program Files\TeamViewer\uninstall.exe" /S
"C:\Program Files (x86)\TeamViewer\uninstall.exe" /S
@nemchik
nemchik / Remove Win10 Apps.ps1
Last active Apr 28, 2017
Remove Win10 Apps
View Remove Win10 Apps.ps1
$packages = @(
"3dbuilder",
"bingfinance",
"bingnews",
"bingsports",
"getstarted",
"hpprintercontrol",
"officehub",
"skypeapp",
"solitairecollection",
@nemchik
nemchik / DS_ASCII.md
Created Jun 28, 2018
DockSTARTer ASCII
View DS_ASCII.md
   ___           __    _____________   ___  ______       
  / _ \___  ____/ /__ / __/_  __/ _ | / _ \/_  __/__ ____
 / // / _ \/ __/  '_/_\ \  / / / __ |/ , _/ / / / -_) __/
/____/\___/\__/_/\_\/___/ /_/ /_/ |_/_/|_| /_/  \__/_/   
@nemchik
nemchik / docker-compose.override.yml
Created Sep 14, 2018
phpMyAdmin for DockSTARTer ( ~/.docker/compose/docker-compose.override.yml )
View docker-compose.override.yml
version: "3.4"
services:
phpmyadmin:
container_name: phpmyadmin
image: phpmyadmin/phpmyadmin
restart: always
ports:
- 9809:80
environment:
- PMA_ABSOLUTE_URI=https://${LETSENCRYPT_URL}/phpmyadmin/
View jpmc.sql
UPDATE dwdata.medical_records AS t
INNER JOIN
(
SELECT
DWDOCID, DOCTYPE, MIGRATIONID, COUNT(*) c
FROM dwdata.medical_records
GROUP BY MIGRATIONID
HAVING c > 1
) t1
ON t.DWDOCID = t1.DWDOCID
@nemchik
nemchik / esxi.subdomain.conf
Created Nov 4, 2018
ESXi subdomain proxy config for linuxserver/letsencrypt
View esxi.subdomain.conf
# make sure that your dns has a cname set for esxi
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name esxi.*;
include /config/nginx/ssl.conf;
@nemchik
nemchik / docker-compose.override.yml
Created Dec 19, 2018
Compose Override for LSIO Plex on ARM
View docker-compose.override.yml
version: "3.4"
services:
plex:
image: lsioarmhf/plex
container_name: plex
restart: unless-stopped
environment:
- PGID=${PGID}
- PUID=${PUID}
- TZ=${TZ}
You can’t perform that action at this time.