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 com.petebevin.markdown.MarkdownProcessor | |
| import org.xhtmlrenderer.pdf.ITextRenderer | |
| import org.ccil.cowan.tagsoup.Parser | |
| import org.apache.xalan.xsltc.trax.SAX2DOM | |
| import org.xml.sax.InputSource | |
| buildscript{ | |
| repositories { | |
| mavenCentral() // i.e. http://repo1.maven.org/maven2 | |
| maven { url "https://oss.sonatype.org/content/groups/scala-tools" } |
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
| # add something like this to config.ru | |
| # see https://github.com/kzk/unicorn-worker-killer | |
| if Integer(ENV['UNICORN_KILLER'] || 0) != 0 | |
| require 'unicorn/worker_killer' | |
| # Max memory size (RSS) per worker | |
| use Unicorn::WorkerKiller::Oom, (350*(1024**2)), (400*(1024**2)), 30, true | |
| end |
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 com.petebevin.markdown.MarkdownProcessor | |
| import org.xhtmlrenderer.pdf.ITextRenderer | |
| import org.ccil.cowan.tagsoup.Parser | |
| import org.apache.xalan.xsltc.trax.SAX2DOM | |
| import org.xml.sax.InputSource | |
| buildscript{ | |
| repositories { | |
| mavenCentral() | |
| mavenRepo urls: "http://scala-tools.org/repo-releases" |
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
| #!/bin/bash | |
| # | |
| # Converts LDIF data to CSV. | |
| # Doesn't handle comments very well. Use -LLL with ldapsearch to remove them. | |
| # | |
| # 2010-03-07 | |
| # dsimmons@squiz.co.uk | |
| # | |
| # Show usage if we don't have the right params |