Skip to content

Instantly share code, notes, and snippets.

Scott S. Lowe scottslowe

Block or report user

Report or block scottslowe

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@scottslowe
scottslowe / custom-bracketeer-keymap.json
Created Oct 30, 2017
Custom keymap file for use with Bracketeer and Sublime Text 3
View custom-bracketeer-keymap.json
[
{ "keys": ["{"], "command": "bracketeer", "args": { "braces": "{}", "unindent": true } },
{ "keys": ["}"], "command": "bracketeer", "args": { "braces": "{}", "pressed": "}", "unindent": true } },
{ "keys": ["["], "command": "bracketeer", "args": { "braces": "[]" } },
{ "keys": ["]"], "command": "bracketeer", "args": { "braces": "[]", "pressed": "]" } },
{ "keys": ["("], "command": "bracketeer", "args": { "braces": "()" } },
{ "keys": [")"], "command": "bracketeer", "args": { "braces": "()", "pressed": ")" } },
{ "keys": ["\""], "command": "bracketeer", "args": { "braces": "\"\"" }, "context":
[ { "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true } ] },
{ "keys": ["'"], "command": "bracketeer", "args": { "braces": "''" }, "context":
@scottslowe
scottslowe / keybase.md
Last active Mar 30, 2018
Keybase.io verification of GitHub identity
View keybase.md

Keybase proof

I hereby claim:

  • I am scottslowe on github.
  • I am scottslowe (https://keybase.io/scottslowe) on keybase.
  • I have a public key ASDyipcbsOtW8SYma2RpDZ8gen5vu8lvfbqRPbW0-WXjawo

To claim this, I am signing this object:

@scottslowe
scottslowe / Vagrantfile-AppCatalyst-TP2-Debian
Created Sep 6, 2015
This is a Vagrantfile being used with Vagrant 1.7.4 and VMware AppCatalyst TP2 that is causing an error when trying to boot a Debian "Jessie" box.
View Vagrantfile-AppCatalyst-TP2-Debian
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Specify Vagrant version, Vagrant API version, and desired clone location
Vagrant.require_version ">= 1.6.0"
VAGRANTFILE_API_VERSION = "2"
#ENV['VAGRANT_DEFAULT_PROVIDER'] = 'vmware_fusion'
#ENV['VAGRANT_VMWARE_CLONE_DIRECTORY'] = '~/.vagrant'
#ENV['VAGRANT_DEFAULT_PROVIDER'] = 'virtualbox'
ENV['VAGRANT_DEFAULT_PROVIDER'] = 'vmware_appcatalyst'
@scottslowe
scottslowe / ubuntu-1404-preseed
Created May 20, 2015
This is a preseed file, written for Ubuntu Server 14.04.2, that provides a fully automated installation (assuming the presence of a PXE boot infrastructure and a local HTTP server to provide the installation files).
View ubuntu-1404-preseed
# Ubuntu Server automated installation
# by Scott Lowe (scott.lowe@scottlowe.org)
d-i debian-installer/locale string en_US
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/layoutcode string us
d-i netcfg/choose_interface select eth0
d-i netcfg/get_hostname string hostname
d-i netcfg/get_domain string domain.com
d-i netcfg/wireless_wep string
@scottslowe
scottslowe / hostd-config
Created Dec 30, 2014
This snippet of XML, taken from /etc/vmware/hostd/config.xml on an ESX 3.5U3 host, changes the HA heartbeat delay.
View hostd-config
<vmsvc>
<heartbeatDelayInSecs>0</heartbeatDelayInSecs>
</vmsvc>
@scottslowe
scottslowe / sled-10-master-pam
Created Dec 22, 2014
This PAM configuration is used on SLED 10 to control authentication, and is used for integration into Active Directory.
View sled-10-master-pam
#%PAM-1.0
###########line above is part of this file#################
#/etc/pam.d/su config file
###########################################################
#auth sufficient pam_rootok.so
auth include common-auth
account include common-account
password include common-password
session include common-session
session optional pam_xauth.so
@scottslowe
scottslowe / sled-10-pam-conf
Created Dec 22, 2014
These PAM configuration files were taken from a SLED 10 workstation configured to integrate with Active Directory.
View sled-10-pam-conf
###############
# /etc/pam.d/common-account - authorization settings common to all services
###############
# This file is included from other service-specific PAM config
# files, and should contain a list of the authorization modules
# that define the central access policy for use on the system.
# The default is to only deny service to users whose accounts
# are expired.
#
account sufficient pam_krb5.so
@scottslowe
scottslowe / sled-10-smb-conf
Created Dec 22, 2014
This is a Samba configuration file (smb.conf) used to integrate SLED 10 into Active Directory.
View sled-10-smb-conf
###############
# /etc/samba/smb.conf file
###############
# smb.conf is the main Samba configuration file. You find a full
# commented version at /usr/share/doc/packages/samba/examples/
# smb.conf.SUSE if the samba-doc package is installed.
# Date: 2007-02-07
[global]
workgroup = DOMAIN-SHORTNAME
realm = DOMAIN.COM
@scottslowe
scottslowe / sled-10-ntp-conf
Created Dec 22, 2014
This is an ntp.conf file taken from an Active Directory-integrated SLED 10 workstation.
View sled-10-ntp-conf
###############
# /etc/ntp.conf file
#
# Sample NTP configuration file.
# See package ntp-doc for documentation, Mini-HOWTO and FAQ.
# Copyright 1998 S.u.S.E. GmbH Fuerth, Germany.
#
# Author: Michael Andres,
#
###############
@scottslowe
scottslowe / sled-10-nsswitch-conf
Created Dec 22, 2014
This nsswitch.conf is for a SLED 10 workstation integrated into Active Directory.
View sled-10-nsswitch-conf
###############
# /etc/nsswitch.conf
###############
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry [NOTFOUND=return] means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
You can’t perform that action at this time.