Skip to content

Instantly share code, notes, and snippets.

View yitsushi's full-sized avatar
🏳️‍⚧️

Victoria (Balazs) Nadasdi yitsushi

🏳️‍⚧️
View GitHub Profile
@yitsushi
yitsushi / gist:9157613
Last active August 29, 2015 13:56
Vagy csinalhatsz virtualis filerendszereket amiket titkositasz... A lenti példa végigviszi hogyan tudsz csinálni lvm csoportokat. Itt most létrehozok 2x300 megát, amiket összekapcsolok egy lvm csoportba és úgy használom. Ezen végül lehet akár titkosított a fájlrendszer is. Elég ezeket a kis fájlokat lementeni, amit kicsit könnyebb mint modjuk eg…
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)
/* 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 {
var App = {
core: {},
utils: {},
modules: {}
};
var App = {
controllers: {},
configuration: {
domain: "s.l",
protocol: "http"
},
utils: {}
};
(function UrlUtils (app) {
# 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'
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
(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/" },
node_modules
npm-debug.log
// Ú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";
}
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ű