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 |
|---|---|---|---|---|---|---|---|---|
d7221b17f81c37e7ec0851164724ed5cc2ce3e1e640cb6a889643cf525bdfc86 | var g_batchAssessmentEditor = null;
var g_tabAssessments = null;
var g_updatingAttendance = false;
var g_onRefresh = null;
var g_lockedCount = 0;
var g_btnSubmit = null;
var g_sectionAssessmentEditors = null;
var g_sectionAssessmentButtons = null;
function createAssessment(content, to) {
var assessmentJson = {};
a... | JavaScript | public/javascripts/assessment/editor.js | duanp0128/PlayHongKongResort | mit | 9,652 | 325 | codeparrot/github-code |
09df57161184e4710876c2d331fba36ea9b453c62ec5acd60479bc70237ed2e2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="search.css"/>
<script type="text/javascript" src="search... | HTML | doc/html/search/variables_73.html | alpsayin/radiotftp | mit | 3,503 | 63 | codeparrot/github-code |
f5ac5261608e734c226df7e829982e689a3bde853b334c0cd968b061e5e0bb6d | package edu.purdue.eaps.weatherpipe;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchA... | Java | WeatherPipe/src/main/java/edu/purdue/eaps/weatherpipe/AWSInterface.java | stephenlienharrell/WeatherPipe | mit | 19,505 | 543 | codeparrot/github-code |
3577c10ebb41521b1332c97d2b392277e6cf7e23b8b9801de62fc654124b3ef4 | /* $Id: get_attachments.c,v 1.13 2015/07/20 10:35:53 tm Exp $
*
* PDFlib TET sample application.
*
* PDF text extractor which also searches PDF file attachments.
* The file attachments may be attached to the document or
* to page-level annotations of type FileAttachment. The former construct
* also covers PDF 1.... | C | masamon/TET/c/get_attachments.c | kentaiwami/masamon | mit | 7,568 | 273 | codeparrot/github-code |
d89ecde0b1135f2ae75f56dd9514a8a4656a3dbcb392af678da8ffcf28122dac | # -*- coding: utf-8 -*-
import pack_command
import pack_command_python
import timeit
import cProfile
import pstats
import pycallgraph
def format_time(seconds):
v = seconds
if v * 1000 * 1000 * 1000 < 1000:
scale = u'ns'
v = int(round(v*1000*1000*1000))
elif v * 1000 * 1000 < 1000:
... | Python | misc/bench.py | simonz05/pack-command | mit | 1,563 | 73 | codeparrot/github-code |
40b9da5c7ac8e92786a59c680fb084f61735d564dd985a1b0e3034a8961847bf |
var fs = require('fs');
var mysql = require('mysql');
var qs = require('querystring');
var express = require('express');
var config = JSON.parse(fs.readFileSync(__dirname+'/config.json', 'UTF-8'));
// -----------------------------------------------------------------------------
// Keep a persistant connection to the... | JavaScript | server/sky.js | vishva8kumara/rain-catcher | mit | 4,212 | 144 | codeparrot/github-code |
3db2d6037faf1f59992fb0cefa4214bce61d80f7072e12936515f04bdf85a95a | /**
* Created by Tomas Kulhanek on 1/16/17.
*/
//import {HttpClient} from 'aurelia-http-client';
import {ProjectApi} from "../components/projectapi";
import {Vfstorage} from '../components/vfstorage';
//import {bindable} from 'aurelia-framework';
export class Modulecontrol{
// @bindable classin = "w3-card-4 w3-sa... | JavaScript | wp6-virtualfolder/www/src/virtualfoldermodules/modulecontrol.js | h2020-westlife-eu/west-life-wp6 | mit | 1,402 | 51 | codeparrot/github-code |
156070751d7ac81f6bb8936e12f6b3932e5a9b9da906ecfdb7653625dd7a527f | //The MIT License(MIT)
//
//Copyright(c) 2016 universalappfactory
//
//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, co... | C# | Sharpend.UAP/Controls/Buttons/IconButton.cs | universalappfactory/Sharpend.UAP | mit | 4,531 | 121 | codeparrot/github-code |
88517407ea9168bdec4206d4703d0ba1ed575862727a71b606084e803d5f89b4 | using SuperScript.Configuration;
using SuperScript.Emitters;
using SuperScript.Modifiers;
using SuperScript.Modifiers.Converters;
using SuperScript.Modifiers.Post;
using SuperScript.Modifiers.Pre;
using SuperScript.Modifiers.Writers;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;... | C# | ExtensionMethods/ConfigurationExtensions.cs | Supertext/SuperScript.Common | mit | 16,289 | 418 | codeparrot/github-code |
467c65317106ffab922d339bae0cb0bb3c90691635596d1d1dbe146388900f7c | using Cofoundry.Core;
using Cofoundry.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Cofoundry.Web.Admin
{
public class CustomEntitiesRouteLibrary : AngularModuleRouteLibrary
{
public const string RoutePrefix = "custom-entities";
private readonly AdminSett... | C# | src/Cofoundry.Web.Admin/Admin/Modules/CustomEntities/Constants/CustomEntitiesRouteLibrary.cs | cofoundry-cms/cofoundry | mit | 1,603 | 52 | codeparrot/github-code |
3335f3971b8e1666aa88a29f0702fecbd180a9cff6826542b2c0caf5a8986ccf | /* eslint-disable no-undef,no-unused-expressions */
const request = require('supertest')
const expect = require('chai').expect
const app = require('../../bin/www')
const fixtures = require('../data/fixtures')
describe('/api/mappings', () => {
beforeEach(() => {
this.Sample = require('../../models').Sample
t... | JavaScript | server/test/integration/instrument-mappings.test.js | lighting-perspectives/jams | mit | 5,575 | 148 | codeparrot/github-code |
89d8625e452dd6d6b6c75ce750a827618b3c07cfa9013b6f9787915b017a0db1 | #include "FunctionCallOperatorNode.h"
#include "compiler/Parser/Parser.h"
#include "compiler/AST/Variables/VariableNode.h"
#include <assert.h>
namespace Three {
FunctionCallOperatorNode* FunctionCallOperatorNode::parse(Parser& parser, ASTNode* receiver, ASTNode* firstArg) {
assert(parser.helper()->peek().... | C++ | compiler/AST/Operators/Callable/FunctionCallOperatorNode.cpp | mattmassicotte/three | mit | 895 | 31 | codeparrot/github-code |
a2a0154146aa0e29390224957ef1554cd7ab5bc398c305f42b77993936dcb243 | {% extends 'base.html' %}
{% block title %}Grow Buildbot{% endblock %}
{% block body %}
<h2>Recent builds</h2>
<ul>
{% for build in builds %}
<li>
<a href="{{ url_for('build', build_id=build.id)}}">build {{ build.id }}</a>:
<strong class="status-{{ build.status }}">{{ build.status }}</st... | HTML | app/templates/index.html | grow/buildbot | mit | 1,380 | 45 | codeparrot/github-code |
9a867608217026563f58375c95d3561ac7698e4ffc516455a2014c2c333665c2 | <?php
namespace Report;
use Illuminate\Support\Collection;
class Datareport
{
protected static $instance = NULL;
protected $id = NULL;
protected $caption = NULL;
protected $icon = NULL;
// protected $rowSourceUrl = NULL; // server side row source url
// protected $columns ... | PHP | app/~Libs/~system/reports/Datareport.php | binaryk/pedia | mit | 2,191 | 111 | codeparrot/github-code |
4d52d0f8a5a9321052c029a5f3c042a845da8a3f9c609cce17c6cb842ba506c1 | <?php
namespace App\Support\Http\Routing;
use App\Support\Facades\Request;
use App\Support\Traits\ClassNameTrait;
/**
* Class Router
* @package App\Support\Routing
* @author Fruty <ed.fruty@gmail.com>
*/
class Router
{
use ClassNameTrait;
/**
* Registered routes
*
* @access protected
... | PHP | app/Support/Http/Routing/Router.php | ed-fruty/test | mit | 1,695 | 84 | codeparrot/github-code |
73370e274e1dde6d4133df00125786df7a64902b49a766993c0f6b34c399016e | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Dulcet.Twitter;
using Inscribe.Common;
using Inscribe.Configuration;
using Inscribe.Util;
using Inscribe.Subsystems;
using Inscribe.ViewModels.PartBlocks.MainBlock.TimelineChild;
using Livet;
... | C# | Inscribe/Storage/TweetStorage.cs | fin-alice/Mystique | mit | 19,847 | 578 | codeparrot/github-code |
fd69c4ddd5405dc68af16f2c47d541ceb88004bf7e7674df4c1276e41f1089e1 | 'use strict';
/* global angular */
(function() {
var aDashboard = angular.module('aDashboard');
aDashboard.controller('ADashboardController', function( $scope, $rootScope, tradelistFactory, $timeout) {
$scope.subState = $scope.$parent;
$scope.accountValue;
$scope.avgWin;
$scope.avgLoss;
$scope.avgTradeS... | JavaScript | app/common-components/directives/a-dashboard/a-dashboard_controller.js | LAzzam2/tradeTracker-client | mit | 2,143 | 88 | codeparrot/github-code |
67565dc16bba985aecaa298bdf36ce71a7855ce50832d8001bb07c83428419eb | // Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using Microsoft.Dash.Server.Diagnostics;
using Microsoft.Dash.Server.Handlers;
using Microsoft.Dash.Server.Utils;
... | C# | DashServer/Controllers/CommonController.cs | CedarLogic/Dash | mit | 3,090 | 79 | codeparrot/github-code |
79314851b58cd21e81fa79587b6ae8cd7987049b7a161d1e552b74de8a2e9465 | 'use strict';
// MODULES //
var isArrayLike = require( 'validate.io-array-like' ),
isTypedArrayLike = require( 'validate.io-typed-array-like' ),
deepSet = require( 'utils-deep-set' ).factory,
deepGet = require( 'utils-deep-get' ).factory;
// FUNCTIONS
var POW = require( './number.js' );
// POWER //
/**
* FUN... | JavaScript | lib/deepset.js | compute-io/power | mit | 1,889 | 83 | codeparrot/github-code |
37b8a8d3796c996b5fe5688e8bb05e7235655e05a9be42d6939e44a2afa00d35 | <?php
namespace repositorio\estudianteBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Sede
*
* @ORM\Table(name="sede")
* @ORM\Entity
*/
class Sede
{
/**
* @var string
*
* @ORM\Column(name="codigo_sede", type="string", length=5, nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(s... | PHP | src/repositorio/estudianteBundle/Entity/Sede.php | dasilva93/RDDT | mit | 1,180 | 71 | codeparrot/github-code |
fa8437ea9610cd87d16339d2c4d2fabb9dfd7536b4b4ef3b7a83f30d6db5366b | /**
* Created by avinashvundyala on 09/07/16.
*/
public class SelectionSort {
public int[] iterativeSelectionSort(int[] arr) {
int temp, smallIdx;
for(int i = 0; i < arr.length; i++) {
smallIdx = i;
for(int j = i; j < arr.length; j++) {
if(arr[smallIdx] > arr[j]) {
smallIdx = ... | Java | BasicSorting/SelectionSort.java | vundyalaavinash/Algorithms | mit | 2,176 | 77 | codeparrot/github-code |
e586a1be94094e2bb93985a1b4148b7661f82ab7ce521c39daa279944067e91c | 'use strict';
function getReferenceMatrix (matrix, direction) {
return matrix.unflatten().rows.sort((r1, r2) => {
return (r1[1] > r2[1] ? 1 : r1[1] < r2[1] ? -1 : 0) * (direction === 'desc' ? -1 : 1);
});
}
function simpleSort (matrix, direction) {
const referenceMatrix = getReferenceMatrix(matrix, direction);
... | JavaScript | lib/post-processing/sort.js | Financial-Times/keen-query | mit | 3,082 | 98 | codeparrot/github-code |
6f19ab40f602c372af19580b50e9113daa97113c4045655a66b0d0d89917c728 | """
Initialize Flask app
"""
from flask import Flask
import os
from flask_debugtoolbar import DebugToolbarExtension
from werkzeug.debug import DebuggedApplication
app = Flask('application')
if os.getenv('FLASK_CONF') == 'DEV':
# Development settings
app.config.from_object('application.settings.Development')
... | Python | src/application/__init__.py | nwinter/bantling | mit | 1,104 | 40 | codeparrot/github-code |
00027f6a3983dc9cb219edc089bd815ad69dd9f1b6d1e271dfe73bbe3b1a0d21 | using System.Collections.Generic;
using System.Data;
using System.Threading.Tasks;
using Dapper;
using MicroOrm.Dapper.Repositories.Extensions;
namespace MicroOrm.Dapper.Repositories
{
/// <summary>
/// Base Repository
/// </summary>
public partial class DapperRepository<TEntity>
where TEnt... | C# | src/MicroOrm.Dapper.Repositories/DapperRepository.BulkUpdate.cs | digitalmedia34/MicroOrm.Dapper.Repositories | mit | 1,489 | 43 | codeparrot/github-code |
964cef64232a2667f47b122670e03b362d6c8b183bdd3e14dc771604cee84bc2 | ############################################################
# joDict ##############################################
############################################################
export joDict, joDictException
struct joDictException <: Exception
msg :: String
end
##################################################... | Julia | src/joLinearOperatorConstructors/joCoreBlockConstructors/joDict.jl | slimgroup/JOLI.jl | mit | 5,546 | 195 | codeparrot/github-code |
6662ae81680827d751041f0cd7c44c0a2c3454edea0e905a66d7cde5ce3342f1 | import watch from 'gulp-watch';
import browserSync from 'browser-sync';
import path from 'path';
/**
* Gulp task to watch files
* @return {function} Function task
*/
export default function watchFilesTask() {
const config = this.config;
const runSequence = require('run-sequence').use(this.gulp);
r... | JavaScript | src/tasks/watch-files.js | geut/gulp-appfy-tasks | mit | 1,211 | 44 | codeparrot/github-code |
90159f17ed9d61a86a26752e0d6e2727b8c0f5bf14e7cf69652b5e566795bf40 | /*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Scott Shawcroft for Adafruit Industries
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | C | ports/nrf/common-hal/microcontroller/Pin.c | adafruit/micropython | mit | 6,219 | 211 | codeparrot/github-code |
d703cbfccfa4b03afe3006cfbf1307089c42ddb5713fb114a14c5da1c25017b0 | import { Editor, EditorState, RichUtils } from "draft-js"
import { debounce } from "lodash"
import React, { Component } from "react"
import ReactDOM from "react-dom"
import styled from "styled-components"
import { TextInputUrl } from "../components/text_input_url"
import { TextNav } from "../components/text_nav"
import... | TypeScript | src/client/components/draft/paragraph/paragraph.tsx | eessex/positron | mit | 8,791 | 330 | codeparrot/github-code |
597679d8f54545f302a389e29e0c9238b298be13dbf00f2dbb0816b8468e6fb6 | // load package date-util
require('../libs/sugar-date')
module.exports = (pluginContext) => {
return {
respondsTo: (query) => {
return true
},
search: (query = '', env = {}) => {
// check if timestamp given
let isTimestamp = !isNaN(parseFloat(query)) && i... | JavaScript | src/utime.js | puyt/zazu-utime | mit | 2,252 | 71 | codeparrot/github-code |
7fe24c4f680c58c99139e5dbc46432b6b6102a41af0ac5ba877e1dc87cffd6db | #pragma once
#include <stddef.h>
#include <sys/queue.h>
#include "options.h"
#include "util.h"
struct window {
struct window *parent;
enum window_split_type {
WINDOW_LEAF,
WINDOW_SPLIT_VERTICAL,
WINDOW_SPLIT_HORIZONTAL
} split_type;
// The size of the window. Only valid for the root window.
s... | C | window.h | isbadawi/badavi | mit | 2,799 | 109 | codeparrot/github-code |
08499716a705f9e8ed13f40dbe3f6d879ebb4aa8c6caac08bca3d9937a942a31 | <?php
/**
* @package jelix
* @subpackage utils
* @author Laurent Jouanneau
* @contributor Julien Issler
* @copyright 2006-2009 Laurent Jouanneau
* @copyright 2008 Julien Issler
* @link http://www.jelix.org
* @licence http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public Licence, see L... | PHP | app/lib/jelix/utils/jFilter.class.php | yvestan/sendui | mit | 9,380 | 250 | codeparrot/github-code |
a4c31ca402011d9746efe01ebe1297badfa50f2946b8d516f9fd14d30d6e09ae | <?php defined('SYSPATH') OR die('No direct access allowed.');
/**
* OAuth2 Controller
*
* @author Ushahidi Team <team@ushahidi.com>
* @package Ushahidi\Koauth
* @copyright Ushahidi - http://www.ushahidi.com
* @license MIT License http://opensource.org/licenses/MIT
*/
abstract class Koauth_Controller_... | PHP | classes/Koauth/Controller/OAuth.php | ushahidi/koauth | mit | 2,457 | 99 | codeparrot/github-code |
39af3ccec1d79924ba988577f562dfa282a0cda9da5f603cddd8b3b18b67ca27 | package adasim.algorithm.routing;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
import java.util.Stack;
import org.apa... | Java | src/adasim/algorithm/routing/QLearningRoutingAlgorithm.java | brunyuriy/adasim | mit | 9,693 | 336 | codeparrot/github-code |
ab8c8cab9a8778a0af5e283e3a00416c9c5eef53181fb5fd72050aca8d7131be | /*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2014 Damien P. George
* Copyright (c) 2016 Paul Sokolovsky
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation file... | C | extmod/vfs_fat.c | Peetz0r/micropython-esp32 | mit | 12,566 | 346 | codeparrot/github-code |
beb80515ce838a5c2e0f31d8af8e66eca9ca9701b76b2cbe1c0a273c11389e5f | using System;
using System.Collections.Generic;
using System.Linq;
using hw.DebugFormatter;
using hw.Helper;
using Taabus.External;
namespace Taabus
{
sealed class PersistentConfiguration : PersistenceController<Configuration>
{
PersistentConfiguration(string fileName, Configuration configuration)
... | C# | src/Taabus/PersistentConfiguration.cs | hahoyer/HWsqlass.cs | mit | 2,208 | 65 | codeparrot/github-code |
bad714b8315b7ae1d7c14c3ab62e05d67092e64c6617783b34aa361f0677d9e1 | {% extends "base/_base.html" %} {% import 'base/_speaker_macro.html' as speaker_macro %} {% set page_title = message.page_title_index
%} {% block content %}
<div class="ui vertical stripe segment pycon-odd-seg">
<div class="ui middle aligned stackable grid container">
<div class="row">
<div class="eight wi... | HTML | src/index.html | PyConChina/PyConChina2017 | mit | 3,159 | 91 | codeparrot/github-code |
2facb1654d65592392726bddd8bce82430400c5e2d37f26e1f4b2bdadcdfbf66 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.2/cookieconsent.min.css" /... | HTML | 2018/07/16/exploit-exercises-nebula-level-10/index.html | NitescuLucian/NitescuLucian.github.io | mit | 29,614 | 692 | codeparrot/github-code |
84ec58b4250963d8c4da83672bd857d0b5a84303810e7a5e1ddf98458abbf61e | package com.elmakers.mine.bukkit.api.event;
import org.bukkit.event.Cancellable;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
import com.elmakers.mine.bukkit.api.magic.Mage;
import com.elmakers.mine.bukkit.api.spell.Spell;
/**
* A custom event that the Magic plugin will fire any time a
* Mag... | Java | MagicAPI/src/main/java/com/elmakers/mine/bukkit/api/event/PreCastEvent.java | elBukkit/MagicPlugin | mit | 1,149 | 54 | codeparrot/github-code |
5f74c219089429b9dd6dce8172c572489e281f399344f4024c9d24ca2802cac4 | // The MIT License (MIT)
// Copyright (c) 2014 Philipp Neugebauer
package main
import (
"bufio"
"fmt"
"os"
"math/rand"
"strconv"
)
func computer(inputChannel chan int, resultChannel chan string){
for human_choice := range inputChannel {
computer_choice := rand.Intn(3)
evaluation(comp... | GO | rock_paper_scissors.go | philippneugebauer/go-code | mit | 1,463 | 70 | codeparrot/github-code |
415abeadddfee47b975dc91d5f7415e8d058dc8973def2debed4a5dda3d0a2f2 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__char_connect_socket_w32_execv_34.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-34.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: connect_socket Read data usin... | C | samples/Juliet/testcases/CWE78_OS_Command_Injection/s01/CWE78_OS_Command_Injection__char_connect_socket_w32_execv_34.c | maurer/tiamat | mit | 6,320 | 209 | codeparrot/github-code |
0a006895c1320dc5c8ea73654600d30f28c3aac02616f4af82dff137c84b3458 | /*
* This file is part of TechReborn, licensed under the MIT License (MIT).
*
* Copyright (c) 2020 TechReborn
*
* 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, inc... | Java | src/main/java/reborncore/client/gui/slots/SlotFake.java | TechReborn/RebornCore | mit | 2,200 | 69 | codeparrot/github-code |
429ee1e3d6a99f78e08b453163e2a774e87c2beddee4aaabee43d83609be4ab1 | <?php
/**
* 财付通支付方式插件
*
* @author Garbin
* @usage none
*/
class TenpayPayment extends BasePayment
{
/* 财付通网关 */
var $_gateway = 'https://www.tenpay.com/cgi-bin/med/show_opentrans.cgi';
var $_code = 'tenpay';
/**
* 获取支付表单
*
* @author Garbin
*... | PHP | html/ecmall/upload/includes/payments/tenpay/tenpay.payment.php | kitboy/docker-shop | mit | 7,451 | 242 | codeparrot/github-code |
64a5ecde85e30fe017fb92aa758382e2f766b4bc3dd16b364c2369c7306d2013 | import Event = require('./Event');
/*
* Signal1
*
* 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... | TypeScript | src/createts/event/Signal1.ts | markknol/EaselTS | mit | 1,773 | 71 | codeparrot/github-code |
def5cd77925b3918e3b451cb965cdb417c44024ce467baf4babbd6a21083edcd | import * as fs from "fs";
import * as path from "path";
import * as commander from "commander";
import { ConsoleLogger } from "@akashic/akashic-cli-commons";
import { promiseExportHTML } from "./exportHTML";
import { promiseExportAtsumaru } from "./exportAtsumaru";
interface CommandParameterObject {
cwd?: string;
so... | TypeScript | src/app/cli.ts | akashic-games/akashic-cli-export-html | mit | 3,824 | 115 | codeparrot/github-code |
6d5c7e58c898a5da3e1b98ce003a0e015cddd0d886bc65f4ef1e16adf0ac5e2a | // CS_Cholinc.cpp
//
// 2007/10/16
//---------------------------------------------------------
#include "NDGLib_headers.h"
#include "CS_Type.h"
#define TRACE_CHOL 0
///////////////////////////////////////////////////////////
//
// Spa : buffer for storing sparse column info
//
/////////////////////////////////////... | C++ | nudg++/trunk/Src/Sparse/CS_Cholinc.cpp | tcew/nodal-dg | mit | 11,478 | 429 | codeparrot/github-code |
a1533efe3a80e2aa6d6b80be6e7cd3cd7cc273c8d69a7f86cef2cf502058cc36 | /*
GNU LESSER GENERAL PUBLIC LICENSE
Copyright (C) 2006 The Lobo Project
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your ... | Java | src/main/java/org/cobraparser/html/renderer/RListItem.java | lobobrowser/Cobra | mit | 6,450 | 167 | codeparrot/github-code |
6f96af1bf7aacd209e15925825ec7f646b5a8ab0dfd3d287b7df35ec93faa52d | var scp;
var cal_color;
$(document).ready(function(){
scp = angular.element('.main').scope();
$("#div_point").toggle();
//Set default values
cal_color = defaults.cal_color;
//Setup plugins
$("#cal_color").spectrum({
preferredFormat: "hex",
showInput: true,
color: cal_color,
change: setColor... | JavaScript | app/js/partials/svp_cal.js | centosGit/ICA-SVP_WebClient | mit | 1,529 | 72 | codeparrot/github-code |
e4b9d4be8effe3c13c66ab0c605d511c7f413bf0d3952471279ba198aff19c88 | use std::os;
use std::rand;
use std::rand::Rng;
use std::io::Timer;
use std::time::Duration;
use std::clone::Clone;
#[deriving(Clone)]
struct Field {
x: uint,
y: uint,
active: bool
}
fn next_round(field: &mut Vec<Vec<Field>>) {
let old_field = field.clone();
for row in field.iter_mut() {
... | Rust | cgol.rs | SimonWaldherr/cgol.rs | mit | 2,851 | 124 | codeparrot/github-code |
7bf0ad6ae9f734bae889f4d3a90199b2b6f9c3f977d67a7e5175416b59e230b0 | package com.planmart;
import java.util.ArrayList;
import java.util.Date;
public class Order {
private Customer customer;
private String shippingRegion;
private PaymentMethod paymentMethod;
private Date placed;
private ArrayList<ProductOrder> items = new ArrayList<>();
private ArrayList<LineIte... | Java | planmart/src/com/planmart/Order.java | vadadler/java | mit | 2,316 | 91 | codeparrot/github-code |
b83c0d16eb5dc7e5e8c59735029e287209cef97f5539fc2771c4402c8cbebb45 | using System;
using System.Windows.Input;
namespace AOLadderer.UI
{
// https://msdn.microsoft.com/en-us/magazine/dd419663.aspx
public class RelayCommandParameterized<T> : ICommand
{
private readonly Func<T, bool> _canExecute;
private readonly Action<T> _execute;
public RelayComman... | C# | AOLadderer.UI/RelayCommandParameterized.cs | davghouse/ao-ladderer | mit | 968 | 35 | codeparrot/github-code |
b311410e3a3a2c1e12abee4644369f5291befd5d2679ce61f54b75b57010a55f | /*! Buefy v0.8.16 | MIT License | github.com/buefy/buefy */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = global || self, factory(global.Navbar = {}));
}(this, fu... | JavaScript | ajax/libs/buefy/0.8.16/components/navbar/index.js | cdnjs/cdnjs | mit | 23,396 | 789 | codeparrot/github-code |
1d3868a4744182e19eb8be493dedf77cbaa36f2df46fcefb09aaef841a9fba01 | package wblut.Render2016;
import java.util.Arrays;
import processing.core.PConstants;
public class MultiTextNoTitle extends Slide {
String[] lines = null;
int offset;
public MultiTextNoTitle(final RTO home, final String... lines) {
super(home, "");
this.lines = Arrays.copyOf(lines, lines.length);
offset ... | Java | src/wblut/Render2016/MultiTextNoTitle.java | wblut/Render2016_RenderingTheObvious | cc0-1.0 | 1,180 | 76 | codeparrot/github-code |
1ddfbc3c6c8d740f809888512f2f8027c4a95c6265572554dfa3f52fd0d8ffc9 | <!DOCTYPE html>
<html lang="pt-br">
<head prefix="og: http://ogp.me/ns#">
<meta charset="utf-8">
<title>Diretiva ng-click | Academia Webdev</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Canonical links -->
<li... | HTML | angularjs/ng-click.html | jacksongomesbr/academia-webdev | cc0-1.0 | 12,799 | 202 | codeparrot/github-code |
08092b78f23c8e449bd10e0b446b9cd37965bf16c85b1311372c39a8a5f7b9fe |
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>web server - Coding is Poetry</title>
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="3... | HTML | tag/web-server/index.html | nmrony/nmrony.info | cc0-1.0 | 8,935 | 242 | codeparrot/github-code |
2efb3b162d640366a30eaff28ac4d1f106c3554d3b8fd095c7b23ff0fcf6e24a | <?php
/**
* ifeelweb.de WordPress Plugin Framework
* For more information see http://www.ifeelweb.de/wp-plugin-framework
*
*
*
* @author Timo Reith <timo@ifeelweb.de>
* @version $Id: Parser.php 972646 2014-08-25 20:12:32Z worschtebrot $
* @package
*/
class IfwPsn_Wp_WunderScript_Parser
{
/**
... | PHP | plugins/post-status-notifier-lite/lib/IfwPsn/Wp/WunderScript/Parser.php | misterbigood/doc-saemf | cc0-1.0 | 4,729 | 177 | codeparrot/github-code |
356649c0d5f58f69300037b51766b0059a1b861ba667d1bb39f9272c6f401c9c | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Where is the Min() or Max() or first TRUE or FALSE ?</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="styleshe... | HTML | R-Portable-Win/library/base/html/which.min.html | ColumbusCollaboratory/electron-quick-start | cc0-1.0 | 3,871 | 107 | codeparrot/github-code |
351eff3141fc494c77cc4faae81c5095500b1636ab44606e4daa9b4f675aa72e | 'use strict';
var _index = require('/Users/markmiro/proj/ui-experiments/node_modules/babel-preset-react-hmre/node_modules/redbox-react/lib/index.js');
var _index2 = _interopRequireDefault(_index);
var _index3 = require('/Users/markmiro/proj/ui-experiments/node_modules/babel-preset-react-hmre/node_modules/react-trans... | JavaScript | lib/Row.js | markmiro/ui-experiments | cc0-1.0 | 3,934 | 87 | codeparrot/github-code |
b5b91c3732f55035a8239a76b6adb2095bae26ae29bea2d2754b1a2ec910eb72 | /******************************************************************************
* AUTHOR: Alexander Casal
* FILE: game.cpp
* DESCRIPTION: Demonstrate the use of the Strategy Design Pattern through
* a very simple game which allows the user to select different
* weapons. Each weapon has ... | C++ | cpp/src/game.cpp | alexandercasal/StrategyPattern | cc0-1.0 | 2,429 | 112 | codeparrot/github-code |
5b8d2d4fd440f50a4511a9515f37ae2934d15371136b978df40deae5b3b03f93 | package tb.common.block;
import tb.common.item.ItemNodeFoci;
import tb.common.tile.TileNodeManipulator;
import tb.init.TBItems;
import net.minecraft.block.Block;
import net.minecraft.block.BlockContainer;
import net.minecraft.block.material.Material;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.en... | Java | src/main/java/tb/common/block/BlockNodeManipulator.java | KryptonCaptain/ThaumicBases | cc0-1.0 | 2,456 | 91 | codeparrot/github-code |
6a2b65da6135ab24bdcde557783849520c4774442cc7a52eb0461e22aab5241f | <!DOCTYPE html>
<!--[if IE 7]>
<html class="ie ie7" lang="en-US">
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" lang="en-US">
<![endif]-->
<!--[if !(IE 7) | !(IE 8) ]><!-->
<html lang="en-US">
<!--<![endif]-->
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title>09 | January |... | HTML | oldblog/2009/01/09/index.html | nigelkersten/nigelkersten.github.io | cc0-1.0 | 15,865 | 231 | codeparrot/github-code |
45e5de9fc6464cc3ad99d4e5d49824ebf99ff38080c4a00045af7a07c31472ca | // Global Vars to set
var musicas = new Array(11);
musicas[0] = 0; // Wheel A
musicas[1] = 0; // Whell B
musicas[2] = "0;"; // A1
musicas[3] = "0;"; // A2
musicas[4] = "0;"; // A3
musicas[5] = "0;"; // A4
musicas[6] = "0;"; // B1
musicas[7] = "0;"; // B2
musicas[8] = "0;"; // B3
musicas[9] = "0... | JavaScript | js/funcoes.js | mateuslopesbh/flavordj | cc0-1.0 | 16,192 | 594 | codeparrot/github-code |
2a47839303c1011a62f4a026defb6050238409ea51770f9f5fe771fc53b0c61e | <!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Re: [Partido Pirata] Res: Reunião do Partido Pirat a</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" sizes="114x114" href="https://www.mail-archive... | HTML | documentos/listapirata/listapirata@listas.partidopirata.org/msg00751.html | piratas/midiateca | cc0-1.0 | 11,024 | 181 | codeparrot/github-code |
7bbc82b07c01f1fbd6b8d48efe48ed2a1d55bb7b95c163e678c0aa43d18ff678 | const electron = require('electron')
const app = electron.app
const BrowserWindow = electron.BrowserWindow
const {ipcMain} = require('electron')
const {dialog} = require('electron')
const {Menu} = require('electron')
import {enableLiveReload} from 'electron-compile'
const path = require('path')
const url = require(... | JavaScript | main.js | samfromcadott/kettle | cc0-1.0 | 2,539 | 129 | codeparrot/github-code |
27eaffe848c464cc7edf1f917b2dd7c23d7197d7594447f381ba1675121327bd | from cStringIO import StringIO
from struct import pack, unpack, error as StructError
from .log import log
from .structures import fields
class DBFile(object):
"""
Base class for WDB and DBC files
"""
@classmethod
def open(cls, file, build, structure, environment):
if isinstance(file, basestring):
file = op... | Python | wdbc/main.py | jleclanche/pywow | cc0-1.0 | 10,011 | 389 | codeparrot/github-code |
d0802f5f71531e2943cebd9dcf01d4a12ef846213337ea20c1ec03d33492947b | // npm
var chalk = require('chalk')
// local
var Copper = require('../copper')
var copper = new Copper
var util = require('../util')
module.exports = function (config, wallet, keys, args) {
var abort = false
var name
if (args._.length > 0) {
name = args._.join(' ')
}
var key = copper.newKey()
consol... | JavaScript | lib/commands/new.js | donpdonp/coindust | cc0-1.0 | 874 | 38 | codeparrot/github-code |
7c4a862ad3b5a8700f7855a16de8aebeb60e57165d61f7ea38db480875dca69f | /* file "ia64/instr.cpp" */
/*
Copyright (c) 2002 The President and Fellows of Harvard College
All rights reserved.
This software is provided under the terms described in
the "machine/copyright.h" include file.
*/
#include <machine/copyright.h>
#ifdef USE_PRAGMA_INTERFACE
#pragma implementation "ia... | C++ | roccc-compiler/src/NuSuif/machsuif/z_notneeded/ia64/instr.cpp | nxt4hll/roccc-2.0 | epl-1.0 | 6,354 | 294 | codeparrot/github-code |
0144ab2e5d1ea72bf6e5fb496a58deac2997868ff23ef471b0f2967df1dcf919 | <?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="copyright" content="(C) Copyrigh... | HTML | sdk/GUID-D5FD665E-333B-50FF-A46F-6B22C0877285.html | warlordh/fork_Symbian | epl-1.0 | 8,847 | 238 | codeparrot/github-code |
d9839e0521e1abf0d6b45c5b9fafcbf741e7682c43c9fbe76be7c790af2370a7 | /*
* (C) Copyright 2017 Netcentric AG.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package biz.netcentric.cq.t... | Java | accesscontroltool-bundle/src/test/java/biz/netcentric/cq/tools/actool/configreader/TestYamlConfigReader.java | Netcentric/accesscontroltool | epl-1.0 | 2,450 | 57 | codeparrot/github-code |
529df3b1219bdb3048da74d85fdfbac965138092307b78b7fa65289a1e2f2055 | /*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availabl... | Java | src/com/mmkarton/mx7/reportgenerator/sqledit/SQLUtility.java | BIRT-eXperts/IBM-Maximo-BIRT-Code-Generator | epl-1.0 | 7,663 | 284 | codeparrot/github-code |
fffded6dab62647066befe564df0a7e4b0de9a3141374a6ecec5f195663234a9 | package hu.eltesoft.modelexecution.m2t.smap.emf;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import java.util.Vector;
/**
* Maps qualified EMF object references to virtual line numbers. Line numbering
* starts from one, and incremented by one when a new reference inserted.
*/
class... | Java | plugins/hu.eltesoft.modelexecution.m2t.smap.emf/src/hu/eltesoft/modelexecution/m2t/smap/emf/ReferenceToLineMapping.java | ELTE-Soft/xUML-RT-Executor | epl-1.0 | 1,442 | 51 | codeparrot/github-code |
d74c0493c92b5f5345afd563b1002daba64e09b31fa9660f66a90a08ec38f3e5 | package pacman.carte;
import java.util.ArrayList;
import pacman.personnages.Pacman;
import pacman.personnages.Personnage;
public class Labyrinthe {
public static final int NB_COLONNE = 20;
public static final int NB_LIGNE = 20;
protected int[][] grille;
protected int largeur;
protected int hauteur;
public sta... | Java | pacman/carte/Labyrinthe.java | Yoshi-xtaze/ACL2015_Jafaden | epl-1.0 | 3,356 | 174 | codeparrot/github-code |
08708f1bfe3ac125cf890cf243a2caf9c5a4a990f529e0dc580f91b86382dc25 | package org.jboss.windup.reporting.rules;
import java.util.HashMap;
import java.util.Map;
import javax.inject.Inject;
import org.jboss.forge.furnace.Furnace;
import org.jboss.windup.config.AbstractRuleProvider;
import org.jboss.windup.config.GraphRewrite;
import org.jboss.windup.config.metadata.RuleMetadata;
import ... | Java | reporting/api/src/main/java/org/jboss/windup/reporting/rules/CreateApplicationListReportRuleProvider.java | mareknovotny/windup | epl-1.0 | 3,507 | 84 | codeparrot/github-code |
4956033d8efe0298e4c69806ab0c778de1e582ae3c3eb21ec89770ef6de4c747 | /**
*/
package fr.obeo.dsl.game.provider;
import fr.obeo.dsl.game.GameFactory;
import fr.obeo.dsl.game.GamePackage;
import fr.obeo.dsl.game.UI;
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.ecl... | Java | plugins/fr.obeo.dsl.game.edit/src-gen/fr/obeo/dsl/game/provider/UIItemProvider.java | Obeo/Game-Designer | epl-1.0 | 6,992 | 242 | codeparrot/github-code |
aaa1653a96b7aa0bf03963d9f13033064ce932561c755b6c4bcf39745e32e8db | /*******************************************************************************
* Copyright (c) 2012-2017 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | Java | wsagent/che-datasource-ide/src/main/java/org/eclipse/che/datasource/ide/newDatasource/connector/DefaultNewDatasourceConnectorViewImpl.java | sudaraka94/che | epl-1.0 | 8,136 | 307 | codeparrot/github-code |
16a085980c9d81fc13c67b6b424b4e43e0ab1defb479e254a5018910cf228eb3 | /*************************************************************************
*** FORTE Library Element
***
*** This file was generated using the 4DIAC FORTE Export Filter V1.0.x!
***
*** Name: F_TIME_TO_USINT
*** Description: convert TIME to USINT
*** Version:
*** 0.0: 2013-08-29/4DIAC-IDE - 4DIAC-Co... | C++ | src/modules/IEC61131-3/Conversion/TIME/F_TIME_TO_USINT.cpp | EstebanQuerol/Black_FORTE | epl-1.0 | 2,013 | 49 | codeparrot/github-code |
be4d78b3b125d5bd7e971e86836f569acc06abb77673d484fc5b8509eef7dc85 | /*******************************************************************************
* Copyright (c) 1998, 2012 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. ... | Java | moxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/oxm/readonly/OneDirectMappingProject.java | bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | epl-1.0 | 1,579 | 43 | codeparrot/github-code |
86aa9e8958d3d8ad8993e56b6248a1e025c211993d489a28457bba612e2cd8f0 | package com.odcgroup.page.transformmodel.ui.builder;
import org.eclipse.core.runtime.Assert;
import com.odcgroup.mdf.ecore.util.DomainRepository;
import com.odcgroup.page.metamodel.MetaModel;
import com.odcgroup.page.metamodel.util.MetaModelRegistry;
import com.odcgroup.page.model.corporate.CorporateDesign;
import co... | Java | designstudio/components/page/ui/com.odcgroup.page.transformmodel.ui/src/main/java/com/odcgroup/page/transformmodel/ui/builder/WidgetBuilderContext.java | debabratahazra/DS | epl-1.0 | 2,613 | 100 | codeparrot/github-code |
2f49a6b6da3f5f18de228946f84a8a3b7f6f505fa7e2b468c4b2c43dab85ac91 | /*******************************************************************************
* Copyright 2009 Regents of the University of Minnesota. All rights
* reserved.
* Copyright 2009 Mayo Foundation for Medical Education and Research.
* All rights reserved.
*
* This program is made available under the terms of the Ecl... | Java | projects/TropixStorageClient/src/test/edu/umn/msi/tropix/storage/client/impl/ModelStorageDataFactoryImplTest.java | jmchilton/TINT | epl-1.0 | 3,201 | 76 | codeparrot/github-code |
53cfac597749f29cf0226622c5cdb798bef8289d8ff08fe4b42ed92037a8a1a8 | /*******************************************************************************
* Copyright (c) 2005, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | Java | bundles/org.eclipse.wst.dtd.ui/src/org/eclipse/wst/dtd/ui/internal/wizard/NewDTDTemplatesWizardPage.java | ttimbul/eclipse.wst | epl-1.0 | 17,558 | 514 | codeparrot/github-code |
3a9ebb53d073deca1b6b564d5523e7a517eae8b477cdf685c057f9b407c3047d | package net.eldiosantos.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;
@Entity
public class Departamento implements Serializable {
@Id
@GeneratedValue(strategy = GenerationType... | Java | src/main/java/net/eldiosantos/model/Departamento.java | Eldius/projeto-testes | epl-1.0 | 623 | 33 | codeparrot/github-code |
735c0ff83764a339a8fbb084190e5555cd096e3da18f8570c3bd4a333e74a915 | var config = {
width: 800,
height: 600,
type: Phaser.AUTO,
parent: 'phaser-example',
scene: {
create: create,
update: update
}
};
var game = new Phaser.Game(config);
var graphics;
var pointerRect;
var rectangles;
function create ()
{
graphics = this.add.graphics({ lineStyle... | JavaScript | source/v2/phasereditor/phasereditor.resources.phaser.examples/phaser3-examples/public/src/geom/rectangle/copy from.js | boniatillo-com/PhaserEditor | epl-1.0 | 1,367 | 66 | codeparrot/github-code |
5f7650b69abcc12c88af42a466b47274b971c267c98093afc6217ce575bf458c | /*
*******************************************************************************
* Copyright (c) 2013 Whizzo Software, LLC.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is avai... | Java | src/main/java/com/whizzosoftware/wzwave/node/generic/MultilevelSensor.java | whizzosoftware/WZWave | epl-1.0 | 1,822 | 48 | codeparrot/github-code |
0ac77b2bb16702b166998f93067cf7be45efb2e62a06c34238c1160dc6d7a847 | <?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="copyright" content="(C) Co... | HTML | sdk/GUID-DD9674C9-445A-36D8-A4EF-5384D3EF74BA.html | warlordh/fork_Symbian | epl-1.0 | 21,483 | 857 | codeparrot/github-code |
f9be0126fc57603ab9bdcf8da14761a75edf09ab4ae1cdbd09d5332d8d12ee77 | /*
* Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org... | Java | opendaylight/netconf/netconf-impl/src/test/java/org/opendaylight/controller/netconf/impl/ConcurrentClientsTest.java | tx1103mark/controller | epl-1.0 | 16,612 | 384 | codeparrot/github-code |
d9e18de987d891b5ba553c20914f1ef32598cc0e84444e0f34da89b1e2c02543 | package com.teamNikaml.bipinography.activity;
import java.util.ArrayList;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Window;
import android.widge... | Java | Awesome Wallpapers/src/com/teamNikaml/bipinography/activity/SplashActivity.java | TeamNIKaml/LiveWallpaper | epl-1.0 | 4,397 | 150 | codeparrot/github-code |
a6d51b6f099bf4e06cf3962594f3f572e7f40bcc914f38a7b1012ce9e92ccdb0 | /**
* Copyright (c) 2005-2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Eclipse Public License (EPL).
* Please see the license.txt included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
*/
/*
* Created on 25/08/2005
*
... | Java | plugins/org.python.pydev/tests_codecompletion/com/python/pydev/codecompletion/participant/CompletionParticipantTest.java | fabioz/Pydev | epl-1.0 | 8,997 | 195 | codeparrot/github-code |
441e58bc1c5381fb454c29b13e637515c6bd55e12e12510e5a0d73fad9ea0f6d | package treehou.se.habit.ui.util;
import android.content.Context;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
i... | Java | mobile/src/main/java/treehou/se/habit/ui/util/CategoryPickerFragment.java | pravussum/3House | epl-1.0 | 5,601 | 173 | codeparrot/github-code |
dfc5bae35920e7636762638941b38556d1a314167a8994cbcccf8626b2e65d95 | /**
* Copyright (c) 2005-2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Eclipse Public License (EPL).
* Please see the license.txt included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
*/
/*
* Created on May 24, 2005
... | Java | plugins/org.python.pydev/src_completions/org/python/pydev/editor/codecompletion/revisited/ProjectModulesManager.java | bobwalker99/Pydev | epl-1.0 | 22,376 | 556 | codeparrot/github-code |
db518c895cd413c6aca567420c216a4541f26ff9597a88b047fdc1e9bb1caffe | /*******************************************************************************
* Debrief - the Open Source Maritime Analysis Application
* http://debrief.info
*
* (C) 2000-2020, Deep Blue C Technology Ltd
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of th... | Java | org.mwc.debrief.legacy/src/Debrief/Tools/Tote/StartTote.java | debrief/debrief | epl-1.0 | 1,752 | 57 | codeparrot/github-code |
886c568bef938e108cf96d87417e7ae02abbde7c05a938e0d5151c0b1e4d7300 | /**
*/
package org.liquibase.xml.ns.dbchangelog.impl;
import java.util.Collection;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.Min... | Java | liquibase-editor/eu.hohenegger.xsd.liquibase/src-gen/org/liquibase/xml/ns/dbchangelog/impl/AndTypeImpl.java | Treehopper/EclipseAugments | epl-1.0 | 23,515 | 647 | codeparrot/github-code |
ecb8ad0c6f3d9f6d0cfc8dc6d747ab574e6e61cc5a75e7b931a25e91c812b07a | /*******************************************************************************
* Copyright (c) 1998, 2012 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0... | Java | moxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/jaxb/xmlattribute/imports/XmlAttributeImportsTestCases.java | bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | epl-1.0 | 2,290 | 51 | codeparrot/github-code |
07d399469da709f712272923446ece4c26ef5a8436181fe734a1dc2c2357c7ee | /**
* Copyright 2009-2016 Université Paris Ouest and Sorbonne Universités,
Univ. Paris 06 - CNRS UMR 7606 (LIP6)
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is av... | Java | pnmlFw-PTNet/src/fr/lip6/move/pnml/ptnet/hlapi/TransitionHLAPI.java | lhillah/pnmlframework | epl-1.0 | 11,209 | 498 | codeparrot/github-code |
9440083be4f08c65ef48ecde9958d1661b6355324e6d191ea9dfaef9ecedb452 | /*******************************************************************************
* Copyright (c) 2000, 2016 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | Java | org.eclipse.jface.text/src/org/eclipse/jface/text/rules/FastPartitioner.java | elucash/eclipse-oxygen | epl-1.0 | 24,915 | 827 | codeparrot/github-code |
c40fd612c99a109d9da62089f38d1eb970e14bf2dcaf5487aa52ecad86b35d52 | /*******************************************************************************
* Copyright (c) 2000, 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | Java | jface4ruby/src/org/eclipse/jface/text/source/OverviewRuler.java | neelance/jface4ruby | epl-1.0 | 39,538 | 1,374 | codeparrot/github-code |
14561dc74245c2fecdf52fa687d0bf2852bf620042466b08f80661b976dcea8d | <?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="copyright" content="(C) Co... | HTML | sdk/GUID-90BA76BC-5A25-32B7-8A5C-7908879962A6.html | warlordh/fork_Symbian | epl-1.0 | 4,487 | 145 | codeparrot/github-code |
b79b38d36c2c4a221e52549cfa3c36fcbf29cc18155f91e5ef99aecd45871c41 | /*******************************************************************************
"FreePastry" Peer-to-Peer Application Development Substrate
Copyright 2002-2007, Rice University. Copyright 2006-2007, Max Planck Institute
for Software Systems. All rights reserved.
Redistribution and use in source and binary forms, ... | Java | core/org.cmg.jresp.pastry/pastry-2.1/src/org/mpisws/p2p/transport/peerreview/commitment/CommitmentProtocolImpl.java | michele-loreti/jResp | epl-1.0 | 27,337 | 630 | codeparrot/github-code |
57b6d112d1813e315cf4979fe53cad7ac7b3c666731e4fa7f86fd3a0a7b8ecc6 | if (NABUCCO === undefined || !NABUCCO)
{
var NABUCCO = {};
}
(function()
{
NABUCCO.component = NABUCCO.component || {};
NABUCCO.component.CMISDocumentList = function(htmlId)
{
// replace Bubbling.on with NO-OP, so the superclass can't register its event listeners (never-ever)
var on =... | JavaScript | share/src/main/webapp/nabucco/components/cmis-documentlibrary/documentlist.js | AFaust/alfresco-cmis-documentlist | epl-1.0 | 11,911 | 318 | codeparrot/github-code |
e7d41f22875002b0a5cb1d4ba865cf81a712d63ee539d2ed0c52724a88b0e63c | /*******************************************************************************
* Copyright (c) 2017 TypeFox GmbH (http://www.typefox.io) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this d... | Java | org.eclipse.xtext/src/org/eclipse/xtext/formatting2/regionaccess/internal/StringBasedTextRegionAccessDiffBuilder.java | miklossy/xtext-core | epl-1.0 | 10,636 | 346 | codeparrot/github-code |
d4088d287344769285000bd405781e48ba9332fe9ffa86e3779ac633a889e3a3 | /**
*/
package org.eclipse.papyrus.RobotML.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.papyrus.RobotML.RobotMLPackage;
import org.eclipse.papyrus.RobotML.RoboticMiddleware;
import org.eclipse.papy... | Java | plugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RoboticMiddlewareImpl.java | RobotML/RobotML-SDK-Juno | epl-1.0 | 3,660 | 161 | codeparrot/github-code |
0dd1fc88d71afcebf5d2a080c0a504bffee07b01599612e2a546177e2c9cf005 | /*******************************************************************************
* Copyright (c) 2000, 2016 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | Java | org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/contentassist/JavadocCompletionProposal.java | gorkem/java-language-server | epl-1.0 | 10,626 | 276 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.