- 1
<meta http-equiv="X-UA-Compatible" content="IE=Эмуляция IE8">Нашли или выдавили из себя код, который нельзя назвать нормальным, на который без улыбки не взглянешь? Не торопитесь его удалять или рефакторить, — запостите его на говнокод.ру, посмеёмся вместе!
Всего: 47
+132
<meta http-equiv="X-UA-Compatible" content="IE=Эмуляция IE8">Братишка, плесни мне ие восемь пжалста
+121
#Creates an array with the frequencies from C2 to C5, 37 notes in all
for j from 1 to 37
	if j = 1 
	notes [j] = 65.41 # лёгкие пути не нужны
	endif
	if j = 2
	notes [j] = 69.30
	endif
# ...дальше понятно...
endfor
# <...>
#Determining whether or not the scale contains C
#This determines how many notes of the 37 possible must be included.
noCList [1] = 3 # опа, а вот тут уже научились числовые индексы использовать
noCList [2] = 5
noCList [3] = 7
noCList [4] = 10
noCList [5] = 12
noC = 0
for n from 1 to 5
	if 'starter' = noCList['n']
		noC = 1
	endif
endfor
#If there is a C...
if noC = 0
#The for loop mathematically selects the scale notes to use
for m from 1 to 22
	if 'm' = 1
		noteind = 'starter'
	endif
	if 'm' = 2
		noteind = 'starter' + 2
		if 'noteind' > 37
			noteind = 'noteind' - 36
		endif
	endif
# ...ага-ага...
	scalenotes ['m'] = notes['noteind']
endfor
#If there is not a C...
else
for m from 1 to 21
	if 'm' = 1
		noteind = 'starter'
	endif
	if 'm' = 2
		noteind = 'starter' + 2
		if 'noteind' > 37
			noteind = 'noteind' - 36
		endif
	endif
# ...так точно...
	scalenotes ['m'] = notes['noteind']
endfor
endif
# <...>
#Add new pitch information
#For each point, we move the freq to the closest scale note
for q from 1 to 'numPoints'
	#The original freq of pitch
	currentfreq = pitches['q']
	#A starting threhold for difference between original and a musical note
	diff = 50
	#If there is C in the scale, making 22 possible notes to tune to...
	if 'noC' = 0
	#For loop finds the lowest difference between original pitch and a musical note
	for c from 1 to 22
		diff2 = abs('currentfreq' - scalenotes['c'])
		if 'diff2' < 'diff'
			diff = 'diff2'
			noteindex = 'c'
		endif
	endfor
	#Otherwise if there is not a C...
	else
	for c from 1 to 21
		diff2 = abs('currentfreq' - scalenotes['c'])
		if 'diff2' < 'diff'
			diff = 'diff2'
			noteindex = 'c'
		endif
	endfor
	endif
	#Add point at the original time with the new pitch
	Add point... times['q'] scalenotes['noteindex']
endfor
            http://schyzm.wordpress.com/2012/12/05/fun-with-praat-a-script-for-auto-tune/
Скрипт питч-коррекции для речевого анализатора Praat на встроенном языке сценариев. Не знаю, это афтар так жжот или язык располагает к черезжопию, но что-то тут воняет однозначно.
        
+133
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function() {		
	// ...skipped...
});  
</script>
<!-- end script vert menu -->
<!-- spoiler -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"> </script>
<script type="text/javascript"> 
$(document).ready(function(){ 
// ...skipped...
});
</script>
<!-- spoiler -->
<!-- up-->
<script language="JavaScript" type="text/javascript"
src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js">
</script><!--up-->
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' type='text/javascript'></script>
<script type="text/javascript" src="ajax.js"></script>
<!-- gallery -->  
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>jQuery в организме не хватает?..
+62
// ==================================================================== //
    /**
     * Процедура установки плагина
     * @return bool
     */
    public function install(){
        return parent::install();
    }
// ==================================================================== //
    /**
     * Процедура обновления плагина
     * @return bool
     */
    public function upgrade(){
        return parent::upgrade();
    }
            Если завтра война и автоматическое наследование методов отменят - мы не пропадём!
InstantCMS v. 1.9
        
+153
<!--[if IE 6]><script>
	var ____________ie6 = true;
</script><![endif]-->Из кода страницы почтового ящика на mail.ru. И зачем было когда-то ругать себя за govnokod.ru/5573 - даже большие дядьки так делают, чё я!
+56
$where = str_replace("post_status = 'publish'","post_status = 'publish' OR post_status = 'future' OR post_status = 'draft' OR post_status = 'inherit'", $where);Wordpress. Govnocode is poetry
+66
$pr = array();
foreach ($params as $k => $v)
    $pr[] .= urlencode($k).'='.urldecode($v);
$data = join('&', $pr);
            http_build_query() для слабаков! Только велосипеды, только выстрел себе в ногу.
/netcat/admin/nc_adminnotice.class.php
        
+70
if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/product/compare.tpl')) {
	$this->template = $this->config->get('config_template') . '/template/product/compare.tpl';
} else {
	$this->template = 'default/template/product/compare.tpl';
}Спешите видеть в конце каждого контроллера OpenCart. Ох уж это MVC ради MVC...
+157
if(intval($data[0])>0){
  $massart=explode(" ",$data[1]);
  if($massart[0]){
    $infoarticle=mysql_query("SELECT `Message_ID`, `ExternalData` FROM `Message114` where `Article`='".mysql_escape_string($massart[0])."';");
    if(mysql_num_rows($infoarticle)){
      while($infoarticlerow=mysql_fetch_array($infoarticle)){ 
        $arrowitem["".$massart[0]]['name']=$data[1];
        $arrowitem["".$massart[0]]['id']=$infoarticlerow['Message_ID'];
        $arrowitem["".$massart[0]]['info']=$infoarticlerow['ExternalData'];
        for ($c=5; $c < $num; $c++) {
          if(intval($data[$c])>0){
            $arrowitem["".$massart[0]]['size'][$mssize[$c]]=$data[$c];    
          }
        }   
        if(floatval($arrowitem["".$massart[0]]['price'])==0){
          $arrowitem["".$massart[0]]['price']=floatval($data[3]);
        }else{
          if(floatval($arrowitem["".$massart[0]]['price'])>floatval($data[3])){
            $arrowitem["".$massart[0]]['price']=floatval($data[3]); 
          }
        }           
      } 
    }else{
      $notnetcat[]=$data[1];  
    }
  }
}От нехватки рабочих рук отдали одну правку на фриланс. Рвусь между желанием всё переписать по-человечески и со спокойной совестью отчитаться перед заказчиком либо же забить (парню заплатили, блеать!), но потом краснеть за глюки этого чудо-кода, которые, жопой чую, обязательно возникнут.
+168
<?php
    /*
    
        localhost Ltd - ALPHA CMS
        
        Version: 8.0
        
        File name: features_portability.php
        Description: This file contains the FEATURES PORT MODEL class.
        
        Coded by George Delaportas (G0D)
        
        localhost Ltd
        Copyright (c) 2011
    
    */
    
    
    
    // FEATURES PORT MODEL class
    class FEATURES_PORT_MODEL extends ROOT_MODEL
    {
    
        
    }
    
    
    
    /* ---------- End ---------- */
?>ALPHA CMS. Таких вот пустых классов ВРОТКОМПОТ_MODEL сорок шесть штук. Форматирование сохранено.