Tag Archives: 2013

See this tutorial about python and image filters .

You can find one tutorial about how to make and use image filters here.

Posted in All, Programming, Python. Tagged with , , , .

Using Codenvy with Google App Engine – testing with default python project .

Google App Engine lets you run web applications on Google’s infrastructure.
Login into your Google App Engine. If don’t have one then must activate it from here.
Google will ask you Project name and project ID … see the next picture.
Go to Codenvy website and make a new project ( I let the default name: untitled).
Select Python and Google App Engine to make your project.
The template project it’s a simple AJAX chat , see the next image:
In the next window type the project ID from Google App Engine. I my case is : codenvy-python-001
Select all settings like in the next image …
The codenvy will try to deal with google , so press Accept button from the next window.
I got one error … this can be fix after so press ok button and go to the next step…
Now you can run the application. Go to main menu and press Run -> Run Application.
In the bottom of the Codenvy IDE you can see one window named Output.
In this window will see one link create by running application.
Click on this link and in your browser will see running the default python project like in the next image.
In the next image you can see the tree files project and you can read and deal with this source code.
This is all for today. Have a great day.

Posted in All, Google App Engine, Programming, Python, web. Tagged with , , , , .

Rename multiple files by cutting first part , the end or in middle of name under Linux – part 001.

You can see the images I make with Screenshot application and is named like :

When you want to rename multiple files recursively is very good to know how is finally format name.

It’s tree way to deal with this issue.

First you can cut the first part , the end or in middle of name.

Let cut first part in the named files. In this example I will remove : Screenshot – 10272013 – .

The next command will cut first 24 letters from the name of files.

Let’s see the output of this command:

Now I will cut the last 4 letters from the names of the files:

… and output will be :

Now you don’t use in command this:

… because you dont have now the .png in your names of files.

When you want to rename file in middle of name the you need something new.

Using the sed command to solve this issue:

You can see I change somethig from :

in this :

“$(echo $my_file | sed ‘s/ AM/ PM/g’)”

This will change the second from args of mv command into you want.

In this case will replace ‘ AM’ with ‘ PM’…

Sed also can change the special characters… Let’s remove the colon : with nothing.

… and the result of this command:

Posted in All, Bash, Commands, Linux. Tagged with , , , , .

Create android application using Codenvy and run it with Manymo – Android emulator.

Today I will show you how to make your android application using cloud and online emulator.

The Codenvy website it’s the most used cloud IDE for developers and corporate teams so this I will use it in this tutorial.

I used Codenvy -Version: 2.8.0 to make this tutorial and Manymo – Android emulator.

Also I used Manymo to run the android application.

First you need to make one account of each website: Codenvy and Manymo.

First login into Codenvy website and follow this steps:

This is the first window you can see it. Type your name project in this window.


In this window will need to press the Android button to make your android application.


Select PaaS – platform as a service (in this case is only Manymo) and press Finish button.

Don’t change source code or any files… we will run this as default android appplication.


The project is make with all files to create one android application.

Login with your Manymo account and go to Account -> Client Applications and will see your authorization token.Will need this token to put into Codenvy cloud IDE settings.

Go to Codenvy IDE website and press Run to run the application.

The Codenvy will ask you the token from Manymo website


Go to Manymo. If you see this image then all settings is ready to change and create your android application.


This is default android application make by Codenvy.

Posted in All, Android, Programming, web. Tagged with , , , .

fasm about format ELF executable 3 – part 002 .

If you read fasm-about-format-elf-executable-3 tutorial then you will have some errors.
It’s just a simple example to show you how to deal with .inc files in your project.
You need to have func.inc and date.inc files to run fasm with proj.asm.
This tow files will come with date and functions for your project.
First the proj.asm file :

The next two .inc files  …first date.inc come with :

and the func.inc file come with :

And the result is:

Posted in All, Assembler, Linux. Tagged with , , , .