jutkko / copy-pasta Goto Github PK
View Code? Open in Web Editor NEWUniversal copy paste service, works across different machines!
License: MIT License
Universal copy paste service, works across different machines!
License: MIT License
:.!copy-pasta
in vim breaks the pasting... Sad.
Hello,
Even better than just having some in transit encryption, it would be great if it was working with end2end encryption, so the storage provider would have no knowledge at all about what's inside.
Something like this will be really cool https://github.com/blog/2231-building-your-first-atom-plugin
Are there any other storage engines planed beyond S3?
It can be confusing if you have more than one target
An example for the command can be
copy-pasta target
current target: spaghetti-target
Before this is implemented, the source of truth is here $HOME/.copy-pastarc
The tool's help menu should be sufficient to use the tool!
Thanks to Alberto.
The exported environment variables are only temporary, think of a better way to handle it!
A diagram would be helpful. Thanks to jme!
Copy-pasta works on Softlayer too !!! ๐
The problem I was getting is described here: http://stackoverflow.com/questions/42259295/container-storage-location-with-specified-provisioning-code-not-available
The solution was to change the S3LOCATION:
export S3LOCATION=us-standard
Example of URL for SL would be:
export S3ENDPOINT=s3-api.wdc-us-geo.objectstorage.softlayer.net
Could you make the login to optionally ask for those variables or having defaults for SL? It's a little inconvenient at the moment.
It would be also great to have the S3LOCATION and URL inside of the targets file, so we can use buckets from different providers.
We should be able to switch between different copy-pasta accounts easily
When you type: "copy-pasta target" without target name, you get the following error:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x26bc]
goroutine 1 [running]:
panic(0x3368c0, 0xc4200140b0)
/usr/local/Cellar/go/1.7.5/libexec/src/runtime/panic.go:500 +0x1a1
main.minioClient(0x0, 0xd4, 0xc4200912c0, 0x0)
${GOPATH}/src/GitHub.com/jutkko/copy-pasta/main.go:61 +0x5c
main.main()
${GOPATH}/src/GitHub.com/jutkko/copy-pasta/main.go:27 +0x94
Please fix this ASAP.
Right now it is something like
my-target:
name: ""
backend: gist
accesskey: ""
secretaccesskey: ""
bucketname: ""
endpoint: ""
location: ""
gisttoken: my-token
gistID: myGistID
But have something that's folded will be more readable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.