View deployment-tool-ansible-puppet-chef-salt.md

Requirements

  • no upfront installation/agents on remote/slave machines - ssh should be enough
  • application components should use third-party software, e.g. HDFS, Spark's cluster, deployed separately
  • configuration templating
  • environment requires/asserts, i.e. we need a JVM in a given version before doing deployment
  • deployment process run from Jenkins

Solution

View upload-certificates-to-aws.sh
#!/bin/bash
if [ $# -ne 1 ]
then
echo "upload-certificate-to-aws.sh <domain name>"
exit 1
fi
DOMAIN_NAME=$1
View -
# vim:fileencoding=utf-8:ft=conf
# Fully featured
font_family FuraCode Nerd Font Mono
italic_font auto
bold_font auto
bold_italic_font auto
# Font size (in pts)
font_size 11.0
View PloxBot.js
const Discord = require("discord.js");
const client = new Discord.Client({autoReconnect: true});
const YTDL = require("ytdl-core");
const settings = require('./settings.json');
const moment = require("moment");
const socket = require("socket.io");
var today = new Date();
var time = today.toLocaleTimeString();
View modelGlue.xml
<event-types>
<event-type name="permitted">
<before>
<broadcasts>
<message name="checkAuthorization" />
<message name="secureTransmissionURL" />
</broadcasts>
<results>
...<!--Whatever you do if user is not authenticated yet-->
View Bean
//Import a Scanner
import java.util.Scanner;
public class Bean {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
View mgAuth.cfc
<cffunction name="secureTransmissionURL" access="public" returntype="void" output="false">
<cfargument name="event" type="any">
<cfif arguments.event.valueExists("token") EQ false>
<cfset session.token= CreateUUID()>
</cfif>
<cfset arguments.event.setValue("secureMyself","index.cfm?token=" & Hash(session.token,"SHA-256") & "&" & arguments.event.getValue("eventValue") & "=")>
</cffunction>
<cffunction name="validateTransmissionURL" access="public" returntype="void" output="false">
<cfargument name="event" type="any">
View index.js
/** @jsx h */
var devtools = require('choo-devtools')
var choop = require('choop')
var h = require('choop/h')
var app = choop()
app.use(devtools())
app.use(countStore)
app.route('*', mainView)
app.mount('body')
View GSoC2017_FOSSASIA_Rishi_Raj.md
View brlog.trunk-asserts-nopara.20171124-041847
# Logfile created on 2017-11-24 04:18:47 +0900 by logger.rb/v1.2.7
I, [2017-11-24T04:18:47.871827 #26803] INFO -- : #<BuildRuby:0x00000001853080 @REPOSITORY="https://svn.ruby-lang.org/repos/ruby/trunk", @REPOSITORY_TYPE=:svn, @git_branch=nil, @svn_revision=nil, @TARGET_NAME="trunk-asserts-nopara", @SRC_DIR="/home/ko1/ruby/src", @BUILD_DIR="/home/ko1/ruby/build", @INSTALL_DIR="/home/ko1/ruby/install", @TARGET_SRC_DIR="/home/ko1/ruby/src/trunk-asserts-nopara", @TARGET_BUILD_DIR="/home/ko1/ruby/build/trunk-asserts-nopara", @TARGET_INSTALL_DIR="/home/ko1/ruby/install/trunk-asserts-nopara", @configure_opts=["--enable-shared"], @build_opts="DEFS=\"-DRGENGC_CHECK_MODE=2 -DVM_CHECK_MODE=2\"", @test_opts=nil, @incremental=true, @steps=["checkout", "autoconf", "configure", "build_up", "build_miniruby", "build_ruby", "build_all", "build_install", "test_btest", "test_basic", "test_all", "test_rubyspec"], @quiet=false, @gist=false, @timeout=7200, @logfile="/home/ko1/ruby/logs/brlog.trunk-asserts-nopara.20171124-041847",