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
charles.login = ease.$extend.plugin([$dom, $hash]); | |
charles.login.$ |
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
http://sahandsaba.com/nine-anti-patterns-every-programmer-should-be-aware-of-with-examples.html | |
https://en.wiktionary.org/wiki/bikeshedding | |
http://bikeshed.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
window.$config = function(){ | |
var Config = function(){}; | |
var selves = []; | |
Config.prototype = { | |
get $set(){ var self={}; selves.push(self); return self; }, | |
get $get(){ return mixin(selves); } | |
}; |
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(){ | |
"use strict"; | |
// framework | |
window.$config = function(){ | |
var Config = function(){}; |
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(){ | |
"use strict"; | |
// extend your own app object of a library $config | |
idea.configs = le.$configs(); | |
// this is how set a new value | |
idea.configs.$set.REST_API = "/author/rest/v2/"; | |
idea.configs.$set.SOCKET_API = "/socket/io/v39"; |
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
0904-237741 pani, stvrok o 1730 vedla narodne banky mi da tlacivo | |
k lekarovi potvrdit tlacivo o sposobilosti | |
0905-262783 riaditel zavolat ked budem mat zdravotne, zaplatit kurz 350 | |
absolbovat nejaky piatok cerveny kriz | |
sobotu/nedelu absolbovat teoriu |
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
kalabova | 3m 0 | |
stano esebe | 45s 49s |
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
!opener++ && console.log('getAvatarImg cache hit', url); | |
Source: http://forrst.com/posts/Shorthand_Javascript_Console_Log_Once-Jta |
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
@font-face { | |
font-family:"skolar-1"; | |
src:url(data:font/opentype;base64,d09GRgABAAAAASxsABIAAAACuqgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAEsUAAAABwAAAAcWgFV10dERUYAAOhkAAAAUAAAAHARSAqQR1BPUwAA6ewAAEJhAACVzHJjZwBHU1VCAADotAAAATYAAAIQzvIX0U9TLzIAAAIIAAAAWQAAAGDZRKQjY21hcAAAB3wAAAMuAAAEhquwo4VjdnQgAAAMhAAAADgAAAA4DNYCN2ZwZ20AAAqsAAABAgAAAXMGdZw3Z2FzcAAA6FgAAAAMAAAADAAHAAdnbHlmAAARkAAAzHkAAfXwaa6geGhlYWQAAAGUAAAANAAAADb12AlzaGhlYQAAAcgAAAAgAAAAJAeVBRtobXR4AAACZAAABRYAAAme+c0zb2xvY2EAAAy8AAAE0gAABNJ45PnMbWF4cAAAAegAAAAgAAAAIASCA2ZuYW1lAADeDAAAAZgAAALTXsXH7HBvc3QAAN+kAAAIsgAAEWx1QfXacHJlcAAAC7AAAADSAAABU+KtuA542mNgZGBgYGI4Yrz7U2Y8v81XBnnmF0ARhpOLH1XC6H8z/y1iOcxiBuRyANUCAQC6eQ+KeNpjYGRgYDH71wkkv/6b+d+U5TADUAQZMKUDAJwGBrgAAQAAAmgAjgAHAIcABQABAAAAAAAKAAACAAJPAAMAAXjaY2BmsmCcwMDKwMC0h6mLgYGhB0Iz3mUwYvjFzMDEwMbMwgwUZ3nAwPTfgWFBNQMUhIQoKDA4MCj8ZmF6+u8vUIEZY7kCA8N8sGQ2QzSQVGBgBgAyFxDWAAAAeNqNlm9oVmUYxq/nOe/GdP7Z1nKtyXZmrebU3OvMpqlLtylJjfZB1OYmbZgZRUqJIX0wCqI+WDRp5h9GVLDyQyZBERgmaUggGRlFIClZkn2IlRpSnn73s/PaelPqhYvrOed9zv08z |
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
# run mongodb | |
mkdir /root/mongodb | |
export LC_ALL=C | |
mongod --dbpath /root/mongodb --port 12345 | |
# create a new user | |
mongo | |
db.createUser('mongouser','mongopass'); | |
exit |