Ir al contenido principal

Entradas

Mostrando las entradas etiquetadas como ubuntu

Modern Architecture for Native Apps with AWS Backend: A Practical Guide

Introduction Designing a mobile app today goes far beyond building a beautiful interface. Native apps — whether for iOS or Android — need secure authentication, user role management, real-time communication with the backend, and scalable infrastructure to support growth. In this post, I’ll walk you through a clean and modern architecture to connect native mobile apps to a robust backend on AWS. The architecture is modular, scalable, and aligned with best practices for security and performance — without relying on overly complex tools. Why it matters: apps today are more than just UI A production-grade mobile app often includes: User login (email, Google, or others), Differentiated access for multiple roles (e.g., user vs admin), Secure token-based communication, A backend capable of handling business logic and data, Data storage, asset management, and scalable APIs, Compliance with Google Play and App Store requirements. All of these require a backend architecture ...

Display GIT branch in the terminal

I encounter with this issue how to make possible to display my GIT branch in the console. I found the answer in ASK UBUNTU:  https://askubuntu.com/questions/730754/how-do-i-show-the-git-branch-with-colours-in-bash-prompt Step 1 nano ~/. bashrc Step 2 Add the following code at the end of the line # Show git branch name force_color_prompt = yes color_prompt = yes parse_git_branch () { git branch 2 > / dev / null | sed - e '/^[^*]/d' - e 's/* \(.*\)/(\1)/' } if [ "$color_prompt" = yes ]; then PS1 = '${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[01;31m\]$(parse_git_branch)\[\033[00m\]\$ ' else PS1 = '${debian_chroot:+($debian_chroot)}\u@\h:\w$(parse_git_branch)\$ ' fi unset color_prompt force_color_prompt Step 3 Reload the file source ~/. bashrc

Access to AWS Postgres instance in private subnet

I have been working with AWS in the last days and encounter some issues when using RDS.  Generally when you're working in development environment you have setup your database as Publicly accessible and this isn't an issue. But when you're working in Production. So we place the Amazon RDS database into a private subnet. What we need to do for connecting to the database using PgAdmin or other tool? We're going to use one of the most common methods for doing this. You will need to launch an Amazon EC2 instance in the public subnet and then use it as jumping box. So after you have your EC2, you will need to run the following command. See explantion below After this, you will need to configure your PgAdmin. The host name will be your localhost, the port is the same you define in the above command. Maintenance database will be your DB name and the username you have for connecting. Hope this helps you connect to your databases.

Getting Docker Syntax In Gedit

I have been working with docker in the last days, and encounter the syntax issue with gedit. Just pure plain text. So make a small search and found an easy way for fixing this. I found Jasper J.F. van den Bosch repository in GitHub and found the solution for this simple problem. We need to download the docker.lang file, available here:  https://github.com/ilogue/docker.lang/blob/master/docker.lang After that, you go to the folder you save the file and do the following command. sudo mv docker.lang /usr/share/gtksourceview-3.0/language-specs/  If this doesn't work you can try the following: sudo mv docker.lang  ~/.local/share/gtksourceview-3.0/language-specs/ And that's all! Screenshot of gedit with no docker lang Screenshot of gedit with docker lang

Installing Zsh in Ubuntu

So I decided to give it a try to Zsh I really like the way it shows me the information at CLI and really useful when using git. I didn't have to many issues for installing it. Just the following commands and it works. sudo apt-get install zsh sudo apt-get install git-core In case you encounter any issue this article can help you. Earn free bitcoin

Install Visual Fox Pro in Ubuntu

Don't ask why I need visual fox pro, but if you encounter this issue like I did and find this nice error. You need to install the Microsoft Visual Fox Pro Libraries, you can download it from here . Hope this helps you Thanks to EZY Solutions for sharing their solution

Find which devices are connected to our network

