JC Web Concepts

Custom Web Developments

Sorry for Inactivity

Last year has been a very busy year for me. With the promotion I had at work, I was just working too much. I am not planning to get back into blogging again.

Xdebug Basics Tutorial

As promised, here is the basics tutorial of using xdebug in action.

Web Development on Android

One of my latest purchases was an Android Samsung Galaxy Tablet 10.1. Unfortunately I have to get a replacement but it happens. So getting back on track I am new to an Android device. I found a great app on the Google Play Store, called Terminal IDE . This app brings you access to the terminal and you have some nice commands to work with. A few to name is, Git, VIM, find, etc… Once I get my tablet back I will do a video demo to show it off.

Adobe Creative Cloud

Well this past week Adobe has launched their new cloud service called, Adobe Creative Cloud . As of launch they are charging a monthly fee of $49.99 and I believe it is going to be well worth it. I will gladly pay that amount to get all of the Adobe products for both Windows and Mac. So lets say you wanted to buy a master collection copy of Adobe for both OS’es, you would be paying 2599.99 per OS. Yep that would cost you $5199.98 and that is for the current version. When a new version comes out you can pay and upgrade rate but still pay.
So with doing some simple math here, 5199.98/49.99=104. That would be almost 9 years to get what I would have paid for one version. I think I will gladly take that. I will let you guys decide but right now I think that is pretty much a steal. Thoughts?

Octopress and Lion

I just bought a few weeks ago a new MacBook Pro and I love it. So now it was time to setup my computer to use rvm and Octopress. So I logged into the Mac App store and downloaded the newest version of Xcode and installed it. I then went to the Octopress webstite and followed the directions on setting up RVM.

I ran into several errors about make and gcc-4.2. So after searching around the internet I found some help. It appears that after version 4.1, Ruby and xcode do not play nice. So I downgraded my version of Xcode and had to install a patch for gcc . Lastly you will want to add the following to your bash_profile or your zshrc:

<figcaption>
  <span/>
</figcaption>
<div class="highlight">
  <table>
    <tbody>
      <tr>
        <td class="gutter">
          <pre class="line-numbers">
            <span class="line-number">1</span>
          </pre>
        </td>
        <td class="code">
          <pre>
            <code class="bash">
              <span class="line">
                <span class="nb">export</span>
                <span class="nv">CC</span>
                <span class="o">=</span>

/usr/bin/gcc-4.2

            </code>
          </pre>
        </td>
      </tr>
    </tbody>
  </table>

Now, just restart your terminal app and then go ahead and follow the Octopress site to finish setting it up.

Using Git for SVN

So I have switched from SVN to Git and I am very happy about it. When I am at work I am stuck using SVN and I hate it. So I learned about a command that git has called git svn. It allows me to clone an SVN repo and locally use Git for it. I can make my commits and keep things versioned via Git. When I am done I can then commit it to the SVN repo and nobody would know I used Git instead of SVN. What is nice is it will commit all the changes, not just one massive one. I have yet to run into and issue but that’s ok if I do. So if you are a Git user stuck in an SVN world, then this is the way to save yourself. Let me show you an example of how to use this.

<figcaption>
  <span/>
</figcaption>
<div class="highlight">
  <table>
    <tbody>
      <tr>
        <td class="gutter">
          <pre class="line-numbers">
            <span class="line-number">1</span>
          </pre>
        </td>
        <td class="code">
          <pre>
            <code class="bash">
              <span class="line">

git svn clone “urlToSVNrepository”

                <span class="s2">"LocalLocationYouWantThis"</span>
              </span>
            </code>
          </pre>
        </td>
      </tr>
    </tbody>
  </table>

Example

<figcaption>
  <span/>
</figcaption>
<div class="highlight">
  <table>
    <tbody>
      <tr>
        <td class="gutter">
          <pre class="line-numbers">
            <span class="line-number">1</span>
          </pre>
        </td>
        <td class="code">
          <pre>
            <code class="bash">
              <span class="line">

git svn clone http://svn.google.com/sampleTest

                <span class="s2">"sampleTest"</span>
              </span>
            </code>
          </pre>
        </td>
      </tr>
    </tbody>
  </table>

Now lets say your repository has a trunk, branches, and or tags, you can do something with them as well.

<figcaption>
  <span/>
</figcaption>
<div class="highlight">
  <table>
    <tbody>
      <tr>
        <td class="gutter">
          <pre class="line-numbers">
            <span class="line-number">1</span>
          </pre>
        </td>
        <td class="code">
          <pre>
            <code class="bash">
              <span class="line">

git svn clone “urlToSVNrepository”

                <span class="s2">"LocalLocationYouWantThis"</span>

-T trunk -b branches -t tags

            </code>
          </pre>
        </td>
      </tr>
    </tbody>
  </table>

Example

<figcaption>
  <span/>
</figcaption>
<div class="highlight">
  <table>
    <tbody>
      <tr>
        <td class="gutter">
          <pre class="line-numbers">
            <span class="line-number">1</span>
          </pre>
        </td>
        <td class="code">
          <pre>
            <code class="bash">
              <span class="line">

git svn clone http://svn.google.com/sampleTest

                <span class="s2">"sampleTest"</span>

-T trunk -b branches -t tags

            </code>
          </pre>
        </td>
      </tr>
    </tbody>
  </table>

So now you have your svn project using git, which is nice. What also is nice is your project no longer has a bunch of .svn folders like you see in SVN land. That should be one of many things that will make you want to do this. I will make tutorial video on this soon so stay tuned if you are interested.

TextMate2 Alpha Intro

So the other day, it was announced that the alpha release of TextMate2 was avaliable for licensed users of TextMate So I decided to make a little video on some of the changes that I have seen so far. I am excited what I have seen and look forward in helping making TextMate the best editor around.