Using phabricator


I need to rewrite this note again .


First we need to create a new repository, and when we add a new repo we have to add a new harbormaster, and then we need to add herald to connect between them .

then we use the following to add the respoistiry online

git add remote origin

and then push the files



Connect Windows and Mac to get your files

I bought a macbook and i wanted to get the files from my windows PC to the new mac .. i search the web for all the ways to do that , there is many ways but what i did was the following

Connecting the two computer with the router

I found this the best option but i faced a damn problem here, my router is only one port ūüôā i know stupid, so i searched the web for another option to do that , suprisely i found that i can connect the Windows PC with the MAC to make the job done.

Get the wire between the LANS

First thing is to connect the two computer with the cable network, it’s obvious isn’t it ? , then go to windows pc and share a file with click the right click ¬†then choose –> share with –>¬†advanced sharing¬†

That is important to choose a user type to be a guest user, then give him the privilege to read/write, then the most important part ( that took me a while pulling up my hair ) you have to go the control panel and choose advanced network setting ( shortcut is to search advanced network setting through the start menu ) .

Under the password section please change the password protection to no after that you will leave windows and go to mac

Open Finder in Mac

Open finder and go –> connect to server ( shortcut command+K ) then¬†smb://write_here_your_ip , if you don’t know where to get your ip you have to turn to windows and type¬†cmd¬†and type ipconfig .

After connecting to the server, Finder will prompt you for entering with guest user or workgroup privilege user, you have to choose guest user then enter your partition and go to the sharing

If something unclear please write comment below and i would like to help you ..



Connecting Namecheap domain with Hostgator

Purchasing domain from Namecheap

Recently i bought a domain from Namecheap, Namecheap offer the lowest price for domains ( for my knowledge ) , and it has a good dashboard , the purchasing procedure is not hard but be aware with the extra options like¬†whoisGuard¬†incase you don’t need it .

Configuring the domain settings

namecheap dashboard

You have to choose the domain name that you purchased, then choose Domain name server setup and here you can enter your hosting dns nameservers

namecheap dashboard

Getting the DNS name server from your hostgator cpanel

As i mentioned previusly you have to enter the dns nameserver for your hosting, how can i get that in hostgator ? you must login to your cpanel account and you will find the dns name servers on the left under account information ( please refer to the image below )

Hostgator dashboard

Robots file for search engine ?

If you want to make the search engines to ignore a folder in your WWW directory, you have to make robot.txt file in your WWW directory and give it the following code :

User-agent: *
Disallow: /beta*/
Disallow: /wp-admin/
Disallow: /wp-includes/

note that : the above example for the wordpress website but it  work the same way to any website


Convert publisher newsletter to html and validate to send from email to subscribes ?

If you may face this problem, you may have a publisher file ( newsletter ) to be send to all users you have by email address, the problem is when you save a html like the regular way, it breaks by sending via email , you have to save this publisher in like tables and rows to look good .
To make that you go to file>save&send>email_preview
You will get each page¬†separatly like html page … just save and that’s it
Then go and take the content of the body of page_2 and place it at the end of index page body

That it ūüôā

for me there is a video to look at my channel