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
14c488a700650e40c88a92528ea73502035a3b7b000384e8168baabbc27718e3
package redis import ( "bytes" "encoding/gob" "github.com/iris-framework/iris/adaptors/sessions/sessiondb/redis/service" ) // Database the redis database for q sessions type Database struct { redis *service.Service } // New returns a new redis database func New(cfg ...service.Config) *Database { return &Databa...
GO
adaptors/sessions/sessiondb/redis/database.go
iris-framework/iris
mit
2,441
88
codeparrot/github-code
c24746a6e6539258af10184949e11ddf1821d7d91bc20cdc87a005f15b7bde11
module ObsFactory # View decorator for a Project class ObsProjectPresenter < BasePresenter def build_and_failed_params params = { project: self.name, defaults: 0 } Buildresult.avail_status_values.each do |s| next if %w(succeeded excluded disabled).include? s.to_s params[s] = 1 ...
Ruby
app/presenters/obs_factory/obs_project_presenter.rb
ancorgs/obs_factory
mit
2,374
81
codeparrot/github-code
ff0d4472062f80283f69e346de172073975a675b4493ab2da4a631a9e5d367af
package com.nabijaczleweli.minecrasmer.compat.waila import com.nabijaczleweli.minecrasmer.block.BlockComputerOn import com.nabijaczleweli.minecrasmer.entity.tile.TileEntityComputer import com.nabijaczleweli.minecrasmer.reference.{Container, Reference} import com.nabijaczleweli.minecrasmer.resource.{ReloadableString, R...
Scala
src/main/scala/com/nabijaczleweli/minecrasmer/compat/waila/ProviderComputer.scala
nabijaczleweli/ASMifier
mit
4,365
114
codeparrot/github-code
6b4f0924c589e2fccec12299b7c3d925797bba200610069f4249f3ee6607ed8b
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Champion-fx Style Guide</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.3/jquery.min.js"></script> <script src="https://cdn.rawgit.com/google/code-p...
HTML
index.html
negar-champion/binary-style
mit
63,039
1,382
codeparrot/github-code
f3a2d6582ffceff934bf496ee9b0a2ba53b3a1da27e95a9269957507bb070ed8
"use strict"; var m = require("mithril"), assign = require("lodash.assign"), id = require("./lib/id"), hide = require("./lib/hide"), label = require("./lib/label"), css = require("./textarea.css"); module.exports = { controller : function(options) { var ctrl = this; ...
JavaScript
src/types/textarea.js
Ryan-McMillan/crucible
mit
1,402
53
codeparrot/github-code
5d1a932316b066ad6c1683a3f95f5b6f0a21867afe3f317f17421005b5e6ba38
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>simple-io: 31 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.12.0/simple-io/1.6.0.html
coq-bench/coq-bench.github.io
mit
12,636
218
codeparrot/github-code
37227f805ccd2126ca474ab3e7bac6da40c3c44be0b134bed648123d285d6ba4
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>jordan-curve-theorem: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../boot...
HTML
clean/Linux-x86_64-4.13.1-2.0.10/released/8.13.2/jordan-curve-theorem/8.8.0.html
coq-bench/coq-bench.github.io
mit
7,491
167
codeparrot/github-code
f12d105007b92c1e4f06bc76619e7e07f3f60fdac1d5677912631edc3da5997e
<?php namespace FSB\ASTT\CoreBundle\Repository; use Doctrine\ORM\EntityRepository; class TeamRepository extends EntityRepository { public function findAllDisplayedSorteredByDates() { $qb = $this->_em->createQueryBuilder(); $qb->select('t') ->from('FSB\ASTT\CoreBundle\Enti...
PHP
src/FSB/ASTT/CoreBundle/Repository/TeamRepository.php
Flo-Schield-Bobby/Amiens-Sport-Tennis-de-Table
mit
2,749
101
codeparrot/github-code
b494774dc7a52105fa83b52d7807bcee2382876a27ec3f29e604d30d28217274
// Scintilla source code edit control /** @file SplitVector.h ** Main data structure for holding arrays that handle insertions ** and deletions efficiently. **/ // Copyright 1998-2007 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distrib...
C
scintilla/src/SplitVector.h
mikekov/RegExTester
mit
6,454
250
codeparrot/github-code
a65f87c7776812f7af5ee7e212a06d09eb677838e20ef2d6f65bcc425245eccf
# minecraft_status_handler.rb # # Author:: Kyle Mullins require_relative 'minecraft/minecraft_status_client' class MinecraftStatusHandler < CommandHandler feature :minecraft, default_enabled: true command(:mcserver, :show_url) .feature(:minecraft).no_args.usage('mcserver') .description('Posts the addres...
Ruby
handlers/minecraft_status_handler.rb
Dalf32/Omnic-MiscHandlers
mit
1,298
43
codeparrot/github-code
2c8b4dc62590cf58f2b1ce133051e0876468fef056c7e31278cb66475b2f6451
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>freespec-ffi: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.mi...
HTML
clean/Linux-x86_64-4.02.3-2.0.6/released/8.5.1/freespec-ffi/0.3.html
coq-bench/coq-bench.github.io
mit
7,483
181
codeparrot/github-code
7a0e53a6074948727563d28aa21fc627814739b19eb6c7b7aa6310059309acf9
package main import ( "fmt" "time" "net/http" "encoding/json" "io/ioutil" "github.com/gorilla/mux" ) type Play struct { Key string `json:"key" redis:"-"` SeasonKey string `json:"season_key" redis:"season_key"` QueenKey string `json:"queen_ke...
GO
play.go
macrael/racetrack
mit
1,787
70
codeparrot/github-code
2e496f3c8db5fa9cce4150fb8b2149f9d1c01952de106e68ce34e0dff0a047a3
module SyntheticWeb.Client.Executor ( executeTask ) where import Control.Concurrent (threadDelay) import Control.Concurrent.STM (atomically) import Data.Time (NominalDiffTime) import SyntheticWeb.Client.Http (get, post, put) import SyntheticWeb.Client.TimedAction (timedAction) import SyntheticWeb.Counter ( Byt...
Haskell
src/SyntheticWeb/Client/Executor.hs
kosmoskatten/synthetic-web
mit
3,191
91
codeparrot/github-code
e4f981efc0d36702f92fcb63ebf44b86c5fb093e6581ade65cedcd21a19859dc
/* * The MIT License * * Copyright 2019 Azarias Boutin. * * 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, ...
TypeScript
test/specs/common.spec.ts
AzariasB/10fastfingersCompetition
mit
2,471
68
codeparrot/github-code
3c64c44d830d3d4496e78adf7bbbedf1dc74340f1857730a021c33cac28b0d04
 namespace Shape { using System; public abstract class Shape { private double width; private double height; //public Shape(double parameter) //{ // this.Width = parameter; // this.Height = parameter; //} public Shape(double width, doub...
C#
OOP/05.HomeworkOOPPrinciplesPart2/Shape/Shape.cs
Andro0/TelerikAcademy
mit
1,271
64
codeparrot/github-code
99a062235f8daf776d31828212dc3b3c7e6266df7aca0994bd6c40640d2fe780
<?php declare(strict_types=1); namespace Symplify\MonorepoBuilder\ComposerJsonDecorator; use Symplify\MonorepoBuilder\Composer\Section; use Symplify\MonorepoBuilder\Contract\ComposerJsonDecoratorInterface; final class RemoverComposerJsonDecorator implements ComposerJsonDecoratorInterface { /** * @var mixed...
PHP
packages/MonorepoBuilder/src/ComposerJsonDecorator/RemoverComposerJsonDecorator.php
Symplify/Symplify
mit
2,079
81
codeparrot/github-code
0a03a86138fda62fca420926b1076ff285558f92bd14b8f0eea57497bab3ac2a
#include "Log.h" #include "../PacketShare/PacketType.h" #include "ClientSession.h" #include "GameLiftManager.h" //@{ Handler Helper typedef std::shared_ptr<ClientSession> ClientSessionPtr; typedef void(*HandlerFunc)(ClientSessionPtr session); static HandlerFunc HandlerTable[PKT_MAX]; static void DefaultHandler(Cl...
C++
GameLiftLinuxServer/PacketHandler.cpp
zeliard/GameLift
mit
2,996
142
codeparrot/github-code
326c0fe4a39e7b9cbaa4ba4386d8246172db86c3069df098733d8d5d60b77055
#ifndef MISSILEGENERIC_H_ #define MISSILEGENERIC_H_ #include "unit_generic.h" class MissileEffect { Vector pos; float damage; float phasedamage; float radius; float radialmultiplier; void *ownerDoNotDereference; public: void ApplyDamage( Unit* ); MissileEffect( const Vector &pos, f...
C
vegastrike/src/cmd/missile_generic.h
Ezeer/VegaStrike_win32FR
mit
3,737
127
codeparrot/github-code
a6fe0adbc406a135482b17cb29b03fd9920caf4ccf3031a4525ae32a53f9dca0
<?php namespace Acme\StampBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Test */ class Test { /** * @var integer */ private $id; /** * @var string */ private $imie; /** * @var \DateTime */ private $data; /** * Get id * * @return in...
PHP
src/Acme/StampBundle/Entity/Test.php
stampski/symf
mit
1,055
84
codeparrot/github-code
059ccde29ae70b0b6f473c2f1b36e445b81ca088ce0017b66a72de2869f82377
import now from './now.js'; /** * This function transforms stored pixel values into a canvas image data buffer * by using a LUT. * * @param {Image} image A Cornerstone Image Object * @param {Array} lut Lookup table array * @param {Uint8ClampedArray} canvasImageDataData canvasImageData.data buffer filled with whi...
JavaScript
src/internal/storedPixelDataToCanvasImageDataRGBA.js
google/cornerstone
mit
3,211
76
codeparrot/github-code
c9620c1a78f8b830663ca58016ecfb9aa4b57d512b58131d09f659a02a8d07f7
# encoding: utf-8 # frozen_string_literal: true module RuboCop module Cop module Metrics # This cop checks for methods with too many parameters. # The maximum number of parameters in configurable. # On Ruby 2.0+ keyword arguments can optionally # be excluded from the total count. cl...
Ruby
lib/rubocop/cop/metrics/parameter_lists.rb
mrb/rubocop
mit
1,088
46
codeparrot/github-code
bd2b7fee5a8d808d309d8af1d77a3fe513321f048c9f0aa1eef1a01095ea34d3
#include "export_node.hpp" #include <sstream> #include "constant_mappings.hpp" namespace opossum { ExportNode::ExportNode(const std::string& init_table_name, const std::string& init_file_name, const FileType init_file_type) : AbstractNonQueryNode(LQPNodeType::Export), table_name(ini...
C++
src/lib/logical_query_plan/export_node.cpp
hyrise/hyrise
mit
1,269
40
codeparrot/github-code
fa20787764accece8027d5a83aa1151d0929b0ece869dc4ea6a821167b3872b7
from eth_utils import ( is_hex, is_string, is_integer, remove_0x_prefix, force_text, ) def is_predefined_block_number(value): if not is_string(value): return False return force_text(value) in {"latest", "pending", "earliest"} def is_hex_encoded_block_hash(value): if not is_st...
Python
web3/utils/blocks.py
pipermerriam/web3.py
mit
1,270
49
codeparrot/github-code
47751321eef33b1c37ed4ba497206ffc3e777dc2962b722dde97b3ce16d5dcb9
<?php namespace OAuth2\ResponseType; use OAuth2\Storage\AuthorizationCodeInterface as AuthorizationCodeStorageInterface; /** * * @author Brent Shaffer <bshafs at gmail dot com> */ class AuthorizationCode implements AuthorizationCodeInterface { protected $storage; protected $config; public function __...
PHP
application/third_party/OAuth2/ResponseType/AuthorizationCode.php
vthawat/oauth2_server
mit
3,335
103
codeparrot/github-code
ffcd2f50815093ee15b666bff8ef2ac875de1ed147b6c841a5a001b24c667d27
'use strict'; const Bluebird = require('bluebird'); const Book = require('./helpers/book'); const Counter = require('../lib/counter'); const Genre = require('./helpers/genre'); const Redis = require('./helpers/redis'); describe('counter', () => { describe('count', () => { it('returns the count for a m...
JavaScript
test/counter.test.js
lob/hapi-bookshelf-total-count
mit
1,376
53
codeparrot/github-code
986ef1059d8174ff087266da152b67ca0e303c3fb28ab5d7d5d4e1f8639c8ec5
// Dependencies let builder = require('focus').component.builder; let React = require('react'); let checkIsNotNull = require('focus').util.object.checkIsNotNull; let type = require('focus').component.types; let find = require('lodash/collection/find'); // Mixins let translationMixin = require('../../common/i18n').mi...
JavaScript
src/list/selection/list.js
Jerom138/focus-components
mit
4,831
170
codeparrot/github-code
6f779cabf11fcae08cf5e5f65e636af2ebc4c7c5b10367c1232152889563d7b7
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>flocq: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel...
HTML
clean/Linux-x86_64-4.10.1-2.0.6/released/8.12.1/flocq/2.3.0.html
coq-bench/coq-bench.github.io
mit
6,641
163
codeparrot/github-code
83e0e3b315099b97b5dfeb5ff1cb339817a86a1c1935cf5337e92a7c08489efe
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>opam-website: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.mi...
HTML
clean/Linux-x86_64-4.12.1-2.0.8/released/8.14.0/opam-website/1.3.1.html
coq-bench/coq-bench.github.io
mit
6,882
167
codeparrot/github-code
2a230504c1efe6d5bc29140144f866995471fc3e1c57314008765fb4690d724c
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>qarith-stern-brocot: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../boots...
HTML
clean/Linux-x86_64-4.03.0-2.0.5/released/8.5.0~camlp4/qarith-stern-brocot/8.9.0.html
coq-bench/coq-bench.github.io
mit
7,454
180
codeparrot/github-code
bf8776510981b60e59ec30df77c3e8ea039d9acfdf8d47dd84c19a45ae82b7ce
/* * file StringUtils.h * * author luoxw * date 2017/09/15 * * */ #pragma once FORCEINLINE wstring UTF8ToWide(const string &utf8) { if (utf8.length() == 0) { return wstring(); } // compute the length of the buffer we'll need int count = MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), -1, NULL, 0); if...
C
LostReality/LostCore/Inc/Misc/StringUtils.h
luma211/snowflake
mit
982
53
codeparrot/github-code
888f0b1366ff1bb801f0c750ba9a96780229b40ceac09bf002042007dcdc1e71
#include <cstdio> #include <string> #include <cerrno> #include <cstring> #include "toi.h" using namespace std; FileStack::FileStack() { tlines = 0; } FileStack::~FileStack() { while(!file_stack.empty()) file_close(); } // returns true if the file is now open // throws an exception upon failure...
C++
file_stack.cpp
chucktilbury/toi
mit
2,268
107
codeparrot/github-code
364a17fbd42792235d3ba39e5844efbe0b933fb1e89b134fcc3b85b12d5cabfc
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||...
JavaScript
demos/performances/build.js
baptistebriel/smooth-scrolling
mit
45,174
1,547
codeparrot/github-code
f360ea565655e45cd1bb01c37ba870efb3397c5b4547d0a4056eca953f9b067f
<!DOCTYPE html> <html xmlns:msxsl="urn:schemas-microsoft-com:xslt"> <head> <meta content="en-us" http-equiv="Content-Language" /> <meta content="text/html; charset=utf-16" http-equiv="Content-Type" /> <title _locid="PortabilityAnalysis0">.NET Portability Report</title> <style> ...
HTML
Reports/co/cocossharp.windowsgl.1.4.0/box2d-net40.html
kuhlenh/port-to-core
mit
11,598
285
codeparrot/github-code
a17a3b687fde8328d06b7e0dbb0d83bdcdea2a46a72645218262fc9f60dba826
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
TypeScript
src/vs/workbench/test/browser/parts/editor/editorGroupModel.test.ts
Krzysztof-Cieslak/vscode
mit
73,149
1,857
codeparrot/github-code
49ed2af4cf47ff22a576ee60da5d17e3eefadfb1c67b2b851f2ae7610927e406
<!-- Copyright 2013 The Polymer Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> <!-- /** * @module Polymer UI Elements */ /** * @class polymer-ui-nav-arrow */ --> <polymer-element name="polymer-ui-nav-arrow" attributes="target top i...
HTML
public/polymer/polymer-ui-elements/polymer-ui-nav-arrow/polymer-ui-nav-arrow.html
cfsghost/flownote
mit
1,673
63
codeparrot/github-code
ac1008441984f35345d14e27320f497b9513ed3abeaae65764d53af32e5c42a6
#include <iostream> using namespace std; int n; void print(int* s); int* lastNode(int s, int *c); int eval(int i, int k, int *c, int *t); int main() { cin >> n; int *c = new int[2 * n]; // saving each node childs in two index like 1:{6,5}, 2:{0,0}...6:{4,0} fill_n(c, 2 * n, 0); int q = 0; for (int i = 0; i < ...
C++
HW4/5.cpp
AminAliari/DS-Playground
mit
1,714
113
codeparrot/github-code
16c97e6cd03f2f46a34282fb76efc3368f97855a43f6523a0ef86b5892b7ea80
import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; import { createMount, describeConformanceV5, act, createClientRender } from 'test/utils'; import FormControl, { formControlClasses as classes } from '@material-ui/core/FormControl'; import Input from '@material-ui/core/Input'; i...
JavaScript
packages/material-ui/src/FormControl/FormControl.test.js
callemall/material-ui
mit
11,169
357
codeparrot/github-code
51a31a503c945270f85a3da7eceaebbc8b75b2328d9306d28910c3f361c3773b
using Treefrog.Windows; namespace Treefrog.Plugins.Tiles.UI { partial class DynamicBrushForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; #region Windows Form Designer generated code ...
C#
Treefrog/Plugins/Tile/UI/DynamicBrushForm.Designer.cs
jaquadro/Treefrog
mit
15,311
280
codeparrot/github-code
f68eedb258c12f97e69712147726c49d5a3621c9fd31e87b6b4d8f06a4905ca6
#include "Other.h" namespace PluggableBot { namespace Other { std::string ReadFromPipe(HANDLE hPipe) { static const int BufferSize = 4096; std::string content; DWORD read; CHAR buffer[BufferSize + 1]; BOOL success; do { success = ReadFile(hPipe, buffer, BufferSize, &read, nullptr); ...
C++
PluggableBot/Other.cpp
jakubfijalkowski/pluggablebot
mit
3,040
108
codeparrot/github-code
29ea4671935b3f99316d995c1445af0a8133dba3f0135f69ec5e0b9823eacf0a
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-finmap: 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/mathcomp-finmap/1.5.1.html
coq-bench/coq-bench.github.io
mit
7,468
178
codeparrot/github-code
744fdf5d7acb736894bf049b4b21d5aadfd7e7f90091fa4667ce324fdcade68f
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>containers: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min....
HTML
clean/Linux-x86_64-4.09.1-2.0.6/released/8.11.1/containers/8.8.0.html
coq-bench/coq-bench.github.io
mit
6,964
164
codeparrot/github-code
1a7afb8451d8665fafbcee22d14bfdda252b5bd3e2cb9061783742787d7ff03d
/* * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Java
sample-catalog/spring-jdk9/src/spring.aop/org/springframework/aop/framework/autoproxy/BeanNameAutoProxyCreator.java
boggad/jdk9-sample
mit
4,235
116
codeparrot/github-code
466d60b9990475c690616094069bf7b1c1b65dd08924af9b9b9d378d6c525a88
package generator.model; import generator.ParserEngine; import generator.model.profile.Stereotype; import generator.model.profile.UIClass; import java.util.ArrayList; import java.util.Iterator; import java.util.List; public class FMClass extends FMType { private String visibility; private List<FMProperty> proper...
Java
XMI2NG/src/generator/model/FMClass.java
vladimirivkovic/MBRS17
mit
3,157
157
codeparrot/github-code
a7c22f21dfd9d481bdfc8f0759a7d02464f5a2af058397ba527aacf50745b51a
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__wchar_t_file_w32_spawnvp_63a.c Label Definition File: CWE78_OS_Command_Injection.strings.label.xml Template File: sources-sink-63a.tmpl.c */ /* * @description * CWE: 78 OS Command Injection * BadSource: file Read input from a file * ...
C
samples/Juliet/testcases/CWE78_OS_Command_Injection/s08/CWE78_OS_Command_Injection__wchar_t_file_w32_spawnvp_63a.c
maurer/tiamat
mit
3,624
128
codeparrot/github-code
3e211fa41f202b702ba68dcaf82b06094f42035d5a8f462ee3b85bccc750a7b4
package org.workcraft.plugins.circuit; import org.workcraft.annotations.VisualClass; import org.workcraft.dom.math.MathGroup; import org.workcraft.dom.references.FileReference; import org.workcraft.observation.PropertyChangedEvent; import org.workcraft.utils.Hierarchy; import java.util.ArrayList; import java.util.Col...
Java
workcraft/CircuitPlugin/src/org/workcraft/plugins/circuit/CircuitComponent.java
tuura/workcraft
mit
3,235
116
codeparrot/github-code
11c696e9499d73351a5bc95d8ac1908da09921c7d038e437a07b3fd5a2b7b25c
//////////////////////////////////////////////////////////////////////////////// // // secp256k1.cc // // Copyright (c) 2013 Eric Lombrozo // // 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 Softwar...
C++
nacl_module/secp256k1.cc
sowbug/happynine
mit
8,140
298
codeparrot/github-code
45798d4e7d2a5d0945c4e6e5f55bdd49ff7eb21c12a80dc60c489f9bee6fd441
<html> <head> <script> // WAYS OF CREATING OBJECTS --- // ----------------- // Constructor pattern // ----------------- function Student () { // called a constructor this.name = "Tom"; this.foo = function() {alert("hi"); }; }; var stu1 = new Student(); // create a new object, assign this, do, return stu1.name =...
HTML
Labs/Lab05/examples/ex14_objects.html
mattmckillip/SE319
mit
1,343
58
codeparrot/github-code
de7192d686ee13eda27be311535fc681b48aa75bbb9f9351e395ccde038be71a
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
TypeScript
src/vs/workbench/services/textmodelResolver/test/browser/textModelResolverService.test.ts
Microsoft/vscode
mit
8,018
211
codeparrot/github-code
b6ede3e42672dd3618c8cae25c263985e97d1bbd38083ab6215edf64a618f141
<?php namespace Subbly\Presenter\V1; use Illuminate\Database\Eloquent\Collection; use Subbly\Model\Order; use Subbly\Presenter\Presenter; use Subbly\Presenter\Entries; use Subbly\Presenter\Entry; use Subbly\Subbly; class OrderPresenter extends Presenter { /** * Get formated datas for a single entry. * ...
PHP
src/Subbly/Presenter/V1/OrderPresenter.php
subbly/framework
mit
2,802
89
codeparrot/github-code
100931bd92a2b4dcf6dab400593dc09f5e1a998e82bc935cde35f7afe3cbd362
/* * Copyright (C) 2014 Carlos González. * All rights reserved. * * The software in this package is published under the terms of the MIT * license a copy of which has been included with this distribution in * the LICENSE.txt file. * * Created on Jul 17, 2014 by Carlos González */ package com.github.chuckbucke...
Java
src/main/java/com/github/chuckbuckethead/cypher/keys/RSAKey.java
chuckbuckethead/cypher
mit
6,212
290
codeparrot/github-code
62523995b64baf884628cda5811e34a49eb2de730d611cdc8e2a90851bcdd689
# frozen_string_literal: true require "active_support/core_ext/enumerable" require "active_support/core_ext/hash/indifferent_access" require "active_support/core_ext/string/filters" require "active_support/parameter_filter" require "concurrent/map" module ActiveRecord module Core extend ActiveSupport::Concern ...
Ruby
activerecord/lib/active_record/core.rb
georgeclaghorn/rails
mit
26,884
798
codeparrot/github-code
08c128792dedf494ab25e6d73bb3cb1ec32b68f1b8ba2ab3917af6ed170bf315
# -*- coding: utf-8 -*- r""" .. _SoftiMAX: SoftiMAX at MAX IV ------------------ The images below are produced by scripts in ``\examples\withRaycing\14_SoftiMAX``. The beamline will have two branches: - STXM (Scanning Transmission X-ray Microscopy) and - CXI (Coherent X-ray Imaging), see the scheme provided by K. T...
Python
examples/withRaycing/14_SoftiMAX/__init__.py
kklmn/xrt
mit
16,902
321
codeparrot/github-code
161765e767eb9575414e630219883983d09ea0833327c40838a63ffc29bc4c76
<?php namespace Smartbox\Integration\FrameworkBundle\DependencyInjection\Traits; use Smartbox\Integration\FrameworkBundle\Tools\Mapper\MapperInterface; /** * Trait UsesMapper. */ trait UsesMapper { /** @var MapperInterface */ protected $mapper; /** * @return MapperInterface */ public fun...
PHP
DependencyInjection/Traits/UsesMapper.php
smartboxgroup/integration-framework-bundle
mit
537
31
codeparrot/github-code
d5f683debf329d11dbebd1c0a0a3a4bace15dd4fb5de49553d011154c16ff2f8
/* Algorithm by Donald Knuth. */ #include <stdio.h> #include <stdlib.h> void main( void) { int i, j=1, k, n, *c, x; printf( "Enter n,k: "); scanf( "%d,%d", &n, &k); c = malloc( (k+3) * sizeof(int)); for (i=1; i <= k; i++) c[i] = i; c[k+1] = n+1; c[k+2] = 0; j = k; visit: for (i=k; i >= 1; i--) printf( "%3...
C
USACO/comb/knu.c
sespiros/various-projects
mit
584
37
codeparrot/github-code
a66398cc37b773ef50ffcf07ab8998d27c9665b1b76fb5086fe4a28908ed0462
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>ramsey: 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.7.1+1/ramsey/8.9.0.html
coq-bench/coq-bench.github.io
mit
8,300
195
codeparrot/github-code
d82afa9f2cca2206dcf881e001903c067a2f13a75909167a99a7b139d6595fae
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>hott: 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.6/released/8.6.1/hott/8.11.html
coq-bench/coq-bench.github.io
mit
6,815
168
codeparrot/github-code
d52b960ad7fd8abf9eb1740ab09e43ba3d8b752a957f4e34538b6bf5956ccc63
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; var classCallCheck = function (instance, Cons...
JavaScript
options/jml.js
brettz9/open-isbn
mit
66,746
1,619
codeparrot/github-code
7ac796a840b323eb1212965dff86432f43302eef6044aef45cdea0a755474a38
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mod-red: 57 s</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="styles...
HTML
clean/Linux-x86_64-4.05.0-2.0.6/released/8.6.1/mod-red/8.6.0.html
coq-bench/coq-bench.github.io
mit
8,540
175
codeparrot/github-code
c2657fdeb3690e0c5ab7001260055ca70d3eb4b246097652d5bf6a24f0b91a85
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>tait: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" r...
HTML
clean/Linux-x86_64-4.07.1-2.0.6/released/8.12.1/tait/8.6.0.html
coq-bench/coq-bench.github.io
mit
7,078
174
codeparrot/github-code
edaa03ee80c9490e472c31adbb8fa90bc9ca93ba89a575843c0c99de01682666
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>tlc: 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.10.1-2.0.6/released/8.13.0/tlc/20161010.html
coq-bench/coq-bench.github.io
mit
6,526
168
codeparrot/github-code
1217adf56783a4fab28f1e91a96fe7ddcea74f1503da8123c2a15844be80f515
package main import ( "os" "github.com/kamaln7/karmabot" "github.com/kamaln7/karmabot/ctlcommands" "github.com/aybabtme/log" "github.com/urfave/cli" ) var ( ll *log.Log ) func main() { // logging ll = log.KV("version", karmabot.Version) // commands cc := &ctlcommands.Commands{ Logger: ll, } // ap...
GO
cmd/karmabotctl/main.go
kamaln7/karmabot
mit
2,972
188
codeparrot/github-code
df9b154b27734cd78f1982339fc9c4c79614104584a924725efab3a1be63d1de
<?php namespace ParkBundle\Twig; /** * Class ComputerStatusExtension * @package ParkBundle\Twig */ class ComputerExtension extends \Twig_Extension { /** * @param \Twig_Environment $env * @param $status * @return string */ public function renderComputerStatus(\Twig_Environment $env, $st...
PHP
src/ParkBundle/Twig/ComputerExtension.php
ale42/formation-symfony
mit
1,510
72
codeparrot/github-code
7df47832544933fa82abedf745169a4229af3ab6c6ffefe7edb0a8cb5df006b1
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>ppsimpl: 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.8.0/ppsimpl/8.9.0.html
coq-bench/coq-bench.github.io
mit
7,051
175
codeparrot/github-code
9d4c5f80f30b5154e5745130c82e58552140dfee8c05a3369ca77d507795c4a4
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mtac2: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
HTML
clean/Linux-x86_64-4.09.1-2.0.6/released/8.11.0/mtac2/1.1+8.10.html
coq-bench/coq-bench.github.io
mit
6,806
167
codeparrot/github-code
15c175a116b7086fb129a1c39f94e8d6281ec0563954435afe740be2c9a0448a
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>high-school-geometry: 8 m 2 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.m...
HTML
clean/Linux-x86_64-4.08.1-2.0.5/released/8.13.0/high-school-geometry/8.13.0.html
coq-bench/coq-bench.github.io
mit
33,694
373
codeparrot/github-code
4248b0db8faa1f2671b341694a95aa73371817bfadf04c5018e3e306dc09dd90
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>jordan-curve-theorem: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../boot...
HTML
clean/Linux-x86_64-4.07.1-2.0.6/extra-dev/8.10.dev/jordan-curve-theorem/8.5.0.html
coq-bench/coq-bench.github.io
mit
7,196
166
codeparrot/github-code
6f672c8f838164654d59c9dd99027daa69fc9d5ec83d6e613c0ec4bfde8ac691
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>three-gap: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
HTML
clean/Linux-x86_64-4.09.1-2.0.6/extra-dev/8.11.dev/three-gap/8.10.0.html
coq-bench/coq-bench.github.io
mit
6,944
173
codeparrot/github-code
2a80f9bb2598ca574bcb1a1fb6d53d134ada1d3bd44359d3b90d30f70ab0ac86
package org.analogweb.servlet; import java.lang.annotation.Annotation; import javax.servlet.ServletContext; import javax.servlet.ServletRequest; import javax.servlet.http.HttpSession; import org.analogweb.InvocationMetadata; import org.analogweb.RequestContext; import org.analogweb.RequestValueResolver; import org.a...
Java
src/main/java/org/analogweb/servlet/ServletComponentsValueResolver.java
analogweb/servlet-plugin
mit
1,117
38
codeparrot/github-code
6d70b821262c9e6ffd977dd80ecffad4c4325c5247f95ef81584d98098834dc5
extern crate crypto; use bytes::BytesMut; use crypto::digest::Digest; use encoding::{all::ISO_8859_1, DecoderTrap, EncoderTrap, Encoding}; use futures::SinkExt; use tokio::{ io::{AsyncRead, AsyncWrite}, net::TcpStream, stream::StreamExt, }; use tokio_util::codec::{Decoder, Encoder, Framed}; use tracing::*;...
Rust
src/rpc.rs
vorot93/boinc-rpc-rs
mit
6,701
210
codeparrot/github-code
5df6cd71b12be8707e8ae6267f1d62fa46b075fe5034316db5625b99f1bfd42b
<!DOCTYPE html> <!--[if IEMobile 7]><html class="iem7 no-js" lang="en" dir="ltr"><![endif]--> <!--[if lt IE 7]><html class="lt-ie9 lt-ie8 lt-ie7 no-js" lang="en" dir="ltr"><![endif]--> <!--[if (IE 7)&(!IEMobile)]><html class="lt-ie9 lt-ie8 no-js" lang="en" dir="ltr"><![endif]--> <!--[if IE 8]><html class="lt-ie9 no...
HTML
epa-grants/research/raw/06644.html
1wheel/scraping
mit
21,410
418
codeparrot/github-code
0211221f7d65f5c97b9f440f7e17b87ae84a80a5fad4ebf403153a4df2ee54db
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Plato - server/api/RouteInterceptor.js</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content=""> <!--[if lt IE 9]> <script src="http://html5shim...
HTML
reports/files/server_api_RouteInterceptor_js/index.html
DuduMonkey/OpenPBL
mit
7,062
187
codeparrot/github-code
abed01bede016cbb1e0b77c89810e276c3f322dade4fe658b5e4ca88c391b20c
using System; using System.Collections.Generic; using System.Text; public class Person { private int age; private string name; public int Age { get { return this.age; } set { this.age = value; } } public string Name ...
C#
Old Courses/OOP Basics/01. Defining Classes/Defining Classes - Exercise/DefiningClassesExercise/DefiningClassesExercise/Person.cs
delian1986/SoftUni-C-Sharp-repo
mit
822
57
codeparrot/github-code
2b19bb0b2b0f8fd4186ba89ef3334a53c4e0bfe16551b0ade9b942bcc2d6a53c
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bundle\FrameworkBundle\DependencyInjection; use Symfony\Compone...
PHP
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
peterjmit/symfony
mit
21,096
509
codeparrot/github-code
b0a57c96c59c15ce22ba80fbbdfc64817660a8593d5a7c1a08355e2f839562db
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>unicoq: 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.9.0/unicoq/1.0.0.html
coq-bench/coq-bench.github.io
mit
6,969
170
codeparrot/github-code
fc47e31ec08382cd24e8478e1dc3ccd7fd0b5c16753020d8f27b769f8273f133
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JSDoc: Source: node-application.js</title> <script src="scripts/prettify/prettify.js"> </script> <script src="scripts/prettify/lang-css.js"> </script> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html...
HTML
jsdoc/node-application.js.html
gbraad/sensible
mit
6,047
283
codeparrot/github-code
9ffea366a314e2c89bd65dfcd324a8cebe109e2c74f34825f9d6b8605554fd1a
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>flocq: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
HTML
clean/Linux-x86_64-4.04.2-2.0.5/released/8.5.2/flocq/2.2.0.html
coq-bench/coq-bench.github.io
mit
6,674
162
codeparrot/github-code
a607dbea28a22794392200397baf56c559bada2612cb8bd2d19bde673946423f
<!DOCTYPE html> <html xmlns:msxsl="urn:schemas-microsoft-com:xslt"> <head> <meta content="en-us" http-equiv="Content-Language" /> <meta content="text/html; charset=utf-16" http-equiv="Content-Type" /> <title _locid="PortabilityAnalysis0">.NET Portability Report</title> <style> ...
HTML
Reports/co/controllerrt.unity.4.5.5/ControllerRT.Unity-.NETCore45.html
kuhlenh/port-to-core
mit
9,651
240
codeparrot/github-code
84972e5bf494946eb90d49d82786bd9d853d71d4e3d3de2781c4fc1d703f44db
package org.zv.fintrack.rest; import java.util.List; import java.text.ParseException; import java.text.SimpleDateFormat; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.FormParam; import javax.ws.rs.Produces; import org.zv.fintrack.pd.Income;...
Java
fintrack-web/src/main/java/org/zv/fintrack/rest/Incomes.java
arvjus/fintrack-java
mit
2,650
69
codeparrot/github-code
3d065f4a7a03f2e026395efd9dd68d183a22f10695c7e3ea83df84373580a88e
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>zfc: 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.2-2.0.6/released/8.13.2/zfc/8.9.0.html
coq-bench/coq-bench.github.io
mit
7,753
185
codeparrot/github-code
6c871f42ef3971b5980ff84867d1c113ab69c4d6b816aab87fd9804dced41bb1
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>printf: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
HTML
clean/Linux-x86_64-4.11.2-2.0.7/released/8.15.0/printf/2.0.0.html
coq-bench/coq-bench.github.io
mit
6,754
171
codeparrot/github-code
d452b68a65bb71bb10c239fe66aa9b1f49ceeadddb2414779e8bc57453077527
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>ptsatr: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
HTML
clean/Linux-x86_64-4.13.1-2.0.10/released/8.13.1/ptsatr/8.6.0.html
coq-bench/coq-bench.github.io
mit
7,428
175
codeparrot/github-code
91dd66cbb8cbdfdb2223b01d356305e1d73cf7f7ed3eff916f91621c58ba2f75
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>three-gap: 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.10.0/three-gap/8.8.0.html
coq-bench/coq-bench.github.io
mit
6,967
165
codeparrot/github-code
ba29aa2cf1d6a3897c50d8de81abb56d278ae8ead113fc7515bc7d841668e85c
<!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.05.0-2.0.1/released/8.5.2/menhirlib/20211128.html
coq-bench/coq-bench.github.io
mit
6,916
177
codeparrot/github-code
b4ea06d2d8ca7852cba26b79123d99c997908914a8fbfde528baa9a6d2e948d4
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>vst-32: 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.1/vst-32/2.7.html
coq-bench/coq-bench.github.io
mit
7,759
187
codeparrot/github-code
d9923750eda58a0a07b7d0bbd46d55a06f1774983a220ad0134d008a451472d4
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>concurrency-system: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootst...
HTML
clean/Linux-x86_64-4.04.2-2.0.5/released/8.7.1/concurrency-system/1.0.0.html
coq-bench/coq-bench.github.io
mit
6,982
177
codeparrot/github-code
4c0bd7d8fe3188de38626d30304676162ee25a40d677396e88110a14ec079eb6
'use strict'; angular.module('<%= name %>') .service('<%= serviceName %>', function ($q, $http) { // A private cache key. var cache = {}; // Update broadcast name. var broadcastUpdateEventName = '<%= serviceName %>Change'; /** * Return the promise with the collection, from cache or the ser...
JavaScript
app/templates/app/basic/service.js
ceoaliongroo/generator-angular-element
mit
1,961
88
codeparrot/github-code
22e7411211155880512bc4c403685650273a7aebc5085e1949a94d86173cbea3
'use strict'; angular.module('myApp.contact', ['ngRoute']) .config(['$routeProvider', function($routeProvider) { $routeProvider.when('/contact', { templateUrl: 'app/view/contact.html', controller: 'contactCtrl' }); }]) .controller('contactCtrl',['$scop...
JavaScript
app/assets/javascripts/crontollers/contact.js
ananddharne/ananddharne.github.io
mit
2,961
75
codeparrot/github-code
efd4642065e583443a6427a876fee3c5bb1758810d24ee3ac2b26b5f560e28e3
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>pocklington: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min...
HTML
clean/Linux-x86_64-4.05.0-2.0.1/released/8.5.0/pocklington/8.10.0.html
coq-bench/coq-bench.github.io
mit
7,083
178
codeparrot/github-code
41d5df71e81e67f93b60e95a5609b7fcef1118c27a2152bc597219be6f4ec042
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>coq-in-coq: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min....
HTML
clean/Linux-x86_64-4.09.1-2.0.6/extra-dev/8.11.dev/coq-in-coq/8.10.0.html
coq-bench/coq-bench.github.io
mit
6,817
170
codeparrot/github-code
bbac12f32348cd97e2b380daab91c0c787adb2a60327cdf50e5501633935cc0b
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>qarith-stern-brocot: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../boots...
HTML
clean/Linux-x86_64-4.08.1-2.0.5/released/8.11.1/qarith-stern-brocot/8.7.0.html
coq-bench/coq-bench.github.io
mit
7,121
165
codeparrot/github-code
38af959416a700f2c6cf0433d01edd4f2c8bac1d9404e2406ffd916dd9a60a2a
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>reflexive-first-order: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../boo...
HTML
clean/Linux-x86_64-4.04.2-2.0.5/released/8.8.1/reflexive-first-order/8.10.0.html
coq-bench/coq-bench.github.io
mit
7,263
176
codeparrot/github-code
15d20ebc1daf9fbdd00c47eba86a147f854bef26b7dadb97af251422846b5c5b
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml; using HPMSdk; using Hansoft.ObjectWrapper; using Hansoft.ObjectWrapper.CustomColumnValues; using Hansoft.Jean.Behavior; namespace Hansoft.Jean.Behavior.TrackLastStatusChangeBehavior { public class TrackLastSt...
C#
TrackLastStatusChangeBehavior.cs
Hansoft/Hansoft-Jean-TrackLastStatusChangeBehavior
mit
6,787
170
codeparrot/github-code
96845f99c675a726b229634ff4925a391bc5e12d145642f2b8b2c53800310d0a
#include <stdio.h> #include <stdlib.h> #define MIN_ALLOC_SIZE 24 #define MAX_ALLOC_SIZE 1024 * 100 #define CHANCE_OF_FREE 95 #define CHANCE_OF_REALLOC 50 #define TOTAL_ALLOCS 400000 int main() { malloc(1); int i; void *realloc_ptr = NULL; void **dictionary = malloc(TOTAL_ALLOCS * sizeof(void *)); ...
C
syspro_hw1/testers/tester-5.c
buaabarty/syspro_hw
mit
2,295
88
codeparrot/github-code
91538e64f1ebaf2a85b4aef82aa9a6e9e46993d24ed15863812eb679c292dee5
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>metacoq-pcuic: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.m...
HTML
clean/Linux-x86_64-4.08.1-2.0.5/extra-dev/dev/metacoq-pcuic/1.0~alpha2+8.10.html
coq-bench/coq-bench.github.io
mit
8,025
188
codeparrot/github-code
9c61f512cbfb81e48f7cf5f0ff18f9d6573b37ffd6399cde59696edb0b699201
'use strict'; /** * Module Dependencies */ var gulp = require('gulp'); var sass = require('gulp-sass'); var app = require('./app.js'); /** * Config */ var PUBLIC = __dirname + '/public'; var ASSETS = PUBLIC + '/assets'; /** * Compiling */ gulp.task('sass', function(){ gulp.src(ASSETS + '/styles/sass/app....
JavaScript
gulpfile.js
dictions/post
mit
505
34
codeparrot/github-code
a2fc48dec46bebce391560644c26d49c12a6574e967ad01ed13ee5872f175aa1
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>zorns-lemma: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
HTML
clean/Linux-x86_64-4.11.1-2.0.7/released/8.11.2/zorns-lemma/8.9.0.html
coq-bench/coq-bench.github.io
mit
6,910
173
codeparrot/github-code
939ce3a1a25fa922b1a8e825ee492ea68f4a6ca29b08f3b7471b7c60708912bb
#!usr/bin/python2.7 # coding: utf-8 # date: 16-wrzesień-2016 # autor: B.Kozak # Simple script giving length of sequences from fasta file import Bio from Bio import SeqIO import sys import os.path filename = sys.argv[-1] outname = filename.split('.') outname1 = '.'.join([outname[0], 'txt']) FastaFile = open(filena...
Python
python/seq_len.py
bartosz-kozak/Sample-script
mit
543
32
codeparrot/github-code
f22b4bafaf7db35252a61630202c0898e7fa287b0e77a8bdea5039d48410402f
import {waitFor} from './wait-for' const isRemoved = result => !result || (Array.isArray(result) && !result.length) // Check if the element is not present. // As the name implies, waitForElementToBeRemoved should check `present` --> `removed` function initialCheck(elements) { if (isRemoved(elements)) { throw ne...
JavaScript
src/wait-for-element-to-be-removed.js
testing-library/dom-testing-library
mit
1,602
55
codeparrot/github-code
9d623ea5ecf61476a73b47029cf2790bba90eedef4996e8a20b05d48e8b06b99
""" [2015-12-28] Challenge #247 [Easy] Secret Santa https://www.reddit.com/r/dailyprogrammer/comments/3yiy2d/20151228_challenge_247_easy_secret_santa/ # Description Every December my friends do a "Secret Santa" - the traditional gift exchange where everybody is randomly assigned to give a gift to a friend. To make th...
Python
DailyProgrammer/DP20151228A.py
DayGitH/Python-Challenges
mit
2,377
75
codeparrot/github-code
10cea5add7e267a460fe29de3b40d7c1060d337b62cab4154c15d5fb2691daa1
using System; using LuaInterface; using System.Collections.Generic; using System.Runtime.Serialization; using System.Collections; public class System_Collections_Generic_DictionaryWrap { public static void Register(LuaState L) { L.BeginClass(typeof(Dictionary<,>), typeof(System.Object), "Dictionary"); L.RegFunc...
C#
Assets/ToLua/BaseType/System_Collections_Generic_DictionaryWrap.cs
joey1258/ToluaContainer
mit
11,209
418
codeparrot/github-code