This project has moved to https://github.com/wabson/chafon-rfid
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 | |
NOW=`date +%Y%m%d%H%M%S` | |
if [ -z "$1" ]; then | |
echo "Usage: $0 <source-zip>|<source-dir> <target-dir>" | |
exit 1 | |
fi | |
if [ -z "$2" ]; then | |
wget "http://wordpress.org/latest.zip" -O "wordpress-$NOW.zip" | |
src="wordpress-$NOW.zip" | |
target=$1 |
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 | |
sitename="$1" | |
if [[ "$sitename" =~ ^/.* ]]; then | |
wwwdir="$sitename" | |
else | |
wwwdir="/var/www/sites/$sitename" | |
fi | |
files="wp-content" | |
bucket="$2" | |
s3cmd="$HOME/bin/s3cmd" |
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
FROM tomcat:7.0 | |
ENV ACTIVITI_APP_PROPS ${CATALINA_HOME}/lib/activiti-app.properties | |
COPY build-war/activiti-app.war /usr/local/tomcat/webapps/ | |
COPY docker-activiti-app.properties ${ACTIVITI_APP_PROPS} | |
COPY mysql-connector-java-5.1.39.jar ${CATALINA_HOME}/lib | |
COPY set-activiti-config.sh entrypoint.sh /root/ |
Alfresco Content Services exposes a RESTful endpoint where you can retrieve the list of the users inside the system:
The endpoint URI is the following:
https://api-explorer.alfresco.com/alfresco/api/-default-/public/alfresco/versions/1/people
username and password of the endpoint are: admin/admin
Using the data returned from the endpoint you are requested to create a chips list to show a list of users
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 | |
if [ -z "$1" -o -z "$2" ]; then | |
echo "Usage: $0 <target-dir> 1|0" | |
exit 1 | |
fi | |
targets="$1/wp-content/plugins $1/wp-content/themes"; | |
if [ "$2" -eq 1 ]; then | |
owner="www-data:www-data" |
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
FROM node:5 | |
# Create src directory | |
RUN mkdir -p /usr/src | |
WORKDIR /usr/src | |
# Copy source and install app dependencies | |
COPY app /usr/src/app/ | |
COPY assets /usr/src/assets/ | |
COPY i18n /usr/src/i18n/ |
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
<?xml version='1.0' encoding='UTF-8'?> | |
<kml xmlns='http://www.opengis.net/kml/2.2'> | |
<Document> | |
<name>Richmond Hasler Race</name> | |
<description><![CDATA[]]></description> | |
<Folder> | |
<name>Start</name> | |
<Placemark> | |
<name>START</name> | |
<styleUrl>#line-62AF44-4-nodesc</styleUrl> |
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
<settings> | |
<profiles> | |
<profile> | |
<id>alfresco-internal</id> | |
<activation> | |
<activeByDefault>true</activeByDefault> | |
</activation> | |
<properties> | |
<test.soffice.exe>/Applications/LibreOffice.app/Contents/MacOS/soffice</test.soffice.exe> | |
</properties> |
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
<import resource="classpath:alfresco/site-webscripts/org/alfresco/components/rules/config/rule-config.lib.js"> | |
<import resource="classpath:alfresco/site-webscripts/org/alfresco/config.lib.js"> | |
function main() | |
{ | |
var c = new XML(config.script); | |
processScriptConfig(c); | |
processGlobalConfig(); | |
// Load rule config definitions, or in this case "ActionConditionDefinition:s" |
NewerOlder