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
6f00bea8f0f7c1e252d65ef5dae3deb1a454d0326b46637c6c034aa212dd5f07
import json from google.appengine.ext import ndb from models.account import Account class Suggestion(ndb.Model): """ Suggestions are generic containers for user-submitted data corrections to the site. The generally store a model, a key, and then a json blob of fields to append or ammend in the model...
Python
models/suggestion.py
synth3tk/the-blue-alliance
mit
2,411
72
codeparrot/github-code
298d28a42f5ba0fab9d789b2b22466a0bac0304a9aed83e5c039c005dc0e17de
package org.kohsuke.github; import java.io.IOException; import javax.annotation.CheckForNull; import javax.annotation.Nonnull; /** * Base class for creating or updating a discussion. * * @param <S> * Intermediate return type for this builder returned by calls to {@link #with(String, Object)}. If {@lin...
Java
src/main/java/org/kohsuke/github/GHDiscussionBuilder.java
kohsuke/github-api
mit
2,529
81
codeparrot/github-code
be913832d8893d181cc76a21933f3d0cc3c8de01eafcda6485299a1a86eb93a8
package dice; import java.util.Random; /** * Simulates rolling two dice, as used in Monopoly. This gives it a range of * 2-12 for possible values. */ public class Dice { private static int HIGH_NUMBER = 6; // highest number on die private int dice1, dice2; private Random random; public int total; public boole...
Java
src/dice/Dice.java
feltnerm/uwponopoly
mit
2,373
116
codeparrot/github-code
08549f7647535b642dc847b63ec3b7b2c784ab6a9023853424ce68162b4f37cf
<!DOCTYPE html> <html lang=" en-US"> <head> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-761764-8"></script> <script> window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config'...
HTML
2017/06/04/construct-binary-tree.html
yokolet/yokolet.github.com
mit
24,568
733
codeparrot/github-code
e252ca9f6a33c1c30fb153431599ad0dd99700be30298ede145ec3bab5061ec1
#include <QtCore> #include <QDebug> #include <QCoreApplication> #include <iostream> #include <unistd.h> #include "dbusutil.h" using namespace std; ENUM_BUS g_session_bus = USE_SYSTEM_BUS; void msgHandler(QtMsgType type, const QMessageLogContext& ctx, const QString& msg) { Q_UNUSED(ctx); const char symbols[] ...
C++
qtchat/bustx/main.cpp
ericosur/myqt
mit
2,787
112
codeparrot/github-code
aee915c4e96229c5db594bfd5b47def4e392e4b5528e9bc54e66ec6cb8c815dc
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>finger-tree: 2 m 37 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
HTML
clean/Linux-x86_64-4.07.1-2.0.6/released/8.8.1/finger-tree/8.8.0.html
coq-bench/coq-bench.github.io
mit
13,093
212
codeparrot/github-code
6be7c56ca7adb00fc72ee6d351732e2b92318d6bf276367c16305701d713856d
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>streams: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" r...
HTML
clean/Linux-x86_64-4.09.0-2.0.5/released/8.7.1+1/streams/8.9.0.html
coq-bench/coq-bench.github.io
mit
7,410
185
codeparrot/github-code
614eadd8cb13149af06a5768be501e6363da6d0a354c6841090484a004addf85
// ------------------------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // --------------------------------------------------------...
C#
Source/Core/Runtime/Machines/AsyncMachine.cs
p-org/PSharp
mit
2,552
85
codeparrot/github-code
575cdc774c3b4348e173dfd8054b04f91a7dce38d30894f5efbd1fd5b3e37035
<!doctype html> <html> <head> <meta charset="utf-8"/> <meta http-equiv="X-UA-Compatible" content="IE=7; IE=EmulateIE9; IE=10" /> <meta name="keywords" content="getTileUrl,showCopyright,addTileOverlayToMap"/> <title>HERE Maps API Example: Adding an Overlay</title> <!-- Set up constants such as APP ID and token...
HTML
maps_api_for_javascript/advanced-examples/tile-overlay.html
heremaps/examples
mit
3,077
102
codeparrot/github-code
46ab230802b48df7bbcdb71fe42cad7b7ec1a414a5f8353a8ec367fc0f15295c
/* * variable_store.h * * Created on: Apr 22, 2016 */ #ifndef INCLUDES_MCC_TAC_VARIABLE_STORE_H_ #define INCLUDES_MCC_TAC_VARIABLE_STORE_H_ #include <map> #include <memory> #include <set> #include <string> #include <utility> #include <vector> #include "mcc/tac/scope_manager.h" #include "mcc/tac/scope.h" #includ...
C
mcc/tac/include/mcc/tac/variable_store.h
mikevo/uibk-acc
mit
1,592
61
codeparrot/github-code
16f0072adab726810e5cd3cf29b50d888d4e312283aef29a76c0a62a22702ac3
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Octokit.Internal; namespace Octokit { // NOTE: Every request method must go through the `RunRequest` code path. So if ...
C#
Octokit/Http/Connection.cs
prasethu/Oktokit
mit
22,032
530
codeparrot/github-code
8f192b88f674b379d6f89f9e2a1471fb87aeed1e999d2d4eceaa1d36b98dfce9
package com.peacecraftec.bukkit.chat.listener; import com.peacecraftec.bukkit.chat.ChatPermissions; import com.peacecraftec.bukkit.chat.PeacecraftChat; import com.peacecraftec.bukkit.chat.util.ChatUtil; import com.peacecraftec.web.chat.data.ChannelData; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org...
Java
PeacecraftBukkit/src/main/java/com/peacecraftec/bukkit/chat/listener/ChatListener.java
Steveice10/Peacecraft
mit
5,058
115
codeparrot/github-code
2ee09f7e6b4b9b332fc803e21ad0be2363521d60b2ccd42d2c4f14d0791e08f8
<?php /* CCDNForumForumBundle:Common:Layout/Sidebar/user_forum.html.twig */ class __TwigTemplate_bb44f10f11ff92ffd7da83e9c97335883959fc7f73189862ce492aba2682a1a6 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; ...
PHP
app/cache/dev/twig/bb/44/f10f11ff92ffd7da83e9c97335883959fc7f73189862ce492aba2682a1a6.php
AsmaBOUSSALEM/intranetDouane
mit
5,506
114
codeparrot/github-code
ea8ff47cd1d774ec0b59ce245eceb28979adc5715d09758888b76ea9caf60a7b
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), extend = require('mongoose-schema-extend'), Schema = mongoose.Schema, moment = require('moment'), crypto = require('crypto'); /** * A Validation function for local strategy properties */ var validateLocalStrategyPrope...
JavaScript
app/models/user.server.model.js
andela-ogaruba/AndelaAPI
mit
11,542
475
codeparrot/github-code
b7e20be865987f3b12ed9e70d450c269a967077747844ffd0b36e035bb678b1f
<?php namespace Extia\Workflow\AnnualReviewBundle\Form\Type; use Extia\Bundle\TaskBundle\Form\Type\AbstractNodeType; use Symfony\Component\Form\FormBuilderInterface; /** * form type for preparing node * @see Extia/Workflow/AnnualReviewBundle/Resources/workflows/preparing.xml */ class PreparingNodeType extends Ab...
PHP
src/Extia/Workflow/AnnualReviewBundle/Form/Type/PreparingNodeType.php
Nyxis/Rhea
mit
1,587
54
codeparrot/github-code
1acb5bbaacf0585e51fe01b08462f6c777c0bf7169b47860787f4fd0b4352ba9
import argparse import structlog import logging from pyramid.paster import get_app from snovault.elasticsearch.create_mapping import run as run_create_mapping from dcicutils.log_utils import set_logging from dcicutils.deployment_utils import CreateMappingOnDeployManager log = structlog.getLogger(__name__) EPILOG = _...
Python
src/encoded/commands/create_mapping_on_deploy.py
hms-dbmi/fourfront
mit
5,218
202
codeparrot/github-code
c8621e8cee6c9a9ac887e4e2a1f1f2da880f5d2aa83623e7ca594be7b5997044
#include "timers.h" #include <QHashIterator> #include <QCoreApplication> static QString TIMER("TIMER"); Timers::Timers(QObject *parent) : QObject(parent) { timer = new QTimer(this); connect(timer, &QTimer::timeout, this, &Timers::tick); timer->start(1000); } Timers::~Timers() { timer->stop(); } ...
C++
ha_timer_service/timers.cpp
jkearneyma/HA
mit
1,118
57
codeparrot/github-code
5f50aaa901e6cc5c87c9fba768bc55dc58f29d9b7f0a3b0257acfac833b7b750
<!DOCTYPE html><html><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>[新聞] 在台日人直擊車禍 警逮肇逃男子 - 看板 Gossiping - 批踢踢實業坊</title> <meta name="robots" content="all"> <meta name="keywords" content="Ptt BBS 批踢踢"> <meta name="description" content=" 1.媒體來源: 蘋果日報 "> <meta property="o...
HTML
result/M.1419062848.A.D70.html
iultimatez/PTTScraper
mit
6,414
147
codeparrot/github-code
9335d57651b3fd36849970b4f1eb5a03f982acf7c8aa4f43bc16cfe4d65e2c7f
<?php /** * Email Order Items (plain) * * This template can be overridden by copying it to yourtheme/woocommerce/emails/plain/email-order-items.php. * * HOWEVER, on occasion WooCommerce will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * m...
PHP
woocommerce/emails/plain/email-order-items.php
srjwebster/doubletrouble
mit
2,265
59
codeparrot/github-code
3d72614fa2d9838cdfec9fc22ab4871ac69f194ccf6f7731470e70d67b0b2464
#!/usr/bin/python # TODO: issues with new oauth2 stuff. Keep using older version of Python for now. # #!/usr/bin/env python import json import gspread from oauth2client.client import SignedJwtAssertionCredentials import datetime from participantCollection import ParticipantCollection # Edit Me! participantFileNames =...
Python
stayclean-2019-october/update-google-chart.py
foobarbazblarg/stayclean
mit
8,223
142
codeparrot/github-code
1668d0118f34e81a386f500fa76bdc3c1ccae12ba42d2e8c8226acf8d09c7749
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>fundamental-arithmetics: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../b...
HTML
clean/Linux-x86_64-4.09.1-2.0.6/released/8.11.1/fundamental-arithmetics/8.8.0.html
coq-bench/coq-bench.github.io
mit
7,000
165
codeparrot/github-code
134fbfa29c455df6f7824d20d5c9c5da2c13ecfeee069dfd67e07f59bc0e2878
module Traka module IsTrakable extend ActiveSupport::Concern included do end module ClassMethods def is_trakable(options={}) cattr_accessor :traka_uuid self.traka_uuid = (options[:traka_uuid] || :uuid).to_s before_create :set_uuid, :record_create before_updat...
Ruby
lib/traka/is_trakable.rb
buntine/traka
mit
1,243
54
codeparrot/github-code
0dd5baa11fa0aa5f2b4f1c06a0ebd82cc0303ce70265a53cf59aa7099e4ffaaa
package com.reactnativenavigation.viewcontrollers.bottomtabs; import android.app.Activity; import android.graphics.Color; import android.support.annotation.NonNull; import android.view.View; import android.view.ViewGroup; import android.widget.RelativeLayout; import com.reactnativenavigation.BaseTest; import com.reac...
Java
lib/android/app/src/test/java/com/reactnativenavigation/viewcontrollers/bottomtabs/BottomTabsControllerTest.java
ceyhuno/react-native-navigation
mit
15,846
418
codeparrot/github-code
5f69a263da692cf051da2cac11b6855392557b41acb37514cc0fff4fb5937ca5
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>metacoq-translations: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstr...
HTML
clean/Linux-x86_64-4.05.0-2.0.6/released/8.11.1/metacoq-translations/1.0~alpha2+8.11.html
coq-bench/coq-bench.github.io
mit
7,402
177
codeparrot/github-code
8f44dbd8df453168416ec3043f9146e4ec5809d647afbb848f84834fe7d72edf
using System; using System.Collections.Generic; using System.Linq; using System.Text; using CarTracker.Common.Entities.Logging; using CarTracker.Common.Services.Logging; using CarTracker.Common.ViewModels; using CarTracker.Data; using CarTracker.Data.Extensions; namespace CarTracker.Logic.Services.Logging { publi...
C#
CarTracker/CarTracker.Logic/Services/Logging/RequestLogService.cs
mwcaisse/car-tracker-server
mit
1,444
51
codeparrot/github-code
c449c119deec9013bd8eada114786bc86a85c6bf361c8bfb1c4adba8c00d90e5
using System; namespace DesignPatterns.GoF.Structural.Facade { /// <summary> /// A facade that serves as a front-facing interface for the sub parts. /// </summary> public sealed class CarControls { private PedalControls pedals = new PedalControls(); private SteeringWheelControls st...
C#
CSharp/DesignPatterns/GoF/Structural/Facade/CarControls.cs
mika-s/Misc
mit
1,918
67
codeparrot/github-code
c92b9f3e9578b3aa33e659f4051a08171baef615ac075cbf4c7299aa0a4fc5d7
package ru.atom.lecture07.server; import org.eclipse.jetty.server.Handler; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.handler.ContextHandler; import org.eclipse.jetty.server.handler.ContextHandlerCollection; import org.eclipse.jetty.server.handler.ResourceHandler; import org.eclipse.jetty...
Java
lecture07/src/main/java/ru/atom/lecture07/server/ChatServer.java
elBroom/atom
mit
2,123
63
codeparrot/github-code
65031efc4723ce2c0c4b0d408fb1bee586431cc6b0e219439b7c4ee2fa88920c
'use strict'; var assert = require('assert'); var run = require('./helpers').runMocha; var args = []; describe('suite w/no callback', function() { it('should throw a helpful error message when a callback for suite is not supplied', function(done) { run( 'suite/suite-no-callback.fixture.js', args, ...
JavaScript
test/integration/suite.spec.js
boneskull/mocha
mit
1,999
71
codeparrot/github-code
b7d7220f17d124ffc897b2edd577dfbe55cc63ba53a9b8748c656e5f345894a8
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>tree-automata: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min....
HTML
clean/Linux-x86_64-4.05.0-2.0.6/released/8.7.1+2/tree-automata/8.9.0.html
coq-bench/coq-bench.github.io
mit
7,171
176
codeparrot/github-code
f3673fe25e8163b6e8d62266d3e63dc3fcfbb7dbb41c3c7f785836ac7e3c4b7d
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>streams: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css...
HTML
clean/Linux-x86_64-4.05.0-2.0.1/released/8.6/streams/8.7.0.html
coq-bench/coq-bench.github.io
mit
7,455
177
codeparrot/github-code
c399cd608a2acfbeabc595248663765bc548fb4fb96b39aa543415f59a4caeba
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>fourcolor: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
HTML
clean/Linux-x86_64-4.07.1-2.0.6/released/8.13.0/fourcolor/1.2.2.html
coq-bench/coq-bench.github.io
mit
7,292
166
codeparrot/github-code
266cd1e13d90e2f6df797eb22dc39d50ad9286febda23ee47f424346e4aa7bf9
// NG2 import { Component, HostBinding, Input } from '@angular/core'; @Component({ selector: 'novo-flex,novo-row', template: ` <ng-content></ng-content> `, }) export class NovoFlexElement { @HostBinding('style.display') get display(): string { return 'flex'; } @HostBinding('style.flex-direction') @I...
TypeScript
projects/novo-elements/src/elements/flex/Flex.ts
bullhorn/novo-elements
mit
1,109
52
codeparrot/github-code
ba426c1b100a3a28066a5708db1d1e091d0de5fc5558fa729efef231843ccc62
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>tactician: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
HTML
clean/Linux-x86_64-4.08.1-2.0.5/released/8.9.0/tactician/1.0~beta1+8.13.html
coq-bench/coq-bench.github.io
mit
7,714
188
codeparrot/github-code
bdb2bf85f7e3be3f2aef161efeb0ef43dca948ecd48eee3de750ddacae34236d
/* * Wegas * http://wegas.albasim.ch * * Copyright (c) 2013, 2014, 2015 School of Business and Engineering Vaud, Comem * Licensed under the MIT License */ /** * @fileoverview * @author Francois-Xavier Aeberhard <fx@red-agent.com> * @author Cyril Junod <cyril.junod at gmail.com> */ YUI.add('wegas-helper', func...
JavaScript
wegas-app/src/main/webapp/wegas-util/js/wegas-helper.js
ghiringh/Wegas
mit
22,191
494
codeparrot/github-code
0e248b526cdecda536962b3d6db969e11ef7348a8c2e91b970577e0ba9ebbb16
// ========================================================================== // Odin Net Socket // // Copyright (C) 2009 Matthew Chaplain, All Rights Reserved. // // Permission to reproduce, distribute, perform, display, and to prepare // derivitive works from this file under the following conditions: // // 1....
C++
odin/src/net/socket.cpp
KazDragon/paradice9
mit
16,784
501
codeparrot/github-code
737e84035d11f0a861a22a71ccd88de5293ac63518e4390cad048e8bc8bc5acb
/***************************** ACT I: THE SETUP 1. Hat guy 2. Lovers // then let's start escalating... ******************************/ function Stage_Start(self){ // Create Peeps self.world.clearPeeps(); self.world.addBalancedPeeps(20); } function Stage_Hat(self){ // A Hat Guy var hat = new HatPeep...
JavaScript
wbwwb/js/scenes/Act_I.js
db4rr/db4rr.github.io
mit
5,660
220
codeparrot/github-code
1300f329dbe4103b590dfc49ee3b9581c6a7fc8bee1ba1c90f521c77c19a9672
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>shuffle: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css...
HTML
clean/Linux-x86_64-4.07.1-2.0.6/released/8.10.0/shuffle/8.8.0.html
coq-bench/coq-bench.github.io
mit
6,778
164
codeparrot/github-code
dbcedef9685c4ed63043c63db7b273ca172458e3bdafedc09210eecc2490d7c8
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>coinductive-examples: 18 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min....
HTML
clean/Linux-x86_64-4.06.1-2.0.5/released/8.10.2/coinductive-examples/8.10.0.html
coq-bench/coq-bench.github.io
mit
8,920
184
codeparrot/github-code
ca451ae2d092be9b92535d32094f55f3f5af0491dd0115e9430ad11689eefcd5
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>autosubst: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
HTML
clean/Linux-x86_64-4.05.0-2.0.1/released/8.7.1+1/autosubst/1.7.html
coq-bench/coq-bench.github.io
mit
7,317
180
codeparrot/github-code
b914c02f49c8750098ed9b83780ca9add3592a721ca9d6dd4bf128cfd87ff7b0
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>dpdgraph: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
HTML
clean/Linux-x86_64-4.10.2-2.0.6/released/8.13.0/dpdgraph/0.6.1.html
coq-bench/coq-bench.github.io
mit
6,880
172
codeparrot/github-code
7e8b0634631ea55534be692bf24ab9d16c73be3ee2f10813902880bdea15da68
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>dpdgraph: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
HTML
clean/Linux-x86_64-4.08.1-2.0.5/released/8.9.0/dpdgraph/0.6.4.html
coq-bench/coq-bench.github.io
mit
6,834
172
codeparrot/github-code
f53afcc68580a21eb002b266135e49a1617af3af398bcde35425e6b752b0923d
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>lens: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" r...
HTML
clean/Linux-x86_64-4.09.1-2.0.6/released/8.7.1/lens/1.0.0.html
coq-bench/coq-bench.github.io
mit
6,675
171
codeparrot/github-code
c812184569755ac82c040e1ffc1af4e22307db191e873860fcc9b2c90986eb56
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2009 Torus Knot Software Ltd Also see acknowledgements in Readme.html You may use this sample...
C++
Samples/DeferredShading/src/DLight.cpp
ttair/TuxSinbad
mit
11,569
352
codeparrot/github-code
7e80eb0f58900c0d115df63307f3b47410777997a78f85e9b13aec2b4a03c37a
#include "editaddressdialog.h" #include "ui_editaddressdialog.h" #include "addresstablemodel.h" #include "guiutil.h" #include <QDataWidgetMapper> #include <QMessageBox> EditAddressDialog::EditAddressDialog(Mode mode, QWidget *parent) : QDialog(parent), ui(new Ui::EditAddressDialog), mapper(0), mode(mode), mo...
C++
src/qt/editaddressdialog.cpp
getswagcoin/swagcoin
mit
3,732
138
codeparrot/github-code
4dc4219dc5f750dbc4e55962dbb6627dfb7b9c9608e3ae1bc554097a9d18285b
'use strict'; describe("Divhide.Obj", function () { beforeEach(function () { jasmine.addMatchers(window.JasmineCustomMatchers); }); it("Divhide.Specs.ObjExample", function () { Divhide.Specs.ObjExample(); }); /** * * Tests for Obj.stringify() * */ describ...
JavaScript
src/Common/ObjJasmineSpec.js
divhide/divhide-core
mit
10,281
365
codeparrot/github-code
72ba3ef15375806fc6a940a3e5e54b66858d60fc663ba92fa66390cab7c33bd2
'use strict'; angular.module('app').service('dialogService', [ '$q', function($q) { var remote = require('remote'); var dialog = remote.require('dialog'); function DialogService() {} DialogService.prototype.showOpenDialog = function() { var deferred = $q.defer(); dialog.showOpenDialo...
JavaScript
src/ui/services/dialogService.js
officert/mongotron
mit
714
34
codeparrot/github-code
e90469363f94daa46762291d592b5b343206f2542f34d3a23370b6650891847e
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>maple-mode: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min....
HTML
clean/Linux-x86_64-4.04.2-2.0.5/released/8.8.2/maple-mode/8.9.0.html
coq-bench/coq-bench.github.io
mit
7,318
180
codeparrot/github-code
a423315de79ef71bb81cbb66066e0af4146b7611e25a9af58e6b59af478b76b8
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>tree-diameter: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min....
HTML
clean/Linux-x86_64-4.05.0-2.0.6/released/8.6.1/tree-diameter/8.5.0.html
coq-bench/coq-bench.github.io
mit
7,265
169
codeparrot/github-code
af335acb9a0fd12bc65579188944882a8821e528ba70021e52fb4a471f5cf708
package BESA.Mobile.Agents.PostMan.State; import BESA.Kernel.Agent.StateBESA; import BESA.Mobile.ConnectionsAdministrator.CommunicationChannelDirectoryBPO; import BESA.Mobile.Exceptions.ExceptionBESAConnectionsDirectoryFailedBPO; import BESA.Mobile.Message.MessageBPO; /** * * @author Andrea Barraza */ public class...
Java
JigSaw - AYPUY - CS/BESA3/BESA3-SRC/BPOBESA/src/BESA/Mobile/Agents/PostMan/State/PostManAgentStateBPO.java
Coregraph/Ayllu
mit
1,938
54
codeparrot/github-code
cd95d801d9b5fe9f4726d9822549e1848db28f110499f3e5173ae4e6c140f399
angular.module('authService', []) .factory('AuthService', ['$q', '$timeout', '$http', '$rootScope', function ($q, $timeout, $http, $rootScope) { // create user variable var user = null; // return available functions for use in the controllers ...
JavaScript
client/js/services/authService.js
MotivityWorkOrg/buildingMaintenanceApp
mit
5,728
139
codeparrot/github-code
d38dc9405b9a72a8baf05ef2465c471d305d339df6b589db50b1d423c4c3661a
(function() { 'use strict'; /** * idHeader * * This component renders the application header. */ angular .module('app.components') .component('idHeader', header()); /** * Internal function that returns the component. * @returns {object} the angular compone...
JavaScript
angular1-node-hapi-mongodb/src/client/app/components/header.component.js
davelaursen/idealogue
mit
2,695
111
codeparrot/github-code
f53b11377d2a9696e5b82575fb78aa319d612dd6933e08e899df44282e553cf8
#! /usr/bin/env python # -*- coding: utf-8 -*- import requests import random import time from pyquery import PyQuery as pq from mongodb import db, conn from requests.exceptions import ConnectionError from chem_log import log # urls = [ # 'http://www.sigmaaldrich.com/china-mainland/zh/analytical-chromatography/ana...
Python
chem_spider/sigma_urls.py
mutoulbj/chem_spider
mit
9,790
319
codeparrot/github-code
3f7043bcf0c5003942420ecbb8ca496a56041897dad9d263ec259061c6972a8a
<?php namespace App\Jobs; use App\Events\SignupClosed; use App\Services\BoardService; use App\Services\Contracts\IMessageHandler; use App\Services\GameMasterService; use Cache; use Event; use Illuminate\Contracts\Bus\SelfHandling; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Queue\InteractsWithQueue; us...
PHP
app/Jobs/JoinGame.php
CodeDestroyer/Slack-pardy
mit
2,038
66
codeparrot/github-code
9122cc06529aa309c07379d658f6df08ff6efc6f37446db35db90fc2401e282e
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
TypeScript
src/vs/base/parts/tree/test/browser/treeModel.test.ts
microlv/vscode
mit
48,855
1,663
codeparrot/github-code
906eaf40ba24400c04f67b98995bdc132d8636dfd0f7d5cde1ecd8af09f7c115
package hudson.plugins.jira; import com.atlassian.jira.rest.client.api.domain.BasicComponent; import com.atlassian.jira.rest.client.api.domain.Component; import com.atlassian.jira.rest.client.api.domain.Issue; import com.atlassian.jira.rest.client.api.domain.Status; import com.google.common.base.Splitter; import com.g...
Java
src/main/java/hudson/plugins/jira/JiraCreateIssueNotifier.java
deki/jira-plugin
mit
15,894
462
codeparrot/github-code
85f7a51269728dc1d6c01b6c6e1cd1d5368ebe1032988004a2ed4e705d33b8f3
package com.appkefu.demo2.activity; import java.util.ArrayList; import com.appkefu.demo2.R; import com.appkefu.demo2.adapter.ApiAdapter; import com.appkefu.demo2.entity.ApiEntity; import com.appkefu.lib.interfaces.KFAPIs; import com.appkefu.lib.interfaces.KFCallBack; import com.appkefu.lib.service.KFMainService; impo...
Java
EclipseDemo/src/com/appkefu/demo2/activity/MainActivity.java
pengjinning/AppKeFu_Android_Demo_V4
mit
14,673
530
codeparrot/github-code
5886b85368d7a8b2fc07f4e50fe3db1facb2612405b4063337bf9bfaf6512bb6
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>concurrency-pluto: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstr...
HTML
clean/Linux-x86_64-4.07.1-2.0.6/released/8.10.1/concurrency-pluto/1.0.0.html
coq-bench/coq-bench.github.io
mit
6,890
177
codeparrot/github-code
1e679f765d547b55ebd034f6ad2e308c31a9c675fcc1cf85d6820ed9d51216e0
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>coinductive-reals: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstr...
HTML
clean/Linux-x86_64-4.04.2-2.0.5/released/8.6.1/coinductive-reals/8.5.0.html
coq-bench/coq-bench.github.io
mit
7,172
175
codeparrot/github-code
438deb88010839e430d241dd5f938b79c0d57b28931e7180dc6ed4223bfb853a
<!DOCTYPE html> <html lang="en"> <head> <title>three.js webgl - postprocessing - unreal bloom</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> <style> body { color: #fff; font-family:Monospace; font-size:13...
HTML
examples/webgl_postprocessing_unreal_bloom.html
rfm1201/rfm.three.js
mit
5,638
197
codeparrot/github-code
d762318dee422dcf375f969082cd7cf15bea5633165775aad45a8fec8fa73514
<?php namespace Lob\Resource; use Lob\ResourceBase; use BadMethodCallException; class USVerifications extends ResourceBase { public function verify(array $data, array $query = array()) { return $this->sendRequest( 'POST', 'us_verifications', $query, $da...
PHP
src/Lob/Resource/USVerifications.php
lob/lob-php
mit
966
40
codeparrot/github-code
0fb8511720adf1dc9ef1e2334b30fd040d47bf45fff71ab285d5a412e90f32b3
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>weak-up-to: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min....
HTML
clean/Linux-x86_64-4.09.1-2.0.6/released/8.13.1/weak-up-to/8.5.0.html
coq-bench/coq-bench.github.io
mit
7,425
178
codeparrot/github-code
917706d9d42470a8ab36d382144cfbae6bfd63bb588556b9254d027625b0d554
#ifndef VIENNAFEM_TRANSFORM_TETRAHEDRON_HPP #define VIENNAFEM_TRANSFORM_TETRAHEDRON_HPP /* ========================================================================= Copyright (c) 2012-2014, Institute for Microelectronics, Institute for Analysis and Scientific Computing, ...
C++
viennafem/transform/dtdx_tetrahedron.hpp
viennafem/viennafem-dev
mit
20,660
535
codeparrot/github-code
4beb6057322370350984858b007e4c60c9a0b72d038b1d42e7986f53846113fd
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>geometric-algebra: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstr...
HTML
clean/Linux-x86_64-4.13.1-2.0.10/released/8.13.0/geometric-algebra/0.8.11.html
coq-bench/coq-bench.github.io
mit
6,694
167
codeparrot/github-code
b8bade7d749ab7c4cfbe3b7fd0d9ffedcc5610acb69d8693755491d316767b35
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-odd-order: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootst...
HTML
clean/Linux-x86_64-4.11.2-2.0.7/released/8.12.2/mathcomp-odd-order/1.6.1.html
coq-bench/coq-bench.github.io
mit
8,311
181
codeparrot/github-code
f584fcc2c9028521a50eb712f79dfd741bf87a0ee57c2c7e97464c21e115df0f
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mtac2: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
HTML
clean/Linux-x86_64-4.09.1-2.0.6/released/8.7.1/mtac2/1.4+8.15.html
coq-bench/coq-bench.github.io
mit
6,982
170
codeparrot/github-code
acd169244e012d81887b796897a1e891a88c2e23fd89ee2f41c0cb89c01b5176
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>compcert: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
HTML
clean/Linux-x86_64-4.06.1-2.0.5/extra-dev/8.10.dev/compcert/2.5.0.html
coq-bench/coq-bench.github.io
mit
6,865
172
codeparrot/github-code
dc09010c87858e0c500dedcadac0a58e5ba9b8f7fc177dfc7ea646b01d241d06
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>markov: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
HTML
clean/Linux-x86_64-4.09.1-2.0.6/released/8.7.1/markov/8.10.0.html
coq-bench/coq-bench.github.io
mit
7,338
176
codeparrot/github-code
6b95f8b0ecda300485535e4e437a3d9dd3c6af11f4d1277bd498972763d36979
package dimitris.android.app.db; import android.content.ContentResolver; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.os.AsyncTask; /** * Created by dimitris on 21/07/16. */ public class ReviewScheduleFetchTask extends AsyncTask<String,Void,Void>{ priva...
Java
app/src/main/java/dimitris/android/app/db/ReviewScheduleFetchTask.java
gdimitris/ChessPuzzlerAndroid
mit
1,001
40
codeparrot/github-code
feb7a8aeea00a6bf21a2839c4e0c6ce3b098404ac7c43f989b60be96b603f1f9
/*global angular */ /** * The main controller for the app. The controller: * - retrieves and persists the model via the todoStorage service * - exposes the model to the template and provides event handlers */ angular.module('todomvc') .controller('TodoCtrl', function TodoCtrl($scope, $routeParams, $filter, store)...
JavaScript
js/controllers/todoCtrl.js
WebmarksApp/webmarks.node
mit
3,195
127
codeparrot/github-code
b2fd9d6b6890f23b050b763ba31a266539fdd7677ea1adb5536dba19e9cad899
<!DOCTYPE html> <!--[if IEMobile 7]><html class="iem7 no-js" lang="en" dir="ltr"><![endif]--> <!--[if lt IE 7]><html class="lt-ie9 lt-ie8 lt-ie7 no-js" lang="en" dir="ltr"><![endif]--> <!--[if (IE 7)&(!IEMobile)]><html class="lt-ie9 lt-ie8 no-js" lang="en" dir="ltr"><![endif]--> <!--[if IE 8]><html class="lt-ie9 no...
HTML
epa-grants/research/raw/01472.html
1wheel/scraping
mit
20,059
390
codeparrot/github-code
21c16e9973eac621b7b56c0d29430a250bbbec477047fb6fd457a6c53d2fcdf2
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-fingroup: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstr...
HTML
clean/Linux-x86_64-4.13.1-2.0.10/released/8.13.0/mathcomp-fingroup/1.11.0.html
coq-bench/coq-bench.github.io
mit
7,735
162
codeparrot/github-code
50a614afbd1ad79d737e5022e50080d5690a0589dc6846ec65b4b476e1e0d2b7
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>huffman: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css...
HTML
clean/Linux-x86_64-4.05.0-2.0.1/released/8.7.2/huffman/8.6.0.html
coq-bench/coq-bench.github.io
mit
7,264
171
codeparrot/github-code
d4de14bc394815338b6db3220a1886e1954ba2513a33712983e12c6c6c5b84b5
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>lambda: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
HTML
clean/Linux-x86_64-4.08.1-2.0.5/released/8.10.0/lambda/8.5.0.html
coq-bench/coq-bench.github.io
mit
7,093
176
codeparrot/github-code
538ab5d755e41f3fa061188218672c015b011ec2db931ed6d99e98795f46d413
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>relation-algebra: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstra...
HTML
clean/Linux-x86_64-4.08.1-2.0.5/released/8.7.1+1/relation-algebra/1.5.html
coq-bench/coq-bench.github.io
mit
7,058
174
codeparrot/github-code
6b9b0fcda5de97b8b5f4e1990410c6cbe177fd9a487604bca4847db70b19d9cd
/* Copyright (c) 2007 by Vivox Inc. * * Permission to use, copy, modify or distribute this software in binary or source form * for any purpose is allowed only under explicit prior consent in writing from Vivox Inc. * * THE SOFTWARE IS PROVIDED "AS IS" AND VIVOX DISCLAIMS * ALL WARRANTIES WITH REGARD TO THIS SOFT...
C
lib/Vivox/mvVoice/include/VxcRequests.h
longde123/MultiversePlatform
mit
31,984
864
codeparrot/github-code
318e819913405244b9e9a33987cb6bfd55a2311f53c41c2fa7afd48ec889bae9
/********************************************************************* * @file RandNum.cpp * @brief For generating random number. * * Date Name Description * 05/18/16 MYLS Creation. * *********************************************************************/ #include <algorithm> #include <unordered...
C++
2016.LearningOpenGL/src/module/common/RandNum.cpp
wiryls/HomeworkCollectionOfMYLS
mit
1,417
68
codeparrot/github-code
98f3adbb36f8c666c63a6516f1f1ba60b07cebb3015942e667ce98f59a96cbe1
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>founify: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css...
HTML
clean/Linux-x86_64-4.06.1-2.0.5/released/8.10.0/founify/8.6.0.html
coq-bench/coq-bench.github.io
mit
6,955
165
codeparrot/github-code
0e9f90662ae11fd7fd4558846899e73d6d29d3e9b973309520ed646e768b1533
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>menhirlib: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
HTML
clean/Linux-x86_64-4.12.1-2.0.8/extra-dev/dev/menhirlib/20201122.html
coq-bench/coq-bench.github.io
mit
7,144
179
codeparrot/github-code
f8bca7d7a828b80ae812a606f7de750f74f10bfd1505cc1f6228cc443c8df78e
from grslra import testdata from grslra.grslra_batch import grslra_batch, slra_by_factorization from grslra.structures import Hankel from grslra.scaling import Scaling import numpy as np import time # The goal of this experiment is to identify an LTI system from a noisy outlier-contaminated and subsampled observation ...
Python
experiments/6_grslra/system_identification_lti/system_identification.py
clemenshage/grslra
mit
2,175
83
codeparrot/github-code
4e2b599dce1ca069214e4a3de1496b504f5bb69b9c2cc27b426a80d7974cb841
"""segy.py - read and write SEG-Y files From command line: python segy.py <path-to-segy-file> """ from collections import OrderedDict from pprint import pprint import numpy as np from sacker import Sacker # SEG-Y spec: http://www.tritonimaginginc.com/site/content/public/downloads/FileFormatInfo/seg_y_rev1.pdf ...
Python
segy.py
shamrin/pyxtf
mit
6,783
189
codeparrot/github-code
e2b421e3286473a582a9b710444659bf0029905d1c2bfc0216927ee6e78f2cba
<?php declare(strict_types=1); namespace CQRS\EventHandling; use CQRS\Domain\Message\DomainEventMessageInterface; use CQRS\Domain\Message\EventMessageInterface; use CQRS\Domain\Message\GenericEventMessage; class SynchronousEventBus implements EventBusInterface { private EventHandlerLocatorInterface $locator; ...
PHP
src/EventHandling/SynchronousEventBus.php
pauci/cqrs
mit
2,062
75
codeparrot/github-code
1d1590f05797f70ec88b792932e2466b3f5bc594c1f19f8b5767ffea73f71245
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>rem: 17 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesh...
HTML
clean/Linux-x86_64-4.04.2-2.0.5/released/8.6/rem/8.6.0.html
coq-bench/coq-bench.github.io
mit
6,839
162
codeparrot/github-code
fe7a3a78e8d2cb0397d530f86744d5f1b19d6952ffb8ec133af2f559edd5f98e
<?php namespace PHPStrap; class TabGroup{ private $Id; private $Tabs = array(); private $Active = NULL; public function __construct($Id = "tabGroup"){ $this->Id = $Id; } public function addTab($Id, $Title, $Content, $Active = FALSE){ $tab = new Tab($Title, $Content, $this->Id . "-" . $Id); $this->Tab...
PHP
src/PHPStrap/TabGroup.php
kktuax/PHPStrap
mit
1,865
87
codeparrot/github-code
4c2d0990ca764c39abea257369bb1c13130e1ed633e7df456ffa72341b5bd6dd
package org.amc.game.chessserver; import static org.mockito.Mockito.*; import org.amc.DAOException; import org.amc.dao.ServerChessGameDAO; import org.amc.game.chess.ChessGameFixture; import org.amc.game.chess.HumanPlayer; import org.amc.game.chess.Player; import org.amc.game.chessserver.AbstractServerChessGame.Server...
Java
src/test/java/org/amc/game/chessserver/UrlViewChessGameTest.java
subwoofer359/AMCChessGame
mit
6,802
140
codeparrot/github-code
28141532bba7d548226d1ed561db07465c3c2a41221dc8bc792eb3f6385ca64c
package game.network.client; import game.network.DataPacket; import game.network.PlayerData; import game.player.Player; import java.io.IOException; import java.io.InputStream; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.net.Socket; import java.net.SocketExce...
Java
src/game/network/client/NetworkHandler.java
anubiann00b/StarfighterOld
mit
4,553
140
codeparrot/github-code
d5b33ea8d9b1a86c86e439089be0e9109638901dbf77ca7ff790de851bfd1391
from oauth2_provider.settings import oauth2_settings from oauthlib.common import generate_token from django.http import JsonResponse from oauth2_provider.models import AccessToken, Application, RefreshToken from django.utils.timezone import now, timedelta def get_token_json(access_token): """ Takes an AccessT...
Python
bio/tools.py
light940929/omics_api
mit
2,096
72
codeparrot/github-code
b348d9556bb5869f992ca9936a84c86d287335e75cbc057b0165611e3ca58d27
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>metacoq-safechecker: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../boots...
HTML
clean/Linux-x86_64-4.04.2-2.0.5/released/8.7.2/metacoq-safechecker/1.0~beta2+8.12.html
coq-bench/coq-bench.github.io
mit
7,761
181
codeparrot/github-code
063e52617330cd65032d4fbbe0ae7ef23d3c385772586f6e10b45731d0ac9d42
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>hedges: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
HTML
clean/Linux-x86_64-4.09.1-2.0.6/extra-dev/8.11.dev/hedges/dev.html
coq-bench/coq-bench.github.io
mit
6,778
167
codeparrot/github-code
fa4f6ea5908a516822004ad1e1153cca9f1df4f56074255ae26a11ae5fddaf48
module Softlayer class Generator class ModuleFile < ClassFile def initialize(name) @softlayer_name = name.dup @name = Converter.module_name(name) raise Exception.new('Not a SoftLayer module') if DataType.object_type(name) == :class @autoload = Softlayer::Generator::DataType.a...
Ruby
lib/softlayer/generator/module_file.rb
zertico/softlayer
mit
1,114
43
codeparrot/github-code
d740c3eba1f62fc6ce97cdd7554cb79fc595d0af4b893edf4a0f2e05e25a3964
import { Component, OnInit, OnDestroy } from '@angular/core'; import { FormControl } from '@angular/forms'; import { Observable } from 'rxjs/Observable'; import { Subscription } from 'rxjs/Subscription'; import 'rxjs/add/observable/interval'; import { LifeService } from '../life.service'; import { FileService } from ...
TypeScript
src/app/controller/controller.component.ts
ZoltanDalmadi/life-frontend
mit
1,728
75
codeparrot/github-code
e48981560ef59c680fc38ef3fb8257261a658a86440c12077dca9f8e0fc88e5b
using System; using System.Collections.Generic; using System.Linq; using DDay.iCal; using WebApiDavExtension.CalDav; using WebApiDavExtension.example.Models; using Event = WebApiDavExtension.example.Models.Event; namespace WebApiDavExtension.example.Repository { public class CalendarRepository { private sta...
C#
WebApiDavExtension.example/Repository/CalendarRepository.cs
medocheck/WebApiDavExtension
mit
4,402
102
codeparrot/github-code
acd2ab50e64ba3cab0fa1a04347da967c261a10759bfbaaa900cda48384a5b48
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>coqeal: 5 m 23 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="...
HTML
clean/Linux-x86_64-4.07.1-2.0.6/released/8.11.1/coqeal/1.0.5.html
coq-bench/coq-bench.github.io
mit
23,513
310
codeparrot/github-code
d02325262e9e26f39a2e20638d53415b6bfd15966d25fad32a0cde8034e5467e
/* * This file is part of Tall Worlds, licensed under the MIT License (MIT). * * Copyright (c) 2014 Tall Worlds * * 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 restricti...
Java
src/main/cubicchunks/server/WorldServerContext.java
TallWorlds/CubicChunks
mit
4,232
111
codeparrot/github-code
8aaa41095043dfa8657cbc0d886f40961c2b9b93e1e251efce547a69893d3a03
# frozen_string_literal: true require 'vk/api/methods' module Vk module API class Groups < Vk::Schema::Namespace module Methods # Returns a list of the communities to which a user belongs.; ; class Get < Schema::Method # @!group Properties self.open = false se...
Ruby
lib/vk/api/groups/methods/get.rb
alsemyonov/vk
mit
2,847
44
codeparrot/github-code
bb9a8367eeab44b17dada284d4bb7e740d28841cc2ffed966e9b80ff159558dc
using System; using System.Threading.Tasks; using Discord.Commands; using NadekoBot.Modules.Administration.Services; using NadekoBot.Core.Common.TypeReaders; using Discord.WebSocket; namespace NadekoBot.Common.TypeReaders { public class GuildDateTimeTypeReader : NadekoTypeReader<GuildDateTime> { publi...
C#
NadekoBot.Core/Common/TypeReaders/GuildDateTimeTypeReader.cs
NeonSpectrum/KanadeBot
mit
1,691
47
codeparrot/github-code
ecd786a4ffaf05b995e92233ed1a2bb23a13d8af616814aa7179e469178b7085
import Queue import atexit import logging import threading import traceback class WorkerPool(object): """ Pool of worker threads; grows as necessary. """ _lock = threading.Lock() _pool = None # Singleton. def __init__(self): self._idle = [] # Queues of idle workers. self._workers =...
Python
01-codes/OpenMDAO-Framework-dev/openmdao.util/src/openmdao/util/wrkpool.py
DailyActie/Surrogate-Model
mit
3,630
118
codeparrot/github-code
30fb1838a5f0338f2f7b648f1f0311eae11be2a0c617cfd5d15a3e0e12cc30d0
package co.uk.davemcqueen; import android.app.Activity; import android.os.Bundle; import android.content.Intent; import android.net.Uri; import android.provider.ContactsContract; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.Toast; public cla...
Java
Legacy Android Applications/Intents/src/co/uk/davemcqueen/IntentsActivity.java
david-mcqueen/Android
mit
3,111
109
codeparrot/github-code
7575fa34ac315ee11f98aaadc61ceffbc9e56595e88ee374637f87a0b0844aea
package com.kujtimhoxha.plugins.todo.finder; import org.junit.Assert; import org.junit.Test; import java.io.File; import java.util.ArrayList; import java.util.List; import static org.junit.Assert.*; /** * FileFinderTest. * * @author Kujtim Hoxha (kujtimii.h@gmail.com) * @version $Id$ * @since 0.1 */ public cl...
Java
src/test/java/com/kujtimhoxha/plugins/todo/finder/FileFinderTest.java
kujtimiihoxha/todo-issue
mit
2,016
57
codeparrot/github-code
84b7bdbe5971e0afd5730230d9d69dc9c854b58ed6543a4bc6ba8093bbd9e47a
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>bertrand: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
HTML
clean/Linux-x86_64-4.07.1-2.0.6/released/8.10.2/bertrand/8.7.0.html
coq-bench/coq-bench.github.io
mit
7,114
166
codeparrot/github-code
14e8eb71db4c9f4d7711644022749baa6b417a5c55140747f29b52d584cb2eaf
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>lazy-pcf: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
HTML
clean/Linux-x86_64-4.04.2-2.0.5/released/8.9.0/lazy-pcf/8.7.0.html
coq-bench/coq-bench.github.io
mit
7,129
169
codeparrot/github-code