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
4b7281db7ec8c47badfbe28edb8bed083891a8d4bef8da70820bb0753d6f276b
<div class="navigation-wrapper"> <nav role="navigation" id="site-nav" class="animated drop"> <ul> {% for link in site.data.navigation %} {% if link.url contains 'http' %} {% assign domain = '' %} {% else %} {% assign domain = site.url %} {% endif %} <li><a hre...
HTML
_includes/navigation.html
lpantano/stimulus.cc
mit
1,991
51
codeparrot/github-code
de7b4501ac6edbecd9b427c1ab97928e06f90084e7b01d7d516ec0b2a98dec58
import {objectEach, clone} from './../../helpers/object'; import {rangeEach} from './../../helpers/number'; import {align, getAlignmentClasses, getValidSelection, checkSelectionConsistency, markLabelAsSelected} from './utils'; export const ROW_ABOVE = 'row_above'; export const ROW_BELOW = 'row_below'; export const CO...
JavaScript
src/plugins/contextMenu/predefinedItems.js
billdc/handsontable
mit
15,093
497
codeparrot/github-code
ff77a8e11753b0cff5aaae4c352c2326c09acb5f5b50c9ba726ac5af1758b647
<?php class FusionSC_Alert { private $alert_class; private $icon_class; public static $args; /** * Initiate the shortcode */ public function __construct() { add_filter( 'fusion_attr_alert-shortcode', array( $this, 'attr' ) ); add_filter( 'fusion_attr_alert-shortcode-icon', array( $this, 'icon_attr' ) )...
PHP
clients/shfm/wp-content/plugins/fusion-core/shortcodes/class-alert.php
kenorvick/kenorvick
mit
4,132
167
codeparrot/github-code
cd00118e4d4fe34df21a2162c20c59b2c7364a26a9be01b71f34a365243589d3
<?php /* TwigBundle:Exception:exception_full.html.twig */ class __TwigTemplate_c91f151cc32c96b5722fb65db2941c743da9c8b6bce7e878f23e64b9134a80f6 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 $this->parent = $this->loadT...
PHP
app/cache/dev/twig/c9/1f/151cc32c96b5722fb65db2941c743da9c8b6bce7e878f23e64b9134a80f6.php
BornAgain/tickets
mit
2,618
76
codeparrot/github-code
bc9537ec6ef1df31206cfbca5387fceec9aee101e605fc41578a4417af1379ca
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...
C++
src/jit/codegenlinear.cpp
JonHanna/coreclr
mit
70,810
1,907
codeparrot/github-code
ed458564ceacb7d2b34584d49a7ac63a30ae14be210bb39bd9d04ee65b404453
class SessionsController < ApplicationController skip_before_action :authenticate_user!, except: :destroy before_action :validate_auth_hash!, only: :create expose(:auth) { request.env["omniauth.auth"] } def new redirect_to "/auth/google_oauth2" end def create user = UsersRepository.new.from_auth(...
Ruby
app/controllers/sessions_controller.rb
netguru/reminders
mit
858
37
codeparrot/github-code
ca890471b159fa81e2438f24904fef7096e3d07a80a547bbf00897ba747f385f
'use strict'; (function() { var app = angular.module('dontdawdle'); app.controller('PopupController', function(ChromeService, Helper, ChromeStorage, Blocker, $window) { var vm = this; var tab = {}; ChromeService.tabsPromise().then(function(data) { tab = data; v...
JavaScript
js/controllers.js
karmazzin/Dontdawdle
mit
2,169
67
codeparrot/github-code
5f1297637f2fceeff8bcfaee78db9a1c95e98b428b5af94e88e1525588deafef
<!DOCTYPE html> <html lang="en"> <body> <form id="mainForm" method="post" action="http://plnkr.co/edit/?p=preview"> <input type="hidden" name="description" value="Example usage of the alert widget from https://ng-bootstrap.github.io"> <input type="hidden" name="tags[0]" value="Angular"> <input type="hidde...
HTML
apps/ng-bootstrap-closure-compiler/app/components/alert/demos/closeable/plnkr.html
mlaval/pwmetrics-ci
mit
6,724
174
codeparrot/github-code
a322314391b7103e19c1def155f89c3be0f3b7aa31b56ddfaead2d3cdc3e65c1
(function (mod) { mod(CodeMirror); })(function (CodeMirror) { 'use strict'; var symbol_regex1 = /^(?:~|!|%|\^|\*|\+|=|:|;|,|\?|&|<|>|\|)/; var symbol_regex2 = /^(=|\.|#|\|)/; var open_paren_regex = /^(\(|\[)/; var close_paren_regex = /^(\)|\])/; var keyword_regex1 = /^(if|else|return|var|fun...
JavaScript
src/components/js/codemirror/mode/jade/jade.js
proin/saturn
mit
22,066
637
codeparrot/github-code
8c4cd2ab83e81f160c2c86bb79453052b90dfe107e4303a57327fa13bde3c51e
"use strict"; var base = require("node-base"), step = require("step"), path = require("path"), uuid = require("node-uuid"), histogram = require("histogram"), fs = require("fs"); if(process.argv.length<3) printUsageAndExit(); var maxDifference = +process.argv[2]; if(maxDifference<0) printUsageAndExit("maxDiff...
JavaScript
process/removeDuplicates.js
Sembiance/c64_magazine_wallpaper
mit
2,559
135
codeparrot/github-code
6a9e74ced0994cab66b6275a8049b962f46fac12000635341827e1e69f580cd6
/** * Highpine client simple static web server. */ require('dot-env'); var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); /* * Create express app. */ var app = express(); app.set('env', process.env.ENV); /* * Setup View engine. ...
JavaScript
app/client.js
highpine/highpine
mit
1,745
85
codeparrot/github-code
8b71ceddd481f52802c2e6b2f4ff3a562e5fd61a3021dc3f1a7d0711dfbec207
<?php setlocale(LC_ALL, 'ru_RU.CP1251'); $lang['CONTENT_ENCODING'] = 'windows-1251'; $lang['CONTENT_DIRECTION'] = 'ltr'; $lang['DATE_FORMAT'] = 'Y-m-d'; // This should be changed to the default date format for your language, php date() format $lang['TRANSLATION_INFO'] = ''; // // Common, these terms are used // exte...
PHP
public_html/language/lang_english/lang_main.php
ivacuum/t.ivacuum.ru
mit
63,852
1,412
codeparrot/github-code
4aaf372d7e14f3284632631d9777146794c9f8243d41ce03c4541daca7e24711
using System.Collections.Concurrent; using System.Threading; namespace Yarn { public static class CallContext { private static readonly ConcurrentDictionary<string, AsyncLocal<object>> State = new ConcurrentDictionary<string, AsyncLocal<object>>(); /// <summary> /// Stores a given obj...
C#
Yarn/CallContext.cs
stepaside/Yarn
mit
1,481
31
codeparrot/github-code
f7a844f44aa9719600732e24ffc1e409b6b88e6bbb5d402e037a6655e33d3cf0
/* * * MIT License * * Copyright (c) 2016-2018 The Cats Project * * 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 us...
C++
include/Cats/Corecat/Data/Stream/OutputStream.hpp
SuperSodaSea/Corecat
mit
2,047
72
codeparrot/github-code
83a37daa9fd3f301eed7dc8971f276cd0ee3ee10429f8b816bc1f14b5bf85732
/* @(#)e_j0.c 1.3 95/01/18 */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunSoft, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided tha...
C
src/fdlibm/e_j0.c
Unsttopabull/KFDLibm
mit
18,655
574
codeparrot/github-code
788c3934b2a31780d12b0a215516b4e430f688d3975b9fce958c3d8f45a0d0fa
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using Approve.RuleCenter; using Approve.Common; public partial class JSDW_ApplyJGYS_ZYCBUnitForm : System.Web.UI.Page { private RCenter rc = new RCenter(); ...
C#
SurveyDesign/JSDW/ApplyJGYS/ZYCBUnitForm.aspx.cs
coojee2012/pm3
mit
2,748
100
codeparrot/github-code
3482c2c01ea7c352cf247d8e1c7d67010ed57dbf2f28345d46cee7b07dfa16f9
@ECHO OFF REM Command file for Sphinx documentation if "%SPHINXBUILD%" == "" ( set SPHINXBUILD=sphinx-build ) set BUILDDIR=_build set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% . set I18NSPHINXOPTS=%SPHINXOPTS% . if NOT "%PAPER%" == "" ( set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS% set I18N...
Batchfile
docs/make.bat
ferret-guy/adafruit_motor_hat
mit
6,483
243
codeparrot/github-code
6bc1f168a05ac1ada63ad73db0a2ac7953d3b6bd0e81a09bd8aa62207d10a7b8
#include "Catmull3D.h" /* Library Catmull3D - BSplines curve 3D in EDK Game Engine Copyright 2013 Eduardo Moura Sales Martins (edimartin@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...
C++
edk/shape/Catmull3D.cpp
Edimartin/edk-source
mit
2,703
83
codeparrot/github-code
d0ff051daa14e0266caa990bfca2341d2b6357ede44aa9206b7b230a0e7964f2
<?php /* * 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. */ /** * Description of Journal * * @author sonjoy */ class Journal extends CI_Controller { //put your cod...
PHP
application/controllers/Journal.php
rokibul-hasan/lms
mit
4,791
119
codeparrot/github-code
042094cbab8324df902937c2e4046e840703ee4bdea5967917a8e2fbe646ea96
#pragma once // Warning disabled --- #pragma warning( disable : 4577 ) // Warning that exceptions are disabled #pragma warning( disable : 4530 ) #include <windows.h> #include <stdio.h> #include <string> #include <list> #include <vector> #define LOG(format, ...) log(__FILE__, __LINE__, format, __VA_ARGS__); void log...
C
Source/Globals.h
rogerta97/3D_Motor
mit
1,893
98
codeparrot/github-code
673210a22a8b787f12446dc4f611a8d165db6a6ff4852a4fa4ff81456b689b3e
using System.IO; using System.Text; using System.Threading.Tasks; using Microsoft.ServiceBus.Messaging; using Slicedbread.AzureServiceBus.Client.Serialisers; using Slicedbread.AzureServiceBus.Client.ServiceBus; namespace Slicedbread.AzureServiceBus.Client { public class ServiceBusClient : IServiceBusClient { ...
C#
src/Slicedbread.AzureServiceBus.Client/ServiceBusClient.cs
sliced-bread/Slicedbread.AzureServiceBus.Client
mit
1,825
46
codeparrot/github-code
e97f8eb3eb08a3d27886b5acc01b62783c4b87a5004fa79c14db4e5d92da4290
//--------------------------------------------------------------------------------------------------------------------------------- // File: Localization.hpp // // Contents: Contains portable classes for localization // // Microsoft Drivers 4.1 for PHP for SQL Server // Copyright(c) Microsoft Corporation // All rights ...
C++
source/shared/localization.hpp
ulvii/msphpsql
mit
32,677
879
codeparrot/github-code
ff8b00eca681b10f1e7a500b4b8a82ac277d71827081d7b3ff103d6f474a1aee
//etudaffectationmodel.ts import {InfoUserInfo} from './infouserinfo'; import {AffectationViewModel} from './affectationmodel'; import {EtudAffectation} from '../domain/etudaffectation'; import {Etudiant} from '../domain/etudiant'; import {IGroupe} from 'infodata'; import {GROUPE_GENRE_TP} from '../utils/infoconstants'...
TypeScript
public/js/data/model/etudaffectationmodel.ts
boubad/infoclientl
mit
1,661
45
codeparrot/github-code
ed6d481691142d70f57a73355eba762cf22711a0e994eef182ba783fa14f08c1
package com.stang.tang.rubik.scan; import java.awt.AWTException; import java.awt.image.BufferedImage; import java.awt.*; /** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2008</p> * <p>Company: </p> * @author not attributable * @version 1.0 */ public class GuiCamera { Dimension d = T...
Java
src/com/stang/tang/rubik/scan/GuiCamera.java
JacksonSha/LRubik
mit
1,197
37
codeparrot/github-code
80cd325c96af06d8f942c702f75a39ffa70266a43919782af65d2c8a793312da
/* +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2015 The PHP Group | +---------...
C
language/c/testPhpSrc/php-5.6.17/sapi/nsapi/nsapi.c
lunaczp/learning
mit
33,530
1,105
codeparrot/github-code
ca3c6d90cb123d91a88b417599c83da1bd25dcef9f64b3657dfd77ccfeaa61a2
// Copyright (c) 2011-2013 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 "optionsdialog.h" #include "ui_optionsdialog.h" #include "bitcoinunits.h" #include "monitoreddatamapper.h" #include ...
C++
src/qt/optionsdialog.cpp
socomj/Illuminati-Coin
mit
9,346
290
codeparrot/github-code
170a5ee026e2974615d5aaadc9b23aca89a6feedbba471a86377d7f16e118a03
package giki.gui; import giki.runtime.Output; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.util.Date; import java.util.EventObject; import javax.swing.AbstractCell...
Java
eclipse/src/giki/gui/TaskListView.java
jakobehmsen/giki-lang
mit
5,697
191
codeparrot/github-code
e572a823ea60baf80148f4659e5c2dfb9c54015de552d81348d4e67492108b63
<?php /* GregwarCaptchaBundle::captcha.html.twig */ class __TwigTemplate_2d2a055804f34884f53d93cc425558681cf150c816cb5c555639b6406017b4e0 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = arra...
PHP
app/cache/dev/twig/2d/2a/055804f34884f53d93cc425558681cf150c816cb5c555639b6406017b4e0.php
EdisonValdez/starwarsevents
mit
4,068
93
codeparrot/github-code
f6b52b673c2b2d8c2e42609646acdb6ca0dcceba2cd87a81c090fdb268879e37
require_relative "../hal_client" class HalClient # Enumerable for items in a paged collection of HAL representations # that are encoded using the IANA standard `item`, `next` and `prev` # link rels. # # This will fetch subsequent pages on iteration class Collection include Enumerable # Initialize...
Ruby
lib/hal_client/collection.rb
pezra/hal-client
mit
2,241
84
codeparrot/github-code
43953814f2b58b16aa7d648e9a030e6d62b85883096cf7829296ee52712c820b
/* *Class PID Proportionnel Intégrateur Dérivateur du grand robot * *Codé pour "Spark core" www.spark.io * *Par: Clément LETELLIER * Mars 2014 */ #ifndef DEF_PID #define DEF_PID #include "structures.h" #include "odometrie.h" #include "spark_wiring.h" #include "application.h" class PID{ public: ...
C
Module Moteur/Software/Archives/CodeOriginal/PID.h
nsobczak/CoupeDeFrance
mit
848
42
codeparrot/github-code
c63751acd256d2d7659afd103a45d1ae662aa844e0495d87d67b32be36d6f5dc
from sklearn import tree, ensemble from randomforest import * import numpy as np from pprint import pprint class HierarchicalRandomForest(object): def __init__(self, n_estimators=100, n_procs=1): self.classifiers = [ensemble.RandomForestClassifier(n_estimators=n_estimators, n_jobs=n_procs) for i in range(...
Python
project/HierarchicalRandomForest_sklearn.py
grantathon/computer_vision_machine_learning
mit
5,309
113
codeparrot/github-code
534693d3e6b480aa991a6d8694513e7c261f84419b63b70a731f7b255ff7b3e4
#ifndef __Scaly__VarString__ #define __Scaly__VarString__ namespace scaly { class VarString : public Object { public: VarString(); VarString(const char* theString); VarString(VarString* theString); VarString(string* theString); VarString(size_t theLength); VarString(size_t theLength, size_t the...
C
scalypp/VarString.h
rschleitzer/scaly
mit
1,088
41
codeparrot/github-code
a0bd0ba483eec04f47e6f9822e7dfe981f83a07eb967797a3a7de9f9b5bc6f97
// Copyright (c) 2012 Intel Corp // Copyright (c) 2012 The Chromium Authors // // 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 righ...
C++
src/renderer/shell_render_process_observer.cc
trueinteractions/tint
mit
4,395
118
codeparrot/github-code
f4de0d6894b6f336fb2821116d11358ef557965439418bb79d6c55554e90aa68
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Jebur27.Security.Interfaces; namespace Jebur27.Security { /// <summary> /// Class used for testing the Factory /// </summary> public class SecurityManagerTwo : ISecurityManager { string _userName; ...
C#
src/Security/SecurityManagerTwo.cs
JoeBurns27/FactoryByReflection
mit
1,593
66
codeparrot/github-code
6dd943d902b0515fa1cad46f96c9825e026fc908dad841396991dc8c438ac186
# Utilities # # Copyright (c) 2012, Gustav Tiger <gustav@tiger.name> # # 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, c...
Python
scripting.py
ddboline/Garmin-Forerunner-610-Extractor_fork
mit
2,490
66
codeparrot/github-code
52825d4b45bd6055eb9f78b0009779e8118f3f8f650e78add072483ed8512189
# -*- encoding : utf-8 -*- module Cequel module Record # # This is a utility class to construct a {Metal::DataSet} for a given # {RecordSet}. # # @api private # class DataSetBuilder extend Util::Forwardable # # Build a data set for the given record set # # @p...
Ruby
lib/cequel/record/data_set_builder.rb
cequel/cequel
mit
3,255
128
codeparrot/github-code
747e166a9c625649fda1421f3d10a1485d3aa8f4d6224abf8a23f26fdd3e82fb
namespace JexusManager.Features.DefaultDocument { using System.ComponentModel; using System.Windows.Forms; partial class NewDefaultDocumentDialog { /// <summary> /// Required designer variable. /// </summary> private IContainer components = null; /// <summary> ...
C#
JexusManager.Features.DefaultDocument/NewDefaultDocumentDialog.Designer.cs
jexuswebserver/JexusManager
mit
3,986
108
codeparrot/github-code
142df6bbc48fb5e0d28f499c0f40c7f8a1cc6a6a318a1b7ad5cefc94f0486494
<?php /** * Copyright 2017 The WildPHP Team * * You should have received a copy of the MIT license with the project. * See the LICENSE file for more information. */ namespace WildPHP\Modules\Aggregator\Sources; use GuzzleHttp\Client; use GuzzleHttp\Exception\RequestException; use WildPHP\Modules\Aggregator\IAgg...
PHP
src/Sources/UrbanDictionary.php
WildPHP/module-aggregator
mit
1,876
90
codeparrot/github-code
77c386061d9603be325801e005fa1ae90562a1ce8e7dc7e274d83eaf850d143f
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; namespace GlobalcachingApplication.Plugins.Solver { public class Solver : Utils.BasePlugin.BaseUIChildWindow { public const string ACTION_SHOW = "Solver"; public override bool Ini...
C#
DefaultPlugins/GlobalcachingApplication.Plugins.Solver/Solver.cs
RH-Code/GAPP
mit
4,262
88
codeparrot/github-code
d13cb44ee16c4559756bff6d78af5e14ff2c7b1139c3d88d58b6575d9c98815b
using UnityEngine; [ExecuteInEditMode] [AddComponentMenu("Colorful/Vintage")] public class CC_Vintage : CC_LookupFilter { public enum Filter { None, F1977, Aden, Amaro, Brannan, Crema, Earlybird, Hefe, Hudson, Inkwell, Juno, Kelvin, Lark, LoFi, Ludwig, Mayfair,...
C#
Assets/Toolkit/Colorful/Components/CC_Vintage.cs
TentacleGuitar/TentacleGuitar
mit
927
58
codeparrot/github-code
5babc67342369222b13e1ef76cfbe2d7e2324aaf67da285bebf781dea0618432
using UnityEngine; using UnityEngine.UI; namespace Sanicball.UI { [RequireComponent(typeof(RawImage))] public class AnimateRawImageOffset : MonoBehaviour { public Vector2 speed; private Vector2 offset; private RawImage img; private void Start() { img =...
C#
Assets/Scripts/UI/AnimateRawImageOffset.cs
BK-TN/Sanicball
mit
804
33
codeparrot/github-code
46db04a385e3e537d7818f1e269313af362fcc10257af07100fd5af3aaf1f43f
<?php /* * This file is part of the Active Collab Insight. * * (c) A51 doo <info@activecollab.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ declare (strict_types = 1); namespace ActiveCollab\Insight\Test\DailyAccountsHistory; use Activ...
PHP
test/src/DailyAccountsHistory/DowngradeTest.php
activecollab/Insight
mit
4,029
103
codeparrot/github-code
a39bbf8a5452e8244df3a64f9134bf040b4396c525b31b708507f757012b69ad
<?php namespace SkautisBundle\Security\Http\Logout; use Skautis\Skautis; use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Security\Http\Logout\LogoutSuccessHandlerInterface; /** * Trida provadejici odhlaseni */ class SkautisLogoutHandler imp...
PHP
Security/Http/Logout/SkautisLogoutHandler.php
skaut/SkautisBundle
mit
867
43
codeparrot/github-code
427ffe4092793a61827bf4e8fcc553cb81ac67ae41ed63ac576202327fa89a83
# == Schema Information # # Table name: documents # # id :integer not null, primary key # claim_id :integer # created_at :datetime # updated_at :datetime # document_file_name ...
Ruby
app/models/document.rb
ministryofjustice/advocate-defence-payments
mit
4,882
142
codeparrot/github-code
4339616985098f8b1b5a176dc12427d5b94ef7854ae62e522d3789b1f6d25162
// // APIInterface.h // ICSAdmin // // Created by Susmita Horrow on 28/10/15. // Copyright © 2015 GHCI-CSPR. All rights reserved. // #import <Foundation/Foundation.h> #import "APIError.h" #import <RestKit/RestKit.h> typedef enum { APIErrorStatusCodeBadRequest = 400, APIErrorStatusCodeUnauthorized = 401, API...
C
ICSAdmin/ICSAdmin/API/APIInterface.h
CSPRA/cspr-admin-ios
mit
2,803
103
codeparrot/github-code
36e1c8feabb5d9bbee53d600f60b340b7ffa52b134b73223068ba133b6a6a2e6
<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title>Playcorder tests</title> <link rel="stylesheet" type="text/css" href="./libs/mocha.css"/> <link rel="stylesheet" type="text/css" href="test.css"/> <style> </style> <script type="text/javascript" charset="utf-8" src="./f...
HTML
src/test/video.html
CrowdEmotion/respondent-video-capture-kit
mit
6,003
160
codeparrot/github-code
6ce5dd72953a396124538ed1747bb5c7a4566fbd2ff44abd137986680b404b68
using System.Configuration; using Newtonsoft.Json; namespace Nexmo.Api { public static class Account { public class Balance { public decimal value { get; set; } } public class Pricing { public string country { get; set; } public Netw...
C#
Nexmo.Api/Account.cs
thisiswhytheinternetexists/csharp-client
mit
1,582
55
codeparrot/github-code
0fb79cecc2201e5b3532eeb604ce87c7ad5e562e85c5ce3b3354cb2b1b977e1f
package org.knowm.xchange.anx.v2; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Map; import org.knowm.xchange.anx.v2.dto.ANXValue; import org.knowm.xchange.anx.v2.dto.account.ANXAccountInfo; import org.knowm.xchange.anx.v2.dto.account.ANXWallet...
Java
xchange-anx/src/main/java/org/knowm/xchange/anx/v2/ANXAdapters.java
gaborkolozsy/XChange
mit
11,275
335
codeparrot/github-code
1e8c47cab20b3160ab48cb02fc63162a3b8304b6953eef82ecd8c5c965d4a9d1
/* The plist command parses a plist file and indicates whether the parse was successful. */ package main import ( "os" "github.com/jason0x43/go-plist" ) func main() { if len(os.Args) != 2 { println("usage:", os.Args[0], "PLIST") os.Exit(1) } pl, err := plist.UnmarshalFile(os.Args[1]) if err != nil { p...
GO
plist/main.go
jason0x43/go-plist
mit
649
42
codeparrot/github-code
29e0168bcf192659611b65d13b6ad7307ecd6cb0b73e079d5aa493da8a33ae70
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>equations: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
HTML
clean/Linux-x86_64-4.10.2-2.0.6/extra-dev/dev/equations/1.2.1+8.10.html
coq-bench/coq-bench.github.io
mit
7,502
183
codeparrot/github-code
1340f5d46013ea37ad76f2ca437540cb1bdc85236c7b44aea1191b90d5b21637
$(function() { $( ".queryResultSet", "#tabs-adhocSql").hide(); $( ".handsontable", "#tabs-adhocSql").handsontable({ startCols: 1, }); }); $(function() { $('#adhocSqlText').resize( function() { adhocSqlTab.setTableHeightWidth(); }); $( ".start").button({ text: false, icons: { primary: "ui-ic...
JavaScript
js/tabAdhocSql.js
Bryan--Smith/JaSS
mit
5,574
184
codeparrot/github-code
5b1707549f0c367db4773ae1c920cdc8abfdcce767f24d6e247e17b59d97226b
# -*- coding: utf-8 -*- # code for console Encoding difference. Dont' mind on it import sys import imp imp.reload(sys) try: sys.setdefaultencoding('UTF8') except Exception as E: pass import testValue from popbill import CashbillService, PopbillException cashbillService = CashbillService(testValue.LinkID, te...
Python
getChargeInfo.py
linkhub-sdk/popbill.cashbill.example.py
mit
1,145
44
codeparrot/github-code
69833fb9800f645be77e095ac1698cd6c18e9a6c237be52ca277b38e969be1ef
import json import os import sys from jupyter_client.kernelspec import install_kernel_spec from IPython.utils.tempdir import TemporaryDirectory kernel_json = { "display_name": "Gauche", "language": "gauche", "argv": [sys.executable, "-m", "jupyter_gauche", "-f", "{connection_file}"], "codemirror_mode"...
Python
jupyter_gauche/install.py
ara-ta3/jupyter-gauche
mit
1,024
36
codeparrot/github-code
11eb6da28a6182dde559900fc70615adcb5c5b4948d4fb09dfc389375b6569c4
#ifndef _COMPONENT_CUBE_MESH_ #define _COMPONENT_CUBE_MESH_ #include "ComponentPrimitiveMesh.h" class ComponentCubeMesh : public ComponentPrimitiveMesh { public: ComponentCubeMesh(); ComponentCubeMesh(const ComponentCubeMesh& cpy); ~ComponentCubeMesh(); private: math::AABB geometry; public: //Set Methods -...
C
Engine/Engine/ComponentCubeMesh.h
Code0100Food/3DEngine
mit
644
33
codeparrot/github-code
372355135cbc36a121c15a5871ea221ae1ab58dddcd86feef07238e4c91e9331
import * as _ from "../index"; declare module "../index" { interface LoDashStatic { /** * Creates a slice of array with n elements taken from the beginning. * * @param array The array to query. * @param n The number of elements to take. * @return Returns the slic...
TypeScript
types/lodash/array/take.d.ts
zuzusik/DefinitelyTyped
mit
950
36
codeparrot/github-code
9078d132e498c718b8b8ce6f2d82c9cd15ce4fec1332147a2324249fed728f27
@charset "UTF-8"; /* ========================================================================== STYLES ========================================================================== */ /* ========================================================================== STYLES ==========================================...
CSS
source/css/styles.css
andywd7/pattern-lab
mit
14,024
656
codeparrot/github-code
658cb18a7ae25c149c82938bdcc887d8ca3620c935ec918014c5b0d4ebb21ad5
<!DOCTYPE html> <html lang="en-us"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="renderer" content="webkit"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>Posts - Nube</title> <meta name="description" co...
HTML
categories/page/2/index.html
cesarvr/cesarvr.github.io
mit
4,430
184
codeparrot/github-code
2957a0668fb135c484c561b3846a598a899624e495fc7a54667edde026a80221
/* * 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 br.on.daed.services.horizons; /** * * @author csiqueira */ public enum HorizonsID { EARTH_MOON_BARY(3), MERCURY(199), VE...
Java
src/main/java/br/on/daed/services/horizons/HorizonsID.java
csiqueirasilva/ASTRO
mit
961
55
codeparrot/github-code
6a7033951010102e16a41c77caeab39a7c4e94a1e2cb7efbbd328fd2ef3c1f40
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ca" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Litecoin</source> <translation>A prop de Switzerlandcoin</translatio...
TypeScript
src/qt/locale/bitcoin_ca.ts
Switzerlanddcoin/switzerlandcoin
mit
96,556
2,917
codeparrot/github-code
21f04ddee63b744dd407033089358e7f68420f8b10d5012628ab384e5c54d879
function solver(input, taskid) { var arr = input.split(','); var bearing = 0; var x = 0; var y = 0; var re = /([L|R])(\d+)/; var bitmap = new Array(1000 * 1000); for (var i=0; i<1000*1000; i++) { bitmap[i] = 0; } var x2 = 0; var y2 = 0; var task2solved = false; for (var i=0; i<arr.length; i++) { ...
JavaScript
1/solution.js
naali/aoc16
mit
1,584
89
codeparrot/github-code
25b51cf01ebc4659db399ff46aedb280e505ec3833b2dd020b3c3b85b0e7b9b9
package org.xmlsoft.jaxp.util; import org.xml.sax.DTDHandler; import org.xml.sax.SAXException; /** * User: rath * Date: 10/11/2013 * Time: 01:20 */ public class NullDTDHandler implements DTDHandler { private static NullDTDHandler INST = new NullDTDHandler(); public static NullDTDHandler getInstance() { retur...
Java
src/main/java/org/xmlsoft/jaxp/util/NullDTDHandler.java
rath/libxml2-java
mit
575
32
codeparrot/github-code
c3e6b938412915d060dddbb98f17632cd46abf32b480bef05f09f6e366ae65ad
<!doctype html> <html class='no-js' lang='<?= $lang ?>'> <head> <meta charset='utf-8'/> <title><?= $title . $title_append ?></title> <?php if (isset($favicon)): ?> <link rel='icon' href='<?= $this->url->asset($favicon) ?>'/><?php endif; ?> <?php foreach ($stylesheets as $stylesheet): ?> ...
PHP
theme/anax-base/index.tpl.php
edtau/wgtw
mit
1,926
63
codeparrot/github-code
dbb4d56cc531c7890cd09b82532e713e487704fe61a4a04b7c61dc40e4a63558
<?php /* * This file is part of the Fxp Composer Asset Plugin package. * * (c) François Pluchino <francois.pluchino@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Fxp\Composer\AssetPlugin\Package; /** * Th...
PHP
Package/LazyCompletePackage.php
fxpio/composer-asset-plugin
mit
3,041
168
codeparrot/github-code
c80b7991a3ea486a460ff5661d27ec001ffd09a6b103b5fb024db4469bb02625
# coding: utf-8 require 'fileutils' require 'yaml' module I18nPoTools class LocfileUtils attr_accessor :translations_dir, :dirname, :project_name, :template_locales, :locales, :locales_indexes, :translatio...
Ruby
lib/i18n_po_tools/utils/locfile.rb
stepin/i18n_po_tools
mit
5,518
166
codeparrot/github-code
48d55e64b2e581f1da2d843a7bb8c7fee21c87fda365c4e174be2e16dc8d542b
const INSTALL_XCODE_BUTTON_DESC = 'Install, Xcode, Free' const OPEN_XCODE_BUTTON_DESC = ' Xcode を開く' function isInvalidIndexError(e) { return e.toString() === 'Error: Invalid index.' } function waitUntilSuccess(f) { var ret do { delay(1) try { ret = f() } catch (e) { if (!isInvalidIndexE...
JavaScript
install_xcode.js
hnakamur/macbook_setup
mit
2,003
83
codeparrot/github-code
c0760637edd6d662287c84997a579aff64da4932a758a2c90c0f4ec7eaa39e00
/* * 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.magnoveras.ado02pi02; import java.util.Scanner; /** * * @author Magno */ public class Exercicio10 { ...
Java
ADO02PI02/src/main/java/com/magnoveras/ado02pi02/Exercicio10.java
magnumveras/ado02PI2
mit
2,612
94
codeparrot/github-code
0f2adee43a8cf82b41f0e7819552b236658c3a6d510abd56f664f1e7c492455b
using BaselineSolution.Bo.Internal; using BaselineSolution.DAL.Infrastructure.Bases; using BaselineSolution.Framework.Infrastructure; using BaselineSolution.Service.Translators.Internal; namespace BaselineSolution.Service.Infrastructure.Extentions { internal static class ExtensionsForTranslator { pub...
C#
BaselineSolution.Service/Infrastructure/Extentions/ExtensionsForTranslator.cs
Adconsulting/BaseSolution
mit
1,006
35
codeparrot/github-code
b65ec255129fd4d0979ebe3868e21940bc2814850abfec554afb0c733c645c17
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>semantics: 49 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.06.1-2.0.5/released/8.11.0/semantics/8.11.1.html
coq-bench/coq-bench.github.io
mit
12,609
224
codeparrot/github-code
cf78a7d96f57192f00e222623827b1bc0c06efcb358b3acbb41e7800321a43de
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>search-trees: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
HTML
clean/Linux-x86_64-4.05.0-2.0.6/released/8.5.2~camlp4/search-trees/8.8.0.html
coq-bench/coq-bench.github.io
mit
7,004
165
codeparrot/github-code
31058b0a724784667ab8e9d204b3d0811b2a802427ed528653612e505bf267a7
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>menhirlib: Error</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="sty...
HTML
clean/Linux-x86_64-4.12.0-2.0.8/extra-dev/dev/menhirlib/20200525.html
coq-bench/coq-bench.github.io
mit
12,216
237
codeparrot/github-code
e0716835b3e88bd99c046d06850f31d56e5016a8c310c7f12dac385bafb33917
<!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.08.1-2.0.5/released/8.14.0/elpi/1.9.1.html
coq-bench/coq-bench.github.io
mit
7,654
178
codeparrot/github-code
53b06cdc759f016e48945bb67bde4277d06a337c0656914fc118563202055ef2
/** * Created by Diogo on 26/10/2015. */ (function () { 'use strict'; describe('Teste de Directiva: oobjConfirmButton', function () { var $rootScope, $compile, scope, element, isolatedScope; beforeEach(module('oobj-directives')); before...
JavaScript
src/oobj-confirm-button/oobj-confirm-button.directive.spec.js
oobj/oobj-directives
mit
5,091
135
codeparrot/github-code
6dd785b634c4154863d78d8f5aed84c01949be210928f4ecc194c9d4156ccb57
package ie.tech.talk.domain; import ie.tech.talk.exception.EngineException; import java.util.ArrayList; import java.util.List; /** * Demo class for unit testing. * * Supposed to represent an Engine (Which from the below I know absolutely nothing about) * * This class will be the target of the unit test in one...
Java
src/main/java/ie/tech/talk/domain/Engine.java
mikfreeman/unit-testing
mit
1,651
91
codeparrot/github-code
a40a066132d54f5e5050ef7f18a8dd34b2bb92f2018682a90d0bda67f0036fdc
import * as React from "react"; import ReactSVG from "react-svg"; import { FullSize } from "../Layouts"; import CursorIcon from "./CursorIcon"; import { Cursor, getCursorItems } from "./Cursor"; import Props from "./Props"; const close = require("./icons/close.svg"); const prev = require("./icons/prev.svg"); const ...
TypeScript
src/Carousel/Mobile.tsx
gurunars/portfolio
mit
1,945
81
codeparrot/github-code
73fc6d55b5d7f620b9b742aea3e17c35e6fd021d8729d17524ae4cecf86b4e92
/** * */ package br.com.swconsultoria.efd.icms.registros.bloco0; import lombok.EqualsAndHashCode; /** * @author Samuel Oliveira * */ @EqualsAndHashCode public class Registro0175 { private final String reg = "0175"; private String dt_alt; private String nr_campo; private String cont_ant; /**...
Java
src/main/java/br/com/swconsultoria/efd/icms/registros/bloco0/Registro0175.java
Samuel-Oliveira/Java-Efd-Icms
mit
1,162
69
codeparrot/github-code
f95406205300c8b3c6dbd58341fe624c338e9bdc7c11bda323b82e8fd7164edc
/** * @fileoverview This option sets a specific tab width for your code * * This rule has been ported and modified from nodeca. * @author Vitaly Puzrin * @author Gyandeep Singh * @deprecated in ESLint v4.0.0 */ "use strict"; //------------------------------------------------------------------------------ // Re...
JavaScript
lib/rules/indent-legacy.js
platinumazure/eslint
mit
44,631
1,126
codeparrot/github-code
5d58f4369262e35a2fb1d772c56baa3a88d48714221a70d00a5b47fbab6bac8d
package com.mixer.api.resource.chat; import java.util.Random; public abstract class AbstractChatMethod extends AbstractChatDatagram { public String method; public int id; public AbstractChatMethod() { this(nextId(), null); } public AbstractChatMethod(int id) { this(id, null); ...
Java
src/main/java/com/mixer/api/resource/chat/AbstractChatMethod.java
WatchBeam/beam-client-java
mit
699
34
codeparrot/github-code
88098c9410c820ab51731eaa856602b8d484fa826262a62f182c0c5d593f68a7
var config = require("./../config.js"); var MongoClient = require('mongodb').MongoClient; var request = require("request"); var async = require("async"); var api = require('./api'); var userTypes = ["moderators","staff","admins","global_mods","viewers"]; var streamStart = {} function isStreaming(channel,callback){ ...
JavaScript
modules/periodicOps.js
linuxgemini/twitchBot
mit
3,962
112
codeparrot/github-code
4deb32fcb0dc6d06d9677eec55f98a7dcd67f8277032d39b5680d2b39b6904ea
<?php namespace adminBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Symfony\Component\Form\Extension\Core\Type\DateType; use Symfony\Component\Form\Extension\Core\Type\EmailType; use Symfony\Component\Form\Extension\Core\Typ...
PHP
src/adminBundle/Controller/DefaultController.php
LiegardP/cours_symfony
mit
6,145
149
codeparrot/github-code
c0c467fbfe4825d136f08dba2934051e61419f49a453f975e19b3d17126189bd
<head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Hello, World.</title> <meta name="description" content=""> <meta name="HandheldFriendly" content="True"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="shortcut i...
HTML
publicgit@github.com:keithhamilton/blog.git/hello/index.html
keithhamilton/blog
mit
8,900
176
codeparrot/github-code
12e82c2d091ce0b55dfd13ca54bdda20084f85402b40c8522baab3c96cb6bcf5
<?php class Persona_model extends CI_Model { public function construct() { parent::__construct(); } function editpass($usuario, $curp) { $this->db->where('pcurp', $curp); return $this->db->update('usuariobiblio', $usuario); } function crearedit($persona, $usuario, $gr...
PHP
application/models/Persona_model.php
zodiak2290/SistemaBiblioteca
mit
6,319
174
codeparrot/github-code
eae03c21f8c07ef1206b767613023058de4fa87a761fd8548427dc284379f5f5
#include "GLProfiler.h" #include "visualizer/atengl.h" namespace aten { uint32_t GLProfiler::s_query[2] = { 0 }; bool GLProfiler::s_isProfiling = false; bool GLProfiler::s_enable = false; void GLProfiler::start() { if (s_query[0] == 0) { CALL_GL_API(::glGenQueries(2, s_query));...
C++
src/libaten/visualizer/GLProfiler.cpp
nakdai/aten
mit
2,223
102
codeparrot/github-code
bb2156b9770a96dc08796db79912f94d30fc7fdf543f5086c954270c81b460ab
{template '_header'} <div class="page-heading"> <span class='pull-right'> {ifp 'qa.category.add'} <a class="btn btn-primary btn-sm" href="{php echo webUrl('qa/category/add')}"><i class="fa fa-plus"></i> 添加分类</a> {/if} </span> <h2>问题分类</h2> </div> {if count($list)>0} <form action=...
HTML
addons/ewei_shopv2/plugin/qa/template/web/category/index.html
Broomspun/shanque
mit
4,083
89
codeparrot/github-code
046d89884e49a292da1e947e1c86884f1f6065c1878d9f117c8f5e185df024e0
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>lib/dalek.js - dalekjs</title> <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css"> <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css"> <link rel="stylesheet" href=".....
HTML
package/dalekjs/master/api/files/lib_dalek.js.html
dalekjs/dalekjs.github.io
mit
13,562
490
codeparrot/github-code
eb63fca2368fb4d5a1264f74c2ea523c3c5d7b6a2133618b63478a8970719c34
var nomnoml = nomnoml || {} nomnoml.render = function (graphics, config, compartment, setFont){ var padding = config.padding var g = graphics var vm = skanaar.vector function renderCompartment(compartment, style, level){ g.save() g.translate(padding, padding) g.fillStyle(config.stroke) _.each(compartment...
JavaScript
nomnoml.renderer.js
prantlf/nomnoml
mit
5,612
185
codeparrot/github-code
e38473ae37bdbd1533f0530655a8a2618fdc4bd9783013c8f11c57ca75fd079e
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The sherlockholmescoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef __cplusplus # error This header can only be compiled as C++. #e...
C
src/protocol.h
brishtiteveja/sherlockholmescoin
mit
3,731
149
codeparrot/github-code
51b99574524ca469f2fb3fc24a106b844faed1c88ade9225959ad6f7bd95e145
using System; using System.ComponentModel; using System.Collections.Generic; using Newtonsoft.Json; using System.Linq; using STEP; namespace IFC { /// <summary> /// <see href="http://www.buildingsmart-tech.org/ifc/IFC4/final/html/link/ifcgeometricset.htm"/> /// </summary> public partial class IfcGeometricSet :...
C#
lang/csharp/src/IFC/IfcGeometricSet.g.cs
ikeough/IFC-gen
mit
1,180
44
codeparrot/github-code
0a9212c3b5a333719ac8ff6a3ed8098dd2ccd8733e0f3e458c06ded7207302e7
import { Component, OnInit, OnDestroy } from '@angular/core'; import { Location } from '@angular/common'; import { Router, RouterModule, NavigationStart, ActivatedRoute, PRIMARY_OUTLET, Params } from '@angular/router'; import 'rxjs/add/operator/filter'; import { ApplicationState } from '../application-state'; interfac...
TypeScript
src/app/framework/toolbar/toolbar.component.ts
sondreb/ume
mit
2,909
120
codeparrot/github-code
54379256947a22c0776dd50c0f524293f89de4698066f7ad4a836df0bb7030fd
package cz.cvut.fel.a4m36jee.airlines.frontend; import cz.cvut.fel.a4m36jee.airlines.frontend.utils.DriverHolder; import org.junit.Before; import org.junit.Test; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import java.util.concurrent.TimeUnit; /** * Test for login. * * @author slavion3 *...
Java
src/test/java/cz/cvut/fel/a4m36jee/airlines/frontend/LoginTest.java
klimesf/a4m36jee-project
mit
944
39
codeparrot/github-code
61708743d8c45e6eee6142f87ab84d412252e7d0b0c16a672e4074ffec41cbfe
from __future__ import division import numpy as np # import matplotlib.pyplot as plt from scipy.integrate import odeint # from scipy.interpolate import interp1d from scipy.optimize import minimize from ktr_shuttle_ode import main_ode, ParamHolder # Parameters '''r_total: Ths can be inferred experimentally or from the ...
Python
covertrace/utils/kinase_estimation_inh.py
braysia/covertrace
mit
4,757
130
codeparrot/github-code
8855b1fe25b5f726e19fe681220cd990cbdc1ec5e111aff8497a2060edb4423d
<?php namespace Acme\PermissionBundle\Entity; use Symfony\Component\HttpFoundation\File\UploadedFile; use Doctrine\ORM\Mapping as ORM; /** * Dinhkemguihs * * @ORM\Table(name="dinhkemguihs", indexes={@ORM\Index(name="fk_dinhkemguihs_hosotthc1_idx", columns={"hosotthc"})}) * @ORM\Entity */ class Dinhkemguihs { ...
PHP
src/Acme/PermissionBundle/Entity/Dinhkemguihs.php
ketnh55/Permission
mit
3,794
164
codeparrot/github-code
695b1668e2a5ae716dc4d8b084d5fd488f7c8e2691e1013c33c3e055d611e10f
package com.github.ilyamurzinov.ecareapp.service; import com.github.ilyamurzinov.ecareapp.domain.Contract; import com.github.ilyamurzinov.ecareapp.domain.Option; import com.github.ilyamurzinov.ecareapp.domain.Tariff; import com.github.ilyamurzinov.ecareapp.dao.OptionDAO; import com.github.ilyamurzinov.ecareapp.dao.Tar...
Java
ecare-app-web/src/main/java/com/github/ilyamurzinov/ecareapp/service/TariffServiceImpl.java
ilya-murzinov/ecare-app
mit
2,784
101
codeparrot/github-code
6e1453e08a10a1f3059b88c7cc5a4323621d92cad32db5347d6520d9862c3dbb
// 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 /* MenuForm.cs -- * Ars Magna project, http://arsmagna.ru * ------------------------------------------------------- * Status: poor */ #region Using direc...
C#
Source/Classic/Libs/IrbisUI/Source/Editors/MenuForm.cs
amironov73/ManagedIrbis
mit
2,778
140
codeparrot/github-code
9a690d682b32dfbb20ead1ae21c776e77d12846934cb80a78b47834b03b19acc
<?php namespace Draw\Swagger\Extraction\Extractor; use Draw\Swagger\Extraction\ExtractionContextInterface; use Draw\Swagger\Extraction\ExtractionImpossibleException; use Draw\Swagger\Extraction\ExtractorInterface; use Draw\Swagger\Schema\OpenApi; use JMS\Serializer\Serializer; /** * Class OpenApiJsonSchemaExtractor...
PHP
Extraction/Extractor/OpenApiJsonSchemaExtractor.php
supersmile2009/swagger
mit
2,348
93
codeparrot/github-code
b29ce8920b0e186da3693e4c1b8f7d2aaaa8be73ee5ca180cc1593eba3cb383f
<?php use Symfony\Component\HttpKernel\Kernel; use Symfony\Component\Config\Loader\LoaderInterface; class AppKernel extends Kernel { public function registerBundles() { $bundles = array( new Symfony\Bundle\FrameworkBundle\FrameworkBundle(), new Symfony\Bundle\SecurityBundle\Sec...
PHP
app/AppKernel.php
lichnow/geekcoding
mit
2,317
53
codeparrot/github-code
6acfd3d499aebc1e559f465b61660903cebde28b044ea1b26a147c983753827b
/* * Base class used to build smooth curves in Unity and easily visualize them aswell as * make actors follow them. * * https://github.com/tombbonin */ using UnityEngine; namespace Curves { public class CurvePoint { public Vector3 Position; public Vector3 Tangent; public Vector...
C#
Curves/Curve.cs
TomBBonin/UnityHelpers
mit
4,529
136
codeparrot/github-code
923a9fa1e030a627484d0bb882d340a09191d268048e2ae9fc83502bf529cd4b
import { Store } from '@ngrx/store'; import { Observable } from 'rxjs/Observable'; import { TestBed, inject } from '@angular/core/testing'; import * as _ from 'lodash'; import { ArticleFormValues, Article } from '../../models'; import { PaginationService } from './pagination.service'; import { RequestPaginationAction...
TypeScript
src/app/store/articles/pagination/pagination.service.spec.ts
hmch17/blog
mit
2,688
71
codeparrot/github-code
efdf56010b01a05e2436f953c5484f4c5a579c57720a47df9f0be5ba4ea66364
package com.kk.avrotoxml; import java.io.FileInputStream; import java.io.FileWriter; import java.io.IOException; import java.util.Stack; import org.json.JSONArray; import org.json.XML; import org.apache.log4j.Logger; public class AvroToXMLConvertor { private static Logger log = Logger.getLogger(AvroToXMLConvertor...
Java
src/main/java/com/kk/avrotoxml/AvroToXMLConvertor.java
kaustuvkunal/Avro-XML-Convertor
mit
2,232
87
codeparrot/github-code
60625ea966c8f3c0243da1e0038dbee013cae537f318ec37ee23ebc4cd73c700
<!-- index.html --> <html> <head> <title>Find Trains!</title> <script src="http://fb.me/react-0.12.2.js"></script> <script src="http://fb.me/JSXTransformer-0.12.2.js"></script> <script src="http://code.jquery.com/jquery-1.10.0.min.js"></script> <script src="stations.js"></script> </head> <body...
HTML
index.html
cdale77/simple_bart_front
mit
3,738
114
codeparrot/github-code
2c76336e57d3c0c88b5a277352a0f1d8bc599ce700136c9aa0286590d36a4f1b
/* * 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 test.Tint; import configuration.Config; import edu.stanford.nlp.pipeline.Annotation; import eu.fbk.dh.tint.runner.Tin...
Java
src/test/java/test/Tint/TintTest.java
GianpieroSportelli/ConversationalAgent
mit
1,705
45
codeparrot/github-code