Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

togist

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

togist

  • 1.0.4
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

ToGist

A simple app that will send command line output into a private or public gist, copy the url to your clipboard, and (if requested) open that url in your browser.

Installation

Run this command in your terminal:

gem 'togist'

Or install it yourself:

$ rake install togist

###Rbenv You'll probably need to run: rbenv rehash

Usage

Output files or commands and pipe them into either shortcut: echo 'foo' | 2g cat foo.rb | 2g ###Shortcuts: 2g : Uploads to private gist and copies gist url to mac clipboard 2gpub : Same as above except public ###Tips:

Add an 'o' to the end of a shortcut to make it open your browser to the gist:

echo 'foo' | 2go # Will open to the private gist url    
echo 'foo' | 2gpubo # Will open to the public gist url

Requirements

Linux: for clipboard to work, xclip or xsel must be installed. If they're not, togist is basically useless on linux.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

FAQs

Package last updated on 10 Jan 2013

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc