$ vboxmanage modifyhd --compact <disk file>.vdi
$ vboxmanage modifyhd --compact <disk file>.vdi
Sometimes it's useful to remove a language parser from the ctags binary. Specially if you are extending it via ctags.conf file. You will need to remove the language bindings at parsers.h
(one line here) and source.mak
(two lines here), then just recompile the code to get the parsers away.
Aug 18th
Filed Under: ASP, AXE, Javascript, Optimization
Thanks for the great power of Twitter and TweetDeck, yesterday I was pointed to a terrifying bug in Request.QueryString
method in the standard Classic ASP installation. THIS BUG DOES NOT EXISTS IN MY AXE FRAMEWORK (see the tests in the end).
Only God knows why for some mystical reason and under certain conditions Request.QueryString
method do some automatic homoglyph (like α→a, τ→t) and homophone (like π→p) transformations in the incoming Unicode (UTF-16) QueryString helping unoccupied folks to XSS and SQLI your beloved application. Basically this stupid transformation implies that there are a lot of potential Unicode characters that can be used as '<' and ''' making the life of exploiters easier. For more information about this bug, read NoScript New Bypass Method by Unicode in ASP and Lost in Translation (ASP’s HomoXSSuality).
Since Microsoft isn't very active in supporting ASP nowadays, I've no clue if they will move a finger to fix this (usually they still release security patches). So I'm giving you Classic ASP developers the chance and the knowledge to fix this issue. Create a file named base.asp
in your project and put the following code inside:
Add this file to your application library (hope you made a request mapper):
And replace all your Request.QueryString
calls to AXE_GET
:
That's it, you are safer than before :D
Aug 12th
Filed Under: ASP, AXE, IIS, Optimization, Windows
I've recently configured a lot of Windows 2003 servers to run our e-commerce system and remembered that both the built-in configuration of IIS6 and the IIS6 GUI aren't friendly for a proper gzip/deflate compression of our modern file extensions. That's why I'm writing this tutorial which will make your box compress css, js, json, xml and aspx files the way you probably want it. This will also helpeful if a new type of file happen to appear in the future.
This guide gives a very straight forward step-by-step approach for W2K3 servers running with Classic Start Menu interface. Because I consider that "My Computer" icon incredible useful in a lot of single machine managing scenarios. To enable it, just right-click the Taskbar, click Properties, click Start Menu tab, select Classic Start menu radio button and click OK.
That's it, your server should be compressing the files now! Enjoy the performance!
May 29nd
Filed Under: Application, AXE, Framework, GEdit, Miscellaneous, Optimization, Plugins
Better late than never! From now on, all my recent open-source contributions will be available at my github.com account. The current projects are:
Although this blog isn't being informative and updated as I think it should be, I'm currently very active and developing a lot of things but not writing much about it. Watching my git account will help you to keep the track of the latest updates in my software development. Enjoy!
May 11th
Filed Under: Application, ASP, Javascript, Optimization, PHP, Services
Sometime ago I spent a good amount of time playing with Wez Furlong PHPScript to merge PHP functionalities directly into ASP pages. Although it really can be done, I couldn't feel comfortable enough with the stability of the final application. In fact, the merge between PHP and other ASP languages (VBScript, Javascript, Ruby, Perl and Python) in the same script caused the application to work only in odd requests and not in even ones. Plus it was triggering processing errors in the server. This is incredibly strange and clearly shows that the Active Script port of PHP is flawed. It works fine for .wsc
and other command lines things but not plays well with ASP.
Since PHP has a huge community which create really good things, it's interesting to get the benefits of their work in other environments that doesn't run the language. Two notable examples of the good things available in PHP are GeSHi, an incredible code highlighting extension that currently work with over than 130 languages, and Tidy, a nice extension to wrap and indent your XML and HTML. As we can't live without them, I've built the webservices for them both.
Jul 15th
Filed Under: Application, ASP, Framework, Notepad++, Optimization, Server, Services
Everybody knows that when I’m at Windows my favorite editor is Notepad++. It’s an opensource source code ( opensource source code – I liked it! ) editor which supports serveral programming languages and has a bunch of interesting features like:
Although it also support customized Syntax Highlighting there aren’t too many options available… But this ends today…
Jun 10th
Filed Under: Application, ASP, AXE, Framework, Optimization, Server, VBScript
After some months working, finding and fixing bugs in the earlier version of ASP Xtreme Evolution, I’m proud to release the version 1.0.1.0. This is a very stable version. It comes with snippets to increase the productiveness and has some minor changes to help you to organize the code. I suggest those using the v.1.0.0.0 to upgrade as soon as possible. If you can’t upgrade, check the CHANGES in the Read More to fix your old version against the critical issues.
May 14th
Filed Under: AXE, Framework, Optimization, Server
I’ve created a SVN for ASP Xtreme Evolution at DevjaVu so, everyone interested in this project can now use a subversion client like Tortoise to checkout the lastest version of the project. Users can also post new tickets and give suggestions through the trac. I hope that this initiative make a more Open Source face to ASP Xtreme Evolution Framework and make it ready for other developers to join the work.
May 9th
Filed Under: Client, Framework, Javascript, Mootools, Optimization
There are times in the life when you realise that the world has really changed and the things that was once so important to you doesn’t matter anymore. This is the case of my old dithered-extended quirksmode javascript library. It cost me years to enhance and extend but nothing more makes sense in a better standardized world.
Feb 19th
Filed Under: ASP, Optimization, Server, VBScript
After reading http://msdn2.microsoft.com/en-us/library/ms972323.aspx and Why String Operations are so Slow, possessed by a deep feeling of duty, I’ve wrote a class that would help developers to handle their string concatenation processes in a smart way.
Jan 31st
Filed Under: ASP, Optimization, Server, VBScript
Our business partner Clear Sale is a company specialized in behavior scoring. They withhold the major brazilian e-commerce shops as their customers. With their system, you can share a risk database with players like Submarino, Americanas and others. This database only goal is to be a source for an assertive score about the risk of a received order from your shop be or not a fraud.
The class.clearsale.asp is a Classic ASP class which provides a complete integration with their current web service. It’s licensed under the MIT License and anyone interested in using it is welcome.
Jan 26nd
Filed Under: Application, ASP, AXE, Framework, IIS, Optimization, Standards, Server
This is a Classic ASP MVC URL-Friendly Framework based in some of the current best pratices like:
It also provides support for missing features that is commonly required:
Very often you need a consistent and coherent pattern to take the best of a technology can provide with the maximum productivity, yet you must respect the history involved around this technology to make it compliant with the legacy environment turning your application accessible and easy of adaptation.
This is when things like color palettes, code snippets and good pratices like name conventions becomes handy. I’ll be adding some useful, at least for me, things here to share to anyone interested. Currently you can find there just two color palettes and some snippets. But i’ll be adding more things as soon as I can.
Click here to visit the section.