I am fairly new to EmberJs and I needed to create a nice confirmation dialog when user clicks a delete button. I’ve came up with following solution. Use it or copy it as you wish (please let me know in comments) or propose me a better solution if you know one, I will be glad to …
Author Archives: David Votrubec
Sticky header menu with animation using Javascript
The problem I needed to create animated menu, which will stay always sticked to the top and will collapse or expand as user scroll How it should look Click the image for a live version – Wisephora.com What do you need to implement it? You will need a little bit Javascript and CSS. There are several …
Continue reading “Sticky header menu with animation using Javascript”
Debounced actions in EmberJs
I was developing EmberJS component based on input field. It’s main purpose was auto-save when user stops typing. That is a typing use-case for debounce and should be easy and straightforward. Right? Well, since I am new to Ember, it was not so easy for me. It was more like a riddle and it took …
Ohlédnutí za konferencí Wisephora 2016
Děkuji Topmonks za super konferenci. Udělala mi radost 🙂 Nosné myšlenky, které jsem si odnesl (Podle mých zápisků v notýsku, není to doslovný přepis, spíše zachycení poselství. Nebyl jsem na všech přednáškách, takže něco chybí… A něco mě třeba tolik nezaujalo 🙂 ) @steida – Člověk umře a Bůh se ho zeptá: “Tak co, jak bylo …
Introduction to ReactJS
Nice video about ReactJs from Facebook developers. Unfortunately the resolution is quite low.
Jak sehnat super práci
Tento článek je možná trochu předčasný, protože reálně ještě novou práci nemám. A tu starou už nemám 🙂 Čekám, jestli se rozeběhne jeden zahraniční projekt pod hlavičkou X-Team. Pokud ne, tak budu pracovat v jiné super firmě 🙂 Ale jak takovou super firmu sehnat? Jak najít práci, která bude zároveň kreativní, bude obsahovat nové výzvy, …
ES6 generators and Co.js explained
This is a very good explanatory talk. I wish I have seen it earlier, it could have saved me few restless evenings 🙂
My Bower/Gulp settings
This is my Gulp.js workflow settings based on examples shown in this PluralSight course (I really recommend you to watch it). I am using these gulp plugins: main-bower-files for creating list of js files to be injected gulp-inject for injecting js/css files into index.html file When you install some library via bower you should do so with the –save …
Recover deleted files by VisualStudio
Image this: You are working on a new functionality. You open up your IDE and start hacking away. You create several new files, invest your time and effort and then you accidentally delete the wrong file. No problem, that’s what we have Git for, right? But you forgot to add that now deleted file to …
Difference between async loops in C#
What do you think will happen when you run these 2 snippets of code? They both looks quite similar at the first sight, don’t they. This one var results = new List<SomeClass>(); mylist.ForEach(async item => { var result = await SomeDbQueryAsync(item); results.Add(result); }); versus this one var results = new List<SomeClass>(); foreach(var item in mylist) …