Skip to content

Instantly share code, notes, and snippets.


Arseniy Kuznetsov akpw

View GitHub Profile
akpw /
Last active Jul 26, 2017
Finds shortest path in rectangular grid with obstacles
#!/usr/bin/env python
# coding=utf8
## explained in details
## in this blog:
class Point:
''' Represents a point
def __init__(self, x = 0, y = 0):
View UICollectionView+DefaultReuse.swift
// based on
import UIKit
protocol ReusableViewWithDefaultIdentifier {
static var defaultReuseIdentifier: String { get }
extension ReusableViewWithDefaultIdentifier where Self: UIView {
static var defaultReuseIdentifier: String {
You can’t perform that action at this time.