Blog

Category Filtering: 'Development'

Remove Filter


How do you do deployments?

Posted by Luis Majano
Apr 06, 2011 16:56:14 UTC
This is an open question to bring in your comments about source code deployment.  There are several ways and tools and I am very interested in your approaches.  What are your deployment flows? What tools do you use? How do you integrate git/svn into the mix? How do you deal with tiers?

Anyways, I will write about my personal experiences, but wanted to kick off a conversation on deployment strategies for ColdFusion.


git: Remove remote branch

Posted by Luis Majano
Mar 29, 2011 21:29:20 UTC
This is something I want to blog in order to save it for posterity so I don’t go crazy looking for this. I have a remote branch I committed but I need to remove it for whatever reason, how do I do this with git?

You do this in two easy steps:
  1. Remove the local branch either through your favorite GUI or via: git branch -d “branch name”
  2. Push the removed branch to the remote origin: git push origin :refs/heads/”branch name”

The key here is that you push a non-existent branch, so it basically removes it from the remote repository. That’s it!

Time to Relax RESTFul style!

Posted by Luis Majano
Mar 21, 2011 17:57:05 UTC
ColdBox Relax v1.4 is now out!

Git: Remove a remote tag

Posted by Luis Majano
Feb 08, 2011 11:14:57 UTC
This is something I want to blog in order to save it for posterity so I don't go crazy looking for this.  I have a remote tag I committed but I need to remove it for whatever reason, how do I do this with git?

You do this in two easy steps:

  1. Remove the local tag either through your favorite GUI or via: git tag -d "tag name"
  2. Push the removed tag to the remote origin: git push origin :refs/tags/"tag name"
The key here is that you push a non-existent tag, so it basically removes it from the remote repository.  That's it!

Awesome Git client for Mac: Tower

Posted by Luis Majano
Jan 04, 2011 11:40:31 UTC
I am a huge fan of development tools as I am also a tool developer myself.  One tool that has been lacking in my arsenal was an awesome Git client for Mac, as Mac is my main development environment.  I, like any true geeky developer, love the console, however, there is something about having a UI that gives me a warm warm feeling.  I have used the eGit plugin for Eclipse and although it is usable, it is still quirky as it is still constantly in development.  No disrespect for the developers, but this project is still moving forward and I know it will be a great great plugin and most likely I will use it hands down as my unique git client as it is embedded in Eclipse/CFBuilder.



However, I recently have experienced two great git clients: SmartGit and Tower.  SmartGit is java and cross platform.  It is very very good, but its aesthetics are well, java like and not sparkly like Tower.  Tower is Mac only and it truly shines as a Mac application.  I have really like the inbox style approach where I can move between tags, remotes, branches and stashes.  Nice double click and I have switched branches!  I can even right click on a branch and publish it or pull, refresh, etc.  The graphical history is very very nice and you can even change it to a more github like commit view.

Overall, I would say SmartGit and Tower are two of my favorite git clients.  So give them a shot, it will truly change your outlook on the Git tools landscape.

What's your favorite Messaging Broker-Server?

Posted by Luis Majano
Dec 18, 2010 17:49:12 UTC
I have been doing a lot lately with Messaging with ActiveMQ and been loving it so far. However, I am very interested in other peoples experiences with other messaging brokers and servers like RabittMQ and more. What are your preferences, experiences and recommendations?

Git Help? How to build a patch from commits

Posted by Luis Majano
Nov 15, 2010 10:45:00 UTC

 

This is more of a question post than a learning post, so your feedback is welcomed.  Here is what I am trying to do.  I have several commits into a branch and I would like to build a patch file that has all the files that where changed from commit X to commit Y.  Example:

 

Commit 1 – Changed files

/plugins/BeanFactory.cfc
/interceptors/SES.cfc

Commit 2 – Changed files

/interceptors/SES.cfc
/interceptors/Security.cfc

Commit 3 – Changed files

/web/services/PluginService.cfc

 

Now I want to run SOMETHING or do SOMETHING automated that can produce the following patch:

PATCH

/plugins/BeanFactory.cfc
/interceptors/SES.cfc
/interceptors/Security.cfc
/web/services/PluginService.cfc

 

So any Git gurus can comment on how to achieve this.

HTTP Error 401.3 on iis7 with new site

Posted by Luis Majano
Nov 13, 2010 12:16:07 UTC

I can honestly say that I love Apache for its simplicity and just works attitude.  I am recently setting up my lab at home and using iis7 under windows 7 to test some sites.  Problem after problem, but I guess it is my lack of usage of iis.  Anyways, after setting up a new site and giving the folder permissions to the IIS user, I was still getting the following nasty error:

 

image

The solution is definitely straightforward but after much googling and fiddling, finally something that works.  Go to the IIS admin and click on your site.  Once there, click on the Authentication icon:

image

Once it opens, click on Anonymous Authentication and then on the right hand panel click on “EDIT”.  You will get a modal window about the user to use for anonymous security:

image

Make sure you click on “Application Pool identity” instead of the default IUSR user.  That’s it, now the error is gone and a consistent user is used.

So I will attribute this to my lack of IIS skills, but still, quite convoluted.

Enterprise Architect ColdFusion Generation Templates Released

Posted by Luis Majano
Aug 31, 2010 14:35:49 UTC
I have used Sparx System Enterprise Architect for almost 4 years now and absolutely love working with it for UML design and also for ColdFusion code stub generation.  The only problem with EA is that it has to run on windows, sorry but I hate windows, but anyways.  I am finally opening my templates to the world so I can get more collaboration on them.  I took a project from Mike Ranklin I believe and updated lots of the source to make it work with ColdFusion 9 script syntax and also ORM entities. 

It is really great to have a great UML model and stub out our ORM entities out of it.  So if you are interested, the project is here and help out.

Get your Pomodoro Focus on!

Posted by Luis Majano
Aug 12, 2010 09:48:01 UTC

If you are like me and have a thousand millions things to work on and lack focus.  This little app will help you out.  Its called Focus Booster: http://www.focusboosterapp.com/

image

It is a very simple focus timer that sits on your desktop and helps you do Pomodoro times.  If you are not aware of the Pomodoro Technique, it is a technique to help you focus on tasks.

 

The Pomodoro Technique™ is a way to get the most out of time management. Turn time into a valuable ally to accomplish what we want to do and chart continuous improvement in the way we do it.

They offer their book free in PDF format or you can order their full Pomodoro Kit.  I recommend you guys take a look at it.

The basic unit of work in the Pomodoro Technique™ can be split in five simple steps:

  1. Choose a task to be accomplished
  2. Set the Pomodoro to 25 minutes (the Pomodoro is the timer)
  3. Work on the task until the Pomodoro rings, then put a check on your sheet of paper
  4. Take a short break (5 minutes is OK)
  5. Every 4 Pomodoros take a longer break

Site Updates

Archives

Entries Search