• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

My Monkey Do

A Log of Coding Solutions

  • Home
  • Web Hosts
  • Tools
  • About

Tools

Loading Graphic

October 30, 2012 by Webhead

Not a graphic designer, but you need an animated graphic to show something is loading?  Preloaders.net is a free online tool that lets you create your very own loading graphic.

 

http://preloaders.net/

Filed Under: Tools

Favicon png or ico?

October 18, 2012 by Webhead

I found some great info, where I always do, on stackoverflow.  Basically it all modern browsers request a ico file so its best to have it in case you don’t have a <link> tag.  The best thing was the ico generator url on Dynamic Drive which does transparency.  Just great stuff.  Scroll down to the answer with the most votes, not the accepted one.

http://tools.dynamicdrive.com/favicon/

source: http://stackoverflow.com/questions/1344122/favicon-png-vs-favicon-ico-why-should-i-use-pngs-instead-of-icos
keywords: favicon png

Filed Under: Tools Tagged With: html

git move files

May 11, 2012 by Webhead

Problem

I added and pushed a bunch of files into my repository, but now I need to put it into a subfolder.

 

Solution

Git is smart and will find the files you moved.  Do the following:

$ mkdir newFolder
$ mv oldFolder newFolder
$ git rm -r oldFolder
$ git add newFolder

source:  http://stackoverflow.com/questions/3900805/git-command-to-move-a-folder-inside-another
keywords: git move files to another folder

Filed Under: Tools Tagged With: git

git couldn’t resolve proxy null

April 13, 2012 by Webhead

Problem:

I keep getting this error:

“Couldn’t resolve proxy ‘(null) …”.

I googled so hard!

 

Solution:

Thank you to someone who just plainly answers my question.  You just have to unset http.proxy and possibly https.proxy!

git config –global –unset http.proxy

searched: proxy connect aborted while accessing git
Thanks to: http://stackoverflow.com/questions/5102361/pull-command-error-failed-connect-to-github-com8080

Filed Under: Tools Tagged With: git

Convert Mac dfont files to TTF format

March 13, 2012 by Webhead

Windows only accepts TTF font files while Mac format’s their font into Dfont format.  This tool by Peter Upfold lets you convert those beautiful Mac fonts into windows format.  Then with your TTF fonts you can upload them to http://www.font2web.com/ or http://onlinefontconverter.com and make web fonts!

http://peter.upfold.org.uk/blog/2008/03/11/dfontsplitter-convert-dfont-files-to-ttf/

What to do about PostScript type files?

Say you thought you had a dfont file, dragged the file into the tool above and got an error saying it’s not the right format.  Well, Looking more into the file you’ll probably find that you have a PostScript Type 1 file.

What I did was go to http://www.adobe.com/type/opentype/Type1-2-OpenType.pdf and find the OpenType format of the font you want to convert.  Then go to somewhere like http://www.fontpalace.com/.  There you can download your font in OTF format and it can be used everywhere.

Filed Under: Tools Tagged With: html, mac os x, open source

Font2Web

November 22, 2011 by Webhead

Problem

Using your own fonts with HTML 5 can be great, but different browsers require different font formats.  I only had the TTF  (True Type Font) file, but I also needed the otf, .eot, .woff and .svg files to be compatible with all browsers.

 

Solution

http://www.font2web.com.  Font 2 Web is a great website that does what it says.  It takes your TTF and gives you back a zip file with the other 4 files that you need.  It also gives you the CSS file needed for your custom @font-face.  You may notice that in the CSS file the local src has a smiley face character.   You can read more here on what that’s all about:  http://paulirish.com/2010/font-face-gotchas/#smiley.

Update:  Another solution is http://www.fontsquirrel.com.  However, even if you have all font format files, it still may not work in all browsers and all OS’s.  I believe one issue is the EOT licensing issue for IE.  Microsoft use EOT format so that font licenses can be verified so maybe I’m using un-licensed fonts.  The only fonts that have worked consistently for me are Google’s Web Fonts.

Filed Under: Coding, Tools Tagged With: css, html 5

  • « Go to Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to page 4
  • Go to Next Page »

Primary Sidebar

Topics

502 apache apple bluehost bootstrap buddypress chrome cloudways cms css debug drupal eCommerce firebug firefox git goDaddy google google analytics google maps hacked hosting htaccess html html 5 icons IE crap image iPad iPhone javascript jquery linux localization mac os x ms sql mysql open source optimize php tinymce wordpress wpengine yii youtube




Categories

  • Coding
  • Off the Shelf
  • Plugins
  • Random Thoughts
  • Server Stuff
  • Tools