Pastebiniä käytetään pidempien tekstien säilömiseen jotka pitää laittaa talteen tai joita esim. ei voi sanoa irkissä tms kätevästi ilman hirveää floodimista. Lyhykäisiä tunnisteita saa arvaamalla satunnaisesti selville, joten ei kannata pasteta mitään erityisen yksityistä.
Tekstiä mahtuu maksimissaan 64 kilotavua per paste eli älä ihmettele jos tosi pitkät pastet katkeaa, jos taas TOSI isoja pasteja tunkkaa tänne niin tulee jopa virhe eikä paste mene edes läpi. Myäskään viagra- tai cialis-sanoja sisältäviä pasteja ei hyväksytä, sillä erinäiset spämmibotit puskevat niitä vähän väliä.
Pasten nimi (vapaaehtoinen):
Värjäys: ABAPActionScriptActionScript 3AdaANTLRANTLR With ActionScript TargetANTLR With C# TargetANTLR With CPP TargetANTLR With Java TargetANTLR With ObjectiveC TargetANTLR With Perl TargetANTLR With Python TargetANTLR With Ruby TargetApacheConfAppleScriptaspx-csaspx-vbAsymptoteautohotkeyAwkBase MakefileBashBash SessionBatchfileBBCodeBefungeBlitzMaxBooBrainfuckBroCC#C++c-objdumpCFEngine3cfstatementCheetahClojureCMakeCoffeeScriptColdfusion HTMLCommon LispCoqcpp-objdumpCSSCSS+Django/JinjaCSS+Genshi TextCSS+MakoCSS+MyghtyCSS+PHPCSS+RubyCSS+SmartyCythonDd-objdumpDarcs PatchDartDebian Control fileDebian SourcelistDelphiDiffDjango/JinjaDTDDuelDylaneCECLElixirElixir iex sessionEmbedded RagelERBErlangErlang erl sessionEvoqueFactorFancyFantomFelixFortranFSharpGASGenshiGenshi TextGettext CatalogGherkinGLSLGnuplotGoGoodData-CLGosuGosu TemplateGroffGroovyHamlHaskellhaXeHTMLHTML+CheetahHTML+Django/JinjaHTML+EvoqueHTML+GenshiHTML+MakoHTML+MyghtyHTML+PHPHTML+SmartyHTML+VelocityHTTPHybrisINIIoIokeIRC logsJadeJavaJava Server PageJavaScriptJavaScript+CheetahJavaScript+Django/JinjaJavaScript+Genshi TextJavaScript+MakoJavaScript+MyghtyJavaScript+PHPJavaScript+RubyJavaScript+SmartyJSONKotlinLighttpd configuration fileLiterate HaskellLLVMLogtalkLuaMakefileMakoMAQLMasonMatlabMatlab sessionMiniDModelicaModula-2MoinMoin/Trac Wiki markupMOOCodeMoonScriptMuPADMXMLMyghtyMySQLNASMNemerleNewLispNewspeakNginx configuration fileNimrodNumPyobjdumpObjective-CObjective-JOCamlOctaveOocOpaOpenEdge ABLPerlPHPPL/pgSQLPostgreSQL console (psql)PostgreSQL SQL dialectPostScriptPOVRayPowerShellPrologPropertiesProtocol BufferPyPy LogPythonPython 3Python 3.0 TracebackPython console sessionPython TracebackRagelRagel in C HostRagel in CPP HostRagel in D HostRagel in Java HostRagel in Objective C HostRagel in Ruby HostRaw token dataRConsoleREBOLRedcodereStructuredTextRHTMLRubyRuby irb sessionSSassScalaScalate Server PageScamlSchemeScilabSCSSSmalltalkSmartySnobolSQLsqlite3conSquidConfStandard MLsystemverilogTclTcshTeaTeXText onlyUrbiScriptValaVB.netVelocityverilogvhdlVimLXMLXML+CheetahXML+Django/JinjaXML+EvoqueXML+MakoXML+MyghtyXML+PHPXML+RubyXML+SmartyXML+VelocityXQueryXSLTYAML
# Configs: set urltitle(ignore) "bdkqr|dkqr" ;# User flags script will ignore input from set urltitle(pubmflags) "-|-" ;# user flags required for channel eggdrop use set urltitle(length) 5 ;# minimum url length to trigger channel eggdrop use set urltitle(delay) 1 ;# minimum seconds to wait before another eggdrop use set urltitle(timeout) 60000 ;# geturl timeout (1/1000ths of a second) ################################################################################################################ # Script begins: package require http ;# You need the http package.. set urltitle(last) 111 ;# Internal variable, stores time of last eggdrop use, don't change.. setudef flag urltitle ;# Channel flag to enable script. setudef flag logurltitle ;# Channel flag to enable logging of script. set urltitlever "0.01a" bind pubm $urltitle(pubmflags) {*://*} pubm:urltitle proc pubm:urltitle {nick host user chan text} { global urltitle if {([channel get $chan urltitle]) && ([expr [unixtime] - $urltitle(delay)] > $urltitle(last)) && \ (![matchattr $user $urltitle(ignore)])} { foreach word [split $text] { if {[string length $word] >= $urltitle(length) && \ [regexp {^(f|ht)tp(s|)://} $word] && \ ![regexp {://([^/:]*:([^/]*@|\d+(/|$))|.*/\.)} $word]} { set urltitle(last) [unixtime] set urtitle [urltitle $word] if {[string length $urtitle]} { #puthelp "PRIVMSG $chan :$nick: URL Title for $word - \002$urtitle\002" puthelp "PRIVMSG $chan :$urtitle" } break } } } if {[channel get $chan logurltitle]} { foreach word [split $text] { if {[string match "*://*" $word]} { putlog "<$nick:$chan> $word -> $urtitle" } } } # change to return 0 if you want the pubm trigger logged additionally.. return 1 } proc urltitle {url} { if {[info exists url] && [string length $url]} { catch {set http [::http::geturl $url -timeout $::urltitle(timeout)]} error if {[string match -nocase "*couldn't open socket*" $error]} { #return "Error: couldn't connect..Try again later" return "" } if { [::http::status $http] == "timeout" } { #return "Error: connection timed out while trying to contact $url" return "" } set data [::http::data $http] ::http::cleanup $http set title "" if {[regexp -nocase {<title>(.*?)</title>} $data match title]} { set title [string trim [string map { {href=} "" \" "" \n "" \r ""} $title]] set words [regexp -all -inline {[a-zA-Z0-9öäåÖÄÅ]+} $title] set words_count 0 set words_found 0 foreach {word} $words { incr words_count if {[regexp -nocase $word $url match]} { incr words_found } } if {$words_found > [expr $words_count / 2]} { return "" } return $title } else { #return "No title found." return "" } } } putlog "Url Title Grabber $urltitlever (rosc) script loaded.."