Sometimes, we want to know how many devices are connected to our network. With any Unix OS you get easily know this. For this small tutorial we´re going to use Lubuntu 16.04. We will use nmap. Nmap (Network Mapper) is a security scanner. It is used to discover hosts and services on a computer network. For installing it, we first do sudo apt-get install nmap If we just need to identify the host names  sudo nmap -sL 192.168.0.1/24  The result of this command will be Starting Nmap 7.01 ( https://nmap.org ) at 2016-10-02 12:39 CST Nmap scan report for 192.168.0.0 Nmap scan report for 192.168.0.1 Nmap scan report for 192.168.0.2 Nmap scan report for 192.168.0.3 Nmap scan report for 192.168.0.4 Nmap scan report for 192.168.0.5 If we need to know the OS of the devices we have connected we do a: sudo nmap -O 192.168.0.1/24 The address 192.188.0.1 depends of your network, you should do a ifconfig for knowing yours. The result of this command will be something l...

Using the calculator in the terminal

Hi to all, this is a small issue I had the last days. Use a calculator in the terminal. I have been working and sometimes need to do an arithmetic operation so I decided to open  calc (Ubuntu Calculator Default). But I was wondering, there has to be a way to use a calculator in the CLI. So after some search in the engine I found this question in Ask Ubuntu and tried several options. I will only write about the  best solution I found for my needs. In the question, you can find several solutions and probably you will find a different solution that will be best for you. CALC (Arbitrary precision calculator) Calc is an arbitrary precision arithmetic system that uses a C-like language. Calc is useful as a calculator, an algorithm prototyper and as a mathematical research tool. More importantly, calc provides one with a machine independent means of computation. Calc comes with a rich set of builtin mathematical and programmatic functions. If you want to install calc you c...

Install Screencloud in Ubuntu 16.04

One of my favorite applications for taking screen shots in Ubuntu is Screecloud unfortunately there's no version available for Ubuntu 16.04. Searching in a github wiki, I found a discussion on running Screencloud at our own "risk" in Ubuntu 16.04. If you want to read the thread in github: https://github.com/olav-st/screencloud/issues/204 Steps for installing Screencloud at your own "risk" Ubuntu 16.04 Download libqtmultimediakit1 wget http://de.archive.ubuntu.com/ubuntu/pool/universe/q/qtmobility/libqtmultimediakit1_1.2.0-1ubuntu2_amd64.deb sudo dpkg -i libqtmultimediakit1_1.2.0-1ubuntu2_amd64.deb sudo apt-get install -f We need to modify our source list sudo nano /etc/apt/sources.list   We add the following line to the end of the file deb http://cz.archive.ubuntu.com/ubuntu wily main universe We install screencloud   sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/olav-st/xUbuntu_15.10/ /' >> /...

Actualizar de Ubuntu 14.04 a 16.04

Ya ha pasado vario tiempo, desde que estoy trabajando con la versión LTS Ubuntu 14.04, pero creo que ha llegado el tiempo de actualizar a la nueva versión LTS 16.04. Las principales razones, son que necesito trabajar con el nuevo kit de desarrollo de java 1.8 y no hay soporte oficial para la versión open source en 14.04. Aparte que nunca me sentí muy conforme con dicha versión, considero que hubieron anteriores mejores. Esta es una guía, que les permitirá migrar de Ubuntu 14.04 a 16.04. Paso 1: Aseguremos que estemos con las ultimas actualizaciones instaladas. Si tenemos una versión en español, saldría algo parecido a la imagen siguiente. Paso 2:  Abrimos la terminal, e insertamos el siguiente comando: sudo update-manager -d Saldra algo parecido a esta imagen. Le damos click al botón de actualizar. Nos aparecerá una ventana titulada "Notas de la versión" Despues de eso le damos click en actualizar. Después del botón de actualizar, nos aparecerá u...

VII Central America Free Software Summit

I just want to clarify this event happened on August. But we were a small group organizing the event and this was a completely volunteer event. What is the VII Central America Summit ? Central American Free Software Summit is a space of articulation, coordination and exchange of ideas between Free Open source Software (FLOSS) communities that make up the SLCA agreements and strengthening ways of working together to facilitate and promote the use of Free Software development in the region(Central America). Objectives of the Event Strengthening the processes of social awareness, philosophy, and policy of Free software in Honduras and Central America. A multidisciplinary space that will allow managers of social projects and achieve regional politicians present their initiatives and manage contact network collaboration and / or support. Create an educational application during the hackathon that will take during the event, this app will benefit the 7 countries of Central...

Ubuntu is part of the Google Code In

Yesterday I received an email that make me happy! I received an email from an Ubuntu Mail list, that was almost dead. In few words, the email said Ubuntu is going to be part of the Google Code In . This are great new! But why I have a lot of interest that Ubuntu is part of the GCI? Well. the first time I listen about the Google Summer of Code and Google Code In, was on 2010 . Ubuntu was part of the GSOC and I was on college, months later the GCI began, unfortunately I was to old (18 years). So I began my work on trying to be part of this program. I tried on 2011 and failed with KDE , 2012 with New Vision for Public Schools and in 2014 I finally did it with the BeagleBoard.org ! This year I help the BeagleBoard.org as a co-mentor and I'm planning to help Ubuntu for this Google Code In as a mentor. For my surprise I have an old friend working on this, the great  José Antonio Rey . If you want to help join the irc: #ubuntu-google on freenode   or the mail li...

Project #1 Ubuntu 2015 Idea!

I'm trying to access my information from my Android on Ubuntu through MTP and I can't. There're several solutions on the forum, but I can't . So I decided to connect ssh to my phone. Problem #1 appears. I forgot the arguments of the nmap tool :( After searching on the web I find then. For getting all the ip address of the devices connected to my network nmap -sP 192.168.0.1/24 For getting the OS and more information nmap -O 192.168.0.0/24 Cool, but what's Project #1 Ubuntu? Well I just thought it will be cool to have a small gadget for getting this information, instead of using the CLI. So the project will consist on developing a gadget for getting this information. I started with Step #1 Get the idea, Now I will begin working on this idea, and let you know how it goes.

En el Encuentro Centroamericano de Software Libre

Actualmente me encuentro en la ciudad de Chitre en Panamá en el VI Encuentro Centroamericano de Software Libre . Por los momentos ha sido una excelente experiencia. Me vuelto a encontrar a varias personas que conocí en el Primer Encuentro Centroamericano y nuevas personas de varios países de centroamerica. Algo nuevo que a tenido este ECSL es la presencia de varias personas reconocidas en la comunidad del Software Libre. Entre ellos, esta Ramon Ramon , famoso bloguero de software libre.  Guillermo Movia Community Manager de America Latina para Mozilla y otras grandes personas de la comunidad de Software Libre en Centroamerica. Mas adelante voy a escribir sobre la charla que di sobre BeagleBoard.org , y otras platicas con las personas de Mozilla, que por cierto conoci a Jorge Aguilar miembro fundador de la Comunidad Mozilla Honduras. Algunas Imágenes . Si deseas leer este articulo en ingles, click aqui.

How I miss you Synaptic!

Several years  have passed since we saw the Synaptic included in Ubuntu. You can found reasons here  . So in a clear english the reason was to have a better add/remove program for users. A friendly application. The explanation sounds good, I didn't complain about that, until right now. Ubuntu has change a lot, it's really a friendly user OS. I have use CLI when necessary, but today I couldn't believe it. I'm a Google Chrome user, I know you will tell me it's not open source or I should use Chromium or FF. But no. I'm a user of Google Chrome, and many people also prefer Chrome over Chromium, so why it should be quite complex remove it? If Ubuntu wants to be more friendly user why you should use the terminal for removing one of the most popular web browsers? I could understand if is a browser few people use, a good reason. But not a popular browser, Chrome is one of the most popular browsers on the world! A screen shot of the Ubuntu Software Center, trying t...

Lets install Atom in Ubuntu 14.04

I just read that Atom the editor is going open source. So I just installed it and begin playing with it. Important. This is a beta version These are the steps for installing Atom in Ubuntu 14.04 First we need to install and configure nodejs. Install Configure We need to be sure that we have the following versions of install: node.js v0.10.x npm v1.4.x For doing this we do the following: Install Dependencies Install If you get an error like this one "/usr/local/share/atom/atom: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory" Do the following: Some images

Ubuntu Honduras in the FLISOL

Ubuntu Honduras was present in the   FLISOL San Pedro Sula There were several presentations in the FLISOL. Ubuntu Honduras team members talk about the following topics: What is Ubuntu Open Hardware C++ with Cocos2dx Backbone.js Besides the 3 speakers, there were members of Informatica Libre helping people installed Ubuntu and other GNU/Linux distributions to the people who wished to have a GNU/Linux version. There were aproximately 300 people in this event. Many of them were high school students. This event help students understand the importance of Free Software in our daily life. To know What is FLISOL? FLISOL, an acronym for Festival Latinoamericano de Instalación de Software Libre (Latin American free software install fest), is the biggest event for spreading Software Libre since 2005, performed simultaneously in different countries of Latin America. FLISOL San Pedro Sula (FLISOL SPS) This is a newspaper article talking about FLISOL The FLISOL ...

Back to Ubuntu & New Plans

Today is 14 of  February 2014. It's been 45 days of this year and I have finally decided what are my plans. I am just quite finishing my computer science degree. So I have finally time. Its being a lot since I am a little sleepy in the Ubuntu Comunity. I have been a little active in Ask Ubuntu and some local events at my city. But I finally decided that my contribution this year is going to be to develop apps for Ubuntu Desktop/Mobile. I have being reading a lot of posts here in Planet Ubuntu  and checking the website http://developer.ubuntu.com/ I am quite excited in beginning. Planning to write a lot about my experience, examples and possible issues I find. Beside this I am planning to learn Node.js I hope that at the end of the year, I can write an article saying this two goals were completed.

Something went wrong with my Ubuntu

Long time without writing. Well this is a new experience I had. I was working last night, shut down my laptop. Today on the morning I noticed something strange in my laptop each time I enter my password Unity never finish to load. I restart several time, and decide to start the graphical environment from the CLI mode. My surprise is the following. starting timidity++ alsa midi emulation fail So I start to google it from my smartphone and find some solutions in askubuntu. Solution #1  http://askubuntu.com/questions/63382/ubuntu-11-04-hangs-while-booting Solution #2  http://lkubuntu.wordpress.com/2011/08/30/quick-and-easy-way-to-fix-x11-issues/ So when I restart my system again finally it loads completely, but I was missing a nice surprise!!! Seven or eight windows about error reports. The funny part of this story is that each time I click in the report button, it never open the launchpad window for reporting the bu...

Problem solve thanks to askubuntu.com My Sql Update Problem after Update

Hi Long time ago I haven't write in my blog. The reason of this post is the fallowing. Last one I update mysql package. Mysteriously is stop working and getting a very nice error. My sql stop working. ProblemType: Package DistroRelease: Ubuntu 12.04 Package: mysql-server-5.5 5.5.24-0ubuntu0.12.04.1 ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21 Uname: Linux 3.2.0-27-generic x86_64 ApportVersion: 2.0.1-0ubuntu12 AptOrdering: mysql-server-5.5: Install mysql-server-5.5: Configure Architecture: amd64 Date: Sun Aug 12 23:44:04 2012 ErrorMessage: el subproceso instalado el script post-installation devolvió el código de salida de error 1 I report it as a bug . When I check the status, I saw it was a duplicate bug, and still no answer. So I decide to use askubuntu.com.  I have never use askubuntu.com, only staroverflow, but just for searching never asking a question and never answering one question. So at the end, I got my answer. The solution goes the fallowing w...