
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
github.com/rm511130/timer-test
Factorial Program in GO language that can be executed:
(a) on your Mac OS
(b) on a Docker container on Mac OS
(c) on Pivotal Cloud Foundry
(d) on Pivotal Cloud Foundry using a Docker Image
Start with option (a) to make sure you download the program from github
Mac $ go version
go version go1.14 darwin/amd64
Mac $ brew install go
Open a terminal window on your Mac and execute the following command:
Mac $ cd /work
Mac $ git clone https://github.com/rm511130/timer-test
Mac $ cd /work/timer-test
Mac $ go run timer-test.go
2020/03/14 15:55:55 Starting Timer Test...
http://localhost:3000/10
I counted to 10,000,000,000 in 2.601754 seconds
Mac $ docker version
version 19.03.5 for both client and server.
On an open terminal window with the familiar Docker Whale icon displayed somewhere at the top of the screen of your Mac, execute the following command:
Mac $ cd /work
Mac $ git clone https://github.com/rm511130/timer-test
Mac $ cd /work/timer-test
Mac $ docker build -t timer-test .
Mac $ docker run --publish 6060:3000 --name timer-test --rm timer-test
You should see a message like this one: 2020/03/14 15:55:55 Starting Timer Test...
You can then test it using a browser: http://localhost:6060/10
And you'll get as a reply: I counted to 10,000,000,000 in 2.601754 seconds
Open a terminal window on your Mac and execute the following command:
$ cd /work/timer-test
$ godeps save
$ ls -a
. .. .git Dockerfile Godeps Procfile README.md timer-test.go
$ cf push timer-test -b https://github.com/cloudfoundry/go-buildpack
You should see the usual creating app, route, binding, uploading ... and: urls: timer-test.cfapps.io
You can now test it: http://timer-test.cfapps.io/10
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.