Клуб для тех кому нравится программирование и кто хочет узнать про него больше. В рамках клуба планируются встречи примерно раз в неделю, где мы будем пробовать различные языки программирования, разбирать классические алгоритмы, вместе изучать классические и не очень книги. Это не обязательные занятия и даже не факультатив, это клуб по интересам.
Keywords: SICP, FP, algorithm, rust, lisp, python, js
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
int mkdstr(char **, int (*)(void)); | |
int main() { | |
int no = 0; | |
int len; | |
int max_no; |
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
#!/bin/env python | |
# -*- coding: utf-8 -*- | |
from timeit import timeit | |
class Fib: | |
def __init__(self, end): | |
self.a = 0 | |
self.b = 1 |
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
[tox] | |
envlist = flake8,pylint,py27,coverage | |
skipsdist = True | |
[tox:hudson] | |
downloadcache = {toxworkdir}/_download | |
[testenv:flake8] | |
deps = flake8 |
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 | |
CModule::IncludeModule('iblock'); | |
$rsElements = CIBlockElement::GetList([ | |
'NAME' => 'DESC' | |
], [ | |
'IBLOCK_ID' => 13, | |
'SECTION_ID' => 80 | |
]); |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
def has_sum(x, S): | |
i = 0 | |
j = len(S) - 1 | |
while i < j: |
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
<a class="feedback" href="#feedback-modal" data-toggle="modal">Задать вопрос</a> | |
<div id="feedback-modal" class="modal fade" aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" tabindex="-1"> | |
<div style="max-width: 530px;" class="modal-dialog modal-lg"> | |
<div class="modal-content"> | |
<button aria-label="Close" data-dismiss="modal" class="close" type="button"> | |
<span aria-hidden="true">X</span> | |
</button> | |
<div class="row feedback_popup"> | |
<p class="promise">Заполните эту простую форму и наш менеджер ответит на вопрос в течение суток</p> | |
<p class="result"><?= $FORM->ShowResultStatus("") ?></p> |
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
server { | |
listen 80; | |
server_name {{ hostname }}; | |
access_log /var/log/nginx/{{ project }}.access.log; | |
error_log /var/log/nginx/{{ project }}.error.log; | |
client_max_body_size 100m; | |
keepalive_timeout 180; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
package quicksort | |
func breakpoint(a []int) int { | |
return a[len(a)/2] | |
} | |
func split(a []int, b int) int { | |
L, R := 0, len(a)-1 | |
for { |
OlderNewer