Thursday, December 12, 2013

Send Interactive Commands to a Cloud Foundry App with websocketd

on my way home from work tonight i saw the tweet below about connecting STDIN and STDOUT from remote processes with websocket. i tried it out quickly locally and it worked streaming output of numbers from 1 to 10 sent to STDOUT 1 second apart over websocket using localhost. can i apply this to cloud foundry easily?  it turns out the answer is yes!
you can easily include the small linux 64bit websocketd binary and this script with your app and remotely send commands over websocket that will execute in the app container and stream the STDOUT from the command back over websocket to the browser. this is helpful for sending commands like rake db:migrate or to explore the linux container file system after the buildpack has run. see the screenshot and video below. for the impatient, skip to about 3:00 of the short demo.

more instructions are on github. also see the websocketd project.


akhil sharma said...

thanks for share this great post
valentine wishes
valentine message for husband
valentine message for wife

Rahul Singh said...

happy valentine day
valentine day wishes for boyfriend
valentine day poems for girlfriend
valentines day message for wife
valentine day message for girlfriend

Narender Chahal said...

You can check your Tnpsc Group 4 hall ticket

Narender Chahal said...

RSMSSB Lab Assistant Admit Card

Unknown said...


Unknown said...

Want to know about Veterans Day,which is a day to celebrate the great officers of the US army,just checkout my blog Happy Veterans Day and stay updated.

sana khna said...

If U Like Me Then Click On the Photo Nd Call On ym no
Be Fast I em Waiting For U
Then I will Chnage My Mobile No

Unknown said...

Valentine Week 2017

Sultan Faris said...

Thanks for sharing. share good information Tutuapp

Unknown said...

Very Interesting and wonderful information keep sharing this post kindly check
windows 10 iot core web service

Unknown said...

just information we only provide information for those who need it cara menggugurkan kandungan
A. obat telat datang bulan
B. posisi berhubungan agar cepat hamil
C. makanan dan minuman agar cepat hamil
D. panduan agar cepat hamil
E. cara agar cepat hamil
F. cara agar cepat hamil setelah selesai haid
G. cara alami untuk segera mendapat kehamilan

Sample Data said...

tutu helper app

cahyo82 said...

memungkinkan orang mencari tahu mengenai kehamilan dengan kalender / kalkulator kehamilan belumlah tepat oleh sebab itu sebaiknya lakukan usg saja. Cara Menggugurkan Kandungan juga bukan cara mudah yg bisa dilakukan oleh siapa saja terlebih lagi belum memiliki pengalaman dalam hal itu. Pakai cara aman dan minta petunjuk orang yg lebih ahli terutama dokter kandungan adalah cara tepa

Abhinavhyd said...

Hey, thanks for this great article I really like this post and I love your blog and also Check Python course Training in 360DIGITMG. Python Training certification program provides an overview of how Python and R programming can be employed in Data Mining of structured (RDBMS) and unstructured (Big Data) data. Comprehend the concepts of Data Preparation, Data Cleansing and Exploratory Data Analysis. Perform Text Mining to enable Customer Sentiment Analysis. Learn Machine learning and developing Machine Learning Algorithms for predictive modeling using Regression Analysis. Assimilate various black-box techniques like Neural Networks, SVM and present your findings with attractive Data Visualization techniques.
360Digitmg Python Training institute

sravani konda said...

Intresting news, Great job, Check for a while in the given below

sravani konda said...

Interesting news, Great job, Check for a while in the given below

sravani konda said...

Intresting news, Great job, Check for a while in the given below

HMWSSB Manager Jobs

MPPSC PSI Syllabus 2020

Cantonment Board Barrackpore Admit Card 2020


KPSC FDA SDA Recruitment 2020

lionelmessi said...

This Information Which You Shared Was Really Fantastic
Hadoop Training in Hyderabad

Hadoop Course Training Institute in Hyderabad

Morgan said...

This stage is all about designing various models using the tools at one's disposal that will be a potential solution towards solving the problem at hand. data science course in hyderabad

invincible01 said...

Amazing Article,Really useful information to all So, I hope you will share more information to be check and share here.

inplant training for biotechnology in chennai
inplant training for ece students
inplant training mechanical engineering students
inplant training certificate format for civil engineering
inplant training report ppt
inplant training report samples
inplant training letter format
inplant training report for civil engineering pdf
inplant training report for electrical engineering

Cyber Security said...

Nice Information Your first-class knowledge of this great job can become a suitable foundation for these people. I did some research on the subject and found that almost everyone will agree with your blog.
Cyber Security Course in Bangalore

Cyber Security Course said...

Writing in style and getting good compliments on the article is hard enough, to be honest, but you did it so calmly and with such a great feeling and got the job done. This item is owned with style and I give it a nice compliment. Better!
Cyber Security Training in Bangalore

Ethical Hacking Course said...

Top quality blog with unique content and found valuable looking forward for next updated thank you
Ethical Hacking Course in Bangalore

rstrainings said...

it’s really nice and meanful. it’s really cool blog. Linking is very useful have really helped lots of people who visit blog and provide them usefull information.
Data Science Training in Hyderabad

I am really happy to say it’s an interesting post to read . I learn new information from your article , you are doing a great job . Keep it up

Devops Training in USA

Hadoop Training in Hyderabad

Python Training in Hyderabad

Online Front said...

Thanks so much with this fantastic new web site. I’m very fired up to show it to anyone. It makes me so satisfied your vast understanding and wisdom have a new channel for trying into the world.
If you want Digital Marketing Serives :-
Digital marketing Service in Delhi
SMM Services
PPC Services in Delhi
Website Design & Development Packages
SEO Services PackagesLocal SEO services
E-mail marketing services
YouTube plans