Kids' 20" inch bikes research (October 2018).
Requirements:
- Good brand
- Hand brakes (not a coaster brake)
- Reasonable price
- Multiple gears (except Cleary Bikes Owl)
Results:
#!/bin/bash | |
# Recursive file convertion windows-1251 --> utf-8 | |
# Place this file in the root of your site, add execute permission and run | |
# Converts *.php, *.html, *.css, *.js files. | |
# To add file type by extension, e.g. *.cgi, add '-o -name "*.cgi"' to the find command | |
find ./ -name "*.php" -o -name "*.html" -o -name "*.css" -o -name "*.js" -type f | | |
while read file | |
do |
# akost zsh theme | |
function get_pwd() { | |
print -D $PWD | |
} | |
function precmd() { | |
print -rP ' | |
$fg_bold[green]%m$fg[white]:$(get_pwd)$reset_color $(git_prompt_info)' | |
} |
Kids' 20" inch bikes research (October 2018).
Requirements:
Results:
""" | |
Detect a cycle in a linked list. Note that the head pointer may be 'None' if the list is empty. | |
A Node is defined as: | |
class Node(object): | |
def __init__(self, data = None, next_node = None): | |
self.data = data | |
self.next = next_node | |
""" |
""" | |
Depth-First Search for binary tree | |
In-order traversal | |
""" | |
import unittest | |
class Node(object): | |
def __init__(self, data = None, left = None, right = None): | |
self.data = data |
""" | |
Breadth-First Search for binary tree | |
""" | |
import unittest | |
class Node(object): | |
def __init__(self, data = None, left = None, right = None): | |
self.data = data | |
self.left = left |
""" | |
Convert string to integer | |
""" | |
import unittest | |
class TestStringMethods(unittest.TestCase): | |
def test1(self): | |
self.assertEqual(myInt("123"), 123) |
""" | |
Convert string to integer | |
""" | |
import unittest | |
class TestStringMethods(unittest.TestCase): | |
def test1(self): | |
self.assertEqual(myInt("123"), 123) |
<?php echo ($i <= 12) ? $i : (($i <= 24) ? ($i - 12) : ($i - 24)) ?><?php echo $i < 12 ? 'am' : ($i > 23) ? 'am' : 'pm' ?> |
Экзаменатор не ставит перед собой задачу ввести в заблуждение, | |
запутать или потребовать от экзаменуемого совершить правонарушение. |