Skip to content

Instantly share code, notes, and snippets.

View SanCHEESE's full-sized avatar
🏠
Working from home

Alexander Bochkarev SanCHEESE

🏠
Working from home
View GitHub Profile
@SanCHEESE
SanCHEESE / ocmock-cheatsheet.m
Created March 4, 2019 22:58 — forked from kharmabum/ocmock-cheatsheet.m
OCMock cheatsheet
/*----------------------------------------------------*/
#pragma mark - XCTAsserts
/*----------------------------------------------------*/
XCTAssert(expression, format...);
XCTAssertTrue(expression, format...);
XCTAssertFalse(expression, format...);
XCTAssertEqual(expression1, expression2, format...);
XCTAssertNotEqual(expression1, expression2, format...);
XCTAssertNil(expression, format...);
@SanCHEESE
SanCHEESE / teamcity_run_build_remote.py
Last active June 4, 2021 13:21
A simple python script that runs teamcity build remotely or locally, monitors its state and gets artifacts
import requests, sys, time, shutil
from requests.auth import HTTPBasicAuth
import xml.etree.ElementTree as xml
base_url = None
user = None
passwd = None
common_path = 'httpAuth/app/rest'