Passing array in a function

An array in c is like a pointer to data and passes in a function easy

int myarray[10];
void myfunction(int[10]);

int main() {

void function myfunction(int parray[10]) {

With sizeof() you can get the

How do you fade edges in Gimp

You have an image and want to create transparent background but have a fuzzy border.

Just to be sure that the image uses alpha channel, right click on the image Layer->Transparency->Add Alpha Channel


  1. On top menu of Gimp select Windows->Toolbox
How to create a database in Mysql and grant permissions on a user

After installing MySQL or MariaDB you can enter in mysqli command line by

sudo mysql


This is how you create a new database:


See the list of database

Cocos2d-x in Ubuntu 16.04

So i was trying to install and setup the cocos2d game engine in Ubuntu 16.04 so I can get started on a c++ project.

I followed the documentation


How to connect to Ubuntu server with SSH

SSH, or Secure Shell, is a protocol used to securely log onto remote systems. It is the most common way to access remote Linux and Unix-like servers.

Install SSH server on your Ubuntu server

First must install SSH server to Ubuntu

Setup your first Symfony application

Use of composer is recomended. e.g.

composer create-project symfony/framework-standard-edition my_project_name


But you can go for a manual(simplier) installation:


Recover disk files with photorec

Install testdisk from terminal

sudo apt-get install testdisk

Run photorec

sudo photorec


Creating a Vue 2 application with Vue CLI

For Windows:

Install npm with node.js from

Using command line, install Vue CLI

nmp install --global -vue-cli


Create a new proj

CSS Grid - Flexbox Videos

CSS Grid Layout Crash Course

Incredibly Easy Layouts with CSS Grid

Make bootable micro SD for Raspberry Pi 3

Before you proceed with your micro SD card I suggest to check which cards work/dont work in raspberry

Preparing the SD card

Detect the