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
{ | |
"app_name":"Top League", | |
"abc_table":"Table", | |
"abc_matches":"Matches", | |
"abc_match":"Match", | |
"abc_settings":"Settings", | |
"abc_group":"Group", | |
"abc_groups":"Groups", | |
"abc_league":"League", | |
"abc_leagues":"Leagues", |
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
**** hosts file: | |
[wd_main] | |
localhost ansible_connection=local | |
[wd_ftu] | |
localhost ansible_connection=local | |
[wd:children] | |
wd_main | |
wd_ftu |
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
<%# | |
kind: PXELinux | |
name: PXELinux Kickstart Global | |
oses: | |
- CentOS | |
- RedHat | |
- RHEL | |
- Scientific | |
%> | |
DEFAULT linux |
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
{ | |
"template" : "collectd-*", | |
"settings" : { | |
"index.refresh_interval" : "5s" | |
}, | |
"mappings" : { | |
"_default_" : { | |
"_all" : {"enabled" : true, "omit_norms" : true}, | |
"dynamic_templates" : [ { | |
"message_field" : { |
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
require 'logger' | |
module Puppet::Parser::Functions | |
newfunction(:homer, :type => :rvalue) do |args| | |
log = Logger.new(STDOUT) | |
log.level = Logger::INFO | |
log.info("this going into logs on SERVER: #{args[0]}") |
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
class PaymethodsController < ApplicationController | |
before_action :set_paymethod, only: [:show, :update, :destroy] | |
# GET /paymethods | |
def index | |
@paymethods = Paymethod.all | |
render json: @paymethods | |
end |
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
<form [ngFormModel]="partiesForm" #f="ngForm"> | |
<label>Name</label> | |
<input type="text" ngControl="name"> | |
<label>Description</label> | |
<input type="text" ngControl="description"> | |
<label>Location</label> | |
<input type="text" ngControl="location"> | |
<button>Add</button> | |
{{f.value}} | |
</form> |