Olson CloudWorks 🚀

: All Posts

How can I see git diff on the Visual Studio Code side-by-side file

How can I see git diff on the Visual Studio Code side-by-side file

I would like to know how to see as a file with the command git diff master originmaster in the terminal on Visual Studio Code I did a git fetch from my remote

Read more →

How can I sleep a Dart program

How can I sleep a Dart program

I like to simulate an asynchronous web service call in my Dart application for testing To simulate the randomness of these mock calls responding possibly out

Read more →

How do I equalize the scales of the x-axis and y-axis

How do I equalize the scales of the x-axis and y-axis

How do I create a plot where the scales of xaxis and yaxis are the same This equal ratio should be maintained even if I change the window size Currently my

Read more →

How do I execute a Git command without being in the repository

How do I execute a Git command without being in the repository

Is there a way to execute Git commands against a repository without being in that repository For example something like this git homerepo log Please do not

Read more →

How do I fetch lines beforeafter the grep result in bash

How do I fetch lines beforeafter the grep result in bash

I want a way to search in a given text For that I use grep grep i myregex That works But given the data like this This is the test data This is the error data

Read more →

How do I get a cursor on every line in VS Code

How do I get a cursor on every line in VS Code

Im trying to use the multicursor functionality of Visual Studio Code on a largeish file The file is too large to select every line individually with ctrl alt

Read more →

How do I get ruby to print a full backtrace instead of a truncated one

How do I get ruby to print a full backtrace instead of a truncated one

When I get exceptions it is often from deep within the call stack When this happens more often than not the actual offending line of code is hidden from me

Read more →

How do I pre-populate a jQuery Datepicker textbox with todays date

How do I pre-populate a jQuery Datepicker textbox with todays date

I have a very simple jQuery Datepicker calendar documentreadyfunction dateprettydatepicker and of course in the HTML ltinput typetext size10 value

Read more →

How do I view all commits for a specific day

How do I view all commits for a specific day

Ive already looked at the relevant docs from gitscmcom and gitreforg but I cant seem to figure this out Lets say I want to get all commits for Tuesday November

Read more →