Pages

24 Feb 2013

[SmartSVN] How to host files on Google Code (javascript, css, html, ...) and get a permanent, non-redirecting and bandwidth-generous hotlink

Hell yeah, finally I've found a "safe" place to put my stuffs for my site (like html, javascript, css... files), it's Google Code :D

Well, first of all, I just want to let you know I got the know-how from this site: http://www.ubuntudz.com/2010/10/how-to-host-files-on-google-javascript.html, and I recommend you to read it before start with this post.

Currently, I'm using Windows 8 and already have SmartSVN installed, that means I don't have SVN command. It took me a while to figure out how to change mime-type before commit by SmartSVN, so I would like to note it here just in case I forget how to do it :D
OK, let's go :)


Step1: Add your file to stage



Step 2: Right click on the file -> Properties -> Edit Properties...


Step3: Choose existed property (svn:eol-style) -> click Edit -> Edit like the following screenshot (remember to change "Curren Value" to: text/css for ".css" file, text/html for ".htm" and ".html" files, text/javascript for ".js" files...


Step4: OK -> OK -> Commit file.

2 comments:

  1. Excellent weblog right here! Additionally your web site so much up very fast! What web host are you the usage of Can I am getting your affiliate link on your host I want my website loaded up as quickly as yours lol

    ReplyDelete
  2. Thanks, it's just blogger, you can register an account here http://blogger.com
    Good luck :)

    ReplyDelete

Note: only a member of this blog may post a comment.