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
// | |
// main.c | |
// Lab1 | |
// | |
// Created by Amin Benarieb on 08/09/15. | |
// Copyright (c) 2015 Amin Benarieb. All rights reserved. | |
// | |
/* | |
Требования: | |
• Написать программу, которая считывает из текстового файла целые числа в массив и выполняет обработку этого массива |
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
// | |
// module.c | |
// | |
// | |
// Created by Amin Benarieb on 13/09/15. | |
// | |
// | |
#include "module.h" |
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
// | |
// testmain.c | |
// Lab1Test | |
// | |
// Created by Amin Benarieb on 13/09/15. | |
// Copyright © 2015 Amin Benarieb. All rights reserved. | |
// | |
// Модульные тесты | |
#include <stdio.h> |
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
// | |
// SLExpandableTableViewController.m | |
// SLExpandableTableViewTests | |
// | |
// Created by Oliver Letterer on 19.02.14. | |
// Copyright 2014 Sparrow-Labs. All rights reserved. | |
// | |
#import "SLExpandableTableViewController.h" | |
#import "SLExpandableTableViewControllerHeader.h" |
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
func handleTap(sender: UITapGestureRecognizer? = nil) { | |
var indexPath: NSIndexPath! | |
if let label = sender?.view as? UILabel | |
{ | |
if let superview = label.superview { | |
if let cell = superview.superview as? UICollectionViewCell { | |
indexPath = wordBuilder.indexPathForCell(cell) | |
} |
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-zA-zа-яА-Я]{2,})+([ '-]([a-zA-Zа-яА-Я]{2,})+)*$ |
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
UIAlertController* <#alert#> = [UIAlertController alertControllerWithTitle:<#name#> | |
message:<#message#> | |
preferredStyle:<#UIAlertControllerStyleAlert#>]; | |
void (^<#handler#>)(UIAlertAction * action) = ^(UIAlertAction * action){ | |
}; | |
UIAlertAction* defaultAction = [UIAlertAction actionWithTitle:<#@"OK"#> style:<#UIAlertActionStyleDefault#> | |
handler:<#handler#>]; |
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 <LPC23xx.H> | |
#include <string.h> | |
#include <stdlib.H> | |
int interrupts_count = -2; | |
int i = 0; | |
static unsigned const kStrSize = 15; | |
char star_group = 'u'; |
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
import random | |
MIN_ARRAY_LENGTH = 1 | |
MAX_ARRAY_LENGTH = 50 | |
MIN_NUM = 0 | |
MAX_NUM = 100 | |
# Uses python3 | |
def max_mult(a,n): | |
if n < 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
#!/usr/bin/env python3 | |
import os | |
match_keyword ="<some stuff here to find>" | |
import_line = "<some stuff needed to be imported>" | |
def find_first_line_match_idx(lines, match_str): | |
lastmatchIdx = None | |
idx = 0 |
OlderNewer