Web3.js Documentation and examples

The web3.js library is a collection of modules which contain specific functionality for the ethereum ecosystem. The web3-eth is for the ethereum blockchain and smart contracts The web3-shh is for the whisper protocol to communicate p2p and broadcast The web3-bzz is for the swarm protocol, the decentralized file storage The web3-utils contains useful helper functions for Dapp developers. Here the full documentation. Here…

Read More

Permissions based on Workflow Status in JIRA

In the Workflow transition properties you can set diverse permissions restrictions like this: jira.permission.comment.group=group jira.permission.comment.denied=true/false jira.permission.edit.group.1=group1 jira.permission.edit.group.2=group2 jira.permission.modifyreporter.user=username jira.permission.delete.projectrole=10000 jira.permission.subtasks.delete.projectrole=10000 jira.permission.close.user=username jira.issue.editable=false … You can see more permissions and terminology in this link  

Read More

Obtaining Confluence metrics & SQL tricks

MySQL query to get the last login of all members of the confluence-users group SELECT distinct u.lower_user_name, l.successdate FROM cwd_user u LEFT JOIN logininfo l ON u.user_name = l.username JOIN cwd_membership m ON u.id = m.child_user_id JOIN cwd_group g ON m.parent_id = g.id JOIN spacepermissions sp ON g.group_name = sp.permgroupname WHERE permtype=’USECONFLUENCE’ order by u.lower_user_name; …

Read More

INSTRUCTIONS TO MIGRATE FROM JIRA6 (WAR DISTRIBUTION, NOW OBSOLETE) TO JIRA7 NEW BINARY DISTRIBUTION

First, make a backup of the database (jiradb) and import in the same server (or in different) with name of scheme “jira7db”. With this method you can rollback the process in two minutes and continue with the JIRA 6 version if the process fails. 1. Download the binary distribution: atlassian-jira-software-7.0.3-jira-7.0.3-x64.bin 2. execute ./atlassian-jira-software-7.0.3-jira-7.0.3-x64.bin 3. OK…

Read More

Apache Tomcat Tricks

Cloud Servers Virtual Machines Native Installers Configuration file(s) /opt/bitnami/apache-tomcat/conf/server.xml /opt/bitnami/apache-tomcat/conf/server.xml install_dir/apache-tomcat/conf/server.xml Log file(s) /opt/bitnami/apache-tomcat/logs/* /opt/bitnami/apache-tomcat/logs/* install_dir/apache-tomcat/logs/* Default port 8080, 8443 (SSL) 8080, 8443 (SSL) 8080, 8443 (SSL) AJP port 8009 8009 8009 System user account tomcat tomcat tomcat Service control sudo /opt/bitnami/ctlscript.sh start|stop|restart tomcat sudo /opt/bitnami/ctlscript.sh start|stop|restart tomcat install_dir/ctlscript.sh start|stop|restart tomcat How to configure the…

Read More