我有一个使用rails构建的个人博客.我想在我的网站上添加一个部分,显示我目前的github贡献.这样做最好的方法是什么?
编辑:澄清,这是我想要的:
只需要天数就可以了.
我正在遇到开发我的iPhone应用程序的主要问题.
这是完整的错误:
CoreData: error: Serious application error. Exception was caught during Core Data
change processing. This is usually a bug within an observer of
NSManagedObjectContextObjectsDidChangeNotification. -[TimeSpentStudying coordinate]:
unrecognized selector sent to instance 0x21db92d0 with userInfo (null)
Run Code Online (Sandbox Code Playgroud)
这很奇怪,因为我有两个coreData实体(Locations&TimeSpentStudying).但我不认为那些是问题.[TimeSpentStudying coordinate]很奇怪,因为我没有coordinate在TimeSpentStudying核心数据类上发送过属性
我有一个mapView设置,当用户点击mkannotationview上的详细信息披露按钮时,会弹出一个新视图(LibraryTrackTimeViewController),但几乎无法使用.我尝试在viewDidLoad中调用NSLog,但没有出现任何内容.
mapViewController.m
#pragma mark - NSNotification
- (void)contextDidChange:(NSNotification *)notification
{
if ([self isViewLoaded]) {
[self updateLocations];
}
Run Code Online (Sandbox Code Playgroud)
.
- (void)updateLocations
{
NSEntityDescription *entity = [NSEntityDescription entityForName:@"Location" inManagedObjectContext:self.managedObjectContext];
NSFetchRequest *fetchRequest = [[NSFetchRequest alloc] init];
[fetchRequest setEntity:entity];
NSError …Run Code Online (Sandbox Code Playgroud) javascript在页面上工作,但我无法用uglifier gem编译它,因为有一个错误 - 我找不到它虽然..
tracks.js
$(document).ready(function () {
$(".slidingDiv").hide();
$('.show_hide').click(function () {
$(this).(".slidingDiv").slideToggle(); // line console is complaining about
});
});
Run Code Online (Sandbox Code Playgroud)
我有一个div,当点击时滑下另一个div.
core-data ×1
github ×1
html ×1
html-parsing ×1
ios ×1
iphone ×1
javascript ×1
jquery ×1
ruby ×1