calinou / 0x0 Goto Github PK
View Code? Open in Web Editor NEWcurl wrapper script to upload local or remote files to 0x0.st
License: MIT License
curl wrapper script to upload local or remote files to 0x0.st
License: MIT License
/usr/local/bin/kubectl: line 1: syntax error near unexpected token `newline'
/usr/local/bin/kubectl: line 1: '<!doctype html>'
/usr/local/bin/0x0: line 2: syntax error near unexpected token `newline'
/usr/local/bin/0x0: line 2: `<?xml version="1.0" encoding="utf-8"?>'
I'm not good at scripting, only 7-8 months in to linux, but I use this script on a regular basis to upload screenshots, I would love to see a function to shorten urls as well in it if possible :))) would remove the need to use services like bitly and similar :))
what if you wanted to specify mime-type upon uploading? I believe 0x0 will take whatever mime you set whem sending with -F 'file=@somefile;type=text/plain'
for example.
Also, did you allow for being able to use stdin
while using pipelines? -F 'file=@-'
and mime can be added also, assuming a little more efforts and some descriptors redirections...
Close this at will and take care!
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.