Skip to content

Instantly share code, notes, and snippets.

View mark05e's full-sized avatar

mark05E mark05e

View GitHub Profile
@heri16
heri16 / ReneAdminHttpService.ahk
Last active June 5, 2018 03:51
AutoHotKey Server to Automate Export/Import of XML data into CPSSoft RENE Admin via HTTP API.
#Persistent
#NoEnv ; Avoids checking empty variables to see if they are environment variables
#KeyHistory 0 ; Disable key history
#SingleInstance force ; Skips the dialog box and replaces the old instance automatically
SetBatchLines, -1 ; Never sleep (i.e. have the script run at maximum speed)
SendMode, Input ; Use faster and more reliable send method
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory
CoordMode, Mouse, Screen ; Make 0,0 the top-left of screen
SetTitleMatchMode, 3 ; Allow only exact window title matches
FileEncoding, UTF-8 ; Use UTF-8 file encoding
@davebrny
davebrny / msg.ahk
Last active March 10, 2019 14:42
💬 (autohotkey) - message commands that are quick to type and easy to switch between
msg_box(string=". . .", options="") {
string := format_text(string, options)
msgBox, % string
}
msg_tray(string=". . .", options="") {
string := format_text(string, options)
trayTip, , % string, 10
}
@ECHO OFF
REM.-- Prepare the Command Processor
SETLOCAL ENABLEEXTENSIONS
SETLOCAL ENABLEDELAYEDEXPANSION
set psexec="\\192.168.22.252\tmp\psexec.exe"
set nircmd="\\192.168.22.252\tmp\nircmd.exe"
set user=administrator
set pass=password
set savedir="\\192.168.22.252\tmp\test.png"
@skartknet
skartknet / pasteAsTyping.ahk
Created October 22, 2019 21:53
It paste the clipboard content as if you were actually typing, with a delay between strokes. I find it useful to create coding tutorials and not to worry about typos.
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Event ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
^+v::
FixString = {Raw}%Clipboard%
Send % sendAtRandom(FixString)
@ndom91
ndom91 / boxstarter_newtelco.ps1
Last active February 24, 2020 04:59
Newtelco Windows Setup Script [boxstarter, choco, PS3.0+]
###################################################
#
# Newtelco Windows PC Setup Script
# Author: ndomino@newtelco.de
# Date: 05.04.19
#
###################################################
# Install Boxstarter (run in a PowerShell (Administrator) shell)
Set-ExecutionPolicy RemoteSigned
# Aliases
Set-Alias subl "C:\Program Files\Sublime Text 3\sublime_text.exe"
Set-Alias ie "C:\Program Files\Internet Explorer\iexplore.exe"
Set-Alias winscp "C:\Program Files (x86)\WinSCP\WinSCP.exe"
# Functions
function rdp { mstsc /control /v:$args }
function pssh { Enter-PSSession -Computername $args[0] -Credential etamgroep\dadmin8 }
@MalteKiefer
MalteKiefer / install.ps1
Last active April 27, 2020 14:24
Windows 10 Installation
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install -y 7zip.install git.install putty.install nodejs.install gimp filezilla curl wget teamviewer marktext.install
choco install -y winscp awscli dropbox yarn youtube-dl spotify openvpn slack postman mongodb atom mumble pgadmin4 php
choco install -y gajim gpg4win bitnami-xampp vlc teracopy firacode rufus sumatrapdf.install zerotier-one anydesk
choco install -y signal bitwarden androidstudio telegram.install mailspring megasync microsoft-edge
choco install -y wpd veracrypt mumble visualstudio2019community
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
@maxfunke
maxfunke / PowershellBasics.md
Last active April 27, 2020 15:45
Basics for Powershell. From Pluralsight course.

Powershell Essentials

📝 ps1 boilerplate

Gather information for cmdlets and functions

Basically all cmdlets look like so: verb-noun

Basic process of information gathering

@sorinpav
sorinpav / learningResources.md
Created April 24, 2020 11:09
Learning Resources
@Sstobo
Sstobo / salary.txt
Created November 30, 2017 23:14
[Salary Negotiation] #salary #careers #job
!!GET WEBSITE FROM ANNIKA DO COURSE
##### PREPARE FOR SALARY CONVERSATION #####
1) Understand the market and your value
# do your homework #
* assess own value (salary.com, payscale) -
* determine market salary range (glassdoor, indeed, linkedin)
2) Know what is important to you