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 |
|---|---|---|---|---|---|
__version__ = "1.0c2"
| zzangtest123-google-drive-sdk-samples | python/lib/apiclient/__init__.py | Python | asf20 | 22 |
#!/usr/bin/python2.4
#
# Copyright (C) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable l... | zzangtest123-google-drive-sdk-samples | python/lib/apiclient/model.py | Python | asf20 | 11,757 |
#!/usr/bin/python2.4
#
# Copyright (C) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable l... | zzangtest123-google-drive-sdk-samples | python/lib/apiclient/errors.py | Python | asf20 | 3,221 |
"""
iri2uri
Converts an IRI to a URI.
"""
__author__ = "Joe Gregorio (joe@bitworking.org)"
__copyright__ = "Copyright 2006, Joe Gregorio"
__contributors__ = []
__version__ = "1.0.0"
__license__ = "MIT"
__history__ = """
"""
import urlparse
# Convert an IRI to a URI following the rules in RFC 3987
#
# The characte... | zzangtest123-google-drive-sdk-samples | python/lib/httplib2/iri2uri.py | Python | asf20 | 3,850 |
from __future__ import generators
"""
httplib2
A caching http interface that supports ETags and gzip
to conserve bandwidth.
Requires Python 2.3 or later
Changelog:
2007-08-18, Rick: Modified so it's able to use a socks proxy if needed.
"""
__author__ = "Joe Gregorio (joe@bitworking.org)"
__copyright__ = "Copyright... | zzangtest123-google-drive-sdk-samples | python/lib/httplib2/__init__.py | Python | asf20 | 64,159 |
"""SocksiPy - Python SOCKS module.
Version 1.00
Copyright 2006 Dan-Haim. All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
... | zzangtest123-google-drive-sdk-samples | python/lib/httplib2/socks.py | Python | asf20 | 18,456 |
import Cookie
import datetime
import time
import email.utils
import calendar
import base64
import hashlib
import hmac
import re
import logging
# Ripped from the Tornado Framework's web.py
# http://github.com/facebook/tornado/commit/39ac6d169a36a54bb1f6b9bf1fdebb5c9da96e09
#
# Tornado is licensed under the Apache Licen... | zzangtest123-google-drive-sdk-samples | python/lib/sessions.py | Python | asf20 | 6,238 |
# This is the version of this source code.
manual_verstr = "1.5"
auto_build_num = "211"
verstr = manual_verstr + "." + auto_build_num
try:
from pyutil.version_class import Version as pyutil_Version
__version__ = pyutil_Version(verstr)
except (ImportError, ValueError):
# Maybe there is no pyutil insta... | zzangtest123-google-drive-sdk-samples | python/lib/oauth2/_version.py | Python | asf20 | 438 |
"""
The MIT License
Copyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the ... | zzangtest123-google-drive-sdk-samples | python/lib/oauth2/clients/smtp.py | Python | asf20 | 1,680 |
"""
The MIT License
Copyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the ... | zzangtest123-google-drive-sdk-samples | python/lib/oauth2/clients/imap.py | Python | asf20 | 1,685 |
"""
The MIT License
Copyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the ... | zzangtest123-google-drive-sdk-samples | python/lib/oauth2/__init__.py | Python | asf20 | 29,044 |
# Early, and incomplete implementation of -04.
#
import re
import urllib
RESERVED = ":/?#[]@!$&'()*+,;="
OPERATOR = "+./;?|!@"
EXPLODE = "*+"
MODIFIER = ":^"
TEMPLATE = re.compile(r"{(?P<operator>[\+\./;\?|!@])?(?P<varlist>[^}]+)}", re.UNICODE)
VAR = re.compile(r"^(?P<varname>[^=\+\*:\^]+)((?P<explode>[\+\*])|(?P<part... | zzangtest123-google-drive-sdk-samples | python/lib/uritemplate/__init__.py | Python | asf20 | 4,780 |
# Copyright (C) 2012 Google 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://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | zzangtest123-google-drive-sdk-samples | ruby/main.rb | Ruby | asf20 | 6,125 |
/*
* Copyright (c) 2012 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | zzangtest123-google-drive-sdk-samples | ruby/public/dredit.js | JavaScript | asf20 | 9,186 |
/*
* Copyright (c) 2012 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | zzangtest123-google-drive-sdk-samples | ruby/public/dredit.css | CSS | asf20 | 868 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | zzangtest123-google-drive-sdk-samples | ruby/public/ace/ace-uncompressed.js | JavaScript | asf20 | 582,900 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | zzangtest123-google-drive-sdk-samples | ruby/public/ace/cockpit-uncompressed.js | JavaScript | asf20 | 113,605 |
<html>
<head>
<link rel="stylesheet" href="/bootstrap.min.css"></link>
<link rel="stylesheet" href="/dredit.css"></link>
<script src="https://www.google.com/jsapi" charset="utf-8"></script>
<script src="/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="/bootstrap.min.js... | zzangtest123-google-drive-sdk-samples | ruby/views/index.erb | HTML+ERB | asf20 | 1,521 |
source :gemcutter
gem 'sinatra', :require => 'sinatra/base'
gem 'thin', '~> 1.3'
gem 'pg'
gem 'data_mapper', '~> 1.2'
gem 'dm-postgres-adapter'
gem 'google-api-client', '>= 0.4.3'
group :development do
gem 'dm-sqlite-adapter', '~> 1.2'
gem 'do_sqlite3', '~> 0.10'
end
| zzangtest123-google-drive-sdk-samples | ruby/Gemfile | Ruby | asf20 | 282 |
<?php
/**
* Class for handling authentication of the user and authorization
* to access Google Drive.
*
* Copyright 2012 Google 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
*... | zzangtest123-google-drive-sdk-samples | php/auth_handler.php | PHP | asf20 | 11,930 |
<?php
/**
* Outputs DrEdit PHP user interface. Needs OAuth URLs and the values of
* query params in order to setup the UI. These are set as javascript
* vars based on PHP processing.
*
* @author Ryan Boyd <rboyd@google.com>
*
* If the user's picture is set, it is included in the interface to mitigate
* potent... | zzangtest123-google-drive-sdk-samples | php/output_editor.php | PHP | asf20 | 3,205 |
<?php
/**
* Class for accessing the Google Drive API, including retrieving,
* creating and updating files stored in Google Drive.
*
* Copyright 2012 Google 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 obtai... | zzangtest123-google-drive-sdk-samples | php/drive_handler.php | PHP | asf20 | 5,644 |
/*
* Copyright 2012 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | zzangtest123-google-drive-sdk-samples | php/static/dredit.js | JavaScript | asf20 | 10,297 |
/**
* CSS used for DrEdit
*
* Copyright 2012 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | zzangtest123-google-drive-sdk-samples | php/static/dredit.css | CSS | asf20 | 859 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | zzangtest123-google-drive-sdk-samples | php/static/ace/ace-uncompressed.js | JavaScript | asf20 | 582,900 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | zzangtest123-google-drive-sdk-samples | php/static/ace/cockpit-uncompressed.js | JavaScript | asf20 | 113,605 |
<?php
/*
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/io/apiCurlIO.php | PHP | asf20 | 8,846 |
<?php
/*
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/io/apiRPC.php | PHP | asf20 | 2,282 |
<?php
/*
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/io/apiHttpRequest.php | PHP | asf20 | 6,641 |
<?php
/*
* Copyright 2012 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/io/apiCacheParser.php | PHP | asf20 | 5,865 |
<?php
/*
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/io/apiREST.php | PHP | asf20 | 5,324 |
<?php
/**
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/io/apiIO.php | PHP | asf20 | 1,383 |
<?php
/*
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/service/apiService.php | PHP | asf20 | 2,151 |
<?php
/*
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/service/apiServiceRequest.php | PHP | asf20 | 3,111 |
<?php
/*
* Copyright 2011 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/service/apiUtils.php | PHP | asf20 | 3,700 |
<?php
/*
* Copyright 2011 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/service/apiModel.php | PHP | asf20 | 3,551 |
<?php
/**
* Copyright 2012 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/service/apiMediaFileUpload.php | PHP | asf20 | 7,367 |
<?php
/**
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/service/apiServiceResource.php | PHP | asf20 | 7,450 |
<?php
/*
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/service/apiBatch.php | PHP | asf20 | 1,272 |
<?php
/*
* Copyright 2011 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/auth/apiVerifier.php | PHP | asf20 | 902 |
<?php
/*
* Copyright 2011 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/auth/apiP12Signer.php | PHP | asf20 | 2,161 |
<?php
/*
* Copyright 2008 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/auth/apiOAuth2.php | PHP | asf20 | 13,131 |
<?php
/*
* Copyright 2011 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/auth/apiLoginTicket.php | PHP | asf20 | 1,714 |
<?php
/*
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/auth/apiAuthNone.php | PHP | asf20 | 1,659 |
<?php
/*
* Copyright 2011 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/auth/apiSigner.php | PHP | asf20 | 841 |
<?php
/*
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/auth/apiAuth.php | PHP | asf20 | 1,255 |
<?php
/*
* Copyright 2008 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/auth/apiOAuth.php | PHP | asf20 | 11,571 |
<?php
/*
* Copyright 2011 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/auth/apiPemVerifier.php | PHP | asf20 | 1,759 |
<?php
/*
* Copyright (c) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/contrib/apiGanService.php | PHP | asf20 | 55,823 |
<?php
/*
* Copyright (c) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/contrib/apiFreebaseService.php | PHP | asf20 | 7,613 |
<?php
/*
* Copyright (c) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/contrib/apiPagespeedonlineService.php | PHP | asf20 | 15,172 |
<?php
/*
* Copyright (c) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/contrib/apiDriveService.php | PHP | asf20 | 13,142 |
<?php
/*
* Copyright (c) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/contrib/apiBooksService.php | PHP | asf20 | 66,553 |
<?php
/*
* Copyright (c) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/contrib/apiAdsenseService.php | PHP | asf20 | 53,715 |
<?php
/*
* Copyright (c) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/contrib/apiAnalyticsService.php | PHP | asf20 | 47,940 |
<?php
/*
* Copyright (c) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/contrib/apiShoppingService.php | PHP | asf20 | 41,742 |
<?php
/*
* Copyright (c) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/contrib/apiTranslateService.php | PHP | asf20 | 8,682 |
<?php
/*
* Copyright (c) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/contrib/apiModeratorService.php | PHP | asf20 | 70,611 |
<?php
/*
* Copyright (c) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/contrib/apiOauth2Service.php | PHP | asf20 | 7,831 |
<?php
/*
* Copyright (c) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/contrib/apiPlusService.php | PHP | asf20 | 44,101 |
<?php
/*
* Copyright (c) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/contrib/apiCustomsearchService.php | PHP | asf20 | 13,548 |
<?php
/*
* Copyright (c) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/contrib/apiPredictionService.php | PHP | asf20 | 14,293 |
<?php
/*
* Copyright (c) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/contrib/apiSiteVerificationService.php | PHP | asf20 | 11,733 |
<?php
/*
* Copyright (c) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/contrib/apiOrkutService.php | PHP | asf20 | 90,735 |
<?php
/*
* Copyright (c) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/contrib/apiLatitudeService.php | PHP | asf20 | 11,269 |
<?php
/*
* Copyright (c) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/contrib/apiCalendarService.php | PHP | asf20 | 68,448 |
<?php
/*
* Copyright (c) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/contrib/apiWebfontsService.php | PHP | asf20 | 3,898 |
<?php
/*
* Copyright (c) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/contrib/apiUrlshortenerService.php | PHP | asf20 | 10,109 |
<?php
/*
* Copyright (c) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/contrib/apiTasksService.php | PHP | asf20 | 23,059 |
<?php
/*
* Copyright (c) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/contrib/apiBloggerService.php | PHP | asf20 | 30,514 |
<?php
/*
* Copyright (c) 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/contrib/apiBigqueryService.php | PHP | asf20 | 60,611 |
<?php
/*
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/apiClient.php | PHP | asf20 | 12,320 |
<?php
/*
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzangtest123-google-drive-sdk-samples | php/libs/gd-v1-php/config.php | PHP | asf20 | 4,146 |
<?php
/**
* Model for storing OAuth credentials used for API requests and interaction
* with the OAuth authorization server.
*
* Copyright 2012 Google 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 ... | zzangtest123-google-drive-sdk-samples | php/oauth_credentials.php | PHP | asf20 | 3,618 |
<?php
/**
* Handler for API requests from DrEdit PHP frontend. These requests
* retrieve, save or create files in Google Drive using pre-established
* authorization information stored in the session.
*
* @author Ryan Boyd <rboyd@google.com>
*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache Licens... | zzangtest123-google-drive-sdk-samples | php/svc.php | PHP | asf20 | 1,968 |
<?php
/**
* Include to output configuration errors.
*
* @author Ryan Boyd <rboyd@google.com>
*
* Copyright 2012 Google 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
*
* ... | zzangtest123-google-drive-sdk-samples | php/output_config_errors.php | PHP | asf20 | 1,625 |
<?php
/**
* Include for web requests which ensures that all required configuration
* for DrEdit PHP is complete, including the database and OAuth config.
*
* @author Ryan Boyd <rboyd@google.com>
*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not us... | zzangtest123-google-drive-sdk-samples | php/check_config.php | PHP | asf20 | 3,147 |
<?php
/**
* Configuration for DrEdit PHP. Developers need to define the OAuth
* and databse configuration in constants.
*
* Copyright 2012 Google 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 o... | zzangtest123-google-drive-sdk-samples | php/config.php | PHP | asf20 | 3,194 |
<?php
/**
* Main entry point for web requests to the DrEdit PHP application. Checks
* authentication and authorization using auth_handler.php, checks configuration
* using check_config.php, and then spawns the output_editor.php to load the web
* interface.
*
* @author Ryan Boyd <rboyd@google.com>
*
* Copyright... | zzangtest123-google-drive-sdk-samples | php/index.php | PHP | asf20 | 3,183 |
'use strict';
var EditorState = {
CLEAN:0, // NO CHANGES
DIRTY:1, // UNSAVED CHANGES
SAVE:2, // SAVE IN PROGRESS
LOAD:3, // LOADING
READONLY:4
};
google.load('picker', '1');
//gapi.load('drive-share');
angular.module('app', ['app.filters', 'app.services', 'app.directives'])
.constant('saveInt... | zzangtest123-google-drive-sdk-samples | java/war/js/app.js | JavaScript | asf20 | 723 |
'use strict';
function UserCtrl($scope, backend) {
$scope.user = null;
$scope.login = function () {
backend.user().then(function (response) {
$scope.user = response.data;
});
}
$scope.login();
}
function EditorCtrl($scope, $location, $routeParams, $timeout, editor, doc, aut... | zzangtest123-google-drive-sdk-samples | java/war/js/controllers.js | JavaScript | asf20 | 2,552 |
'use strict';
/* Filters */
angular.module('app.filters', [])
.filter('saveStateFormatter',
function () {
return function (state) {
if (state == EditorState.DIRTY) {
return 'You have unsaved changes';
} else if (state == EditorState.SAVE) {
retur... | zzangtest123-google-drive-sdk-samples | java/war/js/filters.js | JavaScript | asf20 | 1,084 |
'use strict';
var module = angular.module('app.services', []);
var ONE_HOUR_IN_MS = 1000 * 60 * 60;
// Shared model for current document
module.factory('doc',
function ($rootScope) {
var service = $rootScope.$new(true);
service.dirty = false;
service.lastSave = 0;
service.timeSinc... | zzangtest123-google-drive-sdk-samples | java/war/js/services.js | JavaScript | asf20 | 7,293 |
'use strict';
var module = angular.module('app.directives', []);
module.directive('aceEditor',
function (editor) {
return {
retrict:'A',
link:function (scope, element) {
editor.rebind(element[0]);
}
};
});
module.directive('star',
functi... | zzangtest123-google-drive-sdk-samples | java/war/js/directives.js | JavaScript | asf20 | 1,774 |
<div class="container-fluid">
<div id="doc-bar" class="row-fluid">
<span class="span4">
<h3 ng-show="doc.info.editable" class="doc-title"
data-toggle="modal" href="#rename-dialog">{{doc.info.title}}</h3>
<h3 ng-hide="doc.info.editable" class="doc-title">{{doc.info.title}}</h3>
... | zzangtest123-google-drive-sdk-samples | java/war/partials/editor.html | HTML | asf20 | 2,381 |
/* app css stylesheet */
#editor {
position: absolute;
top: 120px;
bottom: 0px;
left: 0px;
right: 0px;
}
#doc-bar {
line-height: 27px;
}
.doc-title {
display:inline;
padding-right: 12px;
}
.star {
font-size: 22px;
color: black;
}
.icon-star {
color: yellow;
-webkit-text-stroke: 1px black;
}
.pro... | zzangtest123-google-drive-sdk-samples | java/war/css/app.css | CSS | asf20 | 792 |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
var directive = {};
var service = { value: {} };
var DEPENDENCIES = {
'angular.js': 'http://code.angularjs.org/angular-' + angular.version.full + '.min.js',
... | zzangtest123-google-drive-sdk-samples | java/war/lib/angular-1.0.0/angular-bootstrap-prettify-1.0.0.js | JavaScript | asf20 | 67,929 |
/**
* Configuration for jstd scenario adapter
*/
var jstdScenarioAdapter = {
relativeUrlPrefix: '/build/docs/'
};
| zzangtest123-google-drive-sdk-samples | java/war/lib/angular-1.0.0/jstd-scenario-adapter-config-1.0.0.js | JavaScript | asf20 | 120 |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
var directive = {};
directive.dropdownToggle =
['$document', '$location', '$window',
function ($document, $location, $window) {
var openElem... | zzangtest123-google-drive-sdk-samples | java/war/lib/angular-1.0.0/angular-bootstrap-1.0.0.js | JavaScript | asf20 | 4,516 |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
/**
* @ngdoc overview
* @name ngResource
* @description
*/
/**
* @ngdoc object
* @name ngResource.$resource
* @requires $http
*
* @description
* A fa... | zzangtest123-google-drive-sdk-samples | java/war/lib/angular-1.0.0/angular-resource-1.0.0.js | JavaScript | asf20 | 15,889 |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, document, undefined) {
'use strict';
////////////////////////////////////
/**
* @ngdoc function
* @name angular.lowercase
* @function
*
* @description Converts the specified string to lowerca... | zzangtest123-google-drive-sdk-samples | java/war/lib/angular-1.0.0/angular-1.0.0.js | JavaScript | asf20 | 473,115 |
/*!
* jQuery JavaScript Library v1.7.2
* http://jquery.com/
*
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2011, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... | zzangtest123-google-drive-sdk-samples | java/war/lib/angular-1.0.0/angular-scenario-1.0.0.js | JavaScript | asf20 | 793,870 |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*
* TODO(vojta): wrap whole file into closure during build
*/
/**
* @ngdoc overview
* @name angular.mock
* @description
*
* Namespace from 'angular-mocks.js' which contains testing related code.
*/
angular.moc... | zzangtest123-google-drive-sdk-samples | java/war/lib/angular-1.0.0/angular-mocks-1.0.0.js | JavaScript | asf20 | 54,707 |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
/**
* @ngdoc overview
* @name ngSanitize
* @description
*/
/*
* HTML Parser By Misko Hevery (misko@hevery.com)
* based on: HTML Parser By John Resig (ejo... | zzangtest123-google-drive-sdk-samples | java/war/lib/angular-1.0.0/angular-sanitize-1.0.0.js | JavaScript | asf20 | 17,350 |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(
/**
* @ngdoc interface
* @name angular.Module
* @description
*
* Interface for configuring angular {@link angular.module modules}.
*/
function setupModuleLoader(window) {
function ensure(obj, name, fact... | zzangtest123-google-drive-sdk-samples | java/war/lib/angular-1.0.0/angular-loader-1.0.0.js | JavaScript | asf20 | 9,113 |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window) {
'use strict';
/**
* JSTestDriver adapter for angular scenario tests
*
* Example of jsTestDriver.conf for running scenario tests with JSTD:
<pre>
server: http://localhost:9877
load:
... | zzangtest123-google-drive-sdk-samples | java/war/lib/angular-1.0.0/jstd-scenario-adapter-1.0.0.js | JavaScript | asf20 | 5,784 |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
/**
* @ngdoc overview
* @name ngCookies
*/
angular.module('ngCookies', ['ng']).
/**
* @ngdoc object
* @name ngCookies.$cookies
* @requires $brows... | zzangtest123-google-drive-sdk-samples | java/war/lib/angular-1.0.0/angular-cookies-1.0.0.js | JavaScript | asf20 | 4,842 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | zzangtest123-google-drive-sdk-samples | java/war/lib/ace/theme-tomorrow_night_blue.js | JavaScript | asf20 | 5,404 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | zzangtest123-google-drive-sdk-samples | java/war/lib/ace/theme-cobalt.js | JavaScript | asf20 | 4,632 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | zzangtest123-google-drive-sdk-samples | java/war/lib/ace/theme-clouds.js | JavaScript | asf20 | 4,092 |