Olson CloudWorks 🚀

: All Posts

Given parallel lists how can I sort one while permuting rearranging the other in the same way

Given parallel lists how can I sort one while permuting rearranging the other in the same way

Suppose I have list1 3 2 4 1 1 list2 three two four one one2 Calling list1sort will sort it resulting in 1 1 2 3 4 However can I get list2 to be rearranged in

Read more →

Grep binary file matches How to get normal grep output duplicate

Grep binary file matches How to get normal grep output duplicate

This question already has answers here How to grep a text file which contains some binary data 11 answers Closed 7 years ago Ive got a grep script that

Read more →

grep output to show only matching file

grep output to show only matching file

What is the option for grep that will allow me only to print the matching file and not the line within a file that matches the

Read more →

HorizontalScrollView within ScrollView Touch Handling

HorizontalScrollView within ScrollView Touch Handling

I have a ScrollView that surrounds my entire layout so that the entire screen is scrollable The first element I have in this ScrollView is a

Read more →

How can I exclude this from a jQuery selector

How can I exclude this from a jQuery selector

I have something like this ltdiv classcontentgt lta hrefgtAltagt ltdivgt ltdiv classcontentgt lta hrefgtBltagt ltdivgt ltdiv classcontentgt lta hrefgtCltagt

Read more →

How can I get a random key-value pair from a dictionary

How can I get a random key-value pair from a dictionary

In Python given a dictionary like VENEZUELA CARACAS CANADA OTTAWA How can I choose a random item keyvalue pair What if I only need the key or only the value

Read more →

How can I parse  create a date time stamp formatted with fractional seconds UTC timezone ISO 8601 RFC 3339 in Swift

How can I parse create a date time stamp formatted with fractional seconds UTC timezone ISO 8601 RFC 3339 in Swift

How to generate a date time stamp using the format standards for ISO 8601 and RFC 3339 The goal is a string that looks like this 20150101T000000000Z Format

Read more →

How can I show lines in common reverse diff

How can I show lines in common reverse diff

I have a series of text files for which Id like to know the lines in common rather than the lines which are different between them Command line Unix or Windows

Read more →

How do I download a file with Angular2 or greater

How do I download a file with Angular2 or greater

I have a WebApi MVC app for which I am developing an angular2 client to replace MVC I am having some troubles understanding how Angular saves a file The

Read more →