I assume you have actual Fedora 23 distro. For other distros scripts can differ
$ git clone https://github.com/awslabs/aws-apigateway-importer
$ cd aws-apigateway-importer/
$ sudo docker build -t aws-apigateway-importer .
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- UPS XAV Service WSDL Release Date Dec 29, 2007 --> | |
<!-- Copyright 2007-2008 United Parcel Service of America, Inc. All rights reserved. --> | |
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:error="http://www.ups.com/XMLSchema/XOLTWS/Error/v1.1" xmlns:upss="http://www.ups.com/XMLSchema/XOLTWS/UPSS/v1.0" xmlns:xav="http://www.ups.com/XMLSchema/XOLTWS/xav/v1.0" xmlns:tns="http://www.ups.com/WSDL/XOLTWS/XAV/v1.0" targetNamespace="http://www.ups.com/WSDL/XOLTWS/XAV/v1.0"> | |
<wsdl:types> | |
<!-- This schema defines the UPS Security header used for authorization purposes --> | |
<xsd:schema targetNamespace="http://www.ups.com/XMLSchema/XOLTWS/UPSS/v1.0" xmlns:upss="http://www.ups.com/XMLSchema/XOLTWS/UPSS/v1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> | |
<xsd:element name="UPSSecurity"> | |
<xsd:complexType> | |
<xsd:sequenc |
package main | |
import "fmt" | |
func main() { | |
var i int64 | |
for { | |
i = i + 1 | |
if i >= 200 { | |
break |
package main | |
import( | |
"fmt" | |
"time" | |
) | |
func NumberOfTheWeekInMonth(now time.Time) int { | |
beginningOfTheMonth := time.Date(now.Year(), now.Month(), 1, 1, 1, 1, 1, time.UTC) | |
_, thisWeek := now.ISOWeek() |
package main | |
/* | |
Test task: Small Go powered parser to query Yahoo api | |
for money xchange rates and store data | |
in local redis database. | |
Time taken ~1 hour | |
*/ | |
import ( |
#!/bin/sh | |
echo "Start SSHD service" | |
systemctl enable sshd | |
systemctl start sshd | |
echo "Remove junky programs i hate" | |
dnf -y remove clipit asunder gnomebaker lxmusic gnumeric osmo pidgin xpad | |
echo "Upgrade system" |
#!/bin/bash | |
# Delete all containers | |
docker rm $(docker ps -a -q) | |
# Delete all images | |
docker rmi $(docker images -q) |
'use strict'; | |
var express = require('express'); | |
var app = express(); | |
app.get('/1pixel.jpg', function(req,res){ | |
var | |
hex1pixeljpeg = 'ffd8ffe000104a46494600010101006000600000ffe1001645786966000049492a0008000000000000000000ffdb00430001010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101ffdb00430101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101ffc00011080001000103012200021101031101ffc400150001010000000000000000000000000000000affc40014100100000000000000000000000000000000ffc40014010100000000000000000000000000000000ffc40014110100000000000000000000000000000000ffda000c03010002110311003f00bf8001ffd9', | |
buffer1PixelJpeg = new Buffer(hex1pixeljpeg, 'hex'); |
#!/bin/sh | |
ssh-keygen -q -f /etc/ssh/ssh_host_key -N '' -t rsa1 | |
ssh-keygen -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa | |
ssh-keygen -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa | |
ssh-keygen -f /etc/ssh/ssh_host_ecdsa_key -N '' -t ecdsa -b 521 |
#!/bin/sh | |
#cjdroute(https://github.com/cjdelisle/cjdns) install script for Fedora 20 linux | |
cd /home/vodolaz095/projects/cjdns | |
git checkout master | |
git pull | |
echo 'Source code pulled!' | |
/home/vodolaz095/projects/cjdns/do | |
su -c 'rm -f /bin/cjdroute; |