A Pen by Mykhas' Kobernyk on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* User: Михась | |
* Date: 07.10.12 | |
* Time: 13:16 | |
*/ | |
$file = './application/views/admin/addpaymentuser.tpl.tpl'; | |
$lang_file = './application/language/russian/admin_lang.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* User: Михась | |
* Date: 07.10.12 | |
* Time: 13:16 | |
*/ | |
$file = './application/views/admin/addpaymentuser.tpl'; | |
$lang_file = './application/language/russian/admin_lang.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! function (e, t) { | |
function n(e) { | |
var t, n, r = O[e] = {}; | |
for (e = e.split(/\s+/), t = 0, n = e.length; n > t; t++) r[e[t]] = !0; | |
return r | |
} | |
function r(e, n, r) { | |
if (r === t && 1 === e.nodeType) { | |
var i = "data-" + n.replace(q, "-$1").toLowerCase(); |
A Pen by Mykhas' Kobernyk on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" type="text/css" href="css.css"> | |
<title>Halloween</title> | |
<meta charset="utf-8"> | |
</head> | |
<body> | |
<form method="post"> | |
<input type="text" name="name"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* React Starter Kit (https://www.reactstarterkit.com/) | |
* | |
* Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE.txt file in the root directory of this source tree. | |
*/ | |
import React from 'react'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lucky :: Integral a => a -> String | |
lucky 7 = "THAT'S SEVEN!" | |
lucky x = "Not a seven" | |
factorial :: Integral a => a -> a | |
factorial 0 = 1 | |
factorial n = n * factorial (n - 1) | |
addVectors :: Integral a => (a, a) -> (a, a) -> (a, a) | |
addVectors (x1, y1) (x2, y2) = ((x1 + x2), (y1 + y2)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sum' :: Num a => [a] -> a | |
sum' xs = case xs of | |
[] -> 0 | |
(x:xs) -> x + sum' xs | |
initials :: String -> String -> String -- чому не працює String a => a -> a -> a | |
initials fn ln = [f] ++ " " ++ [l] | |
where (f:_) = fn | |
(l:_) = ln |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fibie :: Integral a => a -> a | |
fibie a = case a of | |
0 -> 0 | |
1 -> 1 | |
n -> fibie (n - 1) + fibie (n - 2) | |
maximum' :: Ord a => [a] -> a | |
maximum' xs = case xs of | |
[] -> error "It's empty" | |
[x] -> x |
OlderNewer