Skip to content

Instantly share code, notes, and snippets.

View gist:6bf21dcb0352cecbcee188b1bc649aeb
#! /usr/bin/env python3
import boto3
import time
import os
REGION = os.getenv('AWS_REGION', 'us-east-1')
def fibonacci(n):
if n <= 0:
print("incorect input")
elif n == 1:
return 0
View httpd-proxy.conf
# This configuration file enables the default "Welcome" page if there
# is no default index page present for the root URL. To disable the
# Welcome page, comment out all the lines below.
# NOTE: if this file is removed, it will be restored on upgrades.
Listen 443
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite HIGH:!aNULL:!MD5
View vhost.conf
Listen 443
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite HIGH:!aNULL:!MD5
SSLVerifyClient none
SSLCertificateFile /etc/ssl/certs/node-selfsigned.crt
SSLCertificateKeyFile /etc/ssl/private/node-selfsigned.key
LogLevel warn
<VirtualHost *:443>
public void setupTestCases() {
nodeService = getServiceRegistry().getNodeService();
transactionService = getServiceRegistry().getTransactionService();
nodeLocatorService = getServiceRegistry().getNodeLocatorService();
fileFolderService = getServiceRegistry().getFileFolderService();
myService = (MyService)getApplicationContext().getBean("myServiceId");
View profiles-2.pom.xml
View profiles-pom.xml
Brings in the extra Enterprise specific repository classes,
if the 'enterprise' profile has been activated, needs to be activated manually. -->
View modules-pom.xml
<!-- These are no longer needed for the SDK 3.0
View sdk-resources-pom.xml