View gist:6bf21dcb0352cecbcee188b1bc649aeb
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 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 gist:6f72c6ec68bf0c94a61dc48fd475ff00
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
tes |
View gist:b20b560d71aff8452c98cc16fb006137
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
sfsf |
View httpd-proxy.conf
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
# | |
# 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
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
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> |
View it-test.java
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
@Before | |
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
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
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-assembly-plugin</artifactId> | |
</plugin> | |
<plugin> | |
<artifactId>maven-assembly-plugin</artifactId> | |
<executions> | |
<execution> |
View profiles-pom.xml
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
<profiles> | |
<!-- | |
Brings in the extra Enterprise specific repository classes, | |
if the 'enterprise' profile has been activated, needs to be activated manually. --> | |
<profile> | |
<id>enterprise</id> | |
<dependencies> | |
<dependency> | |
<groupId>${alfresco.groupId}</groupId> |
View modules-pom.xml
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
<modules> | |
<module>my-repository-module</module> | |
<module>my-shareui-module</module> | |
<module>integration-tests</module> | |
<!-- These are no longer needed for the SDK 3.0 | |
<module>repo</module> | |
<module>solr-config</module> | |
<module>share</module> | |
<module>runner</module> | |
--> |
View sdk-resources-pom.xml
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
<repositories> | |
<repository> | |
<id>alfresco-public</id> | |
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url> | |
</repository> | |
<repository> | |
<id>alfresco-public-snapshots</id> | |
<url>https://artifacts.alfresco.com/nexus/content/groups/public-snapshots</url> | |
<snapshots> | |
<enabled>true</enabled> |
NewerOlder