Skip to content

Instantly share code, notes, and snippets.

View RandellBrianKnight's full-sized avatar

Randell Brian Knight RandellBrianKnight

View GitHub Profile
@matthewbdaly
matthewbdaly / init.vim
Last active May 20, 2025 20:32
My NeoVim config
let g:polyglot_disabled = ['markdown']
call plug#begin()
" Project
Plug 'ahmedkhalf/project.nvim'
" Search
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
@RandellBrianKnight
RandellBrianKnight / gist:959fe361cd07230618dc88dfec2231a0
Created August 4, 2018 21:16 — forked from amarraja/gist:3938304
Replace system notepad with notepad++
REM Replaces notepad.exe with notepad++. Here for reference since I can never find it
REM Taken from here: http://blogs.itramblings.com/post/2009/02/08/How-to-replace-notepadexe-on-Windows-Server-2008.aspx
@echo off
echo Create Backup copies of the original notepad.exe
copy C:\Windows\notepad.exe C:\Windows\notepad32.exe
copy C:\Windows\System32\notepad.exe C:\Windows\System32\notepad32.exe
copy C:\Windows\SysWOW64\notepad.exe C:\Windows\SysWOW64\notepad32.exe
@mikecole
mikecole / gist:3b4c81222f0312ee1868848d64e85ccc
Created August 25, 2016 16:12
Chocolatey Community Package Maintainers Update - August 2016
Chocolatey Community Package Maintainers Update - August 2016
Welcome to the inaugural email update for Chocolatey community package maintainers. We need a way to provide important information to the community maintainers, so we created this list. If you are no longer maintaining packages on Chocolatey.org, simply unsubscribe from future emails at the bottom of this list. Also, you can respond directly to the email if you have questions or concerns.
Checksums Required For All Future Package Approvals
tl;dr - Moving forward packages will not be approved without checksums if they download remote resources (exact date to be determined). This includes trusted packages.
In July 2014 Chocolatey added the ability for package maintainers to provide checksums for downloads. Over the last two years many of you have added checksums to your packages to provide an additional layer of protection for the community, thank you so much for that! We've been planning a move to requiring checksums and were hoping for a gradual
@seksenov
seksenov / cortana.html
Last active May 28, 2022 21:51
Cortana integration from a hosted web app on Windows. To do this you'll need a meta tag in your html page pointint to an xml voice command definition file on your server. You'll also need to handle the Cortana activation event in your JavaScript.
<!DOCTYPE html>
<html>
<head>
<title>Cortana Example</title>
<!--Cortana meta tag pointing to VCD file on the server-->
<meta name="msapplication-cortanavcd" content="https://mysite.com/vcd.xml"/>
</head>
<body>
</body>
@jonikarppinen
jonikarppinen / markdown-comments.md
Last active June 25, 2025 10:31
How to comment out stuff in Markdown on GitHub?

Comments in GitHub flavour of Markdown

As answers to this Stack Overflow question reveal, using <!--- and ---> or <!-- and --> works (view source by clicking "Raw"):

@AdamAlinauskas
AdamAlinauskas / layout.htm
Created February 4, 2013 04:28
Web page layout using divs with a header, footer, right sidebar, left sidebar and an area for main content.
<html>
<head>
<style>
#header{
background-color: lightblue;
width:100%;
height:50px;
text-align: center;
}
@amarraja
amarraja / gist:3938304
Created October 23, 2012 11:35
Replace system notepad with notepad++
REM Replaces notepad.exe with notepad++. Here for reference since I can never find it
REM Taken from here: http://blogs.itramblings.com/post/2009/02/08/How-to-replace-notepadexe-on-Windows-Server-2008.aspx
@echo off
echo Create Backup copies of the original notepad.exe
copy C:\Windows\notepad.exe C:\Windows\notepad32.exe
copy C:\Windows\System32\notepad.exe C:\Windows\System32\notepad32.exe
copy C:\Windows\SysWOW64\notepad.exe C:\Windows\SysWOW64\notepad32.exe