
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
= Ping.fm Ruby Library
== Library Usage
require 'pingfm' pingfm = Pingfm::Client.new('user_app_key')
pingfm.validate['status']
pingfm.latest(5) # => {'messages' => [...]}
pingfm.post('The Dark Knight was amazing.')
pingfm.tpost('The message here.', '#something_custom', 'Optional Title')
You can also manage the configuration file through Pingfm::Config.
begin app_key = Pingfm::Config['app_key'] rescue Pingfm::ConfigNotFound # This is raised if the config file can't be found. # Helper method to get user app key from STDIN: app_key = Pingfm::Config.ask_for_app_key!
# Or just assign a value to 'app_key' (this will automatically save the config file):
Pingfm::Config['app_key'] = 'YOUR_USER_APP_KEY'
end
Check the {documentation}[http://rdoc.info/projects/Oshuma/pingfm] for more details.
== Shell Usage
$ pingfm This message will post to my default services.
Everything after the 'pingfm' command is what will be posted to the service. You may also include the message within quotes (ex. using the client within a shell script). Run with '--help' to list all command-line options.
If your key has not been stored, it will ask for it. This key will be saved in a YAML file in your home directory and you won't be asked for it again.
You can obtain your key here: {http://ping.fm/key/}[http://ping.fm/key/]
== Authors
== Code
{http://github.com/Oshuma/pingfm}[http://github.com/Oshuma/pingfm]
== Description
{Ping.fm}[http://ping.fm/] is a simple service that makes updating your social networks a snap; and this it's Ruby library.
== Additional Features
== Requirements
Ruby!
== Install
$ [sudo] gem install pingfm
== License
(The MIT License)
Copyright (c) 2010 Dale Campbell, Kevin Williams, Krunoslav Husak
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FAQs
Unknown package
We found that pingfm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.