id
stringlengths
64
64
content
stringlengths
500
100k
language
stringclasses
29 values
path
stringlengths
4
333
repo
stringlengths
5
116
license
stringclasses
15 values
size
int64
500
100k
lines
int64
26
8.06k
source
stringclasses
1 value
2af4b0e0549f6397066200acf216a68bd010ce6898a89cee2fab6f7fbe242728
<?php /** * BootButtonColumn class file. * @author Christoffer Niska <ChristofferNiska@gmail.com> * @copyright Copyright &copy; Christoffer Niska 2011- * @license http://www.opensource.org/licenses/bsd-license.php New BSD License * @package bootstrap.widgets */ Yii::import('zii.widgets.grid.CButtonColu...
PHP
widgets/BootButtonColumn.php
paulstefanort/yii-bootstrap
bsd-3-clause
2,665
73
codeparrot/github-code
ace2d318114014b810f1c35ecdc0411c1a175b77a41258346ae9c02526f8ecdb
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/scheduler/child/web_scheduler_impl.h" #include "base/bind.h" #include "base/single_thread_task_runner.h" #include "components/schedu...
C++
components/scheduler/child/web_scheduler_impl.cc
guorendong/iridium-browser-ubuntu
bsd-3-clause
4,225
112
codeparrot/github-code
2f258830df24c79b59d24e6e453e0a95495814920660f1b528fa827b81e36586
package io.tracee; import io.tracee.spi.TraceeBackendProvider; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.internal.util.collections.Sets; import org.powermock.core.classloader.annotations.PrepareForTest; import org.powermock.modules.junit4.PowerMockRunner; import org.powermock.reflect.W...
Java
api/src/test/java/io/tracee/BackendProviderSetTest.java
danielwegener/tracee
bsd-3-clause
3,966
91
codeparrot/github-code
f1439565ffa11ec05b809e9591108539fbcb910f780a09ea8e218e104ec02cc6
""" Base classes for writing management commands (named commands which can be executed through ``django-admin.py`` or ``manage.py``). """ import os import sys from optparse import make_option, OptionParser import traceback import django from django.core.exceptions import ImproperlyConfigured from django.core.managem...
Python
django/core/management/base.py
andymckay/django
bsd-3-clause
13,731
379
codeparrot/github-code
f7b29207690d5ce3db5e963ba6c8d62430696de00e1df1574f36582f6dbbdee7
# -*- coding: utf-8 -*- import json from vilya.libs import api_errors from vilya.models.gist import ( Gist, gist_detail, PRIVILEGE_PUBLIC, PRIVILEGE_SECRET) from vilya.views.api.gist import GistUI from vilya.views.api.utils import json_body _q_exports = ['starred'] @json_body def _q_index(request): if reque...
Python
vilya/views/api/gists.py
douban/code
bsd-3-clause
2,398
79
codeparrot/github-code
5574753cf419e80055937c70c2b0421adc59d7f3087acad536001862b73423d4
import argparse import numpy as np import os from dagbldr.datasets import fetch_fer from dagbldr.utils import load_checkpoint, interpolate_between_points, make_gif parser = argparse.ArgumentParser() parser.add_argument("saved_functions_file", help="Saved pickle file from vae training") parser.add_...
Python
examples/faces_vae/flying_faces_vae.py
dribnet/dagbldr
bsd-3-clause
2,380
76
codeparrot/github-code
f007c00a51488f337dde8e36017bd042b4d2e5c82703ee0fa921269d4ee08c7f
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/child_process_security_policy.h" #include "base/file_path.h" #include "base/logging.h" #include "base/platform_file.h" #inc...
C++
content/browser/child_process_security_policy.cc
meego-tablet-ux/meego-app-browser
bsd-3-clause
15,222
471
codeparrot/github-code
411439862b01a77d78e7f1b772c45ff76d6f7cdcb2178dbfd7d29c75f8765956
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees ...
C++
src/qt/qtbase/src/gui/kernel/qshortcutmap.cpp
klim-iv/phantomjs-qt5
bsd-3-clause
23,617
708
codeparrot/github-code
42218615c158a30c1c6a78409c6ea6f7aa4b62d747a6a079576826c6731976a1
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <string> #include "base/command_line.h" #include "base/files/file_path.h" #include "base/memory/scoped_ptr.h" #include "base/path_service.h" #in...
C++
chrome/browser/notifications/platform_notification_service_browsertest.cc
guorendong/iridium-browser-ubuntu
bsd-3-clause
13,978
365
codeparrot/github-code
6d10a881171e69e6b9e46047ee256c390a0f09e2a3de4e23684bd4c64a2c8805
/* * Copyright (c) 2014-Present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ usin...
C#
src/Cassette.React/MSBuildUtils.cs
rickbeerendonk/React.NET
bsd-3-clause
869
37
codeparrot/github-code
c714f55604f1a843cb1b7f87809d96b0b5f5d35f9488a45d61d97e88fd7e792a
// Copyright 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "cc/layers/picture_layer_impl.h" #include <algorithm> #include "base/time.h" #include "cc/base/math_util.h" #include "cc/base/util.h" #include ...
C++
chromium/src/cc/layers/picture_layer_impl.cc
windyuuy/opera
bsd-3-clause
37,941
1,045
codeparrot/github-code
e36f00fcf8caa3f16859734049e96415f8a748cde0b30c1182efb76d0a4e1734
package scala.lms package epfl package test11 import common._ import test1._ import test7._ import test8.{ArrayMutation,ArrayMutationExp,ScalaGenArrayMutation} import util.OverloadHack import scala.reflect.SourceContext import java.io.{PrintWriter,StringWriter,FileOutputStream} import scala.reflect.SourceContext c...
Scala
test-src/epfl/test11-shonan/TestStencil.scala
cedricbastin/copy-virtualization-lms-core
bsd-3-clause
12,470
427
codeparrot/github-code
3e0013e2deca1bcb7dd4732859ea1048e3963ce928b6c0d9b44de8f568778e0e
/* * Copyright (c) 2014, Peter Haag * Copyright (c) 2009, Peter Haag * Copyright (c) 2008, SWITCH - Teleinformatikdienste fuer Lehre und Forschung * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condi...
C
nfdump/bin/collector_inline.c
OpenNetworkInsight/oni-nfdump
bsd-3-clause
3,944
127
codeparrot/github-code
ea58e973ca5a72f5c794055f5e8d88d0835a7dd168e932913e9caecbc59685c9
/******************************************************************************* * * Module Name: dbcmds - Miscellaneous debug commands and output routines * ******************************************************************************/ /* * Copyright (C) 2000 - 2011, Intel Corp. * All rights reserved. * * Re...
C
sys/contrib/dev/acpica/debugger/dbcmds.c
dcui/FreeBSD-9.3_kernel
bsd-3-clause
22,685
823
codeparrot/github-code
2b5d0980a9e33dd0671be1fe542f1f8d617881a9741504e2be52730ae08651db
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/net/network_portal_notification_controller.h" #include <stdint.h> #include <vector> #include "ash/shell.h" #include "...
C++
chrome/browser/chromeos/net/network_portal_notification_controller.cc
ds-hwang/chromium-crosswalk
bsd-3-clause
17,264
450
codeparrot/github-code
fd3a0ed6d4289308ec098f42614a1c852c95b9e4d29246a1208c9d06879cfbcd
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "testing/gtest/include/gtest/gtest.h" #include "base/memory/scoped_ptr.h" #include "ui/base/view_prop.h" namespace { const char kKey1[] = "...
C++
ui/base/view_prop_unittest.cc
aYukiSekiguchi/ACCESS-Chromium
bsd-3-clause
2,261
73
codeparrot/github-code
b23f339456b1f64d8687788155459a7211a24e2fc415fca98071457abc459457
/* * Copyright (c) 2008, Harald Kuhr * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * list of condition...
Java
common/common-image/src/main/java/com/twelvemonkeys/image/BufferedImageFactory.java
jbobnar/TwelveMonkeys
bsd-3-clause
22,252
614
codeparrot/github-code
79d1a97e6c2034067d1b71411e0bcbd712eb4fc1a3b6de9bc0b04d5c6570119c
#ifndef ALIEMCALTRIGGERDATA_H #define ALIEMCALTRIGGERDATA_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ #include "AliEMCALTriggerTypes.h" #include <TObject.h> #include <TVector2.h> #include <TClonesArray.h> /...
C
EMCAL/EMCALbase/AliEMCALTriggerData.h
miranov25/AliRoot
bsd-3-clause
8,532
195
codeparrot/github-code
d62a6df08ed361083910c68da2f8cb0c8711c15faa90e5e22ccb2692f3d2b55a
from __future__ import absolute_import import copy import os from raven._compat import string_types from raven.utils.imports import import_string def convert_options(settings, defaults=None): """ Convert a settings object (or dictionary) to parameters which may be passed to a new ``Client()`` instance. ...
Python
raven/utils/conf.py
johansteffner/raven-python
bsd-3-clause
2,163
62
codeparrot/github-code
318964e42f880afe70204dade28482b25d648e0de51522a89d3480f4e816d913
# - Try to find Sqlite3 # Once done this will define # # SQLITE3_FOUND - system has Sqlite3 # SQLITE3_INCLUDE_DIRS - the Sqlite3 include directory # SQLITE3_LIBRARIES - Link these to use Sqlite3 # SQLITE3_DEFINITIONS - Compiler switches required for using Sqlite3 # # Copyright (c) 2008 Andreas Schneider <mail@cyna...
CMake
tools/cmake/modules/FindSqlite3.cmake
APCVSRepo/sdl_core
bsd-3-clause
2,129
81
codeparrot/github-code
efe880113e4e80dd119398ef15cf73936e6fafa5627573c5fd36e642470bd5e7
/* * Copyright © 2009 Red Hat, Inc. * Copyright © 2011 Codethink Limited * Copyright © 2011 Google, Inc. * * This is part of HarfBuzz, a text shaping library. * * Permission is hereby granted, without written agreement and without * license or royalty fees, to use, copy, modify, and distribute this * softw...
C
third_party/harfbuzz-ng/src/hb-unicode.h
keishi/chromium
bsd-3-clause
5,942
199
codeparrot/github-code
1d59d8b825a5b15f06d0c7c13ad80086bf3417afd1c87f5f686de89caef14fa0
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package transform provides reader and writer wrappers that transform the // bytes passing through as well as various transformations. Example // transformati...
GO
transform/transform.go
webfd/go-zh.text
bsd-3-clause
17,720
593
codeparrot/github-code
ac11bd3bafa978eafb1969f4b32ab0a4d106da5a44469aba77809ed2c148d9bf
/* SYTextParser.h Author: Makoto Kinoshita Copyright 2010-2011 HMDT. All rights reserved. */ #import <objc/runtime.h> #if TARGET_OS_IPHONE #import <UIKit/UIKit.h> #import "HMXML.h" #elif TARGET_OS_MAC #import <Cocoa/Cocoa.h> #endif #import "SYTextRun.h" #import "SYTextStyle.h" @class SYCss; @interface SYTextParser...
C
source/Sayori/SYTextParser.h
0x0c/Sayori
bsd-3-clause
1,413
55
codeparrot/github-code
fae88087c66abba0531570775ab21e719c911da56a54e993fdaa0a2dd8a6da3e
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2015, Vispy Development Team. # Distributed under the (new) BSD License. See LICENSE.txt for more info. """ This example shows how to use the `ArrowVisual` for a quiver plot """ from __future__ import division import sys import itertools import numpy as ...
Python
examples/basics/visuals/arrows_quiver.py
michaelaye/vispy
bsd-3-clause
2,742
97
codeparrot/github-code
c1900f5d4e7ff1c928177b75316e02cb01f8addef5637252d1116ae2accb64c9
module Alchemy module Page::PageUsers extend ActiveSupport::Concern # Returns the creator of this page. # def creator get_page_user(creator_id) end # Returns the last updater of this page. # def updater get_page_user(updater_id) end # Returns the user currently e...
Ruby
app/models/alchemy/page/page_users.rb
akra/alchemy_cms
bsd-3-clause
1,432
59
codeparrot/github-code
d4f348520e3dc6a0c6d0dad2c740afc5734089bc4de5f205ad754a77d9588890
using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using OpenProtocolInterpreter.ApplicationSelector; namespace MIDTesters.ApplicationSelector { [TestClass] public class TestMid0253 : MidTester { [TestMethod] public void Mid0253Revision1() { ...
C#
src/MIDTesters/ApplicationSelector/TestMid0253.cs
Rickedb/OpenProtocolInterpreter
mit
919
33
codeparrot/github-code
627e7681f10d3956e5170b77b6445450c5fe26ce6239ce58788a41930c2e5677
export default function ({ types: t }) { let IGNORE = Symbol(); return { visitor: { Scope({ scope }) { if (!scope.getBinding("Symbol")) { return; } scope.rename("Symbol"); }, UnaryExpression(path) { let { node, parent } = path; if (node[IGNO...
JavaScript
packages/babel-plugin-transform-es2015-typeof-symbol/src/index.js
benjamn/babel
mit
1,451
46
codeparrot/github-code
d2d180e735c78894d9584e791b3c765ff250b25e4c96b98eca17967e080cb88a
#!/usr/bin/env python """ This script accepts .csv pipeline output and gives a .ps file with a basic tree structure """ __author__ = "Paul Donovan" __maintainer__ = "Paul Donovan" __email__ = "pauldonovandonegal@gmail.com" import sys import argparse from ete3 import NCBITaxa #Display help and usage parser = argpar...
Python
FindFungi-v0.23/CSV-to-Tree.py
GiantSpaceRobot/FindFungi
mit
2,781
90
codeparrot/github-code
a34b2fd1e023f4ea0dade000084ed50d52497c0f88255bc25b30fc3acd42f660
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shap...
C#
osu.Game/Overlays/UserProfileOverlay.cs
ppy/osu
mit
7,241
216
codeparrot/github-code
9667b838390a3c386b0d3ff1b1630e0dbbcf5d463589912db5dee915e3d1be06
// should perhaps be in igv.data or some other location package org.broad.igv.feature.basepair; import org.broad.igv.feature.FeatureUtils; import java.awt.*; // does this have Color definition? import java.util.ArrayList; import java.util.List; import java.util.HashMap; import java.util.Map; public class BasePairDa...
Java
src/org/broad/igv/feature/basepair/BasePairData.java
popitsch/varan-gie
mit
1,107
42
codeparrot/github-code
cbf43ab61b218ab1250dbc1e9142c84aac894439e6e5479dd719ecdb0593147e
/** * Grid is a region which contains at most 4 cartesian systems * * TODO Default cartesian */ define(function(require, factory) { var layout = require('../../util/layout'); var axisHelper = require('../../coord/axisHelper'); var zrUtil = require('zrender/core/util'); var Cartesian2D = require('....
JavaScript
vendors/echarts-3.2.3/src/coord/cartesian/Grid.js
robnightingale/ore-dashboard-beta
mit
15,414
486
codeparrot/github-code
3908a581fb8ec309fa27385d6feab8510d18700e3a48748733a38efba169ad43
// ******************************************************************************************************* // Product: DotSpatial.Analysis.RasterBin.cs // Description: Class for binning raster data, for example into a histogram of values. // ************************************************************************...
C#
Source/DotSpatial.Analysis/RasterBin.cs
donogst/DotSpatial
mit
6,615
146
codeparrot/github-code
eb3f6e3f92d5f581272caee8eb9304f219ecc92d65874612514f732aaf85c59a
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information namespace DotNetNuke.Security.Permissions.Controls { using System; using System.Collections; using Sys...
C#
DNN Platform/Library/Security/Permissions/Controls/TabPermissionsGrid.cs
dnnsoftware/Dnn.Platform
mit
15,359
409
codeparrot/github-code
146c5408942447ce8073531dbec187039e21a15ef4857ece20c22c7e762ca08d
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
TypeScript
test/smoke/src/areas/debug/debug.test.ts
stringham/vscode
mit
6,861
199
codeparrot/github-code
26e9a89e630ca7133b525a164a33636e0bb2d6f0d62e6e7396d1c5904ef3f26f
/******************************************************************************* * Copyright (c) 2008 SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * ...
Java
Leakcanary-lib/src/org/eclipse/mat/parser/model/ClassLoaderImpl.java
zourb/leakcanary-for-eclipse
mit
5,085
154
codeparrot/github-code
cb98fc8fab65e44425d816247ceb50c112f39e44c78346b02754c5c4ff880e2c
module ApplicationHelper def present(object, locals = nil, klass = nil) klass ||= "#{object.class}Presenter".constantize presenter = klass.new(object, locals, self) yield presenter if block_given? presenter end def is_active?(controller, action) controller = [*controller] action = [*actio...
Ruby
app/helpers/application_helper.rb
azukiapp/feedbin
mit
2,015
80
codeparrot/github-code
c441543748a5accebd59f116945335eaaa99b9f9989937c1334ce92f49ef9a89
class Staff::CustomerSearchForm include ActiveModel::Model include StringNormalizer attr_accessor :family_name_kana, :given_name_kana, :birth_year, :birth_month, :birth_mday, :gender, :address_type, :prefecture, :city, :postal_code, :phone_number, :last_four_digits def search normalize_values ...
Ruby
original/section-21-3/app/forms/staff/customer_search_form.rb
mono0926/ruby-on-rails-practice
mit
2,138
69
codeparrot/github-code
d52a6f4a32a14e4283557d8f438a6df94720f8ca5f3da67faae89a118fe6b180
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information. $(function () { var active = 'active'; var expanded = 'in'; var collapsed = 'collapsed'; var filtered = 'filtered'; var show = 'show'; var hide = 'hide'; var ...
JavaScript
v2.2.1/styles/docfx.js
benjamin-hodgson/Sawmill
mit
35,610
1,140
codeparrot/github-code
0985dfdc6d921ea8f36f234158905c9faf1b58826124c9bd84b5824689a43610
/*globals ENV */ require('ember-metal'); /** @module ember @submodule ember-runtime */ var indexOf = Ember.EnumerableUtils.indexOf; /** This will compare two javascript values of possibly different types. It will tell you which one is greater than the other by returning: - -1 if the first is smaller than the s...
JavaScript
packages/ember-runtime/lib/core.js
fivetanley/ember-tests-izzle
mit
8,244
305
codeparrot/github-code
14d2d8c973f23aa129b8d06ba84ac60de665abd79b01e52e0407e120a1ab6e8c
/* set display:inline if the element with the specified id only if compare1 and compare2 are equal strings. Otherwise set display:none on the element. When set to none, the element is hidden from view, and all surrounding content cinches up to occupy whatever space the element would normally occupy. ...
JavaScript
public/core/assets/scripts/display.js
jorkin/asp-vbscript-cms
mit
1,121
30
codeparrot/github-code
8f7e813071546a934bea081d4e49e948d1e18596a9418b0caca3a813679a0778
using System; using System.Threading.Tasks; using System.Collections.Generic; using System.Linq; using System.Diagnostics; using Orleans; using BenchmarkGrainInterfaces.Transaction; namespace BenchmarkGrains.Transaction { public class LoadGrain : Grain, ILoadGrain { private Task<Report> runTask; ...
C#
test/Benchmarks/BenchmarkGrains/Transaction/LoadGrain.cs
MikeHardman/orleans
mit
2,595
86
codeparrot/github-code
78deccc2466c1f60a390d35df6ae18186587866b563bfeda9b72e9eeec2dea30
// Copyright Aleksey Gurtovoy 2000-2004 // Copyright Jaap Suter 2003 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // *Preprocessed* version of the main "bitxor.hpp" header // -- DO NOT modi...
C++
mars/boost/mpl/aux_/preprocessed/bcc_pre590/bitxor.hpp
zhenyiyi/LearnDiary
mit
3,474
148
codeparrot/github-code
814dd71f313fb42881dac2a279f9aebe9ac805aa34157749f2304942986901c5
'use strict'; var debug = require('debug')('licenses::npm'); /** * Parser for npm based license information. * * @constructor * @api public */ module.exports = require('./parser').extend({ /** * The name of this parser. * * @type {String} * @private */ name: 'npm', /** * Parse the npm li...
JavaScript
registry.js
3rd-Eden/licenses
mit
2,824
119
codeparrot/github-code
c4b9c90983e91d58d07ddc8ba13f4e41eb304c3a44e98de7ca4ceb1e726aafb6
/** * @license Highcharts JS v7.2.0 (2019-09-03) * * Highcharts funnel module * * (c) 2010-2019 Kacper Madej * * License: www.highcharts.com/license */ 'use strict'; (function (factory) { if (typeof module === 'object' && module.exports) { factory['default'] = factory; module.exports = facto...
JavaScript
ajax/libs/highcharts/7.2.0/modules/funnel3d.src.js
extend1994/cdnjs
mit
32,949
724
codeparrot/github-code
baa2091e8e18fa9cd60d42cc3aca4eefb62fe8de9f0be1ca8c01dede0649d4db
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable enable using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Mic...
C#
src/Features/Core/Portable/ChangeSignature/ChangeSignatureCodeAction.cs
diryboy/roslyn
mit
1,966
47
codeparrot/github-code
2f53445040e2668a416786dd423b1dd441bded19308944c98e9e2fbb9b174948
/********************************************************************* * * Upload Settings dialog for MPFS21 * ********************************************************************* * FileName: UploadSettings.cs * Dependencies: Microsoft .NET Framework 2.0 * Processor: x86 * Complier: ...
C#
libs/Microchip/TCPIP Stack/Utilities/Source/MPFS21/MPFS21/UploadSettings.Designer.cs
kareen2707/TFG
mit
11,513
248
codeparrot/github-code
632b7e89fef9106c0a30136037a76efb83abda83105dc53d4b26931dea313ac5
<!DOCTYPE html> <!--[if lt IE 7 ]> <html class="ie ie6" lang="en"> <![endif]--> <!--[if IE 7 ]> <html class="ie ie7" lang="en"> <![endif]--> <!--[if IE 8 ]> <html class="ie ie8" lang="en"> <![endif]--> <!--[if (gte IE 9)|!(IE)]><!--> <html class="not-ie" lang="en" xmlns:th="http://www.thymeleaf.org"> <!--<![endif]--> <...
HTML
core/src/main/resources/templates/index.html
rango1900/MindTrails
mit
1,363
36
codeparrot/github-code
d8c22648b782f26eb9ac8d72a1ad4f2bb5ec8763a6dcaf5cfb72d3ec6606061d
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ import type { Destination, Chunk, BundlerConfig, ModuleMetaData, ModuleReference, } from './ReactFlightServe...
JavaScript
packages/react-server/src/ReactFlightServer.js
ericyang321/react
mit
10,438
381
codeparrot/github-code
c44047dc2cb941c95f8d07117b6cc8547ff9ffae1b9e9eba547a380c53d23a3e
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person ...
C++
OgreMain/src/OgreHardwareCounterBuffer.cpp
spetz911/ogre3d
mit
2,554
70
codeparrot/github-code
e1032e76aae8783b37f62fba921f459c1916aef92314fe21f3c49c8c447c60bb
/* Copyright (c) 2003-2013 Erwin Coumans http://bulletphysics.org This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, includ...
C++
shared/bullet3-2.89/examples/Utils/b3Quickprof.cpp
MadManRises/Madgine
mit
14,116
404
codeparrot/github-code
9c8785973898fe846406737184922f089715e0865d15e218634481e957fc35e6
<?php namespace SMW\Maintenance; use SMW\Store\PropertyStatisticsStore; use Onoi\MessageReporter\MessageReporter; use Onoi\MessageReporter\MessageReporterFactory; use SMW\Store; /** * Simple class for rebuilding property usage statistics. * * @license GNU GPL v2+ * @since 1.9 * * @author Jeroen De Dauw < jeroe...
PHP
wiki/extensions/SemanticMediaWiki/src/Maintenance/PropertyStatisticsRebuilder.php
owen-kellie-smith/mediawiki
mit
2,682
113
codeparrot/github-code
b09cce2af79881ca3d72b44d2d694adf423ec961fa4b9524762b90a462cf1e65
package com.xeiam.xchange.quoine.dto.account; import java.math.BigDecimal; import java.util.Date; import com.fasterxml.jackson.annotation.JsonProperty; public final class QuoineTradingAccountInfo { private final String id; private final int leverageLevel; private final int currentLeverageLevel; private final Big...
Java
xchange-quoine/src/main/java/com/xeiam/xchange/quoine/dto/account/QuoineTradingAccountInfo.java
cinjoff/XChange-1
mit
4,146
154
codeparrot/github-code
bbbc02bd754f2806aaee1cbcf1c3ddbf6b1449f056f369534e8c0463ec5468f5
<?php namespace Backend\Modules\Locale\Installer; /* * This file is part of Fork CMS. * * For the full copyright and license information, please view the license * file that was distributed with this source code. */ use Backend\Core\Installer\ModuleInstaller; /** * Installer for the locale module */ class In...
PHP
src/Backend/Modules/Locale/Installer/Installer.php
Thijzer/forkcms
mit
1,885
63
codeparrot/github-code
e4ba394935db0c0eb51a39bc35a65760b726ae19fe7574df09e3dbf9a729319a
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2017 - ROLI Ltd. JUCE is an open source library subject to commercial or open-source licensing. The code included in this file is provided under the terms of the ISC...
C++
src/JuceLibraryCode/modules/juce_core/native/juce_linux_CommonFile.cpp
Ultraschall/Soundboard
mit
4,013
143
codeparrot/github-code
b49f4ded1ac1e3f4a0e80ef080aa6a85f5b73dcb88c51790f879bca1641cd0c9
module Admin class PagesController < BaseController sections 'contents' respond_to :json, :only => [:update, :sort, :get_path] def index @pages = current_site.all_pages_in_once end def new @page = current_site.pages.build end def update update! do |success, failure| ...
Ruby
app/controllers/admin/pages_controller.rb
sgrove/Locomotive-Testing
mit
1,003
43
codeparrot/github-code
9376985680f13bae5ef3c9d50c1bdca37dc75d158d80cbef3e7bd6e2d1c0e561
package net.minecraft.nbt; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import net.minecraft.util.MathHelper; public class NBTTagDouble extends NBTBase.NBTPrimitive { /** The double value for the tag. */ private double data; NBTTagDouble() { } public NBTTa...
Java
src/net/minecraft/nbt/NBTTagDouble.java
TorchPowered/CraftBloom
mit
2,061
106
codeparrot/github-code
b89698811a3e76797256d3e2c4add03cff33605c9e7ff8b9e4ef2daa41db327d
package com.smartcodeltd.jenkinsci.plugins.buildmonitor_acceptance; import com.smartcodeltd.jenkinsci.plugins.buildmonitor_acceptance.pageobjects.buildmonitor.BuildMonitor; import com.smartcodeltd.jenkinsci.plugins.buildmonitor_acceptance.recipes.With; import org.junit.Test; import static com.smartcodeltd.jenkinsci.p...
Java
src/test/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor_acceptance/OutOfTheBoxBehaviourTest.java
Le0Michine/jenkins-build-monitor-plugin
mit
1,594
35
codeparrot/github-code
cf1270a3556c64aa2e345532403dca7d443b97413be232a8449a52ee7d1b593a
begin require "sinatra/ditties/mailer" rescue LoadError abort "Install sinatra-ditties to use the Email notifier" end module Integrity class Notifier class Email < Notifier::Base attr_reader :to, :from def self.to_haml @haml ||= File.read(File.dirname(__FILE__) + "/email.haml") end...
Ruby
lib/integrity/notifier/email.rb
dkastner/prism_ci
mit
1,755
75
codeparrot/github-code
aad277b1c29ec69786840b09f87179d93add0cc08ac5bf6faddfa57be1d18bed
<?php namespace Kunstmaan\SitemapBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Kunstmaan\NodeBundle\Entity\AbstractPage; use Kunstmaan\SitemapBundle\Helper\HiddenFromSitemap; /** * ContentPage * * @ORM\Entity() * @ORM\Table(name="kuma_sitemap_pages") */ class SitemapPage extends AbstractPage implements Hi...
PHP
src/Kunstmaan/SitemapBundle/Entity/SitemapPage.php
WouterJ/KunstmaanBundlesCMS
mit
1,024
53
codeparrot/github-code
2317688c624f533852a114ddce33cf8b8e1c2564cc06dcf13ba5b1a5f3f1f89b
using System; using System.Globalization; using System.Linq; using System.Threading; using System.Windows; using System.Windows.Controls; namespace CalculatorXaml { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { static doub...
C#
Programming with C#/Codes/Other/School Assignments/Calculator (XAML)/Calculator/MainWindow.xaml.cs
TelerikAcademy/flextry-Telerik-Academy
mit
7,526
244
codeparrot/github-code
15e91562650d2d07625052b3d0934ab3406444042c3f6d4d244e1dc09ac51e69
from django.core.management.base import BaseCommand, CommandError try: from django.contrib.auth import get_user_model except ImportError: from django.contrib.auth.models import User else: User = get_user_model() from django_otp import devices_for_user class Command(BaseCommand): """ Command for d...
Python
two_factor/management/commands/two_factor_disable.py
mathspace/django-two-factor-auth
mit
998
35
codeparrot/github-code
7752246c4c514b63b85db0a264a9d9690f0cea07dbd14fc1ba9407868e1e8551
/** * Room settings commands * Pokemon Showdown - http://pokemonshowdown.com/ * * Commands for settings relating to room setting filtering. * * @license MIT license */ 'use strict'; const RANKS = Config.groupsranking; const SLOWCHAT_MINIMUM = 2; const SLOWCHAT_MAXIMUM = 60; const SLOWCHAT_USER_REQUIREMENT = 1...
JavaScript
chat-plugins/roomsettings.js
DesoGit/Tsunami_PS
mit
23,413
536
codeparrot/github-code
fd7fdbc1b7dacd6e0821e95bdef5a8ec4b448d2a407b978e5ce1d4324eaac3d1
// ******************************************************* // Copyright 2013-2014 Daikon Forge, all rights reserved under // US Copyright Law and international treaties // ******************************************************* using System; using System.IO; using System.Collections; using System.Collections.Generic;...
C#
Editor/dfUpgradeHelper.cs
flyingbag/DFGUI
mit
4,680
194
codeparrot/github-code
78734d5c3939def459df22b347b12e78a3e87c0126be34d5614d72b1feff0b99
/* * The MIT License * Copyright © 2014-2019 Ilkka Seppälä * * 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 rights * to use, copy...
Java
servant/src/test/java/com/iluwatar/servant/ServantTest.java
zik43/java-design-patterns
mit
2,889
86
codeparrot/github-code
b1f25d33247f9dc9ee9a21119657ed98ae32fd86a37f0cd5778ef5986edec4f8
/* Copyright (C) 1999 Aladdin Enterprises. All rights reserved. This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpos...
C
src/md5/md5.h
LogIN-/duplicate
mit
3,006
99
codeparrot/github-code
e53f6aaac98b9f5d46a4f70a6e853719146c30c9a161faafed5826252de4b99e
(function () { // a stupidly simple copy button // - copies on awesome browsers/devices // - selects text on underwhelming mobile devices var copyBtn = document.querySelector('.js-copy-btn'); copyBtn.addEventListener('click', function (event) { // select the text var copyItem = docum...
JavaScript
ajax/libs/cheval/0.1.1/simpleJsCopy.js
sufuf3/cdnjs
mit
1,486
35
codeparrot/github-code
3a939f16214349ca022f3befcb4464bd7f8ab20b15081d8cfd82b5994ac43216
#include "PhysicsClientUDP.h" #include <enet/enet.h> #include <stdio.h> #include <string.h> #include "../Utils/b3Clock.h" #include "PhysicsClient.h" //#include "LinearMath/btVector3.h" #include "SharedMemoryCommands.h" #include <string> #include "Bullet3Common/b3Logging.h" #include "../MultiThreading/b3ThreadSupportInt...
C++
shared/bullet3-2.89/examples/SharedMemory/PhysicsClientUDP.cpp
MadManRises/Madgine
mit
13,815
598
codeparrot/github-code
61c0fe728618300eda6c591f96a574e313ab9485dcb50605a4addb93474c2cfc
/** * @license Highcharts JS v7.1.2 (2019-06-04) * * StaticScale * * (c) 2016-2019 Torstein Honsi, Lars A. V. Cabrera * * License: www.highcharts.com/license */ 'use strict'; (function (factory) { if (typeof module === 'object' && module.exports) { factory['default'] = factory; module.export...
JavaScript
ajax/libs/highcharts/7.1.2/modules/static-scale.src.js
joeyparrish/cdnjs
mit
4,547
130
codeparrot/github-code
377a9819b013bf389a58d0f799fc6de9eafacd64b7c2469da5f1078ed7749774
package org.usfirst.frc4915.MecanumDrive.commands.elevator; import org.usfirst.frc4915.MecanumDrive.Robot; import org.usfirst.frc4915.MecanumDrive.subsystems.Elevator; import edu.wpi.first.wpilibj.command.Command; /** * */ public class ElevatorResetSettingsCommand extends Command { private static final doubl...
Java
RobotCode/MecanumDrive/src/org/usfirst/frc4915/MecanumDrive/commands/elevator/ElevatorResetSettingsCommand.java
ClioBatali/2015-Recycle-Rush
mit
1,294
45
codeparrot/github-code
28875619b370e766cae0df99cca1d52faf649f6625d062f3ac477d3e8fc2963b
package controllers import lila.app._ import lila.security.Permission import lila.user.UserRepo import views._ import org.joda.time.DateTime import play.api.mvc._ import play.api.mvc.Results._ import lila.evaluation.{ PlayerAssessment } import chess.Color object Mod extends LilaController { private def modApi =...
Scala
app/controllers/Mod.scala
pavelo65/lila
mit
3,175
97
codeparrot/github-code
bb4406567fc41fb2552b973776f36a7ff048a1ef9f6e9cfb200f565c10c390f8
'use strict'; module.exports = srcPath => { const Broadcast = require(srcPath + 'Broadcast'); const Flag = require(srcPath + 'EffectFlag'); return { config: { name: 'Buff Strength', description: "You feel stronger!", duration: 30 * 1000, type: 'buff.strength', }, flags: [Flag...
JavaScript
bundles/ranvier-effects/effects/buff.js
mudslingers/game
mit
778
36
codeparrot/github-code
fa1dc0a162c065916175a48595c68c900ffb00ddd8107ebb7e36eade546db4b5
package ly.count.android.sdk; import android.test.AndroidTestCase; import org.json.JSONException; import org.json.JSONObject; import java.net.MalformedURLException; import java.net.URL; import java.util.HashMap; public class UserDataTests extends AndroidTestCase { public void testSetData(){ HashMap<String...
Java
sdk/src/androidTest/java/ly/count/android/sdk/UserDataTests.java
tymiles003/countly-sdk-android
mit
2,419
65
codeparrot/github-code
65777edd9d79b4252eb2cd9a55324c2286826f47055cc8f938cc5c519882f9b3
var PV = PackageVersion; var CS = ConstraintSolver; // `check` can be really slow, so this line is a valve that makes it // easy to turn off when debugging performance problems. var _check = check; // The "Input" object completely specifies the input to the resolver, // and it holds the data loaded from the Catalog a...
JavaScript
packages/constraint-solver/constraint-solver-input.js
Urigo/meteor
mit
7,807
224
codeparrot/github-code
6a200dd100299ffd4c859b6f1df287f78f183ec19fa79d3c5448bff7653f1b44
module Locomotive module Mongoid module Presenter extend ActiveSupport::Concern included do # keep a link to the original as_json method from Mongoid alias :as_json_from_mongoid :as_json # keeps track of the presenter class class << self; attr_writer :presenter_clas...
Ruby
lib/locomotive/mongoid/presenter.rb
emanuel/engine
mit
2,025
77
codeparrot/github-code
a145f2e88430c5bc7941acc8fec43774c96e6f5133049b86a331b899b43a6fc7
<!DOCTYPE html> <html lang="en"> <head> <title>three.js webgl - clipping planes</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> <link type="text/css" rel="stylesheet" href="main.css"> </head> <body> <script type="mo...
HTML
examples/webgl_clipping.html
opensim-org/three.js
mit
5,377
234
codeparrot/github-code
e108e5094791e297f4fa3ab1988f6559b7d7f4773aa7a809a146e201caa24777
// Copyright Joyent, Inc. and other Node contributors. // // 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 rights to use, copy, modi...
JavaScript
lts/test/parallel/test-fs-chmod.js
enclose-io/compiler
mit
4,600
165
codeparrot/github-code
599897ba525a2fdf05bfea5e6a201635a85457325c4d7040adfb9c7b3d309c69
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.Graphics.Display; using Windows.UI.ViewManagement; using Windows.UI.Xaml; using Windows.UI.Xaml....
C#
VS2012/Chapter_1/Save_the_Humans_pages_42-44/Save_the_Humans/Common/BooleanToVisibilityConverter.cs
head-first-csharp/third-edition
mit
1,091
33
codeparrot/github-code
5ac7a7f39944eda2072c0886f12636c7071610e419400a4e3c78e5b4c5fa47e3
// dna.js ~~ MIT License const dna = { version: '[VERSION]', // API: // dna.clone() // dna.cloneSub() // dna.createTemplate() // dna.getModel() // dna.empty() // dna.insert() // dna.refresh() // dna.refreshAll() // dna.destroy() // dna.getClone() // ...
JavaScript
ajax/libs/dna.js/1.5.0/dna.js
extend1994/cdnjs
mit
50,825
1,115
codeparrot/github-code
ca9992afa72aa1e13e4a32e8c8298c454f180c0018d7649c83ae0e8ad5732f41
// // AuthenticationHeaderValueTest.cs // // Authors: // Marek Safar <marek.safar@gmail.com> // // Copyright (C) 2011 Xamarin Inc (http://www.xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to de...
C#
System.Net.Http/Test/System.Net.Http.Headers/AuthenticationHeaderValueTest.cs
couchbasedeps/dotnet-httpclient35
mit
4,071
137
codeparrot/github-code
07d64fec2e46e1d856d08c4f6e58df2316ea5e9fa4e196f99fa36000fa75ef17
<?php /* SVN FILE: $Id: containable.php 8283 2009-08-03 20:49:17Z gwoo $ */ /** * Behavior for binding management. * * Behavior to simplify manipulating a model's bindings when doing a find operation * * PHP versions 4 and 5 * * CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org) * Copyright 200...
PHP
cake/libs/model/behaviors/containable.php
centaurustech/CrowdFund
mit
15,033
429
codeparrot/github-code
c168b37a619e4d728832e45c04f4d30394db5109d2c406c219a6c90c81765ba0
import Ember from 'ember'; import DS from 'ember-data'; import syncLoads from 'ember-data-offline/logics/sync-loads'; import Queue from 'ember-data-offline/queue'; import Config from 'ember-data-offline/config'; import config from '../config/environment'; var mainConfig = Config.create({ custom: Ember.getWithDefault...
JavaScript
app/services/store.js
pretender91/ember-data-offline
mit
1,491
51
codeparrot/github-code
eea4af8db53ba72302d7b433edaa903741a5dc5737fda325d862c3fcfbf0dba0
using System; using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Logging; using Umbraco.Cms.Core; using Umbraco.Cms.Core.Models; using Umbraco.Cms.Core.Security; using Umbraco.Extensions; namespace Umbraco.Cms.Web.Common.Security {...
C#
src/Umbraco.Web.BackOffice/Security/PasswordChanger.cs
marcemarc/Umbraco-CMS
mit
4,728
104
codeparrot/github-code
c5e1e816e9e99690b660b1c4f51cb058645d184695e56c0d8ecf5c2fdab8613a
/* * Copyright (c) 2012-2017 Red Hat, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Red H...
Java
core/che-core-api-core/src/main/java/org/eclipse/che/api/core/jsonrpc/commons/transmission/MethodNameConfigurator.java
jonahkichwacoders/che
epl-1.0
2,056
58
codeparrot/github-code
2ccf3179c28395e4622e315296a885a50e135a9e8300bccbecb8e2a453583460
/******************************************************************************* * Copyright (c) 2010 SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http:...
Java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/command/CherryPickHandler.java
SmithAndr/egit
epl-1.0
1,893
54
codeparrot/github-code
a475b6e1631e520ed65d8993e6822952343fc665ab5c3de3586f7817bff86de9
/** * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */...
Java
addons/binding/org.openhab.binding.globalcache/src/main/java/org/openhab/binding/globalcache/internal/command/CommandSendserial.java
georgeerhan/openhab2-addons
epl-1.0
2,059
60
codeparrot/github-code
80565439271e508f59bb679f8e280c083e628b38abf6b4b2963aafba70c6de5e
/******************************************************************************* * Copyright (c) 2000, 2012 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
Java
org.eclipse.jdt.ui/src/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileSourceViewerConfiguration.java
kumattau/JDTPatch
epl-1.0
14,408
400
codeparrot/github-code
4b8087945b946ed1ad0af7dd2dd90575bf6078d23e5a6d059effbbb479552068
/******************************************************************************* * Copyright (c) 2012-2016 Codenvy, S.A. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available ...
Java
wsmaster/che-core-api-user/src/test/java/org/eclipse/che/api/user/server/PreferenceManagerTest.java
slemeur/che
epl-1.0
5,950
153
codeparrot/github-code
a887797e1004735c3eb012d6b4012566d4b7c4339fad7c2f5cad2d54120f0786
/*********************************************************************** Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
C
src/client/voteinfo.c
eric-stanley/freeciv-android
gpl-2.0
8,849
311
codeparrot/github-code
c577d0c1880e3853fced4b0430fa5c6d199635bddd10e0d1bb4f79414951a046
/* This file is part of p4est. p4est is a C library to manage a collection (a forest) of multiple connected adaptive quadtrees or octrees in parallel. Copyright (C) 2010 The University of Texas System Additional copyright (C) 2011 individual authors Written by Carsten Burstedde, Lucas C. Wilcox, and Tobin ...
C
src/p4est_io.h
xinchen384/p4est
gpl-2.0
3,470
70
codeparrot/github-code
ee94eae7a949228b87f80ee6d9ee03bfabb1d368f9e2f107c7c90b591306679c
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Aloha Editor GuidesAloha Editor Guides: Cite Plugin</title> <!-- guides styles --> <link rel="stylesheet" type="text/css" href="stylesheets/style.css" /> <link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print" /...
HTML
sites/all/libraries/aloha/doc/guides/plugin_cite.html
domaintennis/domaintennis
gpl-2.0
9,702
193
codeparrot/github-code
37138ea211fe6e0a22d7f3c705f07473bf048b47d677d3c04c7d186ea5a52dbd
/* vim: set expandtab sw=4 ts=4 sts=4: */ var runtime = {}, server_time_diff, server_os, is_superuser, server_db_isLocal, chartSize; AJAX.registerOnload('server_status_monitor.js', function () { var $js_data_form = $('#js_data'); server_time_diff = new Date().getTime() - $js_data_form.find(...
JavaScript
js/server_status_monitor.js
ragnerok/phpmyadmin
gpl-2.0
85,406
2,168
codeparrot/github-code
660496d0b7d532aa492a7b511a792b2efa4361059d472dccfb5bf964d763efb6
<?php /* * Copyright 2001, 2010 Thomas Belliard, Laurent Delineau, Edouard Hue, Eric Lebrun, Gabriel Fischer, Didier Blanqui * * This file is part of GEPI. * * GEPI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free So...
PHP
mod_discipline/stats2/recherche_indiv.php
Regis85/gepi
gpl-2.0
3,705
91
codeparrot/github-code
536547d6f2363508ab0c045c88ca1a521bc4b7c7c094f171c98b03d60b7ab0f4
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> <head> <title></title> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="viewport" content="width=device-width, minimum-scale=1.0" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" ...
HTML
ViewingLibrary/Draw2D/lib/draw2d/jsdoc/draw2d/examples/code_snippets/interaction_toFront/index.html
SnipyJulmy/MSE_1617_PA
gpl-2.0
2,981
86
codeparrot/github-code
27740ba089d3069eab2f9d8ea7af8598cc826f0383e69a811c2102f7ea93d0ff
/* *@BEGIN LICENSE * * PSI4: an ab initio quantum chemistry software package * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any ...
C++
src/lib/libciomr/eigsort.cc
spring01/PyPsi
gpl-2.0
3,626
183
codeparrot/github-code
a7c5fb11b8fc654bda76ad8b34b5b69c73fc46a076d62edaa65cd76ef3e1a224
/** * The Forgotten Server - a free and open-source MMORPG server emulator * Copyright (C) 2017 Mark Samman <mark.samman@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; eithe...
C++
src/combat.cpp
Mkalo/forgottenserver
gpl-2.0
38,004
1,393
codeparrot/github-code
57f5bad4e52bc1d017ab87225e45848d420d0d3f0e9166f6da16bf2b15a172aa
/* Copyright (c) 2010, Code Aurora Forum. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope th...
C
drivers/video/msm/vidc/720p/ddl/vcd_ddl_utils.c
2fast4u88/Htc-Kingdom-FastKernel
gpl-2.0
5,928
232
codeparrot/github-code
3d844f271d8b4a72d2b92939cf5f8ca979235518501cacec475df76f17998a3b
/* * RTC subsystem, dev interface * * Copyright (C) 2005 Tower Technologies * Author: Alessandro Zummo <a.zummo@towertech.it> * * based on arch/arm/common/rtctime.c * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * pu...
C
drivers/rtc/rtc-dev.c
invisiblek/android_kernel_lge_v4xx
gpl-2.0
16,485
682
codeparrot/github-code
73e7576d3620e70daa818ed86c86e7c065656df6a2c4e2127a0e5bda10402819
/**************************************************************************** ** ** Copyright (C) 2000-2008 TROLLTECH ASA. All rights reserved. ** ** This file is part of the Opensource Edition of the Qtopia Toolkit. ** ** This software is licensed under the terms of the GNU General Public ** License (GPL) version 2. *...
C++
devices/n800/server/alsavolumeservice.cpp
Trim/qtmoko
gpl-2.0
3,372
143
codeparrot/github-code
acbfc490f2c078a41d9c56332f26f18ba0b997a7256f5b4396d0c705ecb3e7e4
/* * ACPI helpers for DMA request / controller * * Based on of-dma.c * * Copyright (C) 2013, Intel Corporation * Authors: Andy Shevchenko <andriy.shevchenko@linux.intel.com> * Mika Westerberg <mika.westerberg@linux.intel.com> * * This program is free software; you can redistribute it and/or modify * it un...
C
drivers/dma/acpi-dma.c
jtoppins/net-next
gpl-2.0
13,225
466
codeparrot/github-code
05e1e0b5a9edc03e83bdff47de35946f67dcaa4c0f5d22a6f1c8bd63925f404a
/*! * Ext JS Library 3.1.0 * Copyright(c) 2006-2009 Ext JS, LLC * licensing@extjs.com * http://www.extjs.com/license */ /** * @class Ext.state.Provider * Abstract base class for state provider implementations. This class provides methods * for encoding and decoding <b>typed</b> variables including dates and def...
JavaScript
sites/all/libraries/extjs/3.1.0/pkgs/state-debug.js
alibama/rapid-prototyping-ecommerce-drupal
gpl-2.0
9,415
276
codeparrot/github-code