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 |
|---|---|---|---|---|---|---|---|---|
ad123738ec6469f9c7a0451208bb0593be916ae63192ba95ddbf95c7de670aaf | import java.util.Arrays;
import java.util.ArrayList;
import java.util.Random;
import static java.lang.Math.pow;
import static java.lang.System.arraycopy;
import static java.lang.System.nanoTime;
import static java.lang.System.out;
public class MergeSort {
public static ArrayList<String> mergeSort(ArrayList<String> li... | Java | 04-MergeSortArrayLists/MergeSort.java | Bouowmx/APCS | mit | 5,884 | 121 | codeparrot/github-code |
421d939f163933cf8bc248e4bb8ab9c0294e03553fc355c6d94328a26e074f56 | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @format
*/
'use strict';
const GraphQLRange = require('../legacy/store/GraphQLRange');
const RelayClassicRecordState ... | JavaScript | packages/react-relay/classic/store/RelayRecordStore.js | freiksenet/relay | mit | 14,114 | 463 | codeparrot/github-code |
9548722dfee8d79a2e579b373b55cc2e7b49626da98bc871a64b270e88c388c4 | package com.danielflower.crank4j.connector;
import com.danielflower.crank4j.utils.ConnectionMonitor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.net.URI;
public class Crank4jConnectorFactory {
private static final Logger log = LoggerFactory.getLogger(Crank4jConnectorFactory.class);
/**
... | Java | crank4j-connector-embedded/src/main/java/com/danielflower/crank4j/connector/Crank4jConnectorFactory.java | danielflower/crank4j | mit | 1,520 | 39 | codeparrot/github-code |
07c726efd25ca91dd62e08576acf719c378908a83fd851f1b866ffa5248a3cf1 | import NavData from '../nav/navdata.js';
import MapHolder from '../map/mapholder.js';
import navobjects from '../nav/navobjects.js';
import RouteEdit,{StateHelper} from '../nav/routeeditor.js';
import globalStore from '../util/globalstore.jsx';
import keys from '../util/keys.jsx';
import LayoutHandler from '../util/lay... | JavaScript | viewer/components/Mob.js | wellenvogel/avnav | mit | 2,328 | 71 | codeparrot/github-code |
9d1fd32609a3ef297d979e23d22bd312449dec29164b0828a50a297b3ddec4c4 | ///================================================
// Kyle Russell
// AUT University 2015
// https://github.com/denkers/graphi-suic-plugin
//================================================
package com.graphi.suicideintent.layout;
import com.graphi.suicideintent.util.SuicideFillTransformer;
import com.graphi.util... | Java | src/main/java/com/graphi/suicideintent/layout/SuicidePanel.java | denkers/graphi-suic-plugin | mit | 2,190 | 72 | codeparrot/github-code |
227076252106ee07ea91501c7317ea5134730032f2028a4fc7eda23fa3463cda | package uk.gov.defra.capd.places.service;
import com.sun.jersey.api.client.Client;
import com.sun.jersey.api.client.ClientResponse;
import com.yammer.metrics.core.HealthCheck;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import static uk.gov.defra.capd.common.logging.LogFormatter.Type.*;
import static uk.... | Java | places-service/src/main/java/uk/gov/defra/capd/places/service/PlacesHealthcheck.java | Defra/places-service | mit | 1,421 | 44 | codeparrot/github-code |
b866562523c24f7fc6c00a905e3ab9bf37a4d749e70d2a055d2d869d3076dd1f | package com.rizzo.sarcasmotron.domain.mongodb;
import org.apache.commons.lang.builder.ToStringBuilder;
public class Sentiment {
private Type type;
private Double value;
public Type getType() {
return type;
}
public Sentiment setType(Type type) {
this.type = type;
return... | Java | src/main/java/com/rizzo/sarcasmotron/domain/mongodb/Sentiment.java | jalieven/sarcasmotron | mit | 1,338 | 67 | codeparrot/github-code |
3875c816e475b59cc33dafcc7fdbcbe719fe1c7f188aeeddaa977532e801feb3 | /**
* @author Thomas Rupprecht
* @version 0.0.1
*/
var Trigonometric = {
/**
* Calculate the distances in every dimension from to x-dimension Points
* @param {number[]} p1
* @param {number[]} p2
* @returns {number[]} distances
*/
getDimensionDistancesFromPoints: function (p1, p2) {
if (p1.le... | JavaScript | lib/trigonometric.js | ximex/geometrica | mit | 3,765 | 159 | codeparrot/github-code |
273acf3dd6c70aedae840e76834be64f3af8e54a39b34209425cd476e70b5b08 | import {
loadinitialheads
} from './imports/fixtures/loadinitialheads';
import {
reminderinvoice
} from './imports/cronjobs/dailyanalysis';
import {
getnewemails
} from './imports/cronjobs/getnewemails';
import {
Meteor
} from 'meteor/meteor';
import {
check
} from 'meteor/check';
import {
Accounts
} from 'meteor... | TypeScript | server/main.ts | upexcel/meteor_angular2_bank | mit | 2,387 | 88 | codeparrot/github-code |
6aa32feb03b87ef21ee7c8d800737c55c5bffa428fcad32194ffe303dfaa3fd8 | namespace TWS.RestApi.Providers
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.AspNet.Identity.Owi... | C# | TeamWorkSystem/TWS.RestApi/Providers/ApplicationOAuthProvider.cs | Telerik-Team-Lychee/TeamWorkSystem | mit | 3,892 | 104 | codeparrot/github-code |
3bdffe611aa3919dc6bef3919edc5a67df8f7c1050d4685a955983bd054d7bee | using System;
namespace WebConfigTransformations.Areas.HelpPage
{
/// <summary>
/// This represents an invalid sample on the help page. There's a display template named InvalidSample associated with this class.
/// </summary>
public class InvalidSample
{
public InvalidSample(string errorMes... | C# | Allfiles/20487C/Mod08/DemoFiles/WebConfigTransformations/end/WebConfigTransformations/Areas/HelpPage/SampleGeneration/InvalidSample.cs | MicrosoftLearning/20487-DevelopingWindowsAzureAndWebServices | mit | 987 | 38 | codeparrot/github-code |
ed19aa805f71256ed1375e19c9d8ea65c9e8010338b8228fbbcfeacd2b787f02 | <!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.12.html | coq-bench/coq-bench.github.io | mit | 7,346 | 177 | codeparrot/github-code |
154dde9657be84b82f2b6950da0ffd18daa3de545326b3dacdb4b8cab9daf4dd | /**
* Action creator : return a function for given action
* @param {string} type Action type
* @param {...objects} argNames Properties' names of action
* @return {func} Function that generate action with type and properties given the
* params
*/
export const ... | JavaScript | src/actions/index.js | ViBiOh/dashboard | mit | 5,900 | 155 | codeparrot/github-code |
8a742e3b02258785a5f7c4243a8768f541560b0d45918c994f018c3e9b248806 | module HeiaHeia
module Authentication
# Indicates if the client was supplied Basic Auth
# username and password
# @return [Boolean]
def basic_authenticated?
@login && @password
end
# Indicates if the client was supplied an OAuth
# access token
# @return [Boolean]
def toke... | Ruby | lib/heia_heia/authentication.rb | HeiaHeia/heiaheia.rb | mit | 1,435 | 61 | codeparrot/github-code |
c3d4720ceee89d33538b56bac032460cedc9a7885f0327dd764352efa71a995f | package org.knowm.xchange.bitso.service;
import java.io.IOException;
import java.math.BigDecimal;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.bitso.BitsoAuthenticated;
import org.knowm.xchange.bitso.dto.trade.BitsoOrder;
import org.knowm.xchange.bitso.dto.trade.BitsoUserTransaction;
import si.mazi.re... | Java | xchange-bitso/src/main/java/org/knowm/xchange/bitso/service/BitsoTradeServiceRaw.java | evdubs/XChange | mit | 2,617 | 68 | codeparrot/github-code |
826700e32abba8019f289aa0c5651f6f44a3ff08faff917fd958bc2fba536471 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>interval: 2 m 28 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.05.0-2.0.6/extra-dev/8.11.dev/interval/3.4.2.html | coq-bench/coq-bench.github.io | mit | 11,790 | 198 | codeparrot/github-code |
f8b67a71f90d85d724c9160c0cd8b84cabba96a4e9364d52e9fc9c39dc27ec5f | import os
import csv
from pdfminer.pdfparser import PDFParser
from pdfminer.pdfdocument import PDFDocument
from pdfminer.pdfpage import PDFPage, PDFTextExtractionNotAllowed
from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter
from pdfminer.pdfdevice import PDFDevice
from pdfminer.layout import LAParams... | Python | t2-parser.py | zzyxzz/T2-list-parser | mit | 4,480 | 110 | codeparrot/github-code |
0a6d71614adcd435b3fb1a15955c4c01f3fade36a27e5e2ecd84e448505fad26 | /**
* @constructor
* @param {!Language} language
*/
Translator = function (language) {
var self = this;
self._usedNamespaces = {};
self._namespaceDep = new Deps.Dependency();
self._language = null;
self._languageDep = new Deps.Dependency();
self.setLanguage(language);
Deps.autorun(function () ... | JavaScript | src/Translator.js | Nemo64/meteor-translator | mit | 6,153 | 223 | codeparrot/github-code |
d81c2a1bfc1fa4f7ac766af265cd921686861c962f67d902e2b9a8b45e1c1527 | <div class="page-header">
<div class="container">
<ng-include src="appVersion.versionUrl('views/partials/navigation.html')"></ng-include>
</div>
</div>
<div class="container" ng-if="!tag">
<div class="row">
<div class="col-md-4"><kb-search-filter query="search.$"></kb-search-filter></div>
<div class=... | HTML | app/views/pages/tags.html | keboola/kbc-ui-doctool-admin | mit | 11,801 | 268 | codeparrot/github-code |
82bff6fd8f3d1cc73e4fcef6ca26ea2b3e6f48636f4575656d71c936be581c2d | /*
* spi.c
*
* Created on: 24-Jan-2009
* Author: Neil MacMillan
*
* Functions for using the AT90 as an SPI master.
*/
#include "spi.h"
#include "util/delay.h"
#include "spi.h"
#include <avr/io.h>
#include <avr/interrupt.h>
#define SPI_DDR DDRB // DDR of SPI port
#define SPI_PORT PORTB ... | C++ | radio/spi.cpp | paulmoon/csc460 | mit | 2,537 | 86 | codeparrot/github-code |
9785785a3aa6dcb2a5ad5437eb875da180c7c4b469d6c2d776dc5cbaa0569737 | const path = require('path');
const ip = require('ip');
const EasyWebpack = require('easywebpack-vue');
module.exports = app => {
const exports = {};
exports.static = {
maxAge: 0 // maxAge 缓存,默认 1 年
};
exports.development = {
watchDirs: ['build'], // 指定监视的目录(包括子目录),当目录下的文件变化的时候自动重载应用,路径从项目根目录开始写
i... | JavaScript | config/config.local.js | winiceo/pm_pmker | mit | 1,034 | 45 | codeparrot/github-code |
335df0c6d957f887aaaf0fe2e64fc09a057c8c143812bf734e789e93586f5107 |
<!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/au/automation.1.0.2/Modbus-net35.html | kuhlenh/port-to-core | mit | 9,627 | 240 | codeparrot/github-code |
259c1c8b704a3e0316a785b0f3e12c4caf7d78ec68f4697bdc68293d0fe26754 | using HeroVsRobot.DTO;
using HeroVsRobot.Enums;
using HeroVsRobot.Models;
using HeroVsRobot.Services;
using Microsoft.AspNet.Identity;
using System;
using System.Web.UI;
namespace HeroVsRobot
{
public partial class _Default : Page
{
private string _userId;
protected void Page_Load(object sender, EventArg... | C# | HeroVsRobot/Default.aspx.cs | LearnVisualStudio/HeroVsRobot | mit | 8,168 | 326 | codeparrot/github-code |
17d666f2bdff91f4337b882f7e5c76db175a843cc33b83802bf940cc76c1f6d7 | #!/usr/bin/env node
"use strict";
const msg = require('../lib/message');
const registerApp = require('../lib/register-app');
const getAccessToken = require('../lib/get-access-token');
const prog = require('commander');
let configFile = 'app-config.json';
prog
.usage(msg.usage)
.option('-a --register-app', msg.r... | JavaScript | bin/mastodon-auth.js | HiroshiOkada/mastodon-auth-cli | mit | 1,076 | 43 | codeparrot/github-code |
612b06b817ee83e5c3f9ffba1fec26539a18fd6a94cc082f57326b8978d36c79 | package trueskill
import (
"errors"
"math"
)
const (
// DefMu specifies the default mean value (mu) of a new player
DefMu = 25.0
// DefSig specifies the default standard deviation (sigma) of a new
// player
DefSig = DefMu / 3
// DefBeta defines the default beta for games. This specifies how much
// differe... | GO | game.go | fasmat/trueskill | mit | 2,432 | 88 | codeparrot/github-code |
91362603c8c8a426464968edf8506d68243398e9d63954ae1d590203fd680193 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Baby Profile</title>
<!--<link href="lib/jquery.mobile-1.3.2.css" rel="stylesheet" type="text/css"/>-->
<link href="main.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="css/font-awesome.min.css" /><!-- FontAwesome - http://fortawesome.g... | HTML | babyprofile.html | rahmanda/Care-Ur-Baby | mit | 8,276 | 180 | codeparrot/github-code |
08c957920679bdf81f2f7136cfbcd0aec56e3262d74e64ec1ed3d0daf3f36743 | <div class="line top">
<div>Recent Posts</div>
</div>
<aside>
<div class="aside-body">
{% assign posts = site.posts %}
{% assign filtered_posts = "" | split: ',' %}
{% for post in site.posts %}
{% unless post.tags contains "draft" or post.url == page.url %}
{% assign filtered_posts = filtered_p... | HTML | _includes/aside_recent_posts.html | anstack/anstack.github.io | mit | 2,027 | 65 | codeparrot/github-code |
aaf00f84adf56b23c29f2afaa877497695f829b74dd33bf1fa833bd63a47e772 | #pragma once
#include <boost/iostreams/copy.hpp>
#include <boost/iostreams/filter/zlib.hpp>
#include <boost/iostreams/filtering_streambuf.hpp>
#include <fstream>
#include <iostream>
namespace eosio {
namespace blockvault {
struct zlib_compressor {
template <typename Filter>
std::string convert(const char* inpu... | C++ | plugins/blockvault_client_plugin/zlib_compressor.hpp | EOSIO/eos | mit | 1,199 | 38 | codeparrot/github-code |
30cf038562ead136a7c9627db4050e6a831a50aa6814a5d9fa8914fa71f609ba | /**
* @module
* 装备额外属性收益
* 298. **16inch Mk.I三連装砲**
* 299. **16inch Mk.I三連装砲+AFCT改**
* 300. **16inch Mk.I三連装砲改+FCR type284**
*/
// https://wikiwiki.jp/kancolle/16inch%20Mk.I%E4%B8%89%E9%80%A3%E8%A3%85%E7%A0%B2
// https://wikiwiki.jp/kancolle/16inch%20Mk.I%E4%B8%89%E9%80%A3%E8%A3%85%E7%A0%B2%EF%BC%8BAFCT%E6%94%B9... | JavaScript | src/data/bonus/大口径主砲/16inch Mk.I三連装砲.js | Diablohu/KCKit | mit | 1,496 | 66 | codeparrot/github-code |
dd5f9f8711801b4451f06b5911e96739015b0f4755998724f7a0bd080e10b9a6 | require('shelljs/global');
var archs_os = require('./utils').config.archs_os;
/*
var option = {
"BUILD_PATH" : BUILD_PATH,
"IS_SUPPORT_POD" : isUsePod,
"WORKSPACE_PATH" : workspacePath,
"PROJECT_PATH" : projectPath,
"PROJECT_NAME" : projectName,
... | JavaScript | lib/xcodebuild.js | andy0323/ipa-build | mit | 2,584 | 123 | codeparrot/github-code |
050e622583def34becef30de3e61ff44d5e9143fda7a565ef600e095d1768f01 | #!/usr/bin/env bash
# Ask for the administrator password upfront
sudo -v
# Keep-alive: update existing `sudo` time stamp until script has finished
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
# Disable the sound effects on boot
sudo nvram SystemAudioVolume=" "
# Save to disk (not ... | Shell | osx/defaults.sh | emischorr/dotfiles | mit | 2,504 | 62 | codeparrot/github-code |
463e02b1a97d9e11254759fdbe1162c80ffa4114a79e5101578cd26263200624 | package com.newrelic.metrics.publish;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.concurrent.CancellationException;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledE... | Java | src/com/newrelic/metrics/publish/Runner.java | shahramk/newrelic_commonlog_extension | mit | 6,117 | 166 | codeparrot/github-code |
1377cc061997def572996e2f4c2e875a779003920bf44f33029b8342eab2da19 | <?php
/**
* Created by PhpStorm.
* User: Ignatenkov Nikita
* Site: http://ignatenkovnikita.ru/
* Date: 16.12.15
* Time: 17:18
*/
namespace ignatenkovnikita\beansupermon\models;
use Yii;
use yii\base\Component;
use yii\base\Model;
use yii\helpers\ArrayHelper;
class Server extends Component
{
public $name;
... | PHP | models/Server.php | ignatenkovnikita/bean-super-mon | mit | 1,774 | 72 | codeparrot/github-code |
ee41e791ab8b429aa51f6a6fcce6af60a7d60fda9740e01b6c1b4515e5336dc6 | package make;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import javax.imageio.ImageIO;
import ... | Java | Help_make/src/make/Crop.java | Anusio/Help_make_game | mit | 8,232 | 365 | codeparrot/github-code |
577a79f516bd4c297bdda0b824f4a3b1d6cd427429dabf9a74076924e82d576e | // Decompiled with JetBrains decompiler
// Type: System.Fabric.Management.ServiceModel.ServiceGroupMemberType
// Assembly: System.Fabric.Management.ServiceModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
// MVID: C6D32D4D-966E-4EA3-BD3A-F4CF14D36DBC
// Assembly location: C:\Git\ServiceFabricSdk... | C# | System.Fabric.Management.ServiceModel/ServiceGroupMemberType.cs | aL3891/ServiceFabricSdkContrib | mit | 1,521 | 62 | codeparrot/github-code |
e185501d49f66e0d7375364edfe35af546a592dbcab724530b81866b6944ebd5 | #!/usr/bin/env python3
###############################################################################
#
# VFR importer based on GDAL library
#
# Author: Martin Landa <landa.martin gmail.com>
#
# Licence: MIT/X
#
###############################################################################
"""
Imports VFR data to P... | Python | vfr2pg.py | ctu-osgeorel/gdal-vfr | mit | 5,000 | 143 | codeparrot/github-code |
6dff7019133203bc681ef3eab549e4e55d1a942e7ed96520c032106c9282276f | #! /usr/bin/env python3
from prettytable import PrettyTable
class Tickets(object):
header = ["车次", "出发\到达站", "出发\到达时间", "历时", "一等座", "二等座", "软卧", "硬卧", "软座", "硬座", "无座"]
def __init__(self, rows):
self.rows = rows
# 获取车次运行时间
@classmethod
def _get_duration(cls, row):
duration = row... | Python | Tickets.py | MedusaLeee/py3-12306-command-line | mit | 2,088 | 82 | codeparrot/github-code |
ca641235738395b218176d04ee32e5d196e026a441c2297f04afb39bb4c03f99 | package net.minecraft.src;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.List;
public class YC_ResearchesDataList {
public static List players = new ArrayList();
public static void AddEmpty(String name)
{
if (name == "") return;
players.add(new YC_ResearchesData(name));... | Java | src/YC_ResearchesDataList.java | XZelnar/AstralCraft | mit | 3,193 | 132 | codeparrot/github-code |
106cf9c83c36acd60b47cce578bdc4fdb42f039d4d336f9397516ec005ad24e3 | import { Component, OnInit ,ViewChild} from '@angular/core';
import {TestService} from '../test.service'
import {Demo06Component} from '../demo06_son/demo06.component'
@Component({
moduleId: module.id,
selector: 'demo05',
templateUrl: 'demo05.component.html',
providers:[TestService]
})
export class Dem... | TypeScript | src/app/demo05_parent/demo05.component.ts | kunyashaw/ng2Example | mit | 840 | 33 | codeparrot/github-code |
32bac7b465db44dd61934c255531ab2c2a0da6702cead732e9293385b4db64b2 | package co.navdeep.weatherapp.utils;
/**
* Created by Navdeep on 6/7/2015.
*/
public class WeatherAppConstants {
public static final String OW_APIID_STRING = "OPEN_WEATHEER_API_KEY_HERE";
public static final String urlSevenDayForecastByZip = "http://api.openweathermap.org/data/2.5/forecast/daily?mode=json&un... | Java | app/src/main/java/co/navdeep/weatherapp/utils/WeatherAppConstants.java | navdeepsekhon/AndroidWeatherApp | mit | 1,627 | 39 | codeparrot/github-code |
2596c9f1856dba20a5a98e6babd661b6a28e2acb6fdc40f873e1ad3ea761d2ba | /**
*/
package org_eclipse_smarthome_schemas_config_description_v1__0Simplified.provider;
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.util.ResourceLocator;
import org.eclip... | Java | xmlintelledit/classes.edit/src/org_eclipse_smarthome_schemas_config_description_v1__0Simplified/provider/ParameterGroupItemProvider.java | patrickneubauer/XMLIntellEdit | mit | 8,676 | 255 | codeparrot/github-code |
16600c8ebf9e0b00d6cdf85cd022f19b4dd52ffd09137472893262faa33d8daf | namespace net.flashpunk
{
using flash.events.Event;
using flash.media.Sound;
using flash.media.SoundChannel;
using flash.media.SoundTransform;
using flash.utils.Dictionary;
/**
* Sound effect object used to play embedded sounds.
*/
public class Sfx
{
/**
* Optional callback for when the sound fini... | C# | xna-flashpunk/net.flashpunk/Sfx.cs | jcarrascal/petprojects | mit | 3,934 | 144 | codeparrot/github-code |
069371065a5f39730a852778796e4b4b8192f03ebf140610dec33d76751a66c3 | package kr.hs.zion.zionbob;
import android.app.DatePickerDialog;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.Preference;
import android.support.design.widget.CoordinatorLayout;
import android.support.design... | Java | app/src/main/java/kr/hs/zion/zionbob/MainActivity.java | sukso96100/zionbob | mit | 16,656 | 405 | codeparrot/github-code |
0bf96b92faf62db4699d7f01b74f375ab71ca50f220eea78d73c2028bfd97118 | <?php
namespace BusSys\UserBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
use BusSys\UserBundle\Entity\Bus;
use BusSys\UserBundle\Entity\Passenger;
class DBconnectController extends Controller
{
public function indexAction($name)
{
... | PHP | src/BusSys/UserBundle/Controller/DBconnectController.php | sameeragunarathne/KamBusCompany | mit | 1,378 | 49 | codeparrot/github-code |
9de499b305adaa57e7d64e47c2b529262124e409ae450aa9ecf055207a4d7f81 | /**
* @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
/**
* @fileOverview A plugin created to handle ticket https://dev.ckeditor.com/ticket/11064. While the issue is caused by native We... | JavaScript | ckeditor/plugins/widgetselection/plugin.js | otto-torino/gino | mit | 11,782 | 362 | codeparrot/github-code |
652a82daaf0d6f7f6351014953f243d5caab7518717d3a919208f076f9515c81 | #ifndef _CCB_CCBSELECTORRESOLVER_H_
#define _CCB_CCBSELECTORRESOLVER_H_
#include "cocos2d.h"
#include "ExtensionMacros.h"
#include "../GUI/CCControlExtension/CCInvocation.h"
NS_CC_EXT_BEGIN
#define CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(TARGET, SELECTORNAME, METHOD) if(pTarget == TARGET && strcmp(pSelectorName, SELEC... | C | extensions/CCBReader/CCBSelectorResolver.h | gibtang/CCNSCoding | mit | 1,423 | 49 | codeparrot/github-code |
8c675f0c2a6bc2e10fa28cea39e8070bc63515fe81d4ed2853a55611c66e1f76 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ccs: 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.05.0-2.0.1/released/8.8.1/ccs/8.9.0.html | coq-bench/coq-bench.github.io | mit | 7,132 | 176 | codeparrot/github-code |
3fffb8cbd3a7d09613fbbfc5ef989e6cc2d60c8e3aad98f26bb8e127b4416135 | module Handler.EditThread where
import Authentification (isModeratorBySession, getThreadPermissions)
import Captcha
import CustomForms (threadMForm)
import Import
import Helper (spacesToMinus)
import Widgets (threadWidget, postWidget, accountLinksW)
getEditThreadR :: ThreadId -> Handler Html
getEditThreadR tid = do
... | Haskell | HaskellPie/Handler/EditThread.hs | cirquit/HaskellPie | mit | 3,045 | 77 | codeparrot/github-code |
af41b03f57e47030e89bb130c78188f89d31005951046264ad537c9656c14915 | /*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | TypeScript | src/vs/editor/contrib/snippet/snippetParser.ts | 0xmohit/vscode | mit | 25,005 | 1,056 | codeparrot/github-code |
5e12ae743547c534e33006f2b94deb89d2c1f4a85555b72145c609793b86c9ef | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Security;
using Breeze.WebApi;
using Fundally.Domain.Model;
using WebMatrix.WebData;
namespace Fundally.Data
{
public class FundallyDbContextProvider : EFContextProvider<FundallyDbContext>
{
public FundallyDbContextPr... | C# | Data/FundallyDbContextProvider.cs | AnythinkSolutions/Fundally | mit | 2,708 | 73 | codeparrot/github-code |
3842c17905c3f023d79351f8f99405a53299cce18fc73b91afc0b80b8cae40e6 | <?php
/*
###########################################################
KRAFTWERK MODEL CLASS
This is the control class for the kraftwerk models
###########################################################
*/
class KraftwerkModel extends MySQLConnector {
// CLASS VARS
protected $data = array(); // stored data fro... | PHP | .kraftwerk/run/core/components/KraftwerkModel.php | DomPrice/kraftwerk | mit | 25,988 | 897 | codeparrot/github-code |
ebcee85fa26fd95d05d07848572599d705b1c8b0f5dda45e694afce4848e1128 | // web socket connection
var ws;
var wsLastConnectDateTime;
var wsLookup = {
// message handlers
measures: function (payload) {
measuresControl.resetMeasures(payload);
},
domains: function (payload) {
// first domains after login
domainsControl.resetDomains(payload);
... | JavaScript | WebClient/Scripts/webSocket.js | ecodistrict/DesignModule | mit | 20,385 | 450 | codeparrot/github-code |
3bee713233d2f7a2544ca59f4642a914fd09505c09246af180732fe8a99b07bf | using UnityEngine;
using UnityEngine.UI;
using SmartLocalization;
using System.Collections;
using UnityEngine.SceneManagement;
public class SceneLoader : MonoBehaviour
{
private LanguageManager languageManager;
private bool loadScene = false;
[SerializeField]
private int scene = 1;
public GameOb... | C# | Assets/Scripts/SceneLoader.cs | egeis/GameOfLife | mit | 1,335 | 49 | codeparrot/github-code |
24840fb219a99121e984981b54c25c36263888def6d5efdb2f0308d6a48d6da3 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>hardware: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | HTML | clean/Linux-x86_64-4.09.0-2.0.5/released/8.11.0/hardware/8.7.0.html | coq-bench/coq-bench.github.io | mit | 7,241 | 171 | codeparrot/github-code |
73767ec05badfb2c786c1e60850519424b38b5728696d3bc699c987f63d8d60a | <!DOCTYPE html>
<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>
<m... | HTML | kiosk/public/thanks.html | HappyFunCorp/benevolent_gaze | mit | 1,643 | 37 | codeparrot/github-code |
da8b6baeb045a7a5b54f568a61e85b2d891162f1960bfca84fc3da6f85b8dc4b | #!/bin/bash
# 2013-06-18: Derek Gottlieb (asndbg)
#
# Generate objdump dump output for the specified binary and then run feed that
# into the scanner for every opcodes.* files found in this directory.
usage()
{
cat << EOF
Usage: $0 options
OPTIONS:
-h Show this message
-v Verbose
-f Run "f... | Shell | test-all-opcodes.sh | derekgottlieb/opcodes-x86 | mit | 1,077 | 68 | codeparrot/github-code |
b194b7cb34d5f66b1aaddf7ea8bf87f03d705193db47973236c9e4a8ea8e0c16 | #region MIT
//
// Gorgon.
// Copyright (C) 2018 Michael Winsor
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use,... | C# | Tools/Editor/Gorgon.Editor/FileSystem/Views/GridRowsDragData.cs | Tape-Worm/Gorgon | mit | 4,545 | 125 | codeparrot/github-code |
68a8c62f553e0c41136f5abea2ad65092f17d24114345ffb0e80b872f9468c22 | \chapter{Survey}
\label{Chapter2}
\lhead{Chapter 2. \emph{Survey}}
This chapter will survey first the application case in section~\ref{survey:application_case}, then move on to each major research field that will be touched upon through the thesis.
\section{The application case} % (fold)
\label{survey:application_c... | TeX | report/Chapters/Chapter2_old.tex | myrlund/masters | mit | 26,168 | 357 | codeparrot/github-code |
490a9c6ac585c7e4a63a3f1caad097b76e367a0e952201bb4594670049f02213 | using System.Web.Http.Cors;
using CuriosityStore.BackingStore;
using CuriosityStore.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace CuriosityStore.Controllers
{
public class CuriosityEventController : ApiController
... | C# | CuriosityStore/CuriosityStore/Controllers/CuriosityEventController.cs | Aeriandi/Curiosity | mit | 1,353 | 47 | codeparrot/github-code |
efe95d46e9a62daa813fd97adab878d967b1125e70ddf79873ec15ed19d11203 | import React, { Component, PropTypes } from 'react';
// import cookie from 'react-cookie';
import { asyncConnect } from 'redux-async-connect';
import Helmet from 'react-helmet';
import config from '../../config';
import { editorConfig, getCollections } from '../../redux/modules/editor';
import { loadBasicParamsJson } f... | JavaScript | src/containers/App/App.js | geng890518/editor-ui | mit | 1,241 | 42 | codeparrot/github-code |
b434c4bdb1fccde74148dcd3611b78710a6db10af9bebf0e19a0be67e7a502b3 | <?php
/*
* This file is part of the phlexible package.
*
* (c) Stephan Wentz <sw@brainbits.net>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Phlexible\Bundle\MediaCacheBundle\Entity\Repository;
use Doctrine\ORM\Enti... | PHP | src/Phlexible/Bundle/MediaCacheBundle/Entity/Repository/CacheItemRepository.php | temp/phlexible | mit | 1,098 | 51 | codeparrot/github-code |
1db834f8a071456568b6d3f54cd4ef5fe10819ebd388f012a8bb0748b92e8cfb | <footer class="site-footer">
<div class="wrapper">
<!--<h2 class="footer-heading">{{ site.title | escape }}</h2>-->
<div class="footer-col-wrapper">
<div class="footer-col footer-col-1">
<ul class="social-media-list">
{% if site.github_username %}
<li>
{% includ... | HTML | _includes/footer.html | eason-liuyx/eason-liuyx.github.io | mit | 1,179 | 47 | codeparrot/github-code |
4f1b6845b68c6ef73d6bccfa4f5299f75a6c8a2f2de84b34bbbbf71a38b683a8 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html" charset="utf-8">
<script type="text/javascript" src="../dist/umd/multimethods.js" charset="utf-8"></script>
<script type="text/javascript">
// ========== Adapted from ./bench/basic-routing.ts =... | HTML | extras/test-page.html | yortus/multimethods | mit | 4,954 | 127 | codeparrot/github-code |
6fe62a7916251df06f8aef8166b65336e9515efbd53f48ef28a5223a19e232fa | package com.dvgaming.common.nbt;
import java.io.IOException;
/**
* Representation of the {@link NBT.Type#BYTE} tag.
*/
public class ByteTag extends NBT<Byte> {
private static byte bool(boolean x) {
return x ? (byte) 1 : (byte) 0;
}
ByteTag() {
}
/**
* Constructs a new tag with the... | Java | Common/src/com/dvgaming/common/nbt/ByteTag.java | pdinklag/SpigotMCPlugins | mit | 1,311 | 67 | codeparrot/github-code |
cea6b002dc3751b218c3bd480ba9a6634c4a8e4979668cd2400ad2a76c7a5726 | const _ = require('lodash');
// Should be persisted
const sessionStorage = new Map();
// TODO: move elsewhere
const ENTITIES = [
'persons',
'nationalities',
'facilities',
'organisations',
'locations',
'locations',
'products',
'events',
'art',
'languages',
'dates',
'time... | JavaScript | lib/contextUtil.js | mikko/CentralIntelligence-server | mit | 3,375 | 121 | codeparrot/github-code |
99498eb91b0f2a38b5126af3405357ac8b9c2e1e215e724623ff662583fb8355 | package top.cardone.func.vx.usercenter.area;
import com.google.common.base.Charsets;
import lombok.extern.log4j.Log4j2;
import lombok.val;
import org.apache.commons.io.FileUtils;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Value;
... | Java | consumer/src/test/java/top/cardone/func/vx/usercenter/area/R0001FuncTest.java | yht-fand/cardone-platform-usercenter | mit | 3,242 | 88 | codeparrot/github-code |
c2443088881e43ecb65b6ade3692135256f0ea2d327aa3f0310ca6a1650b730f | <!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>AnimationEffect | picturepark-sdk-v1-widgets API</title>
<meta name="description" content="Documentation for picturepark-sdk-v1-widgets API">
<meta name="viewport" content="width=... | HTML | docs/picturepark-sdk-v1-widgets/api/interfaces/animationeffect.html | Picturepark/Picturepark.SDK.TypeScript | mit | 8,796 | 207 | codeparrot/github-code |
c7ad08dbfc61cc7bfc63b90e88bfe02a4a0ac4b1d8cd1fa564fe195d9c094b7e | import pdb
import numpy as np
import math as m
import sys
import matplotlib.pyplot as plt
#Calculate average and its error for a given data set
def Average(values, error= None):
#No error in the values
if (error is None):
#Calculate the average
mu = np.sum(values)/values.shape[0]
... | Python | Exoplanet/lightcurve.py | Yogesh3/Data-Reduction | mit | 4,335 | 134 | codeparrot/github-code |
2433aaad0a93033376ceecb489b94aa3802046f3fc324f46d2866e2486593b45 | const elegantStatus = require('elegant-status');
const json = require('jsonfile');
const utils = require('./utils');
const initialize = function () {
const done = elegantStatus('Creating configurtaion file: azdocdb.json');
if (utils.configPath()) {
done(false);
throw new Error(`Already initialized! Config ... | JavaScript | lib/init.js | oakmad/docudbploy | mit | 877 | 33 | codeparrot/github-code |
8f6ef3d4e46ecddbbf397e9ded5cf112aa6accf8f75a8b06dd036fe08ae530cf | package com.github.ompc.greys.core.util;
import java.lang.reflect.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.LinkedHashSet;
import java.util.Set;
/**
* 反射工具类 Created by oldmanpushcart@gmail.com on 15/5/18.
*/
public class GaReflectUtils {
/**
* 获取对象某个成员的值
*
* @... | Java | linux/greys/core/src/main/java/com/github/ompc/greys/core/util/GaReflectUtils.java | yuweijun/learning-programming | mit | 9,526 | 303 | codeparrot/github-code |
feae7fa829b443a032bbc1db4d61a0378f114eed0f815c9807f6f02634931f2b | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Zergatul.IO;
namespace Zergatul.Network.Http
{
public class HttpRequest
{
#region Properties
public Uri Uri { get; }
private string _method;... | C# | Zergatul/Network/Http/HttpRequest.cs | Zergatul/ZergatulLib | mit | 6,491 | 208 | codeparrot/github-code |
c22f82e7d99537e5d1884db0a4273bb936b848fba674c57b2e8e75ab798c042e | /// <reference path="../typings/tsd.d.ts" />
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
(function (factor... | JavaScript | Powerpoint/js/Button.js | carmenbri/PwpC | mit | 1,327 | 32 | codeparrot/github-code |
c2f8c216ff321461cfd191e9de85c6aa65c07e9eb2f9d906dbb8695becfe4845 | console.warn( "THREE.DepthLimitedBlurShader: As part of the transition to ES6 Modules, the files in 'examples/js' were deprecated in May 2020 (r117) and will be deleted in December 2020 (r124). You can find more information about developing using ES6 Modules in https://threejs.org/docs/#manual/en/introduction/Installat... | JavaScript | examples/js/shaders/DepthLimitedBlurShader.js | fraguada/three.js | mit | 4,139 | 161 | codeparrot/github-code |
115db384c28424a82e0c6b9a063958943c17043aa532a75b37a69e3fa8560b90 | ---
layout: default
format: frontpage
---
<div id="header-home">
<div class="row">
<div class="small-12 columns">
</div><!-- /.medium-4.columns -->
</div><!-- /.row -->
</div><!-- /#header-home -->
{% comment %}
*
* First check, if widget is empty or not by checking if there is a title
*
{% en... | HTML | _layouts/frontpage.html | martasmal/epsilon.martasmaldone.com | mit | 3,818 | 129 | codeparrot/github-code |
880411e26a3dabcc3573c160babef591e00d22b6d8d19e30cae2aeb9b39f569d | import React from 'react';
import Button from 'react-bootstrap/lib/Button';
import { connect } from 'react-redux';
import ItemList from './components/ItemList/ItemList';
import {
fetchItems,
deleteItem,
addItem,
updateItem,
} from './actions/actionCreators';
export class TodoContainer extends React.Component ... | JavaScript | src/app/Todo/TodoContainer.js | harsh376/Hector | mit | 1,755 | 76 | codeparrot/github-code |
564f254ef03ca5dc1f2760f5c3e1559471c56cc94e5742aaeeb1309ecee2368b | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>min-imports: 17 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel=... | HTML | clean/Linux-x86_64-4.02.3-2.0.6/released/8.9.0/min-imports/1.0.0.html | coq-bench/coq-bench.github.io | mit | 6,923 | 173 | codeparrot/github-code |
cbe05a8761d9502caadc673e82d425846547123cde697fdd610d844c337868b7 | /* */
"format global";
"use strict";
var _interopRequireWildcard = function (obj) { return obj && obj.__esModule ? obj : { "default": obj }; };
var _interopRequire = function (obj) { return obj && obj.__esModule ? obj["default"] : obj; };
/**
* Check if the input `node` is a reference to a bound variable.
*/
exp... | JavaScript | jspm_packages/npm/babel-core@5.1.9/lib/babel/types/validators.js | poshaughnessy/es6-react-jspm-starter-template | mit | 4,853 | 221 | codeparrot/github-code |
1de9fca89bc39e1d189addc6c839ed25bebbebbff0dae7bda9534965f00b78b5 | System.register(['./xhr-factory'], function(exports_1) {
var xhr_factory_1;
var TodoFactory;
return {
setters:[
function (xhr_factory_1_1) {
xhr_factory_1 = xhr_factory_1_1;
}],
execute: function() {
exports_1("TodoFactory", TodoFa... | JavaScript | public/services/todos-factory.js | thomasgzh/MEAN-ts-ng2-appframework | mit | 1,065 | 30 | codeparrot/github-code |
c0bc5f48a2b1340f10cd8e678797d8aeda89bcc6252a79e8c54c63b03adb312c |
<!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/po/powerthreading.20120420.0.0/Wintellect.Threading.Silverlight-sl3.html | kuhlenh/port-to-core | mit | 28,742 | 653 | codeparrot/github-code |
6ddfc2a508775f928b22dd173a5460f16b09f011e175facef76f35fdc995de70 |
<!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/ci/cidi.sdk.debug.2.0.3.1/CiDi.SDK.Comunicaciones.Service-NET35.html | kuhlenh/port-to-core | mit | 15,640 | 371 | codeparrot/github-code |
b6c18a66c139d2d1ffaeacb32a632d642d95238bb69a11eaeba133e46959a9c8 | // -----------------------------------------------------------------------
// <copyright file="GetCustomerUsageSummary.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace Micros... | C# | Source/Partner Center SDK Samples/RatedUsage/GetCustomerUsageSummary.cs | PartnerCenterSamples/Partner-Center-SDK-Samples | mit | 1,595 | 39 | codeparrot/github-code |
33f40fcc90a4011848673f429d1d58d62ee83eb01fbb9d76b36a384c9acafb1d | <?php
namespace Arkounay\BlockI18nBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
use Symfony\Component\Validator\Constraints as Assert;use Knp\DoctrineBehaviors\Model as ORMBehaviors;
/**
* @ORM\Entity
*/
class PageBlockTranslation
{
use ORMBeh... | PHP | Entity/PageBlockTranslation.php | Arkounay/BlockI18nBundle | mit | 942 | 57 | codeparrot/github-code |
c5d978e14a2f037e5277923deea65e57c0e078756938714bdbfd0a01cb52cc69 | using ICSharpCode.AvalonEdit.Document;
using ICSharpCode.AvalonEdit.Editing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NewRemotePlusClient.Models
{
public class AutoCompleteData : ICSharpCode.AvalonEdit.CodeCompletion.ICompletionD... | C# | src/NewRemotePlusClient/Models/AutoCompleteData.cs | brianb12321/RemotePlus | mit | 1,101 | 45 | codeparrot/github-code |
fdcff70c7f38ffc42cd3808bdcafd2b8f4588dd20dd56edf238d334e78c37a0e | <?php
//============================================================================
// Name : keyTable.php
// Author : Patrick Reipschläger, Lucas Woltmann
// Version : 2.0
// Date : 01-2017
// Description : For managing all keys and their states.
//==============================================... | PHP | keyTable.php | fsr/eseeva | mit | 6,077 | 149 | codeparrot/github-code |
b6ff1f5376e51f0a1ef8c699aa00949ce727323254979de5dfe74df2d7089b4b | modifier_magic_dragon_lightning_form = class({})
function modifier_magic_dragon_lightning_form:RemoveOnDeath() return false end
function modifier_magic_dragon_lightning_form:IsHidden() return true end
function modifier_magic_dragon_lightning_form:GetStatusEffectName()
return "particles/status_fx/status_effect_avatar... | Lua | game/dota_addons/dota2_ai_fun/scripts/vscripts/heroes/magic_dragon/magic_dragon_modifiers.lua | tontyoutoure/DOTA2-AI-Fun | mit | 13,003 | 227 | codeparrot/github-code |
862b3be5976f55a0d38ea76c60a1a309154f92afc7cf155457997a785a54e9cc | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>lambda: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | HTML | clean/Linux-x86_64-4.07.1-2.0.6/released/8.7.2/lambda/8.5.0.html | coq-bench/coq-bench.github.io | mit | 7,223 | 178 | codeparrot/github-code |
ef40bb741a67dfee5a10760b47435549fa85da05a92723396339b9c2c1a0ba52 | '''
Camera
======
Core class for acquiring the camera and converting its input into a
:class:`~kivy.graphics.texture.Texture`.
.. versionchanged:: 1.10.0
The pygst and videocapture providers have been removed.
.. versionchanged:: 1.8.0
There is now 2 distinct Gstreamer implementation: one using Gi/Gst
wo... | Python | kivy/core/camera/__init__.py | LogicalDash/kivy | mit | 4,415 | 152 | codeparrot/github-code |
30977aed8dfd512c5013de6cd0b681108df7841b8b193f02893d3b04336de16f | 'use strict';
var fs = require('fs');
var path = require('path');
var MobileDetect = require('mobile-detect');
var cookie = require('cookie');
var db = require(path.join(__dirname, 'db'));
var app = require(path.join(__dirname, '../server.js'));
var conf = app.config;
// get html files
fun... | JavaScript | lib/views.js | hugocaillard/conquest | mit | 2,734 | 103 | codeparrot/github-code |
f3521436ba593a67699c49c3e987c20252e3c9598c14a29019231ed6a37b8798 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>coq2html: 16 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="st... | HTML | clean/Linux-x86_64-4.05.0-2.0.1/released/8.7.1+1/coq2html/1.1.html | coq-bench/coq-bench.github.io | mit | 6,522 | 164 | codeparrot/github-code |
4c4922567b36f0ed0e514d44e7376742d932c0ba74c0735090630c72474ff404 | <?php
namespace Booksmart\Metrics\SoundcloudBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
use Booksmart\Metrics\SoundcloudBundle\Entity\Search;
use Booksmart\Metrics\SoundcloudBundle\Form\SearchType;
use Booksmart\Metrics\SoundcloudBundle... | PHP | src/Booksmart/Metrics/SoundcloudBundle/Controller/DefaultController.php | ctrlaltdylan/Music-ggregate | mit | 2,430 | 88 | codeparrot/github-code |
d9250e1889dbcc85ed75019190e7b01f204265c528ed043be2aca80f78154c76 | package com.thaze.peakmatch.processors;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
import com.thaze.peakmatch.EventProcessorConf;
import com.thaze.peakmatch.Util;
import com.thaze.peakmatch.event.Event;
import com.thaze.peakmatch.event.EventExc... | Java | src/main/java/com/thaze/peakmatch/processors/ClusteringProcessor.java | simonrodgers/peakmatch-xcorr | mit | 9,471 | 329 | codeparrot/github-code |
3a9acfdbd6d0aa82e7c484c51aba196941f3e0245c2d8f024370de776fc8caed | #ifndef COMPONENT_H
#define COMPONENT_H
#include "Vajra/Common/Messages/Declarations.h"
#include "Vajra/Engine/Components/ComponentTypes/ComponentTypeIds.h"
#include "Vajra/Engine/MessageHub/Declarations.h"
#include "Vajra/Utilities/Utilities.h"
#include <string>
#include <vector>
// Forward Declarations:
class Obje... | C | VajraFramework/Vajra/Common/Components/Component.h | VajraFramework/Vajra | mit | 1,281 | 50 | codeparrot/github-code |
54786e280bdf4abcb38da9f0fbd6d652c18a06ec86987d5fba15a249631ab8fe | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-fingroup: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstr... | HTML | clean/Linux-x86_64-4.08.1-2.0.5/released/8.12.1/mathcomp-fingroup/1.6.1.html | coq-bench/coq-bench.github.io | mit | 7,495 | 163 | codeparrot/github-code |
c20ab1a3df33ab85f8d6266d2c571022c9eefec8386eb9f6cdb32b02ad7ad6aa | using System;
using Android.Widget;
using NativeImages.Controls;
using Xamarin.Forms.Platform.Android;
using Xamarin.Forms;
using NativeImages.Droid.Renderers;
using System.Threading.Tasks;
using NativeImages.Extentions;
using Android.Views.Animations;
[assembly: ExportRenderer (typeof(HeartBeatView), typeof(HeartBea... | C# | Droid/Renderers/HeartBeatViewRenderer.cs | AlejandroRuiz/HeartBeatXForms | mit | 2,266 | 84 | codeparrot/github-code |
13991bac5e9acf1fa1055a2688e824de2793163b78b1081bfb502e036c3a67bc | package main
import (
"encoding/json"
"fmt"
"log"
"net/http"
"strings"
)
func main() {
http.HandleFunc("/", mainHandle)
if err := http.ListenAndServe(":8080", nil); err != nil {
log.Fatal("Listen and serve:", err)
}
}
// reply struct for marshalling output data into json
type reply struct {
Language strin... | GO | Api_projects/2.requestHeaderParser-microservice/main.go | GreatDanton/fcc-backend-projects | mit | 1,606 | 86 | codeparrot/github-code |
0cbf187beccd48dc1a715b29c5b155f2f4aff85f69d9782a73d61464e157101b | "use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
})... | JavaScript | lib/index.js | Imballinst/react-bs-datatable | mit | 2,880 | 47 | codeparrot/github-code |
8f8f330c65bfbe72892b897a8b30765f2b04c530ea250d266de3f02884f6f14d | /**
* @class Denkmal_Component_MessageAdd
* @extends Denkmal_Component_Abstract
*/
var Denkmal_Component_MessageAdd = Denkmal_Component_Abstract.extend({
/** @type String */
_class: 'Denkmal_Component_MessageAdd',
/** @type {Boolean} */
_stateActive: null,
/** @type {Boolean} */
_stateActiveLocked: nu... | JavaScript | library/Denkmal/library/Denkmal/Component/MessageAdd.js | fvovan/denkmal.org | mit | 3,799 | 162 | codeparrot/github-code |
270ff4ddf031689e412f2256198418d49f399693d2d1fbbf3582bce5c3adb220 | /*******************************************************************************
* Manchester Centre for Integrative Systems Biology
* University of Manchester
* Manchester M1 7ND
* United Kingdom
*
* Copyright (C) 2007 University of Manchester
*
* This program is released under the Academic Free Lice... | Java | src/main/java/org/mcisb/ontology/OntologyTerm.java | mcisb/libAnnotationSBML | mit | 5,145 | 312 | codeparrot/github-code |
9433ee4285f6f71f024fa5f406016124bca3c5d59185b3b4a3714437dd506b17 | package com.meelock.theTimeParadoxMod.init;
import com.meelock.theTimeParadoxMod.blocks.dimensionalparadoxphaser;
import com.meelock.theTimeParadoxMod.blocks.hardenedparadox;
import com.meelock.theTimeParadoxMod.blocks.paradox;
import com.meelock.theTimeParadoxMod.blocks.stableparadox;
import cpw.mods.fml.common.regi... | Java | src/main/java/com/meelock/theTimeParadoxMod/init/TPMBlocks.java | meelock/theTimeParadoxMod | mit | 1,739 | 34 | codeparrot/github-code |
d60c79fc25cc61656f8ffb9272d39cf66a2772f77434c15c47776c2bc0c6e515 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-solvable: 4 m 25 s</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | HTML | clean/Linux-x86_64-4.06.1-2.0.5/extra-dev/8.11.dev/mathcomp-solvable/1.11.0+beta1.html | coq-bench/coq-bench.github.io | mit | 14,708 | 214 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.