1. Список говнокодов пользователя eg0r

    Всего: 2

  2. Куча / Говнокод #18353

    +144

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    $ git log --pretty=oneline
    
    c8220f95d1b11d2e8a2d57cf4349c40a180bd7f3 Commit 33
    6eeac872fa772c2ea1d57faf286f6520fc831777 Commit 32
    fba42d3f0a6678e670d477bcc0c56819cafd34f9 Commit 31
    4292c5dc9cb9c4360f7ad03b2d5ecabbeb451a55 Commit 30
    2ba640394371f0fd44296c41b99fd42f6abfaf95 Commit 29
    80aa4d6754e5f82f3b111075747fd74f63e1a26c Commit 28
    7f43aa08d9d94e6c09f6435635942010320a824e Commit 27
    574524bf2b0dcb8070ce46ced75cec626e7c84ad Commit 26
    eb620063a690c489e746e2f5633771da66df0903 Commit 25
    
    ...

    https://github.com/gikraychik/bets

    eg0r, 17 Июня 2015

    Комментарии (8)
  3. PHP / Говнокод #18352

    +142

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    public function uninstall()
    	{
    		if (!Configuration::deleteByName('YC_SHOPID')
    				|| !Configuration::deleteByName('YC_SCID')
    				|| !Configuration::deleteByName('YC_SHOPPASSWORD')
                                    || !!Configuration::deleteByName('YC_ALLOW_YANDEXMONEY')
                                    || !!Configuration::deleteByName('YC_ALLOW_BANK_CARD')
                                    || !!Configuration::deleteByName('YC_ALLOW_MOBILE')
                                    || !!Configuration::deleteByName('YC_ALLOW_TERMINAL')
                                    || !!Configuration::deleteByName('YC_ALLOW_WEBMONEY')
                                    || !!Configuration::deleteByName('YC_ALLOW_SBERBANK')
                                    || !!Configuration::deleteByName('YC_ALLOW_MPOS')                        
                                    || !!Configuration::deleteByName('YC_DEMO_MODE')
    				|| !parent::uninstall())
    			return false;
    		return true;
    	}

    https://github.com/anisimow/yacassa/blob/master/yacassa/yacassa.php#L64

    eg0r, 17 Июня 2015

    Комментарии (0)