Batch Resizing With GIMP
Batch resizing of images is probably something I haven’t needed to do in about 10 years. Since my copy of Photoshop 5.5 is unresponsive, I checked out GIMP and David’s Batch Processor plugin (DBP). It’s so good is’t self-explanatory — I was underway. But I created this stub in case I wanted to expand ( — really no need to…)
Filed under: HTML | Leave a Comment
Tags: GIMP, images
PHP Version
For when your admin goes mia.
<?php phpinfo() ?>
Filed under: PHP | Leave a Comment
Tags: PHP
Decrypt Parameters to DTSRun
Given a step in a DTS Package
DTSRun /~Z0x1D052930 …
To decrypt, run from a command prompt and add /!X and /!C to the end. (/!X says do not run and /!C says copy results into clipboard)
Filed under: SQL Server | Leave a Comment
JQuery change dropdown
$(“.theSelectBox”).val(’2′);
Filed under: JavaScript | Leave a Comment
Tags: JavaScript, jQuery
The Little Book on CoffeeScript
http://arcturo.github.com/library/coffeescript/
Filed under: Web | Leave a Comment
Tags: CoffeeScript, JavaScript
this.MainContent.Page.GetType().FullName
where MainContent is the main asp:ContentPlaceHolder. This technique is sort of looked down upon, but here it is.
Alternative method
Call the master page from the child page.
//Page_Load
MyMaster m = (MyMaster)this.Master;
m.TellMasterWhoIAm(this);
Filed under: .Net | Leave a Comment
Tags: ASP.Net, master pages, reflection
jQuery Partial ID search
Implementing jQuery datePicker in an ASP.Net GridView. Since the TextBox’s ID is appended and different for each row after rendering, the field has to be retrieved through partial searching on the ID.
$(function () {
$(‘*[id*=myStartDate]:visible’).datepicker({ dateFormat: ‘mm/dd/yy’ });
});
<asp:TextBox id=”myStartDate” … />
Update
To set a minimum date (no earlier dates):
$(function () {
$(‘*[id*=myStartDate]:visible’).datepicker({ minDate: new Date(), dateFormat: ‘mm/dd/yy’ });
});
Or new Date(“Month DD, YEAR”) accordingly.
Filed under: .Net | Leave a Comment
Tags: ASP.Net, jQuery, troubleshooting
Starting Redmine
ruby script/server webrick -e production
Filed under: Syntax | Leave a Comment
Tags: project management, redmine
android create project \
–package com.example.helloandroid \
–activity HelloAndroid \
–target 2 \
–path /HelloAndroid
Filed under: Mobile | Leave a Comment
Tags: android, eclipse
Recent Entries
Categories
- .Net (14)
- Actionscript (5)
- AIR (4)
- books (2)
- Career (13)
- Code Analysis (2)
- ColdFusion (13)
- Database (3)
- Definitions (4)
- Design Patterns (6)
- Flash Player (6)
- Flex (43)
- Frameworks (1)
- Hosting (1)
- HTML (4)
- JavaScript (4)
- Misc- Non Tech (1)
- Mobile (3)
- MySQL (7)
- News (1)
- OOP (8)
- People (1)
- PHP (1)
- Plugins (1)
- Preparedness (2)
- Projects (3)
- Scripts (3)
- SEO (2)
- Servers (1)
- Source Control (2)
- SQL (2)
- SQL Server (4)
- Syntax (2)
- System (3)
- Training (1)
- Web (3)
Archives
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- April 2009
- March 2009
- February 2009
- January 2009
- November 2008
- October 2008
- September 2008
