Skip to content

Instantly share code, notes, and snippets.

@quadriq
quadriq / en.json
Created April 17, 2023 20:53
english
{
"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",
**** hosts file:
[wd_main]
localhost ansible_connection=local
[wd_ftu]
localhost ansible_connection=local
[wd:children]
wd_main
wd_ftu
<%#
kind: PXELinux
name: PXELinux Kickstart Global
oses:
- CentOS
- RedHat
- RHEL
- Scientific
%>
DEFAULT linux
{
"template" : "collectd-*",
"settings" : {
"index.refresh_interval" : "5s"
},
"mappings" : {
"_default_" : {
"_all" : {"enabled" : true, "omit_norms" : true},
"dynamic_templates" : [ {
"message_field" : {
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]}")
class PaymethodsController < ApplicationController
before_action :set_paymethod, only: [:show, :update, :destroy]
# GET /paymethods
def index
@paymethods = Paymethod.all
render json: @paymethods
end
<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>