Jump to content

Angablade

Active Members
  • Posts

    46
  • Joined

  • Last visited

About Angablade

  • Birthday 12/08/1989

Contact Methods

  • AIM
    Angablade
  • MSN
    Angablade@Hotmail.com
  • Website URL
    http://Angablade.hopto.org/
  • ICQ
    459238422
  • Yahoo
    Angablade@yahoo.com

Profile Information

  • Gender
    Male
  • Location
    In your head.

Recent Profile Visitors

3,449 profile views

Angablade's Achievements

Newbie

Newbie (1/14)

  1. I realize that it would be awesome to do this whole dvd thing, but you know as well as I do, not even after one person gets a set. Someone will be downloading from thepiratebay.. haha.. shit happens tho.
  2. Wow, this 'joke' thread blew up like I wouldn't have believed. I am intrigued that this many people actually responded to something that is this udder stupid. But hey, what can you really do? So I am going to sit back and watch this thread grow more and more over something like this, and watch as my post disappear among those idiotic posts. What ever tho.
  3. I am also looking for the Teensy++ 2.0 for the PSGroove. I don't really have that much old stuff anymore.. I use most of it again for old projects, but I can code, and I have money. Come on people.. You know you need me for something. :D
  4. To be quite honest, programming is moving away from more unmanaged code platforms, and towards a framework platform. So Python would be out. (as useful as it may be.) Ruby is just garbage stacked on top of other garbage. This is not needed in the real world, and anyone running this, I ask you to change. In depth Visual Basic is currently the standard in programming classes around the country, and would be a nice look over. Windows power shell is just not as needed anymore. Bash scripting is always fun! If I had time (because I already know vb in depth) I would check this out. Of the two, any would be fine. It's really down to choice anyways.
  5. The first bit is tested and works for me. This is the code that uploads the videos to youtube. I commented this code a lot. <?php //** Configuring the emailing area for the upload **// $my_to = ""; // the email that youtube gives you for uploading a video from your phone (http://www.youtube.com/mobile) $my_file = ""; //The actual file name $my_path = $_SERVER['DOCUMENT_ROOT']."/your_path_here/"; // The directory that the file is located in $my_name = ""; // Just your name or something $my_mail = ""; // Email used to register the youtube account with $my_replyto = ""; // Leave empty $my_subject = ""; // Title of video $my_message = ""; // Description of video //** PHP mail function that will send the email || DO NOT EDIT THIS **// function mail_attachment($filename, $path, $mailto, $from_mail, $from_name, $replyto, $subject, $message) { $file = $path.$filename; $file_size = filesize($file); $handle = fopen($file, "r"); $content = fread($handle, $file_size); fclose($handle); $content = chunk_split(base64_encode($content)); $uid = md5(uniqid(time())); $name = basename($file); $header = "From: ".$from_name." <".$from_mail.">\r\n"; $header .= "Reply-To: ".$replyto."\r\n"; $header .= "MIME-Version: 1.0\r\n"; $header .= "Content-Type: multipart/mixed; boundary=\"".$uid."\"\r\n\r\n"; $header .= "This is a multi-part message in MIME format.\r\n"; $header .= "--".$uid."\r\n"; $header .= "Content-type:text/plain; charset=iso-8859-1\r\n"; $header .= "Content-Transfer-Encoding: 7bit\r\n\r\n"; $header .= $message."\r\n\r\n"; $header .= "--".$uid."\r\n"; $header .= "Content-Type: application/octet-stream; name=\"".$filename."\"\r\n"; // use different content types here $header .= "Content-Transfer-Encoding: base64\r\n"; $header .= "Content-Disposition: attachment; filename=\"".$filename."\"\r\n\r\n"; $header .= $content."\r\n\r\n"; $header .= "--".$uid."--"; mail($mailto, $subject, "", $header); } //** Mailing the actual Video to youtube for uploading || DO NOT EDIT THIS **// mail_attachment($my_file, $my_path, $my_to, $my_mail, $my_name, $my_replyto, $my_subject, $my_message); //** Add any code to delete the uploaded video or something here **// // Do what you wish here. delete the video, do something else.. idc ?> This next bit I have not fully tested. This bit of code should grab information about a video, and also preform a 'I'm feeling lucky' kind of search for youtube. <?php Function sectomin($seconds) { $minutes = 0; while($seconds > 60) { $minutes += 1; $seconds -= 60; }; If(strlen($seconds) == 1) { $seconds = 0 . $seconds; }; Return $minutes . ":" . $seconds; } Function Get_Info($youtubeurl) { $rpme = array("http://","www.",".com","youtube"); $VID = str_ireplace($rpme, "", $youtubeurl); $VID = substr($VID, strpos($VID,"v=") + 3, strlen($VID) - strpos($VID,"v=") + 3); If(strstr($VID,"&")) { $VID = substr($VID, 0, strpos($VID,"&") - 1); } $html = str_ireplace("\n","",fopen("http://www.youtube.com/watch?v=" . $VID, "r")); $Video_id = $VID; $title = substr($html, strpos($html,"<title>") + 18, strlen($html) - strpos($html,"<title>") + 18); $title = substr($title, 0, strpos($title,"</title>") - 1); $author = substr($html, strpos($html,"hLink fn n contributor") + 25, strlen($html) - strpos($html,"hLink fn n contributor") + 25); $author = substr($author, 0, strpos($author,"</a>")); $views = substr($html, strpos($html,"watch-view-count") + 19, strlen($html) - strpos($html,"watch-view-count") + 19); $views = substr($views, 0, strpos($views,"</span>")); $rate_count = substr($html, strpos($html,"ratingMessage"), strlen($html) - strpos($html,"ratingMessage")); $rate_count = substr($rate_count, 0, strpos($rate_count,"</span>")); $rate_count = substr($rate_count, strpos($rate_count,"<span"), strlen($rate_count) - strpos($rate_count,"<span")); $rate_count = str_ireplace("><span class=\"smallText\">", "", $rate_count); $holder = str_ireplace("\n","",fopen("http://www.youtube.com/get_video_info?video_id=" . $VID, "r")); $rating = substr(holder, strpos($holder,"avg_rating=") + 12, strlen($holder) - strpos($holder,"avg_rating=") + 12); $rating = substr($rating, 0, strpos($rating," . ")); $rating = substr($rating, 1, 3); $description = substr($html, strpos($html,"watch-video-desc description") + 45, strlen($html) - strpos($html,"watch-video-desc description") + 45); $description = substr($description, 0, strpos($description,"</span>")); $rpne = array("<br>","<br/>","<br />"); $description = str_ireplace($rpne, "", $description); $length = substr($html, strpos($html,"\"length_seconds") + 20, strlen($html) - strpos($html,"\"length_seconds") + 20); $length = substr($length, 0, strpos($length,"\"")); $length = sectomin($length); $rpqe = array("'",";"); $hostlang = str_ireplace($rpqe, "", substr($html, strpos($html,"ytLocale = ") + 12, strlen($html) - strpos($html,"ytLocale = ") + 12)); $keywords = substr($html, strpos($html, "keywords") + 12, strlen($html) - strpos($html, "keywords") + 12); $keywords = substr($keywords, 0, strpos($keywords,"\"")); $keywords = str_ireplace("%2C", ", ", $keywords); $token = substr($html, strpos($html,", \"t\":") + 9, strlen($html) - strpos($html,", \"t\":") + 9); $token = substr($token, 0, strpos($token, "\"")); $token = str_ireplace("%3D", "=", $token); $thumbnailurl = "http://i3.ytimg.com/vi/" . $VID . "/default.jpg"; Return array($title, $length, $rating, $rate_count, $author, $Description, $keywords, $views, $hostlang, $token, $thumbnailurl, $Video_id); } Function do_search($keywords) { $url = "http://www.youtube.com/results?search_query=" . str_ireplace(" ", "+", $keywords); $html = str_ireplace("\n","",fopen($url, "r")); $VID = substr($html, strpos($html,"video-main-content-"), strlen($html) - strpos($html,"video-main-content-")); $VID = substr($VID, 0, strpos($html,"\"") - 1); Return "http://www.youtube.com/watch?v=" . $VID; } ?> Questions? Comments? Suggestions? Please post them below. I should be able to answer them fairly quickly if I am paying attention. I am releasing this here because I know that I sent Darren a copy, but he is busy, so let the community benefit from the work! If you use this code in something, please post it here. I would love to see what you did with this code. I would also like to state that I would like some form of credit, IF you use this for commercial use. Other then that. Have fun muxxing with the code. I hope you have fun with it.
  6. As some of you may know, when you update to the newest version of xbmc, 90% of your scripts no longer work. I plan on changing that and fixing some of them. If you would like one fixed, let me know, and I will work on it. They will all be posted as an updated version from me, on my server located here: Link. If you want to make a request, email he: Link with the subject as xbmc script update and the body as the link to the file. You will receive a followup with a link to the server saying that it has been updated. I have already updated and modded the old Rev3 Script 0.1.9. I now have a Rev3 0.2.0 From me located in the Script repository on my server. Script Repository: Link I know it's a bit bare. If you have trouble with the mime types, and it is only sending you to a page of crap, press backl and right click, and hit save as. More updates to come!
  7. it's easy.. change the < and > and " into < and > and &quote; through the input.. in php Rendering most if not all of XSS usless...
  8. This might be more work and more money that what you would pay for a simple adapter..
  9. The visual basic programming language is basic and easy enough to make a rough app for demonstration. I also have used it to make a GUI. It turned out good. Who would pay $10 for this? anyone with a week of life to waste could remake this. This is not practical. Good try I guess. But as stated, this is not a phishing site. You will not get all of the praise you would normally get at a normal forum not based on computers. Better luck next time!
  10. It looks like it should fit. The problem is tho.. You could always make a parabolic antenna cheaper and easier than buying something off the internet.But if you like ease over fun, then go the way your on. If you need any extra information on the antenna I mentioned, you can find it out on this website: http://tinyurl.com/g2lmt
  11. A preferred Linux distro is best chosen by the user. Check out a few. http://www.linux.org/
  12. I believe that I am the only person on the forum that is able, and without consequence (for some reason), to use the 'dots' things that 'H@L0_F00' is talking about. But to get back on subject. Please search this site as well. Seeing the same questions posted over and over again can become annoying. When asking said question, please try to use complete sentences. Having random words jumbled together really doesn't help anyone in the end. Smiles posted over and over again really do not help either. Being similar to the 'dots' part posted above, this can become annoying and make people not want to even read the question. The bottom line is: Make sure you make your post make sense, and that you don't sound, or look like a complete moron. Acting like one, will get you treated like one.
  13. I would like to know if it would be possible for the hak5 team to export the show into mkv. If so, please note below. In my honest opinion, I believe that mkv supports higher quality video and audio, as well as the added features supporting subtitles. I know that subtitles in a loud area.. of typing keyboards.. clicking away would be nice. It would also be nice to be able to catch those nice little mess up's form the crew in the subtitles.. or extra content. (dual video or audio file). Well.. we can talk about this below.. and if it's in the wrong section.. please note it and move it. Thanks.
  14. I got an idea.. it would be cool i guess.. I see your problem.. and only thought of an awesome idea.. dual vnc on another computer hooked up to the projector.. and that is the only thing.. i can think of...
×
×
  • Create New...