Skip to content

Instantly share code, notes, and snippets.

View brettstack's full-sized avatar

Brett Andrews brettstack

View GitHub Profile
@brettstack
brettstack / node-init.bash
Last active November 5, 2021 09:45
Node Init
# https://philna.sh/blog/2019/01/10/how-to-start-a-node-js-project/
npm set init.author.name "Brett Andrews"
npm set init.author.email "brett@halfstack.software"
npm set init.author.url "https://halfstack.software"
npm set init.license "MIT"
npm set init.version "1.0.0"
git init
npx license $(npm get init.license) -o "$(npm get init.author.name)"
npx gitignore node
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
; ALT + Left/Right to Start/End of line
!Left::Send, {Home}
!Right::Send, {End}
!+Left::Send, {ShiftDown}{Home}{ShiftUp}
!+Right::Send, {ShiftDown}{End}{ShiftUp}
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
cinst cmder
cinst atom
cinst google-chrome-x64
cinst javaruntime
cinst 7zip.install
cinst vlc
cinst nodejs.install
cinst skype