# run
-
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-02-23
Webpack/TypeScript/React starter kit as of 2020
I just started using TypeScript. I did couple of React projects and noticed a pattern in the setup. I decided to export that to a starter kit π beginning. It is based on Webpack with Babel and TypeScript loader.
-
Architecture _ 2020-01-14
Running Prettier for specific Git branch
I'm working on a project in my own git branch. At the end of my working day I want to do one thing - run Prettier so my code is nicely formatted before I submit the PR for code review. Of course I know about the VSCode Prettier extension but right now my editor is kinda broken and I don't want to mess with it. I'm still on my branch and I run Prettier from the terminal. All good but the amount of changes that happened is so big that my 50+ loc updates are like a needle in a haystack. It is like that because apparently there are already malformatted files in the project. It is definitely not possible to understand what I did because of so much noise. So ... I want to run Prettier but only on the files that I touched in that particular branch.
-
JavaScript _ 2020-01-12
Hopa - zero config CLI that runs JavaScript and TypeScript
Yesterday was one of those days. I stumbled a task and wanted to find the right tool for it. That same task is on my way at least twice a week and I always refuse to optimize it. Because it was a weekend I decided to spend some time and research a proper tool for the job. Well, I find nothing that suites my need. I time-boxed a hour and said F.ck it!. I will code it myself. That's how Hopa was born - a zero config CLI that runs JavaScript and TypeScript. Transpiles, bundles, watches and executes code.
-
JavaScript _ 2019-07-03
React: rendering vs running your components
Recently I stumbled upon on an interesting bug which reminded me what is actually happening with my components when React is rendering them.
-
JavaScript _ 2018-05-07
Implementing an async queue in 23 lines of code
Recently we had an interesting task at work. The user makes a selection of items and clicks a button. Then for every selected item we have to make a request to our API. The thing is that the user may click as many items as he/she wants. In order to speed up the process we decided to handle four requests in parallel and once some of them is finished we pull the next one. If you ask why exactly four requests in parallel read this paper.
-
Nodejs _ 2016-03-22
Debugging with Node
Node has a wonderful debugger. As a front-end developer Iβm mainly using Chromeβs tools but sometimes I run things in Node environment and this native feature comes handy. In this article weβll see how to debug in the terminal using Nodeβs debugger.
-
Nodejs _ 2015-01-07
Fun playing with npm, dependencies and postinstall script
I like npm and the fact that I can install tons of stuff. Itβs great piece of software and helps me solve problems everyday. Yesterday I had to use a
postinstallscript and hit a problem. -
Nodejs _ 2014-06-04
Sorry, Chrome killed the terminal
That's right. I'm not using the terminal anymore. Instead of that I'm using Chrome. Yes, the Google's browser. There is an extension called Yez! that connects to a Node.js module via web socket. It executes the shell commands and returns the result. And even works under Windows.
-
Nodejs _ 2014-04-21
Book review: Getting Started with Grunt: The JavaScript Task Runner
I just finishing reading Getting Started with Grunt: The JavaScript Task Runner. The same book that we (I and Packt publishing) run a contest for. You could still joint it here and win a free copy.
-
JavaScript _ 2014-04-15
Win Free Copies of the new book - Getting Started with Grunt
Hi guys, you would be pleased to know that I have teamed up with Packt Publishing to organize a Giveaway of the new book - Getting Started with Grunt: The JavaScript Task Runner. And three lucky winners stand a chance to win 3 digital copies of this book. Keep reading to find out how you can be one of the Lucky Winners.
-
Nodejs _ 2014-01-14
SASS and Gruntjs (Node.js setting up)
-
JavaScript _ 2013-07-10
JavaScript: sequencing function calls #2
I created a simple JavaScript library for running functions in a sequence. The story behind this is published here. Today I made few interesting changes which deserve a new blog post.
-
JavaScript _ 2013-07-09
JavaScript: sequencing function calls
While I'm working on Auxilio I end up in a sitatuation where I have to call few javascript functions in a sequence. It's an interesting how this could be solved and I'll be happy if you share your opinion for such problem.
-
JavaScript _ 2013-06-18
Chrome extension: debugging dev tools tab or how to make console.log
It's really interesting to work on an extension for Chrome. However, sometimes it's a little bit difficult to debug. Especially when you work on a dev tools add-on (i.e. a new tab).
-
JavaScript _ 2013-06-14
Chrome Extension: run JavaScript in the context of the current page
I'm currently working on a Google Chrome extension and I need to run a JavaScript in the context of the current page. The obvious choice for such a logic is the content script. However it is not so easy, because the content script has an access only to the DOM of the current page. It can't run global functions or use global objects.
-
ActionScript _ 2013-06-07
The Flash Builder debugger failed to connect to the running application.
I really don't like FlashBuilder. Mainly because I'm losing a lot of time just to setup the project. Usually when I receive the files I need around 10 hours just to compile successfully. The reasons for those problems are different Flex SDK, different directories' tree, wrong paths, missing libraries or fonts. Today I encounter a brand new type of problem.
-
Nodejs _ 2013-03-15
Catch uncaught Exception in Node.JS
I'm working on a very simple tool which compiles some stuff. The big problem is that if I write something wrong I can't catch the exception from the compiler and the nodejs's process exists. Then I have to go back to the console and run the app again. That's of course not acceptable. Thankfully there is a workaround.
-
Other _ 2010-03-05
SVET - the big adventure (fantasy flash RPG game)
My latest flash game. It's a fantasy RPG jump'n'run game. Check out here. -
ActionScript _ 2010-02-26
Embed fonts in all the text fields of your flash document
Very helpful solution that will save you maybe several hours. I used JSFL language and very short script to parse all the items in the library. Then for every item just embed the characters that I wanted. Get the script from here http://www.outset.ws/files/jsfl/embedCharactersInTextField.jsfl. In flash: Commangs -> Run command (or simply Ctrl+R) and point the script file.You can download the jsfl documentation from here http://livedocs.adobe.com/flash/9.0/main/flash_cs3_extending.pdf.
-
Inspiration _ 2008-08-22
Creative navigation by Hellomonday.com