Themes
- Phoenix
- Nexus
- Soda
(function (root) { | |
"use strict"; | |
var nativeToString = Object.prototype.toString, | |
callToString = function (v) { | |
return nativeToString.call(v) | |
.replace(/\[object\s{1}|\]/g, "") | |
.toLowerCase(); | |
}, |
// CommonJS | |
if (typeof exports !== "undefined") { | |
if (typeof module !== "undefined" && module.exports) { | |
exports = module.exports = betta; | |
} | |
// RequireJS | |
exports["\u00df"] = betta; | |
} else { | |
// Global method | |
root["\u00df"] = betta; |
requirejs.config({ | |
paths: { | |
'backbone' : '../lib/backbone/backbone', | |
'backbone.base' : '../lib/backbone/backbone.base', | |
'backbone.extensions' : '../lib/backbone/backbone.extensions', | |
'jquery' : '../lib/jquery/jquery', | |
'text' : '../lib/require/text', | |
'underscore' : '../lib/underscore/underscore', | |
'underscore.mixed' : '../lib/underscore/underscore.mixed', | |
'underscore.string' : '../lib/underscore/underscore.string' |
/* --------------------------------- | |
___ __ __ | |
\_ |__ _____/ |__/ |______ | |
| __ \_/ __ \ __\ __\__ \ | |
| \_\ \ ___/| | | | / __ \_ | |
|___ /\___ >__| |__| (____ / | |
\/ \/ \/ | |
ß("ßetta", "string"); | |
// => true |
var isso = (function(root){ | |
var value = undefined; | |
function isso(v){ | |
return (v)? new inner(v): ex; | |
} | |
function inner(v){ | |
this.value = v; | |
return this; |
var ß = (function(){ | |
function _(value) { | |
this.value = value; | |
} | |
_.prototype = { | |
is: function(){ | |
return new Object().toString.call(this.value).slice(8, -1).toLowerCase(); | |
} | |
} |
//http://stackoverflow.com/questions/9786508/javascript-atob-returning-string-contains-an-invalid-character/9786592#9786592 | |
function utf8_to_b64( str ) { | |
return window.btoa(unescape(encodeURIComponent( str ))); | |
} | |
function b64_to_utf8( str ) { | |
return decodeURIComponent(escape(window.atob( str.replace(/\s/g, '') ))); | |
} |
import java.util.ArrayList; | |
import java.util.Arrays; | |
public class selectsort { | |
/** | |
* | |
* Select Sort | |
* | |
* Ein Feld wird einmal vollständig durchlaufen. Dabei wird durch einfache Vergleiche das größte Element herausgesucht |
import java.io.*; | |
import java.util.Scanner; | |
import java.util.ArrayList; | |
public class Patienten { | |
public static ArrayList<patientItem> Data = new ArrayList<patientItem>(); | |
public static String basePath = new String("/home/inhji/patienten.db"); | |
public static String lim = new String("::"); | |
public static Scanner s = new Scanner(System.in); | |
public static int encryptKey = 2; |