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 |
|---|---|---|---|---|---|---|---|---|
508f81a0b4aa4b71bf9dfa738e88567a96c886c2c53ca7e5fc418f9b4cec81e6 | using System;
using System.Windows.Input;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using Neo.Gui.Base.Dialogs.Interfaces;
using Neo.Gui.Base.Dialogs.Results.Wallets;
using Neo.Gui.Base.Managers.Interfaces;
using Neo.Gui.Base.Services.Interfaces;
namespace Neo.Gui.ViewModels.Wallets
{
public c... | C# | Neo.Gui.ViewModels/Wallets/OpenWalletViewModel.cs | jlgaffney/neo-gui-wpf | mit | 3,209 | 118 | codeparrot/github-code |
e2dee1eb6e45b62480083aca10d189b52dd1fbd6d596522151a03bee69618312 |
// Mucking with different levels
let currentLevel = { cells: undefined, dims: undefined };
if (0) {
currentLevel.cells = level;
currentLevel.dims = level_dims;
} else {
currentLevel.cells = LEVEL_ONE;
currentLevel.dims = LEVEL_ONE_DIMS;
}
// Return a reference to the (logical) cell's unique object
const _getCel... | JavaScript | js/globals.js | petertorelli/OldSchoolRPG | mit | 1,316 | 55 | codeparrot/github-code |
d953f1e6e4f79bca457d3622fff5902226a79d8c452e4d3fa2ff6683f1812a8b | import os
import logging
from jsub.util import safe_mkdir
from jsub.util import safe_rmdir
class Submit(object):
def __init__(self, manager, task_id, sub_ids=None, dry_run=False, resubmit=False):
self.__manager = manager
self.__task = self.__manager.load_task(task_id)
self.__sub_ids = sub_ids
self.__dry_run ... | Python | jsub/operation/submit.py | jsubpy/jsub | mit | 4,925 | 143 | codeparrot/github-code |
d94dda4af415085799b504f5c25df1b8f574bbcb8730a41b6c5b84b7591ff5e8 | <!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.03.0-2.0.5/released/8.7.1+2/hammer/1.2.1+8.11.html | coq-bench/coq-bench.github.io | mit | 7,393 | 180 | codeparrot/github-code |
bba70277fc67dfc84e6d4f3d6a225b3e96f932fd51cd3d684af94c92c4deec1e | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>string: 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.9.0/string/8.5.0.html | coq-bench/coq-bench.github.io | mit | 6,725 | 164 | codeparrot/github-code |
93b1da77b9d5401e4e5eafa62e08221efc7661cb42aee32d374a01b4dd599f54 | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Microsoft Corporation
*
* -=- Robust Distributed System Nucleus (rDSN) -=-
*
* 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... | C++ | src/meta_server/meta_server_lib/meta_data.cpp | imzhenyu/rDSN.dist.service | mit | 3,939 | 129 | codeparrot/github-code |
1e401577e267fae1d252630309419392715a7a970d487daeb0ad42f16dba59e2 | =begin
= TeamDecorator
- version: 6.002
- author: Leega
Decorator for the Team model.
Contains all presentation-logic centered methods.
=end
class TeamDecorator < Draper::Decorator
delegate_all
include Rails.application.routes.url_helpers
# Retrieves the team complete name
# with link to team ra... | Ruby | app/decorators/team_decorator.rb | steveoro/goggles | mit | 3,732 | 91 | codeparrot/github-code |
422ec68082ec65bb8b1e6319ee60ec9b5990941aa11d65dc4cd8bf06f3317d63 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>fssec-model: 49 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel=... | HTML | clean/Linux-x86_64-4.04.2-2.0.5/released/8.7.1+2/fssec-model/8.7.0.html | coq-bench/coq-bench.github.io | mit | 24,387 | 308 | codeparrot/github-code |
c40e1315e10be6200221228a00f5b1b78f8b835dcb679bb98fb7a4ca4af0fe45 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>tarski-geometry: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap... | HTML | clean/Linux-x86_64-4.05.0-2.0.1/released/8.8.1/tarski-geometry/8.7.0.html | coq-bench/coq-bench.github.io | mit | 7,880 | 174 | codeparrot/github-code |
4b1e5a2f1e3c519cf0fd336ea57eb319e63b19663c11fbb8077f5215ab355b64 | using System;
using System.Runtime.InteropServices;
using System.Text;
namespace Akkomation.TelldusCore.Utils
{
internal enum MarshalDirection
{
In,
Out
}
internal class TelldusUtf8Marshaler : ICustomMarshaler
{
private static readonly TelldusUtf8Marshaler InputInstance = ... | C# | Source/Akkomation.TelldusCore/Utils/TelldusUtf8Marshaler.cs | johanclasson/TellCore | mit | 3,508 | 114 | codeparrot/github-code |
c216895af8716b5cf67584449b3b090035a85e348d1006226a8a5adc253cbcac | <?php
namespace MicroCMS\Controller;
use Silex\Application;
use Symfony\Component\HttpFoundation\Request;
use MicroCMS\Domain\Article;
use MicroCMS\Domain\Experience;
use MicroCMS\Domain\User;
use MicroCMS\Domain\Perso;
use MicroCMS\Domain\Portfolio;
use MicroCMS\Domain\Loisir;
use MicroCMS\Form\Type\ArticleType;
use... | PHP | src/Controller/AdminController.php | RudyMrb/SiteCV_Silex | mit | 16,697 | 404 | codeparrot/github-code |
029bf5eaca5ef84135bf77aad9041f79ac180c455b319c4f97c674800a52530d | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>compcert: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | HTML | clean/Linux-x86_64-4.05.0-2.0.1/released/8.7.1+1/compcert/3.6+8.11.html | coq-bench/coq-bench.github.io | mit | 8,044 | 191 | codeparrot/github-code |
cc6fade3d95ffad9798b1d1711e6b21f3b3ee9d3b8c6b4f4a5a3fea66fe38155 | /**
* Angular Paginate
* @homepage https://github.com/darthwade/angular-paginate
* @author Vadym Petrychenko https://github.com/darthwade
* @license The MIT License (http://www.opensource.org/licenses/mit-license.php)
* @copyright 2014 Vadym Petrychenko
*/
(function (factory) {
if (typeof define === 'function' ... | JavaScript | angular-paginate.js | darthwade/angular-paginate | mit | 6,581 | 225 | codeparrot/github-code |
55c187810a59b09b44f7adcadd847b57f89549f3153aa48a3991c7ce9cc827d8 | <?php
namespace PlaygroundDesign\Service;
use PlaygroundDesign\Entity\Theme as ThemeEntity;
use Laminas\Form\Form;
use Laminas\ServiceManager\ServiceManager;
use Laminas\Validator\NotEmpty;
use Laminas\EventManager\EventManagerAwareTrait;
use PlaygroundDesign\Options\ModuleOptions;
use DoctrineModule\Validator\NoObje... | PHP | src/Service/Theme.php | gregorybesson/PlaygroundDesign | mit | 8,420 | 308 | codeparrot/github-code |
162e5d354139925cfa3776232db9011679463e07d4196b0c985237f8d2c61606 | var express = require('express')
var braintree = require('braintree')
var router = express.Router() // eslint-disable-line new-cap
var gateway = require('../lib/gateway')
var TRANSACTION_SUCCESS_STATUSES = [
braintree.Transaction.Status.Authorizing,
braintree.Transaction.Status.Authorized,
braintree.Transaction.... | JavaScript | app/routes/checkout.js | alexanderalmstrom/alexanderalmstrom | mit | 2,862 | 97 | codeparrot/github-code |
42bab51faf6775a125c1a4ad2853147d0e19c8d0ace3986025949123ed6d5069 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-analysis: 9 m 50 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... | HTML | clean/Linux-x86_64-4.10.2-2.0.6/released/8.12.1/mathcomp-analysis/0.3.6.html | coq-bench/coq-bench.github.io | mit | 15,578 | 240 | codeparrot/github-code |
6b1bcaeb9f78a58c024f55977aa471df645f70b4b64e355ca692eece5c4d7ea8 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>compcert: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | HTML | clean/Linux-x86_64-4.09.0-2.0.5/released/8.7.1/compcert/2.0.0.html | coq-bench/coq-bench.github.io | mit | 6,526 | 162 | codeparrot/github-code |
0a8d578a73b9032af011e86b2cd37fb14e043c33003e7a0a935880c217b03c13 | /**
*
*/
package com.kant.datastructure.stacks;
import com.kant.sortingnsearching.MyUtil;
/**
* http://www.geeksforgeeks.org/the-stock-span-problem/ <br/>
*
*
* The stock span problem is a financial problem where we have a series of n
* daily price quotes for a stock and we need to calculate spa... | Java | src/com/kant/datastructure/stacks/StockSpanProblem.java | thekant/myCodeRepo | mit | 2,329 | 92 | codeparrot/github-code |
41dafe13544de9ba9f86e455c65978e98f5268183ba274edef85cf1877ad25cf | <?php
namespace Eggbe\Helper;
use \Eggbe\Helper\Abstractions\AHelper;
class Hash extends AHelper {
/**
* @param int $length
* @return string
* @throws \Exception
*/
public final static function solt($length){
if ((int)$length > 62){
throw new \Exception('Max solt length can not be more that 62 charact... | PHP | src/Hash.php | eggbe/helpers | mit | 1,219 | 55 | codeparrot/github-code |
5cb7906bf0171d32792f343f6538a4b9c3128af2254e641abe841acc904e2349 | //******************************************************************************************************
// FrequencyValue.cs - Gbtc
//
// Copyright © 2012, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// ... | C# | Source/Libraries/GSF.PhasorProtocols/BPAPDCstream/FrequencyValue.cs | GridProtectionAlliance/gsf | mit | 7,221 | 173 | codeparrot/github-code |
ed4951a5d1382667b82078e25af766b9dfa6f21882df1017b77024304f3ac9de | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>fourcolor: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... | HTML | clean/Linux-x86_64-4.07.1-2.0.6/extra-dev/dev/fourcolor/1.2.1.html | coq-bench/coq-bench.github.io | mit | 7,502 | 168 | codeparrot/github-code |
43bf0a5916e7e0563fc30933bf11dfca1472569e6b88aacb3456d0b6e0dcf544 | import { Component } from 'react';
import Router from 'next/router';
import io from 'socket.io-client';
import fetch from 'isomorphic-fetch';
import Page from '../../layouts/page.js';
import Slide from '../../components/slide.js';
import Code from '../../components/code.js'
import Emojis from '../../components/emojis.... | JavaScript | pages/slides/0x05_call_by_reference.js | AndyBitz/dme11a-js-presentation | mit | 2,834 | 106 | codeparrot/github-code |
a89b158b26fc6b68e455776f446a2faa8f4e8c3e4cfcc327e848a877ef4dcc86 | /* eslint-disable promise/always-return */
import { runAuthenticatedQuery } from "schema/v2/test/utils"
import gql from "lib/gql"
describe("Me", () => {
describe("ShowsByFollowedArtists", () => {
it("returns shows by followed artists", async () => {
const query = gql`
{
me {
s... | TypeScript | src/schema/v2/me/__tests__/showsByFollowedArtists.test.ts | artsy/metaphysics | mit | 1,640 | 76 | codeparrot/github-code |
69b184e96fc1a77894aaa058f59f1fdb3d8acfd9af625a4f8ecc7a93882be391 | <?php
namespace scriptorium\UserBundle\Entity;
use FOS\UserBundle\Entity\User as BaseUser;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Symfony\Compone... | PHP | src/scriptorium/UserBundle/Entity/User.php | Komrod/UserScriptorium | mit | 7,423 | 296 | codeparrot/github-code |
42a02bfb24693af121da5a7d264da3b60897fd89bca80feeb4eeb2f289c6d638 | /* Copyright (c) 2015 Mathias Panzenböck
*
* 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... | C | src/au.c | panzi/mediaextract | mit | 2,118 | 67 | codeparrot/github-code |
cf191ad0df48579fb86901553d4f2122657dd42e6bf8fcd353f88079d2fd7f78 | package com.jasonlam604.stocktechnicals.indicators;
import com.jasonlam604.stocktechnicals.util.NumberFormatter;
/**
* Moving Average Convergence/Divergence Oscillator
*/
public class MovingAverageConvergenceDivergence {
private static final int CROSSOVER_NONE = 0;
private static final int CROSSOVER_POSITIVE = 1... | Java | src/com/jasonlam604/stocktechnicals/indicators/MovingAverageConvergenceDivergence.java | jasonlam604/StockTechnicals | mit | 2,631 | 98 | codeparrot/github-code |
aa9375d65bfb377e7b6d70b3bc922348347f595c5f620209385a0b981a67ef0e | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person ... | C++ | RenderSystems/GLES2/src/GLSLES/src/OgreGLSLESProgram.cpp | RealityFactory/ogre | mit | 18,117 | 434 | codeparrot/github-code |
2f539469a68c73abfc021641824bd77eccab3607c86a5e7944b4184a16c9ed84 | /*
* 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 consolealiensgame;
import alieninterfaces.*;
import java.lang.reflect.Constructor;
/**
*
* @author guberti
*/
public clas... | Java | ConsoleAliensGame/src/consolealiensgame/AlienContainer.java | guberti/AliensGame | mit | 4,017 | 128 | codeparrot/github-code |
8db63c9a8d95dd0e4f379dffbf7ff5b73d45be2e16e1e618eb2b595aecc95f44 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href='https://fonts.googleapis.com/css?family=Roboto:400,300,100,700|Source Sans:400,300,100' rel='st... | HTML | app/index.html | daemth/highcharts-editor | mit | 2,606 | 62 | codeparrot/github-code |
4afcb101e03835334e6d5f6f93218def664ef40a44a99d79f24bb9a80971d227 | 'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
Example = mongoose.model('Example'),
_ = require('lodash'),
upload = require('./upload');
/**
* Find example by id
*/
exports.example = function(req, res, next, id) {
Example.load(id, function(err, example) {
... | JavaScript | lib/controllers/example.js | dylanlawrence/ango | mit | 2,149 | 109 | codeparrot/github-code |
ac1c23095f41bde0eba920e99bae159ac5a427d5acb9bdd2c077e122d6f985db | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>cantor: 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.5.2~camlp4/cantor/8.8.0.html | coq-bench/coq-bench.github.io | mit | 7,683 | 181 | codeparrot/github-code |
20d901e30ebf100980dea6650921d984c2db7d664460a7197d6bc0635521109d | import { fireShuffleTasks } from 'src/model/ModelBase';
import { REFERENCE } from 'config/types';
import { rebindMatch } from 'shared/rebind';
import { isArray, isString } from 'utils/is';
import { escapeKey } from 'shared/keypaths';
import ExpressionProxy from './ExpressionProxy';
import resolveReference from './resol... | JavaScript | src/view/resolvers/ReferenceExpressionProxy.js | ractivejs/ractive | mit | 3,804 | 155 | codeparrot/github-code |
5716862dbb3d599446d6b50b0813420edc708477dbd30eb4bf0278f2c88900ac | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ceres: 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.7.0/ceres/0.3.0.html | coq-bench/coq-bench.github.io | mit | 6,594 | 165 | codeparrot/github-code |
4bc142eb8bbaf319f24b42f47fddb47ccfc8edc6fdff2b69b6cfea1db7713e78 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ltl: 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.06.1-2.0.5/released/8.7.2/ltl/8.10.0.html | coq-bench/coq-bench.github.io | mit | 7,075 | 178 | codeparrot/github-code |
1502e16e35df31309704c53a2fc707dc8ae332b2ebdf1230fd830511559dae88 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
.country {
fill: lightgray;
stroke: darkgrey;
stroke-width: 1px;
}
.country:hover {
fill: darkgrey;
}
div.tooltipDestination {
position: absolute;
... | HTML | src/index.html | jesion/d3js-flight-connections-map | mit | 10,931 | 291 | codeparrot/github-code |
167a8c14eeeff95915bba9b68b417ebc073c98bb0dfa418a5fc7b9517f1a6970 | using FluentValidation;
using MediatR;
using Shop.Infrastructure.Data;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using Microsoft.EntityFrameworkCore;
using Shop.Core.Interfaces;
using Shop.Infrastructure.Data.Extensions;
namespace Shop.Features.Product
{
public class ProductEdit
{
... | C# | src/Shop/Features/Product/ProductEdit.cs | jontansey/.Net-Core-Ecommerce-Base | mit | 4,492 | 142 | codeparrot/github-code |
05a609d72ea248002ac76f245045b849d672c3f012ec1be0050fad7b0d53bc9d | using System;
using System.Collections.Concurrent;
using System.Threading;
namespace Napack.Server
{
/// <summary>
/// Holds statistics for the Napack Framework Server system as a whole.
/// </summary>
/// <remarks>
/// This class and its contents is stored in memory.
/// </remarks>
public... | C# | server/Definitions/SystemStats/SystemStats.cs | GuMiner/napack | mit | 1,625 | 55 | codeparrot/github-code |
8f7836aab4ef8312fb2e5819a72c388e79540ae8cdbda949c3127df3a8f7df40 | # This file is part of Indico.
# Copyright (C) 2002 - 2022 CERN
#
# Indico is free software; you can redistribute it and/or
# modify it under the terms of the MIT License; see the
# LICENSE file for more details.
import os
from indico.core import signals
from indico.core.db import db
from .logger import logger
from ... | Python | indico/core/oauth/__init__.py | indico/indico | mit | 1,252 | 40 | codeparrot/github-code |
e3bf93623fc2ef1980ad59c74b60b922b1cedc232486b4c0e798c8fd8b76b2cd | <!DOCTYPE html>
<?xml version="1.0" encoding="UTF-8"?>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Earth Negotiations Bulletin: AWGs</title>
<link href="../assets/style/bulletin.css" rel="stylesheet" />
</head>
<body>
<h1>Earth Negotiations ... | HTML | ENB-data/enb_pages/enb12465e.html | medialab/climateDebateExplorer | mit | 28,914 | 160 | codeparrot/github-code |
a6bf2b452a7ee277c14659d9ce1c201896d194e06e8f9e3ad191f7d203ee20ba | using FlaUI.Core.AutomationElements.Infrastructure;
using FlaUI.Core.Patterns;
namespace FlaUI.Core.AutomationElements.PatternElements
{
/// <summary>
/// An element which supports the <see cref="ISelectionItemPattern" />.
/// </summary>
public class SelectionItemAutomationElement : AutomationElement
... | C# | src/FlaUI.Core/AutomationElements/PatternElements/SelectionItemAutomationElement.cs | maxinfet/FlaUI | mit | 2,130 | 67 | codeparrot/github-code |
ed85eb5c1645923e496ce1a6fa00bb9cafea3d5a5a388781cef22bbd77807d26 | #ifndef __SEQ_HPP__
#define __SEQ_HPP__
#include <string>
#include <vector>
#include <memory>
#include <iostream>
class SeqNode;
typedef std::shared_ptr<SeqNode> SeqNodeSP;
class SeqNode
{
public:
enum E_CallType {
E_UNKNOWN,
E_SYNC,
E_ASYNC,
E_ASYNC_WAIT
};
SeqNode();
void printTree(std::ostream... | C++ | demo-xml/include/seq.hpp | thuleqaid/boost_study | mit | 1,305 | 49 | codeparrot/github-code |
82b1c5a14fcc66268be12087eadd444b2175b4bc303caeb180ce3f0c67a7cb49 | <?php
class Upload
{
private $error = array();
private $name;
private $ext;
private $orgWidth;
private $orgHeight;
private $width;
private $height;
private $maxWidth = 0;
private $maxHeight = 0;
private $prefix;
private $suffix;
private $uploadedFile;
private $sourc... | PHP | Upload.php | MacXGaming/PHP-Uploader | mit | 6,087 | 210 | codeparrot/github-code |
78864d93940ec74c407b1b2c2f95b304bc041a328517aa19c7822b97cce5c7d7 | using System;
using System.Collections.Generic;
namespace RefinId.Specs
{
public class TestStorage : ILongIdStorage
{
private List<long> _values;
public TestStorage(params long[] values)
{
_values = new List<long>(values);
}
public List<long> Values
{
get { return _values; }
}
public List<l... | C# | Refinid.Specs/TestStorage.cs | OlegAxenow/refinid | mit | 735 | 41 | codeparrot/github-code |
c50423ca5e0167368e79c98564d9239aad532ad7a08ca105fec1665f25777e68 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>compcert: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | HTML | clean/Linux-x86_64-4.04.2-2.0.5/released/8.5.2/compcert/3.9.html | coq-bench/coq-bench.github.io | mit | 8,081 | 190 | codeparrot/github-code |
fa82ee6f5129f452c357425af7c5fb0a9f554fa0a4a8352fb6357095cef26459 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>string: 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.10.1-2.0.6/released/8.13.0/string/8.5.0.html | coq-bench/coq-bench.github.io | mit | 6,629 | 161 | codeparrot/github-code |
7e3be699120046a2c32b8a512d36ac745e437187035bad811fb5131b5e097980 | using SMSServices.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Data.Entity.Validation;
using System.Data.SqlClient;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Web.Http;
using WebA... | C# | SMSServices/SMSServices/Controllers/TeachersSubjectsController.cs | zraees/sms-project | mit | 9,434 | 254 | codeparrot/github-code |
b494272f9cd842a40a743e82ba9670a03dabc3447c98b5e68c6cc6c4e070eee2 | <?php
namespace QnNguyen\EdtUbxNS\Condition;
/**
* Class MatchInArray
* Check if an element exists in an array
* @package QnNguyen\EdtUbxNS\Condition
*/
class MatchInArray extends PropertyCondition
{
/**
* @param $value
* @return bool
*/
function typeCheck($value)
{
return is_ar... | PHP | src/Condition/MatchInArray.php | nquocnghia/EdtUbx | mit | 629 | 35 | codeparrot/github-code |
25f4ebd9f766b944f2fef8b9a3baf6bc9d9d951eb84ead000f61c2877935bcd7 |
// Week 5 - Task 7
import java.io.PrintWriter;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import java.io.*;
public class TCPSerServer
{
private static ServerSocket servSock;
private static final int PORT = 1... | Java | Distributed Systems/Labs/Week 7_Lab_Review/Week_3_T7/TCPSerServer.java | kieranhogan13/Java | mit | 1,769 | 84 | codeparrot/github-code |
54e16965eb7fa4251b97de0f74c4e610ed23aaf128bc1f59570a57a792545aac | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>menhirlib: 43 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="s... | HTML | clean/Linux-x86_64-4.08.1-2.0.5/released/8.7.1/menhirlib/20200123.html | coq-bench/coq-bench.github.io | mit | 10,592 | 203 | codeparrot/github-code |
d5b8728ce27cec4b6a6b15c7942aed93acd7ea236c5a6084a3a730ab96fca21b | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>relation-extraction: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../boots... | HTML | clean/Linux-x86_64-4.06.1-2.0.5/released/8.7.1+2/relation-extraction/8.5.0.html | coq-bench/coq-bench.github.io | mit | 7,112 | 166 | codeparrot/github-code |
f5c90f3420185cbe2246183d5f34f015793acaaa8ec7728e25924d2e6cdaa33b | package top.cardone.func.vx.usercenter.userDepartment;
import com.google.common.base.Charsets;
import lombok.extern.log4j.Log4j2;
import lombok.val;
import org.apache.commons.io.FileUtils;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotati... | Java | consumer/src/test/java/top/cardone/func/vx/usercenter/userDepartment/D0002FuncTest.java | yht-fand/cardone-platform-usercenter | mit | 3,282 | 88 | codeparrot/github-code |
d646500481470a7bb50df2e8fd1e6c32a0f505d048d64186539f9d530708a387 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using InvoiceProcessing.Messages.Commands;
using NServiceBus;
using Shared;
namespace Client
{
class Program
{
static void Main(string[] args)
{
MainAsync().GetAwaite... | C# | Client/Program.cs | dvdstelt/batchprocessing | mit | 1,657 | 56 | codeparrot/github-code |
74ce3033174ae81bfa0484e920aeca63115e5851d70399028cfe6f446f8bc0e6 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>presburger: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | HTML | clean/Linux-x86_64-4.09.0-2.0.5/released/8.10.0/presburger/8.8.0.html | coq-bench/coq-bench.github.io | mit | 7,097 | 166 | codeparrot/github-code |
1f80be10d97b801b96b4c74e8bc4aa1b764cb59e10a377f74da81148c883dbcc | <?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Module Hierarchy</title>
<link rel="stylesheet" href="epydoc.css" type="text/css" />
<scr... | HTML | static/docs/epydocs/module-tree.html | chauncey/there-be-docs | mit | 16,369 | 230 | codeparrot/github-code |
a718540f72fac4ab3d0d41ce06e38047c4f0b8c3bf7938bc50ad81e1e00bed83 |
const strip_patterns = @compat(UInt32(0))
const strip_corrupt_utf8 = @compat(UInt32(0x1)) << 0
const strip_case = @compat(UInt32(0x1)) << 1
const stem_words = @compat(UInt32(0x1)) << 2
const tag_part_of_speech = @compat(UInt32(0x1)) << 3
const... | Julia | src/preprocessing.jl | slundberg/TextAnalysis.jl | mit | 13,988 | 420 | codeparrot/github-code |
ea61405b0c08405079d67bd2f9b563f30aa772dabcaef9c8b992234a2611b17a | <!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.10.2-2.0.6/extra-dev/dev/mtac2/1.0.1+8.8.html | coq-bench/coq-bench.github.io | mit | 6,964 | 169 | codeparrot/github-code |
7cdebe22860ead65c72aecc2abda583337cdef7b5f17f4ed37eff94720d3f4f1 | <?php
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\Sec... | PHP | app/AppKernel.php | dlauritzen/CS-360-Forum | mit | 1,561 | 39 | codeparrot/github-code |
1337b4638c2bd037344618d57256997d423447675ec98cb958d8f0f067a72591 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>stalmarck: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... | HTML | clean/Linux-x86_64-4.07.1-2.0.6/released/8.10.0/stalmarck/8.14.0.html | coq-bench/coq-bench.github.io | mit | 6,831 | 170 | codeparrot/github-code |
0f4fca3bd93e22a924ee6296514664c465a72e820881fbe23ae5aec387eabdb9 | -- a simple telnet server
-- https://github.com/nodemcu/nodemcu-firmware/blob/master/lua_examples/telnet.lua
tport = tport or 2323
_telnet_srv = net.createServer(net.TCP, 180)
print("Telnet port: " .. (tport))
_telnet_srv:listen(tport, function(socket)
local fifo = {}
local fifo_drained = true
local funct... | Lua | library/lib-TELNET.lua | BLavery/esuite-lua | mit | 1,299 | 48 | codeparrot/github-code |
49c935c9269db8f7e94eaf47e8351d9066c13ec68e642f3efd40bd338c02f50f | 'use strict'
const tap = require('tap')
const ActiveDirectory = require('../index')
const config = require('./config')
const serverFactory = require('./mockServer')
const settings = require('./settings').getGroupMembershipForUser
tap.beforeEach((done, t) => {
serverFactory(function (err, server) {
if (err) retu... | JavaScript | test/getgroupmembershipforuser.test.js | jsumners/node-activedirectory | mit | 2,662 | 101 | codeparrot/github-code |
d84f6d402217f2ed1a325e59acb63665fa7daf82ddd49db7b639f08749777773 | package com.github.lg198.codefray.jfx;
import com.github.lg198.codefray.api.game.Team;
import com.github.lg198.codefray.game.GameEndReason;
import com.github.lg198.codefray.game.GameStatistics;
import com.github.lg198.codefray.util.TimeFormatter;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx... | Java | src/com/github/lg198/codefray/jfx/GameResultGui.java | lg198/CodeFray | mit | 3,347 | 100 | codeparrot/github-code |
846ec1928595dfcc5b9b06d094f658d2889ba948b778f60f7639c31daf89333e | package pl.yourempire.api.event;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
public class Event
{
private static Map<Class<Event>, ArrayList<ListenerCaller>> listenerMap = new HashMap<>();
public stat... | Java | Your Empire API/src/main/java/pl/yourempire/api/event/Event.java | YourEmpire/YourEmpire | mit | 1,714 | 72 | codeparrot/github-code |
7e5c8c057891d208f76e3e7b5995cee97aa0ced824f93c0871b0f22bca24f736 | <!DOCTYPE html>
<html class="no-js" lang="hi">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="p5.js a JS client-side library for creating graphic and interactive ... | HTML | hi/examples/interaction-tickle.html | mayaman26/p5js-website | mit | 8,799 | 201 | codeparrot/github-code |
cce8618440fea5a8c2556175c9d1f6b4cce93c74a729439a5f13d68c031f7228 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>qcert: 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.12.2/qcert/1.0.5.html | coq-bench/coq-bench.github.io | mit | 6,470 | 163 | codeparrot/github-code |
86ab42cdcd8c9905be61e31994c6051ef2bf1c3aa47ef72f338fd424a25e7080 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>menhirlib: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... | HTML | clean/Linux-x86_64-4.10.2-2.0.6/released/8.14.0/menhirlib/20201122.html | coq-bench/coq-bench.github.io | mit | 7,005 | 177 | codeparrot/github-code |
a36086fd1ed2bdff6cec64322fc065edf034e2c7fe2d13f77c721627d5f35519 | import { SplashEffect } from "./effect.js";
import { Linear } from "../interpolation.js";
export class TranslateFromPosition extends SplashEffect {
constructor(element, options) {
super(element);
options = options || {};
this.x = options.x || 0;
this.y = options.y || 0;
// Can be whatever, but the effect... | JavaScript | src/js/effects/translateFromPosition.js | magnontobi/splasher.js | mit | 1,226 | 48 | codeparrot/github-code |
7fa7c80ac81b5246b0faca0e2ecd801a7969ea9c7466363142580073eb8fd601 | /*------------------------------------------------------------------------------
27.0 - Localization
------------------------------------------------------------------------------*/
/* RTL except Hebrew (see below): Tahoma as the first font; */
body.rtl,
body.rtl .press-this a.wp-switch-editor {
font-family:... | CSS | bootstrap-3.3.7/blog/wp-admin/css/l10n-rtl.css | GMack88/Portfolio-Website | mit | 3,812 | 121 | codeparrot/github-code |
6f4b99daed87cc2ecf4e6bd80876ed02f5c555bcd229466b7b73ea3f9abf9690 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>quicksort-complexity: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../boot... | HTML | clean/Linux-x86_64-4.02.3-2.0.6/released/8.4.5/quicksort-complexity/8.6.0.html | coq-bench/coq-bench.github.io | mit | 7,762 | 173 | codeparrot/github-code |
8e2304e5e1e9c892b5374a06700d2c724e09639af186985aadf7be6ed2c1ecb7 | // The MIT License (MIT)
//
// Copyright (c) Andrew Armstrong/FacticiusVir 2020
//
// 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... | C# | src/SharpVk/FramebufferCreateInfo.gen.cs | FacticiusVir/SharpVk | mit | 4,531 | 134 | codeparrot/github-code |
022766d2c638ba001c84acaadaa6c8e70d9bbac668768cedaec76f5cf43112cc | namespace Sorting
{
using System;
using System.Collections.Generic;
using Constants;
/// <summary>
/// Define class for selection sort algorithm and its implementation
/// </summary>
/// <typeparam name="T">Type of the elements to be sorted</typeparam>
/// <see cref="https://en.wikipe... | C# | 01. Programming/05. Data Structures and Algorithms [C#]/11. Sorting Algorithms/Sorting/SelectionSorter.cs | DimitarSD/Telerik-Academy | mit | 1,454 | 49 | codeparrot/github-code |
2b6c489b59fe1fe6dc4dce8e379f914b8fdfbdc5d128725220d6194b6c3bc4c5 | # encoding: utf-8
module Axiom
class Relation
module Operation
# A mixin for Binary relations
module Binary
include Axiom::Operation::Binary
# Hook called when module is included
#
# @param [Module] descendant
# the module or class including Binary
... | Ruby | lib/axiom/relation/operation/binary.rb | solnic/axiom | mit | 1,923 | 78 | codeparrot/github-code |
e01a2e9ee9c1b6467725388625c9d350cb51eb269ba481ca917065eecc996ecc | package com.myconnector.client.domain;
import java.util.List;
import com.google.gwt.user.client.rpc.IsSerializable;
import com.myconnector.client.domain.interfaces.ITodoContext;
import com.myconnector.client.domain.interfaces.ITodoItem;
import com.myconnector.client.domain.interfaces.ITodoList;
public class TodoList... | Java | src/main/java/com/myconnector/client/domain/TodoListClient.java | nileshk/truedolist-java | mit | 1,476 | 77 | codeparrot/github-code |
15230cae598a67e1a0c945fc748c6850ca592384168b3091239cc44a4f824154 | /**
* Wheel, copyright (c) 2019 - present by Arno van der Vegt
* Distributed under an MIT license: https://arnovandervegt.github.io/wheel/license.txt
**/
const File = require('./File');
exports.FileDetail = class extends File.File {
constructor(opts) {
opts.className = 'file detail';
super(opts);... | JavaScript | js/frontend/lib/components/files/FileDetail.js | ArnoVanDerVegt/wheel | mit | 2,137 | 62 | codeparrot/github-code |
04869952ee392e2fc50dd2c80e85d76935e75768c6340a4f391b4da799b4abca | <?php namespace Code200\ImageKing\Classes;
use Cms\Helpers\File;
use Code200\ImageKing\Classes\Exceptions\ExtensionNotAllowedException;
use Code200\Imageking\models\Settings;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\URL;
class ImageService
{
/**
* @var string
*/
private $ht... | PHP | classes/ImageService.php | webeks/octobercms-imageking | mit | 8,124 | 295 | codeparrot/github-code |
496cd92e35a67efd6714859d587c9c5bfd4fdd289ca167acee27e75fbf2d247d | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secrets ... | C | ThirdParty/Havok/include/Common/Base/Memory/Tracker/hkMemoryTracker.h | wobbier/source3-engine | mit | 6,711 | 158 | codeparrot/github-code |
1460c5f72b7b3e9236626d5ca5414a9b08794556719938ce45d26fc78b61f44e | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>huffman: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | HTML | clean/Linux-x86_64-4.05.0-2.0.1/released/8.5.1/huffman/8.13.0.html | coq-bench/coq-bench.github.io | mit | 7,234 | 175 | codeparrot/github-code |
1a6ce1a78cdd4ea8920675ce6825d3debe5301e7aef11bb7936b98dea550c11c | import ProgressBar from "progress";
import padEnd from "lodash/padEnd";
class ProgressBarController {
constructor() {
this.bar = null;
}
init(total) {
if (this.bar) {
this.terminate();
}
// Intentionally a noop because node-progress doesn't work well in non-TTY
// environments
if ... | JavaScript | src/progressBar.js | onigoetz/lerna-hg | mit | 1,357 | 65 | codeparrot/github-code |
c3359f9f1e187cea917f2cbe1fd021f0d55ab3c41cf3a849fa6c0d9879f79427 | package command
import (
"fmt"
"os"
"path/filepath"
"time"
"github.com/kemokemo/gckdir/lib"
"github.com/skratchdot/open-golang/open"
"github.com/urfave/cli"
)
var (
// UsageVerify is Usage of verify subcommand for cli
UsageVerify = "Verifies the structure and each hash value of files."
)
// CmdVerify verif... | GO | command/verify.go | KemoKemo/gckdir | mit | 2,586 | 100 | codeparrot/github-code |
429b985c1228a213ff7f7df1f93137bd780ae60c49f76b2e7ff089aa8ca718d5 | /// <reference path="Transform3D.ts" />
namespace zen {
export class GameObject extends Transform3D {
public name:string = "GameObject";
public tag:string = "";
public layer:string = "";
private _guid:string = zen.guid.create();
public get guid() {
return t... | TypeScript | src/GameObject.ts | shawn0326/zen | mit | 1,986 | 63 | codeparrot/github-code |
bb71f4f35a170828c73596b638eb3c3d8545edbca30061bda6b8c1ee9c449177 | $(document).ready(function () {
startAnimation();
});
if (!window.requestAnimationFrame) {
window.requestAnimationFrame = (window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.msRequestAnimationFrame || window.oRequestAnimationFrame || function (callback) {
return window.setTimeout(c... | JavaScript | js/script.js | mzgnr/black-screen.github.io | mit | 4,347 | 194 | codeparrot/github-code |
141fc9fc3636dca10064a1524d8b57a604a088f50da7a14c1ebfade16dc725af | /*jshint camelcase: false */
(function(window, module, undefined) {
'use strict';
// lifted from Underscore then bastardized
var _flatten = function(input, output) {
for (var i = 0, length = input.length; i < length; i++) {
var value = input[i];
if (value.type === 'div') {
_flatten(value... | JavaScript | fucina.js | btholt/fucina | mit | 12,761 | 399 | codeparrot/github-code |
6dab7f933e86082fcd4a74df6e18f2783823ff7a7447dab32614e87dbb6d48b3 | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.IO;
using System.Text;
public class KinectManager : MonoBehaviour
{
public enum Smoothing : int { None, Default, Medium, Aggressive }
// Public Bool to determine how m... | C# | Assets/KinectScripts/KinectManager.cs | Acidburn0zzz/Corridors | mit | 63,303 | 2,072 | codeparrot/github-code |
bbeddfa9a5095d5fe90b3b66552cbcf78dd9983e13bbb32c6765403c3af3c3c6 | package com.hackathon.hackathon2014.activity;
import android.app.Activity;
import android.app.Fragment;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import an... | Java | hackathon2014/app/src/main/java/com/hackathon/hackathon2014/activity/QuestionActivity.java | dst-hackathon/socialradar-android | mit | 4,070 | 113 | codeparrot/github-code |
c86df11497cf4647b1b97f0ac2b7dce048c3ec938336a2b4c62d28f8b5bfa92f | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-analysis: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstr... | HTML | clean/Linux-x86_64-4.07.1-2.0.6/released/8.9.1/mathcomp-analysis/0.3.2.html | coq-bench/coq-bench.github.io | mit | 7,525 | 187 | codeparrot/github-code |
2a07865229986fcf1f92c8d7200219a0e62d8a3fb167dc3a6d0964884be079e6 | import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
import update from 'immutability-helper';
class ListItemBullet extends Component {
render() {
let cssClasses = `listbullet`;
const bulletStyle = {
border: `5px solid ${this.props.color}`,
backgroundColor:... | JavaScript | website/src/App.js | tmt514/se101f17 | mit | 3,087 | 124 | codeparrot/github-code |
2cb71cd08fb1c61cfcafa9b983fbbb3ea7471c9c5256cb3a3acefb14e4037d15 | using System;
using System.IO;
namespace Pulse.Core
{
/// <summary>
/// НЕ потокобезопасный!
/// </summary>
public sealed class StreamSegment : Stream
{
private long _offset, _length;
public readonly Stream BaseStream;
public StreamSegment(Stream stream, long offset, long... | C# | Pulse.Core/Components/StreamSegment.cs | kidaa/Pulse | mit | 2,945 | 109 | codeparrot/github-code |
1a755d6e27b96616e73eb83ddc7ad65e49fe40a49d7ddcc6eb7d00de3d153162 | import Ember from 'ember';
export default Ember.Component.extend({
tagName: '',
didInsertElement: function() {
this.startPoppover();
},
willDestroyElement: function() {
this.dismissPoppover();
},
startPoppover: function() {
var options = this.getPoppoverOptions();
Ember.$(function() {
... | JavaScript | app/components/resume/yr-download-tips.js | iorrah/you-rockstar | mit | 806 | 35 | codeparrot/github-code |
74642115bb20d052b457c09feb64991b7fbc6cedeb3b4fd8482e31a6ceedc511 | /*
* SonarLint for Visual Studio
* Copyright (C) 2016-2021 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version ... | C# | src/Integration.Vsix/Delegates/SonarAnalyzerConnectedWorkflow.cs | SonarSource-VisualStudio/sonarlint-visualstudio | mit | 2,484 | 61 | codeparrot/github-code |
65d384d2adef694e96e6b3ec44b2a62fa52c2a09681ab1d67eb5879f5bde1bcd | ---
layout: home
title: All Posts
description: "An archive of posts."
comments: false
---
{% for post in site.posts %}
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
{% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %}
{% if forloop.first %}
<article>
<h2 id="{{ this_y... | HTML | posts.html | Zihin/zihin.github.io | mit | 778 | 33 | codeparrot/github-code |
ce841a7653329b4379e5d37aa49bc4a35036ffb2463e074473cbde401a345a6b | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>io: 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.05.0-2.0.1/released/8.12.0/io/3.3.0.html | coq-bench/coq-bench.github.io | mit | 6,477 | 167 | codeparrot/github-code |
4403011a682d36f863143820956e1679136f9c2a2eb371ccb542608555841fbc | import random
# Definition for singly-linked list.
# class ListNode(object):
# def __init__(self, x):
# self.val = x
# self.next = None
class Solution(object):
_largesize = 300
def __init__(self, head):
self.head = head
self.lsize = 0
while head.next:
h... | Python | 382-linked-list-random-node.py | daicang/Leetcode-solutions | mit | 1,372 | 54 | codeparrot/github-code |
267338ad5ef2a69a75536c998ead4d9ed6b304e389bcc8d8038b67776578977b | package db
import (
"io/ioutil"
"os"
. "fmt"
"strings"
. "github.com/yak-labs/chirp-lang"
"github.com/yak-labs/smilax-web/table/levi"
)
/*
table get Site Table Row -> []Value
table set Site Table Row []Value
table match Site Table RowPattern ValuePattern -> []{row value}
*/
var Lev = levi.New("leveldb.dat")... | GO | table/table.go | yak-labs/smilax-web | mit | 3,563 | 166 | codeparrot/github-code |
05cd6666b70018048c88ef42c56e28ecdfb9f78d3bba1716e071c39139781edc | package com.github.wovnio.wovnjava;
import java.util.HashMap;
import javax.servlet.FilterConfig;
import javax.servlet.http.HttpServletRequest;
import org.easymock.EasyMock;
import java.net.URL;
import java.net.MalformedURLException;
import junit.framework.TestCase;
public class HeadersTest extends TestCase {
p... | Java | src/test/java/com/github/wovnio/wovnjava/HeadersTest.java | WOVNio/wovnjava | mit | 21,076 | 395 | codeparrot/github-code |
7fb6a0d31b47c5b6be8262b7fb7ae72ed9656b1c42ee8c585cd59c61cf1f8e46 | package eu.cyfronoid.core.configuration.evaluator;
import java.util.ArrayDeque;
public class Stack extends ArrayDeque<Double> {
private static final long serialVersionUID = 1L;
@Override
public void push(Double v) {
super.push(v);
}
@Override
public Double pop() {
... | Java | src/eu/cyfronoid/core/configuration/evaluator/Stack.java | widmofazowe/cyfronoid-core | mit | 694 | 32 | codeparrot/github-code |
db75ff435d5a9a294a00c4d5db6157c27ac37860fca71693d4f85f875686de5b | // * ———————————————————————————————————————————————————————— * //
// * cli upload
// * uploads image by providing a link by running:
// * enduro upload http://www.imgur.com/asd.png
// * ———————————————————————————————————————————————————————— * //
var cli_upload = function () {}
// vendor dependencies
var Promise = ... | JavaScript | libs/cli_tools/cli_upload.js | dmourato/mastercv | mit | 1,031 | 31 | codeparrot/github-code |
eaedbe3e84292520d050aef0e136ed84e9c980b08c00f4061f4fb0afad693951 | import React from "react"
import Img from "gatsby-image"
import { StaticQuery, graphql } from "gatsby"
import html5 from "../images/html5.svg"
import js from "../images/javascript.svg"
import jQuery from "../images/jquery.svg"
import php from "../images/php.svg"
import python from "../images/python.svg"
import css3 fro... | JavaScript | src/components/about.js | ajspotts/ajspotts.github.io | mit | 9,133 | 288 | codeparrot/github-code |
8cda2d0d419f9e4142602abcfe55b916ca945aa3f600f9e554fba9dd2ccc6fb7 | var debug = require('debug')('harmonyhubjs:client:login:hub')
var Client = require('node-xmpp-client')
var Q = require('q')
var util = require('../util')
/** PrivateFunction: getIdentity
* Logs in to a Harmony hub as a guest and uses the userAuthToken from logitech's
* web service to retrieve an identity token.
*
... | JavaScript | lib/login/hub.js | swissmanu/harmonyhubjs-client | mit | 4,310 | 146 | codeparrot/github-code |
9a3f8501977ba0f3a86f91efd3487d649897f79ebdf53d0b8d255607c54c277a | from players.player import player
from auxiliar.aux_plot import *
import random
from collections import deque
import sys
sys.path.append('..')
import tensorblock as tb
import numpy as np
import tensorflow as tf
# PLAYER REINFORCE RNN
class player_reinforce_rnn_2(player):
# __INIT__
def __init__(self):
... | Python | reinforcement/players/player_reinforce_rnn_2.py | NiloFreitas/Deep-Reinforcement-Learning | mit | 4,361 | 139 | codeparrot/github-code |
540a01517c093f83f1c5accb1f423296f3414a2cbbb2cd38b99cbd35626425d6 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>fundamental-arithmetics: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../b... | HTML | clean/Linux-x86_64-4.06.1-2.0.5/released/8.12.1/fundamental-arithmetics/8.9.0.html | coq-bench/coq-bench.github.io | mit | 6,925 | 169 | codeparrot/github-code |
ea68ba8448f54a0c5d9190dd63be395eead5d5cc4ba6681b75b47bb8fcc86581 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>huffman: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | HTML | clean/Linux-x86_64-4.10.2-2.0.6/released/8.14.0/huffman/8.11.0.html | coq-bench/coq-bench.github.io | mit | 7,359 | 177 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.