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() {
  myfunction(myarray);
}

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:

CREATE SCHEMA mydb;

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 http://cocos2d-x.org/docs/installation/Linux/index.html

Every

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:

First

Recover disk files with photorec

Install testdisk from terminal

sudo apt-get install testdisk

Run photorec

sudo photorec

Choo

Creating a Vue 2 application with Vue CLI

For Windows:

Install npm with node.js from https://nodejs.org

Using command line, install Vue CLI

nmp install --global -vue-cli

 

Create a new proj

CSS Grid - Flexbox Videos

CSS Grid Layout Crash Course
https://www.youtube.com/watch?v=jV8B24rSN5o

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 https://elinux.org/RPi_SD_cards#Working_.2F_Non-working_SD_cards

Preparing the SD card

Detect the