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
2013-01-31 21:07:07,947 ERROR [TP-Processor12] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action | |
-- url: /homepage.action | userName: anonymous | |
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection | |
at org.springframework.orm.hibernate.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:473) | |
at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:374) | |
at com.atlassian.xwork.interceptors.TransactionalInvocation.getNewTransaction(TransactionalInvocation.java:141) | |
at com.atlassian.xwork.interceptors.TransactionalInvocation.invokeInTransaction(TransactionalInvocation.java:40) | |
at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:56) | |
at com.opensymphony.xwork.DefaultAc |
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
package examples.docs | |
import com.atlassian.applinks.api.ApplicationLink | |
import com.atlassian.applinks.api.ApplicationLinkService | |
import com.atlassian.applinks.api.application.confluence.ConfluenceApplicationType | |
import com.atlassian.jira.issue.Issue | |
import com.atlassian.sal.api.component.ComponentLocator | |
import com.atlassian.sal.api.net.Request | |
import com.atlassian.sal.api.net.Response | |
import com.atlassian.sal.api.net.ResponseException |
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
# Usage: see http://www.hurryupandwait.io/blog/setup-a-new-machine-with-just-a-url-and-chocolatey-package | |
# Get RAW URL from this GIST | |
# START http://boxstarter.org/package/nr/url?<RAW URL from GIST> | |
####################### | |
# Windows Configuration | |
Update-ExecutionPolicy Unrestricted | |
Disable-InternetExplorerESC | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions |
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
var username = ''; | |
var password = ''; | |
var encoded_credentials = new Buffer(username + ':' + password).toString('base64'); | |
fetch('https://example.com', { method: 'POST', headers: {'Authorization': 'Basic ' + encoded_credentials} }) | |
.then(function(res) { | |
return res.json(); | |
}) | |
.then(function(body) { |
OlderNewer