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
// Új Benchmark.js instance | |
var suite = new Benchmark.Suite(); | |
suite | |
// hozzáadjuk a VanillaJs querySelectorAll-os verziót | |
.add('Vanilla', function() { | |
var items = document.querySelectorAll('#container .item'); | |
for (var i = 0; i < items.length; i++) { | |
items[i].innetHTML = 'Item ' + (i + 1) + " v2"; | |
} |
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
node_modules | |
npm-debug.log |
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
(function(C) { | |
var addSite = function(url) { | |
}; | |
C.DialerController = function($scope) { | |
$scope.items = [ | |
{ id: 1, title: "Contacts", target: "https://www.google.com/contacts/" }, | |
{ id: 2, title: "Emails", target: "https://mail.google.com/" }, | |
{ id: 3, title: "Google+", target: "https://plus.google.com/" }, |
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
diff --git a/Rakefile b/Rakefile | |
index 471b227..06aa580 100644 | |
--- a/Rakefile | |
+++ b/Rakefile | |
@@ -25,7 +25,9 @@ posts_dir = "_posts" # directory for blog files | |
themes_dir = ".themes" # directory for blog files | |
new_post_ext = "markdown" # default new post file extension when using the new_post task | |
new_page_ext = "markdown" # default new page file extension when using the new_page task | |
-server_port = "4000" # port for preview server eg. localhost:4000 | |
+#server_port = "4000" # port for preview server eg. localhost:4000 |
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
# A Liquid tag for Jekyll sites that allows embedding Gists and showing code for non-JavaScript enabled browsers and readers. | |
# by: Brandon Tilly | |
# Source URL: https://gist.github.com/1027674 | |
# Post http://brandontilley.com/2011/01/31/gist-tag-for-jekyll.html | |
# | |
# Example usage: {% gist 1027674 gist_tag.rb %} //embeds a gist for this plugin | |
require 'cgi' | |
require 'digest/md5' | |
require 'net/https' |
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 App = { | |
controllers: {}, | |
configuration: { | |
domain: "s.l", | |
protocol: "http" | |
}, | |
utils: {} | |
}; | |
(function UrlUtils (app) { |
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 App = { | |
core: {}, | |
utils: {}, | |
modules: {} | |
}; |
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
/* ez csak mert jól néz ki */ | |
* { | |
-webkit-transition: -webkit-transform .1s ease-in-out; | |
-moz-transition: -moz-transform .1s ease-in-out; | |
-o-transition: -o-transform .1s ease-in-out; | |
transition: transform .1s ease-in-out; | |
} | |
/* Nem néz ki szépen, de legalább valahogyan :) */ | |
html, body { |
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
root@yitsushi:~# dd if=/dev/zero of=myfilesystem.1 bs=1M count=300 | |
300+0 records in | |
300+0 records out | |
314572800 bytes (315 MB) copied, 1.67623 s, 188 MB/s | |
root@yitsushi:~# dd if=/dev/zero of=myfilesystem.2 bs=1M count=300 | |
300+0 records in | |
300+0 records out | |
314572800 bytes (315 MB) copied, 1.40912 s, 223 MB/s | |
root@yitsushi:~# mke2fs -j myfilesystem.1 | |
mke2fs 1.42 (29-Nov-2011) |
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
diff --git a/core/server/models/post.js b/core/server/models/post.js | |
index b471f51..5e3c680 100644 | |
--- a/core/server/models/post.js | |
+++ b/core/server/models/post.js | |
@@ -44,13 +44,19 @@ Post = ghostBookshelf.Model.extend({ | |
saving: function (newPage, attr, options) { | |
/*jslint unparam:true*/ | |
- var self = this; | |
+ var self = this, |