Olson CloudWorks 🚀

: All Posts

Modify table How to change Allow Nulls attribute from not null to allow null

Modify table How to change Allow Nulls attribute from not null to allow null

How to change one attribute in a table using TSQL to allow nulls not null gt null Alter table

Read more →

Modifying a query string without reloading the page

Modifying a query string without reloading the page

I am creating a photo gallery and would like to be able to change the query string and title when the photos are browsed The behavior I am looking for is often

Read more →

momentJS date string add 5 days

momentJS date string add 5 days

i have a start date string 20032014 and i want to add 5 days to this with momentjs but i dont get the new date 25032014 in the alert window here my javascript

Read more →

navigatorgeolocationgetCurrentPosition sometimes works sometimes doesnt

navigatorgeolocationgetCurrentPosition sometimes works sometimes doesnt

So I have a pretty simple bit of JS using the navigatorgeolocationgetCurrentPosition jammy documentreadyfunction businesslocate peoplelocateclickfunction

Read more →

On logout clear Activity history stack preventing back button from opening logged-in-only Activities

On logout clear Activity history stack preventing back button from opening logged-in-only Activities

All activities in my application require a user to be loggedin to view Users can log out from almost any activity This is a requirement of the application At

Read more →

osmakedirs doesnt understand  in my path

osmakedirs doesnt understand in my path

I have a little problem with in my paths This code example creates some directories called somedir and do not understand that I wanted to create somedir in my

Read more →

Parsing RFC-3339  ISO-8601 date-time string in Go

Parsing RFC-3339 ISO-8601 date-time string in Go

I tried parsing the date string 20140912T114526371Z in Go This time format is defined as RFC3339 datetime ISO8601 datetime Code layout 20140912T114526371Z str

Read more →

PHP Pass variable to next page

PHP Pass variable to next page

It seems pretty simple but I cant find a good way to do it Say in the first page I create a variable myVariable Some text And the forms action for that page is

Read more →

PHPMailer character encoding issues

PHPMailer character encoding issues

I try to use PHPMailer to send registration activation etc mail to users requireclassphpmailerphp mail gt charSet UTF8 mail new PHPMailer mailgtIsSMTP

Read more →