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()); |
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
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 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
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
<?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 | |
*/ |
NewerOlder