This file contains 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
package nl.techop.frontdoor.ldap; | |
import org.apache.directory.server.core.DefaultDirectoryService; | |
import org.apache.directory.server.core.DirectoryService; | |
import org.apache.directory.server.core.entry.ServerEntry; | |
import org.apache.directory.server.core.partition.Partition; | |
import org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex; | |
import org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition; | |
import org.apache.directory.server.ldap.LdapServer; | |
import org.apache.directory.server.protocol.shared.transport.TcpTransport; |
This file contains 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
#!/usr/bin/env ruby | |
require 'facter' | |
require 'json' | |
require 'sinatra' | |
ipaddress="172.16.132.2" | |
# sinatra specific settings | |
set :sessions, false |
This file contains 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
# Client | |
/opt/scc/bin/scc –v <host> -e “* “ –p cp –s \ /var/opt/scc/data/transfer | |
#Server | |
/opt/scc-srv/bin/scc-pull –n -L /var/opt/scc-srv/conf/scc-pull-list |
This file contains 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
#!/bin/bash | |
# pre-commit git hook to check the validity of a puppet manifest | |
# | |
# Prerequisites: | |
# gem install puppet-lint puppet | |
# | |
# Install: | |
# /path/to/repo/.git/hooks/pre-comit | |
# Source RVM if needed |
This file contains 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
#!/bin/sh | |
# make sure the following is in the puppet auth.conf and autosign | |
# is enabled | |
# | |
# path /certificate_status | |
# auth any | |
# allow <cobbler_server> | |
# | |
# |
This file contains 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
#!/usr/bin/env python | |
import crypt | |
import string | |
import random | |
import sys | |
from optparse import OptionParser | |
def salt_generator(size=20, chars=string.ascii_uppercase + string.digits): | |
return ''.join(random.choice(chars) for x in range(size)) |
This file contains 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
#!/usr/bin/env python | |
## | |
## This is a syslog server that is able to receive UDP based syslog | |
LOG = 'thelogfile.log' | |
HOST, PORT = "0.0.0.0", 514 | |
import logging |
This file contains 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
package com.srini.tikacustom; | |
import java.io.IOException; | |
import org.apache.hadoop.io.Text; | |
import org.apache.hadoop.mapreduce.InputSplit; | |
import org.apache.hadoop.mapreduce.RecordReader; | |
import org.apache.hadoop.mapreduce.TaskAttemptContext; | |
import org.apache.hadoop.mapreduce.lib.input.FileInputFormat; |
This file contains 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
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0 | |
oracle.install.option=INSTALL_DB_AND_CONFIG | |
ORACLE_HOSTNAME=localhost.localdomain | |
UNIX_GROUP_NAME=oinstall | |
INVENTORY_LOCATION=/u01/soa/oraInventory | |
SELECTED_LANGUAGES=en | |
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1 | |
ORACLE_BASE=/u01/app/oracle | |
oracle.install.db.InstallEdition=EE | |
oracle.install.db.isCustomInstall=false |
This file contains 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
############################################################################## | |
## ## | |
## DBCA response file ## | |
## ------------------ ## | |
## Copyright 1998, 2007, Oracle Corporation. All Rights Reserved. ## | |
## ## | |
## Specify values for the variables listed below to customize Oracle ## | |
## Database Configuration installation. ## | |
## ## | |
## Each variable is associated with a comment. The comment identifies the ## |