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 |
|---|---|---|---|---|---|---|---|---|
49b49125e8911fd3050e67ed796c0d860974fd8c7facb181222d92c9ebaa2f64 | /**
* load.js
* author: borysn
* license: MIT
*/
const execSync = require('child_process').execSync;
const chalk = require('chalk');
const path = require('path');
const fsUtils = require('./fsUtils');
const exceptions = require('./exceptions');
const i3LmCmd = require('./i3LmCmd');
// load
function load() {
i3Lm... | JavaScript | src/load.js | borysn/i3-lm | mit | 1,904 | 87 | codeparrot/github-code |
301643af49abf9e472eae402a35a6904e7d9ebb18cc823c0c2d76cfe32ec1f1e | <?php
/**
* DokuWiki syntax.
*
* @author Laurent Jouanneau
* @copyright 2008-2016 Laurent Jouanneau
*
* @link http://wikirenderer.jelix.org
*
* @licence MIT see LICENCE file
*/
namespace WikiRenderer\Markup\DokuWiki;
/**
* Parser for a paragraph block.
*/
class P extends \WikiRenderer\Block
{
public $t... | PHP | lib/WikiRenderer/Markup/DokuWiki/P.php | laurentj/wikirenderer | mit | 972 | 49 | codeparrot/github-code |
d96b755a331e66c45ac168fa62fd8952f2ccc0c09e80f49091c02fdea3b8f1de | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Untech.SharePoint.Common.CodeAnnotations;
using Untech.SharePoint.Common.Data;
using Untech.SharePoint.Common.MetaModels.Collections;
using Untech.SharePoint.Common.MetaModels.Providers;
using Untech.SharePoint.Common.Met... | C# | Src/Untech.SharePoint.Common/MetaModels/MetaList.cs | Happi-cat/Untech.SharePoint | mit | 2,420 | 77 | codeparrot/github-code |
0863cf0f86e5c99c5b6701c2a433cc7387551bd5971111148cb77227fac34885 | package org.pipservices.commons.log;
import org.junit.Test;
public class DiagnosticsLoggerTest {
private ILogger _log;
private LoggerFixture _fixture;
public ILogger getLog() {return _log;}
public void setLog(ILogger _log) {this._log = _log;}
public LoggerFixture getFixture() {return _fixture;}
publi... | Java | test/org/pipservices/commons/log/DiagnosticsLoggerTest.java | pip-services/pip-services-commons-java | mit | 786 | 41 | codeparrot/github-code |
b057b6dbf3b8eb37a102a73eca8813196a67633fea6943c4f49cece003d90350 | /*
* Copyright 2017 - KBC Group NV - Franky Braem - The MIT license
* 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... | C++ | MQWeb/src/ChannelStatusController.cpp | fbraem/mqweb | mit | 3,488 | 101 | codeparrot/github-code |
8f42217307e5f274ec0c41f70a786b734a41287e00149f852b8d6bc227c07a63 | /*
* Cubitoo Typography (1.1)
* by Paweł Komarnicki (http://cubitoo.com)
* pawel@cubitoo.com
*
* Copyright (c) Paweł Komarnicki (http://cubitoo.com)
* Licensed under the MIT license (see MIT-LICENSE.txt)
*
* NOTE: This script requires jQuery to work. Download jQuery at www.jquery.com
*/
(function($) {
$.f... | JavaScript | jquery.cubitoo.typography.js | pawelkomarnicki/cubitoo_typography | mit | 1,620 | 44 | codeparrot/github-code |
80dd5ad21d4585f8780369043a90bfc42f6a7f7d554e11f86444bbb1794a679b | import { c } from 'ttag';
import { updateAutoWildcardSearch } from '@proton/shared/lib/api/mailSettings';
import { Row, Label, Info, Toggle, Field } from '../../components';
import { useMailSettings, useEventManager, useLoading, useApi } from '../../hooks';
const SearchSection = () => {
const api = useApi();
c... | JavaScript | packages/components/containers/search/SearchSection.js | ProtonMail/WebClient | mit | 1,277 | 34 | codeparrot/github-code |
9d52cf4890f8db913460205ef769afb6ee171007458c1c686961df871c70b316 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>flocq: 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.14.0/flocq/3.4.0.html | coq-bench/coq-bench.github.io | mit | 7,047 | 174 | codeparrot/github-code |
8b1c3377d09fb56faa3643c08606d6b88250af31ab09dbe5ad04294fde2f8e7f |
var Utils={},stringify;
Utils.hexTable = new Array(256);
for (var i = 0; i < 256; ++i) {
Utils.hexTable[i] = '%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase();
}
var internals = {
delimiter: '&',
arrayPrefixGenerators: {
brackets: function (prefix, key)... | JavaScript | src/lib/queryString.js | morulus/vendor | mit | 8,007 | 298 | codeparrot/github-code |
aa065e65ddc63124a848608fa6472d48a50a059847c1d21ce1283dcdf13847e9 | // The demo on the README.md
// Import from 'docx' rather than '../build' if you install from npm
import * as fs from "fs";
import { Document, HeadingLevel, ImageRun, Packer, Paragraph, Table, TableCell, TableRow, VerticalAlign } from "../build";
const table = new Table({
rows: [
new TableRow({
... | TypeScript | demo/50-readme-demo.ts | dolanmiu/docx | mit | 3,144 | 95 | codeparrot/github-code |
0b7f45ccc6553ac1e9d10732337c430cbbf0f9c04051ba387fbada411914b3c4 | <!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.02.3-2.0.6/released/8.7.2/relation-algebra/1.5.html | coq-bench/coq-bench.github.io | mit | 7,320 | 178 | codeparrot/github-code |
6ef86e2eb07e0a1de0c3825adc70a716607f49db4e795327733f5ee8468af829 | <?php
//time the script
$startTime = microtime(true);
//open up database
class MyDB extends SQLite3 {
function __construct() {
$this->open('Boston_Crime_Database.db');
}
}
$db = new MyDB();
if (!$db) { echo $db->lastErrorMsg(); }
$yearsArray = array(
... | PHP | PopulateCrimeDatabase.php | pjfan/city-data-visualizer | mit | 11,754 | 235 | codeparrot/github-code |
f129d99880fe36c485177265cedda05dede93575f45a917caa2cafa6d30d274e | <?php
namespace WordPress\ORM\Model;
use DateTime;
use WordPress\ORM\BaseModel;
/**
* WordPress post model.
*
* @author Brandon Wamboldt <brandon.wamboldt@gmail.com>
*/
class Post extends BaseModel
{
/**
* @var integer
*/
protected $ID;
/**
* @var integer
*/
protected $post_author;
/**
* @var Da... | PHP | src/Model/Post.php | auswebhosting/wp-orm | mit | 3,905 | 253 | codeparrot/github-code |
0ead183ab8dbec9fbe603353a10bec1717a2d56c6dfa0852a882919072582f25 | #ifndef LSHTC4_EVALUATION_HPP
#define LSHTC4_EVALUATION_HPP
#include "util.hpp"
class Evaluation
{
private:
size_t m_example_count;
size_t m_top_true_positive;
std::vector<int> m_true_positive;
std::vector<int> m_false_negative;
std::vector<int> m_false_positive;
label_t m_labels;
void
resize_all(unsigned int... | C++ | evaluation.hpp | nagadomi/kaggle-lshtc | mit | 2,271 | 103 | codeparrot/github-code |
20c720987f51a5dfaa7425ae269fcb44a1c077752080500434feb2dfa724443e | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>opam-website: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.mi... | HTML | clean/Linux-x86_64-4.06.1-2.0.5/released/8.10.0/opam-website/1.3.2.html | coq-bench/coq-bench.github.io | mit | 6,594 | 164 | codeparrot/github-code |
5f09831f5e69a9b3685ab1fbfda9ac4b842c05fbc7e25bded423f0199fa32975 | var _ = require('lodash');
//Constructor
function Trip(dateStart, dateEnd, vehicleName, startAddress, startMapImageUrl, startTemperature, startWeatherConditions, stats, alerts,
endAddress, endMapImageUrl, endTemperature, endWeatherConditions) {
this.dateStart = dateStart || '';
this.dateEnd = dateE... | JavaScript | chassis/export-trips/routes/models/trip.js | helmaataoui/helmaataoui.github.io | mit | 3,749 | 94 | codeparrot/github-code |
3d3db5b2fa0f1dca9d0da1530a024e25dd3e93a3e5ea4439f7a4162f4b12cdb7 | /*
* jQuery.ajaxQueue - A queue for ajax requests
*
* (c) 2011 Corey Frang
* Dual licensed under the MIT and GPL licenses.
*
* Requires jQuery 1.5+
*/
(function ($) {
// jQuery on an empty object, we are going to use this as our Queue
var ajaxQueue = $({});
$.ajaxQueue = function (ajaxOpts) {
var console, ... | JavaScript | src/img/jquery/jquery.ajaxQueue.js | vtex/front.i18n | mit | 1,657 | 65 | codeparrot/github-code |
8c473563dfe4afc38bfe8ca437cf37f46df1998f2f667be36000196f14a2b12a | #include <assert.h>
#include <stdio.h>
#include <string.h>
#include "houdini.h"
/**
* According to the OWASP rules:
*
* & --> &
* < --> <
* > --> >
* " --> "
* ' --> ' ' is not recommended
* / --> / forward slash is included as it helps end an HTML entity
*
*/
static co... | C | ext/stmd_ruby/houdini_html_e.c | joeyjoejoejr/stmd-ruby | mit | 1,961 | 82 | codeparrot/github-code |
3cad8c548280bc06bb8519d7b0e3df6000f5d04879ed4233d948bf0181cbb1b9 | var GoogleStrategy = require('passport-google-oauth').OAuth2Strategy;
var config = require('../config').auth.google;
var db = require('../storage/db');
function findUser(email, cb) {
db.getUserByEmail(email, cb);
}
module.exports = function(passport) {
// used to serialize the user for the session
passp... | JavaScript | auth/passport.js | CatalystCode/VideoTaggingTool | mit | 1,772 | 56 | codeparrot/github-code |
f0e1efc61283f91251a1318577ee6a19eaaec88b2324dc956436690c6f5fbd15 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>monae: 4 m 0 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="st... | HTML | clean/Linux-x86_64-4.09.1-2.0.6/released/8.11.1/monae/0.0.4.html | coq-bench/coq-bench.github.io | mit | 13,708 | 235 | codeparrot/github-code |
e9765c0afb4fa0e5b4ae77dd3f0c2db413e78e6873e407c49e0d2e2f262d1e51 |
package org.missionassetfund.apps.android;
import org.missionassetfund.apps.android.activities.MainActivity;
import org.missionassetfund.apps.android.models.Category;
import org.missionassetfund.apps.android.models.Comment;
import org.missionassetfund.apps.android.models.Goal;
import org.missionassetfund.apps.android... | Java | src/org/missionassetfund/apps/android/MAFApplication.java | CodePath-MAF/AndroidClient | mit | 1,876 | 53 | codeparrot/github-code |
4aa813cef5a5e27b7c1a35a2d93b96cc70a5c23c8920372f79023b24e8f2f4f3 | import React from 'react';
import Button from 'material-ui/Button';
import Snackbar from 'material-ui/Snackbar';
import Fade from 'material-ui/transitions/Fade';
class FadeSnackbar extends React.Component {
state = {
open: false,
};
handleClick = () => {
this.setState({ open: true });
};
handleClos... | JavaScript | docs/src/pages/demos/snackbars/FadeSnackbar.js | cherniavskii/material-ui | mit | 829 | 38 | codeparrot/github-code |
62084fed8970b78d63be72d997333dc02eed7ef92ab74a7fe028305f70f389b6 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>fssec-model: Not compatible 👼</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.14.0/fssec-model/8.9.0.html | coq-bench/coq-bench.github.io | mit | 7,211 | 176 | codeparrot/github-code |
b26398fa2cc302fe5f0d71d76624a8129b6e8719aaeabc36ba8e6579e53df824 | #!/usr/bin/env python
from __future__ import division, absolute_import, print_function
from future.builtins import super
from iris_sdk.models.account_users import AccountUsers
from iris_sdk.models.available_npa_nxx import AvailableNpaNxx
from iris_sdk.models.available_numbers import AvailableNumbers
from iris_sdk.mod... | Python | iris_sdk/models/account.py | bandwidthcom/python-bandwidth-iris | mit | 4,216 | 146 | codeparrot/github-code |
832270ffb5c691579cf5e778cda46803a99ab11a13bdbd6f64fcb266639cb6cd | /*
* Copyright (C) 2015 Fabian Berg and Marvin Karaschewski
* 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 3 of the License, or
* (at your option) any later version.
*
*... | C# | Eindopdrachten/Fabian Berg en Marvin Karaschewski/DigitalWatch/DigitalWatch/Ticks/DefaultClockTickControl.cs | DannyvanderJagt/CSharp-Design-Patterns | mit | 1,642 | 54 | codeparrot/github-code |
d1066c5ced90d8497a549bb049ebb1ad19140d8188b18e1fc3486ba6d66fae57 | define(['global/session', 'services/errorhandler',
'services/config', 'services/logger', 'durandal/system'],
function (session, errorhandler, config, logger, system) {
var unitofwork = session.unitofwork(),
units = ko.observableArray(),
selectedDepartmentId = ko.observable(),
... | JavaScript | Facsal/App/viewmodels/departments/index.js | chrisjsherm/Facsal | mit | 4,747 | 128 | codeparrot/github-code |
d91c3cb2c6550ac123955255acb5eae30f712cb616ac52c8f4c271e2bf8ab39a | <?php
declare(strict_types=1);
namespace App\EventListener\ORM\Ticket;
use App\Entity\Payment;
use App\Entity\Ticket;
use App\Service\PaymentService;
use Doctrine\ORM\Event\PreUpdateEventArgs;
/**
* TicketAmountListener.
*/
final class TicketAmountListener
{
private $paymentService;
/** @var bool */
... | PHP | src/EventListener/ORM/Ticket/TicketAmountListener.php | stfalcon/fwdays | mit | 1,379 | 57 | codeparrot/github-code |
5c7b441b420d24584ababd6068a81fa497b83fb5e50239eb40c019b362e03642 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>subst: 42 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="style... | HTML | clean/Linux-x86_64-4.04.2-2.0.5/released/8.9.0/subst/8.9.0.html | coq-bench/coq-bench.github.io | mit | 13,728 | 232 | codeparrot/github-code |
a3d8db1167fa6a7d20e7b868fa42c67999834644454ed84f7900d525849062b6 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>chinese: 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.13.0/chinese/8.6.0.html | coq-bench/coq-bench.github.io | mit | 7,058 | 166 | codeparrot/github-code |
3951588ff1c1bc3fb08da384fc842a296c27657d0e3095ab22b887df54d06c3b | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include <climits>
using namespace std;
int calculateAllFairness(int *src , int &size , int &len );
int getUnfairness(int *dest , int &len );
int main() {
int N, K, unfairness = INT_MAX;
cin >> N >> K;
int list... | C++ | MaxMin.cpp | MajidLashgarian/HackerRank | mit | 1,122 | 57 | codeparrot/github-code |
a33c990c5a42f7e4e409329f7f41b5e95286b11fa01791f6785899aed6df4b91 | accountService.$inject = ['$http', 'apiUrl', '$window'];
export default function accountService($http, apiUrl, $window) {
return {
// specific Company
getCompany(companyId) {
return $http
.get(`${apiUrl}/companies/${companyId}`)
.then(r => r.data);
},
// get company by user ID
... | JavaScript | src/services/account-service.js | art-house-box-office/client | mit | 3,159 | 114 | codeparrot/github-code |
659e6e8f2795d67dc42f86978bf2af43bda53b6502dab59fa3caba0a0025ccea | package ejb_generated;
import static javax.persistence.GenerationType.IDENTITY;
import static javax.persistence.CascadeType.ALL;
import javax.persistence.CascadeType;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.Enumerated;
import javax.persistence.EnumType;
import javax.persis... | Java | CerifModel/WebApp/src_gen/ejb_generated/CfPers_ExpSkills.java | KROKIteam/KROKI-CERIF-Model | mit | 5,036 | 157 | codeparrot/github-code |
8a14f8e134dfef3d4db5a48a8f1c725bd91411b48ef522a1ea9abe20393ac51e | <hr>
<div class='comments'>
<p class="smaller">Kommentarer</p>
<?php if (!empty($comments)) : ?>
<?php foreach ($comments as $comment) : ?>
<?php
$isAuthenticated = $user->isAuthenticated();
$isAdmin = $user->isAdmin();
?>
<?php if (!is_string($comment)) : ?>
<?php
$points = $scores->getPostScore($comment->id, '... | PHP | app/view/comment/comments.tpl.php | KarlGW/fo | mit | 3,466 | 88 | codeparrot/github-code |
589ad1f0084b984caa2442a9119f19ee0080a4eb517ca20aa8a61c1663bb8880 | /* New BSD License
-------------------------------------------------------------------------------
Copyright (c) 2006-2012, EntitySpaces, LLC
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redist... | C# | Providers/Tiraggo.MySqlClientProvider/DataProvider.cs | BrewDawg/Tiraggo | mit | 70,127 | 1,894 | codeparrot/github-code |
5183ff4091887418cbcdf906499dcc1c189723f7c14a11e7db41531632cf0cd1 | const GameObject = require('../../gamelib/GameObject.js');
const FSM = require('../../gamelib/components/FSM.js');
const Projectile = require('../../gamelib/components/Projectile.js');
const FLY_TIME = 5;
const fsm = {
fly: {
onEnter: function() {
this.destroyTime = FLY_TIME;
},
onUpdate: functio... | JavaScript | src/samples/games/Missile.js | goodzsq/cocos_template | mit | 1,201 | 58 | codeparrot/github-code |
83029e1cd4524aa73e9546369676f8161f36be9e958bffec43a09bd98fb03394 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>metacoq-template: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstra... | HTML | clean/Linux-x86_64-4.11.2-2.0.7/released/8.13.1/metacoq-template/1.0~beta2+8.12.html | coq-bench/coq-bench.github.io | mit | 8,173 | 189 | codeparrot/github-code |
a5d74ec5b6df64db947df8bdf9fd6ba92aab00725f9b36e6df03808452455c1d | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>subst: 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/subst/8.5.0.html | coq-bench/coq-bench.github.io | mit | 6,933 | 172 | codeparrot/github-code |
8239de5c497ce967904c32681655fb20e1c449e20b338a4337fae3cf85fb176d | /*---------------------------------------------------------------------------------------------
* 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/workbench/api/common/extHostWebview.ts | microsoft/vscode | mit | 8,537 | 235 | codeparrot/github-code |
6f3911d23e36ffb366e0ef109653107e6100bbef186762b9ef510355cd4fa211 | var express = require('express.io');
var expressPath = require('express-path');
var mongoose = require('mongoose');
var path = require('path');
var stylus = require('stylus');
var nib = require('nib');
var favicon = require('serve-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
v... | JavaScript | server.js | micahbule/wanda | mit | 2,925 | 108 | codeparrot/github-code |
74dc03058576b937b5855152612ce3a53d5c2ef23ac42604d5b8b0c3e87d0c51 | /**************************************************************************
*
* Copyright 2013-2014 RAD Game Tools and Valve Software
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to d... | C | src/voglcommon/vogl_blob_manager.h | guozanhua/vogl_src | mit | 12,792 | 414 | codeparrot/github-code |
f4429fa6ea65489317c096bacfb9adba260171422d336471301e684d1a47fbe6 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>domain-theory: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.m... | HTML | clean/Linux-x86_64-4.05.0-2.0.1/released/8.5.2~camlp4/domain-theory/8.6.0.html | coq-bench/coq-bench.github.io | mit | 6,949 | 166 | codeparrot/github-code |
f0904d4bea4215793b3043e5cf111cf11675cc55e21f3cfbddbc7d178030f840 |
<!DOCTYPE html>
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="PortabilityAnalysis0">.NET Portability Report</title>
<style>
... | HTML | Reports/ac/acr.deviceinfo.2.2.0/Acr.DeviceInfo-MonoAndroid10.html | kuhlenh/port-to-core | mit | 9,643 | 240 | codeparrot/github-code |
430c45a55bd4a17310a3bce437e0f4e468f2f52b4994c897e049440bca11b82b | <?php
/**
Telerivet_APICursor
An easy-to-use interface for interacting with API methods that return collections of objects
that may be split into multiple pages of results.
Using the APICursor, you can easily iterate over query results without
having to manually fetch each page of results... | PHP | lib/apicursor.php | Telerivet/telerivet-php-client | mit | 6,059 | 241 | codeparrot/github-code |
2216107e4ff1c6de2758696f3d4345b93b6570628aee3366ab78035704f067e4 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>almost-full: 36 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel=... | HTML | clean/Linux-x86_64-4.06.1-2.0.5/released/8.13.0/almost-full/8.13.0.html | coq-bench/coq-bench.github.io | mit | 11,269 | 202 | codeparrot/github-code |
5292292d021a30edc6cefbb822515124157889a99abb111465dd4088e8e9427d | // This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sourc... | C | ThirdParty/Microsoft/Visual Studio 8/VC/atlmfc/include/afxsock.h | baSSiLL/dotnetinstaller | mit | 13,451 | 495 | codeparrot/github-code |
4eaa6719084f7a36608a1c0c2bcbaf014ec07c891dd3a0c91ddeb1be8e33c165 | var _ = require('underscore')._;
var Redobl = require('./redobl').Redobl;
var sys = require('sys');
var List = exports.List = function () {
//sys.log("In List constructor...");
}
Redobl.addClass('list', List);
List.define = function(name, config, proto) {
// The name argument is optional.
if (typeof name !== ... | JavaScript | lib/list.js | leei/redobl | mit | 1,423 | 59 | codeparrot/github-code |
c805833f5fe8fcea98cf797bbf51153ad0d2e061cacb5f29cbe7771edfcae8fc | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>groups: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... | HTML | clean/Linux-x86_64-4.05.0-2.0.6/released/8.8.0/groups/8.7.0.html | coq-bench/coq-bench.github.io | mit | 6,739 | 165 | codeparrot/github-code |
f2504048854ded2915760bf9c503a306ce36aba31a9b616dd63abcd17426035d | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>continuations: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... | HTML | clean/Linux-x86_64-4.09.0-2.0.5/released/8.9.0/continuations/8.5.0.html | coq-bench/coq-bench.github.io | mit | 7,206 | 168 | codeparrot/github-code |
c249fc822466773f5ec836e99284cba1e4fe10c0f829535d26ef994152894ecf | /**
* This software is released as part of the Pumpernickel project.
*
* All com.pump resources in the Pumpernickel project are distributed under the
* MIT License:
* https://raw.githubusercontent.com/mickleness/pumpernickel/master/License.txt
*
* More information about the Pumpernickel project is available he... | Java | src/main/java/com/pump/desktop/edit/EditCommand.java | mickleness/pumpernickel | mit | 1,280 | 31 | codeparrot/github-code |
a079f7911c9a32d101ef86bf98dc7faa49f8a9198312af53e312342667b29757 | package org.eluder.jersey.mustache.util;
/*
* #[license]
* jersey-mustache
* %%
* Copyright (C) 2013 Tapio Rautonen
* %%
* 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 restr... | Java | src/test/java/org/eluder/jersey/mustache/util/ResourceConfigHelperTest.java | trautonen/jersey-mustache | mit | 2,990 | 87 | codeparrot/github-code |
04dfedf74c5e691263dc771348b99f27d704a62027f0c7fd642c526b2242274c | <!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.m... | HTML | clean/Linux-x86_64-4.07.1-2.0.6/released/8.12.0/tree-automata/8.8.0.html | coq-bench/coq-bench.github.io | mit | 7,034 | 167 | codeparrot/github-code |
1bafbca4cfd36c75f4f87153b531dbe8788f7eb66d1beab4109028436c6da6d9 | package utils.pageobjects.s_education
import utils.WithBrowser
import utils.pageobjects._
/**
* TODO write description
* @author Jorge Migueis
* Date: 06/08/2013
*/
class GYourCourseDetailsPage (ctx:PageObjectsContext) extends ClaimPage(ctx, GYourCourseDetailsPage.url) {
declareYesNo("#beenInEducationSi... | Scala | c3/test/utils/pageobjects/s_education/GYourCourseDetailsPage.scala | Department-for-Work-and-Pensions/ClaimCapture | mit | 1,257 | 37 | codeparrot/github-code |
d3d4400e35d80e54a2c1b239568f804ca536af8590f6e1556df37d1b37dc7d81 | <?php
namespace LaNet\LaNetBundle\Form\Type;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
class RegistrationFormType extends AbstractType
{
co... | PHP | src/LaNet/LaNetBundle/Form/Type/RegistrationFormType.php | TiTaN4532/lalala | mit | 7,302 | 173 | codeparrot/github-code |
79d7766bbde43d62b4088ec1b1fa5ec2ef60a535c2c69660682c1e03926ed18e | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>descente-infinie: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstra... | HTML | clean/Linux-x86_64-4.09.1-2.0.6/released/8.10.0/descente-infinie/8.9.0.html | coq-bench/coq-bench.github.io | mit | 7,095 | 172 | codeparrot/github-code |
96c2ba796ad6de6e9e8416623cdee31f20603173361c0e1000f0f316c4f9aea7 | <?php
/**
* eWAY 3.1 Abstract Request
*/
namespace Omnipay\Eway31\Message;
/**
* eWAY 3.1 Abstract Request
*
* This serves as the base class for the eWay 3.1 requests.
*
* Usage is described in \Omnipay\Common\Message\AbstractRequest
*
* @see \Omnipay\Common\Message\AbstractRequest
*/
abstract class Abstrac... | PHP | src/Message/AbstractRequest.php | Mihai-P/tez-omnipay-eway | mit | 1,469 | 61 | codeparrot/github-code |
dc3942613bb1315b631cec8390b65ba4433255ecc148e0522367d22bf541a4fb | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function
import tensorflow as tf
from tensorflow.python.estimator.inputs.numpy_io import numpy_input_fn
from tensorflow.python.estimator.inputs.pandas_io import pandas_input_fn
from polyaxon_lib.libs import getters
def create_input_dat... | Python | polyaxon_lib/processing/input_data.py | polyaxon/polyaxon-api | mit | 4,360 | 99 | codeparrot/github-code |
bb5f16c41cbacdbea84111f312b084ef07aae345f7f0743870f3962e1905e015 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>propcalc: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | HTML | clean/Linux-x86_64-4.05.0-2.0.1/released/8.12.2/propcalc/8.10.0.html | coq-bench/coq-bench.github.io | mit | 7,251 | 175 | codeparrot/github-code |
68578c4cd2840b3000b1447fd05724a700a483f383c8226cf72397481b44ae1a | package net.sourceforge.segment.srx.io;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.Reader;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import net.sourceforge.segment.util.IORuntimeException;
/**
* Represents SRX version.
* Responsible for retrieving SRX version fr... | Java | src/main/java/net/sourceforge/segment/srx/io/SrxVersion.java | icenlp/segment | mit | 2,228 | 78 | codeparrot/github-code |
1930b250bce6db08b4ca93c6d15f2218bca8e0f8597b98b9f37b08d97ee6e639 | # -*- coding: utf-8 -*-
"""
Created on Wed Jun 15 11:39:04 2016
@author: rahulmehra
"""
# Import the modules
import pandas as pd
from sklearn.preprocessing import LabelEncoder
import numpy as np
# Define a function to autoclean the pandas dataframe
def autoclean(x):
for column in x.columns:
# Replace ... | Python | iembdfa/DataCleaning.py | ccbrandenburg/financialanalyticsproject | mit | 1,698 | 55 | codeparrot/github-code |
dd0b62ef7b9b4e4a1f8452f4bfe08dc4111e2345f830501bd37efd45d7d27e5f | module Faraday
class Adapter
# Sends requests to a Rack app.
#
# Examples
#
# class MyRackApp
# def call(env)
# [200, {'Content-Type' => 'text/html'}, ["hello world"]]
# end
# end
#
# Faraday.new do |conn|
# conn.adapter :rack, MyRackApp
# ... | Ruby | lib/faraday/adapter/rack.rb | avdi/faraday | mit | 1,600 | 58 | codeparrot/github-code |
a0b5fd80a4d7acb9c5a4247005d246e7031b3d425e2fa44c762bb2865d9d3342 | #ifndef EVENT_H_
#define EVENT_H_
#include <boost/signals2.hpp>
template <class T>
using Signal = boost::signals2::signal<void (const T&)>;
template <class T>
using SignalSlotType = typename Signal<T>::slot_type;
typedef boost::signals2::connection Connection;
template <class T>
class Event
{
public:
st... | C | common/event.h | marclecerf/nmea-parse | mit | 578 | 35 | codeparrot/github-code |
17343a1c2434c5305f2678b6ce9a68a293b4a859dd89e1da235f617423b9aa5f | /**
* @license
* Copyright Stbui All Rights Reserved.
* https://github.com/stbui
*/
import { Injectable } from '@angular/core';
import {
MatDialog,
MatDialogRef,
MatDialogConfig
} from '@angular/material/dialog';
import { ComponentType } from '@angular/cdk/portal';
import {
DialogConfigInterface,
AlertC... | TypeScript | src/app/component/dialog/dialog.service.ts | stbui/angular-material-app | mit | 2,155 | 77 | codeparrot/github-code |
1a5dc15c751b1686fba245af073afb8cd89858cce3d02a5533dc9b90d9e800b3 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>infotheo: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | HTML | clean/Linux-x86_64-4.03.0-2.0.5/released/8.5.0~camlp4/infotheo/0.1.2.html | coq-bench/coq-bench.github.io | mit | 7,634 | 189 | codeparrot/github-code |
a5d0b030e3e2d9300e60425845f200ba302c249bfba5ffce85c7326644703db4 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>continuations: 25 s</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="... | HTML | clean/Linux-x86_64-4.05.0-2.0.6/released/8.7.1+1/continuations/8.7.0.html | coq-bench/coq-bench.github.io | mit | 15,903 | 233 | codeparrot/github-code |
14320c7fbc37f8b66216ce4ee8f2f4b1d81d921db3e9f0a51ad7785e72c7b405 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>exact-real-arithmetic: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootst... | HTML | clean/Linux-x86_64-4.05.0-2.0.6/extra-dev/8.10.0/exact-real-arithmetic/8.6.0.html | coq-bench/coq-bench.github.io | mit | 7,114 | 169 | codeparrot/github-code |
43daf1700617e361f32d36c2430eab3f0673db5f186b09b39d01f1613eb95cc3 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>karatsuba: 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.6/released/8.11.1/karatsuba/8.7.0.html | coq-bench/coq-bench.github.io | mit | 6,995 | 167 | codeparrot/github-code |
473a3e29c266caea2d9a7e8e61f2bbb1b2d530b428a3acb3d3adb1adc7759e00 | package org.octopus.iot.bean.history;
import java.util.Date;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Index;
import org.nutz.dao.entity.annotation.Table;
import org.nutz.dao.entity.annotation.TableIndexes;
@Table("iot_image_history_... | Java | src/org/octopus/iot/bean/history/IotImageHistory.java | wendal/whale | mit | 1,181 | 69 | codeparrot/github-code |
766a05cdef1095298f13dc74c53f59c8df8cac748c36454e1acceafd3e971e71 | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Classes\EsiConnection;
use Illuminate\Support\Facades\Log;
class SearchController extends Controller
{
public function search(Request $request)
{
$esi = new EsiConnection;
$result = $esi->esi->setQueryString([
... | PHP | app/Http/Controllers/SearchController.php | matthewpennell/moon-mining-manager | mit | 1,571 | 50 | codeparrot/github-code |
b072f70a8d7271b575acf070eb9cdc09e2dafeea8066eb9f9076506f7f49cd73 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jordan-curve-theorem: 12 m 12 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap... | HTML | clean/Linux-x86_64-4.02.3-2.0.6/released/8.7.1+2/jordan-curve-theorem/8.7.0.html | coq-bench/coq-bench.github.io | mit | 11,015 | 193 | codeparrot/github-code |
d211f4f6d013ffe0f1730b9dddbdab6060221052ec86a747310c5cfe1ce947fa | <!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.css" ... | HTML | clean/Linux-x86_64-4.05.0-2.0.6/released/8.5.2~camlp4/dpdgraph/0.6.3.html | coq-bench/coq-bench.github.io | mit | 7,025 | 174 | codeparrot/github-code |
a1b4ee14cb5d59b0be5e4ecc950a8640e45be9314156885672546db054e7598c | package teamroots.emberroot.entity.ai;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityCreature;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.ai.EntityAIAttackMelee;
public class EntityAIAttackOnCollideOwned extends EntityAIAttackMelee {
private IOwnable<? extends E... | Java | src/main/java/teamroots/emberroot/entity/ai/EntityAIAttackOnCollideOwned.java | PrinceOfAmber/EmberRootZoo | mit | 2,164 | 62 | codeparrot/github-code |
e8605325a1b715d0c0a39e9a70a84711202aaf54b98b7beb1f717c2dd709a7fe | class JSONParser
RXE = /
\[|\]|
\{|\}|
(:)|
(,\s*[}\]])|
,|
("(?>[^"\\]+|\\(?:u[0-9a-fA-F]{4}|[bfnrt"\/\\]))*")|
-?(?=\d)(?>0|[1-9]\d*)(?>\.\d+)?(?>[Ee][+-]?\d+)?(?=\D|$)|
true|
false|
(null)|
(?>[[:space:][:cntrl:]]+)|
((?>.+))
... | Ruby | ruby_quiz/quiz155_sols/solutions/Paolo Bonzini/json_parser_18_conversion_for_thomas.rb | J-Y/RubyQuiz | mit | 885 | 40 | codeparrot/github-code |
91c577e7ac2a1ffcadb7cb9da07b90d52f0cb620c30ee3461103bf5a24c9fd6d | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>sudoku: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | HTML | clean/Linux-x86_64-4.04.2-2.0.5/released/8.8.0/sudoku/8.9.0.html | coq-bench/coq-bench.github.io | mit | 7,129 | 176 | codeparrot/github-code |
cb6254c757e49299a7733fc25f6dbcb7229473d614eb13971598fad4ffa521a8 | /*
* Copyright 2002-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Java | sample-catalog/spring-jdk9/src/spring.web/org/springframework/http/codec/AbstractServerHttpMessageReader.java | boggad/jdk9-sample | mit | 4,124 | 108 | codeparrot/github-code |
19b5d71b5616df1bc2c46a01f4e0aac57665a33a3af962a0d6d57585dc1307d8 | 'use strict';
var _ = require('lodash');
var Onion = require('lib-onion');
var NumberTypeHandler = function(opts) {
var chance = opts.chance;
var debug = opts.debug;
var onion = new Onion('number');
var Min = function(tests, chanceParams, next) {
var minimum = _.find(tests, {
name... | JavaScript | lib/handlers/number.js | Hewlett-Packard-ESS/joi-generate | mit | 2,074 | 73 | codeparrot/github-code |
7c3caabf20c8e45390defe79573e2d2f580770fecfac5859e320ee3b59c75c43 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace d
{
class Program
{
public static int Main()
{
new Program().calc();
return 0;
}
Scanner sc;
public void calc()
... | C# | atcoder/others/code_festival/2016/qualb/d/Program.cs | yu3mars/procon | mit | 1,879 | 92 | codeparrot/github-code |
3335088e62cf7e52dd3a492cae96db7769c1239face0d31fcca7e2d1956aa0e0 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ltac2: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel... | HTML | clean/Linux-x86_64-4.12.0-2.0.8/released/8.14.0/ltac2/0.1.html | coq-bench/coq-bench.github.io | mit | 6,643 | 163 | codeparrot/github-code |
ca25b2ca84d9bc76283acc190444724f32842f3cf2c786631256f28a702ef347 | # frozen_string_literal: true
module Enumerize
module Scope
module ActiveRecord
def enumerize(name, options={})
super
_enumerize_module.dependent_eval do
if self < ::ActiveRecord::Base
if options[:scope]
_define_activerecord_scope_methods!(name, options)... | Ruby | lib/enumerize/scope/activerecord.rb | brainspec/enumerize | mit | 1,546 | 54 | codeparrot/github-code |
47b62915720bb8f80db2035d33be04ba97367d0cae027d6ab511e549fdc39e68 | <?php
namespace Neptune\Command;
use Neptune\View\Skeleton;
use Stringy\StaticStringy;
/**
* Create a new fixture.
*
* @author Glynn Forrest <me@glynnforrest.com>
**/
class CreateFixtureCommand extends CreateCommand
{
protected $name = 'create:fixture';
protected $description = 'Create a new fixture';
... | PHP | src/Neptune/Command/CreateFixtureCommand.php | glynnforrest/neptune | mit | 752 | 33 | codeparrot/github-code |
52852fe2755b2bbafcb5f0025cb5f882375a0f42790bd65d7bbb5da945ab78fe | /*
* Copyright (c) 2017 Titan Robotics Club (http://www.titanrobotics.com)
*
* 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
... | Java | TeamCode/src/main/java/team3543/Robot.java | trc492/Ftc2018RelicRecovery | mit | 24,563 | 697 | codeparrot/github-code |
7d08fd0e3a23d490f8f0e502fce27120b996d342cb044d17117000970205ffd4 | /**
*
* Copyright (c) 2013 mandel
*
* 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, modify, merge, publish,... | C++ | tori/tori-daemon-lib/twitter/user.cpp | saruneko/tori | mit | 10,825 | 424 | codeparrot/github-code |
1665ccdfb763a05692a2712fbd0e9bad45c2b53d09499de6352eea77a89d354f | function validateTrackFields (fields: Object, actionType: string) {
if (typeof actionType !== 'string' && !fields.event) {
return new Error('missing event field for EventTypes.track')
}
return null
}
function getTrackProperties (fields: Object) {
if (!fields.properties) return [ 'event', 'options' ]
re... | JavaScript | src/event/track.js | rangle/redux-segment | mit | 791 | 31 | codeparrot/github-code |
4976f4f049656623fa56d6bedf90940ae82e272a1494185300f6c5341145e0bd | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>historical-examples: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../boots... | HTML | clean/Linux-x86_64-4.07.1-2.0.6/released/8.7.1/historical-examples/8.8.0.html | coq-bench/coq-bench.github.io | mit | 7,477 | 171 | codeparrot/github-code |
5439e016e898e99746e5e28ac66aa8081cba6808f14980607ad924a698b7101c | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>exact-real-arithmetic: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../boo... | HTML | clean/Linux-x86_64-4.06.1-2.0.5/released/8.14.1/exact-real-arithmetic/8.10.0.html | coq-bench/coq-bench.github.io | mit | 7,389 | 177 | codeparrot/github-code |
366052c6a056805da06f601269028fcb2d0359282b757fdd29dbc3f223006029 |
<span id="span_tin_moi" style="">Tin Mới Nhất</span>
<ul id="news" style="font-family:Arial, Helvetica, sans-serif !important;width:765px; margin-top: 20px; ">
<?php
$tintuc_nb = $qly_post->ListTinMoiNew(-1, '1', 0, 1, 3);
while ($row_tintuc_nb = mysql_fetch_assoc($tintuc_nb) ){
?>
<li... | PHP | ngoai-khoa/inc/tin_moi.php | pkapollo/phongkhamapollo.com | mit | 2,412 | 62 | codeparrot/github-code |
95cde4dd7bb2c2933108166f8331e5cdbd57f5a01df069cc5f84ef977c35e53f | /*
* Wegas
* http://wegas.albasim.ch
*
* Copyright (c) 2013 School of Business and Engineering Vaud, Comem
* Licensed under the MIT License
*/
package com.wegas.core.security.jparealm;
import com.wegas.core.Helper;
import com.wegas.core.security.persistence.AbstractAccount;
import com.wegas.core.persistence.Abst... | Java | wegas-core/src/main/java/com/wegas/core/security/jparealm/JpaAccount.java | gdomingos/Wegas | mit | 3,838 | 165 | codeparrot/github-code |
0513bfa33bc37eb11a610ea6177fb4e15e8e8c0db2ec3cb6bfa301b7dbc058c1 | package top.itart.blog.back.bean;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
public class BlogRequest{
private String blogTitle;
private String blogSubtitle;
private String id;
private String blogConten... | Java | src/main/java/top/itart/blog/back/bean/BlogRequest.java | itart-top/itart-blog | mit | 1,480 | 69 | codeparrot/github-code |
5b56ae6c77ab17cf118d0b1782b18a2c3fd890694ab168d363fcd824bc236cca | <?php
/**
* Created by PhpStorm.
* User: minhao
* Date: 2016-09-06
* Time: 12:17
*/
namespace Oasis\Mlib\ODM\Dynamodb;
use InvalidArgumentException;
use Oasis\Mlib\AwsWrappers\DynamoDbIndex;
use Oasis\Mlib\ODM\Dynamodb\DBAL\Drivers\Connection;
use Oasis\Mlib\ODM\Dynamodb\Exceptions\DataConsistencyException;
use ... | PHP | src/ItemRepository.php | oasmobile/php-dynamodb-odm | mit | 25,078 | 760 | codeparrot/github-code |
0744fbc574732de1d7f4960f5c4b201aff1388600d1ae30671f3a18c31317afb | import { PlainObject, eachArray } from '@mdui/shared/helpers.js';
/**
* 为了使用模块扩充,这里不能使用默认导出
*/
export class JQ<T = HTMLElement> implements ArrayLike<T> {
length = 0;
[index: number]: T;
constructor(arr?: ArrayLike<T>) {
if (!arr) {
return this;
}
eachArray(arr, (item, i) => {
this[i] ... | TypeScript | packages/jq/src/shared/core.ts | zdhxiong/mdui | mit | 1,171 | 70 | codeparrot/github-code |
7ebb389bec6e3a269eebb616742b060ce743dbb71883de1f7b1a033c7c7d1db0 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.... | C# | src/IdentityServerWithAspNetIdentity/Controllers/ManageController.cs | mustafasaaed/IdentityServerCommunityTemplatePack | mit | 18,706 | 506 | codeparrot/github-code |
ea7ba049cb8bb73fc53901b2f19adb06058b6ac0b794808eb7c2ddf898d5e3f7 | <?php
// +----------------------------------------------------------------------
// | OneThink [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.onethink.cn All rights reserved.
// +-----------------------------------------------... | PHP | Application/Install/Common/function.php | h136799711/201507baoxiang | mit | 7,015 | 266 | codeparrot/github-code |
75aafb4d28a9cd7d8387ee167c7f9d36083c17947b0eecd863551f8c1730be23 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>monae: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | HTML | clean/Linux-x86_64-4.03.0-2.0.5/released/8.7.1/monae/0.0.1.html | coq-bench/coq-bench.github.io | mit | 6,978 | 177 | codeparrot/github-code |
339a1214a104bd7c078956ad9b0285c357ab88b6ec4cc37a0fa63c6b654b42ef | local base = require('litcord.structures.base')
local Invite = class(base)
function Invite:__updated ()
self.url = 'https://discord.gg/'..self.code
end
function Invite:accept ()
return self.parent.parent.rest:request(
Route(
'invites/%s',
self.code
),
nil,
'POST'
)
end
function Invite:delete ()
... | Lua | litcord/structures/Invite.lua | satom99/litcord | mit | 571 | 36 | codeparrot/github-code |
f1dd09c8cfa3bc6bf3daa70c75fe54ccdb0a60dce1ffcb78ffa283c0a58d5815 | /**
* Autocompletion using Ajax
*
* @version 1.0
* @author wolxXx
* @package Autocomplete
*/
/**
* a single autocomplete element
*/
var AutocompleteElement = new Class({
initialize: function(value, target){
var that = this;
that.value = value;
that.element = new Element('a');
that.element.set('text',... | JavaScript | autocomplete.js | wolxXx/mootools-autocompletion | mit | 6,082 | 243 | codeparrot/github-code |
1d3eca9b978a72e9865d57ee9720f832ec76022af6310b73a58ad9df2b277a2c | package org.yield4j.java;
import static org.yield4j.java.astwrapper.CallMethodWrapper.callMethod;
import static org.yield4j.java.astwrapper.GeneratedFlags.emptyFlags;
import static java.util.Arrays.asList;
import java.util.Iterator;
import java.util.List;
import org.yield4j.GeneratorMethodContext;
import org.yield4j... | Java | src/main/java/org/yield4j/java/Desugarer.java | provegard/yield4j | mit | 8,567 | 213 | codeparrot/github-code |
a1a3b8c1da448849b28f19262884b87df914aac1bb8db73f575c5423de61b91e | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>cats-in-zfc: 3 m 40 s 🏆</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.2/cats-in-zfc/8.10.0.html | coq-bench/coq-bench.github.io | mit | 14,706 | 241 | codeparrot/github-code |
43b70a705a5ce880e0416fddd8b1939324085235cf643f8b01d3e25657777b55 |
SniperTower = Tower.create()
SniperTower.__index = SniperTower
SniperTower.radius = 320
SniperTower.cost = 850
SniperTower.name = "Sniper Tower"
SniperTower.shoot_speed = 6.0
SniperTower.shoot_frequency = 1.3
SniperTower.damage = 22
function SniperTower.create()
local instance = {}
setmetatable(instance, Sni... | Lua | towers/sniper.lua | tobspr/LUATowerDefense | mit | 1,472 | 55 | codeparrot/github-code |
824ff84360fa409cc30f772e03a902d5de243c91bf678307d979e5db3588d6b4 | // 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, modify, merge, publish, distribute, sublicense,
// and / or se... | C | Library/Source Files/05 Descriptor Sets/13 Updating descriptor sets.h | PacktPublishing/Vulkan-Cookbook | mit | 3,380 | 78 | codeparrot/github-code |
4aea2776e83b327ca1e6d8ac92ccee6bd3cb3298620eb361fbe3787102178049 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>libvalidsdp: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... | HTML | clean/Linux-x86_64-4.02.3-2.0.6/released/8.6.1/libvalidsdp/0.5.html | coq-bench/coq-bench.github.io | mit | 7,609 | 191 | codeparrot/github-code |
82ccbcfbf3484d9567d362607f132106c0e47923ed929274cb5f4579cfc4973a | #!/usr/bin/env ruby
# Ruby Quiz 136: ID3 Tags
require 'genres'
require 'hashy'
# TAG song artist album year comment genre
Tag = /^TAG(.{30})(.{30})(.{30})(.{4})(.{30})(.)$/
# Retrieve the last n bytes of a file.
def get_last_bytes n, filename
File.open(filename) do |f|
f.seek -n, IO::SEEK_END
f.re... | Ruby | ruby_quiz/quiz136_sols/solutions/Jesse Merriman/id3_tags.rb | J-Y/RubyQuiz | mit | 1,294 | 56 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.