This file contains hidden or 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 <math.h> | |
| #include <stdlib.h> | |
| #include <locale.h> | |
| #define N 13 | |
| #define M 8 | |
| float Q[M]; | |
| void DeriveV(int V); |
This file contains hidden or 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
| import vk | |
| import json | |
| import datetime | |
| from unidecode import unidecode | |
| import csv | |
| week = {0:"Monday", 1:"Tuesday", 2:"Wednesday", 3:"Thursday", 4:"Friday", 5:"Saturday", 6:"Sunday"} | |
| session = vk.Session() | |
| api = vk.API(session) |
This file contains hidden or 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
| class State(object): | |
| def on_trigger(self, trigger): | |
| pass | |
| def _on_trigger(self, trigger): | |
| log.debug("== " + str(self)) | |
| return self.on_trigger(trigger) | |
| def on_enter(self, trigger): |
This file contains hidden or 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/python | |
| # -*- coding: utf-8 -*- | |
| import random | |
| def pokemon_head(): | |
| print(""" | |
| , .::. | |
| PokeMon Logo Converted .;:**' AMC |
This file contains hidden or 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/python | |
| # -*- coding: utf-8 -*- | |
| def pokemon(): | |
| print(""" | |
| .::. | |
| .;:**' AMC | |
| ` 0 | |
| .:XHHHHk. db. .;;. dH MX 0 | |
| oMMMMMMMMMMM ~MM dMMP :MMMMMR MMM MR ~MRMN |
This file contains hidden or 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
| SELECT | |
| fio ФИО, | |
| "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", | |
| HOLIDAY Итого | |
| FROM | |
| (SELECT * | |
| FROM ( | |
| SELECT | |
| fio, | |
| RN, |
This file contains hidden or 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
| match some_func(5) { | |
| Ok(val) => println!(“Value is {}”, val), | |
| Err(SmErr::NotFound) => println!(“Not found”), | |
| Err(SmErr::Descr(dsc)) => println!(“Err: {}”, dsc), | |
| Err(_) => println!(“Who cares?”), | |
| } |
This file contains hidden or 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
| let x = 3; | |
| let number = match x { | |
| 1 => "one", | |
| 2 => "two", | |
| 3 => "three", | |
| _ => "something else", | |
| }; |
This file contains hidden or 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
| fn main() { | |
| println!("Hello world!"); | |
| } |