Olson CloudWorks 🚀

: All Posts

How to restart a rails server on Heroku

How to restart a rails server on Heroku

Locally I just interrupt ctrlc and then start it again How do I do the same thing with an app on

Read more →

How to set class attribute with await in init

How to set class attribute with await in init

How can I define a class with await in the constructor or class body For example what I want import asyncio some code class Fooobject async def initself

Read more →

How to solve InaccessibleObjectException Unable to make member accessible module A does not opens package to B on Java 9

How to solve InaccessibleObjectException Unable to make member accessible module A does not opens package to B on Java 9

This exception occurs in a wide variety of scenarios when running an application on Java 9 Certain libraries and frameworks Spring Hibernate JAXB are

Read more →

How to split a dos path into its components in Python

How to split a dos path into its components in Python

I have a string variable which represents a dos path eg var dstuffmorestufffurtherdownTHEFILEtxt I want to split this string into d stuff morestuff furtherdown

Read more →

How to use multiple AWS accounts from the command line

How to use multiple AWS accounts from the command line

Ive got two different apps that I am hosting well the second one is about to go up on Amazon EC2 How can I work with both accounts at the command line Mac OS X

Read more →

ifkey in object or ifobjecthasOwnPropertykey

ifkey in object or ifobjecthasOwnPropertykey

Do the following two statements produce the same output Is there any reason to prefer one way to the other if key in object if

Read more →

Install shows error in console INSTALL FAILED CONFLICTING PROVIDER

Install shows error in console INSTALL FAILED CONFLICTING PROVIDER

I am experimenting with the NotesList sample program in the Android SDK Ive made a slight variation in the program but when I install my edited version I keep

Read more →

Is it possible to decompile a compiled pyc file into a py file

Is it possible to decompile a compiled pyc file into a py file

Is it possible to get some information out of the pyc file that is generated from a py

Read more →

Iterate through select options

Iterate through select options

I have a ltselectgt element in HTML This element represents a drop down list Im trying to understand how to iterate through the options in the ltselectgt

Read more →