# tag
-
JavaScript _ 2021-02-01
Miss Piggy - a test runner for Puppeteer
These days I did (again) a bunch of changes in Google tag manager. This time however was more of a refactoring exercise. So, I had to prove that the tags that were placed before the refactoring exist after the refactoring. And what we programmers do in such cases - we write tests.
-
JavaScript _ 2020-09-13
What the heck is Google Tag Manager and what it has to do with Google Analytics
Just recently I had to do changes in Google Tag Manager at work. It's interesting how I keep forgetting how everything works. So I finally decided to sit down and write an article about these things. If nothing else I will have a good memory snapshot to remind me what is what.
-
JavaScript _ 2020-03-30
Create your own Covid-19 data tracker
I'm continuing to experiment with React and TypeScript. The weekend-long project this time was a Covid-19 data tracker. In this blog post I will share how I built c19stats.now.sh. I exposed the data as a public API at the same URL. I guess you, as many other people, follow the situation so you may want to glue your fingers on the keyboard and create something useful around the data. I got lots of fun playing with the diagrams.
-
JavaScript _ 2016-11-27
React and third-party libraries
React is probably one of the best choices for building UI. Good design, support and community. However, there are cases where we want to use an external service or we want to integrate something completely different. We all know that React works heavily with the actual DOM and basically controls what’s rendered on the screen. That’s why integrating of third-party components could be tricky. In this article we will see how to mix React and jQuery’s UI plugin and do it safely.
-
JavaScript _ 2016-07-03
Let's write, not generate code. Thoughts about naming stuff.
I’m writing code for approximately ten years now and at some point the word “writing” became more important then “code”. I found out that it is easy to generate code but it is difficult to write code. Writing means creating something meaningful. Something that other human beings will read. The code is indeed sent to machines and they do understand ugly code. Not the same for humans though. An important part of our job is to make sure that our code is clear for other teammates.
-
Nodejs _ 2014-04-22
No back-end blog solution with Node.js and Markdown
Before a couple of weeks I published Techy. It's a flat CMS based on Node.js and Markdown. I made it because I wanted to write my articles in Markdown format and avoid the annoying publishing workflow which I'm using now. I feel that it's not very clear how Techy works and decided to create a simple blog illustrating the processes.
-
ActionScript _ 2011-08-11
AS3: DataGrid with custom ItemRenderers
One of the big advantages of Flex framework is that you can use a lot of ready components. The DataGrid is really helpful. Especially when you want to list big amount of data and provide ability to edit the information directly in the grid. These days I finished a test task which uses DataGrid and decided to share my experience.
-
ActionScript _ 2011-01-27
AS3: Using custom metadata in flex (part 2)
Because of the huge interest in AS3: Using Custom Metadata in Flex (part 1) I decided to dig a little bit deeper in this topic. You already know how to get information about your custom metadata, so in this article I'll show you how to use it.
-
ActionScript _ 2010-12-28
AS3: Using custom Metadata in Flex (part 1)
I'm sure that you've already used metadata tags in your flex applications. There are several reserved keywords like [Bindable], [Embed], [Event] and so on (the full list is available here). The function of the metadata tags is to provide additional information to the flex compiler. For example information about embeding assets, dispatching events. This article doesn't explain how to use the default flex tags (you can learn that from here). It shows you how to create your own metadata tags and how to use them.
-
PHP _ 2010-11-24
PHP: find links in a string and replace them with actual html link tags
Currently I'm working on an application that gets data from Twitter. The tweet's string contains links that have to be transformed into html link tags. Here is a simple PHP function that helped me.
-
PHP _ 2010-11-12
Remove html tags from a string wtih PHP
Sometimes you don't need any formatting. That's just a nice way to remove all the html tags.
-
ActionScript _ 2010-09-16
How to create realistic Earth globe in Flash (AS3, Papervision3D)
Papervision3D is a perfect tool for the purpose. As you will see such a task needs only few lines of code. To make the example a little bit more interesting we will add additional code to control the rotation of the globe by the mouse.
-
ActionScript _ 2010-06-30
Remove tags from a string in AS3
A couple of months ago I integrated a nice WYSIWYG editor written in Flex in my CMS. It worked fine, till yesterday I needed to add more features like text formatting and font color changing. As you know the Flex RichTextEditor component adds some additional tags that I definitely don't want to send to the database. So I wrote a simple function to remove these tags.
-
ActionScript _ 2010-02-26
Remove the yellow border in flash/flex
The solution was so easy: stage.stageFocusRect = false;Thanks to Rockabit for the post here.
-
ActionScript _ 2009-09-09
Flex DataGrid vertical scrolling bug