Skip to content

Instantly share code, notes, and snippets.

View amir4q's full-sized avatar

amir qureishi amir4q

  • dnv
  • us
View GitHub Profile
@amir4q
amir4q / Blank snippet.yaml
Created July 28, 2022 03:20
Shared with Script Lab
name: Blank snippet
description: ''
author: amir4q
host: WORD
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
async function run() {
@amir4q
amir4q / NonAdmin.cmd
Created May 31, 2022 00:52 — forked from ferventcoder/NonAdmin.cmd
Installing Software as a Non-Administrator Using Chocolatey
:: Pick one of these two files (cmd or ps1)
:: Set directory for installation - Chocolatey does not lock
:: down the directory if not the default
SET INSTALLDIR=c:\ProgramData\chocoportable
setx ChocolateyInstall %INSTALLDIR%
:: All install options - offline, proxy, etc at
:: https://chocolatey.org/install
@powershell -NoProfile -ExecutionPolicy Bypass -Command "(iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))) >$null 2>&1" && SET PATH="%PATH%;%INSTALLDIR%\bin"
https://git.io/codeql-language-support