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 |
|---|---|---|---|---|---|---|---|---|
2ba881fb3db3c94ef70a3a62755e2ac745bc5b447e715273851d530a7c1250b0 | import utils
import operation_registry
import operation_wrappers.base_wrappers as base_wrappers
import types
import exceptions
from protectron import protectron
@utils.doublewrap
def register_operation(func, operation_wrapper=base_wrappers.LocalOperation):
if isinstance(operation_wrapper, types.ClassType):
... | Python | ratatoskr/__init__.py | hkrist/ratatoskr | mit | 843 | 31 | codeparrot/github-code |
2831baf73959d8b5cc06b2a0eae048bcd0a3a68bf0b0240adf4215e6adf50cce | ;(function($, window, document, undefined) {
"use strict";
var PLUGIN_NAME = 'shollu_cb',
PLUGIN_VERSION = '1.0.1',
PLUGIN_OPTIONS = {
source: function(term, response){},
onSelect: function(rowData){},
onChange: function(rowData){},
style: 'bs3',
menu_type: 'normal', // iscroll (in... | JavaScript | app1/templates/backend/adminlte/plugins/shollu-combobox/js/shollu_cb.js | antho-firuze/ci_hdgroup | mit | 17,852 | 673 | codeparrot/github-code |
e4c30015a660d23b26bfcf3ce5cde98784e2ea6fbc6bf598d5afb02d2fe634cc | require 'much-plugin'
require 'dumpdb/version'
require 'dumpdb/settings'
require 'dumpdb/db'
require 'dumpdb/runner'
module Dumpdb
include MuchPlugin
plugin_included do
extend ClassMethods
include InstanceMethods
def self.inherited(subclass)
subclass.settings = self.settings
end
end
... | Ruby | lib/dumpdb.rb | redding/dumpdb | mit | 2,881 | 95 | codeparrot/github-code |
eb212c841e5a165afe5e793744df25d1510510c90c8fc0027d2f3633c3d28165 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Open Knowledge">
<meta name="description" content="The Global Open Data Index assesse... | HTML | place/dominican-republic/elections/2013/index.html | okfn/opendataindex-2015 | mit | 8,186 | 180 | codeparrot/github-code |
4ba695d7fd9e5631cb9c3ba676e9599992af551c8f4e901117cb40d81195d30b | #!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
local source="${BUILT_PRODUCTS_DIR}/Pods/$1"
local destination="${CONF... | Shell | MT_iOS/Pods/Target Support Files/Pods/Pods-frameworks.sh | padawan/smartphone-app | mit | 2,987 | 70 | codeparrot/github-code |
5610be287b96b5434b770fc83cb5b288f46269c4996f31a1354ed0761f87e73b | // This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
/* DelNode.cs --
* Ars Magna project, http://arsmagna.ru
* -------------------------------------------------------
* Status: poor
*/
#region Using direc... | C# | OldSource/Libs/ManagedIrbis/Source/Gbl/Infrastructure/Ast/GblDel.cs | amironov73/ManagedIrbis2 | mit | 2,686 | 121 | codeparrot/github-code |
58b2617e099d2723604079ed5c71b02f4046917c02f99f9091a2bd41e6e84972 | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "main.h"
#include "bitcoinrpc.h"
using namespace json_spirit;
using namespace... | C++ | src/rpcblockchain.cpp | codecvlc/amerios | mit | 8,482 | 271 | codeparrot/github-code |
a9629f010d8b1d817a918ca6a3987dfcb536d9a5ee2f1b12d27d352fbd906c62 | /*
* Copyright (c) 2012-2019 Israel Jacquez
* See LICENSE for details.
*
* Israel Jacquez <mrkotfw@gmail.com>
*/
#include <cpu/cache.h>
#include <cpu/instructions.h>
#include <vdp1/cmdt.h>
#include <vdp1/vram.h>
#include <assert.h>
#include <math.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
... | C | libyaul/scu/bus/b/vdp/vdp1_cmdt.c | ijacquez/libyaul | mit | 2,957 | 127 | codeparrot/github-code |
e5da4124c60639cecd3c7ce5ac91c1977b04553c30a3682a4cf92d0e07098002 | /*
In App.xaml:
<Application.Resources>
<vm:ViewModelLocator xmlns:vm="clr-namespace:EVEBotis"
x:Key="Locator" />
</Application.Resources>
In the View:
DataContext="{Binding Source={StaticResource Locator}, Path=ViewModelName}"
You can also use Blend to do all this with ... | C# | EVEBotis/EVEBotis/ViewModel/ViewModelLocator.cs | rosudrag/EVEBotis | mit | 1,909 | 65 | codeparrot/github-code |
2daf1acbba4d2e4dbbfb427c587aa636ba7ef2a5ce303e2bd9b5e9dab701885f | var esprima = require('esprima');
var async = require('async');
// Index containing all relevant node types and a helper method returning the
// specific node's child nodes (if any). For a full specification of all node
// types, see https://developer.mozilla.org/en-US/docs/SpiderMonkey/Parser_API#Node_objects
var Nod... | JavaScript | lib/scanner.js | squarewolf/node-neuter | mit | 5,363 | 298 | codeparrot/github-code |
6549accd3c9e5cd30863df3bf54e36cc647df5c4be593365034a9d81e6814de7 | // references: https://github.com/request/request#http-authentication
// https://www.npmjs.com/package/grunt-http
module.exports = function(grunt) {
require('grunt');
var config_file_name = 'config.json';
var auth_file_name = 'auth.json';
var config = { auth: {} };
if ( grunt.file.e... | JavaScript | Gruntfile.js | SteveRhoadsCA/revamped-validation-app | mit | 13,773 | 382 | codeparrot/github-code |
458aa1d5bbab6416a38679be2999f522933596904f2528671b2cfb9b0aa3ef24 | import React, { Component } from 'react';
import ReactDOM from 'react-dom';
let lastWaitTimer = undefined;
const wait = (testFunc, launchFunc) => {
if(lastWaitTimer){
clearTimeout(lastWaitTimer);
lastWaitTimer = undefined;
}
if(!testFunc()){
lastWaitTimer = setTimeout(() => { wait(testFunc, launchFunc); }, 30... | JavaScript | src/components/DeskIframe/index.js | hentaijun/LEGO | mit | 945 | 37 | codeparrot/github-code |
45878ea8a17454cd3cdf0dbb76df9007f2d7771d199247d392fb4a948e1cdc4e | package ca.cb.cc.cv.adapter;
import ca.cb.cc.cv.R;
import ca.cb.cc.cv.model.NavDrawerItem;
import java.util.List;
import android.app.Activity;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android... | Java | src/ca/cb/cc/cv/adapter/NavDrawerListAdapter.java | zsniper/CougarVision | mit | 2,142 | 70 | codeparrot/github-code |
9fc1fb4e910dd4bca52c302bdefd93fee399a92881b9e86f631ff2cfa68b5b5f | import React, { Component } from 'react';
import {BrowserRouter, Route, NavLink} from 'react-router-dom';
import logo from './logo.svg';
import './App.css';
import Account from './containers/account';
import Products from './containers/products';
import Home from './containers/home';
import ContactForm from './containe... | JavaScript | conference-management-system-front-end/src/App.js | Kokosowys/conference-management-system | mit | 5,693 | 153 | codeparrot/github-code |
0639119b996e92ebb8dee8e42fc2e53e9ea22df7e5af55bdbb18a823581cacd9 | import React, { Component } from 'react'
import PropTypes from 'prop-types'
import colorbrewer from '@src/data/colorbrewer'
import { grey300 } from '@src/styles/colors'
import ColorPallete from './ColorPallete'
const multihueSchemes1 = ['BuGn', 'BuPu', 'GnBu', 'OrRd', 'PuBu', 'PuBuGn']
const multihueSchemes2 = ['PuR... | JavaScript | src/pages/Editor/pages/MapEditor/pages/EditMap/containers/MapEditor/components/ColorSchemePicker.js | caspg/datamaps.co | mit | 1,874 | 67 | codeparrot/github-code |
a83da52a811562c14625b21a90ec318bf91c360e8ba53e212461217f923afd0e | from . import graph
import tensorflow as tf
import sklearn
import scipy.sparse
import numpy as np
import os, time, collections, shutil
#NFEATURES = 28**2
#NCLASSES = 10
# Common methods for all models
class base_model(object):
def __init__(self):
self.regularizers = []
# High-level interface wh... | Python | projects/reports/arab_springs/lib/models.py | mdeff/ntds_2017 | mit | 40,998 | 975 | codeparrot/github-code |
6d195f7ac05447cbcd232978526d7e5b7b1c2cd5adfdb03dbaa9ccec6cd726ba | // -*- mode: c; tab-width: 4; indent-tabs-mode: 1; st-rulers: [70] -*-
// vim: ts=8 sw=8 ft=c noet
/*
* Copyright (c) 2015 Pagoda Box Inc
*
* This Source Code Form is subject to the terms of the Mozilla Public License, v.
* 2.0. If a copy of the MPL was not distributed with this file, You can obtain one
* at http... | C | src/util/cmd.c | nanopack/redd | mit | 737 | 35 | codeparrot/github-code |
0e14ddb9b5a4f3dc577ba6dbacc54532a89c781179ff8f9ff96eaaed0df961fb | // Vex Flow Notation.
// Copyright Mohit Muthanna Cheppudira 2013.
// Implements clefs.
Vex.Flow.Clef = (function() {
function Clef(clef) {
if (arguments.length > 0) this.init(clef);
}
Clef.types = {
"treble": {
code: "v83",
point: 40,
line: 3
},
"bass": {
code: "v79",
... | JavaScript | src/clef.js | taiansu/vexflow | mit | 1,019 | 54 | codeparrot/github-code |
f28c04721dc73cc81854a8db0d7c3274ca699e2b4344df8dbabb691c23336e14 | var Actions = require("./flux/Actions");
var Store = require("./flux/Store");
var React = require('react');
var ReactDOM = require('react-dom');
var Home = React.createClass({
mixins : [Store.mixin],
getInitialState : function() {
return {
items : Store.getItems()
};
},
updat... | JavaScript | components/Home.js | gs-akhan/react-flux-example | mit | 990 | 36 | codeparrot/github-code |
be6b09d42f401e1449e4e6b36903239852ad1037dbcf316d4c2c683ff0d4cb0b | from .in_memory import InMemoryConnection
from .rabbit import RabbitMQConnection
async def connect(host="localhost", port=5672, broker="rabbit"):
'''
Create a connection object and then connect to a broker
:param host: the hostname of the broker you wish to connect to
:type host: str
:param port:... | Python | mooq/connect.py | jeremyarr/mooq | mit | 1,026 | 32 | codeparrot/github-code |
a3e588a1c9181c6b5b4c30ba9ccf8b1f5c550381d4c1476908f6c20552dc2563 | namespace Dealership.Common
{
using System;
using System.Text.RegularExpressions;
/// <summary>
/// Helper class for validate input data.
/// </summary>
public static class Validator
{
/// <summary>
/// Validate int if is in given range.
/// </summary>
... | C# | ProgrammingWithC#/03.C#ObjectOrientedProgramming/Exams/Dealership/Dealership/Common/Validator.cs | stoyanov7/TelerikAcademy | mit | 2,592 | 75 | codeparrot/github-code |
305efb7bf04040343d88b0796594a019dcf8bd0ddf2c54b3a909913ab6493c72 | /*
* Mac OS X ABI Mach-O File Format
*
* Copyright (C) 2007 Henryk Richter, built upon xdf objfmt (C) Peter Johnson
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code m... | C | external/src/yasm/modules/objfmts/macho/macho-objfmt.c | SLIBIO/SLib | mit | 59,447 | 1,621 | codeparrot/github-code |
18582ea3da0242d4daaf3d9d54632cb064bfb2feacefb7a32c3ac1e281ac97f5 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="shortcut icon" type="image/x-icon" href="../../../../... | HTML | google-play-services_lib/docs/reference/com/google/android/gms/fitness/data/Session.Builder.html | CMPUT301W15T05/TrackerExpress | mit | 51,774 | 1,695 | codeparrot/github-code |
fe7d3b69051d72246e9fdbe34111f5dc9ce6ca66b61c5f283d8ceef4346d2052 | import time
import numpy as np
from numpy import log, exp
from scipy.sparse import triu, csr_matrix
from scipy.special import gammaln
from scipy.stats import norm, lognorm
from .NCRMmcmc import NGGPmcmc
from .GGPgraphmcmc import tpoissonrnd
def MixGGPgraphmcmc(G, modelparam, mcmcparam, typegraph, verbose=True):
... | Python | sgp/MixGGPgraphmcmc.py | arongdari/sparse-graph-prior | mit | 7,905 | 210 | codeparrot/github-code |
6da72baf2749df1c20c5e80d3bfd6067107b7ad0edabdddf8a43413f3888290f | using System;
using FubeiDemoMvcApplication.Models.Result;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
namespace FubeiDemoMvcApplication.Controllers
{
public class NotifyController : FubeiApiBaseController
{
public NotifyController(ILoggerFactory loggerFa... | C# | FubeiDemoMvcApplication/Controllers/NotifyController.cs | hz-zentech/fubei-aspnetcore-demo | mit | 1,074 | 31 | codeparrot/github-code |
0f9c76b99d28ca5f26634d031b53f988a945a4c0d5673daf7554b7d110f8958c | package de.unistuttgart.iaas.chor.integration.event.registry.domain;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.JoinColu... | Java | eventRegistry/src/main/java/de/unistuttgart/iaas/chor/integration/event/registry/domain/MessageLinkInstanceEvent.java | chorsystem/middleware | mit | 1,993 | 83 | codeparrot/github-code |
b0655d3c776204a68324dadc069d78cb85cb4cbf85fc909a721f1d4c1e6f7068 | package com.asafge.newsblurplus;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import android.app.Activity;
import andro... | Java | NewsBlurPlus/src/com/asafge/newsblurplus/SendLogActivity.java | asafge/NewsBlurPlus | mit | 10,982 | 336 | codeparrot/github-code |
115056d6b53114134eaa04821e070500af2a417d910e8b2bb1062eac5f9d20ce | <?php
declare(strict_types=1);
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\NewsBundle\Mailer;
u... | PHP | src/Mailer/Mailer.php | sonata-project/SonataNewsBundle | mit | 4,217 | 142 | codeparrot/github-code |
88fb7846c1d67d9b0d473ce67009b23d2991d0d499a70ef323472f33a2ef6eb3 | using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
[CustomPropertyDrawer (typeof(EnumMaskAttribute))]
public class EnumMaskPropertyDrawer : PropertyDrawer
{
public override void OnGUI (Rect position, SerializedProperty property, GUIContent label)
{
if (SerializedPropertyType.Enum == property.propertyType) {... | C# | midiTestUnity/Assets/Foriero Store/Core/Foriero Engine/PropertyAttributes/EnumMask/EnumMaskAttribute.cs | touchtechio/starcatcher | mit | 1,878 | 58 | codeparrot/github-code |
11bb04accbb17208132c5280e609187d6ac9180692395bd37277eeff44a101a6 | <?php
namespace Star\AnnoncesBundle\Admin;
use Sonata\AdminBundle\Admin\Admin;
use Sonata\AdminBundle\Datagrid\ListMapper;
use Sonata\AdminBundle\Datagrid\DatagridMapper;
use Sonata\AdminBundle\Validator\ErrorElement;
use Sonata\AdminBundle\Form\FormMapper;
use Sonata\AdminBundle\Show\ShowMapper;
use Star\AnnoncesBund... | PHP | src/Star/AnnoncesBundle/Admin/DelegAdmin.php | anouerH/brm | mit | 1,558 | 64 | codeparrot/github-code |
734bed116c64bf18f562d97364281ce763c8c4893f0f01042d2a078afaa1adfa | import dill
import os
import sys
from quantile_ml import utils_categorical_ensembling
from sklearn.ensemble import RandomForestClassifier, RandomForestRegressor, ExtraTreesRegressor, AdaBoostRegressor, GradientBoostingRegressor, GradientBoostingClassifier, ExtraTreesClassifier, AdaBoostClassifier
from sklearn.linear... | Python | quantile_ml/utils_models.py | doordash/auto_ml | mit | 24,465 | 608 | codeparrot/github-code |
5cb6f81ab0e903daa3469ee355baab6d1f9386c614004fe10a9eedde22e3f268 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="zh-TW">
<head>
<title>æè²é¨ãæèªå
¸ã</title>
<meta http-equiv="Pragma" content="no-cache">
<meta name="AUTHOR" content="FlySheet Information Services, Inc.">
<meta h... | HTML | cw-data/0-999/CW0000000969.html | BuzzAcademy/idioms-moe-unformatted-data | mit | 16,250 | 326 | codeparrot/github-code |
f988362f989095e968594109091862e7196df2a029d7010063bfeb922781991a | module Neo4j
module Index
# == LuceneQuery
#
# This object is returned when you call the #find method on the Node, Relationship.
# The actual query is not executed until the first item is requested.
#
# You can perform a query in many different ways:
#
# ==== By Hash
#
# Exampl... | Ruby | lib/neo4j/index/lucene_query.rb | junegunn/neo4j | mit | 8,505 | 238 | codeparrot/github-code |
9a3600e0e779e22156a026d81d2a82d65255efdbaaa84d35053fcdf6a2d10b15 | var methods = require('methods')
var flatten = require('array-flatten')
var compose = require('koa-compose')
var Layer = require('./layer')
var extend = require('./extend')
/**
* Return the function execution stack or create a new one.
*
* @return {Array}
*/
function stack (self) {
return self._stack || (self._s... | JavaScript | lib/proto.js | blakeembrey/kroute | mit | 2,754 | 125 | codeparrot/github-code |
3a9e709e0e1a022c98bb42db0d770a15a0103c26dd4aa3c10cca40db78947d7c | const what3words = require('../../');
const validate = require('./validateGrid');
/* eslint import/no-extraneous-dependencies: ["error", {"devDependencies": true}] */
const expect = require('chai').expect;
const ERRORS = what3words.errors;
/* eslint no-console: "off" */
/* eslint no-unused-expressions: "off" */
de... | JavaScript | test/what3words/grid.spec.js | tsamaya/what3words-api-nodejs-client | mit | 2,935 | 110 | codeparrot/github-code |
efe96a43c4dcf2c3ac85592aad72d5df0d263d2bdce8e4b72eb0115df896b34c | import matplotlib.pyplot as plt
#stores information about laser structure
#saves refraction and electric field profiles in text and graphic form to HDD
class Laser:
refraction = []
field = []
gridX = []
gridN = []
field = []
def __init__(self, (wavelength, concentration, thickness... | Python | src/laserstructure.py | DQE-Polytech-University/Beamplex | mit | 3,771 | 92 | codeparrot/github-code |
34842b31a2b1af3f6ca918a271d39eed3e97511747ae542a0a90f2a691fe390b | package com.circuit.CircuitMod.Rendering.Items.EventSenders;
import com.circuit.CircuitMod.Rendering.Models.DefaultCircuitBlockModel;
import com.circuit.CircuitMod.Rendering.TileEntities.EventSenders.TileEntityRandomNumberComponentRender;
import com.circuit.CircuitMod.Utils.Ref;
import net.minecraft.client.Minecraft;
... | Java | src/main/java/com/circuit/CircuitMod/Rendering/Items/EventSenders/ItemRandomNumberComponentRender.java | tm1990/CircuitMod | mit | 2,172 | 64 | codeparrot/github-code |
400b57b3a22bcebce3a7b118f4a13891e9b1077085caf67540a3d44792c62d0f | <?php
/**
* This file is part of bit3/git-php.
*
* (c) Tristan Lins <tristan@lins.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* This project is provided in good faith and hope to be usable by anyone.
*
* @package bit3... | PHP | src/Command/CommandBuilderTrait.php | bit3/git-php | mit | 4,226 | 174 | codeparrot/github-code |
b0c8c9e257699d2c26c206ecbb7067878369c2efd87c829b6cfd47df03980a6f | /*
* @author Shardul Vikram, Aditya Kumar
*
* This file is distributed under the MIT License. See
* LICENCE.txt attached with this project or visit
* http://www.opensource.org/licenses/mit-license.php
* for terms and conditions.
*/
#include "MemoryMap.hpp"
#include <stdio.h>
//madvise(map_ptr,len,MADV_S... | C++ | MemoryMap/MemoryMap.cpp | hiraditya/fool | mit | 5,406 | 200 | codeparrot/github-code |
9d6d2b656f23963b136cfc0c06fd5a6e0c1e607fa68f5c7b70060195f257c3f9 | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
using System;
using System.Diagnostics;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Performance;
using osu.Game.Rulesets.Objects;
using ... | C# | osu.Game.Rulesets.Osu/Objects/Drawables/Connections/FollowPointLifetimeEntry.cs | peppy/osu-new | mit | 3,066 | 105 | codeparrot/github-code |
b3ac48f00103847039937d276256e770ae466d2aa810e8fedbfdcc2f1decc2fe | "use strict";
import * as vscode from "vscode";
import * as node from "../node";
import * as error from '../../error';
export interface IQuitCommandArguments extends node.ICommandArgs {
bang?: boolean;
range?: node.LineRange;
}
//
// Implements :quit
// http://vimdoc.sourceforge.net/htmldoc/editing.html#:q... | TypeScript | src/cmd_line/commands/quit.ts | edthedev/Vim | mit | 1,116 | 44 | codeparrot/github-code |
5f6bfc9a555910ab31b7b067586d9b39fc7f16cbdc408e05ab02a26917c70136 | /////////////////////////////////////////////////////////////////////////////////////
// //
// Copyright 2011-2013 NYU Polytechnic School of Engineering. //
// Copyright 2010-2011 University of Utah. ... | C++ | Array.hpp | ViDA-NYU/birdvis | mit | 5,731 | 185 | codeparrot/github-code |
553ce04a5a4c424ddeb5b3e65c11f4e24f0d04b4fb18ce2cd273754c01c942ea | package net.teamio.taam.content.common;
import net.minecraft.block.Block;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.PropertyEnum;
import net.minecraft.block.state.BlockStateContainer;
import net.minecraft.block.state.IBlockState;
import ne... | Java | common/net/teamio/taam/content/common/BlockBuilding.java | Team-IO/taam | mit | 1,981 | 71 | codeparrot/github-code |
03bc646b3793eb6435854aeb0732291c3fca7130d9aa062b9a5beb74e48d1a3a | const Benchmark = require('benchmark');
const suite = new Benchmark.Suite;
const benchmarks = require('beautify-benchmark');
const Chunk = require('../src/chunk');
const chunk = new Chunk();
const obj = {
undefinedValue: undefined,
nullValue: null,
falseValue: false,
emptyStringValue: '',
zeroValue: 0,
tr... | JavaScript | benchmark/flag.js | shishidosoichiro/lazy | mit | 1,518 | 64 | codeparrot/github-code |
faee226b779de0055d6f1b838193396c5466ceeb72f99a2857e507ae7339d794 | <?php
namespace Scat\Service;
class Giftcard
{
private $data;
public function __construct(\Scat\Service\Data $data) {
$this->data= $data;
}
public function create($expires= null) {
$card= $this->data->factory('Giftcard')->create();
$card->set_expr('pin', 'SUBSTR(RAND(), 5, 4)');
if ($expires... | PHP | lib/Scat/Service/Giftcard.php | jimwins/scat | mit | 1,194 | 60 | codeparrot/github-code |
3f9c99be1a2d8329ac6d86f6c3ff96b8807543b99c101ea83a5db4b2d3745c12 | $(function() {
'use strict';
// Submit vote.
$('.container form').submit(function(e) {
e.preventDefault();
var $this = $(this);
var $btn = $this.find('button');
$btn.prop('disabled', true);
var selection = $('input:checked', $this).val();
if (selection ==... | JavaScript | src/js/single/elections/vote.js | viaict/viaduct | mit | 810 | 35 | codeparrot/github-code |
6122f08e590f08e61aa30d4f53ddcac0aa7ec1993f6f2751951825ccc112e2ac | package ro.ase.cts;
public class Produs extends ElementMeniu{
String denumire;
double pret;
public Produs(String denumire, double pret){
this.denumire =denumire;
this.pret = pret;
}
@Override
public String getDescriere() {
return this.denumire+" - "+this.pret+"\n";
}
@Override
public double getPre... | Java | 1069_Seminar7_2/src/ro/ase/cts/Produs.java | catalinboja/cts-2016 | mit | 763 | 44 | codeparrot/github-code |
cfd73b832fcd07820e8902ca9b3eebfdd460f4572a8c6b20d5d9f7828bd20884 | // Copyright (c) 2013-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "hash.h"
#include "crypto/common.h"
#include "crypto/hmac_sha512.h"
#include "pubkey.h"
inline uint32_t ROTL32(uin... | C++ | src/hash.cpp | PandaPayProject/PandaPay | mit | 2,244 | 83 | codeparrot/github-code |
d8efd3ffe9ee2de36b60130fa10d0785c1087e780fc6a5ffd513c600cb5b877e | /*
* Copyright 2016 Christoph Brill <egore911@gmail.com>
*
* 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, ... | Java | src/test/java/de/egore911/fuzz/Fuzzer.java | egore/libldt3 | mit | 9,069 | 253 | codeparrot/github-code |
bc43527c8774144e5bf6424b2ea76f532a2913b7c47d97cc32fe6fee6e8e80ff | # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
from __future__ import unicode_literals, print_function
"""
Utilities for using modules
"""
import frappe, os, json
import frappe.utils
from frappe import _
from frappe.utils import cint
def export_module_json(doc, is... | Python | frappe/modules/utils.py | adityahase/frappe | mit | 8,881 | 262 | codeparrot/github-code |
4a4763455665c0672b38165d8f55bd66cfe0aaeb15af596971472097c3c69100 | #include "lib.h"
#define VMA_IMPLEMENTATION
#include "vk.h"
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
#define GLFW_EXPOSE_NATIVE_WIN32
#include "glfw/glfw3.h"
#include "glfw/glfw3native.h"
static const VkDescriptorPoolSize descriptor_pool_sizes[] = {
{VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, ... | C++ | src/vk.cpp | kennyalive/vulkan-base | mit | 47,690 | 1,040 | codeparrot/github-code |
065b4d86a16bf4c858644d9ac1e71d0eb14b9562af0b4a26dcaf6bba4e7f2831 | app.factory("NotesService", function() {
var NotesService = {};
var audioPath = "../../audio/";
var kick = new Howl({ src: [audioPath + "kick.wav"] });
var snare = new Howl({ src: [audioPath + "snare.wav"] });
var hihat = new Howl({ src: [audioPath + "hihat.wav"] });
var staves = [
{
id: 1,
... | JavaScript | framework/angularjs/js/app/services/notesService.js | drumvc/drumvc.github.io | mit | 2,834 | 108 | codeparrot/github-code |
db9d155d5255a9c27a147d0ad2a463840bccd1f70d6a711b5504ca3584dbdc0a | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ACQ.Math.Interpolation
{
class NearestInterpolation : InterpolationBase
{
public NearestInterpolation(double[] x, double[] y)
: base(x, y)
{ }
public override doubl... | C# | ACQ.Math/Interpolation/NearestInterpolation.cs | ratesquant/ACQ | mit | 872 | 37 | codeparrot/github-code |
385d5e691460e79160bb3bb1baed305b2b44b3e1d9f8bf185fc496cac69e0f1f | namespace Faker.Locales
{
[Locale(LocaleType.it)]
internal class It : En
{
public override string Title { get { return "Italian"; } }
#region Geography
public override string[] CityPrefix
{
get
{
return new[] {
... | C# | Faker.Net/Locales/It.cs | Kuree/Faker.Net | mit | 61,249 | 1,449 | codeparrot/github-code |
cd8b19db0c1ba541413217dce8a6af7899f26d5b241441649ecf03f3b939b963 | """Train a multi-class classification problem.
Use the embedding for each ingredient in a recipe to predict the rest
of the ingredients in the recipe.
Debug the model with a held-out validation set.
"""
import tensorflow as tf
import collections
import nomen
import numpy as np
layers = tf.contrib.layers
cfg = nomen... | Python | src/food2vec.py | brandonmburroughs/food2vec | mit | 9,886 | 254 | codeparrot/github-code |
736d1d8729ad77e9446f0ca5963dcf3f8638708429d60d86c787e8b38b24eb7c | <?php
require("validador.php");
class conexion{
private $conexion;
private $server = "localhost";
private $usuario = "root";
private $pass = "";
private $db = "repuestosbd";
private $user ;
private $password;
public function __construct(){
$this->conexion = new mysqli($this->serv... | PHP | deseos/modelo/conexion.php | PenguinMasterX/RepuestosLitueche | mit | 2,822 | 143 | codeparrot/github-code |
c378cb3e668241d584be896155fcb5ea88818eaace31227f53c034f2b99d7241 | local function vv_ifxthenyelsez(x, y, z)
local Q = require 'Q/q_export'
local qc = require 'Q/UTILS/lua/q_core'
local qconsts = require 'Q/UTILS/lua/q_consts'
local ffi = require 'Q/UTILS/lua/q_ffi'
local lVector = require 'Q/RUNTIME/lua/lVector'
local cmem = require 'libcmem'
local get_... | Lua | OPERATORS/IFXTHENYELSEZ/lua/vv_ifxthenyelsez.lua | NerdWalletOSS/Q | mit | 2,823 | 66 | codeparrot/github-code |
f33d3678d864830ef022a676e2b8cd1ae2d6f593dea2a813f560e433ad5138e7 | <HTML><HEAD>
<TITLE>Review for Hearts in Atlantis (2001)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0252501">Hearts in Atlantis (2001)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?M... | HTML | data science/machine_learning_for_the_web/chapter_4/movie/29623.html | xianjunzhengbackup/code | mit | 6,442 | 110 | codeparrot/github-code |
a52d5c40e5dd89fc72b6f81c454a5ffca22187e591f77a498d13c9c44ed96eb4 | var romSelector = (function ($) {
var selectedRom = null;
var romRegistry = [
{
"fileName": "BREAKOUT",
"name": "Breakout",
"author": "David Winters",
"year": "1997",
"description": [
"Controls:",
"Q - left, E -... | JavaScript | demo/js/romSelector.js | turingincomplete/MatchboxChip8 | mit | 2,971 | 106 | codeparrot/github-code |
d5710a928c57a7f3235ef1e5d1a8afe0978d4f33b253c3d53f7ccc3a3e57cb06 | package fr.pizzeria.admin.metier;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
import fr.pizzeria.model.Livreur;
@Stateless
public class LivreurService {
@PersistenceContext
private EntityMa... | Java | pizzeria-admin-web/src/main/java/fr/pizzeria/admin/metier/LivreurService.java | DTAFormation/pizzeria-app | mit | 1,396 | 53 | codeparrot/github-code |
0a7fef6759013a54cecb0a15f5b5f1645540491d5e428610ccf69fd3c348d92c | # This file is part of Indico.
# Copyright (C) 2002 - 2022 CERN
#
# Indico is free software; you can redistribute it and/or
# modify it under the terms of the MIT License; see the
# LICENSE file for more details.
from flask import request
from werkzeug.exceptions import NotFound
from indico.modules.attachments.models... | Python | indico/modules/attachments/controllers/util.py | indico/indico | mit | 1,558 | 48 | codeparrot/github-code |
6b5773bbc1cd9810c22410b4bdaa252afef0ccd74b374fc7455344465e45d7e5 | using System;
using System.Globalization;
using System.Windows.Data;
namespace Radical.Windows.Converters
{
public class BooleanConverter : IValueConverter
{
public object TrueValue { get; set; }
public object FalseValue { get; set; }
public object Convert(object value, Type targetTy... | C# | src/Radical.Windows/Converters/BooleanConverter.cs | RadicalFx/Radical.Windows | mit | 1,164 | 46 | codeparrot/github-code |
59fdb6ba8cff21943136397aef4801e47d460afe983a76961437503328c1b96c | // The main application script, ties everything together.
var express = require('express');
var mongoose = require('mongoose');
var creds = require('./credentials.json');
var app = express();
var auth = express.basicAuth(function(user, pass, callback) {
callback(null, (user === creds.username && pass === creds.passw... | JavaScript | server.js | homingli/buildpack-catalog-app | mit | 2,063 | 70 | codeparrot/github-code |
d390d0682d25f987787f59557897b361ce814ef94aa4c555ce13101896c8453f | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConveyorBelt.Tooling.Internal
{
public class SitecoreLogEntry
{
private readonly StringBuilder _text = new StringBuilder();
public int LogLineNumber { get; set; }
... | C# | src/ConveyorBelt.Tooling/Internal/SitecoreLogEntry.cs | aliostad/ConveyorBelt | mit | 818 | 32 | codeparrot/github-code |
83720cf99c0032481a6ee962ca17f891a5016253fb1ab4bc44873c0c0caf08a5 | #include <QLabel>
#include <QWidget>
#include <QSpinBox>
#include <QCheckBox>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QDialogButtonBox>
#include "Utility.h"
#include "AffineDialog.h"
AffineDialog::AffineDialog(QWidget *parent)
: QDialog(parent), a(1), b(0), decipher(true), dump(false)
{
QLabel *he... | C++ | src/gui/AffineDialog.cpp | netromdk/clyzer | mit | 1,777 | 66 | codeparrot/github-code |
7bf68b5ca52f82e64a7b31452cd856eef3dbbcfd28d410ced9fe5a87756fd47e | 'use strict';
/*
* Defining the Package
*/
var Module = require('meanio').Module;
var SmartTools = new Module('smartTools');
var schedule = require('node-schedule');
var mongoose = require('mongoose');
var Video = mongoose.model('Video');
var _ = require('lodash');
var nodemailer = require("nodemailer");
var... | JavaScript | packages/custom/smarttools/app.js | laura3arual/smarttools | mit | 3,660 | 128 | codeparrot/github-code |
89e62ba6c746f74d70a577bb10ab7a493ac109e5171218eafbcfaa201166ab20 | /*
Copyright (c) 2008-2009 Bryan Head
All Rights Reserved
[This software is released under the "MIT License"]
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 withou... | Java | src/org/headb/sandpile/Int2dArrayList.java | qiemem/SandpilesApp | mit | 4,201 | 153 | codeparrot/github-code |
2e5b8a54f19303276af396de35a7fe1267bd2e493127d73863ab0e4e95e4e111 | /** @file */
/* The MIT License
*
* Copyright (c) 2008, Naotoshi Seo <sonots(at)sonots.com>
*
* 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 limitati... | C | cvget2dinter.h | sonots/opencvx | mit | 4,639 | 162 | codeparrot/github-code |
b4419b2ce552e4031fcb0dedb64c84ef9c89a386729b40df639b54b383ce576f | #include "BRTOS.h"
#include "device.h"
#include "drivers.h"
#include "time.h"
#define NUM_ADC 1
static BRTOS_Sem *ADC[NUM_ADC];
static BRTOS_Queue *ADCQ[NUM_ADC];
static BRTOS_Mutex *ADCRMutex[NUM_ADC];
#define NUM_ADC_CHAN 16
uint16_t ADC_buffer[NUM_ADC_CHAN];
uint16_t ADC_chan;
struct adc_signal
{
int fre... | C | platforms/eclipse_mingw_win32/src/drivers/ADCx.c | brtos/simulador | mit | 4,163 | 201 | codeparrot/github-code |
0af7d66618494b6b258bb6d27ff5ff9462ab55237e0572b7747dc4b8e0db02ec | <?php
/**
* Determines if a string evaluates to a date
* @param string $str The string to evaluate as a date
* @return boolean TRUE if the evaluated string is a date
*/
function is_date( $str )
{
$stamp = strtotime( $str );
if (!is_numeric($stamp))
{
... | PHP | inc/php/common.php | stereocilia/excelprocessor | mit | 1,149 | 45 | codeparrot/github-code |
2a5710752f1d9cc202e751bcb0d330d742ff3ce8b676cb17951c1316e2ff4dc7 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Jam;
using System.Web.UI.HtmlControls;
using MySql.Data.MySqlClient;
using System.Data;
using System.IO;
public partial class MyMusic : JamPage
{
public MyMusic()
{
... | C# | web/MyMusic.aspx.cs | hardsky/music-head | mit | 5,312 | 148 | codeparrot/github-code |
b9238a4dead4619de184522ca71b6e852e333f81b98b79371036bffb35da11ab | package cmcc.iot.onenet.javasdk.api.datastreams;
import java.text.SimpleDateFormat;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.http.HttpResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fas... | Java | javaSDK/src/main/java/cmcc/iot/onenet/javasdk/api/datastreams/FindDatastreamListApi.java | cm-heclouds/JAVA-HTTP-SDK | mit | 2,757 | 80 | codeparrot/github-code |
78f33e46ba52232b8ae34ed54083d01ded7a2fa7777b6b343db3e3534b4b9d62 |
#!/bin/sh
_programs="curl tar rsync ssh-keygen"
for program in ${_programs}
do
command -v ${program} > /dev/null 2>&1
if [ $? -gt 0 ] ; then
echo "${program} is missing and required to continue - please install it or make sure it's in your path"
exit 1
fi
done
# Some distros *COUGH* DEBIAN *COUGH* link to das... | Shell | jarvys-setup.sh | codesses/codesses | mit | 1,709 | 61 | codeparrot/github-code |
cc8a2f8ef7f0bf3dcfb4e717e9d5f5f845c28f9e65d755c8448f0cd367773cc1 | <?php
namespace Doitonlinemedia\Admin\App\Repositories;
class CachingBaseRepository implements BaseRepository
{
public $baseRepository;
public $cache;
public $modelName;
public function setModelName()
{
$reflect = new \ReflectionClass($this->baseRepository->model);
$this->modelN... | PHP | src/app/Repositories/CachingBaseRepository.php | doitonlinemedia/brickle | mit | 2,134 | 79 | codeparrot/github-code |
862eb082e927787a2207528d56eee06fa95ae3327fd8b119452461f79a9c382b | /*
Copyright (c) 2014, RKE
*/
(function() {
var __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };
codiad.ToDo = (function() {
/*
basic plugin environment initialization
*/
function ToDo(global, jQuery) {
this.disableToDo = __bind(this.disableToDo, this)... | JavaScript | plugins/Codiad-ToDo-master/init.js | dragonro/Codiad | mit | 4,003 | 129 | codeparrot/github-code |
774676dd980552a0da306075ce6c89abeb374b6602b424910ce1426e2d7639b8 | ---
redirect_from: /docs/latest/interfaces/url.urlmatcherconfig.html
---
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>UrlMatcherConfig | @uirouter/angularjs</title>
<meta name="description" content="">
<meta name="viewport" ... | HTML | _ng1_docs/latest/interfaces/url.urlmatcherconfig.html | ui-router/ui-router.github.io | mit | 22,088 | 451 | codeparrot/github-code |
190c2cb417ba0755e8f69bd2d5bafc5d6d3f084a211aa3398ffdfe9be9040745 | using System;
using System.IO;
using System.Reflection;
using System.Text;
using Encoding = System.Text.Encoding;
namespace Netronics.Protocol.PacketEncoder.Http
{
public class Response
{
private int _code = 200;
private object _content = new StringBuilder();
private string _protocol =... | C# | server/Framework/Protocol/PacketEncoder/Http/Response.cs | shlee322/Netronics | mit | 2,422 | 87 | codeparrot/github-code |
109ad61ff045b816a9baae8ab453cdf4a4def5cb593fd503ecb65ebbfd2841fd | // Copyright (c) 2011-2013 The EarthDollar developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "transactiontablemodel.h"
#include "guiutil.h"
#include "transactionrecord.h"
#include "guiconstants.h"
#include... | C++ | src/qt/transactiontablemodel.cpp | kigooz/earthdollar-gofish | mit | 20,754 | 637 | codeparrot/github-code |
d3da116ffc87744c147b1a434ff57cf3201de5d835e2320b3aea9f087ac5f86e | import React from 'react'
import { connect, createStore } from 'react-redux'
import net from 'net'
import { increment, decrement, async_increment } from '../actions/counter'
export default class Root extends React.Component {
render() {
return (
<div>
<h1>Counter</h1>
... | JavaScript | app/components/Root.js | tatsuhino/electron-react-redux-boilerplate | mit | 1,331 | 53 | codeparrot/github-code |
1d1ce6dcea29a175b1a0862a1f0d18ff828ecc1ee2be5f86c9c1250995fc0abf | //
// Created by alexb_vi324bx on 23.01.2016.
//
#ifndef PROJECT_STORAGE_H
#define PROJECT_STORAGE_H
#include <functional>
/*
* base storage object
*/
class stg_obj
{
public:
stg_obj() {}
virtual ~stg_obj() {}
};
/*
* single partition manager
*
*/
class storage {
public:
void open();
void close()... | C | src/data/storage.h | axb/cloudparts | mit | 780 | 57 | codeparrot/github-code |
67248788ff70805ff3fb395f3edef8eceb2859ac1595025d6418678305fac040 | // Type definitions for node-vault 0.9.8
// Project: https://github.com/kr1sp1n/node-vault
// Definitions by: Jianrong Yu <https://github.com/YuJianrong>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import * as request from "request";
declare namespace NodeVault {
... | TypeScript | index.d.ts | kr1sp1n/node-vault | mit | 5,658 | 135 | codeparrot/github-code |
0d1f67d72f168216624a70a7ad7d9a4a6b6fd8a409371665e6b6ebe1ec0c923e | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Windows;
using Prism.Commands;
using Prism.Events;
using Prism.Regions;
using PrismComposition.Business;
using PrismComposition.Client.Interfaces;
using PrismComposition.Client.Views;
using PrismComposition.Inf... | C# | E33RMARTINEZHW9/PrismComposition.Client/ViewModels/ClientViewModel.cs | rnemtz/programming.net | mit | 7,970 | 205 | codeparrot/github-code |
4c026b000d322fa195d93b024401b70dce799bfdee71cac5b519eec1fe8f214a | import window from 'global/window';
import memory from '@/browser/utilities/memory';
const getContext: () => AudioContext | null = memory(() => {
const AudioContext = window.AudioContext || window.webkitAudioContext;
if (!AudioContext) return null;
return new AudioContext();
});
const getGainNode: () => GainNod... | TypeScript | src/browser/utilities/noticeSound.ts | ukatama/nekotaku | mit | 1,339 | 50 | codeparrot/github-code |
89d6c20aa0bfdf3fd2c9588f6be34396c189ad4738bb3fc8c983e1e54b09c1d8 | /*
* Spritor, sprite generator tool
* Copyright (C) Bartosz Wiśniewski <poprosturonin.com>
* Copyright (C) Spritor team and contributors
*/
package com.poprosturonin.components;
import com.poprosturonin.controller.Utility;
import javafx.scene.control.ButtonBar;
import javafx.scene.control.ButtonType;
import javaf... | Java | src/main/java/com/poprosturonin/components/SaveWorkDialog.java | PoprostuRonin/spritor | mit | 1,541 | 49 | codeparrot/github-code |
68e628d304a3fcbed76d3fdbec5cabe02a4642d443bb4f928e8455fca73d3719 | #import "BeeKeycode.h"
//##### BeeKeyboard >= 1.7 #####
//http://api.iolate.kr/beekeyboard/headers/BeeKeyboard.h
typedef struct {
int usagePage;
int modifier;
int keyCode;
BOOL isPress;
BOOL global;
BOOL onEditMode;
} BKKeyEvent;
#define BK NSClassFromString(@"BeeKeyboard")
//################... | C | BeeKeyboard.h | devbug/BeeSafari | mit | 1,412 | 40 | codeparrot/github-code |
fbccf40bfa4b480a069eb5db26fea5e4ac94c0be2e0216ac2e8364df7bce4b01 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>elpi: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... | HTML | clean/Linux-x86_64-4.07.1-2.0.6/released/8.10.1/elpi/1.6.0~8.11.html | coq-bench/coq-bench.github.io | mit | 7,275 | 173 | codeparrot/github-code |
a0e866d35995cc9c1dfbe96facc3303276335f2cb624359ed19e3cbc5b0be2b4 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-finmap: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap... | HTML | clean/Linux-x86_64-4.02.3-2.0.6/released/8.5.2/mathcomp-finmap/1.1.0.html | coq-bench/coq-bench.github.io | mit | 7,239 | 173 | codeparrot/github-code |
41be1f2fe0f3b1de6635cbc1e78beca259ab0033d3750d18f708e95d572e6592 | package producer;
import java.util.Properties;
import app.Constants;
import kafka.javaapi.producer.Producer;
import kafka.producer.KeyedMessage;
import kafka.producer.ProducerConfig;
import model.dataModels.ErpData;
/**
* Class KafkaProducer.
* This class is responsible for putting the
* manufacturing data into... | Java | Backend/src/main/java/producer/KafkaProducerSpark.java | 4lexBaum/projekt-5s-dhbw | mit | 1,443 | 56 | codeparrot/github-code |
fbb0c19bb5ea93873691e2376bcc657f0d25e540d3fadf8a10367a96186e2304 | var Piwik_Overlay_Client = (function () {
/** jQuery */
var $;
/** Url of the Piwik root */
var piwikRoot;
/** Piwik idsite */
var idSite;
/** The current period and date */
var period, date, segment;
/** Reference to the status bar DOM element */
var statusBar;
/** Loa... | JavaScript | admin/piwik/plugins/Overlay/client/client.js | ArcherSys/ArcherSys | mit | 6,450 | 213 | codeparrot/github-code |
cdc85b152d139555c7bad67f18ea177913dfb758500efd5032b527dfcf6783a4 | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h"
#endif
#include "i... | C++ | src/init.cpp | magacoin/magacoin | mit | 74,627 | 1,538 | codeparrot/github-code |
1dff6ee36572f945789b49822495fa7036a8506eb936f91dbd90eaadaca1acb5 | <!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>GainNode | picturepark-sdk-v1-fetch API</title>
<meta name="description" content="Documentation for picturepark-sdk-v1-fetch API">
<meta name="viewport" content="width=device-widt... | HTML | docs/picturepark-sdk-v1-fetch/api/interfaces/gainnode.html | Picturepark/Picturepark.SDK.TypeScript | mit | 36,595 | 600 | codeparrot/github-code |
2f4a0efe4771edeabe6ff601b35f933f6912537405f3f8462849f474e00d74ef | // Copyright 2015 XLGAMES Inc.
//
// Distributed under the MIT License (See
// accompanying file "LICENSE" or the website
// http://www.opensource.org/licenses/mit-license.php)
using System;
using System.Windows.Forms;
using System.Linq;
using HyperGraph;
namespace NodeEditorCore
{
public class GraphControl : Hy... | C# | Tools/NodeEditorCore/GraphControl/GraphControl.cs | xlgames-inc/XLE | mit | 16,344 | 386 | codeparrot/github-code |
c06665af519b6d464e70a04d9034da56579cc73fb7fe27ee070f320bf1f03c7c | # -*- coding: utf-8 -*-
class GameException(Exception):
def get_army_name(self):
return self.army_name
def set_army_name(self, army_name):
self.army_name = army_name
class ValidationException(GameException):
def __init__(self, rule):
self.rule = rule
se... | Python | judge/exception.py | lukius/algo2-fiuba-tp1-2q13 | mit | 1,896 | 67 | codeparrot/github-code |
fa6a337d3906fda7118881d1766d46d0facbaa4a141d45c4973c39d471654ca8 | /**
*/
package exploitation.provider;
import exploitation.Cereal;
import exploitation.Culture;
import exploitation.ExploitationPackage;
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import or... | Java | fr.esir.lsi.langage.edit/src/exploitation/provider/CultureItemProvider.java | JeanHany/farmingdsl2 | mit | 3,925 | 134 | codeparrot/github-code |
9de90d4f6d19eea466ade199c04ada424643105152036bdc9e78534b4cc5caee | package org.hibernate.envers.test.integration.onetoone.bidirectional.primarykeyjoincolumn;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.On... | Java | OpenBeaconPackage/libraries/hibernate-release-4.2.7.SP1/project/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/bidirectional/primarykeyjoincolumn/NotAuditedProxyPerson.java | HerrB92/obp | mit | 2,698 | 96 | codeparrot/github-code |
0838d554135dca505321250f62f6a7429bc75258c5d47f35987e81ed26a2e14d | using ColossalFramework;
using MetroOverhaul;
using MetroOverhaul.NEXT.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace MetroOverhaul
{
class TrainTrackBridgeAIMetro : TrainTrackBridgeAI
{
public List<BridgePillarItem> pillarList { get; set; }... | C# | TrainTrackBridgeAIMetro.cs | earalov/Skylines-ElevatedTrainStationTrack | mit | 10,642 | 243 | codeparrot/github-code |
516e0c5eaf63a80c84fc72272a895ef54b96af90e0256da57b5c77cad1134622 | // ██████╗ ██╗ ██╗███╗ ██╗ ██████╗ ██╗ ██╗███████╗██████╗ ██╗ ██╗
// ██╔══██╗██║ ██║████╗ ██║ ██╔═══██╗██║ ██║██╔════╝██╔══██╗╚██╗ ██╔╝
// ██████╔╝██║ ██║██╔██╗ ██║ ██║ ██║██║ ██║█████╗ ██████╔╝ ╚████╔╝
// ██╔══██╗██║ ██║██║╚██╗██║ ██║▄▄ ██║██║ ██║██╔══╝ ██╔══██╗ ╚██╔╝
// ██║... | JavaScript | helpers/private/query/run-query.js | balderdashy/sails-postgresql | mit | 4,049 | 118 | codeparrot/github-code |
2b94e8c4ecf32549d8fc664fb73ed9959a503fcb8f51cde3fbc6093a5bf5f6b4 | #include <kernel.h>
#include <fs.h>
#include <initrd.h>
#include <tty.h>
#include <panic.h>
#include <heap.h>
#include <mem.h>
#include <string.h>
static ird_header_t *initrd;
static u32 initrd_nfiles;
static fs_node_t initrd_root_node;
static fs_node_t *initrd_nodes;
static struct dirent initrd_dirent;
fs_node_t* ... | C | kernel/fs/initrd.c | aqrln/aquarius-os | mit | 2,821 | 120 | codeparrot/github-code |
db97567d3a6b3d7b4bae261baad6636256e3455a16367b7ea7f3405e3e264351 | /* ============================================================================
>4SESz., _, ,gSEE2zx.,_ .azx ,w.
@Sh. "QEE3. JEE3. &ss `*4EEEEE2x.,_ "EEV ,aS5^;dEEEE2x., VEEF _
\E2`_,gF4EEEx.?jF EE5L `*4EEEEE2zpn..ZEEF ;sz. `*EEESzw.w* '|EE.
,dEEF `"?j] _,_ ,_... | JavaScript | lib/tc.seed.js | typecode/typecode-js | mit | 7,872 | 323 | codeparrot/github-code |
16baf8c1d6bc06b95d0e022bf3e4c1ca430507175f4c3e190779b44d177416ef | using System.Text.RegularExpressions;
using System.Windows.Media;
using ICSharpCode.AvalonEdit.Rendering;
using Microsoft.VisualStudio.PlatformUI;
using Microsoft.VisualStudio.Shell;
using StackTraceExplorer.Helpers;
using System.Linq;
namespace StackTraceExplorer.Generators
{
public class MemberLinkElementGenera... | C# | StackTraceExplorer.Shared/Generators/MemberLinkElementGenerator.cs | sboulema/StackTraceExplorer | mit | 3,555 | 93 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.