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/env python | |
# -*- coding: utf-8 -*- | |
# Generates Gource config file from git submodules, starts Gource. | |
# Place to /usr/local/bin and run at the main repository root. | |
# | |
# (c) 2010 Mikael Lammentausta | |
# License is the same as Gource (GPLv3) | |
import os | |
import re |
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/env bash | |
# Generates gource video (h.264) out of multiple repositories. | |
# Pass the repositories in command line arguments. | |
# Example: | |
# <this.sh> /path/to/repo1 /path/to/repo2 | |
i=0 | |
for repo in $*; do | |
# 1. Generate a Gource custom log files for each repo. This can be facilitated by the --output-custom-log FILE option of Gource as of 0.29: | |
logfile="$(mktemp /tmp/gource.XXXXXX)" |
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
//some time, frc section may be need section offset | |
@objc public protocol MFetchedResultsControllerOffsetSectionDelegate{ | |
func offsetSection() -> Int | |
} | |
class MFetchedResultsController: NSFetchedResultsController, NSFetchedResultsControllerDelegate { | |
weak var viewController: UIViewController? //UITableViewController UICollectionViewController | |
weak var scrollView: UIScrollView? //TableView CollectionView | |
weak var offsetSectionDelegate: MFetchedResultsControllerOffsetSectionDelegate? |
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
// TheAbyss.h | |
+ (NSString *)greetingMessageFromTheOtherworld; | |
// TheAbyss.m | |
+ (NSString *)greetingMessageFromTheOtherworld { | |
return nil; | |
} | |
// LonesomeWanderer.swift | |
TheAbyss.greetingMessageFromTheOtherworld().isEmpty |