-
AST fun. Remove a function call from your bundle
posted in JavaScript on 2020-01-13 javascript ast bundle object property path callee javascript esprima node const type -
I'm working on a small library that has a logger. I'm bundling the app to a single file and I want to disable the logger for the production version. In this blog post we will see how I removed the
read morelogger.log
calls from my bundle using AST (abstract syntax tree).
-
Using Node.js to rename set of images
posted in Nodejs on 2014-01-22 file processed path glob files fs require -
Today I had to rename a bunch of image files to the same names, but in lower case. Here is how I did it.
read more
-
FlashDevelop scripting: open file by text selection
posted in ActionScript on 2011-03-20 file script projectpath system path text private static string plugincore -
FlashDevelop is one of the most preferred editors for the flash development. I've been also using it last few years. I found it helpful for writing JavaScript, HTML, CSS and PHP code as well. I just took a big project with over 1000 php files and it is a little bit difficult to open the right file, even by using the Project panel. That's why I decided to invest time in solving this task and found that I can write my own C# script and run it.
read more