Mistři v programování na #hovnokod

Indický kód, zřejmě se používá v produkci.

public ResponseEntity<?> createNewFile(String dummayValue) {
		LOGGER.fatal(dummayValue);
		return null;
	}

slanecek,


Anonymous,

Pre istotu ...

@keyframes animation{
	0%   {left: 0;}
	1%	 {left: 0;}
	2%	 {left: 0;}
	3%	 {left: 0;}
	4%	 {left: 0;}
	5%	 {left: 0;}
	6%	 {left: 0;}
	7%	 {left: 0;}
	8%	 {left: 0;}
	9%	 {left: 0;}
	10%	 {left: 0;}
	11%  {left: 0;}
	12%	 {left: 0;}
	13%	 {left: 0;}
	14%	 {left: 0;}
	15%	 {left: 0;}
	16%	 {left: 0;}
	17%	 {left: -25%;}
	18%	 {left: -50%;}
	19%	 {left: -75%;}
	20%	 {left: -100%;}
	21%	 {left: -100%;}
	22%	 {left: -100%;}
	23%	 {left: -100%;}
	24%	 {left: -100%;}
	25%	 {left: -100%;}
	26%	 {left: -100%;}
	27%	 {left: -100%;}
	28%	 {left: -100%;}
	29%	 {left: -100%;}
	30%	 {left: -100%;}
	31%	 {left: -100%;}
	32%	 {left: -100%;}
	33%	 {left: -100%;}
	34%	 {left: -100%;}
	35%	 {left: -100%;}
	36%	 {left: -100%;}
	37%	 {left: -125%;}
	38%	 {left: -150%;}
	39%	 {left: -175%;}
	40%	 {left: -200%;}
	41%	 {left: -200%;}
	42%	 {left: -200%;}
	43%	 {left: -200%;}
	44%	 {left: -200%;}
	45%	 {left: -200%;}
	46%	 {left: -200%;}
	47%	 {left: -200%;}
	48%	 {left: -200%;}
	49%	 {left: -200%;}
	50%	 {left: -200%;}
	51%	 {left: -200%;}
	52%	 {left: -200%;}
	53%	 {left: -200%;}
	54%	 {left: -200%;}
	55%	 {left: -200%;}
	56%	 {left: -200%;}
	57%	 {left: -225%;}
	58%	 {left: -250%;}
	59%	 {left: -275%;}
	60%	 {left: -300%;}
	61%	 {left: -300%;}
	62%	 {left: -300%;}
	63%	 {left: -300%;}
	64%	 {left: -300%;}
	65%	 {left: -300%;}
	66%	 {left: -300%;}
	67%	 {left: -300%;}
	68%	 {left: -300%;}
	69%	 {left: -300%;}
	70%	 {left: -300%;}
	71%	 {left: -300%;}
	72%	 {left: -300%;}
	73%	 {left: -300%;}
	74%	 {left: -300%;}
	75%	 {left: -300%;}
	76%	 {left: -300%;}
	77%	 {left: -325%;}
	78%	 {left: -350%;}
	79%	 {left: -375%;}
	80%	 {left: -400%;}
	81%	 {left: -400%;}
	82%	 {left: -400%;}
	83%	 {left: -400%;}
	84%	 {left: -400%;}
	85%	 {left: -400%;}
	86%	 {left: -400%;}
	87%	 {left: -400%;}
	88%	 {left: -400%;}
	89%	 {left: -400%;}
	90%	 {left: -400%;}
	91%	 {left: -400%;}
	92%	 {left: -400%;}
	93%	 {left: -400%;}
	94%	 {left: -400%;}
	95%	 {left: -400%;}
	96%	 {left: -400%;}
	97%	 {left: -300%;}
	98%	 {left: -200%;}
	99%	 {left: -100%;}
    100% {left: 0;}
}

pitkes22,


Anonymous,

Konfigurace obsahu komba se seznamem fontů v Javě FX.

        Platform.runLater(() -> {
            final ObservableList<String> fonts = FXCollections.observableArrayList(Font.getFamilies());
            fonts.add(0, "");
            for (String fontFamily : fonts) {
                fontFamilyComboBox.setValue("");
                fontFamilyComboBox.setItems(fonts);
            }
        });

Anonymous,