sudevops
sudevops
su - devops
96 posts
Living la vida devops.
Don't wanna be here? Send us removal request.
sudevops · 5 years ago
Link
2 notes · View notes
sudevops · 6 years ago
Link
2 notes · View notes
sudevops · 6 years ago
Text
Weather forecast
A weather forecast written in Go ready to deploy on google cloud functions.
git clone [email protected]:rfiestas/forecast.git
Tumblr media
Resources
Apixu, free, fast, simple and fully managed JSON and XML Weather API and Geo Developer API
weather-icons, Weather Icons is the only icon font and CSS with 222 weather themed icons, ready to be dropped right into Bootstrap, or any project that needs high quality weather, maritime, and meteorological based icons!
Google Cloud Functions, Serverless application backends. Trigger your code from GCP services or call it directly from any web, mobile, or backend application.
Cloud Functions
Create a Apixu account, free plan offers 10.000 API calls per month. Get the API Key
Log on Google cloud functions console,then create a project and 2 cloud functions.
Name Runtime Memory allocated Executed function Environment variables index Go 1.11 128 MB ForecastAPIV1 forecast Go 1.11 128 MB GetIndex apixu_key = YOUR KEY
You can upload the go code to each cloud function or you can attach to a Google source cloud repository.
Also you can create cloud functions using gcloud sdk command line.
gcloud functions deploy index --entry-point "GetIndex" --runtime go111 --trigger-http --memory 128 gcloud functions deploy forecast --entry-point "ForecastAPIV1" --runtime go111 --trigger-http --memory 128 --set-env-vars "apixu_key=**YOUR KEY**"
Now you project is ready on https://us-central1-PROJECT.cloudfunctions.net/index
2 notes · View notes
sudevops · 6 years ago
Link
0 notes
sudevops · 6 years ago
Link
0 notes
sudevops · 6 years ago
Link
Python micro:bit simulator
0 notes
sudevops · 6 years ago
Text
javascript level tool version to BBC micro:bit
New version of level tool written in javascript.
Check the simulator
or check repo
https://github.com/rfiestas/microbit_level_tool
0 notes
sudevops · 6 years ago
Text
BBC micro:bit level tool
Tumblr media
BBC micro:bit
It is a pocket-sized computer 70 times smaller and 18 times faster than the original BBC Micro computers used in schools.
On this script i use the accelerometer as a level tool, it can be used to indicate how parallel (level) a surface is relative to the earth.
Read more on:
https://github.com/rfiestas/microbit_level_tool
0 notes
sudevops · 7 years ago
Link
0 notes
sudevops · 8 years ago
Link
0 notes
sudevops · 8 years ago
Text
audio_visualization_fft
Tumblr media
A Realtime Audio Visualization in Python using a Raspberrypi a Sense HAT and a USB microphone. On this script i use a USB microphone to get the audio, then calculate Fast Fourier transform to represent in the 8 x 8 RGB LED matrix,
Read more on:
https://github.com/rfiestas/audio_visualization
0 notes
sudevops · 8 years ago
Link
0 notes
sudevops · 8 years ago
Link
0 notes
sudevops · 8 years ago
Link
0 notes
sudevops · 8 years ago
Text
audio_visualization
Tumblr media
A Realtime Audio Visualization in Python using a Raspberrypi a Sense HAT and a USB microphone.
Read more on:
https://github.com/rfiestas/audio_visualization
2 notes · View notes
sudevops · 8 years ago
Text
level_tool
Tumblr media
The Sense Hat is an add-on board for Raspberry Pi, made especially for the Astro Pi mission.
On this script i use IMU sensor as a level tool, it can be used to indicate how parallel (level) a surface is relative to the earth. Led matrix show a point.
Read more on:
https://github.com/rfiestas/level_tool
0 notes
sudevops · 8 years ago
Link
Over the last few months, we’ve been working with US-based startup Trinket to develop a web-based emulator for the Sense HAT, the multipurpose add-on board for the Raspberry Pi which is also the core component of the Astro Pi units on the International Space Station. We wanted to provide a unique, free learning resource that brings the excitement of programming our space-qualified hardware to students, teachers, and others all over the world.
0 notes