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 |
|---|---|---|---|---|---|---|---|---|
6d833ae883934a36089f041692b8866aea0c55596582e70b7606ce8bbe281f81 | <?php
namespace Oro\Bundle\NoteBundle\Controller;
use FOS\RestBundle\Util\Codes;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Bundle\FrameworkBundle\Routing\Router;
use Symfony\Component\HttpFoundation\Response;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\F... | PHP | src/Oro/Bundle/NoteBundle/Controller/NoteController.php | morontt/platform | mit | 4,038 | 146 | codeparrot/github-code |
004cfa19fbbb4a3711a31f07faf64d76ca0e83d114e029c2581b02ca71cdd9d2 | 'use strict';
memoryApp.controller('AuthCtrl', function ($scope, $location, AuthService) {
$scope.register = function () {
var username = $scope.registerUsername;
var password = $scope.registerPassword;
if (username && password) {
AuthService.register(username, password).then(
function () ... | JavaScript | backend/static/js/controllers/auth.js | emilkjer/django-memorycms | mit | 980 | 38 | codeparrot/github-code |
033c4f8b84deea2ef844bed3b223f30de49604d560be8de27e9990bfa9db0a5a | /**
* MIT License
*
* Copyright (c) 2017 zgqq
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, me... | Java | mah-core/src/main/java/mah/ui/util/UiUtils.java | zgqq/mah | mit | 1,999 | 54 | codeparrot/github-code |
cdcc9557efa41dfd7d57caf63080addd42491a5f6ccb24f338c6061229ede280 | <html>
<head>
<title>
Why we oppose the FTAA
</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<?php include "../../legacy-includes/Script.htmlf" ?>
</head>
<body bgcolor="#FFFFCC" text="000000" link="990000" vlink="660000" alink="003366" leftmargin="0" topmargin="0">
<table width="74... | PHP | web/2003-2/476/476_06_FTAA.php | ISO-tech/sw-d8 | mit | 15,290 | 98 | codeparrot/github-code |
7f571872d70e18b321fdbc5dc442a14329fb6aa392a50b37cbfd949c321b7e4d | //
// SPFastPush.h
// e-mail:83118274@qq.com
//
// Created by lishiping on 16/11/11.
// Copyright (c) 2016年 lishiping. All rights reserved.
//
//If you think this open source library is of great help to you, please open the URL to click the Star,your approbation can encourage me, the author will publish the better ... | C | SPFastPush/SPFastPush/SPFastPush.h | lishiping/SPFastPush | mit | 11,044 | 452 | codeparrot/github-code |
273b599a1a4023fa486bb069fc6a45f410d5d7e22710df3fe55b4db2c58f3f97 | <?php
namespace IdeaSeven\Core\Services\Menu;
use IdeaSeven\Core\Exceptions\InvalidMenuStructureException;
use IdeaSeven\Core\Helpers\Strings;
use IdeaSeven\Core\Services\Lang\Contracts\LanguagesContract;
/**
* Class PermalinkCreator
* @package IdeaSeven\Core\Services\Menu
*/
class PermalinkCreator
{
/**
... | PHP | src/Services/Menu/PermalinkCreator.php | mbouclas/mcms-laravel-core | mit | 3,536 | 117 | codeparrot/github-code |
8bcb544e8cf9be51dd39c331bdbbb34be4f6347d691034d77a69dda23b0920fb | <?php
/* TwigBundle:Exception:exception_full.html.twig */
class __TwigTemplate_add344e1e383c1eb02227246319313ae extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = $this->env->loadTemplate("TwigBundle::layout.html.twig");
... | PHP | app/cache/dev/twig/ad/d3/44e1e383c1eb02227246319313ae.php | krlts/Homefanfics | mit | 2,264 | 76 | codeparrot/github-code |
dbbdc2e1685df37195768dff592cbbd1ff07a822517612f8c997b6cfe3dcea67 | <?php
namespace CBSi\ProductBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use CBSi\ProductBundle\Model\Product;
use CBSi\ProductBundle\ApiClient;
class DefaultController extends Controller
{
public function indexAction($name)
{
return $this->render('CBSiProductBundle:De... | PHP | src/CBSi/ProductBundle/Controller/DefaultController.php | smp4488/symfony2 | mit | 1,439 | 46 | codeparrot/github-code |
942377425bc8b509ca2e5e0a315ec9f865d7252729322331b178d611e01c566d | #ifndef LUCE_HEADER_TYPETRAIT_TYPEEQUAL_HH
#define LUCE_HEADER_TYPETRAIT_TYPEEQUAL_HH
#include <Luce/Configuration.hh>
#include <Luce/Utility/NonComparable.hh>
#include <Luce/Utility/NonCopyable.hh>
namespace Luce
{
namespace TypeTrait
{
template<typename Lhs_, typename Rhs_>
struct TypeEqual LUCE_M... | C++ | Include/Luce/TypeTrait/TypeEqual.hh | kmc7468/Luce | mit | 799 | 35 | codeparrot/github-code |
eabad79e7f9feaabd741d584e25a8709416691e3899ce17a0257b43a168bf9c8 | #!/usr/bin/env julia
using ArgParse
s = ArgParseSettings()
@add_arg_table s begin
"config"
help = "a YAML configuration file"
default = "config.yaml"
end
parsed_args = parse_args(ARGS, s)
import YAML
config = YAML.load(open(parsed_args["config"]))
# Make some diagnostic plots to show what the model loo... | Julia | attic/plot_tstructure.jl | iancze/JudithExcalibur | mit | 5,278 | 222 | codeparrot/github-code |
efef55e53b363fbd36ed9bf06f2d093dfd7ecf2eaf9898274e9379c699a41d23 | export type TemplateToken = string | TemplatePlaceholder;
export interface TemplatePlaceholder {
before: string;
after: string;
name: string;
}
interface TokenScanner {
text: string;
pos: number;
}
const enum TemplateChars {
/** `[` character */
Start = 91,
/** `]` character */
En... | TypeScript | src/markup/format/template.ts | emmetio/emmet | mit | 3,227 | 113 | codeparrot/github-code |
0af1b6735dc5dde7852d34e804c262ea36f861deeee16c5e3be475d1bb1ab06b | package com.example.aperture.core.contacts;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.provider.ContactsContract;
import java.util.List;
import java.util.ArrayList;
import com.example.aperture.core.Module;
public class Email... | Java | src/com/example/aperture/core/contacts/EmailFilter.java | ayshen/caek | mit | 5,607 | 157 | codeparrot/github-code |
2df88c37743e122c6b33475b3eefb39a232bf28fc6589ecd7f54ad4d7616fdfd | // Copyright (c) 2011-2014 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 "kcoingui.h"
#include "kcoinunits.h"
#include "clientmodel.h"
#include "guiconstants.h"
#include "guiutil.h"
#inclu... | C++ | src/qt/kcoingui.cpp | Kcoin-project/kcoin | mit | 39,810 | 1,118 | codeparrot/github-code |
24198bbc03628b58650f5e95cca1b1178cd3ae4c7065fc76d4ef9b2443bbb840 | <?php
namespace Application\Controller;
use Zend\Mvc\Controller\AbstractRestfulController;
use Zend\View\Model\JsonModel;
class UserController extends AbstractRestfulController
{
protected $collectionOptions = array('GET', 'POST');
protected $resourceOptions = array('GET', 'PUT', 'DELETE');
protected fu... | PHP | UserController.php | amercier/dogu-legacy | mit | 1,957 | 71 | codeparrot/github-code |
35a12e61373a4d8c95dcac41647ae9bba3a099733bacd382eaf77453b01c2064 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>qarith: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | HTML | clean/Linux-x86_64-4.08.1-2.0.5/extra-dev/8.10.dev/qarith/8.7.0.html | coq-bench/coq-bench.github.io | mit | 6,962 | 166 | codeparrot/github-code |
fe1ea82ae817e7302caac5c2bf7ae450268400b4cb2b5d6a83a51f711208579e | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>cfml: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel=... | HTML | clean/Linux-x86_64-4.05.0-2.0.6/released/8.5.0/cfml/20180525.html | coq-bench/coq-bench.github.io | mit | 6,595 | 164 | codeparrot/github-code |
5a4b0931146fbb6d2d060be1ab7ba119b25e977501499dcbfbed6b7daafbabb2 | package edu.avans.hartigehap.web.util;
import java.io.UnsupportedEncodingException;
import javax.servlet.http.HttpServletRequest;
import org.springframework.web.util.UriUtils;
import org.springframework.web.util.WebUtils;
import lombok.extern.slf4j.Slf4j;
@Slf4j
public class UrlUtil {
private UrlUtil() {
... | Java | src/main/java/edu/avans/hartigehap/web/util/UrlUtil.java | jermeyjungbeker/VP11B2 | mit | 833 | 33 | codeparrot/github-code |
042f545c24fdb5759e84609033abd5ceecf4e6a6aa9b238dbeb57185c9d37ebd | package com.veggie.src.java.controllers.transaction;
import java.util.List;
import com.veggie.src.java.controllers.Controller;
import com.veggie.src.java.form.Form;
import com.veggie.src.java.form.AbstractFormBuilder;
import com.veggie.src.java.form.AbstractFormBuilderFactory;
import com.veggie.src.java.notification.N... | Java | com/veggie/src/java/controllers/transaction/ReturnController.java | ejw0013/vegemite-smoothie | mit | 1,973 | 53 | codeparrot/github-code |
b98c74fed013f374b0ac048508580e2bc2808a90de158cd349352a8f9b66794c | (function() {
'use strict';
angular
.module('rtsApp')
.directive('hasAuthority', hasAuthority);
hasAuthority.$inject = ['Principal'];
function hasAuthority(Principal) {
var directive = {
restrict: 'A',
link: linkFunc
};
return directive... | JavaScript | src/main/webapp/app/services/auth/has-authority.directive.js | EnricoSchw/readthisstuff.com | mit | 1,477 | 55 | codeparrot/github-code |
10af23a031291f20a9e254ffe67766fdd5d90ffb167551ea65a035f8e9c36069 | var async = require('async');
function captainHook(schema) {
// Pre-Save Setup
schema.pre('validate', function (next) {
var self = this;
this._wasNew = this.isNew;
if (this.isNew) {
this.runPreMethods(schema.preCreateMethods, self, function(){
next();
});
} else {
this.ru... | JavaScript | lib/index.js | hackley/captain-hook | mit | 1,881 | 97 | codeparrot/github-code |
8445fcc9bef3d4a9d1536cd939bac3bd10ec8cc7605db6edfb96c40d291daefb | <?php
function formatBytes($bytes, $precision = 2) {
$units = array('B', 'KB', 'MB', 'GB', 'TB');
$bytes = max($bytes, 0);
$pow = floor(($bytes ? log($bytes) : 0) / log(1024));
$pow = min($pow, count($units) - 1);
$bytes /= pow(1024, $pow);
return round($bytes, $precision) . ' ' . $unit... | PHP | class/functions.php | gpires/BroadApi | mit | 5,568 | 151 | codeparrot/github-code |
090d29fdbf377791e92e0b424895fb98080bde19cc58c87eef0988f6f7b84e14 | # Namespace for library
module P3
module TV
# Settings for P3 TV
class Settings
attr_accessor :path
DEFAULT_PATH = File::expand_path( "~/.p3tv/p3tv" )
EPISODES_JSON = 'episodes.json'
DEFAULTS = {
:library_path => '~/Movies/P3TV',
:download_path => '~/Downloads',
... | Ruby | lib/p3-tv/settings.rb | poulh/tvtime | mit | 7,815 | 240 | codeparrot/github-code |
816d088807ca1b154d60febd20825d9a742e121224219b66529347f4679f9768 | # module Hello
class Identity < ActiveRecord::Base
module Password
extend ActiveSupport::Concern
included do
validates_presence_of :email, :password, if: :is_password?
# email
validates_email_format_of :email, if: :is_password?
validates_uniqueness_of :email,
... | Ruby | app/models/concerns/identity/password.rb | stulzer/hello | mit | 1,455 | 65 | codeparrot/github-code |
67685364c7c54ab0f4105c3110ed21c098aafb03b54870e72ede85c5e56b0da4 | <!DOCTYPE html>
<html ng-app="myApp">
<head>
<script src="http://code.angularjs.org/1.2.16/angular.min.js"></script>
<script src="http://code.angularjs.org/1.2.16/angular-route.min.js"></script>
<script src="/ng-tools/src/module.js"></script>
<script src="/ng-tools/src/mark-current-links.js"></script>
... | HTML | showcase/markCurrentLinks.html | capaj/ng-tools | mit | 1,586 | 47 | codeparrot/github-code |
d16402b572531d5bdc2a475ebf42a79b833d9a0a49411b4fafa6c857dea92a04 | //
// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
// LICENSE: Atomic Game Engine Editor and Tools EULA
// Please see LICENSE_ATOMIC_EDITOR_AND_TOOLS.md in repository root for
// license information: https://github.com/AtomicGameEngine/AtomicGameEngine
//
#include <Atomic/Core/ProcessUtils.h>
#i... | C++ | Source/AtomicTool/AtomicTool.cpp | nonconforme/AtomicGameEngine | mit | 9,385 | 347 | codeparrot/github-code |
8dc84385eeb12057832d43a6ea69830c7df0d968f4c77efbbc295a7ea8f4b783 | from charmhelpers.core.hookenv import (
config,
unit_get,
)
from charmhelpers.contrib.network.ip import (
get_address_in_network,
is_address_in_network,
is_ipv6,
get_ipv6_addr,
)
from charmhelpers.contrib.hahelpers.cluster import is_clustered
PUBLIC = 'public'
INTERNAL = 'int'
ADMIN = 'admin'... | Python | lib/charmhelpers/contrib/openstack/ip.py | jiasir/openstack-trove | mit | 2,332 | 80 | codeparrot/github-code |
a4eddaea1a44ca87f696ef05d63fa102cccfb2a0d472b43426e26e8eed9623b3 | var margin = {top: 0, right: 0, bottom: 0, left: 130},
width = 1500 - margin.right - margin.left,
height = 470 - margin.top - margin.bottom;
var i = 0,
duration = 750,
root;
var tree = d3.layout.tree()
.size([height, width]);
var diagonal = d3.svg.diagonal()
.projection(function(d) { return [... | JavaScript | app/templates/js/treeplot.js | lzlarryli/limelight | mit | 4,259 | 142 | codeparrot/github-code |
4609f7b8378c9561c5b561ca4761f8e08c18800d55301b8e466b86efca210d2c | import { EventBus } from '../wires/event_bus';
class EventStore {
constructor(storeAdapter) {
this.adapter = storeAdapter;
}
appendToStream(streamId, expectedVersion, events) {
if (events.length === 0) {
return;
}
events.forEach(function(event) {
thi... | JavaScript | src/storage/event_store.js | goldoraf/osef | mit | 1,162 | 44 | codeparrot/github-code |
3373a459ac8413296307c2d98a45a231416321bf4dfe77375b75bcad5c2fbbc3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
namespace _02_Convert_from_base_N_to_base_10
{
public class ConvertFromBaseNToBase10
{
public static void Main()
{
string[] parameters = Consol... | C# | 01_ProgrammingFundamentals/Homeworks/09_Strings-Ex/02_Convert from base-N to base-10/ConvertFromBaseNToBase10.cs | akkirilov/SoftUniProject | mit | 1,197 | 47 | codeparrot/github-code |
3568cdca836439fd8b66dd547260b8bb8f09b01ea4bde26bbe17f04f6a27018f | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Collections;
using System.Threading;
namespace Joddgewe
{
public partial class Form1 : Form
{
private stri... | C# | Joddgewe/Form1.cs | avinet/joddgewe | mit | 7,169 | 234 | codeparrot/github-code |
0530a021c883141249f3160ab9cb79641159bc8eaa2fde6dd751b4cf8b368100 | package com.jnape.palatable.lambda.optics.prisms;
import org.junit.Test;
import java.util.HashMap;
import java.util.LinkedHashMap;
import static java.util.Arrays.asList;
import static java.util.Collections.singleton;
import static java.util.Collections.singletonMap;
import static testsupport.assertion.PrismAssert.as... | Java | src/test/java/com/jnape/palatable/lambda/optics/prisms/MapPrismTest.java | palatable/lambda | mit | 1,147 | 33 | codeparrot/github-code |
9078192e389823670fa8f5051ce29d560b044b83fdc76e778e0e6011a3adaa91 | import React from 'react';
import {
Text,
View,
TextInput,
} from 'react-native';
import newChallengeStyles from '../../styles/newChallenge/newChallengeStyles';
import mainStyles from '../../styles/main/mainStyles';
import ItemSelectView from './ItemSelectView';
const propTypes = {
onChallengeUpdate... | JavaScript | js/views/newChallenge/PrizeView.js | SamyZ/BoomApp | mit | 2,598 | 88 | codeparrot/github-code |
11075ce85453afa8fc4cd4bcc3570f9015b1a33929dd93799c66d23ac4ff09a5 | import React, {PropTypes} from 'react';
import L from 'leaflet';
import gh from '../api/GitHubApi';
import RaisedButton from 'material-ui/RaisedButton';
const REPO_TIMESPAN = {
ALLTIME: 0,
THIRTYDAYS: 1,
SIXTYDAYS: 2,
ONEYEAR: 3
};
const defaultMapConfig = {
options: {
center: [
... | JavaScript | src/components/views/RepoUserHeatmap.js | jefferey/octoviz | mit | 2,707 | 114 | codeparrot/github-code |
f514a06278e456282b9be6cce5c63fb1e9ede979add7d5393ce4d2945c636cc9 | import java.security.Security;
import java.util.Base64;
import org.bouncycastle.crypto.BlockCipher;
import org.bouncycastle.crypto.BufferedBlockCipher;
import org.bouncycastle.crypto.engines.RijndaelEngine;
import org.bouncycastle.crypto.modes.CBCBlockCipher;
import org.bouncycastle.crypto.paddings.PKCS7Padding;
impor... | Java | Token-Generator/src/main/java/DotNet.java | mseclab/AHE17 | mit | 3,987 | 128 | codeparrot/github-code |
0941a33f65bb266499d2125b60cb474b29bc25f979b4f9dcd425574225df6b73 | module Miro
class DominantColors
attr_accessor :src_image_path
def initialize(src_image_path, image_type = nil)
@src_image_path = src_image_path
@image_type = image_type
end
def to_hex
return histogram.map{ |item| item[1].html } if Miro.histogram?
sorted_pixels.collect { |pix... | Ruby | lib/miro/dominant_colors.rb | oxoooo/miro | mit | 4,361 | 139 | codeparrot/github-code |
8cc26761f62d76368c9dfde5523d3c887e131a7d416587bfd8f8e6ad4bf152cc | <?php
include_once('Msidcalendar_LifeCycle.php');
class Msidcalendar_Plugin extends Msidcalendar_LifeCycle {
/**
* See: http://plugin.michael-simpson.com/?page_id=31
* @return array of option meta data.
*/
public function getOptionMetaData() {
// http://plugin.michael-simpson.com/?pa... | PHP | Msidcalendar_Plugin.php | bretthamilton/msidcalendar | mit | 6,513 | 207 | codeparrot/github-code |
978b8a33ae896567ab82948755bd594b2f1476ab0261ec1e13fa951c3cb5c38d | import { createStore } from '@utils/store.utils';
import placeholderImage from '../images/placeholder.jpeg';
import { getPhotoUrl, getPrefetchedPhotoForDisplay } from './api';
import { getLocalPhotoPath, getRandomLocalPhoto } from './photos.local';
import Settings from './settings';
export const getStateObject = (forc... | JavaScript | src/modules/background/utils/store.js | emadalam/mesmerized | mit | 1,498 | 51 | codeparrot/github-code |
de7b06388874cc90cc721f3e4214e35e68214d3d98aed7cde75c3c447ba057a8 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>unimath-ktheory: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap... | HTML | clean/Linux-x86_64-4.06.1-2.0.5/released/8.10.1/unimath-ktheory/0.1.0.html | coq-bench/coq-bench.github.io | mit | 6,612 | 165 | codeparrot/github-code |
38028fa4f58ca1bee3503e24df4a579758d34728b31af33b5f483271dc316669 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>color: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | HTML | clean/Linux-x86_64-4.06.1-2.0.5/extra-dev/8.10.0/color/1.2.0.html | coq-bench/coq-bench.github.io | mit | 8,958 | 237 | codeparrot/github-code |
0c54de21f9299fd646fd57413cd3714ec8b3192529646ce4b56f703a42ef3fd8 | Framework 4.6
properties {
$rootNow = Resolve-Path .
$nugetexe = "$rootNow/buildTools/nuget.exe"
$mahuaDownloadTempDir = "$( $env:TEMP )\Newbe\Newbe.Mahua\Mahua2.Asset"
$mahuaFilesJson = "mahua.files.json"
}
function Get-PlartformName
{
if ((Test-Path "$rootNow/CQA.exe") -or (Test-Path "$rootNow/C... | PowerShell | src/Newbe.Mahua.Installer/mahua.ps1 | Newbe36524/Newbe.Mahua.Framework | mit | 2,695 | 86 | codeparrot/github-code |
001288376209dae26c680ec1ea289343f814377bd8f869ffb7c71ac74b259469 | package com.jgrillo.wordcount.api;
import com.fasterxml.jackson.core.JsonFactory;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.ObjectReader;
import com.fasterxml.jackson.databind.... | Java | src/test/java/com/jgrillo/wordcount/api/CountsTest.java | jgrillo/wordcount-service | mit | 3,572 | 89 | codeparrot/github-code |
c820e47f67ad0e2c9c97ae871b436bffe66318ad9212e1fad265120a2d5ee9c4 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>monae: 5 m 47 s</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="styl... | HTML | clean/Linux-x86_64-4.10.0-2.0.6/released/8.11.2/monae/0.1.2.html | coq-bench/coq-bench.github.io | mit | 13,592 | 238 | codeparrot/github-code |
af777b9cebc8b35a391f984b0a76e7248f7353852e9e63e1e0c06abfec3627fd | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>graph-theory: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.mi... | HTML | clean/Linux-x86_64-4.06.1-2.0.5/released/8.11.1/graph-theory/0.9.html | coq-bench/coq-bench.github.io | mit | 7,565 | 185 | codeparrot/github-code |
b9a740796a36ba4357bbc010624d8c53f7d29f0cd65810fb1435bc72d891a6bc | <?php
/**
Telerivet_ScheduledMessage
Represents a scheduled message within Telerivet.
Fields:
- id (string, max 34 characters)
* ID of the scheduled message
* Read-only
- content
* Text content of the scheduled message
* Read-only
... | PHP | lib/scheduledmessage.php | Telerivet/telerivet-php-client | mit | 6,284 | 177 | codeparrot/github-code |
5f75054bb9a0cfa964d274cee84e39aff5487b4e3332ff33306b29a2c5caa62f | import React, { useState, useRef } from 'react';
import { computeOutOffsetByIndex, computeInOffsetByIndex } from './lib/Util';
// import { SVGComponent } from './lib-hooks/svgComp-hooks';
import Spline from './lib/Spline';
import DragNode from './lib/Node';
const index = ({
data,
onNodeDeselect,
onNodeMove... | JavaScript | index.js | lightsinthesky/react-node-graph | mit | 6,053 | 199 | codeparrot/github-code |
93558f2f5d72fcc52809e99bb194a9f7a343516cf9c81c03f8cc7d27c0726d10 | var t = require('chai').assert;
var P = require('bluebird');
var Renderer = require('../').Renderer;
var view = {
"name": {
"first": "Michael",
"last": "Jackson"
},
"age": "RIP",
calc: function () {
return 2 + 4;
},
delayed: function () {
return new P(function (resolve) {
setTimeout(r... | JavaScript | test/renderer.test.js | taoyuan/mustem | mit | 5,908 | 207 | codeparrot/github-code |
836c01b1463e1948d2ccb78c2a80865492e47e268d8d4147b2c7939bd21bd8a4 | <!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>phpDocumentor » \ep_BDL_Wskaznik_Wariacja</title>
<meta name="author" conte... | HTML | ePF_API_phpdoc-0.1.x-dev/classes/ep_BDL_Wskaznik_Wariacja.html | veriKami/ePF_API_doc | mit | 30,981 | 663 | codeparrot/github-code |
b3578b5ac6ea850a9d6c0cbceafb3d9c3f5099f8e00136255fc2f77813599031 | import { Component ,OnInit} from '@angular/core';
import {GlobalService} from '../_globals/global.service';
import {PermissionService} from './permission.service';
import {ContentTypeService} from '../content_types/content_type.service';
import {Permission} from './permission';
@Component({
selector: 'permission-in... | TypeScript | src/app/permissions/permission.component.ts | morfat/angular-quickstart | mit | 3,259 | 114 | codeparrot/github-code |
a53da03b7151abd2aea6634fe0980504ea280dce392a15a988ad1a35241920a9 |
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Deploying QATrack+ with Linux Apache & P... | HTML | qatrackdemodocs/v/0.2.7/deployment/linux/lapp.html | SimonBiggs/SimonBiggs.github.io | mit | 30,570 | 676 | codeparrot/github-code |
8ff139d63b52ee56228a4dcb6d7b8071c2fef879f6dd1fbefe1d3c4dc8100a1e | using Treefrog.Extensibility;
using Treefrog.Framework.Model;
using Treefrog.Plugins.Tiles.Layers;
using Treefrog.Presentation;
using Treefrog.Presentation.Layers;
using Treefrog.Render.Layers;
namespace Treefrog.Plugins.Tiles
{
public static class Registration
{
// Layer Presenter Creation
[... | C# | Treefrog/Plugins/Tile/Registration.cs | jaquadro/Treefrog | mit | 2,519 | 61 | codeparrot/github-code |
72e73e35dca60a8ba6b0573291436a89b602e6b4bb03189d4324512836a37274 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-character: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootst... | HTML | clean/Linux-x86_64-4.03.0-2.0.5/released/8.5.3/mathcomp-character/1.10.0.html | coq-bench/coq-bench.github.io | mit | 7,797 | 163 | codeparrot/github-code |
7a0c99a110b3f34e22c2dd2a38f07ad9710029a976776a3a277648e265364ab9 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>corn: 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.06.1-2.0.5/released/8.12.2/corn/8.8.1.html | coq-bench/coq-bench.github.io | mit | 6,572 | 168 | codeparrot/github-code |
efa9e40cd4bf31ef387e74c0c757270d513a23ab3dcc20d14587f3559e03771c | import collections
import re
import urlparse
class DSN(collections.MutableMapping):
''' Hold the results of a parsed dsn.
This is very similar to urlparse.ParseResult tuple.
http://docs.python.org/2/library/urlparse.html#results-of-urlparse-and-urlsplit
It exposes the following attributes:
... | Python | servy/utils/dsntool.py | mylokin/servy | mit | 4,496 | 158 | codeparrot/github-code |
65422fc6b54fdb648d80c4e97e62d41484ea641a0ca88477ba03381fe6394fd5 | <!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.06.1-2.0.5/released/8.12.0/mathcomp-finmap/1.4.0+coq-8.11.html | coq-bench/coq-bench.github.io | mit | 7,376 | 167 | codeparrot/github-code |
6b8a0df1a464d012416e22034761f86193469ac7594271b0457d3c8e6bd79b77 |
package org.ebaloo.itkeeps.core.domain.vertex;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import org.ebaloo.itkeeps.api.enumeration.enAclAdmin;
import org.ebaloo.itkeeps.api.enumeration.enAclData;
import org.ebaloo.itkeeps.api.model.jAclGroup;
import org.ebaloo... | Java | it-keeps-core/src/main/java/org/ebaloo/itkeeps/core/domain/vertex/vAclGroup.java | e-baloo/it-keeps | mit | 6,089 | 252 | codeparrot/github-code |
1f236ce553bcf7d3386291602113dfedc8f3fbf2cc3a060518a68284b89d5955 | import { expect } from 'chai';
import 'mocha';
import { Integer, TestContext } from '../../..';
import { makeInteger } from './make-integer';
describe('make-integer', () => {
it('should handle single digits', () => {
const ctx = new TestContext("test");
const delayedValue = makeInteger("5");
const value ... | TypeScript | packages/language/src/rollem-language-2/evaluators/unary/make-integer.spec.ts | lemtzas/rollem-discord | mit | 1,351 | 39 | codeparrot/github-code |
2899e6fd8b70eb0c32afbfce2aa89652eceb9b7bfe0d997cd7528111c0865a9b |
<!DOCTYPE html>
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="PortabilityAnalysis0">.NET Portability Report</title>
<style>
... | HTML | Reports/el/elmahr.api.client.1.0.0/ElmahR.Api.Messages-net45.html | kuhlenh/port-to-core | mit | 9,653 | 240 | codeparrot/github-code |
410c734d31ce4a1d2fe1b6366e89e3ce38bdd86fa205c3dff5826978d64a6b08 | <?php
/**
* This file is part of GSSimpleOcr.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @copyright Copyright (c) 2014 Gordon Schmidt
* @license MIT
*/
namespace GSSimpleOcr\Service;
use GSImage\Entity\Image;
use GSOcr\S... | PHP | src/GSSimpleOcr/Service/SimpleOcrService.php | GordonSchmidt/GSSimpleOcr | mit | 8,111 | 315 | codeparrot/github-code |
24a4afde15e8679863527a48d2292218fa9d517916ae8054194fa8b8d9d2c58b | package com.vexus2.jenkins.chatwork.jenkinschatworkplugin.api;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown... | Java | src/main/java/com/vexus2/jenkins/chatwork/jenkinschatworkplugin/api/Room.java | jenkinsci/chatwork-plugin | mit | 992 | 42 | codeparrot/github-code |
77ea67a1dff5f1ff1ffa64f536b65209d89c960e173fc6fe33fffd926053f7f2 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-multinomials: 1 m 9 s</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... | HTML | clean/Linux-x86_64-4.05.0-2.0.6/released/8.9.0/mathcomp-multinomials/1.3.html | coq-bench/coq-bench.github.io | mit | 8,777 | 184 | codeparrot/github-code |
827bc4885176a49660d06c968b93661455babd94fe2736b6ff5d6167d8791fef | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>pi-agm: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | HTML | clean/Linux-x86_64-4.08.1-2.0.5/released/8.8.0/pi-agm/1.2.6.html | coq-bench/coq-bench.github.io | mit | 7,510 | 174 | codeparrot/github-code |
441b2409162aaf8697c81e93b10158819acb5a21f1321a9baea8426767fa17b1 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>fundamental-arithmetics: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../b... | HTML | clean/Linux-x86_64-4.02.3-2.0.6/released/8.7.1+2/fundamental-arithmetics/8.10.0.html | coq-bench/coq-bench.github.io | mit | 7,146 | 171 | codeparrot/github-code |
c08791c1978cb1066073c95f7bf34fd6059d19bec6a2d3d8b98941e708e35cc5 | 'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
errorHandler = require('./errors.server.controller'),
Task = mongoose.model('Task'),
Project = mongoose.model('Project'),
Person = mongoose.model('Person'),
_ = require('lodash');
/**
* Create a Task
*/
var person, project;... | JavaScript | app/controllers/tasks.server.controller.js | andela-ajayeoba/Calendarize | mit | 3,108 | 153 | codeparrot/github-code |
a6d8ac77e09944e2dd9c533c7fcfd62754ece2cc1fcc9f2a93bec9bc735ed96d | import { useCallback, useState, useEffect } from 'react';
import { KeyStore } from './keystore';
import type { Accounts, Hooks as HooksType } from './../types';
export const Hooks = {
useKeyStore: () => {
const [accounts, setAccounts] = useState<Accounts>();
const [error, setError] = useState<string>();
... | TypeScript | src/packages/hooks.tsx | YsnKsy/react-native-geth | mit | 960 | 34 | codeparrot/github-code |
cafc8058cc55973fe9d9b350bc8bad8494dca099f001610b647b2751c02e0b9b | package net.ihiroky.reservoir.coder;
import java.io.IOException;
import java.io.OutputStream;
import java.nio.ByteBuffer;
/**
* Created on 12/10/04, 19:26
*
* @author Hiroki Itoh
*/
public class ByteBufferOutputStream extends OutputStream {
ByteBuffer byteBuffer;
ByteBufferOutputStream(int initialCapaci... | Java | src/main/java/net/ihiroky/reservoir/coder/ByteBufferOutputStream.java | ihiroky/reservoir | mit | 1,244 | 53 | codeparrot/github-code |
c23b4f432b73c24ccf3184d3a1c5b989bf4bcf711067e6c3e92f67db50c7ec61 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>exceptions: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | HTML | clean/Linux-x86_64-4.05.0-2.0.6/released/8.11.2/exceptions/8.9.0.html | coq-bench/coq-bench.github.io | mit | 6,815 | 170 | codeparrot/github-code |
bbc9b641702792e4db83eb7327b380eb7a86b696ec9c478a7d2a073613871b05 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>stalmarck: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... | HTML | clean/Linux-x86_64-4.08.1-2.0.5/released/8.10.0/stalmarck/8.9.0.html | coq-bench/coq-bench.github.io | mit | 6,921 | 173 | codeparrot/github-code |
080170a29d2141ca3153475ce999bb719c20f1d053047626fe7b6a64e0eb4fcf | const fs = require('fs');
class Loader {
static extend (name, loader) {
return { name, loader };
}
static get (name, options) {
const item = options.loaders.find((loader) => name === loader.name);
if (!item) {
throw new Error(`Missing loader for ${name}`);
}
return item.loader;
}
... | JavaScript | lib/Loader.js | vuedoc/parser | mit | 1,150 | 58 | codeparrot/github-code |
6abbefe5fda35192ef6f2f4ffb05d13e2c900a9d4898d9659f1169866ecd16d2 | package org.ayo.ui.sample.material;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.content.Context;
import android.support.design.widget.CoordinatorLayout;
import android.support.v4.view.ViewCompat;
import android.util.AttributeSet;
import android.view.View;
import... | Java | Ayo/app/src/main/java/org/ayo/ui/sample/material/ScaleTitlebarBehavior.java | cowthan/Ayo2022 | mit | 2,876 | 87 | codeparrot/github-code |
180f7a736301067d21bf802d9a38b8bc3917a8508255994a80050458fa715bf6 | <!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>CMsgGCCStrike15V2ClientToGCRequestTicket | demofile</title>
<meta name="description" content="Documentation for demofile">
<meta name="viewport" content="width=device-width, initi... | HTML | docs/interfaces/_protobufs_cstrike15_gcmessages_.cmsggccstrike15v2clienttogcrequestticket.html | saul/demofile | mit | 10,385 | 212 | codeparrot/github-code |
45a100fe280c32ae4a9eb2c453a89283f5a20e1e53a93a1c430fb76bce271c4b | /*
* The MIT License
*
* Copyright 2019 Intuit Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modi... | Java | karate-core/src/main/java/com/intuit/karate/job/JobUtils.java | intuit/karate | mit | 5,009 | 133 | codeparrot/github-code |
ab527e59c352b2fade061ee49a9db37bdd89496c9b759b5d5fd1ed41470bb691 | const storage = require("./storage");
const recognition = require("./recognition");
async function labelPictures(bucketName) {
const bucket = await storage.getOrCreateBucket(bucketName);
const fileNames = await storage.ls(bucket);
for (const file of fileNames) {
console.log(`Retrieve labels for fi... | JavaScript | labler.js | zack17/klio-picture-labeler | mit | 1,072 | 39 | codeparrot/github-code |
dd1dc07eb8e0bb8504ec376973e60d43fe9e338499aea723d40a3d0535a63f5e | /*******************************************************************************
Copyright © 2016, STMicroelectronics International N.V.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redis... | C | drivers/tof/vl53l0x/vl53l0x_api_strings.c | svanacker/cen-electronic | mit | 17,182 | 451 | codeparrot/github-code |
22f8ee2cc11cfba9d91d457a34cfa465d131c6e2c47b91fa9a961a396fd2e094 | /**
* The MIT License (MIT)
*
*
* Copyright (C) 2013 Yu Jing (yujing5b5d@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 li... | C | src/dirTraversal.c | yuikns/eiparser | mit | 4,209 | 173 | codeparrot/github-code |
c42e86b61c1c47d47f652f7a8fbb7320f8ad23f058ef2a788f2e855c6d63b372 | #include "../common/gba.h"
#include "../common/fixed.c"
typedef struct{
union{
struct{
fixed x;
fixed y;
};
fixed vec[2];
};
} Vec2;
fixed DotProduct(Vec2 a, Vec2 b){
return fixMult(a.x, b.x) + fixMult(a.y, b.y);
}
Vec2 VecSub(Vec2 a, Vec2 b){
Vec2 retVal = {a.x - b.x, a.y - b.y};
return retVal;
}
... | C | 3dproper/main.c | Benjins/GBADev | mit | 5,048 | 210 | codeparrot/github-code |
aeb2950259dfbe166774d1e64ca5de826f62d301a47c74bf5d083d77722314b7 | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Fri Feb 24 12:49:36 2017
@author: drsmith
"""
import os
from .globals import FdpError
def canonicalMachineName(machine=''):
aliases = {'nstxu': ['nstx', 'nstxu', 'nstx-u'],
'diiid': ['diiid', 'diii-d', 'd3d'],
'cmod': ['... | Python | fdp/lib/datasources.py | Fusion-Data-Platform/fdp | mit | 1,353 | 52 | codeparrot/github-code |
f6006e38b8e818208e5eff1d1962c13acf6d18ac5b509c376bdf88d1343b917a | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>monae: Black list 🏴☠️</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... | HTML | clean/Linux-x86_64-4.03.0-2.0.5/released/8.7.1+2/monae/0.2.2.html | coq-bench/coq-bench.github.io | mit | 9,988 | 209 | codeparrot/github-code |
8600bbcf52e9aa9550f90a075d05f68b19ebd5613a3d8012b47a9d82eabee87a | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>square-matrices: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap... | HTML | clean/Linux-x86_64-4.05.0-2.0.1/released/8.6.1/square-matrices/8.8.0.html | coq-bench/coq-bench.github.io | mit | 7,114 | 168 | codeparrot/github-code |
73caac058100d5b06b724f5fd1ca0bbffd3fc07b2d6d93e2ff63124243099621 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ruler-compass-geometry: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../boots... | HTML | clean/Linux-x86_64-4.05.0-2.0.6/released/8.10.2/ruler-compass-geometry/8.9.0.html | coq-bench/coq-bench.github.io | mit | 7,522 | 181 | codeparrot/github-code |
b0f5dd4b4342ed63531a00ff105a985866f9a451993118fbacaccb386df150d5 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ptsf: 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.7.2/ptsf/8.5.0.html | coq-bench/coq-bench.github.io | mit | 6,999 | 165 | codeparrot/github-code |
3b209582bd6162f69990884bfca64cd8d00346e801b8ee03cde8ec86962301ab | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>founify: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | HTML | clean/Linux-x86_64-4.08.1-2.0.5/released/8.11.0/founify/8.8.0.html | coq-bench/coq-bench.github.io | mit | 7,050 | 167 | codeparrot/github-code |
700763bead79cba6978dc5be163bfa3a3ea71842ff81370fe15ebeb546b9a047 | /**
* Programmer: Minhas Kamal (BSSE0509,IIT,DU)
* Date: 30-Mar-2014
**/
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
#define X 3
struct node{
int value;
int depth;
node *previous;
node *next[X];
} nullNode;
int main(){
///input array
... | C++ | dataStructures/tree/BinomialTree.cpp | MinhasKamal/AlgorithmImplementations | mit | 2,759 | 103 | codeparrot/github-code |
c2782c98f5e952592a03c9a77fda8e8715f1e371195a3383da1018ced4830931 | // shexmap-simple - Simple ShEx2 validator for HTML.
// Copyright 2017 Eric Prud'hommeux
// Release under MIT License.
const ShEx = ShExWebApp; // @@ rename globally
const ShExJsUrl = 'https://github.com/shexSpec/shex.js'
const RdfJs = N3js;
const ShExApi = ShEx.Api({
fetch: window.fetch.bind(window), rdfjs: RdfJs, ... | JavaScript | packages/extension-map/doc/shexmap-simple.js | shexSpec/shex.js | mit | 82,422 | 2,302 | codeparrot/github-code |
ea504c7fd34402181bc1eacbc37e65280567cf239454c5d6c28093d9c61a1b18 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-analysis: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstr... | HTML | clean/Linux-x86_64-4.09.1-2.0.6/released/8.9.1/mathcomp-analysis/0.3.1.html | coq-bench/coq-bench.github.io | mit | 7,450 | 186 | codeparrot/github-code |
0a1e1a0b20fca968dadfc01114e9bbc1473943d6a9b974a37dc123b4ac64ae4d | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>msets-extra: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... | HTML | clean/Linux-x86_64-4.06.1-2.0.5/released/8.13.1/msets-extra/1.0.0.html | coq-bench/coq-bench.github.io | mit | 7,743 | 185 | codeparrot/github-code |
b632e205f57dae690efa36bb0d4c3d66f50b460daed5e28930b83b3c27202cec | var Branch = function (origin, baseRadius, baseSegment, maxSegments, depth, tree) {
this.gid = Math.round(Math.random() * maxSegments);
this.topPoint = origin;
this.radius = baseRadius;
this.maxSegments = maxSegments;
this.lenghtSubbranch = tree.genes.pSubBranch !== 0 ? Math.floor(maxSegments * tree.gene... | JavaScript | js/Branch.js | tupini07/Brownian-Shrubs | mit | 3,324 | 108 | codeparrot/github-code |
9415bc4571bbfe68a2bce469eb22afcbe66a9d006d95ca10845dfa31a733be0a | /// <reference path="../../config/config.ts" />
/// <reference path="../interfaces/directives/IDirective.ts" />
declare var angular:any;
//Directive responsible for manipulating left (top) menu icons area when available size change
module Directives {
'use strict';
export class LeftMenuAutosize implements Di... | TypeScript | client/angular/directives/leftMenuAutosize.ts | tsimeunovic/BerryForms | mit | 6,839 | 152 | codeparrot/github-code |
f6c3de2db9f575118b85ec928a8ff5256b5da5091211296d0b25b40bc9fd2cd0 | package org.craft.client.render.blocks;
import java.util.*;
import java.util.Map.Entry;
import com.google.common.collect.*;
import org.craft.blocks.*;
import org.craft.blocks.states.*;
import org.craft.client.*;
import org.craft.client.models.*;
import org.craft.client.render.*;
import org.craft.client.render.textur... | Java | src/main/java/org/craft/client/render/blocks/BlockModelRenderer.java | OurCraft/OurCraft | mit | 8,599 | 225 | codeparrot/github-code |
307a72d447b03c063b69b2b3774a8eaa136f03ee71fda089a85bc11b4ca42b67 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mini-compiler: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.m... | HTML | clean/Linux-x86_64-4.09.1-2.0.6/released/8.13.0/mini-compiler/8.7.0.html | coq-bench/coq-bench.github.io | mit | 7,222 | 169 | codeparrot/github-code |
50a8e5417e373d0180a65a69fffe62d58578da6ba01b1fa3c9d3e0998a9854e1 | // 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.Collections.Generic;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
usi... | C# | Tools/NodeEditor/Program.cs | xlgames-inc/XLE | mit | 1,540 | 50 | codeparrot/github-code |
5b686d17c95b92b098b00bc234b3dd3787262cd8c889381d2eddf3ef4d83e530 | {% extends "base.html" %}
{% block title -%}S'up — Log in{%- endblock %}
{% block content %}
<div class="container signup">
{% if errors or form.errors %}
<span class="form-error"><strong>Errors:</strong></span>
{% if errors %}
{% for error in errors %}
<span cla... | HTML | sup/templates/login.html | dfm/sup | mit | 1,086 | 34 | codeparrot/github-code |
193bfdb86a15dba3c522ec7b11d9cd5905ca916db3e4351e37d564e2a4022008 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>geocoq: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | HTML | clean/Linux-x86_64-4.06.1-2.0.5/extra-dev/8.11.dev/geocoq/2.2.1.html | coq-bench/coq-bench.github.io | mit | 7,257 | 174 | codeparrot/github-code |
cf889290e253a62bbd51c038c4cbeac5bd39f154159e16fcd76b4375f06fdc8c | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>metacoq-template: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstra... | HTML | clean/Linux-x86_64-4.05.0-2.0.1/released/8.7.1/metacoq-template/1.0~beta2+8.11.html | coq-bench/coq-bench.github.io | mit | 8,203 | 192 | codeparrot/github-code |
9bf59fa3db5d363c153556fda59085d57416643e6e5e691dd7362b50b95c9bc3 | # encoding: utf-8
module Eij
class Translator
def initialize(key)
@src = File.dirname(__FILE__) + "/func.sh"
@func = File.dirname(__FILE__) + "/../../data/kanjidicks.txt"
@col = %x{bash -lic 'echo $COLUMNS'}
@msg = key
@res = Hash.new { |h,k| h[k] = Hash.new(&h.default_proc) }
... | Ruby | lib/eij/translator.rb | jollywho/eij | mit | 5,026 | 207 | codeparrot/github-code |
e3e126571eae844544d521b4fadd5719adf56411a2e3f5e2fbcc303d78a81823 | /**
* @file sdram.c
* @brief SDRAM configuration
*
* @section License
*
* Copyright (C) 2010-2015 Oryx Embedded SARL. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundat... | C | Project/LPC1549_Keil/CycloneTCP_SSL_Crypto_Open_1_6_4/demo/common/atmel/boards/sam3x_ek/sdram.c | miragecentury/M2_SE_RTOS_Project | mit | 7,070 | 195 | codeparrot/github-code |
749e1dfee9978cb83949c9314914d57d79c0650cdc92046ac76c9485066e0a53 | <?php
namespace js4php5;
/**
* Blatantly stolen from Yii2 for debug use, as it's much better than var_dump() or print_r() (but not as good as
* the one included in some other frameworks).
*/
class VarDumper
{
private static $_output;
private static $_depth;
private static $_objects;
/**
* Dis... | PHP | VarDumper.php | hiltonjanfield/js4php5 | mit | 6,924 | 180 | codeparrot/github-code |
99d678fb77aa58272e65b2f5b324c8bf87f2a50f5efcf60f039ae68a45abcc67 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-field: 17 m 57 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... | HTML | clean/Linux-x86_64-4.03.0-2.0.5/released/8.9.1/mathcomp-field/1.11.0.html | coq-bench/coq-bench.github.io | mit | 11,398 | 190 | codeparrot/github-code |
223b8c2c554438e8ca133d292177f06ee9747d42fe4eaa3b16f56ffc9ef2840f | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-character: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootst... | HTML | clean/Linux-x86_64-4.07.1-2.0.6/extra-dev/dev/mathcomp-character/1.7.0.html | coq-bench/coq-bench.github.io | mit | 8,028 | 167 | codeparrot/github-code |
cfabcf6bcbc4e52573e7fbe33751836bcff4ff38f85296969609b02e1f79965d | //process.argv.forEach(function (val, index, array) { console.log(index + ': ' + val); });
var fs = require('fs');
(function () {
function slugify(text) {
text = text.replace(/[^-a-zA-Z0-9,&\s]+/ig, '');
text = text.replace(/-/gi, "_");
text = text.replace(/\s/gi, "-");
return text;
}
var DocGen = {
... | JavaScript | server/gatherer/parser.js | alaingilbert/ttdashboard | mit | 5,795 | 196 | codeparrot/github-code |
2790b85d9e4cc0ea4da452205b84663d7dadc7094fb7f7f5b76ddd947378c9c6 | # -*- coding:utf-8 -*-
# This code is automatically transpiled by Saklient Translator
import six
from ..client import Client
from .model import Model
from ..resources.resource import Resource
from ..resources.licenseinfo import LicenseInfo
from ...util import Util
import saklient
str = six.text_type
# module saklien... | Python | saklient/cloud/models/model_licenseinfo.py | sakura-internet/saklient.python | mit | 3,594 | 121 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.