Skip to content

Instantly share code, notes, and snippets.

View gcman105's full-sized avatar

Gary Cheeseman gcman105

View GitHub Profile
{
"interactionModel": {
"languageModel": {
"invocationName": "auris demo",
"intents": [
{
"name": "AMAZON.CancelIntent",
"samples": []
},
{
@gcman105
gcman105 / nvim.scpt
Last active May 25, 2020 12:16 — forked from cinakyn/Vim.scpt
Open files with iTerm nvim
on run {input, parameters}
-- If run without input, open random file at $HOME
try
set paths to ""
repeat with i from 1 to length of input
set cur to item i of input
set paths to paths & " " & quote & POSIX path of cur & quote
end repeat
on error
@gcman105
gcman105 / cloudSettings
Created March 29, 2019 13:40
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-03-29T13:39:24.086Z","extensionVersion":"v3.2.7"}
@gcman105
gcman105 / sshd_config hardened
Created August 5, 2017 21:47
Ubuntu 16.04 /etc/ssh/sshd_config hardened
# Package generated configuration file
# See the sshd_config(5) manpage for details
# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
@gcman105
gcman105 / sshd_config at install
Last active August 5, 2017 21:45
Ubuntu 16.04 /etc/ssh/sshd_config as at fresh install
# Package generated configuration file
# See the sshd_config(5) manpage for details
# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
@gcman105
gcman105 / tp_init.vim
Created July 30, 2017 07:54
init.vim template
" Source init.vim from my dotfiles repository --------------------------------
source /home/r8admin/dotfiles/nvim/init.vim
" Add any system specific settings -----------------------
" Direct Neovim to it's Python3 Virtualenv
" let g:python3_host_prog = '/home/r8admin/.virtualenvs/py3neovim/bin/python3'
"NOTE that the directories need to be setup for this next section !!!!!!!!!!
"Setup backup location and enable
_tmuxinator() {
local commands projects
commands=(${(f)"$(tmuxinator commands zsh)"})
projects=(${(f)"$(tmuxinator completions start)"})
if (( CURRENT == 2 )); then
_describe -t commands "tmuxinator subcommands" commands
_describe -t projects "tmuxinator projects" projects
elif (( CURRENT == 3)); then
case $words[2] in
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
#ZSH_THEME="robbyrussell"
ZSH_THEME="agnoster"
.rollover-carpet_cleaning {
width: 100%;
height: 0;
padding-bottom: 100%;
background-image: url('http://topmops.net/wp-content/uploads/2017/07/carpet_cleaning_test2.jpg');
background-position: 0 0;
background-size: 200%;
display:block;
-webkit-transition-property: none;
-moz-transition-property: none;
" Specify a directory for plugins For Neovim: ~/.local/share/nvim/plugged
" - Avoid using standard Vim directory names like 'plugin'
"-----------------------------------------------------------------------------
" vim-plug plugins {{{1
"-----------------------------------------------------------------------------
" Make sure you use single quotes
call plug#begin('~/.vim/plugged')
Plug 'Shougo/denite.nvim'