Blog

Add a new blog
November 7

Swift Basic Series

Swift 1 - Requirements


October 24

How to Manage File and Folder Permissions in Linux

Command line: File permissions

The commands for modifying file permissions and ownership are:

chmod – change permissions

chown – change ownership.

chmod – the command to modify permissions R – this modifies the permission of the parent folder and the child objects within ugo+rw – this gives User, Group, and Other read and write access.

The breakdown of permissions looks like this:

u – user g – group o –

October 24

Linux user and group management commands

How to See Which Groups Your Linux User Account Belongs To?

groups

How to add a new group? 

sudo groupadd

How to add user to a group?

usermod -a -G  

Change a User’s Primary Group

While a user account can be part of multiple groups, one of the groups is always the “primary group” and the others are “secondary groups”. The user’s login


October 23

SCP command to transfer files/folders in Linux

Basic syntax of SCP

scp source_file_name username@destination_host:destination_folder

Example:

user@localhost ~/Documents $ scp -v user.name@212.x.x.x:.

Copy a Directory Recursively using SCP

I often need to quickly copy a directory from one Linux machine to another. An easy command to accomplish the task is the SCP (Secure Copy) command. Here's the general format of a recursive copy.

scp -r [/local/path/] [user@host]:[/remote/path]

The -r switch causes scp to copy recursively.


October 23

Create a MySQL user to have both local and remote access for all databases

Create a mysql user:   CREATE USER 'myUser'@'localhost' IDENTIFIED BY 'YourNewPassword';  CREATE USER 'myUser'@'%' IDENTIFIED BY 'YourNewPassword'; Then GRANT ALL ON *.* TO 'myUser'@'localhost';  GRANT ALL ON *.* TO 'myUser'@'%'; Optional: limit user to single database: GRANT ALL ON name_of_database.* TO 'myUser'@'localhost'; GRANT ALL ON name_of_database.* TO 'myUser'@'%';

October 23

Query to enable a single user to access a remote MySQL database

Create a remote user for single DB access.

GRANT ALL PRIVILEGES ON new_db.* TO 'new_db_user'@'%' IDENTIFIED BY 'YourUserPassword';

FLUSH PRIVILEGES;


October 23

Submitting iOS App to Apple App Store

Assuming you already enrolled in a developer license program and have an apple id.

Follow these steps:

open up file name with extension .xcworkspace

Navigate through Project Name > Targets > General

1. Change the display name of the app, this is what the name of the app that you want the users to see in their devices.

2. Provide an unique bundle identifier of the


October 23

How to Set Up an Apple Developer Account for my store app

Before you can have your very own iPhone app on the Apple App Store for your users to download and install into their phones, you will need to distribute your mobile app. 

Once you have your apple developer account, you can submit your mobile app to the apple store for the distribution. You can offer users with a free download or charge them


October 23

How do you generate all sizes app icons for ios and android mobile apps?

First, you should have a great design for your icon and file should be in PNG format with size 1024 x 1024 pixels. 

Second, use a free online tool like https://makeappicon.com/ or http://appiconmaker.co/ to size down your icon for all different sizes for the Apple App Store or Google Play.

Finally, upload them when you submit the app.


Send us a message. We will reply as soon as we can.
×

Save your professional blogger profile.

Join our blogger group and earn more income.

Sign up Log in