PasteSite.Com

Recent Pastes

Sign Up!

PasteSite is open to the public, but with limited features. Register to be able to modify access rights, track your pastes and more...

Change the theme

If you prefer reading light text on a dark background to dark text on a light background, then you might want to try the dark theme.

Banjo's Recent Pastes

"Re: #10157" (HTML) view

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2.     <html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3.     <head>
  4.         <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
  5.         <title>Sign In</title>
  6.         <link rel="shortcut icon" href="http://cruels.net/favicon.ico" />
  7.        
  8.    
  9.                
  10.    

"Untitled" (HTML) view

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2.     <html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3.     <head>
  4.         <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
  5.         <title>Sign In</title>
  6.         <link rel="shortcut icon" href="http://cruels.net/favicon.ico" />
  7.        
  8.    
  9.                
  10.    

"Untitled" (C/C++) view

  1.             using (WebClient Client = new WebClient())
  2.             {
  3.                 string Html = Client.DownloadString("http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=366446445");
  4.  
  5.                 int Start = Html.IndexOf("Profile Views:&nbsp;");
  6.                 Start = Html.IndexOf(Environment.NewLine, Start);
  7.  
  8.                 int End = Html.IndexOf("<br>", Start);
  9.  
  10.                 string Views = Html.Substring(Start, End - Start);

"Re: #10137" (PHP) view

  1. <?php
  2.  
  3. /*Retreive Dat*/
  4.  
  5. $start = strpos($content,'Profile Views:  '); //Possibly + 16 on here
  6.  
  7. $end = strpos($content,'',$start);
  8.  
  9. $table = substr($content,$start,$end-$start);
  10.  

"Untitled" (PHP) view

  1. /*Retreive Dat*/
  2.  
  3. $start = strpos($content,'Profile Views:  '); //Possibly + 16 on here
  4.  
  5. $end = strpos($content,'',$start);
  6.  
  7. $table = substr($content,$start,$end-$start);
  8.  
  9. ?>

"Untitled" (Plain Text) view

  1. (20:27:17)<Dolleh>HOMG ed has a life! :O
  2. (20:27:58)<Trice>not bad mate. Yourself?
  3. (20:28:12)<Ben>Dolleh today is his last day =[
  4. (20:28:20)<Shadow>Hello everyone. For the longest time I haven't been able to figure out how to ban IPs via .htaccess. I know how to google things, and I've tried all. Would anyone care to explain the proper way, as setup here on Zymic?
  5. (20:28:22)<Ben>We think hes gone off with some bird, emma!
  6. (20:28:35)<Dolleh>or maybe... BIRDS!
  7. (20:28:38)<Ben>:O
  8. (20:28:39)<Trice>hahaha
  9. (20:28:39)<Craig>Not too bad Trice. Haven't spoke in a while, what you been up to?
  10. (20:28:43)<Ben>Ed is a stud!!

"Re: Re: #9946" (VBScript) view

  1. Public Class Form1
  2.  
  3.     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  4.         '// The button where it happens.
  5.         Clipboard.SetText(UploadFile("ftp://mysite.com/", "User@mysite.com", "Password", "Files", "http://mysite.com/", 120000, "C:\Users\Creme\File.txt"))
  6.     End Sub
  7.  
  8.     Public Function UploadFile(ByVal Host As String, ByVal Username As String, ByVal Password As String, ByVal Directory As String, ByVal Website As String, ByVal Timeout As Integer, ByVal FilePath As String) As String
  9.         ' Uploads the file.
  10.         My.Computer.Network.UploadFile(FilePath, Host & "/" & Directory & "/" & System.IO.Path.GetFileName(FilePath), Username, Password, True, Timeout, FileIO.UICancelOption.ThrowException)

"Re: #9946" (VBScript) view

  1.     Public Function UploadFile(ByVal Host As String, ByVal Username As String, ByVal Password As String, ByVal Directory As String, ByVal Website As String, ByVal Timeout As Integer, ByVal FilePath As String) As String
  2.         ' Uploads the file.
  3.         My.Computer.Network.UploadFile(FilePath, Host & "/" & Directory & "/" & System.IO.Path.GetFileName(FilePath), Username, Password, True, Timeout, FileIO.UICancelOption.ThrowException)
  4.  
  5.         ' Returns the url.
  6.         Return (Website & "/" & Directory & System.IO.Path.GetFileName(FilePath))
  7.     End Function
  8.  
  9.     ' This function would be used like this.
  10.     UploadFile("ftp://mysite.com/", "User@mysite.com", "Password","Files", "http://mysite.com/",120000,"C:\Users\Creme\File.txt")

"Untitled" (VBScript) view

  1.     Public Function UploadFile(ByVal Host As String, ByVal Username As String, ByVal Password As String, ByVal Directory As String, ByVal Website As String, ByVal Timeout As Integer, ByVal FilePath As String) As String
  2.         ' Uploads the file.
  3.         My.Computer.Network.UploadFile(FilePath, Host & "/" & Directory & "/" & System.IO.Path.GetFileName(FilePath), Username, Password, True, Timeout, FileIO.UICancelOption.ThrowException)
  4.  
  5.         ' Returns the url.
  6.         Return (Website & "/" & Directory & System.IO.Path.GetFileName(FilePath))
  7.     End Function
  8.  
  9.     ' This function would be used like this.
  10.     UploadFile("ftp://mysite.com/", "User@mysite.com", "Password","Files", "http://mysite.com/",120000,"C:\Users\Creme\File.txt")

"Untitled" (C/C++) view

  1. public static Bitmap ScreenRec(Rectangle Area)
  2. {
  3.     Bitmap tmpBtm = new Bitmap(Area.Width, Area.Height);
  4.  
  5.     using (Graphics G = Graphics.FromImage(tmpBtm)) {
  6.         G.CopyFromScreen(Area.Location, new Point(), Area.Size);
  7.     }
  8.  
  9.     return tmpBtm;
  10. }

« Page: 1, 2, 3, 4.. »