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 |
|---|---|---|---|---|---|---|---|---|
05cbabc9d0b789aff6698ab24c3515bfeccc17d4aa703319d5a796b5667063dd | ---
layout: post
title: "Zero to Established! - StackOverflow"
date: 2016-12-22 06:00:55 +0530
tags: stackoverflow
---
It's been a great winter month, and I've finally started my StackOverflow journey. I had a goal of reaching 1000 reputation by New Year's, but I've already surpassed it by 122 points (at this momen... | Markdown | _posts/2016-12-22-zero-to-established.markdown | martiansideofthemoon/martiansideofthemoon.github.io | mit | 6,528 | 54 | codeparrot/github-code |
fbbe98dff6eca7ef06c87412656d0ec5d18f5a83d3fc5584354e34ebcee0576c | package graphql.analysis;
import graphql.PublicApi;
import graphql.language.Argument;
import graphql.language.Node;
import graphql.schema.GraphQLArgument;
import graphql.schema.GraphQLFieldDefinition;
import graphql.schema.GraphQLSchema;
import graphql.util.TraverserContext;
import java.util.Map;
@PublicApi
public i... | Java | src/main/java/graphql/analysis/QueryVisitorFieldArgumentEnvironment.java | graphql-java/graphql-java | mit | 706 | 32 | codeparrot/github-code |
64460e290d4c2eb2792c939b4082e02b78eef516183eaedb4d06f0610f9076e7 | <!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 | golang/2019/11/02/url.html | xiazemin/MyBlog | mit | 28,346 | 751 | codeparrot/github-code |
840884af81e5b2190c4cecc607f898ded8a26b3157714e9a39803df04303e191 | #!/usr/local/bin/python3
from zeroconf import Zeroconf, ServiceInfo
import socket
import configparser
from . import hazc_cmd
# import pdb
class hazc_device:
#Forward constants
NO_PARAM = hazc_cmd.NO_PARAM
BOOL = hazc_cmd.BOOL
FLOAT = hazc_cmd.FLOAT
STRING = hazc_cmd.STRING
INT = hazc_cmd.... | Python | hazc_device.py | ArcAwe/hazc | mit | 6,518 | 203 | codeparrot/github-code |
ed2aad01e6f44dedea0fe05ab41fa9f20117defff9c321d9d609e50afbb1bb4e | <div id="graphs-trade-partner" class="container">
<nav class="nav-graph col-xs-12 col-sm-3 col-md-3" >
<h3>{%trans%}Preview{%endtrans%}:</h3>
<div class="list-group panel">
<h4>{% trans %}Trade Balance{% endtrans %}</h4>
<a href="#trade-balance-product" class="list-group-it... | HTML | dataviva/apps/product/templates/product/graphs-trade-partner.html | DataViva/dataviva-site | mit | 16,573 | 176 | codeparrot/github-code |
f9f7dbb4a4e864ecddaa6d642cc4879062906dbabe2fc1177a9c543f4dbbce5f | // These are the pages you can go to.
// They are all wrapped in the App component, which should contain the navbar etc
// See http://blog.mxstbr.com/2016/01/react-apps-with-pages for more information
// about the code splitting business
import { getAsyncInjectors } from './utils/asyncInjectors';
const errorLoading = ... | JavaScript | app/routes.js | mikejong0815/Temp | mit | 4,755 | 165 | codeparrot/github-code |
2d12b71e70cb1710a31373a943998cf6dd967f6be2e948797ae285de0762129a | /**
* Fac.js
* (c) 2017 Owen Luke
* https://github.com/tasjs/fac
* Released under the MIT License.
*/
var copy = require('./copy');
var chain = require('./chain');
var super_ = require('./super');
var core = {
new: function(options){
typeof options === 'string' && (options = {name: options});
var obj = cha... | JavaScript | lib/core/core.js | tasjs/fac | mit | 1,691 | 89 | codeparrot/github-code |
450ae124ac9c7e48c008d3329744aebf1f138eef92b59f82c04c39e6138563be | using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Net;
using System.Threading.Tasks;
using System.Xml;
namespace Kitechan
{
public class UserInfo
{
public struct ImagePath
{
public string ImageUrl { get; set; }
public st... | C# | UserInfo.cs | Asky314159/kitechan | mit | 5,512 | 163 | codeparrot/github-code |
4368014836a152a8aa8b67d2b5bcca8508602434d9d97b4d0bdd3da94bbb2eba | from victor.exceptions import (
FieldValidationException,
FieldTypeConversionError,
FieldRequiredError,
VectorInputTypeError
)
class Field(object):
required = True
"""Field is required and an exception will be raised if missing"""
missing_value = None
"""Value to use when field is mis... | Python | victor/vector.py | alexph/victor | mit | 4,717 | 186 | codeparrot/github-code |
5ca3372949895a1eaa1de135b66c7c85bd58514f218290f39ddea45a2fdb3720 | using Content.Server.Throwing;
using Content.Shared.Acts;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Maths;
namespace Content.Server.Explosion.Components
{
[RegisterComponent]
public sealed class ExplosionLaunchedComponent : Component, IExAct
{
[Dependency] privat... | C# | Content.Server/Explosion/Components/ExplosionLaunchedComponent.cs | space-wizards/space-station-14 | mit | 1,249 | 41 | codeparrot/github-code |
45f537c7e05304bd0fd9ea66f2df5b859513ef703d103725c8c9eb8946657931 | /* ** GENEREATED FILE - DO NOT MODIFY ** */
package com.wilutions.mslib.office.impl;
import com.wilutions.com.*;
@SuppressWarnings("all")
@CoClass(guid="{C09B8C5A-A463-DB41-5DAE-69E7A5F7FCBC}")
public class ODSOColumnImpl extends Dispatch implements com.wilutions.mslib.office.ODSOColumn {
@DeclDISPID(16107438... | Java | java/joa/src-gen/com/wilutions/mslib/office/impl/ODSOColumnImpl.java | wolfgangimig/joa | mit | 1,933 | 48 | codeparrot/github-code |
80b585549fa466dc9235ac511217219504ac58f64da3ab1e120e23ba75ef3d90 | /*
* BLITSaw_processor.cpp
*
* Copyright (c) 2014, fukuroda (https://github.com/fukuroder)
* Released under the MIT license
*/
#include "BLITSaw_processor.h"
#include "BLITSaw_guids.h"
#include "pluginterfaces/vst/ivstparameterchanges.h"
#include <algorithm>
namespace MyVst {
//
BLITSaw_processor... | C++ | source/BLITSaw_processor.cpp | fukuroder/bandlimited_sawtooth_synthesis | mit | 3,004 | 130 | codeparrot/github-code |
5015c442ddaba1ee35566479d726e63bc514bcf0416a51b68dedd516030e3a97 | <?php
namespace StorageBundle\Admin;
use Sonata\AdminBundle\Admin\Admin;
use Sonata\AdminBundle\Datagrid\DatagridMapper;
use Sonata\AdminBundle\Datagrid\ListMapper;
use Sonata\AdminBundle\Form\FormMapper;
use Sonata\AdminBundle\Show\ShowMapper;
use Sonata\DoctrineORMAdminBundle\Datagrid\ProxyQuery;
use Symfony\Compone... | PHP | src/StorageBundle/Admin/FileAdmin.php | vol4onok/symfony | mit | 4,705 | 151 | codeparrot/github-code |
08f3c8e6c5fb39cc15f44f008224982ba08541d1ecf340be0e02937218b35ed0 | (function() {
"use strict";
angular.module('common.dragdrop', [])
.factory('DragDropHandler', [function() {
return {
dragObject: undefined,
addObject: function(object, objects, to) {
objects.splice(to, 0, object);
},
moveObject: func... | JavaScript | modules/dragdrop/dragdrop.js | michaeljcalkins/angular-common | mit | 3,374 | 93 | codeparrot/github-code |
351e38beb5b7393a19f7f16bf4d4934f5c0666534fd21f1b888d22324aa706a7 | import * as yargs from "yargs";
import { Runner } from "./runner";
import { IRawConversionSettings, parseSettings } from "./settingsParser";
import { StatusCode } from "./statusCode";
const rawConversionSettings: IRawConversionSettings = yargs
.usage("Usage: $0 --csproj <csproj> --target <target>")
.command("... | TypeScript | src/cli.ts | JoshuaKGoldberg/csproj-to-tsconfig | mit | 1,355 | 36 | codeparrot/github-code |
1a95c7c2b13c961f7e952f2f2db3056dfe6a04cbdd354e153c41a1ab6cc5125f | // -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2012 MIT, All rights reserved
// Released under the MIT License https://raw.github.com/mit-cml/app-inventor/master/mitlicense.txt
package com.google.appinventor.components.runtime;
import android.app.Activit... | Java | appinventor/components/src/com/google/appinventor/components/runtime/PhoneStatus.java | rkipper/AppInventor_RK | mit | 2,694 | 72 | codeparrot/github-code |
8172b1539fcae6297ea972ed9f3e4fa1bb6b5a6b41aa24b1fd52ea25bf7d0a46 |
<!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/ya/yaaf.xmpp.runtime.0.0.8/Yaaf.Xmpp.Runtime-net45.html | kuhlenh/port-to-core | mit | 63,800 | 1,433 | codeparrot/github-code |
a48d8c80318c6a0ef8677e282ff709e9fd1b7dcf6f55a78d6c03838eef33c223 | jest.unmock('../../src/filtering/filter');
import React from 'react';
import {shallow} from 'enzyme';
import {Filter} from '../../src/filtering/filter';
describe('Filter', () => {
it('has empty filtering text by default', () => {
// when
const filter = shallow(
<Filter/>
);
... | JavaScript | __tests__/filtering/filter.test.js | nkoder/lol-champions | mit | 843 | 35 | codeparrot/github-code |
8fca35d4c2af3caea85722e65a5c086504757b0eb1a42c68b79a17ec8b7cdae4 | package umm3601.plant;
import com.mongodb.MongoClient;
import com.mongodb.client.FindIterable;
import com.mongodb.client.MongoCollection;
import com.mongodb.client.MongoDatabase;
import org.bson.Document;
import org.bson.types.ObjectId;
import org.junit.Before;
import org.junit.Test;
import umm3601.digitalDisplayGarde... | Java | server/src/test/java/umm3601/plant/TestPlantComment.java | UMM-CSci-3601-S17/digital-display-garden-iteration-3-dorfner | mit | 2,771 | 76 | codeparrot/github-code |
c753f8dd67fd144c966b7fca5d879dd813eb91c8c137ae3211c5594ceac809bf | # frozen_string_literal: true
class Projects::TriggersController < Projects::ApplicationController
before_action :authorize_admin_build!
before_action :authorize_manage_trigger!, except: [:index, :create]
before_action :authorize_admin_trigger!, only: [:edit, :update]
before_action :trigger, only: [:take_owner... | Ruby | app/controllers/projects/triggers_controller.rb | iiet/iiet-git | mit | 2,087 | 77 | codeparrot/github-code |
b970ad05904a10185109e0c8b8d61ce9e21e10e295ed4306442408c3ed61776a | package org.diorite.material.blocks.stony;
import java.util.Map;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.diorite.BlockFace;
import org.diorite.cfg.magic.MagicNumbers;
import org.diorite.material.BlockMaterialData;
import org.diorite.m... | Java | src/main/java/org/diorite/material/blocks/stony/RedSandstoneStairsMat.java | joda17/Diorite-API | mit | 7,654 | 212 | codeparrot/github-code |
27e62195747cc928284ba210e18dec584a06587dae781ac81bfc0ed4920fb33b | package cn.ezandroid.ezfilter.render;
import android.content.Context;
import android.opengl.GLES20;
import cn.ezandroid.lib.ezfilter.core.util.Path;
import cn.ezandroid.lib.ezfilter.extra.IAdjustable;
import cn.ezandroid.lib.ezfilter.extra.MultiBitmapInputRender;
/**
* 黑白滤镜
*
* @author like
* @date 2017-09-17
*... | Java | app/src/main/java/cn/ezandroid/ezfilter/render/BWRender.java | uestccokey/EZFilter | mit | 2,208 | 68 | codeparrot/github-code |
d4f93960f9a4c1463c07d39a9a41e81431a99b1758a3f4819de7dba8c364fe49 | /* eslint-env jest */
import fs from 'fs-extra'
import { join } from 'path'
import {
killApp,
findPort,
launchApp,
nextStart,
nextBuild,
fetchViaHTTP,
} from 'next-test-utils'
import webdriver from 'next-webdriver'
import cheerio from 'cheerio'
jest.setTimeout(1000 * 60 * 2)
const appDir = join(__dirname... | JavaScript | test/integration/404-page-app/test/index.test.js | flybayer/next.js | mit | 2,390 | 90 | codeparrot/github-code |
8f295026920c4de6449c2312289cf8a92548bd15c276634737ed1a9ee7e6a4b6 | /**
* Calculates the complex number raised to some power
*
* @param {numeric} c The power to which the complex number should be raised
* @return {Complex}
*/
pow(c) : Complex {
var re, im, abs, arg;
if (MathLib.type(c) === 'complex') {
re = c.re;
im = c.im;
abs = this.abs();
arg = this.arg();
// Fixe... | TypeScript | src/Complex/prototype/pow.ts | alawatthe/MathLib | mit | 2,048 | 78 | codeparrot/github-code |
243beb0e09f80c39da39f5288c4a77fccf508dba70bb1d1d59c15519061c46b0 | 'use strict';
const sinon = require('sinon'),
q = require('q'),
mockery = require('mockery'),
_ = require('lodash'),
should = require('chai').should();
describe('Create episode', () => {
const idsGeneratorStub = () => '123';
it('Should call the next callback', done => {
let deferred = q.defer();
let promi... | JavaScript | test/episodes/createEpisodeTest.js | thegameofcode/cucumberly | mit | 3,231 | 129 | codeparrot/github-code |
c9da61f560a2aa47f8af9c8cdd0485d2b127878c344e831e7b5f09f5973fd6f1 | <?php
namespace Igorw\Trashbin;
use Silex\Application;
use Silex\ServiceProviderInterface;
use Symfony\Component\Finder\Finder;
class Provider implements ServiceProviderInterface
{
public function register(Application $app)
{
$app['app.languages'] = $app->share(function () {
$languages = ... | PHP | src/Igorw/Trashbin/Provider.php | igorw/trashbin | mit | 1,091 | 42 | codeparrot/github-code |
7992ff7cffa219ea5ce43167922649b3a1ee479bd604f240514ff894006678a7 | # -*- coding:utf-8 -*-
import abc
import platform
from UserList import UserList
class Monitor(object):
@abc.abstractmethod
def current(self):
pass
@abc.abstractmethod
def percent(self, range):
pass
@abc.abstractmethod
def reset(self):
pass
@abc.abstractmethod
... | Python | src/pyScreenBrightness/base.py | x007007007/pyScreenBrightness | mit | 1,127 | 59 | codeparrot/github-code |
ecc9c6dfe9e3099eb89a71d6679904c511f8affef012a970827d885465c85d43 | /*
* The MIT License
*
* Copyright 2014 Sebastian Russ <citeaux at https://github.com/citeaux/JAHAP>.
*
* 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 w... | Java | src/main/java/org/jahap/business/base/ratesbean.java | citeaux/JAHAP | mit | 11,151 | 394 | codeparrot/github-code |
0b24e37c8b76948d6f2e2faf9a438ecac75d7b3797e05fdb5e7cde40cfd9b646 | require_relative 'location_splitter'
require_relative 'elevation_checker'
require_relative 'terrain_checker'
class DetailsChecker
attr_reader :locations, :services_response
def initialize(locations)
@locations = locations
end
def call!
split_locations! unless locations.is_a?(Array)
check_elevatio... | Ruby | details_checker.rb | tolhaje/coords2details | mit | 880 | 38 | codeparrot/github-code |
b059d045d6a23c5c046e3fb52eb06b8a84c0e2da1f4c9b5a231294d05629a238 | # -*- coding: utf-8 -*-
"""
Forms for day forms
"""
from django.conf import settings
from django import forms
from django.utils.translation import ugettext as _
from arrow import Arrow
from datebook.models import DayEntry
from datebook.forms import CrispyFormMixin
from datebook.utils.imports import safe_import_module... | Python | datebook/forms/day.py | sveetch/django-datebook | mit | 6,638 | 170 | codeparrot/github-code |
4e996e37074de678e21a39bd581943e07df2ea812cf07a8d417810a04c943861 | <!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta... | HTML | view/profesor/profe_calumno.html | Seiferxx/user211 | mit | 3,124 | 66 | codeparrot/github-code |
b12a74547f44a8393a443f32df39b1719fdd81d02ae44a7437ffbbdacd83a8b5 | #!/usr/bin/env python
# -*- coding: utf8 -*-
# *****************************************************************
# ** PTS -- Python Toolkit for working with SKIRT **
# ** © Astronomical Observatory, Ghent University **
# *****************************************************************
##... | Python | CAAPR/CAAPR_AstroMagic/PTS/pts/core/tools/special.py | Stargrazer82301/CAAPR | mit | 24,210 | 634 | codeparrot/github-code |
f2052c80e55e453c7b454ca57cb5548fcbec9227b9295046073233627eae1ef0 | import React from 'react';
import {shallow} from 'enzyme';
import {BareCheckSuiteView} from '../../lib/views/check-suite-view';
import CheckRunView from '../../lib/views/check-run-view';
import checkSuiteQuery from '../../lib/views/__generated__/checkSuiteView_checkSuite.graphql';
import {checkSuiteBuilder} from '../... | JavaScript | test/views/check-suite-view.test.js | atom/github | mit | 1,809 | 56 | codeparrot/github-code |
b0f8149c48614d36d2a43f73ced5311523b1a13878256c6aa8fdaf0d27bf6485 | #include "Agent.h"
#include <algorithm>
Agent::Agent()
{
}
Agent::Agent(float _speed, float _health, const glm::vec2 & _startPos,
const GameEngine::GLTexture & _texture, GameEngine::ColorRGBA8 & _color, std::weak_ptr<World> _world) :
m_movementSpeed(_speed), m_health(_health), m_worldPos(_startPos), m_te... | C++ | AI_Game/Agent.cpp | VasilStamatov/GraphicsLearning | mit | 4,846 | 160 | codeparrot/github-code |
500ac6ecfd9bb9a2f4bc68ab4da325dddcd1e4de9e5f84ec661df8d47f95cbaa | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
| This file is part of the web2py Web Framework
| Copyrighted by Massimo Di Pierro <mdipierro@cs.depaul.edu>
| License: LGPLv3 (http://www.gnu.org/licenses/lgpl.html)
Provides:
- List; like list but returns None instead of IndexOutOfBounds
- Storage; like dictionary ... | Python | app/gluon/storage.py | shashisp/blumix-webpy | mit | 8,573 | 322 | codeparrot/github-code |
04cf58ab1f206c19cf71cfc3beb4675a5d4e5395c0641e69eb42d18efbf5441c | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>metacoq: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | HTML | clean/Linux-x86_64-4.04.2-2.0.5/released/8.5.0/metacoq/1.0~beta1+8.12.html | coq-bench/coq-bench.github.io | mit | 7,633 | 179 | codeparrot/github-code |
7ad8bfb18bc64c279a713709399c5c1db464e0a45ebdcdb85099423a0795fe78 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-algebra: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstra... | HTML | clean/Linux-x86_64-4.07.1-2.0.6/released/8.8.2/mathcomp-algebra/1.6.2.html | coq-bench/coq-bench.github.io | mit | 7,849 | 169 | codeparrot/github-code |
2a77ef9973de962a15f56576e75856f188b53b514e2fc7240ef2734cae1380ab | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>huffman: 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.10.0/huffman/8.9.0.html | coq-bench/coq-bench.github.io | mit | 7,144 | 176 | codeparrot/github-code |
429d62882068f6879a76d1b256c274db629308210b50e29a027082fcb0715f9e | /*
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 2012 <copyright holder> <email>
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 Foundation, either ve... | C++ | bot/bot.cpp | fridek/uj-gamedev-ai-project | mit | 3,941 | 159 | codeparrot/github-code |
41443ae08de08cc42418f55bc3678a92859af1afedc2240b753f7614d3394ce2 | #include "optionsdialog.h"
#include "ui_optionsdialog.h"
#include "bitcoinunits.h"
#include "monitoreddatamapper.h"
#include "netbase.h"
#include "optionsmodel.h"
#include <QDir>
#include <QIntValidator>
#include <QLocale>
#include <QMessageBox>
OptionsDialog::OptionsDialog(QWidget *parent) :
QDialog(parent),
... | C++ | src/qt/optionsdialog.cpp | coingulf/gulfcoin | mit | 8,954 | 282 | codeparrot/github-code |
83abf91a18ce78b7615c8ded6b2d674fef9b013fc19219b8b069ae2bce5ad53d | #!/usr/bin/env python
from ..debugging import bacpypes_debugging, ModuleLogger
from ..capability import Capability
from ..basetypes import ErrorType, PropertyIdentifier
from ..primitivedata import Atomic, Null, Unsigned
from ..constructeddata import Any, Array, ArrayOf, List
from ..apdu import \
SimpleAckPDU, Re... | Python | py27/bacpypes/service/object.py | JoelBender/bacpypes | mit | 15,660 | 350 | codeparrot/github-code |
f0ec892db3b133554bf62d40d7c88b64825bbb1579988a9bcae95e1088c9da7a | #include "FeatureIterator.h"
#include "Random.h"
#include <functional>
namespace dungeon
{
////////////////////////////////////////////////////////////////////////////////
// ADJUSTERS
////////////////////////////////////////////////////////////////////////////////
AForward::AForward(const Feature& feature) :
m... | C++ | src/FeatureIterator.cpp | DeonPoncini/libdungeon | mit | 1,608 | 87 | codeparrot/github-code |
e18c55523fe1b3c24c6b9b371549fd718a10436574acc804f083a5e6348a04a1 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="//fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/skele... | HTML | examples/credible_sets.html | statgen/locuszoom | mit | 6,734 | 166 | codeparrot/github-code |
59b0924d8e781a3ab4d2630a9ddb32e3d33cd81749c3fe9bef25ea2d2a019b24 | # Copyright (C) 2012-2020 Ben Kurtovic <ben.kurtovic@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, ... | Python | src/mwparserfromhell/definitions.py | earwig/mwparserfromhell | mit | 3,915 | 147 | codeparrot/github-code |
ee5f88ae0e2435dad3f8ca4f2666fe3f886438df97de87713ac971d982f59e1b | // Copyright (c) SimControl e.U. - Wilhelm Medetz. See LICENSE.txt in the project root for more information.
using System;
// TODO CR
namespace SimControl.Reactive
{
/// <summary>Exception trigger.</summary>
public class ExceptionTrigger: Trigger
{
/// <summary>Constructor.</summary>
///... | C# | SimControl.Reactive/ExceptionTrigger.cs | SimControl/SimControl.Reactive | mit | 1,631 | 47 | codeparrot/github-code |
5fdfee0edcd028710e850df18c1c1ac8d51e90d0409ca450771ba6ab1a1ecb58 | /*
* This file is part of Sponge, 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 documentation files (the "Softwar... | Java | src/main/java/org/spongepowered/common/data/processor/block/SpongeDirectionalProcessor.java | gabizou/SpongeCommon | mit | 5,006 | 124 | codeparrot/github-code |
465ef95f3ccf14d903df61692405cfdb52bd630819a8dc5a2ccec2b1d23b13ba | package com.dreamdevs.sunshine.fragment;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.preference.PreferenceManager;
import android.support.v... | Java | app/src/main/java/com/dreamdevs/sunshine/fragment/ForecastFragment.java | 7odri9o/Sunshine | mit | 12,550 | 320 | codeparrot/github-code |
a4d99eb931d7ca3c9885de266d99c22a75093984c48e1fdc6097715622dc51c6 | //Copyright (c) 2010 Lex Li
//
//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, merge,
//publish, distribute... | C# | lib/LogExtension.cs | yonglehou/sharpsnmplib | mit | 2,436 | 65 | codeparrot/github-code |
08f5bdb3e4ce3b990750e29e4026771a9ad3dd51adce6add105ed5838b6a6d19 | from __future__ import print_function
from __future__ import division
# python bpzchisq2run.py ACS-Subaru
# PRODUCES ACS-Subaru_bpz.cat
# ADDS A FEW THINGS TO THE BPZ CATALOG
# INCLUDING chisq2 AND LABEL HEADERS
# ~/p/bpzchisq2run.py NOW INCLUDED!
# ~/Tonetti/colorpro/bpzfinalize7a.py
# ~/UDF/Elmegreen/phot8/bpzfinal... | Python | MOSAICpipe/bpz-1.99.3/bpzfinalize.py | boada/planckClusters | mit | 4,563 | 177 | codeparrot/github-code |
7e709349e7c18bb20eecfb783853ded3ca3875e65b8fd8b03ecfcf0c148f6fc4 | import React, { Component } from 'react'
import PropTypes from 'prop-types'
import themed from '@rentpath/react-themed'
import clsx from 'clsx'
import isEqual from 'lodash/isEqual'
import { randomId } from '@rentpath/react-ui-utils'
import SubmitButton from './SubmitButton'
import Header from './Header'
import {
Form... | JavaScript | packages/react-ui-core/src/LeadForm/LeadForm.js | rentpath/react-ui | mit | 2,529 | 133 | codeparrot/github-code |
194cd7a98d4e57f005b61c51ff8b5fdde22dcadbb2956e08fffe3dbd123ea9d3 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>pi-agm: 1 m 16 s</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="sty... | HTML | clean/Linux-x86_64-4.05.0-2.0.6/released/8.11.1/pi-agm/1.2.5.html | coq-bench/coq-bench.github.io | mit | 11,441 | 204 | codeparrot/github-code |
a644e6df8ce8d5ae19429250f99a90756e43e597a13a2dab64528ca85bc613cd | package com.amee.domain.data.builder.v2;
import com.amee.base.utils.XMLUtils;
import com.amee.domain.Builder;
import com.amee.domain.ItemBuilder;
import com.amee.domain.ItemService;
import com.amee.domain.TimeZoneHolder;
import com.amee.domain.item.BaseItemValue;
import com.amee.domain.item.NumberValue;
import com.ame... | Java | amee-platform-domain/src/main/java/com/amee/domain/data/builder/v2/ItemValueBuilder.java | OpenAMEE/amee.platform.api | mit | 4,429 | 102 | codeparrot/github-code |
52c5e427f4dc6ae6144a28693cafb272ab7a1e650f90318e4844d060b3bd8744 | // This file is part of the :(){ :|:& };:'s project
// Licensing information can be found in the LICENSE file
// (C) 2014 :(){ :|:& };:. All rights reserved.
#include "sys/common.h"
CVar * CVar::root = NULL;
// -----------------------------------------------------------------------------
void CVar::Init(const std::s... | C++ | src/sys/cvar.cc | DoCGameDev/RPG-Engine | mit | 3,887 | 171 | codeparrot/github-code |
f9fb25750c3b56a8197f4b440beb26deef51c3083b8c7fbeff189822240f6ccf | package cvut.fit.borrowsystem.domain.entity;
import org.springframework.data.mongodb.core.mapping.Document;
/**
* Created by Jakub Tuček on 03/06/16.
*/
@Document(collection = "item")
public class Book extends Item {
private int isbn;
public Book() {
}
public Book(String itemName, int count, int ... | Java | src/main/java/cvut/fit/borrowsystem/domain/entity/Book.java | jakub-tucek/simple-spring-borrow-system | mit | 520 | 31 | codeparrot/github-code |
7187654fbda276e3d7d41ebb2f4e43b18081d07bf81d687643837e0e0447fd9c | var gulp = require("gulp"),
del = require("del"),
ts = require("gulp-typescript"),
tsProject = ts.createProject("tsconfig.json")
typedoc = require("gulp-typedoc");
var compileTS = function () {
return tsProject.src()
.pipe(tsProject())
.js.pipe(gulp.dest("app"));
};
gulp.task("doc", function() {
return gulp... | JavaScript | gulpfile.js | SantiMA10/HomePi | mit | 674 | 34 | codeparrot/github-code |
62b3a937e240216d104a7f9aaf6755155918f3dd0a795241e75b9be250866095 | #==============================================================================
#description : Solves travelling salesman problem by using Hill Climbing.
#author : Yakup Cengiz
#date : 20151121
#version : 0.1
#notes :
#python_version : 3.5.0
#Reference : http://www.psy... | Python | Algorithms/SolveTSPSimulatedAnnealing/SolveTSPSimulatedAnnealing.py | yakupc/Artificial-Intelligence | mit | 4,196 | 125 | codeparrot/github-code |
cceb3c5a952c118691c9a271eb34bc7a29a676d949111a184e3efe422e4551a9 | /* global describe, it, beforeEach */
'use strict';
process.env.NODE_ENV = 'test';
var sharedModule = require('../lib/module-shared');
var instance1;
var instance2;
var should = require('should');
var stubs = {};
describe('Private Module Tests', function () {
beforeEach(function (done) {
for (var stub ... | JavaScript | test/module-shared-tests.js | Icehunter/npm-base-package | mit | 3,863 | 101 | codeparrot/github-code |
0b21555ae141160faf4c6427173cca3a4567b495bf2e71e84b3326f2091ed387 | <?php
/*
* This file is part of the ItaPaypalPlugin package.
* (c) Matteo Montanari <matteo@italinux.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* @package PayPal
*/
/**
* Make sure our parent class is defined... | PHP | sdk/lib/PayPal/Type/GetBillingAgreementCustomerDetailsRequestType.php | italinux/PaypalPlugin-v1 | mit | 1,251 | 53 | codeparrot/github-code |
ce3744ba55d90521eeda5185f787e80c733c8a4547ab4a653cbb83770021fb0c | package com.jim.portal.controller;
import com.jim.portal.entity.BooksEntity;
import com.jim.portal.hibernate.BookManagementRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import o... | Java | cloudstreetmarket-parent/cloudstreetmarket-webapp/src/main/java/com/jim/portal/controller/BookController.java | liu1084/springmvc-cookbook | mit | 1,630 | 60 | codeparrot/github-code |
40a883cf7c175d70552c9bffd6b1e3af9ccc2ed19c1a57185f82e542b0efae63 | /*! HTML5 Boilerplate v5.0.0 | MIT License | http://h5bp.com/ */
/*
* What follows is the result of much research on cross-browser styling.
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
* Kroc Camen, and the H5BP dev community and team.
*/
/* ============================================... | CSS | core/static/css/main.css | intip/merit-market | mit | 6,848 | 348 | codeparrot/github-code |
4b9e67618b6b2bd179477cd71c222bb9b18025344255b47b734e004a8d721f0d | /* Copyright (c) 2015 Pozirk Games
* http://www.pozirk.com
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy,... | Java | dependencies/amazonads/src/com/pozirk/ads/AmazonAdsListener.java | openfl/extension-amazonads | mit | 2,319 | 66 | codeparrot/github-code |
1792c1fb5ce248a649627dc781458478cea245d8a26d2414d514c4fbdd35f7cb | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>quicksort-complexity: 1 m 49 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.... | HTML | clean/Linux-x86_64-4.09.1-2.0.6/released/8.10.1/quicksort-complexity/8.10.0.html | coq-bench/coq-bench.github.io | mit | 20,904 | 277 | codeparrot/github-code |
35a31db8d287dba4bc685228576ceff6b32848c325887f849647bcd806cd4312 | package com.codepoetics.protonpack.selectors;
import java.util.Comparator;
import java.util.Objects;
import java.util.stream.Stream;
public final class Selectors {
private Selectors() {
}
public static <T> Selector<T> roundRobin() {
return new Selector<T>() {
private int startIndex = ... | Java | src/main/java/com/codepoetics/protonpack/selectors/Selectors.java | poetix/protonpack | mit | 1,740 | 59 | codeparrot/github-code |
75489637e432a13e9ad40322ebe4b5a1fd629af7191486ff577ab64414b05618 | <?php
namespace JDT\Api;
use Illuminate\Http\Request;
use Illuminate\Routing\Router;
use Laravel\Passport\Passport;
use Illuminate\Http\UploadedFile;
use JDT\Api\Http\InternalApiRequest;
use Illuminate\Filesystem\Filesystem;
use Laravel\Passport\ApiTokenCookieFactory;
use Symfony\Component\HttpFoundation\Cookie;
use ... | PHP | src/InternalRequest.php | jdtsoftware/api | mit | 11,858 | 432 | codeparrot/github-code |
cf7fa2181edc0d2ac21fa2cb4853148d8654e96110e5292d1368cc828f203541 | <!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 | docker/2019/12/15/kubernetes.html | xiazemin/MyBlog | mit | 50,247 | 1,295 | codeparrot/github-code |
3321efe90c5e9e9506cf48203acae820d9857c2660e469d6a25d1559d59a8d16 | class Public::PeopleController < ApplicationController
layout false
after_action :allow_iframe
skip_before_action :verify_authenticity_token
skip_before_action :authenticate_user!
# GET /people/new
def new
@referrer = false
if params[:referrer]
begin
uri = URI.parse(params[:referrer])... | Ruby | app/controllers/public/people_controller.rb | smartchicago/kimball | mit | 2,632 | 99 | codeparrot/github-code |
5d0927b4e0b998ec7333edab721b0232279f4b3f38f783c5a7b79e8f79d0971e | <?php
class AnnotatorException extends Exception {
}
class Annotator {
const INFO = 0;
const BEFORE = 1;
const AFTER = 2;
const AROUND = 3;
public static $annotations = array();
/**
* Register annotation handler
*
* @param string $annotation Annotation code
* @param callable $handler Annotation handl... | PHP | Annotator.php | baryshev/Annotator | mit | 6,141 | 181 | codeparrot/github-code |
15387e0fab6e3eee30500429a60dfb9535ec7269eaf7da28ad37384fe9161cff | local Hack = {
nId = 20170327,
strName = "Display Essences in Loot Stack",
strDescription = "Fakes essence gains as items so they show up in the loot stack",
strXmlDocName = nil,
tSave = nil,
}
local karColors = { "Red", "Green", "Blue", "Purple" }
function Hack:Initialize()
return true
end
function Hack... | Lua | Hacks/DisplayEssencesInLootStack.lua | aramunn/wildstar-hacks-by-aramunn | mit | 7,663 | 160 | codeparrot/github-code |
8f412d3cf4be6fc202e913522ddb57b49234ca8945b9bf7f22e6b746b1ad7f22 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>interval: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | HTML | clean/Linux-x86_64-4.05.0-2.0.1/released/8.6/interval/3.4.2.html | coq-bench/coq-bench.github.io | mit | 7,509 | 178 | codeparrot/github-code |
efc9c59c43d06cade7d1fdb32ea90ede6b2b7bd45afa7f0c7d29f4087348b9de | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ramsey: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | HTML | clean/Linux-x86_64-4.04.2-2.0.5/released/8.5.3/ramsey/8.7.0.html | coq-bench/coq-bench.github.io | mit | 8,390 | 194 | codeparrot/github-code |
516775331a3375f853faea6044c6b9560f5161fb6cc6d5fa337fa3ae6462c626 | <?php
/**
* Trait for Control that use Vue Lookup component.
*/
declare(strict_types=1);
namespace Atk4\Ui\Form\Control;
use Atk4\Ui\Callback;
trait VueLookupTrait
{
/** @var Callback */
public $dataCb;
public function initVueLookupCallback(): void
{
if (!$this->dataCb) {
$thi... | PHP | src/Form/Control/VueLookupTrait.php | atk4/ui | mit | 1,370 | 53 | codeparrot/github-code |
4e66649dcba6ceb75cd4cd25ae119a80731ea661a1a01d383581cffdb318b408 | // C++.
#include <cassert>
#include <sstream>
#include <algorithm>
// Qt.
#include <QWidget>
#include <QMessageBox>
#include <QDesktopWidget>
#include <QFileDialog>
// Infra.
#include <QtCommon/Util/RestoreCursorPosition.h>
#include <QtCommon/Scaling/ScalingManager.h>
#include <Utils/Include/rgaCliDefs.h>
// Local.
... | C++ | RadeonGPUAnalyzerGUI/Src/rgBuildSettingsViewVulkan.cpp | GPUOpen-Tools/RGA | mit | 41,275 | 997 | codeparrot/github-code |
e35040850e655e5520bc7fcef3f011996e942dd3db0df34aa686b8cd451eead3 | exports.commands = {
'c8': 'crazyeights',
crazyeights: function(arg, by, room) {
if (room.charAt(0) === ',') return false;
if (!crazyeight.gameStatus[room]) {
crazyeight.gameStatus[room] = 'off';
}
if (!arg) {
return false;
}
else {
arg = toId(arg);
}
switch (arg) {
case 'new':
if (!Bo... | JavaScript | commands/crazyeights.js | megaslowbro1/Marcu5thebaw5-bot | mit | 18,425 | 372 | codeparrot/github-code |
c2638d9f0b59b4ed8320028fc3bce137f21187c2718539c3adc2d2e5773abea8 | <?php
/* PMUserBundle:Registration:register_content.html.twig */
class __TwigTemplate_f6e31e9e2fb72ad7021d9bf921bafcc5a9a3a5263216ec6875135a086381234f extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->... | PHP | app/cache/dev/twig/f6/e3/1e9e2fb72ad7021d9bf921bafcc5a9a3a5263216ec6875135a086381234f.php | quentinl-c/Player_manager | mit | 8,745 | 160 | codeparrot/github-code |
abbc8da26e7175c3349e80148c93e7bb2eda642fe3746cef473353a06da33997 | <?php
class SmartWikiInitializeController {
private $log;
/**
* Constructor
*/
function __construct() {
# TODO: Do something or remove
}
/**
* Do the initialize of SmartWiki
*
* @param boolean $showInMenu
*
* @return HTML output code
*/
public function execute($showInMenu =... | PHP | includes/controller/SmartWikiInitializeController.class.php | Mantix/SmartWiki | mit | 1,968 | 54 | codeparrot/github-code |
c91fa4d7b892c7fb8c9778f2fc19e09f577548d0df46b3e9f224efa7bc8757db | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using ConverterContracts.ConversionElementsStyles;
using FB2Library.Elements;
using XHTMLClassLibrary.BaseElements;
using XHTMLClassLibrary.BaseElements.InlineElements... | C# | fb2epub/FB2EPubConverter/HRefManagerV2.cs | LordKiRon/fb2converters | mit | 13,850 | 370 | codeparrot/github-code |
4da7c2cb183658a45cef54e1db00a4b316053bef31405f91aff60564b0d0dcf9 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _01.StringBuilderSubstring
{
public static class StringBuilderExtention
{
public static StringBuilder Substring(this StringBuilder input, int index, int length)
{
... | C# | 03.C# OOP/03.ExtensionMethodsDelegatesLambdaLINQ/01.StringBuilderSubstring/StringBuilder.cs | zvet80/TelerikAcademyHomework | mit | 937 | 33 | codeparrot/github-code |
25057a924edb50b045c5825b703ecb247c7481d0a8cb71e36f42a6c9c225bcfa | """
Example
-------
class SystemSetting(KVModel):
pass
setting = SystemSetting.create(key='foo', value=100)
loaded_setting = SystemSetting.get_by_key('foo')
"""
from django.db import models
from .fields import SerializableField
class KVModel(models.Model):
"""
An Abstract model that has key and value... | Python | kvmodel/models.py | amdorra/django-kvmodel | mit | 1,100 | 46 | codeparrot/github-code |
57bf9f5d3b9f60a01a1acc4549e6832cc9afbe0f56c06aa543d1b6a94de299bf | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>gaia: 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.02.3-2.0.6/released/8.5.0~camlp4/gaia/1.11.html | coq-bench/coq-bench.github.io | mit | 7,336 | 177 | codeparrot/github-code |
0ed980206b81ce0d0281b69f59373a6fd1aa395869abd37aa31d21aac53d9508 | export default class ContestType {
constructor(options) {
let _id = null;
let _name = null;
let _berryFlavor = null;
let _color = null;
Object.defineProperty(this, 'id', {
enumarable: true,
get() {
return _id;
}
});
Object.defineProperty(this, 'name', {
e... | JavaScript | app/js/entities/contestType.js | milk-shake/electron-pokemon | mit | 850 | 45 | codeparrot/github-code |
bab386880541f1b0db0b8fc3960973cfff4625cc37da9150008d607753c39dda | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>coqffi: 21 s</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesh... | HTML | clean/Linux-x86_64-4.12.0-2.0.8/released/8.13.1/coqffi/1.0.0~beta7.html | coq-bench/coq-bench.github.io | mit | 10,039 | 201 | codeparrot/github-code |
4331573f33beaa39780d2877d4ead12d547a2754b9fb28b5b26aa84ba55bfd92 | #include <map>
#include <assert.h>
#include <exception>
#include "pf/base/string.h"
#include "pf/file/database.h"
namespace pf_file {
Database::Database(uint32_t id) {
__ENTER_FUNCTION
id_ = id;
string_buffer_ = NULL;
index_column_ = -1;
record_number_ = 0;
__LEAVE_FUNCTION
}
Database::~Database(... | C++ | pf/core/src/file/database.cc | viticm/plainframework1 | mit | 18,714 | 607 | codeparrot/github-code |
adc336dfd439c4174ab4525961aac79be90f4708170bc9f6da700252ba3271ad | (function() {
var lastTime = 0;
var vendors = ['ms', 'moz', 'webkit', 'o'];
for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) {
window.requestAnimationFrame = window[vendors[x]+'RequestAnimationFrame'];
window.cancelAnimationFrame =
window[vendors[x]+'CancelA... | JavaScript | js/main.js | randuhmm/html5-prototype-mode7 | mit | 6,851 | 330 | codeparrot/github-code |
921d438970725d97e69e7fa4adafb8f9db867bde0cd4326bcc37dbec228cf2f6 | package query
import (
"context"
"errors"
"fmt"
"os"
"runtime/debug"
"strconv"
"sync"
"sync/atomic"
"time"
"github.com/influxdata/influxdb/models"
"github.com/influxdata/influxql"
"go.uber.org/zap"
)
var (
// ErrInvalidQuery is returned when executing an unknown query type.
ErrInvalidQuery = errors.New... | GO | query/query_executor.go | vladlopes/influxdb | mit | 15,829 | 523 | codeparrot/github-code |
041f3dc297ba55b9d2fac3e2ffc74e6fa882b565ad60d423b624de4d7cf58184 | using System.Data.Entity;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
namespace TwitterBot.Models
{
// You can add profile data for the user by adding more properties to your ApplicationUser class, please visit http:... | C# | TwitterBot/Models/IdentityModels.cs | b1thunt3r/sixdegree | mit | 1,207 | 33 | codeparrot/github-code |
c273e3085b361f7b574d41f69baa1451fad8dfbfdf8bc0c3cd6d578d4a21c35e | <?php
/* @Debug/Profiler/dump.html.twig */
class __TwigTemplate_87214dbb795c597762c22e04f33cdac6be858641b8887823b0d50282e4b88981 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("@WebPr... | PHP | app/cache/dev/twig/6b/6b71bb18f4add4f495b2075399e972f2b6c75277cfc00146f5f2f88109075914.php | rince1990/photocool | mit | 18,596 | 377 | codeparrot/github-code |
95cdfe5cf7dfa3f16d4462afd923ad8957753761ce5b737cfc79da3c773669b2 | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Lucca.Upgrading.Abstractions;
using Lucca.Upgrading.Discovery;
using Lucca.Upgrading.Strategy;
using Lucca.Upgrading.Test.EfDb;
using Lucca.Upgrading.Test.Fakes;
using Xunit... | C# | test/Lucca.Upgrading.Test/SqlExecutionTests.cs | LuccaSA/Lucca.Upgrading | mit | 4,082 | 111 | codeparrot/github-code |
af64be8baef511ccc38e2a5459f72e669fce234a3e30705eca0b53f57025ca34 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>dblib: 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/extra-dev/8.11.dev/dblib/8.8.0.html | coq-bench/coq-bench.github.io | mit | 7,047 | 167 | codeparrot/github-code |
398382cc3e637dfe307393693d8439c825d44f524dd5b7ebdabc29a170c80090 | package armored.g12matrickapp.Activities;
import android.content.ComponentName;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.ResolveInfo;
import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.H... | Java | app/src/main/java/armored/g12matrickapp/Activities/subject_Choose.java | RhinoSoftware/G12Matric | mit | 21,736 | 556 | codeparrot/github-code |
dcf6b14d6f94c312d3b63058608781ef80ffbc309538b1271dafe0b5e01fcb25 | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.Owin;
using Microsoft.Owin.Security.Cookies;
using Microsoft.Owin.Security.Google;
using Microsoft.Owin.Security.OAuth;
using Owin;
using APM.WebAPI.Provi... | C# | APM/APM.WebAPI/App_Start/Startup.Auth.cs | sionjlewis/AngularF2BWebAPI | mit | 2,770 | 70 | codeparrot/github-code |
e3341419d0bc441d663e00b1aee4ee3c34956cdc86e597b20fcb9e6ad523fc00 | //!
//! @author Wang Weixu 13114633, Xiufeng Zhang 06197620, Boxi Zhang, 12238967
//! @date 12.12.2014
//!
//! @brief This code implemented Big Number using linked list as underlying
//! data structure.
//!
//! Assignment 4, 159.201,s3,2014
//!
#include <iostream>
#include <fstream>
#include <s... | C++ | assignment4/as4/assignment04_159201_final_version.cpp | Mooophy/159201 | mit | 3,226 | 156 | codeparrot/github-code |
e4be77bc02faf8e5018f2ffca409e1762cec641c2ba2aa3d1257c3129c471278 | ---
---
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>UrlService | @uirouter/react</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href... | HTML | _react_docs/0.8.8/classes/url.urlservice.html | ui-router/ui-router.github.io | mit | 44,804 | 858 | codeparrot/github-code |
282e04a7c4ef5f9d04aefeb1fee2f6525806a85c6e1b053ed37d99c9c37f599b | import re
from datetime import datetime
from flask import current_app as app
from flask_jwt import current_identity
from flask_restplus import Namespace, Resource, fields, reqparse
from sqlalchemy.exc import IntegrityError
from packr.models import Message
api = Namespace('contact',
description='Opera... | Python | packr/api/contact.py | KnightHawk3/packr | mit | 4,011 | 120 | codeparrot/github-code |
38c6240897c8220f57dea61d43cd576fe43eb3a690eb94f06f8c4fecc8a0f5d8 | // # Ghost Configuration
// Setup your Ghost install for various environments
var path = require('path'),
config;
config = {
// ### Development **(default)**
development: {
// The url to use when providing links to the site, E.g. in RSS and email.
url: 'http://objectiveclem.local',
... | JavaScript | config.js | johnnyclem/blog | mit | 2,865 | 102 | codeparrot/github-code |
67601e2a8694a71c18d3b00d6663e23273e32198d9693d807bd4597d8a531da6 | <?php
namespace TodoMove\Intercessor;
use TodoMove\Intercessor\Traits\Metable;
class Folder
{
use \TodoMove\Intercessor\Traits\Identifiable, Metable;
protected $name;
/** @var Folder */
protected $parent = null;
/** @var Folder[] */
protected $children = [];
/** @var Project[] */
... | PHP | src/TodoMove/Intercessor/Folder.php | TodoMove/intercessor | mit | 1,483 | 86 | codeparrot/github-code |
22be351f3aecddd5e1bd4e68a2fdff40bc916a0cfb0339877ddc61379290c867 | #include <Rcpp.h>
using namespace Rcpp;
// underflow prevention: if the argument to log is so small
// we get -Inf, we just give back 0.
inline double xlogy(double x, double y) {
double lg = log(y);
return (lg == R_NegInf) ? 0 : x * lg;
}
// [[Rcpp::export]]
double jsdiv_v(NumericVector P, NumericVector Q) {
... | C++ | src/JS_divergence.cpp | agoldst/dfrtopics | mit | 1,214 | 49 | codeparrot/github-code |
12ae18f6e17cd7a3aac28130b4a8e660bdd69a070410b5bb05f522a124b6eab7 | <?php
namespace Hail\Debugger;
use Psr\Http\Message\ResponseInterface;
use Psr\Log\LoggerInterface;
use Psr\Log\LoggerTrait;
use Psr\Log\LogLevel;
/**
* ChromeLogger console logger.
*
* @see https://craig.is/writing/chrome-logger
* @see https://developer.mozilla.org/en-US/docs/Tools/Web_Console/Console_messages#... | PHP | src/Debugger/ChromeLogger.php | flyinghail/Hail-Framework | mit | 12,162 | 400 | codeparrot/github-code |
d69956a2e0ec4efdb35a581b1de422f53b4f29d54ab81f19f83b890b46cf7e4a | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable... | HTML | docs/org/w3c/dom/DOMImplementationSource.html | anas-ambri/androidcompat | mit | 68,461 | 1,548 | codeparrot/github-code |
4c5aed7c17c40ce81b6a758288aadf70a530dd701829204e93d692dd00e6e998 | using Myxini.Recognition.Raw;
using System;
using System.Collections.Generic;
namespace Myxini.Recognition.Image
{
public class CellDescriptor
{
const int CELL_SIZE = 8;
private class Gradient
{
public static readonly int BIN = 9;
public static readonly double ORIENTATION = Math.PI / BIN;
public Gr... | C# | block-program/Detection/Image/CellDescriptor.cs | myxini/block-program | mit | 3,699 | 163 | codeparrot/github-code |
8910dc2b0fbe6efccf7d31af06e511a081163a9d994edeaa2e74ff0678fc2cc9 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>cours-de-coq: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.mi... | HTML | clean/Linux-x86_64-4.04.2-2.0.5/released/8.8.2/cours-de-coq/8.9.0.html | coq-bench/coq-bench.github.io | mit | 6,895 | 172 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.