Batchography: Batch script to automatically recompile or run a script interpreter

Hello,

In a previous blog post, I showed you how to write a polyglot Batch file that is both a Batch script and a C++ source file. When the Batch file is executed, it compiles itself (as C++).  In this blog post I am going to show you how to write a Batch file script that polls the file system periodically to see if a given input file is changed and if so, it will invoke the compiler or interpreter of your choice.

This concept is similar to what the Compiler Explorer does actually.

I am going to write a small script that keeps running your Python script automatically in a separate console window the moment you save the script in your editor. Check the script in action:

Continue reading “Batchography: Batch script to automatically recompile or run a script interpreter”

Overwatch: Lucio-Oh’s

If you are a fan of Blizzard Entertainment’s OverWatch game and love cereals then you might be pleased to know that now you can buy OverWatch Lucio-Oh’s and have them for breakfast!

Additionally, up until the end of 2019, you can download the Synaesthesia Auditiva free album:

Here’s one sound track for you called “05 Sonhos Ômnicos (Extended Mix)”, enjoy:

You might also like:

 

Evernote: 7 easy steps to editing an Evernote note created by another program

If you used Evernote before with 3rd-party apps such as Livescribe’s SmartPens then you might have encountered the message:

This note was created in another application

To edit this note, open it in the app where it was created.

And because of that it is not possible to edit the note directly. Continue reading “Evernote: 7 easy steps to editing an Evernote note created by another program”

Evernote: Importing multiple (batch import) exported (ENEX) notes

If you used Evernote‘s graphical interface, you might have noticed that you can only import a single note at once. In this article I am going to show you how to import multiple notes at once into Evernote.

Evernote ships with a command line tool that is suitable for scripting (ENScript). By default, on Windows, it is installed in: C:\Program Files (x86)\Evernote\Evernote\ENScript.exe

Open the command prompt and type: Continue reading “Evernote: Importing multiple (batch import) exported (ENEX) notes”

Compiler Explorer – An online tool to test compilers

The compiler explorer is a very handy tool for testing compiler behaviors and the generated assembly code online. It was created by Matt Godbolt (and others).

An instance of the compiler explorer is hosted here https://godbolt.org/.

You can also host it on your own if you wish. Grab its sources from GitHub.

You might also like: