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 |
|---|---|---|---|---|---|---|---|---|
fc975aea91276abe937d9319c17103c775f0ccca3d91e0522b2a3df1166dcc40 | /**************************************************
* Source Code for the Original Compiler for the
* Programming Language Wake
*
* MethodSignatureParseTreeTraverser.h
*
* Licensed under the MIT license
* See LICENSE.TXT for details
*
* Author: Michael Fairhurst
* Revised By:
*
*****************************... | C | include/MethodSignatureParseTreeTraverser.h | MichaelRFairhurst/wake-compiler | mit | 1,253 | 48 | codeparrot/github-code |
8a7dbe85c94fcae5ec89d54d8e8e99ccd967acfce51da50074cef0272a884e3b | package store
import (
"context"
"github.com/aybabtme/epher/merkle"
"github.com/aybabtme/epher/thash"
)
func Layer(inOrder ...merkle.Store) merkle.Store {
return &layered{inOrder: inOrder}
}
type layered struct {
inOrder []merkle.Store
}
func (ly *layered) cascade(ctx context.Context, fn func(ctx context.Cont... | GO | store/layer.go | aybabtme/epher | mit | 1,954 | 84 | codeparrot/github-code |
0d63861b1991b595a7239074ffc0c405e66a5a120a078ca0b9d8d83fe8328be7 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>itree: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | HTML | clean/Linux-x86_64-4.10.2-2.0.6/released/8.14.0/itree/3.2.0.html | coq-bench/coq-bench.github.io | mit | 7,366 | 177 | codeparrot/github-code |
8fbbb9350b0885aada802b6f71384d3f683cdcaeba516c660a18516f1ae09e24 | // Vasilii Bodnariuk
#include <unordered_map>
#include <math.h>
#include <iostream>
#include <string>
#include <limits>
using namespace std;
extern std::unordered_map<std::string, double> contants;
enum errors {
ERR_ZERO_DIV = 0,
ERR_UNBALANCED_PAR,
ERR_BAD_STRUCTURE,
ERR_LIMITS_ABUSE,
};
std::un... | C++ | homework/Bodnariuk/06/calc.hpp | mtrempoltsev/msu_cpp_autumn_2017 | mit | 6,594 | 292 | codeparrot/github-code |
7a5ec3124cdef1db6343d8d5d480b2eca1b7b029917a14e575dc714f485410ad | package models
import anorm._
import anorm.SqlParser._
import play.api.db.DB
import play.api.Play.current
import services._
import play.libs.Akka
import akka.actor._
import scala.concurrent.duration._
import play.api.libs.concurrent.Execution.Implicits._
case class User(id: Pk[Int], email: String)
object User {
/... | Scala | app/models/Users.scala | samirmirani/lunchRoulette | mit | 1,502 | 72 | codeparrot/github-code |
1e1c04b4ad031e635dacdfc5af1bba8e1ef543e750e66af06147c8a2c7c09eae | <!DOCTYPE html><html><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="description">
<meta name="keywords" content="static content generator,static site generator,static site,HTML,web development,.NET,C#,Razor,Markdown,YAML">
<meta n... | HTML | docs/api/PommaLabs.KVLite/ICache/E10DCFB1.html | pomma89/KVLite | mit | 14,017 | 296 | codeparrot/github-code |
17edc4c18884289c12ee3f48eeb168d65f0bc2426e11a4a5ad0ff0dc0c1826bf | <?php
namespace DbMockLibrary\Test\DbImplementations\Mongo;
use DbMockLibrary\DbImplementations\Mongo;
use DbMockLibrary\Test\TestCase;
class RevertCollectionsTest extends TestCase
{
/**
* @dataProvider getData
*
* @param array $data
*
* @return void
*/
public function test_funct... | PHP | test/DbImplementations/Mongo/RevertCollectionsTest.php | ajant/DbMockLibrary | mit | 1,658 | 54 | codeparrot/github-code |
f6387effb82425ab68405edc1d21483640abd68ce65675f8333a21f184a77a70 |
<!DOCTYPE html>
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="PortabilityAnalysis0">.NET Portability Report</title>
<style>
... | HTML | Reports/co/commonservicelocator.unityadapter.1.0.0.41670/Microsoft.Practices.Unity.ServiceLocatorAdapter-net35.html | kuhlenh/port-to-core | mit | 9,709 | 240 | codeparrot/github-code |
4a9c8a96274dad35b8230717403a071c596419e3345ff102282e4508e2fefa6e | /*
===========================================================================
Copyright (C) 2009 Poul Sander
This file is part of the Open Arena source code.
Open Arena source code 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 So... | C | oa_mod/code/q3_ui/ui_votemenu_map.c | egg4egg/oatot | mit | 10,152 | 304 | codeparrot/github-code |
32569624043305af3ad0b9b9fad517deb0b5efd4dd7f3206944439ab713b2d77 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>dpdgraph: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | HTML | clean/Linux-x86_64-4.07.1-2.0.6/released/8.8.2/dpdgraph/0.6.8.html | coq-bench/coq-bench.github.io | mit | 6,737 | 168 | codeparrot/github-code |
e5785d65af604958a522cfee2d47525cf65bac70873417694d7da97cca0e49e0 | #!/usr/bin/python
##############################################
###Python template
###Author: Elizabeth Lee
###Date: 4/26/14
###Function: Incidence per 100,000 vs. week number for flu weeks (wks 40-20). Incidence is per 100,000 for the US population in the second calendar year of the flu season.
###Import data: SQL_... | Python | scripts/create_fluseverity_figs/F2_incid_time.py | eclee25/flu-SDI-exploratory-age | mit | 2,579 | 68 | codeparrot/github-code |
5da59a735f5550e001e69fe77f36483e1132c90884a64e51513eb37991cb5de9 | <?php
namespace Bolt\Controller\Async;
use Bolt;
use Bolt\Common\Exception\ParseException;
use Bolt\Common\Json;
use Bolt\Extension\ExtensionInterface;
use Bolt\Filesystem;
use Bolt\Storage\Entity;
use Bolt\Storage\Repository;
use GuzzleHttp\Exception\RequestException;
use Silex\ControllerCollection;
use Symfony\Comp... | PHP | src/Controller/Async/General.php | bolt/bolt | mit | 16,238 | 542 | codeparrot/github-code |
b41b851f9658f8992b0f5d1c96464efdc723f10a049caad2121b13a86efe1315 | /*
Conrad 'Condzi' Kubacki 2017
https://github.com/condzi
*/
#pragma once
#include <framework/Logger.hpp>
#include "CollisionChecker.hpp"
#include "entities/Missile.hpp"
#include "entities/EntityManager.hpp"
namespace kd
{
class MissileManager final
{
public:
MissileManager() = delete;
static void Initial... | C++ | source/gameUtil/MissileManager.hpp | Condzi/KamilDefense | mit | 792 | 37 | codeparrot/github-code |
513c30ffc6f06ff3a640c44d767dd432aeb97b54f8bb40a463f66e8a1f83d66e | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | HTML | docs/Documentación Código/structu_s_1_1_node_data.html | AlejandroTrejoCode/doowerif | mit | 12,023 | 165 | codeparrot/github-code |
ef39658a22599adf1d279d8b638abf6f0d79c387cb9fe27d25e891643e1cb517 | /**
* # ChannelList widget for nodeGame
* Copyright(c) 2014 Stefano Balietti
* MIT Licensed
*
* Shows list of channels on the server.
*
* www.nodegame.org
* ---
*/
(function(node) {
"use strict";
node.widgets.register('ChannelList', ChannelList);
var JSUS = node.JSUS,
Table = node.window... | JavaScript | public/js/ChannelList.js | DeSciL/MiniSvo | mit | 3,338 | 136 | codeparrot/github-code |
fc1c5fbda776611654f633fd22290b38a115e9be627ae1cd59c7347b92b46fa0 | // SimplePlayerDlg.cpp : implementation file
//
#include "stdafx.h"
#include "SimplePlayer.h"
#include "SimplePlayerDlg.h"
#include "TList.h"
#include <process.h>
#include "decode/hvdh264videodecode.h"
#define COMPILE_MULTIMON_STUBS
#include "multimon.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static c... | C++ | SimplePlayer/SimplePlayerDlg.cpp | weiwei22844/AVProject | mit | 23,042 | 827 | codeparrot/github-code |
ff64f6c15045a0afe089e6b8306c46770bb14f85f2fbbe0d8a0d43e62e40de65 | #!/usr/bin/env python
import numpy as np
from kmodes.kmodes import KModes
# reproduce results on small soybean data set
x = np.genfromtxt('soybean.csv', dtype=int, delimiter=',')[:, :-1]
y = np.genfromtxt('soybean.csv', dtype=str, delimiter=',', usecols=(35, ))
kmodes_huang = KModes(n_clusters=4, init='Huang', verbo... | Python | examples/soybean.py | nicodv/kmodes | mit | 1,461 | 42 | codeparrot/github-code |
f1a0408e2af8a0debeae2fc812125e7c4d5d5fcac26198a2408d6541681090d0 | <?php
namespace Smartbox\Integration\FrameworkBundle\Components\DB;
use Smartbox\CoreBundle\Type\SerializableArray;
use Smartbox\Integration\FrameworkBundle\Components\DB\NoSQL\NoSQLConfigurableProtocol;
use Smartbox\Integration\FrameworkBundle\Configurability\IsConfigurableService;
use Smartbox\Integration\Framework... | PHP | Components/DB/DBConfigurableProducer.php | smartboxgroup/integration-framework-bundle | mit | 2,432 | 67 | codeparrot/github-code |
93a8f9253b90e9a3f0ea32fd7e1f13bb1cb3a7e3a82c0375d2c985170928f517 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>bignums: 3 m 5 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="... | HTML | clean/Linux-x86_64-4.09.1-2.0.6/released/8.8.1/bignums/8.8.0.html | coq-bench/coq-bench.github.io | mit | 15,775 | 250 | codeparrot/github-code |
ee4631394f5e7a274ce7d7832ec8f07b3ce75b550fe1e95f288669b9b8155cc0 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>infotheo: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | HTML | clean/Linux-x86_64-4.07.1-2.0.6/extra-dev/dev/infotheo/0.3.html | coq-bench/coq-bench.github.io | mit | 8,363 | 190 | codeparrot/github-code |
a474a38f72d8bfc4b96dfbfafd1244178363ab7ea7220938374011879002d4b9 | <h1><i class="icon-instagram"></i> @sinfo_ist</h1>
<ul class="slider" id="instagramContainer">
</ul>
<script>
// settings
var $slider = $('.slider'); // class or id of carousel slider
var $slide = 'li'; // could also use 'img' if you're not using a ul
var $transition_time = 200; // 1 second
var $time_between_slides ... | HTML | partials/instagram.html | sinfo/display-o-mator | mit | 1,240 | 55 | codeparrot/github-code |
9260ee805cba96e311f433b7158209bbdbb10ee4fd9f059e26979d469496d925 | package de.uni_hannover.sra.minimax_simulator.ui.gui.components.tableview;
import javafx.scene.Node;
import javafx.scene.control.Label;
import javafx.scene.layout.ColumnConstraints;
import javafx.scene.layout.GridPane;
import javafx.scene.layout.Priority;
import javafx.scene.layout.RowConstraints;
/**
* The {@code C... | Java | src/main/java/de/uni_hannover/sra/minimax_simulator/ui/gui/components/tableview/CellPane.java | SRAhub/MinimaxSimulator | mit | 2,855 | 96 | codeparrot/github-code |
1db992064b0cf8f99fe0105e1f8e8f6a70a7c5b579bb20b7f8a26dc45c92c15d | <!DOCTYPE html>
<!--[if IEMobile 7]><html class="iem7 no-js" lang="en" dir="ltr"><![endif]-->
<!--[if lt IE 7]><html class="lt-ie9 lt-ie8 lt-ie7 no-js" lang="en" dir="ltr"><![endif]-->
<!--[if (IE 7)&(!IEMobile)]><html class="lt-ie9 lt-ie8 no-js" lang="en" dir="ltr"><![endif]-->
<!--[if IE 8]><html class="lt-ie9 no... | HTML | epa-grants/research/raw/07868.html | 1wheel/scraping | mit | 29,805 | 489 | codeparrot/github-code |
fc0b0e2c2e64a2964db754609d8158c6f46ef0cbca8bdd7b823dcd02cc1a245c | import React from 'react';
import {connect} from 'react-redux';
import {decorate, getTermProps, getTermGroupProps} from '../utils/plugins';
import {resizeTermGroup} from '../actions/term-groups';
import Term_ from './term';
import SplitPane_ from './split-pane';
import {HyperState, HyperDispatch, TermGroupProps, TermGr... | TypeScript | lib/components/term-group.tsx | zeit/hyper | mit | 5,324 | 153 | codeparrot/github-code |
f15463d7894994fa8ef0b64563464bfec77466ce336dfb2533dc5b5cdb9b4861 | class Player < ActiveRecord::Base
belongs_to :country
has_many :player_match_stats, dependent: :restrict_with_exception
has_many :goals, dependent: :restrict_with_exception
has_many :cards, dependent: :restrict_with_exception
has_many :substitutions, dependent: :restrict_with_exception
has_many :in_subst... | Ruby | app/models/player.rb | dromelvan/dromelvan | mit | 5,620 | 140 | codeparrot/github-code |
6f65e322a041d17a8ffda71a9d8a479365bd89deaa4dd631d6d8fd7a02834131 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>quickchick: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... | HTML | clean/Linux-x86_64-4.04.2-2.0.5/released/8.7.2/quickchick/1.1.0.html | coq-bench/coq-bench.github.io | mit | 7,287 | 183 | codeparrot/github-code |
9076cb3360c714b0110bc6b27a9cebccae2dba8062f06c11d3a72acb0172bdc6 | <!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.05.0-2.0.1/released/8.15.0/mathcomp-character/1.8.0.html | coq-bench/coq-bench.github.io | mit | 8,197 | 168 | codeparrot/github-code |
d300a196a9a462e8b5d69f77213a27567cac62f78d7d2f9c1e19eb8c9f620a31 | document.addEventListener('DOMContentLoaded', displayTime);
function displayTime() {
var h = 11;
var m = 40;
var ap = "PM";
var size = 2.4;
var canvasS = document.getElementById("clock");
var spacer = document.getElementById("spacer");
var title = document.getElementById("title");
var c... | JavaScript | js/clock.js | petercampanelli/cleveland-championship-clock | mit | 4,406 | 115 | codeparrot/github-code |
4ef3f790f7f36d4392dd1e6a7cd0521f04601774235096edebab1c723b32d18a | // Copyright 2014 The Gogs Authors. All rights reserved.
// Copyright 2018 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package setting
import (
"errors"
"net/http"
"time"
"code.gitea.io/gitea/models"
"code.gitea.... | GO | routers/web/user/setting/account.go | go-gitea/gitea | mit | 10,019 | 291 | codeparrot/github-code |
b27c0c151788ed51093268f1d32d091c0153eb65e2f007d575dc8efba5c0f277 | // Package kinesis implements a batch producer built on top of the official AWS SDK.
package kinesis
import (
"errors"
"time"
"github.com/apex/log"
k "github.com/aws/aws-sdk-go/service/kinesis"
)
// Size limits as defined by http://docs.aws.amazon.com/kinesis/latest/APIReference/API_PutRecords.html.
const (
max... | GO | kinesis.go | tj/go-kinesis | mit | 3,428 | 165 | codeparrot/github-code |
25c866c323e4b6abd2dbd7c9a43f2d247ca6274bb36446249170af336aad7f43 | <?xml version="1.0" ?><!DOCTYPE TS><TS language="hi_IN" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About YACCoin</source>
<translation>बिटकोइन के संबंध में</translation>
... | TypeScript | src/qt/locale/bitcoin_hi_IN.ts | yaccoin/yaccoin | mit | 99,863 | 2,923 | codeparrot/github-code |
0a8c4dddd7f57b16bf2fc9c78bbdd9cde52420920a592dfcfb0a8682ed52a07e | <!DOCTYPE html>
<html>
<head>
<title> ania's corner </title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.css">
<link rel="stylesheet" type="text/css"... | HTML | blog/t5-problem-solving.html | anna-podhajska/anna-podhajska.github.io | mit | 6,293 | 149 | codeparrot/github-code |
c213befdb9b3a7b3346fb653c23b3f0cd721bbf96769ddaffcba7bb58d4067c6 | 'use strict';
var Filter = require('broccoli-filter');
var Ember = { assert: function() {}, FEATURES: { isEnabled: function() {} } };
// ES6Todo: when ember-debug is es6'ed import this.
// var emberAssert = Ember.assert;
var Handlebars;
function TemplateCompiler (inputTree, options) {
if (!(this instanceof Templat... | JavaScript | raw-handlebars-compiler.js | jesenko/ember-cli-raw-handlebars | mit | 1,531 | 49 | codeparrot/github-code |
e588038e9dbee696e7cef63454bc5a830b96ba07d10295eff58e6f060426c684 | package com.samurai.mailgun.service.impl;
import com.samurai.mailgun.builder.Message;
import com.samurai.mailgun.data.MessageResponse;
import com.samurai.mailgun.exception.MailGunException;
import org.easymock.Capture;
import org.easymock.EasyMock;
import org.junit.Before;
import org.junit.Test;
import org.junit.runne... | Java | src/test/java/com/samurai/mailgun/service/impl/MailgunServiceImplTest.java | blairmotchan/mailgun | mit | 8,492 | 209 | codeparrot/github-code |
2683752465b621cfb605b435b5119401ecbd29e5c7c0ec43037f8ba2a67f96c4 | /**
*
* Emerald (kbi/elude @2012-2015)
*
*/
#include "shared.h"
#include "ogl/ogl_context.h"
#include "ogl/ogl_shader.h"
#include "shaders/shaders_fragment_static.h"
#include "system/system_assertions.h"
#include "system/system_hashed_ansi_string.h"
#include "system/system_log.h"
#include <sstream>
/* Internal var... | C++ | Emerald/src/shaders/shaders_fragment_static.cc | grahamsellers/Emerald | mit | 4,317 | 142 | codeparrot/github-code |
9dbe71c196512f1a3b4a465b502e548f2c1522efa479818c1d9edaf2597b9606 | # frozen_string_literal: true
# Gitaly note: JV: no RPC's here.
module Gitlab
module Git
class DiffCollection
include Enumerable
DEFAULT_LIMITS = { max_files: 100, max_lines: 5000 }.freeze
attr_reader :limits
delegate :max_files, :max_lines, :max_bytes, :safe_max_files, :safe_max_line... | Ruby | lib/gitlab/git/diff_collection.rb | stoplightio/gitlabhq | mit | 4,291 | 169 | codeparrot/github-code |
64fe83a0b221e0d7a8435e381d44eadbae5065b15dbbf87a3c3fb2716cb493ec | #! /usr/bin/env node
'use strict';
(function () {
var jargs = require('../src/index');
var Help = jargs.Help;
var Program = jargs.Program;
var Command = jargs.Command;
var KWArg = jargs.KWArg;
var Flag = jargs.Flag;
var Arg = jargs.Arg;
var Required = jargs.Required;
var RequireAll = jargs.RequireA... | JavaScript | examples/example1.js | JakeSidSmith/jargs | mit | 2,695 | 132 | codeparrot/github-code |
9afff4d9987f2afc61302d97267c41cdadc50367e7002e4611d3b646952f794a |
// This is synchronous code.
// Each line runs right after the other.
// It's easy to see what's going on here.
var myCode = function () {
console.log('starting');
var step1result = dostep1();
var step2result = dostep2();
var step3result = dostep3();
console.log('all done');
analysis();
};
var analysis = func... | JavaScript | 1. The Problem/what_i_want.js | robrich/Asynchrony_in_JavaScript | mit | 879 | 43 | codeparrot/github-code |
5f2de2d048af0033dbcd57806082bf3e922618557318c3afe53e3d077b2ca3d1 | # -*- coding: utf-8 -*-
from django.contrib import admin
from metadata.models import Metadata
from django.http import HttpResponseRedirect
class MetadataAdmin(admin.ModelAdmin):
def response_change(self, request, obj):
return HttpResponseRedirect("/")
## redirect til frontpage efter add
def respon... | Python | meta/metadata/admin.py | rastermanden/metadata_example | mit | 1,389 | 34 | codeparrot/github-code |
3702e69e188206bf25dc05d7c3e29bec18bffe0d53618031e746caa2136a961f | using System;
using System.Windows.Forms;
using System.Xml;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
namespace SymbSearch
{
public partial class FormMain : Form
{
[DllImport("user32.dll")]
private static extern bool RegisterHotKey(IntPtr hWnd, ... | C# | SymbSearch/FormMain.cs | Leun4m/symbsearch | mit | 9,560 | 300 | codeparrot/github-code |
a72f9a64ff6e00bacd4d6e84bd2ced3bd0bbb8467c95f2115d87ae9d255122f0 | package user
import (
"github.com/ziyan/oauth"
"unfollow/ajax"
"unfollow/utils/twitter"
"unfollow/web"
)
var _ = ajax.Get("user:login", "/user/login", func(view *web.View) (interface{}, error) {
data := &struct {
Next string `json:"next"`
}{}
if err := ajax.Decode(view, data); err... | GO | appengine/unfollow/src/unfollow/user/ajaxs.go | ziyan/unfollow | mit | 3,415 | 138 | codeparrot/github-code |
655414486727114b2a83827c9a3f5dac84c2212e137b030f413d9969b62e07cd | using System;
using System.Collections.Concurrent;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using EasyNetQ.Events;
using EasyNetQ.Producer;
using EasyNetQ.Topology;
namespace EasyNetQ.Rpc
{
/// <summary>
/// Default implementation of EasyNetQ's request-response pattern
/// ... | C# | Source/EasyNetQ/Rpc/Rpc.cs | mcthuesen/EasyNetQ | mit | 10,282 | 248 | codeparrot/github-code |
a4c6fde6751c6999372d90eee911f84d69e97eac4a77571da383182f23bbb7fb | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Dynamics of Structures</title>
<meta http-equiv="content-type" content="text/html;charset=latin-1"></>
<link rel="stylesheet" href="../css/3.css" type="text/css"... | HTML | dati_2011/_11.html | boffi/boffi.github.io | mit | 3,996 | 93 | codeparrot/github-code |
1ab5e696656e3dbe25924908d030905bfcefbf8976c9fb640e4068a27e741d83 |
<!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/li/lightinject.mvc.1.0.0.4/LightInject.Mvc-net45.html | kuhlenh/port-to-core | mit | 23,941 | 563 | codeparrot/github-code |
fb76e0ec450edacc61d4a042b4fcacb17f02569292c2b91a65ec7353d14fa377 | /**
* Set of utilities for working with files and text content.
*/
define(function (require, exports, module) {
"use strict";
require("utils/Global");
var FileSystemError = require("filesystem/FileSystemError"),
DeprecationWarning = require("utils/DeprecationWarning"),
LanguageManag... | JavaScript | Old/src/file/CodeToolsWrite.js | shellyginelle/Code-With-Venus | mit | 4,393 | 127 | codeparrot/github-code |
681379b6d2a1a6046ac07f006df5d83af1553418d906daa81eef0879d2a4390d | package com.swfarm.biz.chain.srv;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.UUID;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang.StringUtils;
import com.swfarm.biz.chain.web.ChainFrontHelper;
import com.swfarm.biz.... | Java | pms/src/main/java/com/swfarm/biz/chain/srv/DefaultCombineApvsMtStrategy.java | zhangqiang110/my4j | mit | 11,137 | 286 | codeparrot/github-code |
886e16d415592d6dd81149d649817b57d16fb9dc181258d9b79e9bb919d7c5cb | /* $OpenBSD: ssl_both.c,v 1.14 2018/11/08 22:28:52 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This ... | C | 3rdParty/libressl/ssl/ssl_both.c | XZiar/RayRenderer | mit | 20,874 | 778 | codeparrot/github-code |
991db9348887fad04d370e8263ef0025e67073ce936d38f31cb56a61969f37e5 | using DotNetOpenAuth.OAuth.ChannelElements;
using DotNetOpenAuth.OAuth.Messages;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Web;
namespace EverMark
{
public class JsonTokenManager : IConsumerTokenManager
{
private readonly HttpRequestBase _requ... | C# | EverMark/JsonTokenManager.cs | saxx/EverMark | mit | 2,387 | 75 | codeparrot/github-code |
47f3d1b8a9ebd633211c6b8416de5b22d751e8a2d8512eaca6ddecab6392ac19 | # == Schema Information
#
# Table name: services
#
# id :integer not null, primary key
# type :string(255)
# title :string(255)
# project_id :integer
# created_at :datetime
# updated_at :datetime
# active ... | Ruby | app/models/project_services/jira_service.rb | ttasanen/gitlabhq | mit | 8,268 | 298 | codeparrot/github-code |
406ba611d4a75f89eb11b7afacf7a9c15b16136289fa6579bc9d3cb760b6c3e0 | <?php
class EpesiShell extends AdminModule {
public function menu_entry() {
return __('Run PHP command');
}
public function required_epesi_modules() {
return ModuleLoader::all_modules;
}
public function body() {
ob_start();
print('<div class="title">'. __('EPESI S... | PHP | admin/modules/EpesiShell.php | georgehristov/EPESI | mit | 2,016 | 55 | codeparrot/github-code |
387b232fbfbede86337f29a80cbc259897e9efcee1ba262050c862416e59d2ba | /*******************************************************************************
* Copyright (c) 2019 Infostretch Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software with... | Java | src/com/qmetry/qaf/automation/ui/webdriver/ByJQuery.java | qmetry/qaf | mit | 4,121 | 90 | codeparrot/github-code |
7b0b2f2cf9920987ecd1b48f838ca8b44b1825b4d571baa7e7db4d996451c09b | using System;
using System.ComponentModel;
using System.Linq;
using System.Text;
using REx.Client;
namespace REx.Console
{
class Program
{
private static string _lastLineWrittenToConsole = string.Empty;
private static string _lastOutputReceivedFromConsole = string.Empty;
private readon... | C# | sources/REx.Console/Program.cs | TestExperience/REx | mit | 3,906 | 114 | codeparrot/github-code |
5e63b0b8d5cd9a6d358657aa3f679812c0df1674a754590f847f9f3ff85f300e |
<!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/oa/oas.cloudstorage.box.0.2.5/OAS.CloudStorage.Box-net45.html | kuhlenh/port-to-core | mit | 21,809 | 509 | codeparrot/github-code |
503a06ab08c279f9d3961675ad18cca041c083f26c25eb4af580213ada8aea79 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="OnPropertyChangedWeaver.cs" company="Catel development team">
// Copyright (c) 2008 - 2014 Catel development team. All rights reserved.
// </copyright>
// ----------------------... | C# | src/Catel.Fody/Weaving/AutoProperties/OnPropertyChangedWeaver.cs | Catel/Catel.Fody | mit | 9,878 | 201 | codeparrot/github-code |
7dcaca9a6cfe74d90e413ec184260be4e6ac43cc62860749cc0f97759ef3f517 | /**
* Copyright (c) André Bargull
* Alle Rechte vorbehalten / All Rights Reserved. Use is subject to license terms.
*
* <https://github.com/anba/es6draft>
*/
package com.github.anba.es6draft.runtime.objects.reflect;
import static com.github.anba.es6draft.runtime.AbstractOperations.CreateDataProperty;
import stat... | Java | src/main/java/com/github/anba/es6draft/runtime/objects/reflect/RealmPrototype.java | anba/es6draft | mit | 15,409 | 394 | codeparrot/github-code |
e5c1fbec18f7e0b3089630419ed82c5af8fdbb0401eb6b7ec941cd74ba3c398e | /*
* This file is part of Event Implementation Generator, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documenta... | Java | src/main/java/org/spongepowered/eventimplgen/factory/FactoryInterfaceGenerator.java | SpongePowered/event-impl-gen | mit | 7,157 | 160 | codeparrot/github-code |
9d40960f9c449242788096303661e66c88cf98ca106e1d1a1eb3622f5c87df3f | <?php
namespace App\App\Stages;
use App\Campaign\Jobs\UpdateCommanderTagCampaign;
use App\Campaign\Domain\Repositories\CampaignRepository;
class UpdateCommanderTagCampaignStage extends BaseStage
{
protected $defaultCampaign = 'default';
protected $campaign;
protected function enabled()
{
retur... | PHP | app/App/Stages/UpdateCommanderTagCampaignStage.php | lbhurtado/txtcmdr | mit | 785 | 34 | codeparrot/github-code |
53651dda748592a52c6adf95a61b16f1a0ff675f0561e4189b1196f539b543c3 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>circuits: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | HTML | clean/Linux-x86_64-4.10.1-2.0.6/released/8.11.1/circuits/8.8.0.html | coq-bench/coq-bench.github.io | mit | 6,666 | 163 | codeparrot/github-code |
bb49fcadd687d01a2adc1e861b53a8a5f853e8f452f38e69ea257d614e0243c8 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>gappa: 1 m 34 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.05.0-2.0.6/released/8.6.1/gappa/1.3.4.html | coq-bench/coq-bench.github.io | mit | 9,666 | 188 | codeparrot/github-code |
19c10f50fb62c922ecf19c7d7a11e6d589ffc78330b40aed393f88fc3cf5c718 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>coqeal: 7 m 2 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.02.3-2.0.6/released/8.8.0/coqeal/1.0.3.html | coq-bench/coq-bench.github.io | mit | 23,760 | 313 | codeparrot/github-code |
11e8eebe22776384fb803c03bbbc4ae3187c08122292e36c582e8f365e8599b0 | /*
* Copyright (C) 2013 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | JavaScript | lib/WebInspectorUI/v8/Views/ResourceContentView.js | artygus/webkit-webinspector | mit | 4,882 | 117 | codeparrot/github-code |
280f088298ee10fb7304bd449db7475e8b944dad8e2a5cf15ba242d3130d3e99 | #!/bin/sh
set -e
mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
> "$RESOURCES_TO_COPY"
XCASSET_FILES=()
realpath() {
DIRECTORY="$(cd "${1%/*}" && pwd)"
FILENAME="${1##*/}"
echo "$DIRECTORY/$FILENAME"
}
install_reso... | Shell | Pods/Target Support Files/Pods-A Song of Ice and Fire/Pods-A Song of Ice and Fire-resources.sh | Vayn/asoiaf | mit | 5,062 | 104 | codeparrot/github-code |
0dc4dd3ec13146bf202ed1a18cf9ed751399dc93501e601f5e4d5e342eb81514 | // Example 14 - reverse.cpp
#include <iostream>
#include <cstdlib>
using namespace std;
int* reverse(int arr[], int size) {
// Create a dynamic array
int* reversed = new int[size];
int* head = reversed;
int* tail = &arr[size - 1];
for (int i = 0; i < size; i++) {
*head = *tail;
head++;
tail--;... | C++ | uc/computerScience1/materials/demos/week09/reverse.cpp | mikehelmick/teaching | mit | 638 | 38 | codeparrot/github-code |
2e2830ede781c6c44d70738df8e968bcc39744e434da589c839d48018e11d00d | /* MIT License
Copyright (c) 2016 Edward Rowe, RedBlueGames
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, mer... | C# | Assets/RedBlueGames/MulliganRenamer/Editor/GUI/MulliganRenamerWindow.cs | redbluegames/unity-mulligan-renamer | mit | 55,018 | 1,305 | codeparrot/github-code |
ed0fdcd52cee4d6fc848f619a86a4f9539bf5047073e25daf58c18fb94fbc43a | #ifndef INCLUDED_flixel_system_debug_stats__Stats_GraphicMinimizeButton
#define INCLUDED_flixel_system_debug_stats__Stats_GraphicMinimizeButton
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_openfl__legacy_display_BitmapData
#include <openfl/_legacy/display/BitmapData.h>
#endif
HX_DECLARE_CLASS5(flixel,_s... | C | haxe/export/linux64/cpp/obj/include/flixel/system/debug/stats/_Stats/GraphicMinimizeButton.h | syonfox/PixelPlanetSandbox | mit | 2,001 | 53 | codeparrot/github-code |
1d1be7af96c17c0994dbd4b0d874fc7b53fe3bd1e2ce29da62d57dc129d1a00d | /**
* Class for animation
*/
(function (window, undefined) {
"use strict";
/**
* time when we start counting fps
* @type {number}
*/
var fpsStart = 0,
/**
* counted fps in current second
* @type {Number}
*/
fpsCounting = 0,
/**
... | JavaScript | src/animator.js | devjseu/animator | mit | 11,770 | 467 | codeparrot/github-code |
3d8a42ebe4c25f02cb31fd0ffdf76e1a5553d5a5d03c21828c1d484e2e2dc5fb | import React, { Component } from 'react'
import { popupClose } from '../../actions/popup_actions'
import { dashboardAddWidget } from '../../actions/dashboard_actions'
import { dispatch } from '../../helpers/dispatcher'
import WidgetStore from '../../stores/widget_store'
import { FormattedMessage } from 'react-intl'
cl... | JavaScript | src/components/dashboard/widget_form.js | vinej/react-portal | mit | 1,132 | 36 | codeparrot/github-code |
f8f2a7a9a53badcdb5b237dea4828cb4b20060bc112c2aab196beac36ccfb2d5 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkBoxRepresentation.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
Th... | C | IMU/VTK-6.2.0/Interaction/Widgets/vtkBoxRepresentation.h | timkrentz/SunTracker | mit | 10,841 | 287 | codeparrot/github-code |
a34a1350c54a3efdef54fc0b7d07b0f9866edb500e4178d9a8b1cf5aab5eecdd | steal("//steal/get/json", "//steal/rhino/prompt", function( steal ) {
/**
* @parent stealjs
* Downloads and installs a plugin from a url. Normally this is run from the steal/getjs script.
*
* <p>The following copies the mustache-javascript repo to a local mustache folder.</p>
*
* @codestart text
* js ... | JavaScript | public/steal/get/get.js | keithnorm/Todo-app | mit | 5,098 | 162 | codeparrot/github-code |
8fc67996b6e7853d0503aa54eed34b6ceb854b1eb0df7da8f2d8ae21be3061ca | // http.go implements drop-in replacements for functions in the net/http
// package.
package caviar
import (
"errors"
"strings"
"path"
"path/filepath"
"net/http"
)
// Replacement for net/http.Dir.
type Dir string
// Caviarized copy of net/http.Dir.Open()
func (d Dir) Open(name string) (http.File... | GO | http.go | mvillalba/caviar | mit | 766 | 33 | codeparrot/github-code |
b5bcd34e0c8ab69dce237a497b790e7fc75bef970c0bc7964da03c371ceb37df | /*
* File: KarelWorldTest.java
* -------------------------
* Makes sure we can read Karel world files.
*/
function KarelWorldTest() {}
KarelWorldTest.main = function(args) {
var console = new JSConsole();
var world = new KarelWorld();
var cmdProc = function(console, line) {
var req = new XMLHttpReq... | JavaScript | karel/js/compiler/karel/KarelWorldTest.js | chrispiech/cs106a-winter-2017 | mit | 1,064 | 37 | codeparrot/github-code |
e2ae887bccef1a305cccba9c532a036b985278bf36452128d06cf06772e7aceb | /*
aDBName is a string that identifies the database in local indexedDB
aDBVersion is an integer that identifies the database version
aTablesDefinition is an array of json.
Each element of this array must contain:
name (the name of the set of documents or a tableName in SQL notation)
keyPath (the name of th... | JavaScript | 0.8.61/app-src/js/ystorage-indexedDB-interface.js | EDortta/YeAPF | mit | 7,482 | 245 | codeparrot/github-code |
8342de1eaaa84aff79014398b48e0788286680d2725ae9dbdf704b4419bc0174 | \documentclass{beamer} % print frames
%\documentclass[notes=only]{beamer} % only notes
%\documentclass{beamer} % only frames
\newcounter{savedenum}
\newcommand*{\saveenum}{\setcounter{savedenum}{\theenumi}}
\newcommand*{\resume}{\setcounter{enumi}{\thesavedenum}}
\usepackage{multienum}
\usepackage[... | TeX | tex/cmc-2014/cmc_aug_25.tex | agogear/sfl_corpling | mit | 12,443 | 337 | codeparrot/github-code |
cb43af5ee75a7e83b947a89dd72afc32ab5d7570c6dce29a00dce7cc94673d51 | package spire.std
import spire.algebra.{EuclideanRing, IsIntegral, NRoot, Order, Signed}
import spire.math.BitString
trait ByteIsEuclideanRing extends EuclideanRing[Byte] {
override def minus(a:Byte, b:Byte): Byte = (a - b).toByte
def negate(a:Byte): Byte = (-a).toByte
def one: Byte = 1.toByte
def plus(a:Byte... | Scala | core/src/main/scala/spire/std/byte.scala | lrytz/spire | mit | 3,524 | 103 | codeparrot/github-code |
aa584dc41d906c892eed5d16360ce62ae8a673903947bc171e330cf661ffa0f2 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using MasterServer.Extensions;
using MasterServer.ServiceInterface;
using MasterServer.ServiceModel;
namespace MasterServer
{
/// <summary>
/// Process and routes parsed UdpReceiveResult objects as UdpMessage dto to a... | C# | MasterServer.Core/UdpMessageRouter.cs | josh-leeming/TorqueMasterServer | mit | 6,122 | 179 | codeparrot/github-code |
69d1f67701261d52ef1c2b9c01e6ac130ff05750e7dbeb54c4ad92d8d1744d9a | /**
* Interface:
* mwf.touch.geolocation.getType() -> 0|1|2
* mwf.touch.geolocation.getTypeName() -> "HTML5 Geolocation"|"Google Gears"|"Unsupported"
* mwf.touch.geolocation.getApi() -> Geolocation API (HTML5 or Google Gears)
* mwf.touch.geolocation.isSupported() -> boolean
* mwf.touch.geolocation.getPo... | JavaScript | root/assets/js/standard/geolocation.src.js | daifu/MobileWebForCSDepartment | mit | 4,278 | 160 | codeparrot/github-code |
cef78fd2263b490b9d8ac051cefe42ece58b09c90b71dca5252ef531df9858c1 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>multiplier: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... | HTML | clean/Linux-x86_64-4.07.1-2.0.6/extra-dev/8.10.dev/multiplier/8.7.0.html | coq-bench/coq-bench.github.io | mit | 6,758 | 163 | codeparrot/github-code |
6649770e6e905904d8378dcfa79119350af63ed489a00adb12ef33a3848b4cf6 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>vst: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... | HTML | clean/Linux-x86_64-4.02.3-2.0.6/released/8.6.1/vst/2.8.html | coq-bench/coq-bench.github.io | mit | 7,948 | 188 | codeparrot/github-code |
1f67c25b93a5c55e728d6a4c42a25ff7245a43b5c3dd3eeebc88e46a5ff75539 | 'use strict';
const Hapi = require('hapi');
const apiPlugin = require('../api');
const Code = require('code');
const Lab = require('lab');
const lab = exports.lab = Lab.script();
const describe = lab.describe;
const it = lab.it;
const before = lab.before;
const expect = Code.expect;
var rand = Math.random() * (46.2... | JavaScript | test/api.js | wildspecial/TTApi | mit | 3,361 | 157 | codeparrot/github-code |
445e255b0afde4b1af3fcd7a1f0314d19e56259b38a1a93a0efc1cca49c8bcc3 | module Cenit
module FileStore
module Base
extend self
def label
fail NotImplementedError
end
def save(file, data, options)
fail NotImplementedError
end
def read(file, *args)
len = (args.length.positive? && args[0].to_i) || file.length || 0
if ... | Ruby | lib/cenit/file_store/base.rb | macarci/cenit | mit | 1,222 | 55 | codeparrot/github-code |
3d140389681976a8ebba52e8b14820c5129f41df5c7c034dce16790d4e5c24e9 | <!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.08.1-2.0.5/released/8.7.1+1/mathcomp-character/1.14.0.html | coq-bench/coq-bench.github.io | mit | 7,864 | 163 | codeparrot/github-code |
8f3b9065fe8f00e8cb3e71f33ee40e0f2040784b85d74aaf16414be124b2244b | #!/usr/bin/env python
import os, sys
SCRIPTDIR = os.path.dirname(__file__)
ENGINDIR = os.path.join(SCRIPTDIR, '..', '..', 'engines')
sys.path.append(os.path.abspath(ENGINDIR))
from fpsl_cvxpy import map_inference
PROBLEMDIR = os.path.join(SCRIPTDIR, '..', '..', 'problems', 'paper_review')
sys.path.append(os.path.abs... | Python | debug/compare_map/run_fpsl_cvxpy.py | gfarnadi/FairPSL | mit | 1,367 | 42 | codeparrot/github-code |
103ba48366d345bca91606c67a642bffc2c73207757224c67bc2607bfd1ef378 | //#define PROFILE
//#define DBG
using System;
using System.Collections.Generic;
using System.IO;
using BX20Serializer;
using UnityEngine;
using Vexe.FastSave.Serializers;
using Vexe.Runtime.Extensions;
using UnityObject = UnityEngine.Object;
namespace Vexe.FastSave
{
public static class Save
{
public static event... | C# | Assets/Plugins/Vexe/Runtime/FastSave/Core/Save.cs | laicasaane/VFW | mit | 5,694 | 249 | codeparrot/github-code |
e02b993b0fb80fbfbd535bf458c733b1ed6793339f9acfd0ef8a17d714024298 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Sci blog jekyll theme">
<meta name="author" content="AIR RAYA Group">
<link href='... | HTML | elasticsearch/2022/03/05/reindex.html | xiazemin/MyBlog | mit | 15,008 | 403 | codeparrot/github-code |
9344baa2dcc196e4b329058861fb9dffc10d557927195a8efd98609e9f1682c0 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""\
Eulerian cycle
jill-jênn vie et christoph dürr - 2015-2020
"""
import random
from tryalgo.graph import write_graph
# snip{ eulerian_tour_undirected
def eulerian_tour_undirected(graph):
"""Eulerian tour on an undirected graph
:param graph: directed graph... | Python | tryalgo/eulerian_tour.py | jilljenn/tryalgo | mit | 4,663 | 125 | codeparrot/github-code |
58a87612b3c9eb58a91252346b42d21caed73c2c4cbdc6cb0e871e5671b5c39b | using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Web.Configuration;
using BookArena.Model;
using Microsoft.AspNet.Identity.EntityFramework;
namespace BookArena.Data
{
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
public Applicat... | C# | Source/BookArena.Persistence/ApplicationDbContext.cs | shibbir/bookarena | mit | 1,161 | 35 | codeparrot/github-code |
1f0ebc59783beea01183f47448db4893391ce42f399689714e0d4cac059bcbff | var Helpers = {};
var fs = require('fs');
var path = require("path");
var touch = require("touch");
var isStream = require("is-stream");
var validUrl = require('valid-url');
var _ = require("lodash");
var emailTester = /^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-?\.?[a-zA-Z0-9])*... | JavaScript | helpers.js | gitadept/instagram-private-api | mit | 3,542 | 124 | codeparrot/github-code |
90d06eb746523c4b4137d9ca80647b32e6cab96c30ba31b7080080549d295350 | Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
config.web_socket_server_url = "wss://murmuring-caverns-54973.herokuapp.com/cable"
config.action_cable.allowed_request_origins = ['https://murmuring-caverns-54973.herokuapp.com', 'http://murmuring-c... | Ruby | config/environments/production.rb | chastep/WITNESS-ME | mit | 4,423 | 111 | codeparrot/github-code |
f2d9a6b99b51b6a966939a772b660280e018fe7d39300df32f3fe55a45e4d539 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>float: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | HTML | clean/Linux-x86_64-4.05.0-2.0.1/released/8.9.0/float/8.6.0.html | coq-bench/coq-bench.github.io | mit | 6,885 | 170 | codeparrot/github-code |
37e93d583f6811c15d110be366af05774376906527ee2d3ac57fbf1b4bf4f30a | /*
* The MIT License
*
* Copyright 2014 Anton, Carl, John, Peter.
*
* 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 ... | Java | MovieFinder/src/main/java/edu/chalmers/dat076/moviefinder/persistence/Series.java | we4sz/DAT076 | mit | 3,821 | 121 | codeparrot/github-code |
4e4128266e02fd3160dae2f80d4112486cbc6ebb168459fa6cb1584cb1ed83fc | package user
import (
"errors"
. "github.com/1ambda/gokit-waffle/waffle-server/service/common"
"github.com/1ambda/gokit-waffle/waffle-server/service/number"
)
type UserService interface {
Users() []User
User(string) (int, error)
}
type service struct {
repository number.NumberRepository
}
func NewUserService... | GO | waffle-server/service/user/UserService.go | 1ambda/gokit-waffle | mit | 790 | 46 | codeparrot/github-code |
66a451fd0fd689d7a6638e0d55ca57c976c97bd7e124257b132a9a1a0f094dc5 | <?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/developer/PhpstormProjects/be-grav/user/plugins/login/languages.yaml',
'modified' => 1466594133,
'data' => [
'en' => [
'PLUGIN_LOGIN' => [
'USERNAME' => 'Username',
... | PHP | cache/compiled/files/31c3fcb2f09e0a13c97d5f676cf3d231.yaml.php | KannipaB/be-grav | mit | 23,285 | 285 | codeparrot/github-code |
bef45ac29779e0f9bcecf5c4bd73d16bff63f5467267da1fbb260e5ed9c5f761 | var path = require('path');
/**
* Different rename keys for Assemble loaders
*
* @param {Function} `defaultKey` defualt Assemble rename key
* @return {Type} Description
*
*/
module.exports = function(defaultKey) {
return {
dirnameKey: function (search) {
return function (fp) {
if (fp.indexOf(... | JavaScript | grunt/assemble/utils/rename-keys.js | CilantroOrg/CilantroVegOrg | mit | 1,637 | 61 | codeparrot/github-code |
c4e681739f6e2746f2aede3eff32b1b574f40a7dd80e21f9ec581b8253fdfd86 | // Place all the behaviors and hooks related to the matching controller here.
// All this logic will automatically be available in application.js.
/*
The key idea is to assume as little as possible about
the underlying DOM structure, i.e., what elements we
need, what classes they should have, and how they're
a... | JavaScript | app/assets/javascripts/modal.js | stephensxu/couchfoodie | mit | 1,432 | 42 | codeparrot/github-code |
99a97f8e0b5784e50fa61ea253d8713ba7e490f5dd25a5a79ddd3de37f0f08a9 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>metacoq-checker: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.mi... | HTML | clean/Linux-x86_64-4.02.3-2.0.6/released/8.5.2/metacoq-checker/1.0~alpha+8.8.html | coq-bench/coq-bench.github.io | mit | 7,733 | 180 | codeparrot/github-code |
fb9c7b089498fbb7735eb6328e0eed3d25c58e5dd57bd9415b2d592899df9018 | //-- copyright
// OpenProject is a project management system.
// Copyright (C) 2012-2013 the OpenProject Foundation (OPF)
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License version 3.
//
// OpenProject is a fork of ChiliProject, which is a ... | JavaScript | app/assets/javascripts/breadcrumb.js | mximos/openproject-heroku | mit | 2,666 | 84 | codeparrot/github-code |
4aec6b5a964c69abe5a98dddd15bf9d4a4c2073ef92dc738535151b5c31203e0 | from tornado.options import options, logging
from itertools import product
import json
import tornado.web
import pymongo
import csv
class MongoDbLookupHandler(tornado.web.RequestHandler):
def get(self, identity):
logging.info("uri=%s [%s] [%s]" % (self.request.uri, identity, self.request.arguments))
... | Python | websvcs/endpoints/storage/mongodb_lookups.py | cancerregulome/GeneSpot_1.0 | mit | 10,153 | 290 | codeparrot/github-code |
ffaa87008f8b2cff4827715a4dcf0806e2ad210f7d8cb1fb51600aaa87962fe7 | // Globals are:
// - Variables outside functions
// - Variables without a var (even inside functions)
// - Named functions
// Can be updated/deleted at any time...
var name = 'fido';
age = 10;
var fruit = 'banana';
(function() {
// name and age will be overridden, but fruit will not
name = 'ka... | JavaScript | js/minimize-globals/1-globals/program.js | bjuvensjo/misc | mit | 791 | 31 | codeparrot/github-code |
5bc9703a402976fdc204ca2bf7fb3b4db866c80cb034fae06ae1e66d31b6ec7f | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>compcert: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | HTML | clean/Linux-x86_64-4.04.2-2.0.5/released/8.9.0/compcert/3.6+8.11.html | coq-bench/coq-bench.github.io | mit | 8,029 | 190 | codeparrot/github-code |
9982c93eaf942ae92dd62bedd88cb7b3f1b0770015f66c934555a20e693df86e | AFRAME.registerComponent('gui-icon-label-button', {
schema: {
on: {default: 'click'},
toggle: {type: 'boolean', default: false},
toggleState: {type: 'boolean', default: false},
icon: {type: 'string', default: 'f0f3'},
iconActive: {type: 'string', default: ''},
iconFon... | JavaScript | src/components/icon-label-button.js | rdub80/aframe-gui | mit | 10,082 | 221 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.