Add a new blog
To create a tag on your current branch, run this:
If you want to include a description with your tag, add -a to create an annotated tag:
git tag -a
This will create a local tag with the current state of the branch you are on. When pushing to your remote repo, tags are NOT included by default. You will need...
You’ve decided that you’re going to work on feature_12 as an example. To create a new branch and switch to it at the same time, you can run the git checkout command with the -b switch:
$ git checkout -b feature_12
Switched to a new branch "feature_12"
This is shorthand for:
$ git branch feature_12
$ git checkout feature_12
After you are done with your branch...
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
Linux user and group management commands
How to See Which Groups Your Linux User Account Belongs To?
How to add a new group?
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...
SCP command to transfer files/folders in Linux
Basic syntax of SCP
scp source_file_name username@destination_host:destination_folder
user@localhost ~/Documents $ scp -v firstname.lastname@example.org:.
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....
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';
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'@'%';
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...
Welcome to your digital presence.
100% FREE: Do-it-yourself with all the free tecnology and free tutorial/support site
Only $199: Hire an agency and watch them to do it all. Order here