Skip to content

Commit

Permalink
Created gh-pages branch via GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
heynemann committed Apr 9, 2012
0 parents commit 07ec1b1
Show file tree
Hide file tree
Showing 6 changed files with 519 additions and 0 deletions.
Binary file added images/checker.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
75 changes: 75 additions & 0 deletions index.html
@@ -0,0 +1,75 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>Libthumbor by heynemann</title>

<link rel="stylesheet" href="stylesheets/styles.css">
<link rel="stylesheet" href="stylesheets/pygment_trac.css">
<script src="javascripts/scale.fix.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">

<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div class="wrapper">
<header>
<h1>Libthumbor</h1>
<p>Python's extensions to thumbor. These are used to generate safe urls among others.</p>
<p class="view"><a href="https://github.com/heynemann/libthumbor">View the Project on GitHub <small>heynemann/libthumbor</small></a></p>
<ul>
<li><a href="https://github.com/heynemann/libthumbor/zipball/master">Download <strong>ZIP File</strong></a></li>
<li><a href="https://github.com/heynemann/libthumbor/tarball/master">Download <strong>TAR Ball</strong></a></li>
<li><a href="https://github.com/heynemann/libthumbor">View On <strong>GitHub</strong></a></li>
</ul>
</header>
<section>
<p>libthumbor allows easy usage of
<a href="http://github.com/globocom/thumbor">thumbor</a> in Python. Check the docs for django integration.</p>

<h2>Using it</h2>

<pre><code>from libthumbor import CryptoURL

crypto = CryptoURL(key='my-security-key')

encrypted_url = crypto.generate(
width=300,
height=200,
smart=True,
image_url='/path/to/my/image.jpg'
)
</code></pre>

<h2>Docs</h2>

<p>Check the wiki for more information on using libthumbor.</p>

<h2>Contributions</h2>

<h3>Bernardo Heynemann</h3>

<ul>
<li>Generic URL encryption</li>
</ul><h3>Rafael Caricio</h3>

<ul>
<li>Django Generic View and URL</li>
</ul><h3>Fábio Costa</h3>

<ul>
<li>Django Generic View and URL</li>
</ul>
</section>
</div>
<footer>
<p>Project maintained by <a href="https://github.com/heynemann">heynemann</a></p>
<p>Hosted on GitHub Pages &mdash; Theme by <a href="https://github.com/orderedlist">orderedlist</a></p>
</footer>
<!--[if !IE]><script>fixScale(document);</script><!--<![endif]-->

</body>
</html>
20 changes: 20 additions & 0 deletions javascripts/scale.fix.js
@@ -0,0 +1,20 @@
fixScale = function(doc) {

var addEvent = 'addEventListener',
type = 'gesturestart',
qsa = 'querySelectorAll',
scales = [1, 1],
meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : [];

function fix() {
meta.content = 'width=device-width,minimum-scale=' + scales[0] + ',maximum-scale=' + scales[1];
doc.removeEventListener(type, fix, true);
}

if ((meta = meta[meta.length - 1]) && addEvent in doc) {
fix();
scales = [.25, 1.6];
doc[addEvent](type, fix, true);
}

};
1 change: 1 addition & 0 deletions params.json
@@ -0,0 +1 @@
{"name":"Libthumbor","body":"libthumbor allows easy usage of\r\n[thumbor](http://github.com/globocom/thumbor) in Python. Check the docs for django integration.\r\n\r\n## Using it\r\n\r\n from libthumbor import CryptoURL\r\n\r\n crypto = CryptoURL(key='my-security-key')\r\n\r\n encrypted_url = crypto.generate(\r\n width=300,\r\n height=200,\r\n smart=True,\r\n image_url='/path/to/my/image.jpg'\r\n )\r\n\r\n## Docs\r\n\r\nCheck the wiki for more information on using libthumbor.\r\n\r\n## Contributions\r\n\r\n### Bernardo Heynemann\r\n\r\n* Generic URL encryption\r\n\r\n### Rafael Caricio\r\n\r\n* Django Generic View and URL\r\n\r\n### Fábio Costa\r\n\r\n* Django Generic View and URL","tagline":"Python's extensions to thumbor. These are used to generate safe urls among others.","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}
60 changes: 60 additions & 0 deletions stylesheets/pygment_trac.css
@@ -0,0 +1,60 @@
.highlight .hll { background-color: #49483e }
.highlight { background: #3A3C42; color: #f8f8f2 }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.highlight .o { color: #f92672 } /* Operator */
.highlight .p { color: #f8f8f2 } /* Punctuation */
.highlight .cm { color: #75715e } /* Comment.Multiline */
.highlight .cp { color: #75715e } /* Comment.Preproc */
.highlight .c1 { color: #75715e } /* Comment.Single */
.highlight .cs { color: #75715e } /* Comment.Special */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .kc { color: #66d9ef } /* Keyword.Constant */
.highlight .kd { color: #66d9ef } /* Keyword.Declaration */
.highlight .kn { color: #f92672 } /* Keyword.Namespace */
.highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
.highlight .kr { color: #66d9ef } /* Keyword.Reserved */
.highlight .kt { color: #66d9ef } /* Keyword.Type */
.highlight .ld { color: #e6db74 } /* Literal.Date */
.highlight .m { color: #ae81ff } /* Literal.Number */
.highlight .s { color: #e6db74 } /* Literal.String */
.highlight .na { color: #a6e22e } /* Name.Attribute */
.highlight .nb { color: #f8f8f2 } /* Name.Builtin */
.highlight .nc { color: #a6e22e } /* Name.Class */
.highlight .no { color: #66d9ef } /* Name.Constant */
.highlight .nd { color: #a6e22e } /* Name.Decorator */
.highlight .ni { color: #f8f8f2 } /* Name.Entity */
.highlight .ne { color: #a6e22e } /* Name.Exception */
.highlight .nf { color: #a6e22e } /* Name.Function */
.highlight .nl { color: #f8f8f2 } /* Name.Label */
.highlight .nn { color: #f8f8f2 } /* Name.Namespace */
.highlight .nx { color: #a6e22e } /* Name.Other */
.highlight .py { color: #f8f8f2 } /* Name.Property */
.highlight .nt { color: #f92672 } /* Name.Tag */
.highlight .nv { color: #f8f8f2 } /* Name.Variable */
.highlight .ow { color: #f92672 } /* Operator.Word */
.highlight .w { color: #f8f8f2 } /* Text.Whitespace */
.highlight .mf { color: #ae81ff } /* Literal.Number.Float */
.highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
.highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
.highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
.highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
.highlight .sc { color: #e6db74 } /* Literal.String.Char */
.highlight .sd { color: #e6db74 } /* Literal.String.Doc */
.highlight .s2 { color: #e6db74 } /* Literal.String.Double */
.highlight .se { color: #ae81ff } /* Literal.String.Escape */
.highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
.highlight .si { color: #e6db74 } /* Literal.String.Interpol */
.highlight .sx { color: #e6db74 } /* Literal.String.Other */
.highlight .sr { color: #e6db74 } /* Literal.String.Regex */
.highlight .s1 { color: #e6db74 } /* Literal.String.Single */
.highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
.highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
.highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
.highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
.highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
.highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */

0 comments on commit 07ec1b1

Please sign in to comment.