Tag Archives: ibm

IBM Red Hat RHEL Developer 7 is even more locked down than Windows 10 #mktg #fail

IBM Red Hat RHEL Developer 7 is even more locked down than Windows 10 since you cannot even run YUM in a clean install of RHEL 7 without registering your PC with IBM Red Hat.

$ yum update
Loaded plugins: langpacks, product-id, search-disabled-repos, 
subscription-manager

This system is not registered with an entitlement server. 
You can use subscription-manager to register.

There are no enabled repos.
 Run "yum repolist all" to see the repos you have.
 To enable Red Hat Subscription Management repositories:
     subscription-manager repos --enable 
 To enable custom repositories:
     yum-config-manager --enable

Red Hat Update Subscription procedures

Screenshot from 2020-04-03 12-17-24.png

IBM Accessibility & IBM OSGi

IBM has both Accessibility & OSGi initiatives

IBM Accessibility

IBM OSGi

yahoo weather api has changed and now needs auth oauth oauth2

the yahoo weather api has changed and now needs auth oauth oauth2

old retired urls

new url that requires auth

yahoo api docs

so now to make API requests, include the access token in the Authorization header. Note that API requests must be made securely over HTTPS. The header content comprises of the word Bearer followed by the access token.

also¬† note that the “Yahoo-App-Id” header will be deprecated soon and after that request without the “X-Yahoo-App-Id” will be rejected.

yahoo api weather docs

yahoo api oauth headers

GET /forecastrss?location=sunnyvale,ca HTTP/1.1
Host: weather-ydn-yql.media.yahoo.com
X-Yahoo-App-Id: YOUR_APP_ID
Authorization: OAuth
oauth_consumer_key="YOUR_CONSUMER_KEY",oauth_signature_method="HMAC-SHA1",oauth_timestamp="YOUR_TIMESTAMP",oauth_nonce="YOUR_NONCE",oauth_version="1.0",oauth_signature="YOUR_GENERATED_SIGNATURE"
cache-control: no-cache

yahoo api oauth node js example

if you dont authenticate you will get the error(s)

Please provide valid credentials. 
OAuth oauth_problem="OST_OAUTH_PARAMETER_ABSENT_ERROR", realm="yahooapis.com"
Please provide valid credentials. 
OAuth oauth_problem="OST_OAUTH_PARAMETER_ABSENT_ERROR", realm="yahooapis.com"

 

you could also try the IBM bluemix weather or OpenWeatherMap apis which also requires auth or a key

IBM #CallForCode Global Initiative #CodeAndResponse #savetheworld

IBM CallForCode Global Initiative CodeAndResponse

The Challenge Community is powered by IBM, the Call for Code Founding Partner. By joining the Community you will sign up for an IBM Cloud account that grants access to cloud, data, artificial intelligence, and blockchain technologies that you can use to build your solution. You also gain access to the IBM Coder community where you can learn about creating your submission, finding help, and building a team.

see also