Skip to content

Instantly share code, notes, and snippets.

View Terrabits's full-sized avatar

Nick Lalic Terrabits

View GitHub Profile
@maxfunke
maxfunke / Boilerpalte.ps1
Created July 3, 2018 10:05
Boilerplate for powershell scripts
#Requires -Version 3
<#
.SYNOPSIS
<Overview of script>
.DESCRIPTION
<Brief description of script>
.PARAMETER <Parameter_Name>
<Brief description of parameter input required. Repeat this attribute if required>
.INPUTS
<Inputs if any, otherwise state None>
@idleberg
idleberg / atom-macos-context-menu.md
Last active April 27, 2022 00:37
“Open in Atom” in macOS context-menu

Open in Atom

  • Open Automator
  • Create a new Service
  • Set “Service receives selected” to files or folders in any application
  • Add a Run Shell Script action
  • Set the script action to /usr/local/bin/atom -n "$@"
  • Set “Pass input” to as arguments
  • Save as Open in Atom