What is Circle CI? – For Beginners

Today I learned about a new software, is about Circle CI, that is a platform to “give every developer state-of-the-art automated testing and continuous integration tools”

This platform could connect with your Github account.

  1. You need to create a repository from your Github

2. Check the repository in CircleCI

3. Check the projects in Circle CI

4. Commit in Github

5. You can view the html file

6. And this is how appear

You will find my code in my Github Repository.

Advertisements

How to use GTK with Javascript

Today in this post, I will show how to program in Javascript(GJS) with GTK

Is very important to read this website for more information about the project GJS

First, you need to create a file .js, next the code that start the document always  is :

#!/usr/bin/gjs

This is very important because is the standardized form to write the first line.

Then you can write all the code respecting the syntaxis about Javascript

For example:

Labeles, Butoons, Grid, etc

You can find more in this website: 

This is my first code:

You can find more examples in my Github Repository here

How to program in C in line commands – Linux

In this post, I will show you how to program in C, without any IDE

FIrst, we have to create a .c file, include all the libraries ant he write the code, like this

 

 

 

Then, to compile the code, you need to write this

FInally, the code is execute!

I will explain the 3 lines code

  1. First with “gcc -c” is for compile all the code, if there’re error will show in the terminal
  2. Second,  with “-o .exe” is for to create a file object and the file executable
  3. Third, we goning to run the file executable with “./”

You can find more excercise in my Github Repository here

Create a Shop Cart with C

In this post, I will show you how to create a Shoping Cart with C, using Stuctures, pointers and procedures and functions.

We have 2 Structures:  “Product” and “Bill” here stay all the atributtes about Products and Bills, like id, name, price, qty, etc

Also we have the procedures and functions that will be implemented for the functionalities of Shoping Cart

You can find the code in Github repository here

A Shoping cart with C

  1. To Compile

gcc -c ShopingCart.c

2. To Run

gcc ShopingCart.o -o ShopingCart.exe

3. To Execute

./ShopingCart.exe

Where is the Bugs in Gnome?

Normally, the Bugf of some software is in Bugzilla

But also the bugs in Gnome is in Gitlab, only you need to search “Gnome” and then search the project that you want to contribute, in my case I’ve been searched “Todo”. Next, go to the left side in “issues”

For Newcomers, you can view if some issue is a Bug, a Feature, the status, etc..

Searching a project

Project issues

Introducción al Software Libre

¿Qué es Software Libre?

Se refiere al programa que posee las siguientes libertades:

  • Libertad 0: Libertad de usar el programa como se desee, bajo cualquier propósito.
  • Libertad 1: LIbertad de estudiar cómo funciona el programa, disponer del código fuente.
  • Libertad 2: Libertad de mejorar el código del programa
  • LIbertad 3: Libertad de distribuir copias de las versiones modificadas a terceros, con el fin de que más personas puedan beneficiarse de ello

Resultado de imagen para software libre

Licencias:

Licencia GPL: Es el más comercial, con esta licencia el programador conserva sus derechos de autor , pero permite su libre uso, estudio, mejora y distribución

Licencia AGPL: Se distribuye el software que se destine a dar servicios a través de una red de ordenadores

Licencia BSD: Es una licencia permisiva que no impone condiciones lo que el usuario pueda hacer con el software. Es la licencia menos restrictiva

Licencia Apache: el software bajo este tipo de licencia permite al usuario distribuirlo, modificarlo, y distribuir versiones modificadas de ese software pero debe conservar el copyright y el disclaimer.

Licencia Creative Commonds: Se basa en 4 condiciones: Atribución, No comercial, NO derivadas y Compartir igual

 

 

My first program in Mallard

Mallard is a program that can help you about the documentation.

In this post I’ll show you the first steps in Mallard. You are ready? I hope yes =)

1.- You need to create a folder named Mallard in your desktop. whit the command “mkdir”}

Screenshot from 2014-02-23 14:06:55

2.- Then you need to create a document named “index.page” and this case, my program is about the body human.

1.- Body human

1.1 Head

1.1.1 Eyes

1.1.2 Mouth

1.2 Limb

1.2.1 Hand

1.2.2 Foot

First, the index.page:

Screenshot from 2014-02-23 16:08:09

And then write this code for “the human body”

Screenshot from 2014-02-23 16:12:083.- Then the part of head with gedit:

Screenshot from 2014-02-23 16:18:31

And write this code

Screenshot from 2014-02-23 23:44:52

4.- And the same  for the Limb

Screenshot from 2014-02-23 16:34:07

Screenshot from 2014-02-23 23:43:56

5.- Now, for the Eyes

Screenshot from 2014-02-23 19:22:58

And then….

Screenshot from 2014-02-23 19:24:17

6.- The same for the Mouth, hand and Foot

Screenshot from 2014-02-23 19:41:24

Screenshot from 2014-02-23 19:54:09

Screenshot from 2014-02-23 22:40:07Screenshot from 2014-02-23 23:13:05

Screenshot from 2014-02-23 23:35:41