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
var TEXT = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec accumsan mattis nibh, sit amet ultricies enim congue a. Pellentesque congue libero sit amet velit pulvinar feugiat. Etiam sagittis erat vel est lacinia, ut bibendum quam mattis. Vestibulum lacinia ante sem, sit amet convallis lorem elementum sit amet. Phasellus a fringilla orci, eget placerat sem. Curabitur tempus sed nibh a iaculis. Fusce ut sapien eu massa euismod elementum. Etiam nisi magna, tempus non dictum eu, feugiat eu lacus. Vivamus tempor lacus eget nisl vulputate dignissim. Donec ut tincidunt ipsum, ac convallis neque." | |
var soundex = function (s) { | |
var a = s.toLowerCase().split('') | |
f = a.shift(), | |
r = '', | |
codes = { | |
a: '', e: '', i: '', o: '', u: '', | |
b: 1, f: 1, p: 1, v: 1, |
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
Verifying myself: My Bitcoin username is +androgeek. https://onename.io/androgeek |
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
Verifying myself: My Bitcoin username is +yitsushi. https://onename.io/yitsushi |
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
<!DOCTYPE HTML> | |
<html lang="hu"> | |
<head> | |
<meta charset="UTF-8"> | |
<link rel="stylesheet" href="app.css"> | |
<title>CSS-ben :target?</title> | |
</head> | |
<body> | |
<nav> | |
<a href='#a1'>Hogyan?</a> |
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
<?php | |
$order_id = 1; | |
$item = array('partnumber' => 1, 'name' => 1, 'quantity' => 1, 'id' => 1); | |
$quantity = array('1' => 1); | |
function generateUrl($a, $b, $c) { | |
return "jahskdjahskjdhasjkhdkjashdjkhashdjkash"; | |
} |
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
<?php | |
function wsplitAlt($value, $limit) | |
{ | |
$limited = substr($value, 0, $limit); | |
$nextSpaceValue = substr($value, 0, strpos($value, ' ', strrpos($limited, ' ') + 1)); | |
if ($limited === $nextSpaceValue) { | |
return $limited; | |
} |
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
var EventSystem = (function() { | |
var self = this; | |
self.queue = {}; | |
return { | |
publish: function (event, data) { | |
var queue = self.queue[event]; | |
if (typeof queue === 'undefined') { |
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
var Application = (function() { | |
var modules = {}; | |
return { | |
delegate: function(name, callback) { | |
modules[name] = callback; | |
}, | |
init: function() { | |
for (var name in modules) { | |
if (modules.hasOwnProperty(name)) { | |
modules[name](); |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Dropbox Datastore</title> | |
<style> | |
.user-info { | |
border-bottom: 1px solid #aaa; | |
padding: 5px 10px; | |
} |
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
app.controllers.Link = function ($scope, $http) { | |
// Ebben vannak a linkek, amikről tudunk. | |
$scope.links = []; | |
// Hozzáadunk egy függvényt a scope-hoz, ami | |
// akkor fog meghívódni, amikor megnyomjuk az | |
// add gombot. | |
$scope.addLink = function addLink () { | |
// Azonnal el is indítunk egy POST kérést | |
// a szerver felé. A szerver egy link nevű |