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 |
|---|---|---|---|---|---|---|---|---|
2c56916af5ce13f48f7980e92de9cb8cb04ea8cfeb0204ab6b76e7da56871e1e | //
// MessagePack for C++ static resolution routine
//
// Copyright (C) 2008-2009 FURUHASHI Sadayuki
//
// 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.apach... | C++ | iOS-Version/iOSClassifyWords/classifyWords/msgpack-c-change-version/msgpack/adaptor/map.hpp | fengjian0106/Minuum-Fleksy-Fuzzy-Matching | mit | 6,207 | 212 | codeparrot/github-code |
55bf74e01cf4bcc639547cd02d27e3fafe59b4c6fa7591224c941f364176ee9b | using System;
using System.Collections;
using System.Collections.Generic;
namespace MultiIndexDictionary
{
public class MultiIndexDictionary<TKey, TValue> : IMultiIndexDictionary<TKey, TValue>
{
/// <summary>
/// Represents a dictionary index.
/// This class stores <see cref="Dictionar... | C# | src/MultiIndexDictionary/MultiIndexDictionary/MultiIndexDictionary.cs | mleenhardt/MultiIndexDictionary | mit | 8,727 | 275 | codeparrot/github-code |
751624f8489c0fcc3eeb055cf1a79bd358daaaefe73cfec7855a99fde441b227 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>paramcoq: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | HTML | clean/Linux-x86_64-4.09.1-2.0.6/released/8.7.1+2/paramcoq/1.1.2+coq8.8.html | coq-bench/coq-bench.github.io | mit | 7,200 | 178 | codeparrot/github-code |
83f81945b4ef06934bec0c279aef70ae4f73e91c249752b85c07011d310a51ff | (function () {
'use strict';
var keyManager = function () {
return {
restrict: 'E',
templateUrl: 'voicebase-tokens/directives/key-manager.tpl.html',
replace: true,
scope: {
},
controllerAs: 'keyManagerCtrl',
controller: function($scope, voicebaseTokensApi, formValidate... | JavaScript | src/app/voicebase-tokens/directives/key-manager.js | voicebase/voicebase-developer-experience | mit | 3,090 | 102 | codeparrot/github-code |
b316c1d967b857b8891dfebaca55f94aea0efb96d5a5e8cfa25931be40207f40 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-algebra: 4 m 35 s</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/extra-dev/8.11.dev/mathcomp-algebra/1.11.0.html | coq-bench/coq-bench.github.io | mit | 14,323 | 215 | codeparrot/github-code |
16b1fc08d9c4050f29e5532a0afe1a2ebdb0afe0109ff67beb93bd4f0ae9ec2c | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>coqprime: 4 m 43 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel... | HTML | clean/Linux-x86_64-4.02.3-2.0.6/released/8.9.1/coqprime/1.0.3.html | coq-bench/coq-bench.github.io | mit | 20,912 | 284 | codeparrot/github-code |
eed8d3a3022f6497eacd78853f9ee3e8bb4fb40773efb57eb6b7e94b1215057d | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>gc: 2 m 2 s</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="styleshe... | HTML | clean/Linux-x86_64-4.05.0-2.0.6/released/8.9.0/gc/8.9.0.html | coq-bench/coq-bench.github.io | mit | 22,105 | 299 | codeparrot/github-code |
c168e4fb3f8712aeed607b4d40de72eb2c4def14a1d582cdec5bf04da918eb0a | <!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.m... | HTML | clean/Linux-x86_64-4.10.2-2.0.6/released/8.13.1/continuations/8.10.0.html | coq-bench/coq-bench.github.io | mit | 7,291 | 177 | codeparrot/github-code |
941b4b04f6e429784648e0d8f0a3048be5721d0b35157aa846f6e7025c290031 | import { merge } from 'lodash';
import { makeExecutableSchema } from 'graphql-tools';
import query from './query';
import mutation from './mutation';
import authentication from './authentication';
import album from './album';
import artist from './artist';
import genre from './genre';
import user from './user';
import ... | JavaScript | src/graphql/schema.js | greymatter0101/erykah | mit | 1,170 | 53 | codeparrot/github-code |
c76de40c68543a2f9ee29c96dc0a00e3accb7a72a1c50ac6082051d2eaedebb3 | 'use strict';
// Module dependencies.
var express = require('express'),
morgan = require('morgan'),
errorhandler = require('errorhandler'),
chat = require('./server/data/chat-db');
var app = module.exports = exports.app = express();
app.locals.siteName = "ChatModule";
// Connect to database
var db = req... | JavaScript | 15. End-to-end applications/04. MongoDB and Mongoose in Node.js/01. Chat Module/server.js | StefanSinapov/TelerikAcademy | mit | 1,898 | 79 | codeparrot/github-code |
cc9d4801faeae2348ebbf7a8ba5b53b54d90d7a6945522d186cacd197704e5eb | package countmin
import (
"errors"
"hash/fnv"
"math"
)
// MAXINT64 is max 64 bit integer size
const MAXINT64 = 1<<63 - 1
// CountMin holds count table for calculating
// frequencies from a given input (usually a stream of data)
type CountMin struct {
depth int
width int
size int64
eps f... | GO | countmin.go | mtchavez/countmin | mit | 3,208 | 136 | codeparrot/github-code |
8cbd254741707b8fb481abb021611831d2cedcce211b4ff16138cbd90af14aad | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ListItem = exports.List = undefined;
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || fa... | JavaScript | lib/components/List/List.js | sprucelabsai/react-sprucebot | mit | 7,460 | 208 | codeparrot/github-code |
04feb82ebda596fa4c37df551a5bc963c077289fe6c8b1cde6fabb85c2d7a83f | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>gappa: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | HTML | clean/Linux-x86_64-4.02.3-2.0.6/released/8.5.2~camlp4/gappa/1.4.1.html | coq-bench/coq-bench.github.io | mit | 7,448 | 177 | codeparrot/github-code |
a03b4682917dc8577f65973e3c9ab90f50f14e20db11604a9c54c07d67d5a351 | <!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.09.1-2.0.6/released/8.7.0/metacoq-safechecker/1.0~alpha1+8.8.html | coq-bench/coq-bench.github.io | mit | 7,755 | 181 | codeparrot/github-code |
a0d6434815f9f5f6ae881a0c78c7f29def3ad86b460fa99ea83b433077ed50a9 | using UnityEngine;
using System.Collections;
public class gunshot : MonoBehaviour {
public Rigidbody projectile;
public float speed = 20;
public GameObject spawnPoint;
public GameObject ExplosionPrefab;
public Rigidbody projectilePrefab;
// Use this for initialization
void S... | C# | gunshot.cs | aryanbhardwaj/sample-c-project | mit | 1,714 | 77 | codeparrot/github-code |
90e2cef9beeec365445acb686d440887b147ea99bfcefbc057ec4d69fe753758 | using System;
using System.Collections.Generic;
using JsonRPC;
using KerioConnect.Entities;
using Newtonsoft.Json.Linq;
namespace KerioConnect
{
public class KerioConnectClient
{
private readonly KerioJsonClient client;
public KerioConnectClient(string server)
{
var uri = ... | C# | source/KerioConnect/KerioConnectClient.cs | peschuster/kerioconnect-csharp | mit | 3,483 | 122 | codeparrot/github-code |
0f9a3b7378e6e54575cc066a51d45bb12c1be1b1ed449bfeab29486802a4c432 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>hammer: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | HTML | clean/Linux-x86_64-4.02.3-2.0.6/released/8.5.3/hammer/1.3.1+8.11.html | coq-bench/coq-bench.github.io | mit | 7,392 | 180 | codeparrot/github-code |
4085f8ccf34e25809e4857755ae1ed22a32411857ac98ad15fcc7dba6c2fbcba | /* Copyright (c) 2017-2022 Hans-Kristian Arntzen
*
* 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, me... | C++ | tools/gtx_cat.cpp | Themaister/Granite | mit | 4,282 | 165 | codeparrot/github-code |
de03aede3da2bfe2730e02bf4b3b03d7b66eac4af7f4f1be364ddb17707e98a6 | 'use strict';
const Promise = require('bluebird');
const co = require('co');
const fs = require('fs-extra');
const merge = require('../utilities/merge');
const Task = require('../models/task');
const debug = require('debug');
module.exports = Task.extend({
run: function (options) {
return new P... | JavaScript | lib/tasks/merge.js | restorecommerce/cli | mit | 3,265 | 79 | codeparrot/github-code |
a6c4b39764da27d9fd529ec1f1ba780fbc45fdb52c0186e8ba8670b82ab464a4 | package configgen.genlua;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
class CtxName {
private final Set<String> locals = new HashSet<>();
private final Map<String, String> fullNameToLocals = new TreeMap<>(); //用TreeMap使得生成代码确定
private static int MAX_LO... | Java | src/configgen/genlua/CtxName.java | stallboy/configgen | mit | 1,692 | 64 | codeparrot/github-code |
8d886bd87062bca46e1f03f57a3f4ec905e83b3717cea30191ae39ac5ecab0af | <TS language="ro_RO" version="2.0">
<context>
<name>AddressBookPage</name>
<message>
<source>Double-click to edit address or label</source>
<translation>Dublu-click pentru a edita adresa sau eticheta</translation>
</message>
<message>
<source>Create a new address</source>
... | TypeScript | src/qt/locale/voyacoin_ro_RO.ts | Voyacoin/Voyacoin | mit | 99,979 | 2,627 | codeparrot/github-code |
e791c866904b3c58e9075744461705f16daf671d7135883470099c6d482e9c5a | <!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.10.2-2.0.6/released/8.11.1/metacoq-safechecker/1.0~alpha1+8.8.html | coq-bench/coq-bench.github.io | mit | 7,569 | 178 | codeparrot/github-code |
716e2824dd02c7ebd71fcefc19046f2f6345015d7efd95eb45d50161a2e50028 | module Finicity
module Resources
class Transaction < Base
def list(from:, to:, params: {})
endpoint = "/aggregation/v3/customers/#{customer_id}/transactions"
query = { from_date: from.to_time.to_i, to_date: to.to_time.to_i }.merge(params)
request(:get, endpoint, query: query)
... | Ruby | lib/finicity/resources/transaction.rb | Fundthrough/finicity-ruby | mit | 1,179 | 34 | codeparrot/github-code |
57292dd82f5c692b079d40d8337232b2a19cd32c175820e8e2b0d2f97f8e3a0e | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>coalgebras: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... | HTML | clean/Linux-x86_64-4.11.2-2.0.7/released/8.11.1/coalgebras/8.10.0.html | coq-bench/coq-bench.github.io | mit | 7,167 | 172 | codeparrot/github-code |
fa42c79b9850973721e2ea10b98e019dfdfe3294808d40264c6d51c0854ca563 | package fr.esgi.toutdouxapp.db;
import java.util.ArrayList;
import java.util.Date;
import android.annotation.SuppressLint;
import android.content.Context;
import android.os.Parcel;
import android.os.Parcelable;
@SuppressLint("ParcelCreator")
public class Task implements Parcelable {
public long id;
public S... | Java | src/fr/esgi/toutdouxapp/db/Task.java | rhannequin/ToutDouxApp | mit | 4,275 | 154 | codeparrot/github-code |
f32fd51f73c828e11d59cc224d887f3d5a917bf3b93d94c140e2ab95a3f9a9bf | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>itree: 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.12.1/itree/3.1.0.html | coq-bench/coq-bench.github.io | mit | 7,202 | 175 | codeparrot/github-code |
8b5110ab55e6a1e6051c5cca67c5a96c1cd815ca8768a45e41f1e1742c717db7 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>otway-rees: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... | HTML | clean/Linux-x86_64-4.11.2-2.0.7/released/8.13.0/otway-rees/8.8.0.html | coq-bench/coq-bench.github.io | mit | 7,039 | 166 | codeparrot/github-code |
9fef4899d19b69f5a2d7c2e7d7ac2cd539178ebf36343f069ac2652327be75e7 | #ifndef _FrenchNumberToWordsConverter_h_
#define _FrenchNumberToWordsConverter_h_
using System;
using System.Collections.Generic;
namespace Humanizer.Localisation.NumberToWords
{
internal class FrenchNumberToWordsConverter : GenderedNumberToWordsConverter
{
private static readonly string[] UnitsMap =... | C | Localisation/NumberToWords/FrenchNumberToWordsConverter.h | trodevel/HumanizerCpp | mit | 4,381 | 120 | codeparrot/github-code |
e3a431332841e757c49e70b57962908fa6b37210373771597178134ce1b7454e | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>class Rake::Task - rake-12.3.2 Documentation</title>
<script type="text/javascript">
var rdoc_rel_prefix = "../";
</script>
<script src="../js/jquery.js"></script>
<script src="../js/darkfish.js"></script>
<link href="../css/fonts.css" rel="stylesheet">... | HTML | stakes-jekyll/doc/rake-12.3.2/rdoc/Rake/Task.html | Celyagd/celyagd.github.io | mit | 57,800 | 1,610 | codeparrot/github-code |
2ee3b611278e435dd6516c11842da88b5bebd75875070028cecfe41b9040b8cc | using OdataToEntity.EfCore.DynamicDataContext.InformationSchema;
using OdataToEntity.EfCore.DynamicDataContext.ModelBuilder;
using System;
using System.Reflection;
using System.Reflection.Emit;
namespace OdataToEntity.EfCore.DynamicDataContext
{
public class EmitDynamicTypeDefinitionManagerFactory : DynamicTypeDe... | C# | source/OdataToEntity.EfCore.DynamicDataContext/EmitDynamicTypeDefinitionManager.cs | voronov-maxim/OdataToEntity | mit | 2,891 | 60 | codeparrot/github-code |
2f20fb2eb2056a55a9b2aa0925dc39e8f304f183fe6e3fdd93eb05f3720959fb | <!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.9.1/dpdgraph/0.6.html | coq-bench/coq-bench.github.io | mit | 6,997 | 176 | codeparrot/github-code |
c2202965fe3b4ed1e1531e37e5c167cb74774a3479fee4f2648e8dd858458f79 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>lesniewski-mereology: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../boot... | HTML | clean/Linux-x86_64-4.08.1-2.0.5/released/8.13.0/lesniewski-mereology/8.6.0.html | coq-bench/coq-bench.github.io | mit | 8,093 | 166 | codeparrot/github-code |
516049b9238f6270f4354cecf334d09b1c759bdedcb5c411739d4338703318d9 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>propcalc: 16 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.09.0-2.0.5/released/8.7.1+1/propcalc/8.7.0.html | coq-bench/coq-bench.github.io | mit | 9,200 | 178 | codeparrot/github-code |
a27af355b30b52f80750f5f1f9c443cb3e2ec443a5ea88808c372c2eef9ef74c | delete require.cache[require.resolve('../lib/configuration')]
const configuration = require("../lib/configuration")
const serializationFormats = require("../lib/serialization-formats")();
describe("Configuration", () => {
it("get default cacheExpiration value if not set", () => {
configuration.cacheExpiration.shoul... | JavaScript | test/configurationTest.js | jd78/NodeEventStore | mit | 2,060 | 56 | codeparrot/github-code |
b1517b7b6a15e24c5eebda2a179a1fe7f5b2e04137bfff198a414d7eff078184 | <?php
/**
* WebHemi.
*
* PHP version 7.2
*
* @copyright 2012 - 2019 Gixx-web (http://www.gixx-web.com)
* @license https://opensource.org/licenses/MIT The MIT License (MIT)
*
* @link http://www.gixx-web.com
*/
declare(strict_types = 1);
namespace WebHemi\Acl\ServiceAdapter;
use WebHemi\Acl;
use WebHemi\Data... | PHP | src/WebHemi/Acl/ServiceAdapter/AbstractServiceAdapter.php | Gixx/WebHemi | mit | 4,035 | 132 | codeparrot/github-code |
4813e77165f88f2495672989f1ce241aafe46793f9088136494b236837f62617 | <!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.05.0-2.0.1/released/8.12.1/mtac2/1.0.1+8.8.html | coq-bench/coq-bench.github.io | mit | 6,881 | 168 | codeparrot/github-code |
1da2dcaf36c4e57a6588cd1a5e108383d9709b1fd5064ecf33cc24d785e9c118 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class AbstractForceList<TranslationType, TorqueType, ForceType> : MonoBehaviour // Monobehavior?
where ForceType : AbstractForce<TranslationType, TorqueType>
{
public List<ForceType> forces;... | C# | Code - Framework/Editor/Physics/ForceList/AbstractForceList.cs | Bahamutho/UnityFramework | mit | 1,932 | 63 | codeparrot/github-code |
0bc6bf1bd8ebcbce690f16550e2e8dc9c572276cc79a1555dd3baef8242352eb | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.inmobiliaria.controllers;
import java.io.Console;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.sprin... | Java | src/main/java/com/inmobiliaria/controllers/InspectionController.java | leydisgarzon/ExecBI | mit | 1,087 | 36 | codeparrot/github-code |
a59bfc9962a24d8d1c8f2aef771fc6f396995a838690e2522c7783b49699bea3 | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... | PHP | application/config/database.php | jobetoro/sisventa | mit | 4,530 | 97 | codeparrot/github-code |
5c6ce988aff30aead7a1e4f5daf2332bede58b83cb8efc23b1601ce93205ffa8 | -- phpMyAdmin SQL Dump
-- version 4.6.5.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Feb 22, 2017 at 02:44 PM
-- Server version: 10.1.21-MariaDB
-- PHP Version: 5.6.30
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SE... | SQL | mtpShop_backup_database.sql | doananhtu/ShopMTP | mit | 7,926 | 277 | codeparrot/github-code |
8707492c38740d915e2ad02a0f627e0993545d4f6f7c8d8a9b755c60c9ab0b0b | import * as crypto from "crypto";
import { krl } from "krl-stdlib";
import * as _ from "lodash";
const hashAlgorithms = Object.freeze(crypto.getHashes());
const math: krl.Module = {
base64encode: krl.Function(["str"], function (str) {
str = krl.toString(str);
return Buffer.from(str, "utf8").toString("base64... | TypeScript | packages/pico-engine-core/src/modules/math.ts | Picolab/pico-engine | mit | 3,209 | 125 | codeparrot/github-code |
2ca4ad8d08d3b4560fee6a10589e2e1d507c22b6a76f434a3df7fe4eec3c9b97 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico... | HTML | docs/com/google/android/gms/common/api/CommonStatusCodes.html | anas-ambri/androidcompat | mit | 60,708 | 2,506 | codeparrot/github-code |
95e28b31d26a38443212bca0067f3a39f257fd054a4940c4a738c4d74794657c | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import styles from './schoolCard.css';
class SchoolCard extends Component {
render() {
return (
<div className={styles.schoolCard}>
<div className={styles.schoolCardImage}>
<img src={this.props.logo} alt={this.p... | JavaScript | src/shared/components/schoolCard/schoolCard.js | alexspence/operationcode_frontend | mit | 1,787 | 60 | codeparrot/github-code |
7f8fd02cb88aa1705b8c3955c550ec44c7619d2d3a916e7f549054b3dd9b510f | <?php
namespace Frontend\SubjectBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\Security\Acl\Exception\Exception;
use Frontend\SubjectBundle\Entity\File;
use Frontend\SubjectBundle\Entity\Subject;
use Frontend\Subj... | PHP | src/Frontend/SubjectBundle/Controller/UploadController.php | pcgejza/jegyzetbazis | mit | 8,367 | 217 | codeparrot/github-code |
8f9c2cc32fb66a8b9cb65cd7548d0862ef1c217f3168dee9b0798727ae420fcd | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>paramcoq: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | HTML | clean/Linux-x86_64-4.02.3-2.0.6/released/8.6.1/paramcoq/1.1.2+coq8.10.html | coq-bench/coq-bench.github.io | mit | 7,418 | 181 | codeparrot/github-code |
9534f7fcac2019c5db63cb2ecddc9be3b27f57d333b6e81e663d32f2bc9f9eb8 | /*!
* SmoothScroll for websites v1.2.1
* Licensed under the terms of the MIT license.
*
* People involved
* - Balazs Galambosi (maintainer)
* - Michael Herf (Pulse Algorithm)
*/
(function(){
// Scroll Variables (tweakable)
var defaultOptions = {
// Scrolling Core
frameRate : 150, // [Hz]
anima... | JavaScript | web/app/themes/Divi/js/smoothscroll.js | mattKendon/traws | mit | 14,287 | 550 | codeparrot/github-code |
f118d6b67a9010a64c82a19b0fb5d88fd18d2d4740e372f895319586be96da29 | # -*- coding: utf-8 -*-
"""
This module contains atmospheric constands and standards.
@author: Hagen
"""
import numpy as np
import pandas as pd
from scipy.interpolate import interp1d
class Standard_Atmosphere(object):
def __init__(self, standard='international'):
"""Returns pressure, temperature, an... | Python | atmPy/atmosphere/standards.py | hagne/atm-py | mit | 5,525 | 158 | codeparrot/github-code |
1245d7f9486d8ab8e97cc7795e43687a49ec33e865db4ef8d8d2e59c5f92223e | package xyz.enhorse.commons;
import java.io.Serializable;
import java.util.Objects;
/**
* An interval From-To
* @param <T> a type of the interval bounds
* @author <a href="mailto:pavel13kalinin@gmail.com">Pavel Kalinin</a>
* on 23/12/17.
*/
public final class Interval<T extends Serializable & Comparable<T>> impl... | Java | src/main/java/xyz/enhorse/commons/Interval.java | pavelkalinin/commons | mit | 2,242 | 98 | codeparrot/github-code |
0c3e47c509240609b72cf24006727c2df841786c12eb2049c4a6607bbac77861 | const visit = require('unist-util-visit')
const appendix = require('../type/appendix')
const defaultReferenceGenerator = (appendixIndex) => `Code appendice ${appendixIndex}`
module.exports = (ctx, tree) => {
ctx.overrides.appendix = appendix
return (node) => {
let appendix = tree.children[tree.children.length... | JavaScript | packages/rebber-plugins/src/preprocessors/codeVisitor.js | zestedesavoir/zmarkdown | mit | 1,528 | 57 | codeparrot/github-code |
ee37c71d3b92ff3dc28ba0a360911588b1b4b8d808b463024e388be73a1b7090 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>lesniewski-mereology: 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.5.3/lesniewski-mereology/8.6.0.html | coq-bench/coq-bench.github.io | mit | 7,985 | 166 | codeparrot/github-code |
2a3695f525e7bf8eb3cfe893b962767cb0a089b6bb2e1a17225b1781ee198cc6 | /*
* The MIT License (MIT)
*
* Copyright (c) 2013 Alistair Leslie-Hughes
*
* 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 ... | C# | Microsoft.DirectX.DirectInput/Microsoft.DirectX.DirectInput/DeviceInstance.cs | alesliehughes/monoDX | mit | 3,167 | 130 | codeparrot/github-code |
f855c63d63ad128c93f51b2090420150673b2b75b098d60e97c6b9a87f64d7dd | using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using System.Diagnostics;
using System.Windows;
using System.Windows.Navigation;
namespace SidebarWP8.Test
{
public partial class App : Application
{
public static PhoneApplicationFrame RootFrame { get; private set; }
public App()
... | C# | src/SidebarWP8.Test/App.xaml.cs | frostieDE/wp-sidebar | mit | 3,185 | 106 | codeparrot/github-code |
1d46ef97ed7f4f367994f789fe0c6914a283f89d875f64bd05bb0786248b808e | # -*- coding: utf-8 -*-
"""
The MIT License (MIT)
Copyright (c) 2015-2016 Rapptz
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 r... | Python | discord/server.py | potatosushi/Discord-Notification-Bot | mit | 13,502 | 342 | codeparrot/github-code |
d36fd6c7b3c9a69702f2a6032961de0cfc8ccd29f9be1a928424616f804c4f5a | <?php
namespace Bit2Bit\MainBundle\Base;
class MenuGenerator {
private $menu = array();
private $roles;
public function __construct($user) {
$this->roles = $user->getRoles();
}
public function add($name, $route, $icon = '', $required_role = false, $badge = false) {
if (!$require... | PHP | src/Bit2Bit/MainBundle/Base/MenuGenerator.php | DevSeqe/Estate | mit | 924 | 40 | codeparrot/github-code |
c9302756bbefad49ccd2d98d324834ba5200e802c57494ef0cb0c173be0b7555 |
module DbDashboards.Dials {
export class DialNeedleCircleArrow extends DialNeedle {
private hw: number;
public needleLength: number;
constructor(options: DialOptions, needleContext: CanvasRenderingContext2D) {
super(options, needleContext);
this.hw = options.needle... | TypeScript | ts/dials/needles/DialNeedleCircleArrow.ts | davidblackuk/canvas-dash | mit | 1,286 | 43 | codeparrot/github-code |
68df15b26c4426e3c8827baa51247bd7a2019eac8a9677c53a06d6a02506c2de | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>miniml: 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/miniml/8.6.0.html | coq-bench/coq-bench.github.io | mit | 7,219 | 170 | codeparrot/github-code |
f2d2cdab07ba0ae0029ab74c65d093843d383449ec3339f841d3b2c2272798ef | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>classical-realizability: 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/classical-realizability/8.5.0.html | coq-bench/coq-bench.github.io | mit | 7,259 | 167 | codeparrot/github-code |
f622d9849c4d745edcd8c2a469ec55e1ddcb408f27d1fe2f8eff640da3f0614c | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package pro.redsoft.openxml.openoffice;
/**
* @author crzang
*/
public class resultStr {
String before = "";
String after = "";
String mixed = "";
public String getBefore() {
return before;
}
public ... | Java | src/main/java/pro/redsoft/openxml/openoffice/resultStr.java | AlexOreshkevich/open-xml | mit | 625 | 40 | codeparrot/github-code |
c77e4d1c096782b1857e5dc39d762100493fa420965ce60235e7a06a39a5849b | 'use strict';
(function (angular) {
angular
.module('advancedFolderPluginContent')
.controller('ContentHomeCtrl', ['$scope', '$timeout', 'DB', 'COLLECTIONS', 'Buildfire', 'DEFAULT_DATA', 'Modals', 'Messaging', 'Utility',
function ($scope, $timeout, DB, COLLECTIONS, Buildfire, DEFAULT_DA... | JavaScript | control/content/controllers/content.home.controller.js | jdm135/advancedFolderPlugin | mit | 25,326 | 548 | codeparrot/github-code |
0c932a843499b15a2ee0d284d40c66dd6cc2ab9a0dcee19dab4bc927e38a5a00 | package utils
import (
"crypto"
"crypto/rand"
"crypto/rsa"
"crypto/x509"
"hash/fnv"
)
func GenerateKey() ([]byte, []byte, error) {
privateKey, err := rsa.GenerateKey(rand.Reader, 2048)
if err != nil {
return nil, nil, err
}
publicKey := privateKey.Public()
privateKeyBytes := x509.MarshalPKCS1PrivateKey(pr... | GO | utils/signature.go | PomeloCloud/BFTRaft4go | mit | 1,848 | 71 | codeparrot/github-code |
2734f505131799089096fdd8511e1224751917a0637a4cb692067509d99854d5 | //
// Copyright(c) 2017-2018 Pawe³ Ksiê¿opolski ( pumexx )
//
// 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, c... | C | include/pumex/Asset.h | pumexx/pumex | mit | 14,389 | 410 | codeparrot/github-code |
7f54f7f60176881586e090c62a37bcb2df61acece3312e233cd2965a054266b1 | <?php
/*
* Opulence
*
* @link https://www.opulencephp.com
* @copyright Copyright (C) 2021 David Young
* @license https://github.com/opulencephp/Opulence/blob/master/LICENSE.md
*/
namespace Project\Infrastructure\Documentation\Compilers;
use Opulence\Files\FileSystem;
use Parsedown;
use Project\Domain\Do... | PHP | src/Infrastructure/Documentation/Compilers/DocumentationCompiler.php | opulencephp/opulencephp.com | mit | 3,585 | 108 | codeparrot/github-code |
7a7bd63b52581662260d178ed84a9cae7237404737084afc17bf0e85181fc099 | /****************************************************************
Copyright (C) 2014 Sean Guo. All rights reserved.
> File Name: < unix_server.c >
> Author: < Sean Guo >
> Mail: < iseanxp+code@gmail.com >
> Created Time: < 2014/07/06 >
... | C | ipc/unix_socket/unix_server.c | SeanXP/UNP | mit | 2,285 | 99 | codeparrot/github-code |
1f54f0bb1280b50a0ac09ada4ea8ccacf3ea8715e26769a8fe38cedfe30da45a | using JsTestAdapter.Helpers;
using JsTestAdapter.Logging;
using JsTestAdapter.TestServerClient;
using KarmaTestAdapter.TestAdapter;
using System;
using System.IO;
using TwoPS.Processes;
namespace KarmaTestAdapter.Karma
{
public class KarmaServer : TestServer
{
public KarmaServer(KarmaSettings settings... | C# | KarmaTestAdapter/Karma/KarmaServer.cs | MortenHoustonLudvigsen/KarmaTestAdapter | mit | 1,478 | 50 | codeparrot/github-code |
ee66ee0b669c1caa78c8038728a6d3357d61d93ac3f80f3f2767312e00b66a4e | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>coquelicot: 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.1/coquelicot/2.1.2.html | coq-bench/coq-bench.github.io | mit | 7,106 | 166 | codeparrot/github-code |
2f3e6c88207baac40657302bb6fb6d2b5e643b96a64d4afa83e75eae687bcf71 | ///////////////////////////////////////////////////////////////////////////////////
///@file FMC204_freqcnt.cpp
///@author Arnaud Maye (4DSP)
///\brief FMC204_freqcnt module to interface with the FMC204 star (implementation)
///
/// This module is in charge of obtaining various frequencies from the clock tree and
/// ... | C++ | hardware/FMC204/Libs/FMC204/Impls/FMC204_freqcnt.cpp | pbutala/Demos | mit | 2,424 | 94 | codeparrot/github-code |
2855a0210451745cf0f7720f15ff5d4fe62c22c097f7bd9d5cde3d69f35da424 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after*... | HTML | html/tmjsleeptherapycentre/index.html | leemtek/Secure-Forms | mit | 8,940 | 140 | codeparrot/github-code |
0d3a1c6477c5f529b95d2785a102edeabadf534deaeaa5ee4a0b62b907d81763 | package algorithms.misc;
import algorithms.util.ArrayPair;
import java.security.SecureRandom;
/**
*
* @author nichole
*/
public class MiscMath {
public static int findPowerOf10_2(float a) {
if (a == 0) {
return 0;
}
int power = 0;
if (a <= 1.0f) {
whi... | Java | src/main/java/algorithms/misc/MiscMath.java | tectronics/two-point-correlation | mit | 7,182 | 295 | codeparrot/github-code |
b0ca6c0220c5018d996aea2c25df103e5d228729351f6fcd99a4d1610a9b7a23 | 'use strict';
var db = require('../../config/db')();
module.exports = {getAllSlides, saveSlide, getSlide};
/**
* /slides
* Type: GET
* operationId: getAllSlides
* returns array of slides
*/
function getAllSlides(req, res, next) {
db.find(function(slidesNode){
res.json({
slides: slidesNode
... | JavaScript | questionare-app/questionare-api/api/controllers/slide.js | AvinashMudunuri/ReactProjects | mit | 947 | 50 | codeparrot/github-code |
d25c9bc3367296264f702756f99bade13bffa4ada5e574bf16427839df5f2ba1 | //==============================================================================================================
//Clock.cpp
//by Albert Chen Oct-13-2015.
//==============================================================================================================
#include "SystemClockWin32.hpp"
#include "Utilities... | C++ | Engine/Core/SystemClockWin32.cpp | achen889/Warlockery_Engine | mit | 4,073 | 150 | codeparrot/github-code |
6207bae85efeae58fbac1659f41ddaae53cd2937b601c0e3f7be7f434e961117 | /**
* @file
* @author Mamadou Babaei <info@babaei.net>
* @version 0.1.0
*
* @section LICENSE
*
* (The MIT License)
*
* Copyright (c) 2016 - 2021 Mamadou Babaei
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwa... | C++ | Service/Pool.hpp | NuLL3rr0r/blog-subscription-service | mit | 3,076 | 101 | codeparrot/github-code |
fe487e74383af847268a2f52f4bbc2d582dffb1050fd442b32906fde57d33d50 | @import Foundation;
@interface NSDateFormatter (WMFExtensions)
/**
* Formatter which can be used to parse timestamps from the mediawiki API.
*
* @note It is safe to call this method from any thread.
*
* @return Singleton @c NSDateFormatter for transcoding WMF timestamps.
*/
+ (NSDateFormatter *)wmf_iso8601Forma... | C | Wikipedia/Code/NSDateFormatter+WMFExtensions.h | julienbodet/wikipedia-ios | mit | 2,206 | 70 | codeparrot/github-code |
992cdb569854eaa76953dd79356f079bd7c2ac9ab042b148a76f01c071613d35 | package bg.tusofia.diploma.services;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import bg.tusofia.diploma.dao.UserDao;
import bg.tusofia.diploma.entities.User;
import bg.tusofia.diploma.requestObjects.UserLoginRequestObject;
import bg.tusofia.diploma.... | Java | AssigmentSystemApp/back-end/src/main/java/bg/tusofia/diploma/services/UserServiceImpl.java | rtashev/University-Projects | mit | 1,143 | 40 | codeparrot/github-code |
efd3dae0a9bb19bafc061f8860f7a5ffba4076738b3213eb452ecaedb4e84959 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>algebra: 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/extra-dev/8.10.0/algebra/dev.html | coq-bench/coq-bench.github.io | mit | 6,377 | 162 | codeparrot/github-code |
6eda5025cc12adda18d702578e1dc35bb759a1955458adef745f6067e6517dde | /*******************************************************************************
* Copyright (c) 2008, 2010 SAP AG.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
*... | Java | mat/src/main/java/org/eclipse/mat/collect/ArrayLongCompressed.java | blasd/apex-core | mit | 5,750 | 175 | codeparrot/github-code |
f1cc5c0849f57914ef7bb776aab3c19e8bdcd35a4c46533e2fe489d5e8f11a0c | package chav1961.purelib.streams.char2byte.asm;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import chav1961.purelib.basic.interfaces.SyntaxTreeInterface;
import chav1961.purelib.cdb.CompilerUtils;
class InternalUtils {
static final char[] FAL... | Java | src/main/java/chav1961/purelib/streams/char2byte/asm/InternalUtils.java | chav1961/purelib | mit | 6,859 | 228 | codeparrot/github-code |
ec0cabb7ecc21a7ad54a633461b0b4f1c641ffee65855b8cce9f32d678f56a86 | import path from 'path';
import fs from 'fs';
import QR from 'qrcode';
import { createReport } from '../index';
import { setDebugLogSink } from '../debug';
import {
NullishCommandResultError,
CommandExecutionError,
InvalidCommandError,
} from '../errors';
if (process.env.DEBUG) setDebugLogSink(console.log);
['n... | TypeScript | src/__tests__/error_handling.test.ts | guigrpa/docx-templates | mit | 7,329 | 253 | codeparrot/github-code |
006ac765fecb792ffe39e80d2db31d9e339ae8ca9d1c8c77862f275832c395cc | import pandas as pd
from ...config import _load_secrets
import sqlalchemy
import os
from tqdm import tqdm
class IlluminateSQLInterface:
"""A class representing a SQL interface to
Illuminate
"""
def __init__(self, secrets=None):
if secrets is None:
secrets = _load_secrets()
... | Python | eduextractor/sis/illuminate/illuminate_exporter.py | openEduConnect/eduextractor | mit | 1,702 | 52 | codeparrot/github-code |
a3b60409f71d3b1b23994e1854c2612ad5771920591c5a1bf963240eb058e088 | <!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.03.0-2.0.5/released/8.5.1/weak-up-to/8.8.0.html | coq-bench/coq-bench.github.io | mit | 7,600 | 182 | codeparrot/github-code |
7101f98e1fe4537d29184f9e3fcdb023fee635818abe7a478a870753e93fb8c3 | ---
category: Blog
tag: Android
comments: true
date: 2014-05-02 19:00:00
layout: post
slug: android-camerapreview-threads
title: Android CameraPreview with PreviewCallback and Processing Frames using Threads
keywords: [android development, android camera app, android camera tutorial, android camera preview, surfaceview... | Markdown | _posts/2014-05-02-android-camerapreview-threads.markdown | jayrambhia/jayrambhia.github.com | mit | 5,003 | 112 | codeparrot/github-code |
f7e35e5660ef37f8ab1413f7ee81fb1b14cbe63f06df55b3f2710e9ee47367b5 | import java.util.*;
import java.math.*;
import java.io.*;
import java.text.*;
import java.awt.Point;
import static java.util.Arrays.*;
import static java.lang.Integer.*;
import static java.lang.Double.*;
import static java.lang.Long.*;
import static java.lang.Short.*;
import static java.lang.Math.*;
import static java... | Java | codeforces/431/431A.java | joker23/ACM | mit | 1,173 | 63 | codeparrot/github-code |
593099adc81b96056ef798fa84e28ad96cdc020c461d523e0e903cfe06cce45a | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>compcert-64: 34 m 59 s 🏆</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.8.0/compcert-64/3.7~coq-platform.html | coq-bench/coq-bench.github.io | mit | 34,028 | 397 | codeparrot/github-code |
dcda03773fa571a1c0ca5784dcc05554f79b671fb96abad22ce8a72e8d84af75 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>circuits: 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/released/8.11.2/circuits/8.6.0.html | coq-bench/coq-bench.github.io | mit | 6,666 | 163 | codeparrot/github-code |
8b8eca3896dc531375e72ae8c1bceffe309003387e789739641b97ab7a0f8bdf | 'use strict';
// Compatibility functions
// Contain classlist polyfill and bind polyfill
module.exports = function() {
//https://github.com/remy/polyfills/blob/master/classList.js
(function () {
if (typeof window.Element === 'undefined' || 'classList' in document.documentElement) return;
var ... | JavaScript | src/plugins/compat.js | mushtat/savory.js | mit | 3,229 | 100 | codeparrot/github-code |
bf4820a6b9e8ec9f8dd2d394b426775e94eac5f79d80fbeb3d1672b2330d1434 | var sinon = require('sinon');
var chai = require('chai');
var expect = chai.expect;
var config = {
"path": "/tmp/fake",
"secure_code": "abc",
"remote_name": "origin",
"branch": "master",
"listen_port": 3080
};
var deployment = require('../lib/deployment')(config);
var deploymentAction = deployment.... | JavaScript | test/test.js | kevin-coyle/node_git_deploy | mit | 1,289 | 43 | codeparrot/github-code |
16ecb6a46e8b816bab13358816b3061c8cc5bda92039842b84b793a1fe51d45b |
/**
* Module dependencies.
*/
var port = 8080;
var express = require('express');
var routes = require('./routes');
var user = require('./routes/user');
var chat = require('./routes/chat');
var http = require('http');
var path = require('path');
var app = express();
// all environments
app.set('port', process.env.... | JavaScript | app.js | youryss/chat-app | mit | 1,223 | 50 | codeparrot/github-code |
5b3b09284cf8893e23e9b7022fb58a203cd264747d6ff04d60f67b64bf798d58 | import asyncio
import random
import checks
from TextChecker import TextChecker
from database import Database
from checks import *
from data.rp_texts import *
from data.links import *
from web import Web
from roleplay.Player import Player
import discord
from discord.ext import commands
class Roleplay(commands.Cog):
... | Python | cogs/roleplay.py | nisanick/Prisma_Machina | mit | 45,118 | 1,012 | codeparrot/github-code |
0c8f8f670a8f75a3046e9870f4223491a0ea28bb7d1e56f2a32ec4b8186ba471 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>functions-in-zfc: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstra... | HTML | clean/Linux-x86_64-4.13.1-2.0.10/released/8.14.1/functions-in-zfc/8.10.0.html | coq-bench/coq-bench.github.io | mit | 7,426 | 178 | codeparrot/github-code |
8873f1aeb1f4df3a7ec98f08523009a27212ec57ee88eae7d9b0e92dcad2231a | //
// ParserState.cs
//
// Author:
// Aaron Bockover <abockover@novell.com>
//
// Copyright 2009 Novell, Inc.
//
// 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,... | C# | Capi.Parser/ParserState.cs | abock/capi | mit | 4,106 | 125 | codeparrot/github-code |
bae126abd470f64378c311dc343fb704fd6ef79dbf485b20719bad04491eb543 | <?php
if (!function_exists('createNonceStr')) {
function createNonceStr($length = 16)
{
$chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
$str = "";
for ($i = 0; $i < $length; $i++) {
$str .= substr($chars, mt_rand(0, strlen($chars) - 1), 1);
... | PHP | application/helpers/tools_helper.php | 347653397/api.eachfight.com | mit | 15,523 | 623 | codeparrot/github-code |
087fe251f07ed6e98481f6bd8810410540f0860faf0010238822c13280463c13 | using System;
using System.Collections.Generic;
using g3;
namespace f3
{
public class SceneUtil
{
// used to indicate that this object is transient
static public string InvalidUUID = "77777777-7777-7777-7777-777777777777";
public static bool FindNearestRayIntersection(IEnumerable<Sc... | C# | util/SceneUtil.cs | gradientspace/frame3Sharp | mit | 14,612 | 456 | codeparrot/github-code |
b8340258a2d106da4907080b95a420f9c798d48e6291a2c4615b3a9c2e1f412c | #include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <fstream>
using namespace std;
vector<int> state, result, edgesList;
void help() {
cout << "spouštění: ./main n k graphFile a" << endl << endl;
cout << "n = přirozené číslo představující počet uzlů grafu G, n >= 10" << endl... | C++ | main.cpp | izmy/PDP-zobecnena-bisekcni-sirka | mit | 4,251 | 160 | codeparrot/github-code |
0829b2e203617fe1574564cd3f002781dfba3ec35346258b1df2908daedd4be5 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Codiato.Home.WebUI.Models.Repositories
{
public class TagRepository : ITagRepository
{
private HomeContext _db = HomeContext.Current;
#region Singleton
private static TagRepository... | C# | Codiato.Home/Codiato.Home.WebUI/Models/Repositories/TagRepository.cs | Codiato/codiato.home | mit | 1,321 | 61 | codeparrot/github-code |
7694edf40802e191d9b4a94e47f9253b228d4f1d7e8eeef2a26668634cbea978 | /*
* Copyright (c) 2007-2018 Siemens AG
*
* 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, pub... | Java | src/main/java/com/siemens/ct/exi/core/coder/EXIStreamDecoderImpl.java | EXIficient/exificient-core | mit | 4,378 | 122 | codeparrot/github-code |
d78c3206937c51a2da48678223bd7936b5ca9628384fd3ddb53081490b859833 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>traversable-fincontainer: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../boo... | HTML | clean/Linux-x86_64-4.09.0-2.0.5/released/8.10.1/traversable-fincontainer/8.6.0.html | coq-bench/coq-bench.github.io | mit | 7,004 | 165 | codeparrot/github-code |
3595d26d5a9f3890370ad81401fa092567afbfd978823a8efbaf785e6d97b394 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>dictionaries: 22 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel... | HTML | clean/Linux-x86_64-4.08.1-2.0.5/released/8.7.1+1/dictionaries/8.7.0.html | coq-bench/coq-bench.github.io | mit | 7,542 | 175 | codeparrot/github-code |
ccbe7c5c428f5344f7e77977694ae1c6b83f9692b7fa50aa041b9e469bc4f123 | package mcjty.rftools.blocks.screens.modulesclient;
import mcjty.gui.events.ButtonEvent;
import mcjty.gui.events.ColorChoiceEvent;
import mcjty.gui.events.TextEvent;
import mcjty.gui.layout.HorizontalAlignment;
import mcjty.gui.layout.HorizontalLayout;
import mcjty.gui.layout.VerticalLayout;
import mcjty.gui.widgets.*... | Java | src/main/java/mcjty/rftools/blocks/screens/modulesclient/FluidBarClientScreenModule.java | Adaptivity/RFTools | mit | 9,124 | 209 | codeparrot/github-code |
90842a0307e1fe9bdec472b251056b1a07177060b1c37d4291d2d24b81d5d8dd | package edu.harvard.hul.fdc;
import java.io.File;
import java.io.FileInputStream;
import java.io.FilenameFilter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import org.apache.commons.cli.HelpFormatter;
import org.apache.commons.cli... | Java | fbt/fdc/src/main/java/edu/harvard/hul/fdc/Controller.java | openpreserve/fits-blackbox-testing | mit | 4,585 | 183 | codeparrot/github-code |
0a90b79b604033a1d48c85a5d93bb96a7b8473f5b97efe6a9fd01571ad3b2139 | package com.josericardojunior.domain;
public class Historic {
private static final String separatorLeft = "<";
private static final String separatorRight = ">";
private static final String itemSeparator = ",";
private String rightItem;
private String leftItem;
private Dominoes dominoLeft;
... | Java | DominoesLib/src/com/josericardojunior/domain/Historic.java | gems-uff/dominoes | mit | 9,867 | 313 | codeparrot/github-code |
ee221d09e5e6ed04abf20a1d060e54acc353efc5e6e8b376cbfa05c5c9976dc9 | import java.util.*;
//używamy biblioteki, w której znajduje się definicja typu Scanner
class Program
{
//deklaruje funkcje Silnia, która:
static int Silnia(int n)
{
if (n < 2)
return 1;
//dla n równego 0 lub 1, zwraca wartość 1 (z definicji)
return n * Silnia (n - 1);
//dla n więk... | Java | KOMENTARZ_silnia.java | EFSKnyc/Programy-Java | mit | 930 | 31 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.