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
a96c6635860f6a08fcc80e6fca49a92197079bebf7329830eb1b902697cb66ff
module Elastictastic module ParentChild extend ActiveSupport::Concern module ClassMethods attr_reader :parent_association def belongs_to(parent_name, options = {}) @parent_association = Association.new(parent_name, options) module_eval(<<-RUBY, __FILE__, __LINE__+1) de...
Ruby
lib/elastictastic/parent_child.rb
brewster/elastictastic
mit
3,255
118
codeparrot/github-code
5314dc3de57cdf036941845d2356020e794ae0aadc719b54579e481b6632388a
<?php namespace JetMinds\Job\Controllers; use Flash; use BackendMenu; use Backend\Classes\Controller; use JetMinds\Job\Models\Category; /** * Categories Back-end Controller */ class Categories extends Controller { public $implement = [ 'Backend.Behaviors.FormController', 'Backend.Behaviors.ListC...
PHP
controllers/Categories.php
jetmindsgroup/job-plugin
mit
1,211
49
codeparrot/github-code
e7ba51858fc7e2db503b389220445e728fb2260e02306554b6f7c27c8bfd7323
// @flow import React, { Component, PropTypes } from "react" import { connect } from "react-redux" import TextField from 'material-ui/TextField' import { CreateAuctionButton } from "../../molecules/" import * as AuctionActions from "../../../actions/auction" import { Button } from "../../atoms/" import styles from "./s...
JavaScript
src/components/molecules/CreateAuctionBox/CreateAuctionBox.js
BradZzz/occasio
mit
2,780
85
codeparrot/github-code
9299c2b7435cfe98bb86fcced30ef6d42c21b8f84af49c0d7a644748d772088c
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>tactician-stdlib: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstra...
HTML
clean/Linux-x86_64-4.08.1-2.0.5/released/8.10.0/tactician-stdlib/1.0~beta1+8.13.html
coq-bench/coq-bench.github.io
mit
7,878
193
codeparrot/github-code
ba2b11af1d2b6763899c380d762558e5f8ce766644064964a0da7c3537fd1bdc
{% extends "../base.html" %} {% block content %} <div class="container"> <br> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="row"> <div class="col-md-9"> <div class="panel panel-default"> <div class="panel-body panel-chat-body"> <div class="panel panel...
HTML
app/views/user/chat.html
elektroacustica/devcode-node
mit
3,888
136
codeparrot/github-code
901192c02024bdea3fdde7d9d5566c6a2430ab2585628c35f2780b0863f1314b
"use strict"; var expect = require('chai').expect , protolib = require(__dirname + '/../') ; describe('protolib', function() { describe('clone', function() { it('should create a clone of the given object', function() { var object = { name: 'Philip' , hello: function() { return 'Hell...
JavaScript
test/test.js
Elzair/protolib
mit
2,315
61
codeparrot/github-code
a04e393b207f84aa38f7119eb2d60d0c30d67129673f292f66abfa5627267233
package recognizer; import lexical_analysis.Lexeme; import environment.Environment; public class Parser { Lexeme tree; Environment e; public Parser (Lexeme tree,Environment E){ this.tree = tree; e = E; getObjDecl(e,tree.getLeft().getLeft()); getMainDef(e,tree.getRight()); } public Environment getEn...
Java
src/recognizer/Parser.java
tmlewallen/Eevee
mit
16,717
450
codeparrot/github-code
5b0131bd412b55fbfbd7ee0413972dd567563e9d3a0b78f68a96a828f2a9a0f4
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>dpdgraph: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
HTML
clean/Linux-x86_64-4.04.2-2.0.5/released/8.6.1/dpdgraph/0.6.3.html
coq-bench/coq-bench.github.io
mit
7,020
175
codeparrot/github-code
5914142e96706edc446a2efaea5f71cffa29e9fefa899a54f4d28a4dde1a1ae8
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>lemma-overloading: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstr...
HTML
clean/Linux-x86_64-4.12.1-2.0.8/released/8.14.1/lemma-overloading/8.12.0.html
coq-bench/coq-bench.github.io
mit
7,956
184
codeparrot/github-code
24ccd7f38c48f41d0a15473e44b4fb6413fa92808c0452257ac070934b4fe52e
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>vst: 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.07.1-2.0.6/released/8.9.0/vst/2.7.html
coq-bench/coq-bench.github.io
mit
8,068
191
codeparrot/github-code
0e75209dfd000898df81495a956b459bf12ff07b1dd60a35a4dd7a8bd8dc9d46
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>pi-agm: 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.7.1+2/pi-agm/1.1.0.html
coq-bench/coq-bench.github.io
mit
7,862
180
codeparrot/github-code
7f4ea025a751268e1eddf2e8c11510cbb6adbe34918731e481095fa3ca6ebaa9
<!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.10.2-2.0.6/released/8.12.1/unicoq/1.3+8.7.html
coq-bench/coq-bench.github.io
mit
6,431
162
codeparrot/github-code
738f8b7bc1eb1a6cc2ff969bbbfcaf30fd57922d3d792dd92318307dcf18646a
<HTML><HEAD> <TITLE>Review for Lengua de las mariposas, La (1999)</TITLE> <LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css"> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0188030">Lengua de las mariposas, La (1999)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A ...
HTML
data science/machine_learning_for_the_web/chapter_4/movie/24546.html
xianjunzhengbackup/code
mit
5,802
102
codeparrot/github-code
f15f3c8d30c8d796080fc52367e7d9946db4b21dd18d46fdc9f510ac21313d23
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>rem: 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.09.1-2.0.6/released/8.10.0/rem/8.7.0.html
coq-bench/coq-bench.github.io
mit
6,618
163
codeparrot/github-code
5bf93a31916731407c264564fefda85c273324beb1a37ede3509d80e8b05c9ca
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>sudoku: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" re...
HTML
clean/Linux-x86_64-4.05.0-2.0.6/released/8.8.0/sudoku/8.6.0.html
coq-bench/coq-bench.github.io
mit
7,136
169
codeparrot/github-code
3d95972c4587d0caff0ee4fff9a02b6df484a3deaee44c85bceebc16184f76dc
# -*- coding: utf-8 -*- # <nbformat>3.0</nbformat> # <codecell> import os, os.path from matplotlib import pyplot as plt from pylab import get_cmap import SimpleCV as cv from glob import glob # <codecell> def show_img(img, ax = None): if ax is not None: plt.sca(ax) nimg = img.getNumpy() return pl...
Python
Woundy.py
JudoWill/ResearchNotebooks
mit
2,781
99
codeparrot/github-code
f7569ffcc0ee8c6f3706caadbb3c2f1fc2ef6f315df56358feecba873ccdd28e
#include <bits/stdc++.h> using namespace std; typedef long long int ll; typedef pair<int, int> pii; string sub() { string s; int k; cin >> s >> k; int cnt = 0; for (int i = 0; i < (int)s.size(); i++) { if (s[i] == '+') continue; else { if (i + k - 1 >= (...
C++
Google Code Jam/2017/Qualification Round/oversized_pancake_flipper.cpp
Izaron/Competitive
mit
787
40
codeparrot/github-code
8ef288e0202536b1eb159f7ce27335216c597ae8481febaba252ac5147290512
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>coinductive-examples: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstr...
HTML
clean/Linux-x86_64-4.05.0-2.0.6/released/8.9.1/coinductive-examples/8.6.0.html
coq-bench/coq-bench.github.io
mit
7,392
174
codeparrot/github-code
d02e7db40c9488718bdfd762e591dda6d9e76e83e32e364d9155924a19a367c2
package sterling.lang.expression; import static org.hamcrest.Matchers.equalTo; import static org.junit.Assert.assertThat; import static sterling.lang.expression.ExpressionFactory.conditional; import static sterling.lang.expression.ExpressionFactory.constant; import org.junit.Before; import org.junit.Test; import ster...
Java
sterling-lang/src/test/java/sterling/lang/expression/ConditionalTest.java
lmcgrath/sterling
mit
1,086
33
codeparrot/github-code
956216115b30e5cb128e010f4b2682d91eb7def6b3237b244f6bd264e21654c6
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.DependencyInjection; using BusinessForms; using BusinessForms.FSControllers; using PalvelutoriModel.Translation; using PalvelutoriModel.Caching; using PS = PalvelutoriModel.PassthroughControllers; using PalvelutoriModel.Vetuma; namespace Microsoft.As...
C#
App/Palvelutori/src/PalvelutoriModel/PalvelutoriExtensions.cs
DigiTurku/munpalvelut_frontend
mit
2,170
57
codeparrot/github-code
d64635a7d54d11e840fa4d85437bf1c560202747654eb43118fe4bf3c43c8e1f
//--------------------------------------------------------------------- // <copyright file="MediaDisk.cs" company="Microsoft Corporation"> // Copyright (c) 1999, Microsoft Corporation. All rights reserved. // </copyright> // <summary> // Microsoft.Deployment.WindowsInstaller.MediaDisk struct. // </summary> //...
C#
src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/MediaDisk.cs
OneGet/oneget
mit
2,080
65
codeparrot/github-code
6ad20055f39ed5d3623f09022e1590d0d07d77482d317a5b64c834adf8aee45d
<header class="header"> <div class="header-container"> <div class="nav"> <li> <a href="{{ "/index.html" | prepend: site.baseurl }}"><img src="{{ "/images/logo.png" | prepend: site.baseurl }}" style="height: 32px" /></a> </li> {% if page.path == "index.html" %} <span class="title"> <li> <a hr...
HTML
_includes/header.html
inspace4u/dllab
mit
1,476
55
codeparrot/github-code
04fee3f1e7e1ce56eba06b8801a9cbe65a467af5fa71ad64b2fefbbf0ae17792
/// <reference path="Xrm.js" /> var EntityLogicalName = "uomschedule"; var Form_a793fa7c_8b63_43f0_b4bc_73f75a68935a_Properties = { description: "description", name: "name" }; var Form_a793fa7c_8b63_43f0_b4bc_73f75a68935a_Controls = { description: "description", name: "name" }; var pageData = { "...
JavaScript
Ms-CRM-2016-Controls/Ms-CRM-2016-Controls Resources/Javascript/Intellisense Files/Unit Group Form - Information.js
Nazi-Nigger/Ms-CRM-2016-Controls
mit
2,848
120
codeparrot/github-code
de5cd3d751a3ae8702d9a59c8e6443947545292041f46c1df04449b9ef50c330
#!/usr/bin/env sh export LANG='en_US.UTF-8' export LANGUAGE='en_US:en' # gem / ruby export GEM_HOME="$HOME/.gem" export GEM_PATH="$GEM_HOME" # homebrew if command -v brew &>/dev/null; then export HOMEBREW_CASK_OPTS='--appdir=/Applications' # set cask install directory fi; # android if [[ -d $HOME/Library/Android/sd...
Shell
sh/env.sh
cafedomingo/dotfiles
mit
2,550
78
codeparrot/github-code
27b47ce92ab6055503a78e6ad286eb939f5f7eda4bdd177df39ad3773188968b
/* * This file is part of the MicroPython project, http://micropython.org/ * * SHA2017 Badge Firmware https://wiki.sha2017.org/w/Projects:Badge/MicroPython * * The MIT License (MIT) * * Copyright (c) 2015 Paul Sokolovsky * Copyright (c) 2016 Damien P. George * Copyright (c) 2017 Anne Jan Brouwer * * Permissi...
C
esp32/modbadge.c
SHA2017-badge/micropython-esp32
mit
31,467
970
codeparrot/github-code
9b28a8319d916bb0a99381eee837c05bf54f210ffa3ce7e409c2a69cb68d48b0
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.ccc.smartfloorplan.action; import com.ccc.smartfloorplan.entity.Floor; import com.ccc.smartfloorplan.entity.JdbcConn; impo...
Java
src/main/java/com/ccc/smartfloorplan/action/GetAllFloorAction.java
chechiachang/booking-manager-maven
mit
5,322
143
codeparrot/github-code
7188026504a82051ebbc78984c7749432dcf2a8807df051887045d129f41f97e
require 'active_support/inflector' module Brightcontent class RoutesParser def initialize(routes_hash = nil, engine_resources = Brightcontent.engine_resources) @routes_hash = routes_hash @engine_resources = engine_resources end def resources Resources.new(resources_array) end ...
Ruby
core/lib/brightcontent/routes_parser.rb
brightin/brightcontent
mit
1,069
45
codeparrot/github-code
c9114803784b9f001478d2b938fe7e158fd2d8bcab2d54acc17cbb4617b62c93
module AI where import Control.Monad import Data.Array.MArray import Data.Array.IO import Data.Word import System.Random type Index = Int type Value = Int type Weight = Value type Neurons = IOArray Index Value type Synapses = [(Index, Index, Weight)] -- src, dst, weight type Goals = [Index] type Brain ...
Haskell
src/AI.hs
nitrix/ai
mit
1,853
56
codeparrot/github-code
bba673ad2dc85156f6d91ed13e0b5185c16694369d10197b5b456380acb4a15f
using System; using System.IO; using System.Text; using System.Globalization; namespace UniHttp { internal sealed class ResponseHandler { const char COLON = ':'; const char SPACE = ' '; const char CR = '\r'; const char LF = '\n'; readonly HttpSettings settings; readonly CookieJar cookieJar; readonly ...
C#
Assets/UniHttp/Support/Response/ResponseHandler.cs
taka-oyama/UniHttp
mit
6,028
168
codeparrot/github-code
a7768ae92e7647148903bd34d2379c15c25f04124f3e9bc3db4c94e9c0c86fba
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>hedges: 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/hedges/8.8.0.html
coq-bench/coq-bench.github.io
mit
6,957
167
codeparrot/github-code
08090d12555ef91ecd816ebfea618561b12218209079e12f20c97b7760846cd3
--- redirect_from: /docs/1.0.22/modules/directives.html --- <!doctype html> <html class="default no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>directives | @uirouter/angularjs</title> <meta name="description" content=""> <meta name="viewport" content="width=devi...
HTML
_ng1_docs/1.0.22/modules/directives.html
ui-router/ui-router.github.io
mit
49,924
648
codeparrot/github-code
d1443af529ee1d5119ecc5b060cb011b2d25aae825d07ef5400fb3e9407e1281
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package br.uff.ic.oceano.ostra.service.behaviortable; import br.uff.ic.oceano.util.NumberUtil; import br.uff.ic.oceano.ostra.model.DataMiningPattern; import br.uff.ic.oceano.ostra.model.DataMiningResult; import java.uti...
Java
web/src/main/java/br/uff/ic/oceano/ostra/service/behaviortable/Behavior.java
gems-uff/oceano
mit
10,770
298
codeparrot/github-code
f8314678a54d9c3eed1d33eea2c608d4ba754de816098da37e7374c0a6b8c9dd
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Runtime.CompilerServices; using System.Text; using System.Text.RegularExpressions; using MathNet.Spatial.Euclidean; using MathNet.Spatial.Units; namespace Large_File_Transformations { public class AppViewMod...
C#
Large File Transformations/Large File Transformations/AppViewModel.cs
mattj23/tree_point_tools
mit
6,217
181
codeparrot/github-code
0dfaedede702c01bfd41611ca16713a0e6f8c6dafd1a7e2d11710f99db1506d6
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>1001 - The One After Joey And Rachel Kiss</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <h1 align="center">1001 - The One After Joey And Rachel Kiss</h1> <hr> <p>Written by: Andrew Rei...
HTML
friends-scripts/season/1001.html
edersoncorbari/edersoncorbari.github.io
mit
36,730
620
codeparrot/github-code
656f6074db3b1d219a3a41fc7502694de962eae8afa93c23a2e941a95260d59c
<template name="jobNew"> <div class="row"> <div class="col-sm-10 col-sm-offset-1"> <h4 class="text-center">We Work Meteor is only for jobs that will actively use <a href="http://www.meteor.com/">Meteor</a>.</h4> <br> <p>Jobs are free to post. ...
HTML
client/views/jobs/jobForms.html
nate-strauser/wework
mit
3,358
59
codeparrot/github-code
c2e0a0e540ebf4f97969774207b07b3d5654780235895b8d79fd2c186e06e5b8
using System; using EntityFrameworkExtras.Tests.Integration.StoredProcedures; using NUnit.Framework; namespace EntityFrameworkExtras.Tests.Integration { [TestFixture] public class ParameterDateTimeOffsetTests : DatabaseIntegrationTests { [Test] public void Parameter_Execute_NoErrors() ...
C#
EntityFrameworkExtras.Tests.Shared/Integration/ParameterDateTimeOffsetTests.cs
Fodsuk/EntityFrameworkExtras
mit
1,340
42
codeparrot/github-code
baba9fe3f400861901df1b1a45a01878933424fccffcc8d0665f3a481b15eae0
import game import pygame from pygame.locals import * class Resources: <<<<<<< HEAD def cambiar(self,imagen): sheet = game.load_image(imagen) rects = [pygame.Rect(112,2,26,40), pygame.Rect(112,2,26,40), pygame.Rect(112,2,26,40), pygame.Rect(4,4,30,...
Python
resources.py
cangothic/2D-Platformer
mit
2,891
84
codeparrot/github-code
6b2a5e2d5db53598e344852e4868742f24419e3df20ceb30f0616f5f9e278416
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>euler-formula: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.m...
HTML
clean/Linux-x86_64-4.07.1-2.0.6/released/8.13.0/euler-formula/8.10.0.html
coq-bench/coq-bench.github.io
mit
7,307
176
codeparrot/github-code
5278a68428c634ef1d9daac5418d621cb30e2e58ef90e5a4fe0bc21120488012
--- layout: default --- <div class="container"> <div class="column units-2"> <div id="overview" class="masthead section"> <p class="masthead-text">A lightweight HTML &amp; CSS base layer for mobile-first web development</p> <p class="hide-mobile">Chassis provides you with base CSS and HTML files to j...
HTML
index.html
connors/chassis
mit
25,981
669
codeparrot/github-code
f7e850b7e14c7f7742fdbd0f7df76690b5236c2154c37ae574faace9ea8514cd
package commandParsing.exceptions; import gui.factories.ErrorFactory; import java.util.HashMap; import java.util.Map; import drawableobject.DrawableObject; public class RunTimeDivideByZeroException extends SLOGOException { private static final long serialVersionUID = 1L; public RunTimeDivideByZeroException...
Java
src/commandParsing/exceptions/RunTimeDivideByZeroException.java
akyker20/Slogo_IDE
mit
1,002
39
codeparrot/github-code
20e39b8f1adcc308adfed0b1b457b3bed749a39c465a1c971097e7279c3a3a8c
using System; using System.Collections.Concurrent; using System.Threading; using System.Threading.Tasks; namespace Unicorn { /// <summary> /// /// </summary> /// <see cref="http://blogs.msdn.com/b/pfxteam/archive/2012/02/11/10266932.aspx"/> public class AsyncBarrier { private readonly...
C#
Library/Unicorn.Shared/Threading.Tasks.Synchronize/AsyncBarrier.cs
FatJohn/UnicornToolkit
mit
1,351
44
codeparrot/github-code
3231df8cf2f3f77a0aa745938e41e9b9191bde502ae5714fe65b434a0d2fc311
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>metacoq-translations: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../boot...
HTML
clean/Linux-x86_64-4.02.3-2.0.6/released/8.9.0/metacoq-translations/1.0~alpha1+8.8.html
coq-bench/coq-bench.github.io
mit
7,586
179
codeparrot/github-code
0073af3cc4a4ac8ae6802499d56448d4b4431d91cb73d7dc98f9af2538139799
<?php /** * Spiral Framework. Scaffolder * * @license MIT * @author Anton Titov (Wolfy-J) * @author Valentin V (vvval) */ declare(strict_types=1); namespace Spiral\Scaffolder\Declaration; use Spiral\Console\Command; use Spiral\Reactor\ClassDeclaration; use Spiral\Reactor\DependedInterface; class CommandDec...
PHP
src/Declaration/CommandDeclaration.php
spiral-modules/scaffolder
mit
1,520
64
codeparrot/github-code
01b104295f72603104abae41231653adf6d41f361d77995458cb70f9dff64a3e
#!/usr/bin/env ruby dir = File.expand_path(File.dirname(__FILE__)) $: << dir unless $:.include?(dir) require 'switchy' class Sparky attr_accessor :passed, :failed, :pending @@run_pins = [[Switchy::PINS::C4, Switchy::PINS::C2], [Switchy::PINS::C5, Switchy::PINS::D0 ]] @@fail_pins = [[Switchy::PINS::C6, Switchy...
Ruby
lib/sparky.rb
dbrady/switchy
mit
2,796
131
codeparrot/github-code
501683bdb4d6465f27af6f82d7495359555832766b590a82699e4b4b2eaf407c
#include "masternodemanager.h" #include "ui_masternodemanager.h" #include "addeditadrenalinenode.h" #include "adrenalinenodeconfigdialog.h" #include "sync.h" #include "clientmodel.h" #include "walletmodel.h" #include "activemasternode.h" #include "masternodeconfig.h" #include "masternodeman.h" #include "masternode.h" ...
C++
src/qt/masternodemanager.cpp
transferdev/Transfercoin
mit
13,652
367
codeparrot/github-code
c0805898fe43eb952624717a15f322b546fe16b387fa8e568ea2bf90a157fde7
package chapter22 import java.awt._ import java.awt.event._ import javax.swing._ import scala.util.continuations._ /* The example in Section 22.8, “Undoing Inversion of Control,” on page 329 is a bit unsightly — the application programmer sees the reset statement. Move reset from the run method to the button listene...
Scala
scala/scala-for-the-impatient/src/main/scala/chapter22/Exercise4.scala
vsuharnikov/books-exercises
mit
1,854
82
codeparrot/github-code
5e26b1d84c3a9f936e736d7aec405e56eab8ed93c72f7de2cc4bedce44245c4f
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>finger-tree: 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.10.0/finger-tree/8.7.0.html
coq-bench/coq-bench.github.io
mit
6,977
166
codeparrot/github-code
404dc6532bc0455aabc5a97d761259feb42eb9a7ca5f8217308cc5082f70f053
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>infotheo: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
HTML
clean/Linux-x86_64-4.06.1-2.0.5/extra-dev/dev/infotheo/0.0.1.html
coq-bench/coq-bench.github.io
mit
7,404
182
codeparrot/github-code
e766ea3903bf2ec1ed524fbfb506609d086d8be21c50a6376b16cab4a36a61c0
#include "PMDGWrapper.h" static enum DATA_REQUEST_ID { DATA_REQUEST, CONTROL_REQUEST, AIR_PATH_REQUEST }; static enum EVENT_ID { EVENT_SIM_START, // used to track the loaded aircraft }; HANDLE hSimConnect = NULL; byte bQuit=false; PMDG_NGX_Data sPmdgData; int iPmdgUpdated=0; PMDG_NGX_Control sControl; void(__st...
C++
Windows/PMDGWrapper/PMDGWrapper.cpp
maciekish/SimInterface
mit
5,917
228
codeparrot/github-code
f7300e9f19a2380ddd3e2017207b93c92cc5f9a87f2b93f395313e216e49f907
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>fcsl-pcm: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
HTML
clean/Linux-x86_64-4.08.1-2.0.5/released/8.8.1/fcsl-pcm/1.1.1.html
coq-bench/coq-bench.github.io
mit
7,393
180
codeparrot/github-code
d7f14e55b8e1196c34274cc91fcedae562e09c04e9ccb202e4993351490586a4
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>zsearch-trees: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.m...
HTML
clean/Linux-x86_64-4.13.1-2.0.10/released/8.13.0/zsearch-trees/8.5.0.html
coq-bench/coq-bench.github.io
mit
7,060
165
codeparrot/github-code
45aa0314b639de240ad5d520955ada05c385fe13602fda0add0a1069ad2b0689
package openssl import ( "fmt" "io/ioutil" "os/exec" "regexp" log "github.com/cihub/seelog" ) type CSR struct { //path string //key string content []byte contentKey []byte } func (o *Openssl) LoadCSR(filename, keyfile string) (*CSR, error) { var err error o.Init() filename = o.Path + "/" + filenam...
GO
csr.go
stamp/go-openssl
mit
2,332
121
codeparrot/github-code
d6ed4ea349851bfde84cd44a0844e0ab877431688222fb26a31f7f0fd2e6685d
#include "pipeline_builder.hpp" #include "pipeline_state.hpp" #include "shader.hpp" #include "shader_signature.hpp" #include "constants.hpp" #include "../Common/texture_formats_common.hpp" #include <set> #include <algorithm> namespace AgpuGL { void processTextureWithSamplerCombinations(const std::set<TextureWithSampl...
C++
implementations/OpenGL/pipeline_builder.cpp
ronsaldo/abstract-gpu
mit
16,588
480
codeparrot/github-code
4dd005321c32045df3c8e085bce73ca17de9d112165bffa028b8d1acef99e908
module Y2017.M03.D16.Solution where import Data.Maybe (fromMaybe) import Data.Set (Set) import qualified Data.Set as Set -- below imports available from 1HaskellADay git respository import Analytics.Theory.Number.Prime import Y2017.M03.D15.Solution (uniqueValuesUpTo) {-- So, yesterday, when we solved the Exercise ...
Haskell
exercises/HAD/Y2017/M03/D16/Solution.hs
geophf/1HaskellADay
mit
2,693
95
codeparrot/github-code
e316b732ae4f39ad5538c8b9025fb7d9b7e3fc63a1fd7e5baf9e7a3a427d9ebf
<!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.04.2-2.0.5/released/8.8.0/ramsey/8.7.0.html
coq-bench/coq-bench.github.io
mit
8,449
195
codeparrot/github-code
11945dba9dfb88d28bcbac9074975de90d2a9496ea24ea352bc510a05d1e735b
import { NgModule } from '@angular/core'; import { NgbdSharedModule } from '../../shared'; import { ComponentWrapper } from '../../shared/component-wrapper/component-wrapper.component'; import { NgbdComponentsSharedModule, NgbdDemoList } from '../shared'; import { NgbdApiPage } from '../shared/api-page/api.component';...
TypeScript
demo/src/app/components/tabset/tabset.module.ts
benouat/ng-bootstrap
mit
4,096
104
codeparrot/github-code
be1c4c181800b70c49b52433c59e23e3ba6b20cbc8db68f03c413435a197a1c5
/* Copyright (c) 2009-2010 Satoshi Nakamoto Copyright (c) 2009-2012 The Bitcoin developers Copyright (c) 2013-2014 The StealthCoin/StealthSend Developers */ /* Copyright (c) 2014-2015, Triangles Developers */ /* See LICENSE for licensing information */ #include "anonymize.h" #include "util.h" #include <boost/fi...
C++
src/tor/anonymize.cpp
wurstgelee/triangles
mit
1,239
61
codeparrot/github-code
603f54962aef6ef03b57758282ad115ba835129fb8aff46bc0f83a196140e2b2
#ifndef F_CPU #define F_CPU 1000000UL #endif #define USART_BAUDRATE 4800 #define BAUD_PRESCALE (((F_CPU/(USART_BAUDRATE*16UL)))-1) #include <avr/io.h> #include <avr/interrupt.h> #include <ctype.h> #include <math.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <util/delay.h> ...
C
atm.c
EliHar/mr_robot
mit
6,832
335
codeparrot/github-code
45ff1edabda7922d77d5b3104bd73f2ef45f4aab8f63c8ea472f0023ba206672
package com.example.stream.eb.database; import android.content.Context; import org.greenrobot.greendao.database.Database; /** * Created by StReaM on 8/20/2017. */ public class DatabaseManager { private DaoSession mDaoSession = null; private UserProfileDao mDao = null; private DatabaseManager() { ...
Java
stream-eb/src/main/java/com/example/stream/eb/database/DatabaseManager.java
streamj/JX
mit
1,027
45
codeparrot/github-code
0543efe3115ca245bada9a3a3b86e97f55b255d64836113d65c36cea7aca188f
using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using System.Net; using System.Reflection; using System.Threading; using System.Windows.Forms; using CM3D2.MaidFiddler.Hook; using CM3D2.MaidFiddler.Plugin.Gui; using CM3D2.MaidFiddler.Plugin.Utils; using ExIni; u...
C#
CM3D2.MaidFiddler.Plugin/MaidFiddler.cs
denikson/CM3D2.MaidFiddler
mit
19,157
490
codeparrot/github-code
0f78205bcab8b10a0d9d89989a8df37564b238bfa60734eb71bbcba0dc7c4f0b
import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import pluralize from 'common/utils/pluralize'; import search from './actions'; import { selectSearchResultIds, selectIsSearching, selectIsSearchComplete } from './selectors'; import Element from 'com...
JavaScript
app/features/search/SearchResults.js
Kaniwani/KW-Frontend
mit
1,946
65
codeparrot/github-code
479ec38c7203ebdc798e0d52850aa82de52566e84fd0697235cc7f2b8f4ab125
import { toTitleCase } from 'utils'; export default values => { let newValues = { ...values }; // Add a sourceType if no source (i.e. not scraped) and no sourceType if (!newValues['source'] && !newValues['sourceType']) { newValues['sourceType'] = 'user'; } switch (newValues['sourceType']) { case 'u...
JavaScript
frontend/src/components/recipes/edit/components/Step2/normalize.js
jf248/scrape-the-plate
mit
1,006
46
codeparrot/github-code
ae3f3967d02647135ff089e35277a8647e570a6054f1a65ad1ffb2dc6ff512d8
<?php /* TwigBundle:Exception:exception.xml.twig */ class __TwigTemplate_c061faeee9972f62acf4e273a452348269cc8ddb828f259c5646b0d6695496f7 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = arra...
PHP
app/cache/dev/twig/c0/61/faeee9972f62acf4e273a452348269cc8ddb828f259c5646b0d6695496f7.php
sachin-agarwal-aws/master
mit
2,560
70
codeparrot/github-code
a74d977a8c3a5e013a4912e09e58a9010c5cf74c6712aa76fbb276c60a6370cb
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>schroeder: 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.12.1/schroeder/8.5.0.html
coq-bench/coq-bench.github.io
mit
7,035
169
codeparrot/github-code
22dd490ca1c0c52cf283df2fda6dc72e693fb68959e9e02924682eebd1189318
pinion.backend.renderer.CommentRenderer = (function($) { var constr; // public API -- constructor constr = function(settings, backend) { var _this = this, data = settings.data; this.$element = $("<div class='pinion-backend-renderer-CommentRenderer'>...
JavaScript
modules/comment/backend/js/CommentRenderer.js
friedolinfoerder/pinion
mit
2,871
86
codeparrot/github-code
6e7b3e1a9be0b5ba5223a3a1e5be8743ffef511466a22b85e385220fbcb0f13d
<?php namespace Headoo\DropboxHelper\AbstractClass; use Alorel\Dropbox\Response\ResponseAttribute; use Headoo\DropboxHelper\Exception\NotFoundException; /** * Class DropboxHelper * @package Headoo\CoreBundle\Helper */ class AbstractDropboxHelper extends AbstractExceptionMode { /** * @param array $aObjec...
PHP
src/AbstractClass/AbstractDropboxHelper.php
Headoo/DropboxHelper
mit
3,049
121
codeparrot/github-code
06a1373bbaa77854aae1fde89c198e69c7023c7ac2bf6c4da14bb0213dc09a54
namespace Company.App.Core.Controllers { using AutoMapper; using Company.App.Core.Contracts; using Company.App.Core.DTOs; using Company.Data; using System; using System.Linq; using Microsoft.EntityFrameworkCore; public class ManagerController : IManagerController { private ...
C#
DB Advanced/Company/Company.App/Core/Controllers/ManagerController.cs
radoikoff/SoftUni
mit
1,674
60
codeparrot/github-code
df73b87dbc5a0a10f23c97a6c114ffd19fb2761fdd2e95fb7f3f2c98527fbe2a
/* Copyright (c) 2004-2012, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojox.lang.functional.scan"]){ //_hasResource checks added by build. Do not use _hasResource directl...
JavaScript
htdocs/libs/dojo/release/geomoose2.6/dojox/lang/functional/scan.js
henry-gobiernoabierto/geomoose
mit
4,006
118
codeparrot/github-code
58d33c6e9e17dc81f5a1839c41e52877b4c52f238a53105bc8d9220af65ca673
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Copyright (c) 2013-2014 Bongger Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/foreach.hpp> #include...
C++
src/script.cpp
bongger-project/bongger
mit
66,774
1,982
codeparrot/github-code
d65fe3b3bd15ef4f0deae78e485dedb6dc69cb8770b8ea6e38a3108cf10ca3df
<!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.09.1-2.0.6/released/8.11.0/multiplier/8.10.0.html
coq-bench/coq-bench.github.io
mit
6,707
169
codeparrot/github-code
b97574b73f9847e3f842b480ae2a411fc3604666fce5f685ae039558eec7b919
'use strict'; /* jasmine specs for directives go here */ describe('directives', function () { beforeEach(module('myApp.directives')); describe('app-version', function () { it('should print current version', function () { module(function ($provide) { $provide.value('version...
JavaScript
test/unit/directivesSpec.js
reverocean/draggable
mit
1,766
58
codeparrot/github-code
f1904ed2c9ddd01b64674e323576896fe1c9a9cf50706ed6855f72ffdd70b62c
<?php namespace LimeTrail\Bundle\Command; use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Validator\Exception\UnexpectedType...
PHP
src/LimeTrail/Bundle/Command/ScrapeChangesCommand.php
RhaLabs/ProjectManagement
mit
9,680
281
codeparrot/github-code
4081c09c902837db86a454538e2c42ccf4fb2cca8f9d666462cd2cd18c35aa37
const https = require('https') const cookie = require('cookie'); var exports = module.exports = {} exports.getResponseHeaders = function(httpOptions, formData) { if (formData) { httpOptions.headers = formData.getHeaders() } return new Promise((resolve, reject) => { const request = https.request(httpOp...
JavaScript
services.js
mathieupouedras/booker
mit
1,128
40
codeparrot/github-code
ef8273e9e95aa77cfce3b920f0e35dabfa0165e0050f4d47b383502eaed9da47
'use strict'; /** * Developed by Engagement Lab, 2019 * ============== * Route to retrieve data by url * @class api * @author Johnny Richardson * * ========== */ const keystone = global.keystone, mongoose = require('mongoose'), Bluebird = require('bluebird'); mongoose.Promise = require('bluebird'); let...
JavaScript
website/server/routes/api/stories.js
engagementgamelab/hygiene-with-chhota-bheem
mit
2,859
124
codeparrot/github-code
98105e865aa35cab262d5b40c4d270a51212b25b7f48e0e008f34e88a84691d4
import React from 'react'; import Sortable from '../../src/'; import DemoItem from '../components/DemoItem'; export default class Dynamic extends React.Component { constructor() { super(); this.state = { arr: [998, 225, 13] }; } handleSort(sortedArray) { this.setState({ arr: sortedAr...
JavaScript
demo/pages/dynamic.js
jasonslyvia/react-anything-sortable
mit
1,497
62
codeparrot/github-code
02817f814201d86ce0d2c527ac49fa3ffe1a624091e59a2fed8ee6fd13cac997
// // AKPeakingParametricEqualizerFilterDSPKernel.hpp // AudioKit // // Created by Aurelius Prochazka, revision history on Github. // Copyright (c) 2016 Aurelius Prochazka. All rights reserved. // #ifndef AKPeakingParametricEqualizerFilterDSPKernel_hpp #define AKPeakingParametricEqualizerFilterDSPKernel_hpp #impo...
C++
AudioKit/Common/Nodes/Effects/Filters/Peaking Parametric Equalizer Filter/AKPeakingParametricEqualizerFilterDSPKernel.hpp
dclelland/AudioKit
mit
4,836
188
codeparrot/github-code
f5fabd4ad3a37ebbbfcbd2682a063d09d730cf3003d48dd2ae1de89db06f0639
import expect from "expect"; import { Collection } from "./Collection"; import { Server } from "./Server"; describe("Collection", () => { describe("constructor", () => { it("should set the initial set of data", () => { const collection = new Collection([ { id: 1, name: "foo" }, { id: 2, nam...
JavaScript
src/Collection.spec.js
marmelab/FakeRest
mit
28,068
805
codeparrot/github-code
687f1a562f371fed2cae4e426a470c7cd9b1c7da1de37364e74394cba7efe320
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Data; using System.Globalization; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Deployment.Common.Actions; using Microsoft.Deployment.Common.ActionModel; using Microsoft.Depl...
C#
Source/Actions/Microsoft.Deployment.Actions.Salesforce/ADFSliceStatus.cs
MattFarm/BusinessPlatformApps
mit
5,348
116
codeparrot/github-code
dd2fd2ebcc77cb75680ca273eebdcb55952cfcffbd281dd971b174dd21cceac4
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>fsets: 4 m 24 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.04.2-2.0.5/released/8.7.1+2/fsets/8.7.0.html
coq-bench/coq-bench.github.io
mit
13,841
232
codeparrot/github-code
20c6ecce5e59a049afc4f8b62aaf320e10c6214a9665ce5e7cebb01614d9bd3d
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>simple-io: 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/simple-io/1.0.0.html
coq-bench/coq-bench.github.io
mit
7,272
181
codeparrot/github-code
9428ad5232117b9065a30d0770c20364ecf785e4c51fb1109be285b419be804a
<?php /** This file is part of KCFinder project * * @desc Uploader class * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 * @license http://...
PHP
baked/app/webroot/js/kcfinder/core/uploader.php
win-k/CMSTV
mit
24,580
651
codeparrot/github-code
881e5bb87d4fdd61016a211698de2f28d24e500659742d01d7adad9ad753378a
package main import ( "encoding/json" "fmt" "io/ioutil" "log" "net/http" "os" "path" "strconv" "strings" "time" ) const ( COURSE_BASEURL = "http://www.pluralsight.com/courses/" COURSEDATA_BASEURL = "http://www.pluralsight.com/data/course/content/%s" ) /* Individual course modules */ type CourseModule...
GO
courseinfo.go
danesparza/psproxy
mit
3,987
149
codeparrot/github-code
1d71ecf1b2c16f0fc68a8b7a78b8cd922069882fcc0db7f40bdfee759db5d226
/* * This file is part of the Micro Python project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2015 Rob Fowler * * 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 Softw...
C
esp8266/mod_esp_wifi_events.c
mianos/micropython
mit
6,341
157
codeparrot/github-code
2c1d3f5a37b2bb4a504d0a9652632eb8d8dead858f86d37abead779a56a1f846
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-multinomials: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../boo...
HTML
clean/Linux-x86_64-4.02.3-2.0.6/released/8.9.1/mathcomp-multinomials/1.5.5.html
coq-bench/coq-bench.github.io
mit
7,530
174
codeparrot/github-code
20b9707a49b430dfc92f56afe120cc95f3037f0833aae992fdd1fef99d296fb1
/* ******************************************************* * Released under the MIT License (MIT) --- see LICENSE * Copyright (c) 2014 Ankit Singla, Sangeetha Abdu Jyothi, * Chi-Yao Hong, Lucian Popa, P. Brighten Godfrey, * Alexandra Kolla, Simon Kassing * ******************************************************** *...
Java
src/main/java/ch/ethz/topobench/graph/patheval/generators/NeighborPathEvaluatorGenerator.java
ndal-eth/topobench
mit
1,132
33
codeparrot/github-code
3c977d1499bc54480db2dff61db1053842f220d794fed402aca907f942d2a49e
import * as React from 'react' const invariant = require('invariant'); import {ListMainInfoLeft} from "./ListMainInfoLeft"; import {ListMainInfoDescription} from "./ListMainInfoDescription"; import {ListAdditionalInfo} from "./ListAdditionalInfo"; import {ListAdditionalInfoStacked} from "./ListAdditionalInfoStacked"; ...
TypeScript
src/view/list/ListMainInfo.tsx
idimaster/patternfly-react
mit
2,631
74
codeparrot/github-code
ac73d8f2517612f02c5803d741c3f2f559b4af125c672f8f18736930f9f261ba
require 'base64' require 'encryptor' require 'sidekiq-field-encryptor/version' module SidekiqFieldEncryptor class Base def initialize(options = {}) @encryption_key = options[:encryption_key] @encrypted_fields = options[:encrypted_fields] || {} end def assert_key_configured fail 'Encryp...
Ruby
lib/sidekiq-field-encryptor/encryptor.rb
blakepettersson/sidekiq-field-encryptor
mit
1,871
65
codeparrot/github-code
e0dfaefdb3c0141e5be71edfebdf25210b93db52a59754e7af38e95a2e04f599
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>cats-in-zfc: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
HTML
clean/Linux-x86_64-4.05.0-2.0.6/released/8.5.0/cats-in-zfc/8.8.0.html
coq-bench/coq-bench.github.io
mit
7,323
168
codeparrot/github-code
54f664494c7a2901987e6cc3c43db85a507c634f92fd483b68a0ff340048c032
<!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/codetitans-core.1.8.3/CodeTitans.Core-net20.html
kuhlenh/port-to-core
mit
49,133
1,093
codeparrot/github-code
f4616c42edfd7cb0e2d1f0e11b5848d603f8e7282dfeeb07c2bdde3e550688d8
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>prfx: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel=...
HTML
clean/Linux-x86_64-4.12.0-2.0.8/released/8.14.0/prfx/8.8.0.html
coq-bench/coq-bench.github.io
mit
7,196
176
codeparrot/github-code
58f6742383923239a4b86181723b90dad7e99a5e0c2f1376739cd431de5aca56
#!/usr/bin/env python # -------------------------------------------------------- # Test regression propagation on ImageNet VID video # Modified by Kai KANG (myfavouritekk@gmail.com) # -------------------------------------------------------- """Test a Fast R-CNN network on an image database.""" import argparse import...
Python
tools/propagate/sequence_roi_gt_propagation.py
myfavouritekk/TPN
mit
3,197
94
codeparrot/github-code
eabdc032dbe3d4b30d62a6ffbe2de6f5db11d6caffbc27a25662a4aa91a943e9
$(function() { var FADE_TIME = 150; // ms var TYPING_TIMER_LENGTH = 400; // ms var COLORS = [ '#e21400', '#91580f', '#f8a700', '#f78b00', '#58dc00', '#287b00', '#a8f07a', '#4ae8c4', '#3b88eb', '#3824aa', '#a700ff', '#d300e7' ]; // Initialize variables var $window = $(window); var $usernameInp...
JavaScript
client/src/components/chatview/mainSocket.js
garrulous-gorillas/garrulous-gorillas
mit
7,604
282
codeparrot/github-code
73a86d5f9ecec2c2ccf5d2570e85861d7f325f8ae3f2c3b669d992a4271e28e0
/* * Author: doe300 * * See the file "LICENSE" for the full license governing this code. */ #ifndef VC4C_CACHE_ENTRY_H #define VC4C_CACHE_ENTRY_H #include "../Optional.h" #include "../Types.h" #include "../tools/SmallSet.h" #include <string> namespace vc4c { namespace intermediate { struct Memor...
C
src/periphery/CacheEntry.h
doe300/VC4C
mit
1,732
53
codeparrot/github-code
1088b87a7db2af88a4cf98ea219903c9aa239aad7e434d891d696a438f24c959
/* ############################################################################ Name : shadings.c University : University of Edinburgh Project : Practical 1, Computer Graphics Student : Stavros Vagionitis(s0954319) Description : Implements 3D shadings Procedure De...
C
shadings.c
svagionitis/CGShading
mit
17,342
514
codeparrot/github-code
56c13c3c6e38dc5074df5ed2e6060e54f6b006c368728c36e3d1756df26b351d
<!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" rel...
HTML
clean/Linux-x86_64-4.11.1-2.0.7/released/8.13.0/jsast/1.0.7.html
coq-bench/coq-bench.github.io
mit
7,153
180
codeparrot/github-code
3d86474f18a1cbd912a4de2141f2814020ecb1bf90a540a6f790db10c572c509
#!/bin/bash online="Online" offline="Offline" remotePort="2223" remoteHost="localhost" remoteUser="" remoteIP="" localPort="22" checarInternet(){ wget -q --spider http://google.com if [ $? -eq 0 ]; then echo "Online" isAvailable="Online" else ...
Shell
tunnelssh.sh
rafavg77/real-persistent-ssh-reverse-tunnel
mit
1,223
50
codeparrot/github-code
7bf3ca3938930c944b33c193bd0a16e461f01ccd00638bd0cd932239412c3e8d
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>matrices: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
HTML
clean/Linux-x86_64-4.09.0-2.0.5/extra-dev/dev/matrices/8.8.0.html
coq-bench/coq-bench.github.io
mit
7,549
177
codeparrot/github-code
08553446f31063362af0a26ffa94db65b444b9ffc20abf81a0d37a9657a80a0c
var Imap = require('imap'), MailParser = require('mailparser').MailParser, moment = require('moment') util = require('util'), events = require('events'); var SimpleImap = function(options) { this.options = options; this.imap = null; this.start = function() { if (this.imap === null) { this.imap = new Imap...
JavaScript
simple-imap.js
iwanjunaid/simple-imap
mit
2,114
102
codeparrot/github-code
11db031d6b1dfd3ef2a35e2d00bff1a8f02d94774d371e60a2451a6dc218e964
<?php namespace App\Http\Controllers\Admin; use GuzzleHttp\Psr7\Response; use Illuminate\Http\Request; use App\Http\Requests; use App\Models\Review; use App\Http\Requests\Review\UpdateRequest; use Auth; use App\Models\Product; class ReviewsController extends AdminController { /** * Display a listing of the ...
PHP
app/Http/Controllers/Admin/ReviewsController.php
radar-tov/radar.com.ua-5.4
mit
3,705
153
codeparrot/github-code
dd242e6455fefb9459e1ab9ece1cbe67a89409cfcf70cb5c5ac729cb942cf6d3
var app = angular.module('AtWork', [ 'atwork.system', 'atwork.users', 'atwork.posts', 'atwork.streams', 'atwork.chats', 'atwork.activities', 'atwork.notifications', 'atwork.settings', 'ngMaterial']); app.controller('AppCtrl', [ '$scope', '$route', '$rootScope', '$mdSidenav', '$mdB...
JavaScript
public/app.js
richh93/atwork
mit
3,244
121
codeparrot/github-code