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
com.atlassian.confluence.importexport.ImportExportException: Couldn't backup database data. at com.atlassian.confluence.importexport.impl.AbstractXmlExporter.backupEntities(AbstractXmlExporter.java:197) at com.atlassian.confluence.importexport.impl.AbstractXmlExporter.backupEverything(AbstractXmlExporter.java:99) at com.atlassian.confluence.importexport.impl.FileXmlExporter.backupEverything(FileXmlExporter.java:75) at com.atlassian.confluence.importexport.impl.AbstractXmlExporter.doExport(AbstractXmlExporter.java:92) at com.atlassian.confluence.importexport.impl.FileXmlExporter.doExport(FileXmlExporter.java:41) at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org |
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 quick little middleware grabs all HTML pages going across the wire, peeks inside and replaces the content with some nice features: curly quotes instead of straight quotes (prime marks), conversion of -- to proper emdashes, insertion of to prevent text widows, wrapper HTML classes for caps and ampersands for fancier styling, and other fun things. | |
It's really a middleware wrapper for Typogruby (http://avdgaag.github.com/typogruby/), so check it out if you want the gory details. | |
It requires: | |
typogruby: http://avdgaag.github.com/typogruby/ | |
nokogiri: http://nokogiri.org/ | |
Have fun! |
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
/* If you've ever had the need to link directly to an open modal window with Bootstrap, here's a quick and easy way to do it: | |
Make sure your modal has an id: | |
<div class="modal" id="myModal" ... > | |
Then stick this bit of Javascript at at the end of your document: | |
*/ | |
$(document).ready(function() { |
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
TextMate 2 at GitHub | |
Today I am happy to announce that you can find the source for TextMate 2 on GitHub. | |
I’ve always wanted to allow end-users to tinker with their environment, my ability to do this is what got me excited about programming in the first place, and it is why I created the bundles concept, but there are limits to how much a bundle can do, and with the still growing user base, I think the best move forward is to open source the program. | |
The choice of license is GPL 3. This is partly to avoid a closed source fork and partly because the hacker in me wants all software to be free (as in speech), so in a time where our platform vendor is taking steps to limit our freedom, this is my small attempt of countering such trend. | |
I am also a pragmatist and realize that parts of the TextMate code base is useful for other (non-free) applications, so I may later move to a less restrictive license, as is currently the case with the bundles. For now, please get in touch with us if there are subsets of the cod |
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
// Gives you the letter chunk at the beginning (PQ, in this case) | |
preg_match_all("/^[A-Z]{1,2}/", "PQ3979.2.M28 L33 1992", $letter); | |
// Gives you the numbers (I only really care about $number[0][0], so this is fine) | |
preg_match_all("/[0-9]{1,4}/", "PQ3979.2.M28 L33 1992", $number); | |
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
{ | |
"headline": "Lorem Ipsum", | |
"body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec urna felis. Etiam sed elit nec neque laoreet gravida. Proin sit amet lorem sem, vel lacinia ligula. Praesent fermentum, nunc eu auctor dapibus, augue dui elementum nulla, a iaculis elit justo eu urna. Etiam viverra dapibus lacus, vitae fringilla nunc adipiscing vel. Nulla facilisi. Fusce porttitor, erat ac mollis convallis, orci magna ultrices lorem, a sollicitudin lorem magna nec velit. Vivamus quis turpis non nulla blandit convallis at vitae nulla. Pellentesque et elit nec est cursus imperdiet. Vestibulum lobortis, sapien sit amet euismod porttitor, orci turpis volutpat tortor, id gravida erat ipsum ut nibh. | |
Aenean porttitor fringilla lacus, ac pharetra magna auctor ac. Aenean accumsan ultricies leo posuere aliquet. Nam eu tortor dolor. Cras sit amet tincidunt neque. | |
Sed viverra tincidunt nisi, non pretium justo pharetra nec. Cras quis erat nunc. Nunc sed mi non urna pretium semper at at nunc. Suspe |
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
Subject: CODE4LIB.COM Available For Purchase | |
Date: Friday, July 9, 2010 6:59 AM | |
From: [email protected] <[email protected]> | |
To: Sean Hannan <[email protected]> | |
Conversation: CODE4LIB.COM Available For Purchase | |
This is a notice that the domain name CODE4LIB.COM is now available for purchase from our company. | |
It would make a valuable addition to your existing domain name CODE4LIB.ORG. |
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
.array-field { | |
border: 2px solid #474747; | |
background: #FFE9D8; | |
padding: 5px; | |
margin: 5px; | |
} | |
.array-field-list li { | |
list-style: circle; | |
margin-left: 20px; |
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
function DataTableCellUI(dataTableView, cell, rowIndex, cellIndex, td) { | |
this._dataTableView = dataTableView; | |
this._cell = cell; | |
this._rowIndex = rowIndex; | |
this._cellIndex = cellIndex; | |
this._td = td; | |
this._render(); | |
} |
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
body { | |
background-color: white; | |
color: #222; | |
font-family: "Book Antiqua", Palatino, "Palatino Linotype", Georgia, Times, "Times New Roman", serif; | |
line-height: 145%; | |
margin: 0; | |
padding: 0; | |
} | |
pre.programlisting { |
NewerOlder