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
634d32fbe14d55bf5aaf253ba237003571e1d91ce9f2afba9f902a2c9eae869f
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; namespace EventLogNotifier { public class NotifyIconViewModel { /// <summary> /// Shuts down the application. ...
C#
EventLogNotifier/NotifyIconViewModel.cs
basvo/EventLogNotifier
mit
1,182
47
codeparrot/github-code
56051ac80d1d5870e4a61fd9ab5b09bfd3b2ff82b290388b5160744f077c1ba9
using System; using System.Collections.Generic; using Loyc.Syntax; using Flame.Compiler; using LeMP; using Loyc; namespace Flame.Ecs.Parsing { /// <summary> /// Represents a parsed source code file. /// </summary> public struct ParsedDocument { /// <summary> /// Initializes a new i...
C#
src/Flame.Ecs/Parsing/ParsedDocument.cs
jonathanvdc/ecsc
mit
3,689
98
codeparrot/github-code
69a9ca81b5df30011543a08fe5540a3621d8bdb88a4374c71888a418643710d4
<!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.05.0-2.0.6/released/8.7.2/compcert/3.5+8.10.html
coq-bench/coq-bench.github.io
mit
7,997
190
codeparrot/github-code
148d94c102bdca9e2f8566e9f7f1c98a982418030a6c9fa2295aa89af5c395e8
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>bertrand: 1 m 17 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel...
HTML
clean/Linux-x86_64-4.07.1-2.0.6/released/8.8.1/bertrand/8.12.0.html
coq-bench/coq-bench.github.io
mit
14,882
240
codeparrot/github-code
14fb8357dc14843bc5a77f79eca1ef0072381f4c4af56094ffb2bc051adff083
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>zf: 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.03.0-2.0.5/released/8.7.0/zf/8.10.0.html
coq-bench/coq-bench.github.io
mit
6,695
169
codeparrot/github-code
47c168822f08811b492396004d7e05ebdff4d9f40ed073e4dd3c2c3c132f9c69
'use strict'; /* eslint-disable no-console */ const cryptoJS = require('crypto-js'); module.exports = { toJsonObj: function (str) { try { return JSON.parse(str); } catch (e) { return false; } }, getMacString: function (req) { var arr = []; for (let key in req) { if (req.h...
JavaScript
gui/app/js/util.js
osmoossi/tapsudraft
mit
757
37
codeparrot/github-code
30d82e1e04fad36205ffb990becb3734df578849bc882d6362bff5583d63d84a
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>hammer-tactics: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap....
HTML
clean/Linux-x86_64-4.03.0-2.0.5/released/8.9.1/hammer-tactics/1.2.1+8.11.html
coq-bench/coq-bench.github.io
mit
7,313
181
codeparrot/github-code
3d0e52086abf5dd0a378c25c10fb21dcda97c4927b7857a8372fcad76b5496ee
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>high-school-geometry: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../boot...
HTML
clean/Linux-x86_64-4.08.1-2.0.5/extra-dev/8.10.dev/high-school-geometry/1.0.0.html
coq-bench/coq-bench.github.io
mit
6,872
172
codeparrot/github-code
a401e4528b488ea486426a18424852813377b93e67bfcffad925c3ead0bb568c
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>io-system-ocaml: 7 s</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel=...
HTML
clean/Linux-x86_64-4.05.0-2.0.6/released/8.9.1/io-system-ocaml/2.3.0.html
coq-bench/coq-bench.github.io
mit
7,307
177
codeparrot/github-code
2728b2e378bc9ed7e22f41a5cee52ae32dc9bcae3ae32e62245dd1dd08e69952
<!-- Safe sample input : get the field userData from the variable $_GET via an object, which store it in a array sanitize : cast via + = 0.0 File : use of untrusted data in a doubled quote attribute --> <!--Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or royalty fee, to ...
PHP
XSS/CWE_79/safe/CWE_79__object-Array__CAST-cast_float_sort_of__Use_untrusted_data_attribute-Double_Quote_Attr.php
stivalet/PHP-Vulnerability-test-suite
mit
1,587
71
codeparrot/github-code
22ea398597ca3d5016e7c487dd8c8a021c97a4d29d337f6706a1260b2d30ad5c
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>search-trees: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.mi...
HTML
clean/Linux-x86_64-4.06.1-2.0.5/released/8.13.0/search-trees/8.7.0.html
coq-bench/coq-bench.github.io
mit
7,020
166
codeparrot/github-code
e849bc0413641387b0715676e8f888136c8705b3395df2f49c8372656b40f958
<?xml version="1.0" ?><!DOCTYPE TS><TS language="tr" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="14"/> <source>About Etercoin</source> <translation>Etercoin hakkında</translation> </...
TypeScript
src/qt/locale/bitcoin_tr.ts
etercoin/etercoin
mit
88,948
1,979
codeparrot/github-code
4367751dd08084bd5da0cce7374bea5443c9e2ace1ac639fbcbedf267f815f3b
/** * download webdriver */ var path = require('path'); var fs = require('fs'); var rimraf = require('rimraf'); var Download = require('download'); var Decompress = require('decompress'); var fse = require('fs-extra'); var debug = require('debug')('browser'); var chromeVersion = '2.20'; var phantomVersion = '1.9.7'...
JavaScript
build.js
imsobear/node-browser
mit
3,160
119
codeparrot/github-code
112f335300396af2e681744ea95ff229520f77c374f93d8c55d33dd3972d9162
#include <iostream> #include "Net.h" #include "InputLayer.h" #include "ForwardLayer.h" #include "RecurrentLayer.h" using namespace std; int main() { // arma::arma_rng::set_seed(100); arma::arma_rng::set_seed_random(); Net net; net.add_layer(new InputLayer(2)); net.add_layer(new ForwardLayer(3)); ...
C++
ex/xor.cc
igorcoding/cppnet
mit
906
36
codeparrot/github-code
78441298e8979d1f2442ef69fa3aa205034964937b316d45d4d49bca801da24e
module Riik # Document is the base object for the Riik ORM. Including it provides # the basic functionality for assigning attributes to models, # assigning a bucket name, and serializing objects. # module Document autoload :Persistence, 'riik/document/persistence' autoload :Finders, 'riik/docume...
Ruby
lib/riik/document.rb
cmeiklejohn/riik
mit
2,705
120
codeparrot/github-code
3768ccc31ca6bd0854a3d5f8610f2f4cc22283a66a2f083ec7a96367a003a64c
(function(){ var app = angular.module('howtoApp', []); /*TODO - add custom filters https://scotch.io/tutorials/building-custom-angularjs-filters */ app.filter('facetedNavFilter', function() { return function(input,scope) { /*console.log(scope); var out =...
JavaScript
js/howto.js
aaronBeryUcl/funnelback-angular-app
mit
8,516
230
codeparrot/github-code
cf400dfb1959a7d2f601f4e7504bd2b7abddc39ef9731929271f02ab979f6b89
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>jsast: 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.4.6/jsast/2.0.0.html
coq-bench/coq-bench.github.io
mit
7,404
182
codeparrot/github-code
18dd1047e16fbcbceb6e174e5116ade93dec3b6310ad7e700eb51d8297c3be81
<?php session_start(); require_once('connections/lib_connect.php'); require_once('./xajax_0.2.4/xajax.inc.php'); require_once('filters.php'); $xajax = new xajax(); $xajax->errorHandlerOn(); #************************ #registering functions #************************ //$xajax->registerFunction('view_all'); $xajax->registe...
PHP
Dev_CPM/view_district.php
aasiimweDataCare/Dev_ftf
mit
16,446
398
codeparrot/github-code
fb23943a75463fcf1b10dff1823603657c21133c5bd5eee3673934777583c655
#!/bin/bash ########################################################## ProgressBar1() { local loca=$1; local loca2=$2; declare -a bgcolors; declare -a fgcolors; for i in {40..46} {100..106}; do bgcolors+=("$i") done for i in {30..36} {90..96}; do ...
Shell
scripts/util/progressbar.sh
newlight77/ubuntu
mit
2,831
104
codeparrot/github-code
7bbb2dff335f2ce29180090fd90ecc09f75f62d7932fc5415e5f59197d41d2e5
/* ** 2015-04-17 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** **************************...
C
Last/OpenSource/sqlite-317/sqlite-src-3170000/tool/fuzzershell.c
wanliming11/MurlocAlgorithms
mit
40,964
1,263
codeparrot/github-code
9fa91efc094a9a716334471d0ef1a182c465b2db79d1a4c22507ce405f803eef
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>regexp: 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.11.0/regexp/8.9.0.html
coq-bench/coq-bench.github.io
mit
7,096
172
codeparrot/github-code
a1343215e9280f691c9d77d7da32c84cd326e28a96da42a697dfbe893cd72778
#pragma once #include "xi/ext/configure.h" #include "xi/core/sleep_queue.h" #include "xi/core/worker_queue.h" namespace xi { namespace core { namespace v2 { class netpoller; class shared_queue; class scheduler; class execution_budget; class worker final { public: struct config { ...
C
xi/core/worker2.h
Anomander/xi
mit
2,526
100
codeparrot/github-code
d2eb0bf8698c313676c84194ab8f3472c48fa7b33d6dc8137b9075a78234afeb
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>smc: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" re...
HTML
clean/Linux-x86_64-4.05.0-2.0.1/released/8.9.0/smc/8.8.0.html
coq-bench/coq-bench.github.io
mit
7,412
169
codeparrot/github-code
f9faa9701c3a5634da33d2c361a46810cb044335beb9e458ad5ef0df3042a2f7
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr-fr" lang="fr-fr" dir="ltr" > <head> <title>Lycées</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <meta...
HTML
mviewer1/index.html
geopicardie/geopicardie-simple-web-apps
mit
18,125
320
codeparrot/github-code
d0555c655a02b2900403d062ad3c9cd6683bd050716c39aa1adfd82d41672945
#pragma once #include <cstdint> #include <cstddef> #include <ctime> #include <stdexcept> #include <unistd.h> #include <sys/time.h> #ifdef __MACH__ # include <mach/mach.h> # include <mach/clock.h> #endif #ifndef CLOCK_MONOTONIC_COARSE # define CLOCK_MONOTONIC_COARSE CLOCK_MONOTONIC #endif #ifndef CLOCK_REALTIME_CO...
C++
mimosa/time.hh
abique/mimosa
mit
2,898
131
codeparrot/github-code
ae060f5eb421b992ee39e043e6782f7f71d75ea1108ffcbe6304cde472967a19
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>multiplier: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min....
HTML
clean/Linux-x86_64-4.03.0-2.0.5/released/8.8.1/multiplier/8.6.0.html
coq-bench/coq-bench.github.io
mit
6,892
165
codeparrot/github-code
dea25ede8889213ae9d2d22c58f0aecc9d5a58dfa75286ab181a59469b9158b1
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>itree: 4 m 44 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.09.1-2.0.6/released/8.11.0/itree/3.1.0.html
coq-bench/coq-bench.github.io
mit
24,839
321
codeparrot/github-code
b2336c6734d9710b02cc970512e906c450ce856a183fddb362722fe5bfd61e47
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>smt-check: 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.9.0/smt-check/2.0.0.html
coq-bench/coq-bench.github.io
mit
6,596
167
codeparrot/github-code
6480c5dfb9665772f23e0684f2e2924cc0cb63f6be88ea079438c6ba4789680b
// C/C++ File // Author: Alexandre Tea <alexandre.qtea@gmail.com> // File: /Users/alexandretea/Work/gachc-steinerproblem/srcs/ga/FixedBinaryString.hpp // Purpose: TODO (a one-line explanation) // Created: 2017-01-15 20:57:05 // Modified: 2017-03-15 17:31:42 #ifndef FIXEDBINARYSTRING_H #define FIXEDBINARYSTRIN...
C++
srcs/ga/FixedBinaryString.hpp
alexandretea/gachc-steinerproblem
mit
2,172
72
codeparrot/github-code
b006b352d1186403224961bbdc6b7d69eeee63734bb86b74b538c0f1f5e92ae7
import Ember from 'ember'; import moment from 'moment'; import dateFormat from '../utils/date-format'; export default Ember.Controller.extend({ loadingMeta: false, notify: Ember.inject.service(), aggController: Ember.inject.controller('discover.aggregate'), queryParams: ['center', 'obs_date__le', 'obs_date_...
JavaScript
app/controllers/discover.js
UrbanCCD-UChicago/plenario-explorer
mit
5,637
200
codeparrot/github-code
46d86b00c2b91e451e9f9cf80621ba42cce7f8cd159110bd24a1882348c9bfc5
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>propcalc: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
HTML
clean/Linux-x86_64-4.07.1-2.0.6/released/8.8.1/propcalc/8.10.0.html
coq-bench/coq-bench.github.io
mit
7,223
175
codeparrot/github-code
f68671ce64e8cb9d9596812b142a155cb884c28ba0e93159d04a55a81aaa7f2d
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>groups: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
HTML
clean/Linux-x86_64-4.08.1-2.0.5/released/8.11.1/groups/8.5.0.html
coq-bench/coq-bench.github.io
mit
6,443
160
codeparrot/github-code
8f54542e54804b9d275b0650d674409fe3a09a1545125631192f767c103a9a6c
<div class="form-group {{ $errors->has('name') ? 'has-error' : '' }}"> {{ Form::label('name', 'Name') }} {{ Form::text('name', old('name'), ['class' => 'form-control']) }} @if ($errors->has('name')) <span class="help-block">{{ $errors->first('name') }}</span> @endif ...
PHP
resources/views/patients/_form.blade.php
brianally/infoframe
mit
2,629
69
codeparrot/github-code
7e63ca7bc7318456b5784ea23e1a55421f877314bc0c45db6abad1c2f544cc57
--- layout: base --- {% include header.html type="post" %} <div class="container"> <div class="row"> <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> <article role="main" class="blog-post"> {{ content }} </article> {% if page.tags.size > 0 %} <div class="blog-...
HTML
_layouts/post.html
RodolfoMiguelLopez/rodolfomiguellopez.github.io
mit
1,470
53
codeparrot/github-code
46d96751086659377be6df92606f611290b072dcae9c9d6aa4811180b4f08830
#ifndef DECAFPARSER_BPARSER_H #define DECAFPARSER_BPARSER_H #include "parser.h" #include "parser_decaf.hpp" #include "ast.h" class BParser : public Parser { public: BParser( FILE* file, bool debug_lexer, bool debug_parser ) : Parser(file, debug_lexer, debug_parser) { extern FILE* yyin; ...
C
bparser.h
benedikthth/THYD_project2
mit
715
33
codeparrot/github-code
a9d44266647084db09a00fbc58361b118eab542b59d966a7772cc1b01b435d27
#ifdef BOARD_BUTTON_PIN volatile bool g_buttonPressed = false; volatile uint32_t g_buttonPressTime = -1; void button_action(void) { BlynkState::set(MODE_RESET_CONFIG); } ICACHE_RAM_ATTR void button_change(void) { #if BOARD_BUTTON_ACTIVE_LOW bool buttonState = !digitalRead(BOARD_BUTTON_PIN); #else bool but...
C
examples/Blynk.Edgent/Edgent_ESP8266/ResetButton.h
blynkkk/blynk-library
mit
1,192
55
codeparrot/github-code
5dec88033c1beac16470fed1dd3b01d9bf6243bcedf4d92d91a9f625f5ec9648
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mod-red: 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.05.0-2.0.6/released/8.7.2/mod-red/8.6.0.html
coq-bench/coq-bench.github.io
mit
7,138
167
codeparrot/github-code
505fc9bf2da58e7f0e5acc29c50ad85dd1ed82627464dcad15a4b9b70f307d5d
/* * Copyright (c) 2014 airbug Inc. All rights reserved. * * All software, both binary and source contained in this work is the exclusive property * of airbug Inc. Modification, decompilation, disassembly, or any other means of discovering * the source code of this software is prohibited. This work is protected un...
JavaScript
libraries/bugyarn/js/src/Yarn.js
airbug/bugyarn
mit
6,157
188
codeparrot/github-code
4fbaabd38c7cf58b463bf6ae9f8426e6a7de36b0d41587866604bc0f8ee5614d
// _____ _ _ _ _ _ // | ___| | (_) | | | | | | // _ __ |___ \ ___| |_ ___| | ____ _| |__ | | ___ // | '_ \ \ \/ __| | |/ __| |/ / _` | '_ \| |/ _ \ // | |_) /\__/ / (__| | | (__| < (_| | |_) | | __/ // | .__/\____(_)___|_|_|\___|_|\_\__,_|_.__/|_|\___| // | | w...
JavaScript
js/virus/p5.clickable.js
alexlamb/alexlamb.github.io
mit
3,452
120
codeparrot/github-code
da232a0c0e1b69f894c19a72b46d552d20495b34aeb07d680ffdb398e648fcf0
#! /bin/zsh # vim:ft=zsh ts=2 sw=2 sts=2 # # agnoster's Theme - https://gist.github.com/3712874 # A Powerline-inspired theme for ZSH # # # README # # In order for this theme to render correctly, you will need a # [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts). # # In addition, I recommend the # [...
Shell
archive/zsh/prompt.zsh
cunningham/dotfiles
mit
6,185
245
codeparrot/github-code
8492c273a4daf6dafb7c92864bb28a6114c599bdaa05c8955c05055fd0552c14
"use strict"; let express = require('express'); let app = express(); let bodyParser = require('body-parser'); var randomPoem = require('./tools/poemBuilder1.js') app.set('view engine', 'ejs'); app.set('views', __dirname + '/views'); app.use(express.static("client")) app.use(bodyParser.json()); app.get("/poem", funct...
JavaScript
index.js
robotson/literate-telegram
mit
1,777
77
codeparrot/github-code
f1e2349345b28ce7383a61e10de695f439e5bbae6244e9f34a40936e097d5be6
from cse.util import Util from collections import OrderedDict from cse.pipeline import Handler class WpApiParser(Handler): def __init__(self): super() def parse(self, comments, url, assetId, parentId): data = self.__buildDataSkeleton(url, assetId) data["comments"] = self.__iterate...
Python
cse/WpApiParser.py
CodeLionX/CommentSearchEngine
mit
1,919
69
codeparrot/github-code
696669db25a2246c5cc3e70dfbbd5c3d819156a1fbfa56911596eb95fbb3ac0b
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>ccs: 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.03.0-2.0.5/released/8.6.1/ccs/8.9.0.html
coq-bench/coq-bench.github.io
mit
7,218
177
codeparrot/github-code
72e340bfc6bccb6ffa9569466c184aa07d9da51523349701d0206acbe33ed6f3
using System; using System.Diagnostics; using BCurve=NS_GMath.I_BCurveD; namespace NS_GMath { public class Param { /* * CONSTS & ENUMS */ public const double Infinity=2.0e20; public const double Degen=1.0e20; public const double Invalid=1.5e20; ...
C#
GMath/Param.cs
Microsoft/Font-Validator
mit
5,165
219
codeparrot/github-code
c89af7b4d63ae2441daa56e07839ff053a438039015455da4a1c7ed5775e3053
<?php class Football_Pool_Admin_Options extends Football_Pool_Admin { public function __construct() {} private static function back_to_top() { echo '<p class="options-page back-to-top"><a href="#">back to top</a></p>'; } public static function help() { $help_tabs = array( array( 'id' =...
PHP
admin/class-football-pool-admin-options.php
wp-plugins/football-pool
mit
34,914
692
codeparrot/github-code
3752beb19c75b906e53f9de58ee3846550cbf180a09a9415b037366f34ed4f4a
/* Game namespace */ var game = { // an object where to store game information data : { // score score : 0 }, // Run on page load. "onload" : function () { // Initialize the video. if (!me.video.init("screen", me.video.CANVAS, 1067, 600, true, '1.0')) { alert("Your browser does not support HTML5 can...
JavaScript
js/game.js
KaelenJuntilla/KaelenCameron
mit
1,155
51
codeparrot/github-code
cf34492d1ed730b193452477d8c60b4b4d23e29fae969cb7f2df335fa64f2ef6
package ar.wildstyle; import java.lang.reflect.Field; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import ar.wildstyle.test.BaseTest; import ar.wildstyle.test.ExamplePojo; import ar.wildstyle.valuegenerator.IntegerValueGenerator; import ar.wildstyle.valuegenerator.StringValueGenerator; im...
Java
src/test/java/ar/wildstyle/FieldMappingEntryTests.java
arosini/wildstyle-generator
mit
4,283
138
codeparrot/github-code
aa925da8dc2eb41365edf44042fb8e7f1642ca6c5ec8a61e9440b914579c8575
package shop.main.controller.admin; import static shop.main.controller.admin.AdminController.ADMIN_PREFIX; import static shop.main.controller.admin.AdminController.MANAGER_PREFIX; import java.util.ArrayList; import java.util.Arrays; import java.util.stream.Collectors; import javax.servlet.http.HttpServletRequest; im...
Java
src/main/java/shop/main/controller/admin/AdminDiscountController.java
spacerovka/jShop
mit
4,334
108
codeparrot/github-code
b90ee9ef94ed84e50b26a142d1ed82fb50fd57675b8f911bb290fc30cc477214
/** * @class EZ3.Box * @constructor * @param {EZ3.Vector3} [min] * @param {EZ3.Vector3} [max] */ EZ3.Box = function(min, max) { /** * @property {EZ3.Vector3} min * @default new EZ3.Vector3(Infinity) */ this.min = (min !== undefined) ? min : new EZ3.Vector3(Infinity); /** * @property ...
JavaScript
src/math/Box.js
andresz1/ez3.js
mit
2,872
121
codeparrot/github-code
060cc3477742b40454605053675a4a767f8a64f584cc9dd9aa610bb4e3425c08
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.resourcemanager.compute; import com.azure.core.http.HttpPipeline; import com.azure.resourcemanager.compute.fluent.models.VirtualMachineScaleSetInner; import com.azure.resourcemanager.compute.models.KnownL...
Java
sdk/resourcemanagerhybrid/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetBootDiagnosticsTests.java
Azure/azure-sdk-for-java
mit
23,110
508
codeparrot/github-code
e15476357b07e6e02df84aa00a2ddd0f55be143bb4705088221ee8614085180e
<!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.7.2/unicoq/1.3+8.8.html
coq-bench/coq-bench.github.io
mit
6,834
168
codeparrot/github-code
9651742493e3f0b708a9ca3d7d2a1d081ff33b4d85893dfb2e44cd724cce66fb
<!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.02.3-2.0.6/released/8.4.6~camlp4/qcert/1.0.5.html
coq-bench/coq-bench.github.io
mit
6,891
167
codeparrot/github-code
04a84b13f9e2391fc4bf3283d6e7c45fb398c17ee9c8992da35207749d0f155d
#include "qrcodedialog.h" #include "ui_qrcodedialog.h" #include "bitcoinunits.h" #include "guiconstants.h" #include "guiutil.h" #include "optionsmodel.h" #include <QPixmap> #include <QUrl> #include <qrencode.h> QRCodeDialog::QRCodeDialog(const QString &addr, const QString &label, bool enableReq, QWidget *parent) : ...
C++
src/qt/qrcodedialog.cpp
elco-coin/elcoin-source
mit
4,309
172
codeparrot/github-code
c2ea4b209f9f85ee7d75badfd40083e37600f3c709d440d7e7d89d14625ea89c
#!/usr/bin/env python3 # Copyright 2014 BitPay Inc. # Copyright 2016-2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test framework for syscoin utils. Runs automatically during `make check`. Ca...
Python
test/util/syscoin-util-test.py
syscoin/syscoin2
mit
6,594
176
codeparrot/github-code
2fd417ba344d17985cfd7a6a4279286e79f5f4fdc27d0a0b7dbe02d0725577b8
import { times, flatten } from "lodash" import { APIOptions } from "./loaders/api" // TODO: Type this and refactor, because I think things just kinda work by luck, // because a static and a dynamic path loader take different number of // arguments. export const MAX_GRAPHQL_INT = 2147483647 export const a...
TypeScript
src/lib/all.ts
mzikherman/metaphysics-1
mit
1,251
43
codeparrot/github-code
0854b43cbcb473d164f1cc1eba8531e4d3e6a095b212219f88314c9692d35117
using IoT_Core.Models; using MongoDB.Bson; using MongoDB.Driver; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Options; namespace IoT_Core.Services.Repositories { public class WateringRepository : BaseRepository, IWateringRepository ...
C#
IoT-Core/Services/Repositories/WateringRepository.cs
MCeddy/IoT-core
mit
1,481
46
codeparrot/github-code
9669c9ecd3900c094146d7f6ed0d5566e789b751f86b2b24d3aafb5aeafa00c4
<?php /* * This file is part of Gloubster. * * (c) Alchemy <info@alchemy.fr> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Gloubster\Receipt; use Gloubster\Exception\RuntimeException; class Factory { public stat...
PHP
src/Gloubster/Receipt/Factory.php
Gloubster/Communications
mit
1,130
46
codeparrot/github-code
4e80a466f726f20a7c3ec378c73993a31f2dcaaf8448d228b575409c237100a4
package input import ( glfw "github.com/go-gl/glfw3" "github.com/tedsta/fission/core" "github.com/tedsta/fission/core/event" ) type InputSystem struct { eventManager *event.Manager window *glfw.Window } func NewInputSystem(w *glfw.Window, e *event.Manager) *InputSystem { i := &InputSystem{} // Set the ...
GO
input/inputsystem.go
tedsta/gofission
mit
1,973
78
codeparrot/github-code
0209d17d18d6eb0f69da71bf215b820019c829fce8329488b2d5900e1e8ff2c0
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>io-system-ocaml: 15 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
HTML
clean/Linux-x86_64-4.05.0-2.0.1/released/8.7.2/io-system-ocaml/2.3.0.html
coq-bench/coq-bench.github.io
mit
7,310
177
codeparrot/github-code
0783cf8f28867c3f78c3b125fcae217b9a55c8c09e30566f96cdd67e2b71a960
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>exact-real-arithmetic: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../boo...
HTML
clean/Linux-x86_64-4.06.1-2.0.5/released/8.7.1+1/exact-real-arithmetic/8.6.0.html
coq-bench/coq-bench.github.io
mit
7,017
167
codeparrot/github-code
bf67d65bc2f284ddc913efb86fec7dc57383f35d52142636802975468eafec95
<html> <head> <title>Opularity | TF2</title> <!--Change the title Depending on your tutorial--> <link href="Resources/css/bootstrap.css" rel='stylesheet' type='text/css' /> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> <script src="js/jquery.min....
HTML
how2heavy.html
Opularity/Opularity.github.io
mit
6,658
216
codeparrot/github-code
dc73c4f6d1cf4d504441f6adb5c008cd4c9fc9345558ed49dc408cbf1169154c
#include <z80e/debugger/commands.h> #include <z80e/debugger/debugger.h> #include <z80e/disassembler/disassemble.h> #include <z80e/log/log.h> #include <string.h> #include <strings.h> #include <stdlib.h> #include <stdio.h> #include <stdarg.h> enum { REGISTER, MEMORY, EXECUTION, }; enum { READ = (1 << 0), WRITE = ...
C
z80e-sdl/debugger/commands/on.c
matrefeytontias/z80e-sdl-win
mit
6,817
251
codeparrot/github-code
0f5414555a52de8b669a5a3f37aec4c822d7903792cc69bf2d6f7061c51ccd21
var os = require('os'); var fs = require('fs'); var path = require('path'); var SerialPort = require("serialport"); //Default configuration var config = { spm: { }, //Serial port manager cli: true, //Command line interface port: 5147, mode: "http", //HTTP server with WebSocket by default prefix: "/api/v1", /...
JavaScript
server.js
papnkukn/remote-serial-port-server
mit
10,625
373
codeparrot/github-code
de17e0365f58ab0c1fbfa756be613f86ed84f8cb766bc76055da3335eb79dfef
package misc import ( "net/http" "strconv" "time" ) //Writer http response writer interface. type Writer interface { http.ResponseWriter http.Hijacker } //ElapsedTime add requset elapsed time to "Elapsed-Time" header of response. //Elapsed time is time spent between middleware exetue and data wrote to response....
GO
middleware/misc/elapsedtime.go
herb-go/herb
mit
1,028
46
codeparrot/github-code
0a74430ff3b47944e975c52eb31b7d97b4cddefdb09a9998adc3f25a142a0e4d
package Thread; /** * Created by cnkaptan on 5/8/15. */ public class KarisikSayma { public static void main(String[] args){ ThreadTest thrd = new ThreadTest("Thread"); Thread runnableThread = new Thread(new RunnableTest("Runnable")); thrd.start(); runnableThread.start(); } }...
Java
src/Thread/KarisikSayma.java
cnkaptan/JavaVariousSamples
mit
861
45
codeparrot/github-code
ca0e0ae02c8a69e5a204ea3453e6e43592df601699ae93265c726d228af62b10
namespace Gibraltar.Messaging { /// <summary> /// Wraps a Gibraltar Packet for publishing /// </summary> /// <remarks>For thread safety, request a lock on this object directly. This is necessary when accessing updateable properties.</remarks> internal class PacketEnvelope { private rea...
C#
src/Core/Messaging/PacketEnvelope.cs
GibraltarSoftware/Loupe.Agent.Core
mit
3,445
112
codeparrot/github-code
093fdf8733f3fa018279e1b2e4efd7f4a4550a1de0df8c03ef04567ed51c5f01
# pre_NAMD.py # Creates the files used for NAMD based on the .pdb file dowloaded from PDB bank # # Usage: # python pre_NAMD.py $PDBID # # $PDBID=the 4 characters identification code of the .pdb file # # Input: # $PDBID.pdb: .pdb file downloaded from PDB bank # # Output: # $PDBID_p.pdb: .pdb file with water mole...
Python
pre_NAMD/pre_NAMD.py
Xiaofei-Zhang/NAMD_Docking_pipeline
mit
2,553
77
codeparrot/github-code
867ff5b059fd208499e968c9ead29ee6e7fe8aae2b24e6b4b00fb7bac34b5d4b
<?php declare(strict_types = 1); namespace OctoLab\Common\Util; /** * @author Kamil Samigullin <kamil@samigullin.info> */ final class Ini { /** @var bool */ private $processSections; /** @var int */ private $scannerMode; /** * @param bool $processSection * @param int $scannerMode ...
PHP
src/Util/Ini.php
kamilsk/Common
mit
2,270
88
codeparrot/github-code
40aa09a1b8f6566be2ff76b81fcdd49709bc194e9782b75c6ff6241aaf94850c
package com.humooooour.kit.screen; import android.app.Activity; import android.view.KeyEvent; import android.view.MotionEvent; import com.humooooour.kit.HSApp; import com.humooooour.kit.geom.HSRect; import processing.core.PApplet; import processing.core.PGraphics; public class HSScreen { private HSApp mApp; pri...
Java
src/com/humooooour/kit/screen/HSScreen.java
thedoritos/HumourKit
mit
1,120
69
codeparrot/github-code
930c3a7d4ffc62332e19c6da0d6ec5024e5c14c3fb8094577e6bca1edf3ec1cf
""" Poisson time series penalised likelihood regression via the Berman Turner device """ from . import weighted_linear_model from . import design_nonlattice as design from math import ceil import numpy as np from importlib import reload design = reload(design) class NonLatticeOneShot: """ the simplest devic...
Python
branching_process/nonlattice/fit.py
danmackinlay/branching_process
mit
6,351
222
codeparrot/github-code
da4a6477d7de0a91d6c5ae99d9f62b3dd85729b2c444df76084a968b86340aa3
<?php namespace porcelanosa\yii2options\models\query; /** * This is the ActiveQuery class for [[\app\modules\admin\models\ChildOptionMultiple]]. * * @see \app\modules\admin\models\ChildOptionMultiple */ class ChildOptionMultipleQuery extends \yii\db\ActiveQuery { /*public function active() { retur...
PHP
models/query/ChildOptionMultipleQuery.php
porcelanosa/yii2-options
mit
747
35
codeparrot/github-code
c5f67945be27a78741eec5c7d500b1fdad91fe346a5643b9813347ddaf3be997
"""useful context managers""" from contextlib import suppress with suppress(ModuleNotFoundError): from lag import * import os import contextlib def clog(*args, condition=True, log_func=print, **kwargs): if condition: return log_func(*args, **kwargs) @contextlib.contextmanager def cd(newdir, verbos...
Python
util/context_managers.py
thorwhalen/ut
mit
908
33
codeparrot/github-code
f9cea8921b26a72459bd5da65da7cabe7f56d959db61284a127e41332788edd6
package ls; import java.util.*; import javax.swing.table.AbstractTableModel; public class DirectoryTableModel extends AbstractTableModel { private final List<DirOpt> dirs = new ArrayList<>(); public List<DirOpt> getDirs () { return new ArrayList<>(dirs); } public void add (DirOpt dir) { ...
Java
src/ls/DirectoryTableModel.java
alexyz/logsearch
mit
2,287
122
codeparrot/github-code
99dbc3fd096e4f20b89d10301fed58d975f78d62a9bc469373c052587e8fc901
package com.teamunify.i18n.com.teamunify.i18n.webapp; import com.teamunify.i18n.I; import com.teamunify.i18n.webapp.AbstractLocaleFilter; import org.junit.Before; import org.junit.Test; import static junit.framework.Assert.*; import static org.mockito.Mockito.*; import javax.servlet.*; import java.io.IOException; im...
Java
src/test/java/com/teamunify/i18n/com/teamunify/i18n/webapp/ServletLocaleFilterTests.java
awkay/easy-i18n
mit
1,982
79
codeparrot/github-code
cce8b4b6d965399babdfc979722696b4ab3ed07c20f05fccfb86fb5de25bfcde
<!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.02.3-2.0.6/released/8.7.1+2/flocq/2.5.2.html
coq-bench/coq-bench.github.io
mit
6,935
166
codeparrot/github-code
0dfe4dcca525475e37ecc73cf34953c6850f6e1ca2fa5e39ae6da92873d876bc
/** reframe.js - Reframe.js: responsive iframes for embedded content @version v3.0.0 @link https://github.com/yowainwright/reframe.ts#readme @author Jeff Wainwright <yowainwright@gmail.com> (http://jeffry.in) @license MIT **/ (function (global, factory) { typeof exports === 'object' && typeof module !== '...
JavaScript
ajax/libs/reframe.js/3.0.0/reframe.js
cdnjs/cdnjs
mit
3,880
86
codeparrot/github-code
a119cd47a03c422dd14a51a47239c43aa230eccfce509b948b69b5afc8edaa43
<?php namespace Sdd; use Sdd\Builder\DirectDebit as Builder; use Sdd\DirectDebit\GroupHeader; use Sdd\DirectDebit\PaymentInformation; /** * DirectDebit * * @author Carlo Chech 2016 * @license MIT */ class DirectDebit { /** * @var null */ protected $groupHeader = null; /** * @var null */ ...
PHP
DirectDebit.php
wdog/sdd_ita
mit
1,601
99
codeparrot/github-code
47bf2b3d02bfbbcd2f738b230ddf6eb1803f5f857ea43c883fbc54ffcb0d617c
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>iris: 10 m 55 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.07.1-2.0.6/released/8.7.2/iris/3.1.0.html
coq-bench/coq-bench.github.io
mit
40,106
439
codeparrot/github-code
daa64a8bb80bbd4f2136737378f237f0892f83f24d112342a54eb6c0b583f8ee
// Generated on 2014-11-07 using generator-angular 0.9.8 'use strict'; // # Globbing // for performance reasons we're only matching one level down: // 'test/spec/{,*/}*.js' // use this if you want to recursively match all subfolders: // 'test/spec/**/*.js' module.exports = function (grunt) { // Load grunt tasks au...
JavaScript
matchup-client/Gruntfile.js
MightyPixel/MatchUp
mit
10,761
442
codeparrot/github-code
59ac23dc46de6e338589a6f6c280b8c7234489248ce7cbc160dee5881418e3e3
# Copyright (c) 2015 SnapDisco Pty Ltd, Australia. # All rights reserved. # # This source code is licensed under the terms of the MIT license # found in the "LICENSE" file in the root directory of this source tree. import sys if sys.version_info.major >= 3: from configparser import RawConfigParser else: from ...
Python
libpy/UsefulConfigParser.py
jboy/nim-pymod
mit
5,807
122
codeparrot/github-code
e61f522a63cd305cc86b3ea6c6b04c90dce97c3c7d8f2c8406bc78b20f8a8471
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>concat: 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/concat/8.9.0.html
coq-bench/coq-bench.github.io
mit
6,597
168
codeparrot/github-code
d5c8d719e76ddd970546c7e804b58c4cecb900860606a584308d760f38ffd294
function List(storage, $) { var items = []; var doneItems = []; var nextId = 0; this.storage = storage; this.toDo = items; this.done = doneItems; this.add = function (text) { var newItem = new ListItemModel(nextId,text); items.push(newItem); storage.store(newItem.id, JSON.stringify(newItem)...
JavaScript
Local/js/list.js
NathanGloyn/to-doge
mit
1,279
68
codeparrot/github-code
39d7d7f2f3656b4a0e95d027cc9a09f5b62d0733ec22899ea8c7aa365b00f538
/* The MIT License (MIT) Copyright (c) 2016 EMC Corporation 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, mer...
Java
ecs-metadata-elasticsearch-dao/src/main/java/com/emc/ecs/metadata/dao/elasticsearch/ElasticS3ObjectDAO.java
carone1/ecs-dashboard
mit
29,830
815
codeparrot/github-code
785264971e2431950cfd71c151aeeaa38c5bed6c610ba99f468c6874ba2e83cb
/* * MapsActivity * * Version 1.0 * * November 12, 2017 * * Copyright (c) 2017 Team NOTcmput301, CMPUT301, University of Alberta - All Rights Reserved * You may use, distribute, or modify this code under terms and conditions of the Code of Student Behavior at University of Alberta. * You can find a copy of the...
Java
app/src/main/java/com/notcmput301/habitbook/MapsActivity.java
CMPUT301F17T28/NOTcmput301
mit
6,346
160
codeparrot/github-code
a6631315a33c82691838b54b6c94219cbdf854800cca4c2202841a2e41760cbb
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>cecoa: 9 m 9 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="st...
HTML
clean/Linux-x86_64-4.02.3-2.0.6/released/8.8.0/cecoa/1.0.0.html
coq-bench/coq-bench.github.io
mit
13,115
235
codeparrot/github-code
c71d06e53a0b95f6a18c5b61452c9bf75586ea412cae9239fbe4712594fbc37f
import * as angular from 'angular'; import {IRequestServiceProvider} from '../../common/utils/request-utils.provider'; import RecoveryPasswordComponent from './recovery-password.component'; import Core from '../../core'; import Utils from '../../common/utils'; export default angular .module('app.recovery-password'...
TypeScript
client/src/components/recovery-password/index.ts
LekoWebDeveloper/angular-webapi-login-template
mit
1,155
31
codeparrot/github-code
474fbb61cb2dc63b6694fe7130933ac1231b3b87815a3a8a3cf4ff5a0fa18585
package yokohama.unit.ast; public abstract class AstVisitor<T> { public abstract T visitGroup(Group group); public abstract T visitAbbreviation(Abbreviation abbreviation); public T visitDefinition(Definition definition) { return definition.accept( this::visitTest, th...
Java
src/main/java/yokohama/unit/ast/AstVisitor.java
tkob/yokohamaunit
mit
6,022
131
codeparrot/github-code
fdffdd5d672634bedaec97b2098f4cc224b0d3b0b699cbe1447b24b94663f159
using System; using System.Runtime.Serialization; // ReSharper disable CheckNamespace namespace SharpRemote // ReSharper restore CheckNamespace { /// <summary> /// This exception is thrown when a thrown exception should be marshalled (because it crosses the proxy / servant threshold) /// but cannot, for example be...
C#
SharpRemote/Exceptions/UnserializableException.cs
Kittyfisto/SharpRemote
mit
4,317
125
codeparrot/github-code
df89f0187df3805920324ee561f872ad1ad7ab3a892dc991e1447c46adfb7222
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("...
JavaScript
frontend/js/components/menu.js
raapperez/vrf
mit
3,426
72
codeparrot/github-code
0374b984317bac30ab5b8efacf9c1f4b42250675160f89d69f272e34709dea67
// This file is distributed under the MIT license. // See the LICENSE file for details. #pragma once #ifndef VSNRAY_GL_BVH_OUTLINE_RENDERER_H #define VSNRAY_GL_BVH_OUTLINE_RENDERER_H 1 #include <memory> #include <vector> #include <visionaray/math/matrix.h> #include <visionaray/bvh.h> namespace visionaray { namespa...
C
include/visionaray/gl/bvh_outline_renderer.h
ukoeln-vis/ctpperf
mit
3,540
145
codeparrot/github-code
819594d2d985582c7a62b565e4194fa2393a655d0efe1be5b9446b00dec5c2e2
package de.gurkenlabs.litiengine.entities; import de.gurkenlabs.litiengine.graphics.RenderEngine; import java.awt.Graphics2D; import java.util.EventObject; /** * This {@code EventObject} contains data about the rendering process of an entity. * * @see RenderEngine#renderEntity(Graphics2D, IEntity) */ public class...
Java
core/src/main/java/de/gurkenlabs/litiengine/entities/EntityRenderEvent.java
gurkenlabs/litiengine
mit
1,089
43
codeparrot/github-code
67bc49919d6cdd0de09082e45bb6d36965f2351735da1f1259ccd79e021b756d
import plain from '../structure/plain' import immutable from '../structure/immutable' import defaultShouldError from '../defaultShouldError' describe('defaultShouldError', () => { it('should validate when initialRender is true', () => { expect( defaultShouldError({ initialRender: true }) ...
JavaScript
src/__tests__/defaultShouldError.spec.js
erikras/redux-form
mit
2,200
92
codeparrot/github-code
c76a80001c8520437d788f661c4cf6d95e5f372cd709ecd2ff33f8d320c57a67
<!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="../../../../../bootstr...
HTML
clean/Linux-x86_64-4.10.1-2.0.6/extra-dev/dev/jordan-curve-theorem/8.7.0.html
coq-bench/coq-bench.github.io
mit
7,458
168
codeparrot/github-code
0a95dcc19ea420b338db47ed0d950d7d1004bb955f2fcd013cc7599dbf348e76
// Copyright (c) 2015 Uber Technologies, Inc. // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, ...
JavaScript
web/src/components/MapGL/overlays/canvas.react.js
RanaRunning/rana
mit
2,671
80
codeparrot/github-code
c4dc9394fe93a47b4b48af573af68f1b6992589be10d86d3b2629d5fd2d3d345
<?php /* AdminBundle:Admin:gestionCategories.html.twig */ class __TwigTemplate_d67b492aebafcd5f8ab65d887049fd9f778babe4069922cd9ffcb861388774ee extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 $this->parent = $this->loadT...
PHP
var/cache/dev/twig/9e/9e7f6ac2722fe89fb849c145c79b7b4076f3b4cafa96f3c76d520acf3fe06829.php
AziziNidhal/formation
mit
20,335
589
codeparrot/github-code
7b5af011d4e836b88c81033053d64dcfd8f742d513123e28f052743890ff432c
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>buchberger: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css...
HTML
clean/Linux-x86_64-4.12.0-2.0.8/released/8.13.2/buchberger/8.8.0.html
coq-bench/coq-bench.github.io
mit
7,181
167
codeparrot/github-code
8778aa68e120372020168f58d81a34d2cd68c6b3cb962f0cdd9d8e8a05d9d2e6
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>fairisle: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
HTML
clean/Linux-x86_64-4.09.1-2.0.6/released/8.13.1/fairisle/8.9.0.html
coq-bench/coq-bench.github.io
mit
7,400
178
codeparrot/github-code
7c1b8f9a237440a3649a551a068582e21f96cce7f7e34d014ae5a0d15198ea8e
<?php /** * * Proxy Pattern * * A proxy pattern creates an entry point which interacts behind the scenes with other objects. * Can be useful for implementing access control, to implement lazy loading of resource intensive * objects, or to simply act as a wrapper to reduce the options available to another more ...
PHP
proxy-pattern.php
voidabhi/reddy
mit
2,019
79
codeparrot/github-code
a277e099503116c9c588764c6bcaa26e6f10e0024da8fe5598296f0068142cd2
#!/usr/bin/python -*- coding:utf-8 -*- __Author__ = "Riyaz Ahmad Bhat" __Email__ = "riyaz.ah.bhat@gmail.com" import re from collections import namedtuple from sanity_checker import SanityChecker class DefaultList(list): """Equivalent of Default dictionaries for Indexing Errors.""" def __init__(self, defaul...
Python
src/ssf_reader.py
darshan95/Shift-Reduce-Chunk-Expander
mit
4,608
120
codeparrot/github-code
572e2dfc97e2892377f4d75cfb36e90909f6e78b515d1084867b4eeca0a8685b
# frozen_string_literal: true module Faker module Witcher class << self extend Gem::Deprecate def character Faker::Games::Witcher.character end def witcher Faker::Games::Witcher.witcher end def school Faker::Games::Witcher.school end def...
Ruby
lib/faker/default/witcher.rb
Dakurei/faker
mit
936
41
codeparrot/github-code