Olson CloudWorks 🚀

: All Posts

Shell command to find lines common in two files

Shell command to find lines common in two files

Im sure I once found a shell command which could print the common lines from two or more files What is its name It was much simpler than

Read more →

Show distinct column values in pyspark dataframe

Show distinct column values in pyspark dataframe

With pyspark dataframe how do you do the equivalent of Pandas dfcolunique I want to list out all the unique values in a pyspark dataframe column Not the SQL

Read more →

take1 vs first

take1 vs first

I found a few implementation of AuthGuards that use take1 In my project I used first Do both work the same way import rxjsaddoperatormap import

Read more →

ToList - does it create a new list

ToList - does it create a new list

Lets say I have a class public class MyObject public int SimpleInt get set And I have a ListltMyObjectgt and I ToList it and then change one of the SimpleInt

Read more →

Unable to create Android Virtual Device

Unable to create Android Virtual Device

For some reason the OK button is not clickable when I try to create an AVD Does anyone know what Im doing

Read more →

Understanding dispatchasync

Understanding dispatchasync

I have question around this code dispatchasyncdispatchgetglobalqueue DISPATCHQUEUEPRIORITYDEFAULT 0 NSData data NSData dataWithContentsOfURL

Read more →

Use cases for RxJava schedulers

Use cases for RxJava schedulers

In RxJava there are 5 different schedulers to choose from immediate Creates and returns a Scheduler that executes work immediately on the current thread

Read more →

Verify a certificate chain using openssl verify

Verify a certificate chain using openssl verify

Im building a own certificate chain with following componenents Root Certificate Intermediate Certificate User Certificate Root Cert is a self signed

Read more →

What is Constrain to margin in Storyboard in Xcode 6

What is Constrain to margin in Storyboard in Xcode 6

I am Working with autolayout and constraints and found there is a Constrain to margins option in Xcode 6 which was not present in Xcode 5 and is checked by

Read more →