Send clipboard contents to Pastebin
Conversion of tldm's pastebin gist to a Spoon https://gist.github.com/tdlm/5eba0299f2924a8aaf46 Code by @tdlm, spoon by Tyler Thrailkill tyler.b.thrailkill@gmail.com
https://github.com/snowe2010
Signature | Pastebin.api_dev_key |
---|---|
Type | Variable |
Description | String api developer key. Can be found here |
Source | Source/Pastebin.spoon/init.lua line 19 |
Signature | Pastebin.api_user_key |
---|---|
Type | Variable |
Description | String api user key. Can be generated here |
Source | Source/Pastebin.spoon/init.lua line 24 |
Signature | Pastebin.expire |
---|---|
Type | Variable |
Description | String indicating how long until the paste expires. Default is 'N' (Never) |
Notes |
|
Source | Source/Pastebin.spoon/init.lua line 34 |
Signature | Pastebin.format |
---|---|
Type | Variable |
Description | String indicating the format of the paste. Default is 'text' (plain text). |
Notes |
|
Source | Source/Pastebin.spoon/init.lua line 52 |
Signature | Pastebin.logger |
---|---|
Type | Variable |
Description | Logger object used within the Spoon. Can be accessed to set the default log level for the messages coming from the Spoon. |
Source | Source/Pastebin.spoon/init.lua line 313 |
Signature | Pastebin.private |
---|---|
Type | Variable |
Description | Integer indicating whether a paste should be public, unlisted, or private. Default is 0 (public). (0=public, 1=unlisted, 2=private) |
Source | Source/Pastebin.spoon/init.lua line 29 |
Signature | Pastebin:bindHotkeys(mapping) |
---|---|
Type | Method |
Description | Binds hotkeys for Pastebin |
Parameters |
|
Returns | |
Source | Source/Pastebin.spoon/init.lua line 368 |
Signature | Pastebin:paste(private, expire, format) |
---|---|
Type | Method |
Description | Pastes an item to Pastebin using the Pastebin api |
Parameters |
|
Returns | |
Source | Source/Pastebin.spoon/init.lua line 318 |