- embeddable http stack built on Akka actors
- Just an HTTP integration layer, not for building full web apps
- Server & client side
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
// BASELINE INFORMATION | |
if (level == PageIteratorLevel::RIL_TEXTLINE) { | |
int x1, y1, x2, y2; | |
it->Baseline(level, &x1, &y1, &x2, &y2); | |
int p0; | |
float p1; | |
p0 = bottom - y1; | |
p1 = ((float) (y1 - y2)) / (x2 - x1); | |
int f_size; |
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
Index: ccmain/pageiterator.cpp | |
=================================================================== | |
--- ccmain/pageiterator.cpp (Revision 1058) | |
+++ ccmain/pageiterator.cpp (Arbeitskopie) | |
@@ -288,9 +288,9 @@ | |
const int pix_height = pixGetHeight(tesseract_->pix_binary()); | |
const int pix_width = pixGetWidth(tesseract_->pix_binary()); | |
*left = ClipToRange(static_cast<int>(box.left()), 0, pix_width); | |
- *top = ClipToRange(pix_height - box.top(), 0, pix_height); | |
+ *top = ClipToRange(pix_height - static_cast<int>(box.top()), 0, pix_height); |
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
cp: cannot stat `tex/*.sty': No such file or directory | |
cp: cannot stat `tex/*.cfg': No such file or directory | |
cp: cannot stat `tex/*.fd': No such file or directory | |
mktexlsr: Updating /cygdrive/e/Program Files/MiKTeX/ls-R... | |
mktexlsr: Done. |
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
<?php | |
/** | |
* This file grabs requested html files. | |
* | |
* @author Paul Vorbach <vorbach@genitis.org> | |
* @license http://opensource.org/licenses/mit-license.php MIT License | |
* @version 0.1.0 | |
* @package org.genitis.yuki | |
*/ |
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
set nocompatible | |
syntax on | |
filetype plugin indent on | |
set autochdir | |
set backspace=indent,eol,start | |
set clipboard+=unnamed | |
set backupdir=~/.vim/backup | |
set directory=~/.vim/tmp | |
set fileformats=unix |
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
#!/bin/bash | |
# Sichert die Dateien auf host | |
DIR="tmp" | |
if [ -d $DIR ]; then | |
cd $DIR | |
else | |
mkdir $DIR | |
cd $DIR |
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 n = 55.304138, | |
e = 15.380859, | |
s = 47.040182, | |
w = 4.394531; | |
var width = e - w, | |
height = n - s; | |
console.log("Width: " + width); | |
console.log("Height: " + height); |
This file has been truncated, but you can view the full file.
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 file has been generated by The Interactive Disassembler (IDA) | | |
// | Copyright (c) 2011 Hex-Rays, <support@hex-rays.com> | | |
// | License info: 11-1111-1111-11 | | |
// | Bernd Zerlegt, The Internet | | |
// +-------------------------------------------------------------------------+ | |
// | |
// | |
// This file should be used in the following way: |
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
setInterval(function () { | |
console.log(getTime(new Date())); | |
}, 1000); | |
function pad(n) { | |
return n < 10 ? '0'+n : n; | |
} | |
function getTime(dt) { | |
return pad(dt.getHours())+':'+pad(dt.getMinutes())+':'+pad(dt.getSeconds()); |
OlderNewer