Skip to content

Instantly share code, notes, and snippets.

Anton Sokolchenko iSevenDays

Block or report user

Report or block iSevenDays

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View pyboard.py
#!/usr/bin/env python
#from __future__ import print_function
"""
pyboard interface
This module provides the Pyboard class, used to communicate with and
control the pyboard over a serial USB connection.
View Github repo size in mbytes
git count-objects -vH | grep 'size-pack'
@iSevenDays
iSevenDays / NavBarTitleView-titleView-height-error.m
Last active Feb 9, 2016
UINavigationBar titleView changes its height(or becomes prompt) after push view controller
View NavBarTitleView-titleView-height-error.m
- (void)viewDidLoad {
[super viewDidLoad];
// some custom view
UIView *navTitle = [[UIView alloc] initWithTopTitle:tag middleTitle:loggedIn frame:frame];
self.navigationItem.prompt = nil;
@iSevenDays
iSevenDays / 0_reuse_code.js
Created Feb 9, 2016
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@iSevenDays
iSevenDays / UILabel+dynamicSizeMe.h
Last active Sep 21, 2015 — forked from danielphillips/UILabel+dynamicSizeMe.h
Adjust UILabel to change it's frame according to it's content
View UILabel+dynamicSizeMe.h
@interface UILabel (dynamicSizeMe)
-(float)resizeToFit;
-(float)expectedHeight;
@end
You can’t perform that action at this time.