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
89ebf35857c8a6b32fa3fba90154e37d4a638eb9096a2c10a06fb0231e906fb5
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace Wycademy.Commands.Entities { public class WeaponLevel { /// <summary> /// The weapon's display raw. /// </summary> [JsonProperty] public int Raw { get; set; } //...
C#
Wycademy/src/Wycademy/Commands/Entities/WeaponLevel.cs
Iwuh/Wycademy
mit
2,975
96
codeparrot/github-code
a01a7ee20bc1b3dfe319c46e6930fc4804b0fdb57aefbffc07da79be0f1f0452
module FakeFS module FileUtils extend self def mkdir_p(path, options = {}) FileSystem.add(path, FakeDir.new) end alias_method :mkpath, :mkdir_p alias_method :makedirs, :mkdir_p def mkdir(path) parent = path.split('/') parent.pop raise Errno::ENOENT, "No such file or d...
Ruby
lib/fakefs/fileutils.rb
codeschool/fakefs
mit
4,248
160
codeparrot/github-code
98d6b28c95208c5301b2bb8707560749daa9c4db6de0b9051ec2d6b9eb4aa5db
package endpoint import ( "context" "fmt" "net/http" "github.com/spolu/settle/lib/db" "github.com/spolu/settle/lib/errors" "github.com/spolu/settle/lib/format" "github.com/spolu/settle/lib/ptr" "github.com/spolu/settle/lib/svc" "github.com/spolu/settle/mint" "github.com/spolu/settle/mint/lib/authentication"...
GO
mint/endpoint/list_assets.go
spolu/settle
mit
1,630
82
codeparrot/github-code
a3b732167c6eb32f72ed4c357c5c4217134c522e4dc9c300a104648e437890c2
/* * PRS - Personal Radio Station * * Copyright 2003 Marc Mulcahy * */ #include <assert.h> #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <pthread.h> #include <signal.h> #include <sys/types....
C
src/aplaymixeroutput.c
mwcampbell/prs
mit
2,657
167
codeparrot/github-code
0f9e24ae7821e5cbcda95ef3fc69e2845422ed56d0b9676e640218077f6918e7
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Documents; using System.Windows.Media; using Ccr.Core.Extensions; using Ccr.MaterialDesign.Infrastructure.Descriptors; using Ccr.Ma...
C#
Ccr.MaterialDesign/MaterialDesign/Primitives/Textual/TextualStyle.cs
vreniose95/Ccr
mit
4,688
130
codeparrot/github-code
cb42c622bd60def6938d1fcac7e92bdc0c75f3c457786ab77ab2029fe324d276
import datetime from django.views.generic.detail import SingleObjectMixin from django.views.generic.list import ListView from django.views.generic.base import View from django.utils.translation import ugettext as _ from django.http import Http404, HttpResponseRedirect from django.core.urlresolvers import reverse from...
Python
blogs/views.py
fah-designs/feincms-blogs
mit
3,343
96
codeparrot/github-code
6ced8847e1d45caa12743e1c3af1072a213d21d474e149492338fa3b0bcde799
require "httparty" require_relative "error" module HipChat module CommonMethods BASE_URL = "http://api.hipchat.com/v2/" OK_CODES = [ 200, 201, 204 ] private def auth_hash {auth_token: token} end def get_request(url, query_hash) HTTParty.get(url, query: au...
Ruby
lib/hip_chat/common_methods.rb
humzashah/hip_chat
mit
1,094
58
codeparrot/github-code
72e262874001de02d0827d8c550e3e989ed761c45325c2e8589b650d860ae31e
// Raymond Ho // 8/22/15 var bodyParser = require('body-parser'), express = require('express'), Datastore = require('nedb'); var db = new Datastore({ filename: __dirname + '/db.json', autoload: true }); var app = express(); app.use(bodyParser.urlencoded({ extended: false })); // This is to get all tags for ...
JavaScript
server.js
raymonstah/BestPart
mit
1,783
86
codeparrot/github-code
d8b1c00bc40e240ccb976b3d8b452c265daa7ba56e22e9736efd2c29813a1797
using DataFrames, ROOTDataFrames N = 10000 #pre-allocate input data bigdf = similar( #here we define TTree structure DataFrame( evt=Int64[], njet=Int64[], jet_pt=Vector{Float64}[], jet_eta=Vector{Float64}[], jet_id=Vector{Int64}[], nlep=Int64[], lep_pt...
Julia
examples/make_tree.jl
jpata/ROOTDataFrames.jl
mit
1,206
52
codeparrot/github-code
a9686c62375dd8de54b59470b016f9ae61dcb7b3564faa1f2ea28e99090e1cde
module.exports = { errorcodes: { NoError: 0, GeneralError: 1, InvalidGame: 2, Timeout: 3, InvalidRequest: 4, DoNotTrack: 5, GeoIPDisabled: 100, LeaderboardsDisabled: 200, InvalidName: 201, InvalidAuthKey: 202, No...
JavaScript
api/errorcodes.js
aliirz/apiserver
mit
2,946
89
codeparrot/github-code
3cc6cf39345983e166edaaf53818bfb29b390210dcac0ea0c2d6708b5ee1247e
using Common; using Microsoft.IdentityModel.Clients.ActiveDirectory; using Newtonsoft.Json; using System; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; namespace TodoListConsole { class Program { // [NOTE] The STA threading model is necessary for the ADAL web brow...
C#
TodoListConsole/Program.cs
jelledruyts/IdentitySamples
mit
4,494
87
codeparrot/github-code
ef17ac6c85ef91726679db3f7a6bd7fccd8780445dd18374a56fd2891b778f49
import React from 'react'; import FormGroup from 'react-bootstrap/lib/FormGroup'; import FormControl from 'react-bootstrap/lib/FormControl'; import ControlLabel from 'react-bootstrap/lib/ControlLabel'; import HelpBlock from 'react-bootstrap/lib/HelpBlock'; class ValidatedTextBox extends React.Component { constructo...
JavaScript
components/utils/ValidatedTextBox.js
zuhairp/LearningSpace
mit
1,157
44
codeparrot/github-code
128e7ff6d466fa9ce61e1c6866b592d9dd170fcd5efdec444590129c9cbfa100
""" We have two special characters. The first character can be represented by one bit 0. The second character can be represented by two bits (10 or 11). Now given a string represented by several bits. Return whether the last character must be a one-bit character or not. The given string will always end with a zero. E...
Python
questions/1-bit-and-2-bit-characters/Solution.py
franklingu/leetcode-solutions
mit
1,231
43
codeparrot/github-code
3aedc242279323af91cb4761b227d86b906c7ddeaf817a1779f791b4fc3e179a
use fastup::{Document, Node}; use fastup::Node::*; use color::Color888; use std::fmt; #[derive(Debug, Copy, Clone, Default)] pub struct Renderer; impl super::Renderer for Renderer { fn render(&self, doc: &Document) -> String { let env = Environment::default(); tmux_from_document(doc, &env) + "#[de...
Rust
src/renderers/tmux.rs
cjxgm/fancy-status
mit
2,011
73
codeparrot/github-code
0e91fd8793ebfd87b41a8a4030a9fafdcf4130d512fec0291ec7a0239d8197cb
""" XML handler for element id condition """ # Standard library modules. # Third party modules. # Local modules. from pyhmsa.spec.condition.elementalid import ElementalID, ElementalIDXray from pyhmsa.fileformat.xmlhandler.condition.condition import _ConditionXMLHandler # Globals and constants variables. class Elem...
Python
pyhmsa/fileformat/xmlhandler/condition/elementalid.py
pyhmsa/pyhmsa
mit
925
34
codeparrot/github-code
b7f30299a694a9bdad66ca82722e7a8358eb7dc69f36a7122993891d31784759
/* * W.J. van der Laan 2011-2012 */ #include <QApplication> #include "bitcoingui.h" #include "clientmodel.h" #include "walletmodel.h" #include "optionsmodel.h" #include "guiutil.h" #include "guiconstants.h" #include "init.h" #include "util.h" #include "ui_interface.h" #include "paymentserver.h" #include "splashscre...
C++
src/qt/bitcoin.cpp
crystalcoin99/CRYSTAL
mit
10,636
311
codeparrot/github-code
e707edffea05774c6e631ba58bb5d15a685bd9352fbd984cf7a4f9733c762bbd
namespace KGS { export class DataDigest { public timestamp: Date = new Date(); public perfstamp: number = performance.now(); public username: boolean = false; public joinedChannelIds: boolean = false; public joinFailedChannelIds: number[]; public notifyChannelId: num...
TypeScript
kgs/DataDigest.ts
stephenmartindale/kgs-leben
mit
1,762
37
codeparrot/github-code
1f3d816fe02c2678ee1a488752358efb42cdc08b7b0e71d97b8acb186eef5e63
/** File: NFunctionDeclaration.cpp Project: DCPU-16 Tools Component: LibDCPU-ci-lang-c Authors: James Rhodes Description: Defines the NFunctionDeclaration AST class. **/ #include <AsmGenerator.h> #include <CompilerException.h> #include "NFunctionDeclaration.h" #include "NFunctionSignature.h" NFunctionDecla...
C++
libdcpu-ci-lang-c/nodes/NFunctionDeclaration.cpp
kierenj/DCPUToolchain
mit
4,220
132
codeparrot/github-code
4270d51618bcf67ed72aa55bc98a2b4e5bf4a52169bd59c0e0957d5232706dd7
using System; using System.Diagnostics; using System.IO; using UnityEditor; using UnityEngine; namespace OrbitalNine.Editor { public class AndroidUtils { private const int MENU_START_INDEX = 2000; private static readonly string ADB_PATH = Path.Combine(EditorPrefs.GetString("AndroidSdkRoot"), "...
C#
AndroidUtils.cs
shirleyman/unity-scripts
mit
8,414
219
codeparrot/github-code
9e45134ee0c44f046f56f642d778bca8aaa93b04cfa6c142d742bc43e224588f
using OdinSon using Distributions # API ideas function gpar(;kwargs...) Dict{Symbol, Any}(kwargs) end # A recursive merge is needed to deal with nested dicts #TODO: this needs tests. It also might not do the write thing if one value is a dict, and the other is not. # though I am not sure this is even valid gpar s...
Julia
examples/boxplot/categorical.jl
gabrielgellner/OdinSon.jl
mit
5,053
162
codeparrot/github-code
c3370ad38f2dba3f6c719d284531670cc0fb55a1ff3116b3e13c3745a3a2bf3a
# frozen_string_literal: true module Faml module ObjectRef class << self def render(ref = nil, prefix = nil, *) h = {} if ref.nil? return h end c = class_name(ref) i = "#{c}_#{id(ref) || 'new'}" if prefix c = "#{prefix}_#{c}" i = ...
Ruby
lib/faml/object_ref.rb
eagletmt/faml
mit
1,064
52
codeparrot/github-code
7f898538ed33d2a5015858826da544875bc030ba5a59a0354d59f6db9cd0668a
const url = require('url'); const _ = require('lodash'); const fetch = require('node-fetch'); const PouchDB = require('pouchdb'); const logout = require('../../logout')(); PouchDB.plugin(require('pouchdb-adapter-node-websql')); PouchDB.plugin(require('pouchdb-find')); module.exports = { createPouchDB: _.memoize(crea...
JavaScript
lib/pouch-graphql/pouchdb.js
MikeBild/graphql-pouch
mit
1,745
45
codeparrot/github-code
5b6ccbd7fc0d9a41f64bf006d9fde87d443fa185c7b676d0cdee4df76b5333cc
module app.log { export class LogRow { message: string; level: string; constructor(message: string, level: string) { this.message = message; this.level = level; } } export class LogService { logRows: Array<LogRow>; loggerUrl: string; ...
TypeScript
FrontEnd/app/log/services/log-service.ts
olofd/bokaettband
mit
2,997
89
codeparrot/github-code
5df6f7a6e925c13c51553e89a56fe3df5533c6a47775e404b9277c2e6546e6b7
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="WaitingForConnect.cs" company="Exit Games GmbH"> // Copyright (c) Exit Games GmbH. All rights reserved. // </copyright> // <summary> // The waiting for connect. // </summary>...
C#
Code/ShareLib/ExitGames-Photon-Server-SDK_v3-2-10-4248/src-server/Mmo/Photon.MmoDemo.Client.DotNet/GameStateStrategies/WaitingForConnect.cs
ShuaiPointChen/def
mit
4,433
152
codeparrot/github-code
4dd137cc64f497b86cc7124eef513cecdad9ea0d4fe479b52c31c164b3c14a72
package funsets import org.scalatest.FunSuite import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner /** * This class is a test suite for the methods in object FunSets. To run * the test suite, you can either: * - run the "test" command in the SBT console * - right-click the file in eclipse and...
Scala
coursera-funcprog/src/test/scala/funsets/FunSetSuite.scala
michelemilesi/scala-learning
mit
4,873
177
codeparrot/github-code
c0032ecb1e5f9ce4a032faf10589aefd64f8a43e440687b417ff5a2adee0bd64
define(function(require) { 'use strict'; var ColumnManagerView; var _ = require('underscore'); var BaseView = require('oroui/js/app/views/base/view'); ColumnManagerView = BaseView.extend({ template: require('tpl!orodatagrid/templates/column-manager/column-manager.html'), autoRender...
JavaScript
src/Oro/Bundle/DataGridBundle/Resources/public/js/app/views/column-manager/column-manager-view.js
trustify/oroplatform
mit
2,213
67
codeparrot/github-code
b22a544d9d5257375086bf0108033e943c5ca2f13768183770db119bf2150c33
<?php declare(strict_types=1); /* * This file is part of the AML87 application. * (c) Aurélien GIRY <aurelien.giry@gmail.com> */ namespace App\Contact; use App\Entity\Message; use App\Event\Contact\MessageSaved; use Doctrine\ORM\EntityManagerInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterfa...
PHP
src/Contact/ContactMessage.php
aureliengiry/aml87
mit
1,067
46
codeparrot/github-code
b970cf4b1ce2120cf73a4d09d62b2c0cd59faf774624d14c84cb76f3f31ab008
// // MIT License // // Copyright (c) 2017-2018 Thibault Martinez and Simon Ninon // // 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 r...
C++
source/api/responses/were_addresses_spent_from.cpp
thibault-martinez/iota.lib.cpp
mit
1,835
62
codeparrot/github-code
77899c1f59a4b7869959cd74120e3b93e283308aefa8febad1815df821e13aa1
var mongoose = require('mongoose'); var rooms = require('./rooms'); mongoose.connect('mongodb://localhost:27017/rpgd'); var RoomSchema = require('mongoose').model('Room').schema; var Schema = mongoose.Schema; var ObjectId = Schema.ObjectId; // Setup Database scheme var ProjectSchema = new Schema({ name: S...
JavaScript
prototypes/project_service_poc/routes/projects.js
atla/RPGCollab
mit
2,670
128
codeparrot/github-code
95a80dcbea85b40686bd0e524b29247efefe4f917c225dc40b7b0b29ed90043d
import { SIGN_IN, SIGN_IN_SUCCESS, SIGN_IN_ERROR, SIGN_OUT, SIGN_OUT_SUCCESS, USER_LOGGED, USER_UNLOGGED } from '../../constants/action-types'; const INITIAL_STATE = { isUserSignedIn: false, isSignOutInProgress: false, isInProgress: null, hasError: false, errorMessage: '', userIsLogged: null,...
JavaScript
src/reducers/auth/auth.js
nice00xt/React-user-app
mit
1,276
68
codeparrot/github-code
f027bf77be755ae9759037cfc26ec8ed77f5aa73d12c7bc4bd2a41323de0485b
from gi.repository import GObject, Gtk, Gtranslator, PeasGtk from panel import Panel import sys from gettext import _ class TrobadorPlugin(GObject.Object, Gtranslator.TabActivatable, PeasGtk.Configurable): __gtype_name__ = "TrobadorPlugin" tab = GObject.property(type=Gtranslator.Tab) handler_id = None ...
Python
gtranslator-plugin/trobador.py
tomasVega/trobador
mit
5,980
175
codeparrot/github-code
6988d6cbc0a88a7b41f5efec5fc413e45d03d9dae21f2d1df13fbb426bbd2518
/* eslint-disable camelcase */ import {Response} from 'ember-cli-mirage'; import {isBlank} from 'ember-utils'; import $ from 'jquery'; export default function mockAuthentication(server) { server.post('/authentication/token', function ({roles, users}, {requestBody}) { let params = $.deparam(requestBody); ...
JavaScript
mirage/config/authentication.js
JohnONolan/Ghost-Admin
mit
4,050
99
codeparrot/github-code
56d413aa8fa5ab3d9dc8fc89d72e7c173038290fa58e6019d1611ebefc87567f
using BashSoft.Attributes; using BashSoft.Contracts; using BashSoft.Exceptions; namespace BashSoft.IO.Commands { [Alias("show")] public class ShowCourseCommand : Command { [Inject] private IDatabase repository; public ShowCourseCommand(string input, string[] data) : ba...
C#
C# Fundamentals/BashSoft/BashSoft/IO/Commands/ShowCourseCommand.cs
Koceto/SoftUni
mit
970
37
codeparrot/github-code
15462c63f1cda03877c3ecae97f862cad3d333d68a96b3435df5080f8be352e9
/* * Copyright (c) 2009 Tomi Valkeinen * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, * copy, modify, merge, p...
C#
Mono.MicroThreads/Semaphore.cs
mono/mono-microthreads
mit
1,877
69
codeparrot/github-code
3b6aea5aff2e28f07c125019f8bcd7326d14e85fc78628f8835e44b33dcaea68
package commands import ( "bytes" "errors" "fmt" "io" "time" key "github.com/ipfs/go-ipfs/blocks/key" cmds "github.com/ipfs/go-ipfs/commands" notif "github.com/ipfs/go-ipfs/notifications" path "github.com/ipfs/go-ipfs/path" ipdht "github.com/ipfs/go-ipfs/routing/dht" u "gx/ipfs/QmZNVWh8LLjAavuQ2JXuFmuYH3C1...
GO
core/commands/dht.go
Kubuxu/go-ipfs
mit
14,897
608
codeparrot/github-code
e1c605eb71b96382a0118cc094021a6a4be8600ceb47be65360840621fe9cff3
define(["require", "exports", "./SignalConnection"], function (require, exports, SignalConnection_1) { "use strict"; var Task = (function () { function Task(fn) { this.next = null; this.fn = fn; } return Task; }()); var SignalAbstract = (function () { ...
JavaScript
src/core/event/SignalAbstract.js
mientjan/EaselTS
mit
4,055
121
codeparrot/github-code
fba15891c0eec038733cbe218b183508c1a4ca0f20951b4e1ff281cb7ead69dc
<?php namespace Oro\Bundle\FilterBundle\Form\Type; use Symfony\Component\Form\AbstractType; use Symfony\Component\OptionsResolver\OptionsResolverInterface; use Oro\Bundle\LocaleBundle\Model\LocaleSettings; class DateTimeRangeType extends AbstractType { const NAME = 'oro_type_datetime_range'; /** * @va...
PHP
src/Oro/Bundle/FilterBundle/Form/Type/DateTimeRangeType.php
trustify/oroplatform
mit
1,351
67
codeparrot/github-code
3f53978a0b2b94e2d2e616cc1904075f3ea7820a630566fd7c12790ad88b8894
module Lita module Handlers class Pet < Handler route /^java\s+(.+)/, :with_java, help: { "lita: java TEXT" => "reply back with java." } def with_java( response ) word = response.matches[0][0] response.reply "!!! #{word} とジャバ !!!" end route /^(?:otp)\s+(.+)/, :otp, help: {...
Ruby
handlers/lita-pet/lib/lita/handlers/pet.rb
momota/lita-slackbot
mit
14,323
292
codeparrot/github-code
ed76a3eca07b4dab5e168a967964a746cd5597065c8645a50c720b51618d8c05
function init(){ listar(); calcular(); } function calcular(){ var tabla=$('#tbllistado').DataTable({ "paging": false, "bInfo" : false, "searching": false, "bLengthChange": false //used to hide the property }); /*FUNCION QUE DETECTA EL CLICK Y EL ID DE LA FILA*/ ...
JavaScript
vistas/js/calculadora.js
transmarim/sigtsm
mit
1,157
46
codeparrot/github-code
d0188be5444de856f4fd841ec240070c346836fed44561071ff9aed30481beac
/* * Copyright (C) 2006-2011 by Olivier Chafik (http://ochafik.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to ...
Java
src/main/java/com/ochafik/math/graph/impl/AbstractGraph.java
ochafik/nabab
mit
4,692
153
codeparrot/github-code
98cad5d28ad19229701361dbb7b9b24c510563fa8271c8acf1f72fc5ec8a44f7
<?php /* * This file is part of the LightSAML-Core package. * * (c) Milos Tomic <tmilos@lightsaml.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace LightSaml\Action\Profile\Entity; use LightSaml\Action\Profile\AbstractProfileActio...
PHP
src/LightSaml/Action/Profile/Entity/SerializeOwnEntityAction.php
lightSAML/lightSAML
mit
1,832
53
codeparrot/github-code
fbedba4a12fce486a05d1f966145683b77bc3c193f7d9aa3d0e02a7f515b89bc
-- | Biegunka - configuration development library module Control.Biegunka ( -- * Interpreters control biegunka, Settings, defaultSettings, runRoot, biegunkaRoot , Templates(..), templates -- * Interpreters , Interpreter , pause, confirm, changes, run, check -- * Types , Script, Scope(..) -- * ...
Haskell
src/Control/Biegunka.hs
biegunka/biegunka
mit
1,687
59
codeparrot/github-code
7e0e90840cb308b279475d2a22910fc6829f122d8610a9561148970e4b1568d2
<div class="" style="padding-left:30px;"> <div class="clearfix" style="width: 98%;"> <button onclick="showAddEssayDiv();" type="button" class="km-btn km-btn-success" style="height: 30px;padding: 0px 20px;font-size: 14px;display:inline-block;margin-bottom:10px;"> <span class="glyphicon glyphicon-edit" aria-hidd...
PHP
application/views/admin/essaylist.php
sunxguo/peishi
mit
12,835
303
codeparrot/github-code
7f90e70640773356cda05b27faef007dfd258a0c1da88c95f2e96c90d05f50c2
public class Pract2a4p4_Methods { static int myMethod(int x1, int x2){ // signature: myMethod(int, int) return x1 + x2; } static double myMethod(double x){ // signature: myMethod(double) return Math.round(x*x); } static void myMethod(String s, int x){ // signature: myMethod(String, int) for (...
Java
p2/hmw/Pract2a4p4_Methods.java
krtt/oop
mit
1,165
48
codeparrot/github-code
5e9b4437ce830af8a262ee221e1540f5bb9abce84d230bc06857c9e4030b18b0
import { e as error, E as EnhanceCtx, T as TurnOrder, i as info, S as Stage, a as SetActivePlayersEvent, F as FnWrap, b as SetActivePlayers, I as InitTurnOrderState, U as UpdateTurnOrderState, c as UpdateActivePlayersOnceEmpty, g as gameEvent, d as STRIP_TRANSIENTS, G as GAME_EVENT, f as Enhance, M as MAKE_MOVE, h as I...
JavaScript
ajax/libs/boardgame-io/0.46.1/esm/reducer-6b2d258d.js
cdnjs/cdnjs
mit
44,191
1,151
codeparrot/github-code
78c4dad467cdc3158d89bf37aa5308bba25b23f81cac2fb8945383ed4e91bd9f
"use strict"; var utils = require('./utils.js'); var nChooseK = utils.nChooseK; var tic = utils.tic; var toc = utils.toc; var movesDef = { "U" : [[0,0,0,0, 0,0,0,0], [1,2,3,0, 4,5,6,7], [0,0,0,0, 0,0,0,0, 0,0,0,0], [1,2,3,0, 4,5,6,7, 8,9,10,11], [0,1,2,3,4,5]], "U2": [[0,0,0,0, 0,0,0,0], [2,3,0,1, 4,5,6,7]...
JavaScript
MyKociemba/kociemba.js
AlphaSheep/LetsGenerateAlgs
mit
20,063
532
codeparrot/github-code
6471c0ddb21341d77fcd37c3856ac03bd01d78648fc3568e79eec970b5a348b9
#include <stdio.h> #include <stdlib.h> #include <string.h> /** * Reads CSV data from stdin that is of the form * * 2017/01/18 15:32:37,-6.09,64.39 * 2017/01/18 15:33:38,-6.12,64.58 * ... * * and in lines where the humidity value (the last one) is 100.00 * because of faulty measurements, replaces it with the la...
C
util/replace.c
martindisch/SensorTag
mit
1,952
68
codeparrot/github-code
937a6942bede27b8021c26113697a58c2c7835d7c6e520f02a13d394b5838630
/** * Module dependencies. */ var express = require('express'); var routes = require('./routes'); var user = require('./routes/user'); var http = require('http'); var path = require('path'); var app = express(); // all environments app.set('port', process.env.PORT || 3000); app.set('views', path.join(__dirname, 'v...
JavaScript
app.js
lwz7512/firstexp
mit
884
35
codeparrot/github-code
00c51ffeb64bf64fbaf145b2d8fe94d71dfe6a5eddfaa8c8abb6d0cea896fe10
using System; namespace AndroidKeystoreSignatureGenerator { public static class LocationHelper { static ILocations locations; static LocationHelper() { if (PlatformDetection.IsWindows) locations = new LocationHelperWindows(); else loca...
C#
AndroidKeystoreSignatureGenerator/LocationHelper.cs
Redth/AndroidSignatureToolAddin
mit
1,227
52
codeparrot/github-code
39d65ad5d987ea533c7204efcd24a43e37bd8ef2b43df84e72051fdfb88d70e5
from django import forms from django.forms import Form, ModelForm from django.utils import timezone from webapp.models import Task, TaskGroup, TaskGroupSet from webapp.validators import validate_package from webapp.widgets import CustomSplitDateTimeWidget class TaskGroupForm(ModelForm): class Meta: model...
Python
webapp/forms.py
algochecker/algochecker-web
mit
6,858
204
codeparrot/github-code
72c271b9ad2f2c92cf7662884b75ed38488a782a3a9ed81dea56cb34a6fd3a34
/*! UIkit 3.5.15 | https://www.getuikit.com | (c) 2014 - 2020 YOOtheme | MIT License */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) : typeof define === 'function' && define.amd ? define('uikitcountdown', ['uikit-ut...
JavaScript
ajax/libs/uikit/3.5.15/js/components/countdown.js
cdnjs/cdnjs
mit
4,778
190
codeparrot/github-code
079baf671958ecdc8c3daca3238e2a2fae0e3dca44b0205d117e526837d8c2aa
!function(root, factory) { "object" == typeof exports && "object" == typeof module ? module.exports = factory() : "function" == typeof define && define.amd ? define("postRobot", [], factory) : "object" == typeof exports ? exports.postRobot = factory() : root.postRobot = factory(); }("undefined" != typeof self ? sel...
JavaScript
ajax/libs/post-robot/10.0.35/post-robot.js
cdnjs/cdnjs
mit
97,835
2,056
codeparrot/github-code
5f2c2d5895597d277bd690725f4fc360061c7782ac967efd23165e5c333786d7
(() => { // packages/alpinejs/src/scheduler.js var flushPending = false; var flushing = false; var queue = []; function scheduler(callback) { queueJob(callback); } function queueJob(job) { if (!queue.includes(job)) queue.push(job); queueFlush(); } function queueFlush() { if (!flu...
JavaScript
ajax/libs/alpinejs/3.0.8/cdn.js
cdnjs/cdnjs
mit
79,771
2,488
codeparrot/github-code
e5c4dfb98d5a0ceb3322abf7632be86a99a4452e5de01be48e079ff04584e9b9
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) : typeof define === 'function' && define.amd ? define(['jquery'], factory) : (global = global || self, factory(global.jQuery)); }(this, (function ($) { 'use strict'; $ = $ && $.hasOwnProperty('de...
JavaScript
ajax/libs/bootstrap-table/1.16.0/locale/bootstrap-table-en-US.js
cdnjs/cdnjs
mit
24,939
763
codeparrot/github-code
8a341999570f8654f97e6708921c27f31f52d36c416ce87d43a2ac37294f0541
/** * @license Highstock JS v8.0.3 (2020-03-06) * * Indicator series type for Highstock * * (c) 2010-2019 Wojciech Chmiel * * License: www.highcharts.com/license */ 'use strict'; (function (factory) { if (typeof module === 'object' && module.exports) { factory['default'] = factory; module.ex...
JavaScript
ajax/libs/highcharts/8.0.3/indicators/dpo.src.js
cdnjs/cdnjs
mit
6,162
170
codeparrot/github-code
c19d5c5c5bc7e791b8ea2fb232eee04bdf9c1babb7659c7cb998f2f4f85bf09f
/** * vue-meta v2.2.0 * (c) 2019 * - Declan de Wet * - Sébastien Chopin (@Atinux) * - All the amazing contributors * @license MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(...
JavaScript
ajax/libs/vue-meta/2.2.0/vue-meta.js
cdnjs/cdnjs
mit
48,378
1,472
codeparrot/github-code
f62fd65a703eb69c05d7b6ce815abccd49f4a71180b8a9d99eb1927fcbae1949
import { escapeFormat } from '../../core/badge-urls/path-helpers.js' import { redirector } from '../index.js' function escapeFormatSlashes(t) { return ( escapeFormat(t) // Double slash .replace(/\/\//g, '/') ) } /* Old documentation, for reference: <p> <code>[OPTIONS]</code> can be: <ul> ...
JavaScript
services/website/website-redirect.service.js
badges/shields
cc0-1.0
2,640
106
codeparrot/github-code
a1bb0896bda90feff571e5716cd99e19ec43796f86a771a150fdb62a22633adf
<?php /* Our "config.inc.php" file connects to database every time we include or require it within a php script. Since we want this script to add a new user to our db, we will be talking with our database, and therefore, let's require the connection to happen: */ require("config.inc.php"); require("reports.php"); req...
PHP
distributionform.php
SushilShrestha/NOC
cc0-1.0
4,250
108
codeparrot/github-code
42d77b31bef4aea4b48b46d929e84aff045c9a445ee461c849b08a574765dfdf
### # Page options, layouts, aliases and proxies ### config[:source] = 'documentation' config[:build_dir] = '_site' config[:layouts_dir] = '_layouts' config[:css_dir] = 'css' config[:images_dir] = 'img' config[:js_dir] = 'js' activate :directory_indexes activate :syntax activate :blog do |blog|...
Ruby
config.rb
SCPR/scpr-style-guide
cc0-1.0
1,636
75
codeparrot/github-code
7fce39144fa2a6e2ca39a8acb7fd2d9350badd3bcfeacab89b8518daa4992b02
angular.module('starter.controllers') .controller('skillTreeControl', function ($scope, $storageServices, $ionicModal, $analytics, $window) { $scope.showSkillMap = true; $analytics.trackView('Skill Tree'); $scope.ratings = 0; $scope.isInfinite = false; $scope.learnedSkills = []; $scope.modal...
JavaScript
www/js/controllers/SkillTree.js
raydeng83/growth
cc0-1.0
2,093
74
codeparrot/github-code
b355afcc1b0c7420d019b370006382115cf51713ab9f7d20a0d719381d54d3ae
/** * @overview Controller for a single Bible * @module bible * @author Dominik Sigmund * @version 0.1 * @description Creates an Object. Has specific methods to show and manipulate data * @memberof myVerses * @requires module:fs * @requires module:xml2js */ var fs = require('fs') var xml2js = require('xml2js'...
JavaScript
libs/bible.js
WebDaD/myVerses
cc0-1.0
15,836
452
codeparrot/github-code
adc16624636412cf523b108d74108018b870650bf9f5ad12e620256195a79501
import React from 'react'; import _ from 'lodash'; import moment from 'moment'; import ClientListFilterComponent from './ClientListFilterComponent'; import ClientListItemComponent from './ClientListItemComponent'; class ClientListComponent extends React.Component { constructor() { super(); this.state = { ...
JavaScript
app/components/ClientListComponent.js
tjinauyeung/customization-requests-app
cc0-1.0
1,600
63
codeparrot/github-code
d152612e379540f1cce9e364c13c90f60d9a8afb7a1e9b585af7a7abbb6df9bd
// jquery.event.move // // 1.3.1 // // Stephen Band // // Triggers 'movestart', 'move' and 'moveend' events after // mousemoves following a mousedown cross a distance threshold, // similar to the native 'dragstart', 'drag' and 'dragend' events. // Move events are throttled to animation frames. Move event objects // hav...
JavaScript
www/js/jquery.event.move.js
cz-it/myblog
cc0-1.0
14,594
581
codeparrot/github-code
0fd4053841fd3acc06c68fcbf8a58b9fef0a2aee336294cd887dca8bf85fe0c5
<!DOCTYPE html> <!-- Copyright 2010 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
HTML
slides/lecture6.html
DS12/scala-class
cc0-1.0
69,260
1,726
codeparrot/github-code
0fe5fffcfda0abccec2f6f0f76b49bdaa826c62f568ff0fd904407d8ec8bba85
<!-- HTML file automatically generated from DocOnce source (https://github.com/doconce/doconce/) doconce format html week4.do.txt --html_style=bootstrap --pygments_html_style=default --html_admon=bootstrap_panel --html_output=week4-bs --no_mako --> <html> <head> <meta http-equiv="Content-Type" content="text/html; chars...
HTML
doc/pub/week4/html/._week4-bs015.html
CompPhysics/ComputationalPhysics2
cc0-1.0
25,042
394
codeparrot/github-code
63bd737ab74dea1ef53b295076e88d8db2ed06be3d25c77fdb6e98541b44adcb
<!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"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> ...
HTML
index.html
deeglaze/findaride_hack
cc0-1.0
26,024
767
codeparrot/github-code
720012697eaebd2dacbb23f4b298151e5e056496edbc5c508c202cd54e4cfb47
<!DOCTYPE html> <html > <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Notes</title> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> <meta name="description" content="This is notes from yufree"> <meta name="generator" content="bookdown 0.1.5 ...
HTML
_book/causality-for-policy-assessment-and-impact-analysis.html
yufree/notes
cc0-1.0
17,565
315
codeparrot/github-code
37fff2e4bde2a7bc979a01f06115446a90d39188a71c935aeca88d7c6957d6c5
namespace VideoTrack { partial class TagsCloud { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
C#
C# App/VideoTrack/TagsCloud.Designer.cs
DigitalPerson/Semantic-Search-Engine-for-Movies
cc0-1.0
3,213
80
codeparrot/github-code
3c24976d09911d43de99049652cc06844482d9628b202e92df899ff641009746
package org.codefx.demo.java9.internal.string; import java.util.List; import java.util.stream.IntStream; import static java.util.stream.Collectors.toList; public class CompactionPerformance { // To play around with this: // (1) compile using `compile.sh` // (2) run with either of the following lines // // WI...
Java
src/main/java/org/codefx/demo/java9/internal/string/CompactionPerformance.java
CodeFX-org/demo-java-9
cc0-1.0
1,447
42
codeparrot/github-code
8ec56ea3fd0caef4cdfbb7268a564d22d2c1bb9720520f4ee3dfdfc7b7a4c443
#!/usr/bin/env python """ Example program for JDEV Mercurial tutorial """ from optparse import OptionParser def calculate_result(white_balls, power_ball): """ Computation is lauched here """ for ball in white_balls: if ball < 1 or ball > 59: return -1 if power_ball < 1 or power_ba...
Python
tp_dvcs/data/lottery_v3.py
fjammes/tutorial-git
cc0-1.0
1,056
45
codeparrot/github-code
bb1e2e65d28a977cbdde925f4fb6b63ed9984bfe858e4d4de82ccce88ae4aa0c
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.smi.travel.datalayer.service; import com.smi.travel.datalayer.dao.MListItemDao; import com.smi.travel.datalayer....
Java
src/java/com/smi/travel/datalayer/service/ProductService.java
iCONEXT/SMI_Travel
cc0-1.0
4,988
151
codeparrot/github-code
cf2e82418ce67837b1942b7d34a157c47f68abec5ff3fdece4dbebc35be37f16
package jmxexample import java.beans.ConstructorProperties import javax.management.openmbean._ import akka.actor.ActorRef import scala.beans.BeanProperty import scala.collection.mutable.ListBuffer /** * GreetingHistory is a case class with an ActorRef, which can't be mapped into an MXBean. * * There are two ways...
Scala
src/main/scala/jmxexample/GreetingHistory.scala
typesafehub/activator-akka-jmx-example
cc0-1.0
2,150
70
codeparrot/github-code
166d6637ccfb27cbd44397789239fe7c8ba71bcfc40122cfacd2c2c0e5355708
/* * This file is part of memoization.java. It is subject to the license terms in the LICENSE file found in the top-level * directory of this distribution and at http://creativecommons.org/publicdomain/zero/1.0/. No part of memoization.java, * including this file, may be copied, modified, propagated, or distributed ...
Java
memoization-guava/src/test/java/de/xn__ho_hia/memoization/guava/GuavaCacheBasedToLongFunctionMemoizerTest.java
sebhoss/memoization.java
cc0-1.0
3,227
97
codeparrot/github-code
155e9f0692aba5e81248ce134933018bca1c6d593bb0644a016179f71c29f313
#!env perl use strict; use warnings; my $annot = '../../annotation/Hw2.maker_genes.functional.gff3.gz'; my $clusters = '7clustered_FPKM_compiled.tsv.gz'; open(my $fh => "zcat $annot |") || die $!; my %genes; while(<$fh>) { next if /^\#/; chomp; my @row = split(/\t/,$_); my %grp = map { split(/=/,$_) } ...
Perl
Nucleosome/Clustered/clusters2genelocations.pl
stajichlab/Hortaea_werneckii
cc0-1.0
1,355
44
codeparrot/github-code
e429783d9409b7f7e508971424ff93dc9e4341e482394a552e413fde5a872ca1
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>[Partido Pirata] Operadora GVT vai distribuir cont eúdo da Universal Music</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="apple-touch-icon" sizes="114x114" href="ht...
HTML
documentos/listapirata/listapirata@listas.partidopirata.org/msg00196.html
piratas/midiateca
cc0-1.0
9,084
166
codeparrot/github-code
d2256fe84d75f33063207440090c4fec6bcaacce26491c92c2de753c87c12003
/*- ******************************************************************************* * Copyright (c) 2011, 2014 Diamond Light Source Ltd. * 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, ...
Java
org.eclipse.dawnsci.plotting.examples/src/org/eclipse/dawnsci/plotting/examples/XYUpdateExample.java
colinpalmer/dawnsci
epl-1.0
4,395
144
codeparrot/github-code
0a62cb91d739ff25ec99aed767853be9f3a0a4ad45d07063a00bd1f3369d86ad
var _ = require("underscore-keypath"); var path = require("path"); var cli = require("cli"); var model = require("./parts/lib/model"); var Handlebars = require("handlebars"); var fs = require("fs"); var moment = require("moment"); var model = require("./parts/lib/model"); var template = Handlebars.compile(fs.readFileS...
JavaScript
lib/generator.js
jeeeyul/jeeebot
epl-1.0
1,961
82
codeparrot/github-code
859c5e7de4faa272d559f1bb5ae6b0fed226392ca5e21ec142ed6b8afb914d3c
/******************************************************************************* * Copyright (c) 1998, 2013 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
foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/platform/xml/XMLParser.java
bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs
epl-1.0
2,493
68
codeparrot/github-code
c5d9ffc662b5c69229144d719d1c9f9d2d1b19e261900cf7bca7d7da83e9be05
package de.setsoftware.reviewtool.model.changestructure; import java.util.List; import de.setsoftware.reviewtool.model.api.IClassification; /** * Super type for elements that can be contained in a review tour. */ public abstract class TourElement { protected abstract void fillStopsInto(List<Stop> buffer); ...
Java
de.setsoftware.reviewtool.core/src/de/setsoftware/reviewtool/model/changestructure/TourElement.java
tobiasbaum/reviewtool
epl-1.0
954
33
codeparrot/github-code
170362a52ff8721c9af0bfa08c7285aa74e11e361aa536cdacd5862a079d7ee3
/* * Copyright (c) 2012-2018 Red Hat, Inc. * 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 * * Contributors: * Red H...
Java
ide/che-core-ide-ui/src/test/java/org/eclipse/che/ide/ui/dialogs/input/InputDialogPresenterTest.java
sleshchenko/che
epl-1.0
6,584
206
codeparrot/github-code
c471c3e4452326da1b5c96c1247597b120b36ed8f49789dcc5b99eaf2f140871
/******************************************************************************* * Copyright (c) 2014 Obeo. * 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 * ht...
Java
Core/fr.obeo.dsl.designer.documentation.generator/src/fr/obeo/dsl/designer/documentation/generator/internal/extensions/GeneratorExtensionListener.java
ascharfi/Clarity-Capella-DocGenerator
epl-1.0
2,520
71
codeparrot/github-code
7d706ca64e470b3cb6ee374bdecde5b06104b4a4c37232489f10bec12507ed7c
/******************************************************************************* * Copyright (c) 2014-2015 TELECOM ParisTech and AdaCore. * 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, ...
Java
fr.tpt.atlanalyser/src/fr/tpt/atlanalyser/AtlParser.java
eliericha/atlanalyser
epl-1.0
6,720
170
codeparrot/github-code
6cfb2a3defd410867ff8f4fc885aa5e5dfa5785ccbdd826658c0b421d33ca565
/** * Copyright (c) 2011, 2014 Eurotech 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 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * ...
Java
kura/org.eclipse.kura.net.admin/src/main/java/org/eclipse/kura/net/admin/visitor/linux/FirewallNatConfigWriter.java
mhddurrah/kura
epl-1.0
6,932
169
codeparrot/github-code
d6a39c580f08927fae1f3fbbec2bba4ebc4e3ca246dc43ad03ccbb1aa95879d2
/******************************************************************************* * Copyright (c) 2013-2015 UAH Space Research Group. * 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 i...
Java
mesp/es.uah.aut.srg.micobs.mesp/src/es/uah/aut/srg/micobs/mesp/library/mesplibrary/provider/MMESPVersionedItemPlatformSwPackageItemProvider.java
parraman/micobs
epl-1.0
3,477
104
codeparrot/github-code
85f31e4724fe25de9b4bbcae85cbeac7e5776584306e33f3b7437058deda1dcc
package com.odcgroup.workbench.core.preferences; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.ProjectScope; import org.eclipse.core.runtime.preferences.DefaultScope; import org.eclipse.core.runtime.preferences.IEclipsePreferences; import org.eclipse.core.runtime.preferences.IEclipsePre...
Java
designstudio/components/workbench/core/com.odcgroup.workbench.core/src/main/java/com/odcgroup/workbench/core/preferences/ProjectPreferences.java
debabratahazra/DS
epl-1.0
4,663
149
codeparrot/github-code
dc0b81523c10c8200963761e7133c88a76c2ebbeb81a5b01afe336b1cb92cd1d
/******************************************************************************* * Copyright (c) 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/json/rootlevellist/WithXmlRootElementJAXBElementNoRootTestCases.java
bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs
epl-1.0
3,234
77
codeparrot/github-code
f16e4cb7614250c9c62bc2e68453742b289ea0d448cc96a76a5c0af4c2df3b05
#!/usr/bin/env python """PySide port of the network/http example from Qt v4.x""" import sys from PySide import QtCore, QtGui, QtNetwork class HttpWindow(QtGui.QDialog): def __init__(self, parent=None): QtGui.QDialog.__init__(self, parent) self.urlLineEdit = QtGui.QLineEdit("http://www.ietf.org/...
Python
src/python/Lib/site-packages/PySide/examples/network/http.py
Southpaw-TACTIC/Team
epl-1.0
5,973
157
codeparrot/github-code
9a4a3fcea2ccd7cc68101a3591a9142ef577f2ca5ded3a58d3f0fb7ad6de784f
package com.temenos.t24.tools.eclipse.basic.dialogs.remote; import org.eclipse.jface.dialogs.Dialog; import org.eclipse.jface.dialogs.IDialogConstants; import org.eclipse.jface.dialogs.InputDialog; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.swt.SWT; import org.eclipse.swt.events.ModifyEvent; im...
Java
designstudio/components/basic/ui/com.odcgroup.basic.ui/src/main/java/com/temenos/t24/tools/eclipse/basic/dialogs/remote/RemoteOperationDialog.java
debabratahazra/DS
epl-1.0
12,222
287
codeparrot/github-code
dea7d35ac7527070b9e7848e4ef3f4f26f756150e6cfa29c892ece6a908ef07f
<?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-16A7E79E-9264-356E-8FEB-AF998585C1DF.html
warlordh/fork_Symbian
epl-1.0
7,333
289
codeparrot/github-code
05ea2b787cc8dee5662eff6197e6b1738e6ed1f7f876849e37ecf31c1d29c1c9
/* * Sonatype Nexus (TM) Open Source Version * Copyright (c) 2008-present Sonatype, Inc. * All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions. * * This program and the accompanying materials are made available under the terms of the Eclipse Public...
Java
components/nexus-security/src/main/java/org/sonatype/nexus/security/internal/NexusAuthenticationEventAuditor.java
sonatype/nexus-public
epl-1.0
3,144
85
codeparrot/github-code
21be2e739ad196aba132bbe4c105a10003ef6e3bdd98a9dd1aea64fbea62f93f
/******************************************************************************* * Copyright (c) 2012, 2017 Kiel University 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
plugins/org.eclipse.elk.alg.layered/src/org/eclipse/elk/alg/layered/intermediate/EndLabelPostprocessor.java
eNBeWe/elk
epl-1.0
3,448
80
codeparrot/github-code
8ffbaca9b25d359880eb207967d2f802faeb1d69bcc0da5139da5444a7b6871b
/* * Copyright 2012 PRODYNA AG * * Licensed under the Eclipse Public License (EPL), Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/eclipse-1.0.php or * http://www.nabucco.org/License...
Java
org.nabucco.framework.generator.compiler/src/main/org/nabucco/framework/generator/compiler/transformation/java/visitor/util/spp/StructuredPropertyPathViewModelElementFactory.java
NABUCCO/org.nabucco.framework.generator
epl-1.0
10,144
223
codeparrot/github-code
3389b668d72143eb1203043d619847911c3482c7097a3d4154b50333838bbe11
/* * */ package SimpleBPMN.diagram.edit.commands; import org.eclipse.core.commands.ExecutionException; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.emf.ecore.EObject; import org.eclipse.gmf.runtime.common.core.command.CommandResult; import org.ecli...
Java
org.eclipse.epsilon.eugenia.bpmn.diagram/src/SimpleBPMN/diagram/edit/commands/ORCreateCommand.java
bluezio/simplified-bpmn-example
epl-1.0
2,529
89
codeparrot/github-code
70a0c28c46adfaad969e0ac77f4dd70b8e509cd944443f77b4a05e79f0e57e2a
/* * AutoRefactor - Eclipse plugin to automatically refactor Java code bases. * * Copyright (C) 2013 Jean-Noël Rouvignac - initial API and implementation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Fr...
Java
samples/src/test/java/org/autorefactor/refactoring/rules/samples_out/PrimitiveWrapperCreationSample.java
TIYdoc/AutoRefactor
epl-1.0
3,218
89
codeparrot/github-code
3458f51028886c4266492e07c787210d236c03b86c367274c5c1e9fce2583186
/** */ package org.scaledl.overview.specification.impl; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; import org.eclipse.emf.ecore.impl.EPackageImpl; import org.scaledl.overview.OverviewPackage; import o...
Java
plugins/org.scaledl.overview/src/org/scaledl/overview/specification/impl/SpecificationPackageImpl.java
CloudScale-Project/Environment
epl-1.0
38,978
951
codeparrot/github-code
244c07ca3cd878d1d74ab75ff44b8d86659cf46ac6b8c9ef7bc68884618fefc5
<?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-6132E330-D166-3997-AF2F-13F0C3874568.html
warlordh/fork_Symbian
epl-1.0
16,571
576
codeparrot/github-code
3d78d988f4108a0771c6162cd77f3cea5e14984b3071124cbd8305d2cd3c5003
/******************************************************************************* * Copyright (c) 2009 itemis AG (http://www.itemis.eu) 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 distr...
Java
org.eclipse.xtext/src/org/eclipse/xtext/resource/impl/ResourceDescriptionChangeEvent.java
miklossy/xtext-core
epl-1.0
1,140
35
codeparrot/github-code
1b39eb3f26091371ee8061da843e0e5d437f1a840f29466e6b9b61b302cb2456
/******************************************************************************* * Copyright (c) 2010 Oak Ridge National Laboratory. * 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 i...
Java
bundles/org.csstudio.ui.util/src/org/csstudio/ui/util/widgets/ImagePreview.java
fqqb/yamcs-studio
epl-1.0
5,149
166
codeparrot/github-code
506e961117ddd87bb007aae5ea8a60b947225a1cc45bb17c94908d6951b029d2
/******************************************************************************* * 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.cmap.core/src/org/mwc/cmap/core/property_support/lengtheditor/LengthPropertyDescriptor.java
debrief/debrief
epl-1.0
2,127
63
codeparrot/github-code
46a040d5c8e28c001740bb31448cd5f5c4d6a0c1155ea569451d7fc281604a7e
using EloBuddy.SDK.Menu; using EloBuddy.SDK.Menu.Values; // ReSharper disable InconsistentNaming // ReSharper disable MemberHidesStaticFromOuterClass namespace Anivia_Beta_Fixed { // I can't really help you with my layout of a good config class // since everyone does it the way they like it most, go checkout ...
C#
Anivia_Beta_Fixed/Anivia_Beta_Fixed/Config.cs
NoShurim/Buddys
epl-1.0
29,194
686
codeparrot/github-code