This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Creates access token for Twitter API calls. To get keys go to: https://apps.twitter.com/ | |
.DESCRIPTION | |
Creates access token for Twitter API calls. To get keys go to: https://apps.twitter.com/ | |
.PARAMETER ConsumerKey | |
The ConsumerKey. You get this from https://apps.twitter.com/ | |
.PARAMETER ConsumerSecret | |
The ConsumerSecret. You get this from https://apps.twitter.com/ | |
.EXAMPLE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call plug#begin('~/.local/share/nvim/plugged') | |
" Handles the fzf popups | |
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } | |
Plug 'junegunn/fzf.vim' | |
" The LSP client | |
Plug 'autozimu/LanguageClient-neovim', { | |
\ 'branch': 'next', | |
\ 'do': 'bash install.sh', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#PSScriptInfo | |
.VERSION 0.1.0 | |
.GUID 05c41fde-bd40-4dd3-a72e-12ec14a50676 | |
.AUTHOR Tyler Leonhardt | |
.COMPANYNAME Tyler Leonhardt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using namespace Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol | |
using namespace Microsoft.PowerShell.EditorServices.Protocol.Messages | |
function Read-InputPrompt { | |
param([string]$Prompt) | |
end { | |
$result = $psEditor. | |
Components. | |
Get([IMessageSender]).SendRequest( | |
[ShowInputPromptRequest]::Type, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Send-PSNotification { | |
[cmdletbinding(SupportsShouldProcess=$true)] | |
param( | |
[Parameter(Mandatory,ValueFromPipeline,Position=0)] | |
[object[]] | |
$Body, | |
[String] | |
$Summary = 'PowerShell Notification', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Send-PSNotification { | |
[cmdletbinding()] | |
param( | |
[Parameter(Mandatory,ValueFromPipeline,Position=0)] | |
[object] | |
$Body, | |
[String] | |
$Summary = 'PowerShell Notification', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.0 | |
info: | |
title: Octocat | |
description: Optional multiline or single-line description in [CommonMark](http://commonmark.org/help/) or HTML. | |
version: 0.1.9 | |
servers: | |
- url: http://api.github.com | |
description: Optional server description, e.g. Main (production) server | |
paths: | |
/octocat: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM codercom/code-server | |
# | |
# Add PowerShell | |
# | |
ARG PS_VERSION=6.2.0 | |
ARG PS_PACKAGE=powershell_${PS_VERSION}-1.ubuntu.18.04_amd64.deb | |
ARG PS_PACKAGE_URL=https://github.com/PowerShell/PowerShell/releases/download/v${PS_VERSION}/${PS_PACKAGE} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################################################################## | |
# This is the Cake bootstrapper script for PowerShell. | |
# This file was downloaded from https://github.com/cake-build/resources | |
# Feel free to change this file to fit your needs. | |
########################################################################## | |
<# | |
.SYNOPSIS | |
This is a Powershell script to bootstrap a Cake build. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NOTE: This still pops a dialog... I can't seem to figure out how to -Force it to not show. | |
function Set-DefaultBrowser { | |
[CmdletBinding(SupportsShouldProcess = $true)] | |
param( | |
[Parameter(Mandatory = $true)] | |
$BrowserId | |
) | |
$pythonScript = @" | |
from LaunchServices import LSSetDefaultHandlerForURLScheme |