This file contains hidden or 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
$ sudo apt-get install apache2 | |
$ sudo a2enmod proxy | |
$ sudo a2enmod proxy_ajp | |
$ sudo a2enmod rewrite | |
$ sudo vim /etc/apache2/sites-enabled/default-ssl.conf | |
<VirtualHost *:80> | |
ServerAdmin webmaster@localhost | |
DocumentRoot /var/www/html |
This file contains hidden or 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
$ curl --silent https://services.zylk.net/alfresco/service/api/sites |grep shortName|wc -l | |
31 | |
In JS Console | |
var s = siteService.getSites("", "", 0); | |
s.forEach(function(entry) { | |
var members = entry.listMembers(null, "", 0, false); | |
for (userName in members) { | |
logger.log(entry.shortName+ " :: "+userName); |
This file contains hidden or 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
#Si difieren mucho puede indicar balloning | |
ps aux | tr -s ' ' | awk 'BEGIN{sum=0}{ sum+=$6 }END{print expr sum/1024}' | |
free -m |
This file contains hidden or 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 a script from the repository using a name-based path: | |
<import resource="/Company Home/Data Dictionary/Scripts/library.js"> | |
Import a script from the repository using a NodeRef reference: | |
<import resource="workspace://SpacesStore/6f73de1b-d3b4-11db-80cb-112e6c2ea048"> | |
Import a script from a Java classpath location: |
NewerOlder