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…)


PHP Version

21Dec11

For when your admin goes mia.

<?php phpinfo() ?>


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)

Source


$(“.theSelectBox”).val(’2′);


Where should you post your status?


http://arcturo.github.com/library/coffeescript/


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);


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” … />

Source

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.


ruby script/server webrick -e production


android create project \
–package com.example.helloandroid \
–activity HelloAndroid \
–target 2 \
–path /HelloAndroid

Source




Follow

Get every new post delivered to your Inbox.