code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231
values | license stringclasses 13
values | size int64 1 2.01M |
|---|---|---|---|---|---|
#!/usr/bin/python
"""
Pull a oAuth protected page from foursquare.
Expects ~/.oget to contain (one on each line):
CONSUMER_KEY
CONSUMER_KEY_SECRET
USERNAME
PASSWORD
Don't forget to chmod 600 the file!
"""
import httplib
import os
import re
import sys
import urllib
import urllib2
import urlparse
import user
from xml.... | 1117gaojun-foursquare | util/oget.py | Python | asf20 | 3,416 |
#!/usr/bin/python
import logging
from xml.dom import minidom
from xml.dom import pulldom
BOOLEAN = "boolean"
STRING = "String"
GROUP = "Group"
# Interfaces that all FoursquareTypes implement.
DEFAULT_INTERFACES = ['FoursquareType']
# Interfaces that specific FoursqureTypes implement.
INTERFACES = {
}
DEFAULT_CLA... | 1117gaojun-foursquare | util/common.py | Python | asf20 | 2,820 |
#!/usr/bin/python
import datetime
import sys
import textwrap
import common
from xml.dom import pulldom
PARSER = """\
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquare.parsers;
import com.joelapenna.foursquare.Foursquare;
import com.joelapenna.foursquare.error.FoursquareError;
import com.joel... | 1117gaojun-foursquare | util/gen_parser.py | Python | asf20 | 4,392 |
#!/usr/bin/python
import os
import subprocess
import sys
BASEDIR = '../main/src/com/joelapenna/foursquare'
TYPESDIR = '../captures/types/v1'
captures = sys.argv[1:]
if not captures:
captures = os.listdir(TYPESDIR)
for f in captures:
basename = f.split('.')[0]
javaname = ''.join([c.capitalize() for c in basena... | 1117gaojun-foursquare | util/generate.py | Python | asf20 | 772 |
package mbi;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Rectangle;
import java.awt.geom.Rectangle2D;
import java.util.HashMap;
import java.util.Map;
import javax.swing.JApplet;
import org.jgraph.JGraph;
import org.jgraph.graph.DefaultGraphCell;
import org.jgraph.graph.GraphConstan... | 12l-mbi | trunk/src/mbi/GrApphlet.java | Java | gpl3 | 2,434 |
package mbi;
import java.util.Set;
import org.jgrapht.EdgeFactory;
import org.jgrapht.graph.DirectedMultigraph;
public class DeBruijnEdgeFactory implements EdgeFactory<String, String> {
private DirectedMultigraph<String, String> graph;
public void setGraph(DirectedMultigraph<String, String> graph){... | 12l-mbi | trunk/src/mbi/DeBruijnEdgeFactory.java | Java | gpl3 | 1,018 |
package mbi;
public class MbiException extends Exception {
private static final long serialVersionUID = 1L;
public MbiException(String msg) {
super(msg);
}
}
| 12l-mbi | trunk/src/mbi/MbiException.java | Java | gpl3 | 174 |
package mbi;
import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
/**
... | 12l-mbi | trunk/src/mbi/AssemblerDNA.java | Java | gpl3 | 7,961 |
package mbi;
import java.awt.BorderLayout;
import java.util.Arrays;
import java.util.List;
import javax.swing.JApplet;
import javax.swing.JFrame;
public class Main {
public static void printUsage() {
System.out
.println("Please provide one of the following sets of parameters:");
System.out.pr... | 12l-mbi | trunk/src/mbi/Main.java | Java | gpl3 | 3,712 |
package mbi;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
import org.jgrapht.graph.DirectedMultigraph;
public class DeBruijnGraph extends DirectedMultigraph<String, String> {
private static final long serialVersionUID = 1L;
public DeBruijnGraph(De... | 12l-mbi | trunk/src/mbi/DeBruijnGraph.java | Java | gpl3 | 2,629 |
\documentclass{article}
\usepackage{polski}
\usepackage[utf8]{inputenc}
\usepackage{listings}
\usepackage[usenames,dvipsnames]{color} % For colors and names
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{mathtools}
\title{Metody Bioinformatyki \\ Projekt: prosty assembler DNA } % Title
\... | 12l-mbi | trunk/doc/report.tex | TeX | gpl3 | 8,321 |
xcodebuild -sdk iphoneos -parallelizeTargets
xcodebuild -sdk iphoneos -configuration Debug -parallelizeTargets
xcodebuild -sdk iphonesimulator -parallelizeTargets
xcodebuild -sdk iphonesimulator -configuration Debug -parallelizeTargets
| 124894-cvc | BuildLibs.sh | Shell | bsd | 237 |
//
// SqlGenerator.h
// JhonSell
//
// Created by Mario Montoya on 9/01/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import <objc/runtime.h>
#import <objc/message.h>
#import "DbObject.h"
#import "NSString+Clean.h"
#import "NSDate+DateFunctions.h"
#import "FuncionesGlobales.h"
@interface SqlGener... | 124894-cvc | src/SqlGenerator.h | Objective-C | bsd | 866 |
/*
* DebugLog.h
* DebugLog
*
* Created by Karl Kraft on 3/22/09.
* Copyright 2009 Karl Kraft. All rights reserved.
*
*/
#import "LoggerClient.h"
#define ALog(args...) _ALog(__FILE__,__LINE__,args);
#define LOG_NETWORK(level, ...) LogMessageF(__FILE__,__LINE__,__FUNCTION__,@"network",level,... | 124894-cvc | src/DebugLog.h | Objective-C | bsd | 624 |
//
// NSDate+DateFunctions.h
// JhonSell
//
// Created by Mario Montoya on 22/01/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "FuncionesGlobales.h"
@interface NSDate (DateFunctions)
+ (NSDate *) dateFromISOString:(NSString *)dateStr;
- (... | 124894-cvc | src/NSDate+DateFunctions.h | Objective-C | bsd | 727 |
/*
* DebugLog.m
* DebugLog
*
* Created by Karl Kraft on 3/22/09.
* Copyright 2009 Karl Kraft. All rights reserved.
*
*/
#include "DebugLog.h"
void _ALog(const char *file, int lineNumber, NSString *format,...) {
va_list ap;
va_start (ap, format);
if (![format hasSuffix: @"\n"]) {
... | 124894-cvc | src/DebugLog.m | Objective-C | bsd | 761 |
//
// FMResultSet+Additions.h
// JhonSell
//
// Created by Mario Montoya on 30/05/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "FMResultSet.h"
@interface FMResultSet (info)
- (NSArray *) columnsName;
@end
| 124894-cvc | src/FMResultSet+Additions.h | Objective-C | bsd | 289 |
//
// DbObject.m
// JhonSell
//
// Created by Mario Montoya on 7/01/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import "DbObject.h"
@implementation DbObject
@synthesize Id, errors = _errors;
-(id)init {
if ((self = [super init])) {
[self setDefaults];
self.errors = [[NSMutableArray alloc... | 124894-cvc | src/DbObject.m | Objective-C | bsd | 5,210 |
//
// FuncionesGlobales.h
// JhonSell
//
// Created by Mario Montoya on 6/01/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface FuncionesGlobales : NSObject {
}
// Obtiene la ruta de la carpeta de documentos.
+ (NSString *) docPath;
+(NSLocale *) NEUTRAL_LOCALE;
@... | 124894-cvc | src/FuncionesGlobales.h | Objective-C | bsd | 324 |
//
// DbCache.h
// JhonSell
//
// Created by Mario Montoya on 30/03/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface DbCache : NSObject {
}
@property (strong,nonatomic) NSMutableDictionary *propertyCache;
+(id)currentDbCache;
-(id)... | 124894-cvc | src/DbCache.h | Objective-C | bsd | 418 |
//
// NSString+Clean.m
// JhonSell
//
// Created by Mario Montoya on 9/01/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import "NSString+Clean.h"
@implementation NSString (clean)
+ (NSString *) arrayToString: (NSArray *)array {
NSMutableString * list = [NSMutableString string];
int count =... | 124894-cvc | src/NSString+Clean.m | Objective-C | bsd | 674 |
//
// FuncionesGlobales.m
// JhonSell
//
// Created by Mario Montoya on 6/01/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import "FuncionesGlobales.h"
@implementation FuncionesGlobales
+ (NSString *) docPath {
NSString *docsPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUs... | 124894-cvc | src/FuncionesGlobales.m | Objective-C | bsd | 598 |
//
// DbPool.h
// BestSeller
//
// Created by Mario Montoya on 9/04/10.
// Copyright 2009 El malabarista. All rights reserved.
//
#import "DbPool.h"
static DbPool *sharedInstance = nil;
@implementation DbPool
@synthesize pool,paths;
- (id)init {
if ((self = [super init])) {
self.pool = [[NSMutable... | 124894-cvc | src/DbPool.m | Objective-C | bsd | 2,767 |
//
// FMResultSet+Additions.m
// JhonSell
//
// Created by Mario Montoya on 30/05/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import "FMResultSet+Additions.h"
@implementation FMResultSet (info)
- (NSArray *) columnsName {
if (!_columnNamesSetup) {
[self columnIndexForNam... | 124894-cvc | src/FMResultSet+Additions.m | Objective-C | bsd | 397 |
//
// Validators.h
// JhonSell
//
// Created by Mario Montoya on 13/01/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import "NSDate+DateFunctions.h"
//Generic validators
@interface Validators : NSObject {
}
+(BOOL)validateNotEmpty:(id *)ioValue propName:(NSString *)name error:(NSError **)outEr... | 124894-cvc | src/Validators.h | Objective-C | bsd | 607 |
//
// Validators.m
// JhonSell
//
// Created by Mario Montoya on 13/01/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import "Validators.h"
@implementation Validators
static NSString *VALIDATOR_DOMAIN = @"Validators";
static NSInteger ERR_NOTEMPTY = 15;
static NSInteger ERR_COMPARE = 16;
+(BOOL... | 124894-cvc | src/Validators.m | Objective-C | bsd | 2,559 |
//
// DbPool.h
// BestSeller
//
// Created by Mario Montoya on 9/04/10.
// Copyright 2009 El malabarista. All rights reserved.
//
#import "Db.h"
@interface DbPool : NSObject {
}
@property (strong) NSMutableDictionary *pool;
@property (strong) NSMutableDictionary *paths;
+ (DbPool *)sharedIn... | 124894-cvc | src/DbPool.h | Objective-C | bsd | 608 |
//
// NSString+Clean.h
// JhonSell
//
// Created by Mario Montoya on 9/01/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface NSString (clean)
+ (NSString *) arrayToString: (NSArray *)array;
- (NSString *) trim;
@end
| 124894-cvc | src/NSString+Clean.h | Objective-C | bsd | 272 |
//
// NSDate+DateFunctions.m
// JhonSell
//
// Created by Mario Montoya on 22/01/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import "NSDate+DateFunctions.h"
@implementation NSDate (DateFunctions)
+ (NSDate *) dateFromISOString:(NSString *)dateStr {
NSDateFormatter *dateFormatter... | 124894-cvc | src/NSDate+DateFunctions.m | Objective-C | bsd | 3,151 |
//
// SqlGenerator.m
// JhonSell
//
// Created by Mario Montoya on 9/01/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import "SqlGenerator.h"
@implementation SqlGenerator
+(NSString *)optimizeLike:(NSString *)name value:(NSString *)value indexColumn:(NSString *)indexColumn;
{
NSMutableString * ... | 124894-cvc | src/SqlGenerator.m | Objective-C | bsd | 4,106 |
//
// DbBackground.h
// BestSeller
//
// Created by Mario Montoya on 9/04/10.
// Copyright 2009 El malabarista. All rights reserved.
//
#import "DbBackground.h"
@implementation DbBackground
@synthesize sql, db, delegate;
-(id)initWithSQL:(NSString *)theSql name:(NSString *)name
{
if ((self... | 124894-cvc | src/DbBackground.m | Objective-C | bsd | 709 |
//
// DbBackground.h
// BestSeller
//
// Created by Mario Montoya on 9/04/10.
// Copyright 2009 El malabarista. All rights reserved.
//
#import "DbPool.h"
@interface DbBackground : NSOperation {
}
@property (nonatomic, strong) NSString *sql;
@property (nonatomic, strong) Db *db;
@property (nona... | 124894-cvc | src/DbBackground.h | Objective-C | bsd | 419 |
//
// Db.m
// JhonSell
//
// Created by Mario Montoya on 7/01/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import "Db.h"
#import "DbPool.h"
@implementation Db
@synthesize path, theDb,isOpen;
- (id)init {
if ((self = [super init])) {
self.path = @"";
isOpen = NO;
}
return s... | 124894-cvc | src/Db.m | Objective-C | bsd | 15,054 |
//
// DbCache.m
// JhonSell
//
// Created by Mario Montoya on 30/03/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import "DbCache.h"
@implementation DbCache
@synthesize propertyCache;
static DbCache *sharedInstance = nil;
- (id)init {
if ((self = [super init])) {
... | 124894-cvc | src/DbCache.m | Objective-C | bsd | 1,183 |
//
// Db.h
// JhonSell
//
// Created by Mario Montoya on 7/01/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "FMDatabase.h"
#import "FMDatabaseAdditions.h"
#import "DbObject.h"
#import "FuncionesGlobales.h"
#import "SqlGenerator.h"
#import "FMResultSet+Additions.h"
@... | 124894-cvc | src/Db.h | Objective-C | bsd | 2,106 |
//
// DbObject.h
// JhonSell
//
// Created by Mario Montoya on 7/01/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <objc/runtime.h>
#import <objc/message.h>
#import "NSString+Clean.h"
#import "DbCache.h"
typedef enum {
FIELDTYPE_STRING=0, FIELDTYPE_INTEGER=1,FIELDT... | 124894-cvc | src/DbObject.h | Objective-C | bsd | 1,220 |
//
// TestDb.m
// JhonSell
//
// Created by Mario Montoya on 7/01/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import "Db.h"
#import "TestBaseORM.h"
@interface TestDb : TestBaseORM {}
@end
@implementation TestDb
-(void) testExecute{
Db *db = [Db currentDb];
//Check is assigned the name to ... | 124894-cvc | Test/TestDb.m | Objective-C | bsd | 1,207 |
//
// SamplePerson.m
// JhonSell
//
// Created by Mario Montoya on 8/01/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import "SamplePerson.h"
@implementation SamplePerson
@synthesize name,birthDate,size,phone,balance,isOk,city;
-(id)init {
if ((self = [super init])) {
self.city = [[SampleCi... | 124894-cvc | Test/SamplePerson.m | Objective-C | bsd | 366 |
//
// SampleCity.m
// JhonSell
//
// Created by Mario Montoya on 15/01/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import "SampleCity.h"
@implementation SampleCity
@synthesize name;
@end
| 124894-cvc | Test/SampleCity.m | Objective-C | bsd | 216 |
//
// SamplePerson.h
// JhonSell
//
// Created by Mario Montoya on 8/01/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "DbObject.h"
#import "SampleCity.h"
@interface SamplePerson : DbObjectTime {
}
@property (nonatomic, strong) NSString *name;
@property (nonatomic... | 124894-cvc | Test/SamplePerson.h | Objective-C | bsd | 577 |
//
// TestSqlGenerator.m
// JhonSell
//
// Created by Mario Montoya on 9/01/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import <GHUnitIOS/GHUnit.h>
#import "SqlGenerator.h"
@interface TestSqlGenerator : GHTestCase { }
@end
@implementation TestSqlGenerator
-(void) testSelect {
//Simple selec... | 124894-cvc | Test/TestSqlGenerator.m | Objective-C | bsd | 2,388 |
//
// TestBaseORM.m
// JhonSell
//
// Created by Mario Montoya on 17/04/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import "TestBaseORM.h"
@implementation TestBaseORM
-(void) setUp {
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);... | 124894-cvc | Test/TestBaseORM.m | Objective-C | bsd | 906 |
//
// TestBaseORM.h
// JhonSell
//
// Created by Mario Montoya on 17/04/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <GHUnitIOS/GHUnit.h>
#import "DebugLog.h"
#import "Db.h"
#import "DbPool.h"
@interface TestBaseORM : GHTestCase {
}
@... | 124894-cvc | Test/TestBaseORM.h | Objective-C | bsd | 325 |
//
// TestValidators.m
// chibiORM
//
// Created by Mario Montoya on 14/01/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import <GHUnitIOS/GHUnit.h>
#import "Validators.h"
@interface TestValidators : GHTestCase { }
@end
@implementation TestValidators
-(void) testNotEmpty {
NSString *empty = @... | 124894-cvc | Test/TestValidators.m | Objective-C | bsd | 1,446 |
//
// TestOrm.m
// JhonSell
//
// Created by Mario Montoya on 8/01/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import "DbObject.h"
#import "SamplePerson.h"
#import "NSString+Clean.h"
#import "TestBaseORM.h"
@interface TestOrm : TestBaseORM { }
-(void) testIntrospection;
-(void) testFill;
-(voi... | 124894-cvc | Test/TestOrm.m | Objective-C | bsd | 4,686 |
//
// SampleCity.h
// JhonSell
//
// Created by Mario Montoya on 15/01/09.
// Copyright 2009 El malabarista. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "DbObject.h"
@interface SampleCity : DbObject {
}
@property (nonatomic, strong) NSString *name;
@end
| 124894-cvc | Test/SampleCity.h | Objective-C | bsd | 286 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/test/java/edu/uci/ics/crawler4j/examples/multiple/BasicCrawler.java | Java | asf20 | 2,650 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/test/java/edu/uci/ics/crawler4j/examples/multiple/MultipleCrawlerController.java | Java | asf20 | 3,711 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/test/java/edu/uci/ics/crawler4j/examples/statushandler/StatusHandlerCrawler.java | Java | asf20 | 2,391 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/test/java/edu/uci/ics/crawler4j/examples/statushandler/StatusHandlerCrawlController.java | Java | asf20 | 3,971 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/test/java/edu/uci/ics/crawler4j/examples/shutdown/ControllerWithShutdown.java | Java | asf20 | 3,150 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/test/java/edu/uci/ics/crawler4j/examples/shutdown/BasicCrawler.java | Java | asf20 | 2,463 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/test/java/edu/uci/ics/crawler4j/examples/imagecrawler/Cryptography.java | Java | asf20 | 1,671 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/test/java/edu/uci/ics/crawler4j/examples/imagecrawler/ImageCrawlController.java | Java | asf20 | 2,674 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/test/java/edu/uci/ics/crawler4j/examples/imagecrawler/ImageCrawler.java | Java | asf20 | 3,150 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/test/java/edu/uci/ics/crawler4j/examples/basic/BasicCrawlController.java | Java | asf20 | 3,948 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/test/java/edu/uci/ics/crawler4j/examples/basic/BasicCrawler.java | Java | asf20 | 3,349 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/test/java/edu/uci/ics/crawler4j/examples/localdata/Downloader.java | Java | asf20 | 3,177 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/test/java/edu/uci/ics/crawler4j/examples/localdata/LocalDataCollectorController.java | Java | asf20 | 2,776 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/test/java/edu/uci/ics/crawler4j/examples/localdata/CrawlStat.java | Java | asf20 | 1,675 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/test/java/edu/uci/ics/crawler4j/examples/localdata/LocalDataCollectorCrawler.java | Java | asf20 | 3,154 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/crawler/Page.java | Java | asf20 | 4,336 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/crawler/CrawlController.java | Java | asf20 | 13,014 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/crawler/Configurable.java | Java | asf20 | 1,203 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/crawler/CrawlConfig.java | Java | asf20 | 10,898 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/crawler/WebCrawler.java | Java | asf20 | 11,522 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/util/Util.java | Java | asf20 | 2,746 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/util/IO.java | Java | asf20 | 1,755 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/robotstxt/RobotstxtServer.java | Java | asf20 | 4,167 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/robotstxt/RobotstxtParser.java | Java | asf20 | 3,032 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/robotstxt/RuleSet.java | Java | asf20 | 1,806 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/robotstxt/RobotstxtConfig.java | Java | asf20 | 1,742 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/robotstxt/HostDirectives.java | Java | asf20 | 1,804 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/frontier/WorkQueues.java | Java | asf20 | 5,325 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/frontier/InProcessPagesDB.java | Java | asf20 | 2,674 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/frontier/WebURLTupleBinding.java | Java | asf20 | 1,890 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/frontier/DocIDServer.java | Java | asf20 | 4,339 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/frontier/Counters.java | Java | asf20 | 3,987 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/frontier/Frontier.java | Java | asf20 | 5,677 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/parser/BinaryParseData.java | Java | asf20 | 1,139 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/parser/HtmlParseData.java | Java | asf20 | 1,616 |
package edu.uci.ics.crawler4j.parser;
public class ExtractedUrlAnchorPair {
private String href;
private String anchor;
public String getHref() {
return href;
}
public void setHref(String href) {
this.href = href;
}
public String getAnchor() {
return anchor;
}
public void setAnchor(String anchor) {... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/parser/ExtractedUrlAnchorPair.java | Java | asf20 | 351 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/parser/Parser.java | Java | asf20 | 4,966 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/parser/TextParseData.java | Java | asf20 | 1,141 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/parser/HtmlContentHandler.java | Java | asf20 | 5,404 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/parser/ParseData.java | Java | asf20 | 918 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/fetcher/IdleConnectionMonitorThread.java | Java | asf20 | 1,971 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"; you may ... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/fetcher/CustomFetchStatus.java | Java | asf20 | 3,354 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/fetcher/PageFetcher.java | Java | asf20 | 9,777 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/fetcher/PageFetchResult.java | Java | asf20 | 2,899 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/url/URLCanonicalizer.java | Java | asf20 | 5,820 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/url/WebURL.java | Java | asf20 | 4,593 |
/**
* This class is adopted from Htmlunit with the following copyright:
*
* Copyright (c) 2002-2012 Gargoyle Software Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://ww... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/url/UrlResolver.java | Java | asf20 | 19,352 |
package edu.uci.ics.crawler4j.url;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.HashSet;
import java.util.Set;
public class TLDList {
private final String tldNamesFileName = "tld-names.txt";
private Set<String> tldSet = new HashSet<>();
private s... | 125848772-fanshy | src/main/java/edu/uci/ics/crawler4j/url/TLDList.java | Java | asf20 | 1,082 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* frmAsigarSeccion.java
*
* Created on 16/02/2011, 04:11:50 PM
*/
package Principal;
import Clases.Seccion;
import java.awt.Frame;
import javax.swing.JOptionPane;
public class frmAsigarSeccion extends javax.swi... | 03-04-segundaentrega | ProyectoLab2Entrega/src/Principal/frmAsigarSeccion.java | Java | asf20 | 3,936 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* frmAsigProfe.java
*
* Created on 16/02/2011, 04:38:41 PM
*/
package Principal;
import java.awt.Frame;
import javax.swing.JOptionPane;
import Clases.Profesor;
import Clases.Seccion;
/**
* This code was edit... | 03-04-segundaentrega | ProyectoLab2Entrega/src/Principal/frmAsigProfe.java | Java | asf20 | 5,801 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
Nicolas D'Amelio C.I. 19.637.704
Daniel Santeliz C.I. 19.696.020
Nellymer Montero C.I. 20.926.114
Leandro Oliva C.I.20.187.193
*/
/*
Nicolas D'Amelio C.I. 19.637.704
Daniel Santeliz C.I. 19.696.020
Nellymer Mo... | 03-04-segundaentrega | ProyectoLab2Entrega/src/Principal/Main.java | Java | asf20 | 7,650 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* frmInicial.java
*
* Created on 16/02/2011, 04:00:19 PM
*/
/*
*/
package Principal;
/*
Nicolas D'Amelio C.I. 19.637.704
Daniel Santeliz C.I. 19.696.020
Nellymer Montero C.I. 20.926.114
Leandro Oliva C.I.20.187.1... | 03-04-segundaentrega | ProyectoLab2Entrega/src/Principal/frmInicial.java | Java | asf20 | 8,216 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* frmListados.java
*
* Created on 20/02/2011, 08:56:32 AM
*/
package Principal;
import javax.swing.JTable;
import javax.swing.table.DefaultTableModel;
/**
* This code was edited or generated using CloudGarden'... | 03-04-segundaentrega | ProyectoLab2Entrega/src/Principal/frmListados.java | Java | asf20 | 10,061 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* frmInscribir.java
*
* Created on 17/02/2011, 10:08:26 AM
*/
package Principal;
import Clases.Estudiante;
import Clases.Seccion;
import java.awt.Frame;
import javax.swing.JOptionPane;
/**
* This code was edit... | 03-04-segundaentrega | ProyectoLab2Entrega/src/Principal/frmInscribir.java | Java | asf20 | 12,926 |