Olson CloudWorks 🚀

: All Posts

How to create timestamp column with default value now

How to create timestamp column with default value now

How to create a table with a timestamp column that defaults to DATETIMEnow Like this CREATE TABLE test id INTEGER PRIMARY KEY AUTOINCREMENT t TIMESTAMP DEFAULT

Read more →

How to get correct timestamp in C

How to get correct timestamp in C

I would like to get valid timestamp in my application so I wrote public static String GetTimestampDateTime value return valueToStringyyyyMMddHHmmssffff later

Read more →

How to get minmax of two integers in PostgresSQL

How to get minmax of two integers in PostgresSQL

How do I find the maximum or minimum of two integers in PostgresSQL One of the integers is not a column value I will give an example scenario I would like to

Read more →

How to get the key of a keyvalue JavaScript object

How to get the key of a keyvalue JavaScript object

If I have a JS object like var foo bar baz If I know that foo has that basic keyvalue structure but dont know the name of the key How can I get it for in

Read more →

How to increase storage for Android Emulator INSTALLFAILEDINSUFFICIENTSTORAGE

How to increase storage for Android Emulator INSTALLFAILEDINSUFFICIENTSTORAGE

I get this sometimesnot often for one of my projects couple of classes only Installation error INSTALLFAILEDINSUFFICIENTSTORAGE How do I increase emulators

Read more →

How to pass arguments to Shell Script through docker run

How to pass arguments to Shell Script through docker run

I am new to the docker world I have to invoke a shell script that takes command line arguments through a docker container Ex My shell script looks like binbash

Read more →

How to remove all breakpoints in one step in Google Chrome

How to remove all breakpoints in one step in Google Chrome

How to remove all breakpoints in one step in Google Chrome Using version 11 update There is now a feature request for this update The feature request is closed

Read more →

How to reset Jenkins security settings from the command line

How to reset Jenkins security settings from the command line

Is there a way to reset all or just disable the security settings from the command line without a userpassword as I have managed to completely lock myself out

Read more →

How to Select Every Row Where Column Value is NOT Distinct

How to Select Every Row Where Column Value is NOT Distinct

I need to run a select statement that returns all rows where the value of a column is not distinct eg EmailAddress For example if the table looks like below

Read more →