Olson CloudWorks 🚀

: All Posts

Changing the width of Bootstrap popover

Changing the width of Bootstrap popover

I am designing a page using Bootstrap 3 I am trying to use a popover with placement right on an input element The new Bootstrap ensures that if you use

Read more →

clear javascript console in Google Chrome

clear javascript console in Google Chrome

I was wondering if I could clear up the console with some command consolelog can print is there a command to clear up console Ive tried to consolelogconsole

Read more →

Coloring Buttons in Android with Material Design and AppCompat

Coloring Buttons in Android with Material Design and AppCompat

Before the AppCompat update came out today I was able to change the color of buttons in Android L but not on older versions After including the new AppCompat

Read more →

configure Git to accept a particular self-signed server certificate for a particular https remote

configure Git to accept a particular self-signed server certificate for a particular https remote

The sysadmin for a project Im on has decided that SSH is too much trouble instead he has set up Git to be accessible via an https URL and usernamepassword

Read more →

Convert char to int in C

Convert char to int in C

I have a char in c char foo 2 Now I want to get the 2 into an int I find that ConvertToInt32 returns the actual decimal value of the char and not the number 2

Read more →

Converting a list to a set changes element order

Converting a list to a set changes element order

Recently I noticed that when I am converting a list to set the order of elements is changed and is sorted by character Consider this example x12206210 printx 1

Read more →

CSS Set a background color which is 50 of the width of the window

CSS Set a background color which is 50 of the width of the window

Trying to achieve a background on a page that is split in two two colors on opposite sides seemingly done by setting a default backgroundcolor on the body tag

Read more →

DbEntityValidationException - How can I easily tell what caused the error

DbEntityValidationException - How can I easily tell what caused the error

I have a project that uses Entity Framework While calling SaveChanges on my DbContext I get the following exception

Read more →

Encoding an image file with base64

Encoding an image file with base64

I want to encode an image into a string using the base64 module Ive ran into a problem though How do I specify the image I want to be encoded I tried using the

Read more →