Olson CloudWorks 🚀

: All Posts

How do I loop through a date range

How do I loop through a date range

Im not even sure how to do this without using some horrible for loopcounter type solution Heres the problem Im given two dates a start date and an end date and

Read more →

How do I view cookies in Internet Explorer 11 using Developer Tools

How do I view cookies in Internet Explorer 11 using Developer Tools

Im looking for how to view the cookies set using developer tools in IE11 I see an option in network profiling to view cookies being sent back and forth but

Read more →

How do we count rows using older versions of Hibernate 2009

How do we count rows using older versions of Hibernate 2009

For example if we have a table Books how would we count total number of book records with

Read more →

How efficient is locking and unlocked mutex What is the cost of a mutex

How efficient is locking and unlocked mutex What is the cost of a mutex

In a low level language C C or whatever I have the choice in between either having a bunch of mutexes like what pthread gives me or whatever the native system

Read more →

How to add ON DELETE CASCADE in ALTER TABLE statement

How to add ON DELETE CASCADE in ALTER TABLE statement

I have a foreign key constraint in my table I want to add ON DELETE CASCADE to it I have tried this alter table childtablename modify constraint fkname foreign

Read more →

How to add spacing between UITableViewCell

How to add spacing between UITableViewCell

Is there any way to add spacing between UITableViewCell I have created a table and each cell only contain an image The image is assigned to the cell like this

Read more →

How to calculate age in years based on Date of Birth and getDate

How to calculate age in years based on Date of Birth and getDate

I have a table listing people along with their date of birth currently a nvarchar25 How can I convert that to a date and then calculate their age in years My

Read more →

How to calculate the time interval between two time strings

How to calculate the time interval between two time strings

I have two times a start and a stop time in the format of 103326 HHMMSS I need the difference between the two times Ive been looking through documentation for

Read more →

How to create NSIndexPath for TableView

How to create NSIndexPath for TableView

I need delete row 1 of a table in a function I have defined In order to use deleteRowAtIndexPath you must use an IndexPath with a section and row defined How

Read more →