christianmlong + configuration   23

TOML
TOML aims to be a minimal configuration file format that's easy to read due to obvious semantics. TOML is designed to map unambiguously to a hash table. TOML should be easy to parse into data structures in a wide variety of languages.
ini  yaml  toml  config  configuration  file  format  spec 
may 2017 by christianmlong
How to use Augeas to add DenyUsers line to sshd_config - Ask Puppet: Puppet DevOps Q&A Community
However I'd strongly recommend you just use the augeasproviders module as it handles this and a number of edge cases that this snippet won't.

sshd_config { "DenyUsers":
ensure => present,
value => ["jerk@example.com"],
}
puppet  augeas  augeasproviders  ssh  config  configuration  multi  line  ssh_config 
january 2017 by christianmlong
Practical Tmux
Here's my complete .tmux.conf for reference.

# C-b is not acceptable -- Vim uses it
set-option -g prefix C-a
bind-key C-a last-window

# Start numbering at 1
set -g base-index 1

# Allows for faster key repetition
set -s escape-time 0

# Set status bar
set -g status-bg black
set -g status-fg white
set -g status-left ""
set -g status-right "#[fg=green]#H"

# Rather than constraining window size to the maximum size of any client
# connected to the *session*, constrain window size to the maximum size of any
# client connected to *that window*. Much more reasonable.
setw -g aggressive-resize on

# Allows us to use C-a a <command> to send commands to a TMUX session inside
# another TMUX session
bind-key a send-prefix

# Activity monitoring
#setw -g monitor-activity on
#set -g visual-activity on

# Example of using a shell command in the status line
#set -g status-right "#[fg=yellow]#(uptime | cut -d ',' -f 2-)"

# Highlight active window
set-window-option -g window-status-current-bg red

Posted on March 28, 2011 from Calgary
tmux  configuration 
may 2013 by christianmlong
ubuntu - How do I ask apt-get to skip any interactive post-install configuration steps? - Server Fault
have a server build script which uses apt-get to install packages. It then puts pre-written configuration files directly in place, so the interactive post-install configuration dialog in packages such as postfix is not needed. How do I skip this stage of the installation? It creates a piece of manual intervention that I would rather avoid.

I am aware of the -qq option, but the manpage warns against using it without specifying a no-action modifier. I do want to perform an action, I just want to suppress a specific part of it.



=============


If you're using sudo the export of the environment variable won't work, but you can do it this way:


sudo DEBIAN_FRONTEND=noninteractive apt-get -y [packagename]
ubuntu  linux  apt-get  skip  post_install  configuration 
may 2013 by christianmlong
Connection string keywords - Server properties
CMT or CommitMode Specifies the default transaction isolation level. 0 = Commit immediate (*NONE)

1 = Read committed (*CS)

2 = Read uncommitted (*CHG)

3 = Repeatable read (*ALL)

4 = Serializable (*RR)
2
CONNTYPE or ConnectionType Specifies the level of database access for the connection. 0 = Read/Write (all SQL statements allowed)

1 = Read/Call (SELECT and CALL statements allowed)

2 = Read-only (SELECT statements only)
0
DATABASE Specifies the iSeries relational database (RDB) name to connect. Note, this option is only valid to iSeries V5R2 versions. This option is ignored when connecting to earlier pre-V5R2 servers.

Special values for this option include specifying an empty-string or *SYSBAS. An empty-string indicates to use the user-profile's default setting for database. Specifying *SYSBAS will connect a user to the SYSBAS database (RDB name).
iSeries relational database name empty-string
DBQ or DefaultLibraries Specifies the iSeries libraries to add to the server job's library list. The libraries are delimited by commas or spaces, and *USRLIBL may be used as a place holder for the server job's current library list. The library list is used for resolving unqualified stored procedure calls and finding libraries in catalog API calls. If *USRLIBL is not specified, the specified libraries will replace the server job's current library list.
Note: The first library listed in this property will also be the default library, which is used to resolve unqualified names in SQL statements. To specify no default library, a comma should be entered before any libraries.
iSeries libraries

Only 25 libraries are supported in a library list on a connection to a pre-V5R1 server. 75 entries are supported on a V5R1 and later servers. Entries over 75 are ignored.
QGPL
db2  odbc  connection  string  configuration  documentation 
april 2013 by christianmlong

Copy this bookmark:



description:


tags: