Skip to main content

Posts

Git on Windows : Directory Already exists

I just started exploring github. After handling basics of github through console I thought I will also try with GUI. So first link I was going through was “ Git on Windows for Newbs ”. While creating clone of existing repository “ https://github.com/dirtyhandsphp/test.git ” It asked me the target directory.    When I created a new one then I got the following error message. Solution is : You should select only the parent folder or directory from dialog box. Don’t use already existing folder as target directory where you want the code to reside. Write the folder name after parent path and create clone. For example :  Check Screen short 3 : I have selected parent directory with name Shiv from directory D:\ Screenshot 4 : Write the name of directory where you want your code to be there. Git will automatically create it.   Thanks!!!!!!!!! Enjoy Programming :)

dompdf : New Font Installation

Steps to follow : 1)      Install DOMPDF 0.6.0 or greater (Recommended : 0.6.0_beta3 ) 2)      Enable the MBString PHP extension. 3)      Load a font supporting your characters into DOMPDF. 4)      Configure DOMPDF for Unicode support. 5)      Create a compatible HTML document. First two steps has already been covered in previous post. Check here : dompdf : HTML to PDF Converter in PHP 3) We are going to u se web-based font prep tool to install font. This option is provided for users who are unable to set up the ttf2ufm application. This tool produces an archive containing the necessary font metrics file(s), the original font file(s), and a sample dompdf_font_family_cache that you should be able to use with your DOMPDF installation. AfterSimply provide a font name and the TTF file(s) (at a minimum you must provide a font file for the...