![]() |
|
[.NET] [Release] PasteBin Library for Submitting Pastes - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] [Release] PasteBin Library for Submitting Pastes (/showthread.php?tid=2589902) Pages: Pages
1
2
|
[Release] PasteBin Library for Submitting Pastes - SomeWhiteGuy - Jun 15, 2012 It's a very simple library. You can change the expiration of the paste, the content and title (obviously), the syntax highlighting, expiration and exposure. The only thing that you cannot do is login to your Pastebin account. Haven't gotten that far yet. Tell me what everyone thinks! How to use it (Click to View) Download (Click to View) Have fun! * - iRtehLeet™ - Jun 15, 2012 Why not just release open source? [email=]You are not supposed to be reading this. Please do not continue reading and exit your browser immediately.[/email] * - SomeWhiteGuy - Jun 15, 2012 (Jun 15, 2012 07:43 PM)iRtehLeet™ Wrote: Why not just release open source? [email=]You are not supposed to be reading this. Please do not continue reading and exit your browser immediately.[/email] Because no one asked. Do you want the source? * - Invicta - Jun 15, 2012 Posting the source helps. I'd be interested in that more so than the DLL itself. * - Deceptive - Jun 15, 2012 Should make the parameter options(notice optional) to specify the shit already, bad explanation: Here is what I mean. Code Dim P As New Paste(Content, Title)Get it? * - Meerkat. - Jun 16, 2012 (Jun 15, 2012 08:33 PM)Deceptive Wrote: Should make the parameter options(notice optional) to specify the shit already, bad explanation: Yeah, would be nice. Also, does it freeze the main thread if you use submit? I can imagine that it freezes a little on slow computers. Perhaps an event, like UploadComplete? Anyways, this looks good as usual. * - MistaCode - Jun 16, 2012 Whow soon you will see my program if im willing to do this :D but does this include like the Highlighting? EDIT: ohh didn't see the other features sorry... * - SomeWhiteGuy - Jun 17, 2012 (Jun 15, 2012 08:33 PM)Deceptive Wrote: Should make the parameter options(notice optional) to specify the shit already, bad explanation: Updating it to include that. I was going to do that in the beginning but I just didn't really see a point. (Jun 16, 2012 12:36 AM)Mavamaarten~ Wrote: Yeah, would be nice. I honestly doubt that it would freeze, it takes less than a second to upload. Your computer would have to be complete shit for it to freeze. It's extremely fast because it uses their API and not some random shit, lol. If anyone runs into freezing then let me know and I'll make it multi-threaded of just add an event like you suggested. I'm updating the library now so you can login to your account, list pastes from a user and some other things. * - Meerkat. - Jun 17, 2012 I don't mean freezing because their computer is shit, but what if you're on a dial up connection and you want to upload a paste? It'd freeze for a while :D * - SomeWhiteGuy - Jun 17, 2012 (Jun 17, 2012 11:35 AM)Mavamaarten~ Wrote: I don't mean freezing because their computer is shit, but what if you're on a dial up connection and you want to upload a paste? It'd freeze for a while :D My connection is basically dial up, lol. I'm running < 1MB per second. 🤣 * - Meerkat. - Jun 17, 2012 (Jun 17, 2012 11:37 AM)SomeWhiteGuy Wrote: My connection is basically dial up, lol. I'm running < 1MB per second. 🤣 I have 25 mbit here, but when I'm on vacation I usually have like 6 kb/s download speed. It's absolute torture for me. I'm downloading movies, games, ... all the time and there I can't even check my email haha * - SomeWhiteGuy - Jun 17, 2012 (Jun 17, 2012 11:52 AM)Mavamaarten~ Wrote: I have 25 mbit here, but when I'm on vacation I usually have like 6 kb/s download speed. It's absolute torture for me. I'm downloading movies, games, ... all the time and there I can't even check my email haha That fucking sucks, at my house I have about the same speed. Usually around 20MB/sec. I'm at my step-dads right now and the DL speed is like 20kb/sec. 😑 * - Kenny252 - Jun 17, 2012 (Jun 17, 2012 11:54 AM)SomeWhiteGuy Wrote: That fucking sucks, at my house I have about the same speed. Usually around 20MB/sec. I'm at my step-dads right now and the DL speed is like 20kb/sec. 😑 Lucky! I get like 600KB/s no matter what. I gotta convince my parents to move the modem into my room 😑 * - Team4o4 - Jun 17, 2012 35MB/s DL and 6MB/s UL Jealous? I must haz 35 characterz what tis dis? * - Vigor - Jun 17, 2012 Making it multithreaded is a good idea regardless of your net's speed. What if you want to make a bunch of pastes at once? It'll freeze up the GUI thread. Or you could just leave the multithreading up to the user. It doesn't really matter =P. |