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 |
|---|---|---|---|---|---|---|---|---|
6ad88d431f2abe5f896dc18f42587779f083f76d64a28e2911c888b616f52483 | /****************************************************
Statistics Online Computational Resource (SOCR)
http://www.StatisticsResource.org
All SOCR programs, materials, tools and resources are developed by and freely disseminated to the entire community.
Users may revise, extend, redistribute, modify under the term... | Java | SOCR2.8/src/edu/ucla/stat/SOCR/util/NormalCurve.java | SOCR/HTML5_WebSite | lgpl-3.0 | 16,918 | 499 | codeparrot/github-code |
777aa69ff3f8321f80bb5bdab1d01be2db6dabbe3b04a7e0d647746264e0cba8 | /*
* @author ucchy
* @license LGPLv3
* @copyright Copyright ucchy 2014
*/
package org.bitbucket.ucchy.delay;
import java.util.ArrayList;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.plugin.java.JavaPlugin;
import org.b... | Java | src/main/java/org/bitbucket/ucchy/delay/DelayCommandPlugin.java | ucchyocean/DelayCommand | lgpl-3.0 | 2,383 | 87 | codeparrot/github-code |
554e3b7747768a48cd6784eaf233dd880fbdc1a7772a595d57b3c9da96eef588 | /*
* Copyright (C) 2005-2013 Alfresco Software Limited.
* This file is part of Alfresco
* Alfresco 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 3 of the License, or
* (at y... | Java | projects/share-po/src/main/java/org/alfresco/po/share/enums/UserRole.java | loftuxab/community-edition-old | lgpl-3.0 | 1,846 | 64 | codeparrot/github-code |
2e3ba4ebbfc15f34456672c8f9501649065d36c3d09e650eb89f41532051ba04 | /*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2013 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube 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 Found... | Java | sonar-ws-client/src/test/java/org/sonar/wsclient/services/TimeMachineQueryTest.java | xinghuangxu/xinghuangxu.sonarqube | lgpl-3.0 | 2,818 | 79 | codeparrot/github-code |
052f308cd6ba92beb11c78a368b8634cdcecf3dc0bb83a14a99a9915808297ea | var sys = require('sys'),
child_process = require('child_process'),
vm = require('vm'),
http = require('http'),
querystring = require('querystring'),
Persistence = require('./persistence/persistence'),
request = require('request'),
xml2jsParser = require('xml2js').parseString;
function msTo... | JavaScript | behaviors.js | mmattozzi/botboy | lgpl-3.0 | 12,397 | 308 | codeparrot/github-code |
37c880b88fc59a2f56934fbae45cc8cd03a02ff64b305fb39dec2d9460611a84 | /// @author Alexander Rykovanov 2013
/// @email rykovanov.as@gmail.com
/// @brief Internal Server wich is used by addons.
/// @license GNU LGPL
///
/// Distributed under the GNU LGPL License
/// (See accompanying file LICENSE or copy at
/// http://www.gnu.org/licenses/lgpl.html)
///
#pragma once
#include <opc/common/... | C | services_registry/include/opc/ua/server/addons/services_registry.h | gavioto/opcua-server | lgpl-3.0 | 1,544 | 50 | codeparrot/github-code |
ce6922e78d00b6d9ad521a062b25236eb8482331c1a06f19a94fe9ed1af4e5ea | /********************************************************************
* Copyright © 2016 Computational Molecular Biology Group, *
* Freie Universität Berlin (GER) *
* *
* This file is part of ReaDDy. ... | C | include/readdy/model/ParticleTypeRegistry.h | chrisfroe/readdy | lgpl-3.0 | 5,841 | 169 | codeparrot/github-code |
6140c023ccae68823de159c7402fd8e37c17e63cafccdfbeb0120a86eae72738 | // Copyright 2017 The go-ethereum Authors
// This file is part of go-ethereum.
//
// go-ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any la... | GO | cmd/puppeth/wizard_genesis.go | etherite/go-etherite | lgpl-3.0 | 6,604 | 190 | codeparrot/github-code |
a9b335689c980c19b047050d879bdaa22a4d2c736acdddfc492903a5431bdcd0 | /*
*
* Copyright (c) 2011-2016 The University of Waikato, Hamilton, New Zealand.
* All rights reserved.
*
* This file is part of libprotoident.
*
* This code has been developed by the University of Waikato WAND
* research group. For further information please see http://www.wand.net.nz/
*
* libprotoident is f... | C++ | lib/libprotoident.cc | wanduow/libprotoident | lgpl-3.0 | 12,184 | 536 | codeparrot/github-code |
2bbe5a3af4518e51c83b11a387d3c20f5daca1a530b75847968027cdd795430a | /**
* Copyright (c) 2016-2020, Michael Yang 杨福海 (fuhai999@gmail.com).
* <p>
* Licensed under the GNU Lesser General Public License (LGPL) ,Version 3.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.gnu.org/licenses/... | Java | module-product/module-product-web/src/main/java/io/jpress/module/product/directive/ProductDirective.java | JpressProjects/jpress | lgpl-3.0 | 1,906 | 64 | codeparrot/github-code |
b22a87514338d86886b4f43d931bae456acd41bdc7c8d082f7a9b688e5b5524e | using System.ComponentModel;
using System.Runtime.CompilerServices;
using ToastNotifications.Core;
namespace CustomNotificationsExample.CustomMessage
{
public class CustomNotification : NotificationBase, INotifyPropertyChanged
{
private CustomDisplayPart _displayPart;
public override Notifica... | C# | Src/Examples/CustomNotificationsExample/CustomMessage/CustomNotification.cs | raflop/ToastNotifications | lgpl-3.0 | 1,567 | 59 | codeparrot/github-code |
408c9e8a4122fb544f977a48a27e683d4495edf696024154d943f766a3ba0ff6 | import { Secret } from '@aws-cdk/cdk'
import { config, SSM } from 'aws-sdk'
import * as lib from '../lib'
import { TokenParams } from '../types'
/**
* method to create and/or retrieve an SSM secret from aws.
*
* @param params can be either a new token from command line or an already existing token
**/
export asyn... | TypeScript | packages/deploy-aws/src/aws_sdk_handler/handle_ssm.ts | seagull-js/seagull | lgpl-3.0 | 1,401 | 44 | codeparrot/github-code |
6fadc8b724acb2610acbcc596789969706fed7b824db6b551baaf0e20f07e387 | using System;
using System.Runtime.InteropServices;
using Microsoft.Win32;
namespace Loamen.Common
{
[StructLayout(LayoutKind.Sequential)]
public class OSVersionInfo
{
public int OSVersionInfoSize;
public int MajorVersion;
public int MinorVersion;
public int BuildNumber;
... | C# | src/Loamen.Common/OSVersionInfo.cs | loamen/ProxyHero | lgpl-3.0 | 3,639 | 122 | codeparrot/github-code |
96c757c6e70aa4f478ab6f85d150c834135e0c7bd5197de1f2bfdb6054fce943 | /**
* Copyright © 2002 Instituto Superior Técnico
*
* This file is part of FenixEdu Academic.
*
* FenixEdu Academic 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 3 of the License... | Java | src/main/java/org/fenixedu/academic/domain/phd/thesis/activities/ConcludePhdProcess.java | cfscosta/fenix | lgpl-3.0 | 3,352 | 81 | codeparrot/github-code |
a1ca59a8eb52939346cbe525083a596667c852cb604eb2cb0238c8990f6dcac4 | <?php
namespace BlackBoxCode\Pando\TaxBundle\Model;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ORM\Mapping as ORM;
trait RegionTrait
{
/**
* @var ArrayCollection<RegionTaxCategoryRateInterface>
*
* @ORM\OneToMany(targetEntity="RegionTaxCategoryRate", mappedBy="region")
*/
... | PHP | Model/RegionTrait.php | BlackBoxRepo/PandoTaxBundle | lgpl-3.0 | 1,194 | 47 | codeparrot/github-code |
119c2a6e3516dc8b9641d7da9546b589a34353d7456973371a6f7de22c944826 | # -*- coding: utf-8 -*-
# Copyright(C) 2012 Romain Bignon
#
# This file is part of a weboob module.
#
# This weboob module 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 3 of the Licens... | Python | modules/caissedepargne/cenet/pages.py | laurentb/weboob | lgpl-3.0 | 14,121 | 363 | codeparrot/github-code |
1ee23c9abfdf86f2bd2c3f4cc77cb09c6c1d9f01e3ba929fd79a807f71809f46 | <?php
class shopKmphonemaskvalidatePlugin extends shopPlugin
{
private $enable;
private $where;
private $phone_mask;
private $phone_placeholder;
private $validate;
private $error_msg;
private $phone_input_names;
/***
* @var waSmarty3View|waView
*/
private $view;
pub... | PHP | wa-apps/shop/plugins/kmphonemaskvalidate/lib/shopKmphonemaskvalidatePlugin.class.php | aborz/webasyst | lgpl-3.0 | 2,543 | 78 | codeparrot/github-code |
294988b01730370c6ebd808b666de763182ff8bffdbebe200fd2e73053411bb8 | /*
* Sonar, open source software quality management tool.
* Copyright (C) 2008-2012 SonarSource
* mailto:contact AT sonarsource DOT com
*
* Sonar 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; e... | Java | sonar-plugin-api/src/test/java/org/sonar/api/config/SettingsTest.java | jmecosta/sonar | lgpl-3.0 | 15,285 | 427 | codeparrot/github-code |
4d756a3321d96dda793e990d6e21a25a91540a448fbef9dca8f5eb777430c659 | package org.btrplace.scheduler.choco.constraint.mttr;
import org.btrplace.model.DefaultModel;
import org.btrplace.model.Model;
import org.btrplace.model.Node;
import org.btrplace.model.VM;
import org.btrplace.model.constraint.Preserve;
import org.btrplace.model.constraint.SatConstraint;
import org.btrplace.model.view.... | Java | choco/src/test/java/org/btrplace/scheduler/choco/constraint/mttr/CMinMTTRTest.java | btrplace/scheduler-UCC-15 | lgpl-3.0 | 2,052 | 62 | codeparrot/github-code |
f9f6ffcede4b7233e0abddfba7dd1165bbb4a8850665ad8b087f4722aaaa7854 | using System;
using System.Collections.Generic;
using System.Linq;
using umbraco.interfaces;
using umbraco.NodeFactory;
using Umbraco.Core.Events;
using Umbraco.Core.Services;
using umbraco.MacroEngines;
namespace Newsroom
{
public class EventHandler : IApplicationStartupHandler
{
readonly int newsRoot = new ... | C# | unpackaged/app_code/EventHandler.cs | HfdsCouncil/Newsroom | lgpl-3.0 | 5,474 | 142 | codeparrot/github-code |
0a6971b9a5057b8be5026d333d8fe20e274771d67d271783cdbb5dba0173360e | """
.15925 Editor
Copyright 2014 TechInvestLab.ru dot15926@gmail.com
.15925 Editor 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 3.0 of the License, or (at your option) any later version.... | Python | editor_qt/iso15926/common/testing.py | TechInvestLab/dot15926 | lgpl-3.0 | 4,639 | 137 | codeparrot/github-code |
9ebb695307a810eb9367eaea506844812d9e042701d9cdb13380b44aeb2bae87 | /*
Copyright (c) 2007-2015 Contributors as noted in the AUTHORS file
This file is part of libzmq, the ZeroMQ core engine in C++.
libzmq is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Found... | C++ | src/proxy.cpp | minrk/zeromq4-1 | lgpl-3.0 | 6,350 | 199 | codeparrot/github-code |
594b382c43b8d12b5f3e54603452c38c04f91b0198618d75fb2e0d67957a7480 | #ifndef DEVICEDIALOG_H
#define DEVICEDIALOG_H
#include <QDialog>
#include <QMap>
namespace Ui {
class DeviceDialog;
}
#if defined( VIDEOCAPTURE_SUPPORTED )
#include <videocapture/Capture.h>
#else
namespace ca { typedef int Capture; }
#endif
class DeviceDialog : public QDialog
{
Q_OBJECT
public:
explicit DeviceDi... | C | plugins/VideoCapture/devicedialog.h | BigHoss/Fugio | lgpl-3.0 | 842 | 54 | codeparrot/github-code |
a5956001bf98df58d82c1c98a40e24696d4ddf29a7ec0f3533883b612f07422f | #include <ladspam-jack-0/instrument.h>
#include <ladspam1.pb.h>
#include <iostream>
#include <fstream>
#include <unistd.h>
#include <string>
int main(int argc, char *argv[])
{
if (argc < 2)
{
std::cout << "Missing filename parameter" << std::endl;
return EXIT_FAILURE;
}
ladspam_proto1::Instrument instrument... | C++ | instrument.cc | fps/ladspa.m.jack | lgpl-3.0 | 866 | 40 | codeparrot/github-code |
0cd7191e34916d0c36993dcd20c41aa830dd33138fbee170bbb8fdeab2f8708f | package apps.database.dnr2i.rssfeedreader.model;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import java.ut... | Java | app/src/main/java/apps/database/dnr2i/rssfeedreader/model/RSSAdapter.java | alimux/RssFeedReader | lgpl-3.0 | 2,847 | 81 | codeparrot/github-code |
692356c5b3f378aac2335476c30697f5f2174697b6e659b7eb11b2cd0753bc49 | /* Copyright 2010 - 2013 by Brian Uri!
This file is part of DDMSence.
This library is free software; you can redistribute it and/or modify
it under the terms of version 3.0 of the GNU Lesser General Public
License as published by the Free Software Foundation.
This library is distribu... | Java | src/main/java/buri/ddmsence/ddms/summary/tspi/Circle.java | imintel/ddmsence | lgpl-3.0 | 4,720 | 146 | codeparrot/github-code |
3a96f048ef4f0ffdc1a3a87da48c0e41e8ce65f6dc76ad6a9cdc1273d923cffd | package commands.executes;
import agents.Agent;
import agents.Robot;
import agents.Speed;
import agents.Vacuum;
import commands.AgentCommand;
import commands.AgentCommandVisitor;
import commands.FieldCommand;
import commands.NoFieldCommandException;
import commands.transmits.ChangeDirectionTransmit;
import field.Direc... | Java | src/main/commands/executes/ChangeDirectionExecute.java | istvanszoke/softlab4 | lgpl-3.0 | 1,517 | 62 | codeparrot/github-code |
58127b732903e01189d4de5852af47dcc905dbf3aa5deeea12e621596e65575b | /*
Copyright 2013-2021 Paul Colby
This file is part of QtAws.
QtAws 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 3 of the License, or
(at your option) any later v... | C | src/servicediscovery/listtagsforresourceresponse.h | pcolby/libqtaws | lgpl-3.0 | 1,587 | 52 | codeparrot/github-code |
89eb30e95dd1139d099c0001090f1d40a3f1ef84c4b0361d5605e55616feb696 | /* Copyright 2010 - 2013 by Brian Uri!
This file is part of DDMSence.
This library is free software; you can redistribute it and/or modify
it under the terms of version 3.0 of the GNU Lesser General Public
License as published by the Free Software Foundation.
This library is distribu... | Java | src/test/java/buri/ddmsence/ddms/summary/tspi/EllipseTest.java | imintel/ddmsence | lgpl-3.0 | 7,170 | 208 | codeparrot/github-code |
e7b2da1e866c7766e3d30cff2a0fe6e572e1a29f069bdc0b7ad9dc27752af395 | /*
* Copyright (C) Mike Espig
*
* This program 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 3 of the License, or
* (at your option) any later version.
*
* This program is distr... | C++ | source/DKTS/KTSApp/DKTSTruncation.cpp | BackupTheBerlios/tensorcalculus | lgpl-3.0 | 25,260 | 1,017 | codeparrot/github-code |
374564242cd01120ab19592f21517b9dc2cda5b2a1e9b54ebdc42daa0860d4ec | package org.jumbune.common.utils;
import static org.jumbune.common.utils.Constants.AT_OP;
import static org.jumbune.common.utils.Constants.COLON;
import static org.jumbune.common.utils.Constants.CPU_DUMP_FILE;
import static org.jumbune.common.utils.Constants.MEM_DUMP_FILE;
import static org.jumbune.common.utils.Consta... | Java | common/src/main/java/org/jumbune/common/utils/RemoteFileUtil.java | impetus-opensource/jumbune | lgpl-3.0 | 27,308 | 729 | codeparrot/github-code |
655b3dd3115b8706433363095b7693db3ade86544d997571368795be4ed9e479 | /**
* GetAllUsersResponse.java
* Created by pgirard at 2:07:29 PM on Aug 19, 2010
* in the com.qagwaai.starmalaccamax.shared.services.action package
* for the StarMalaccamax project
*/
package com.qagwaai.starmalaccamax.client.service.action;
import java.util.ArrayList;
import com.google.gwt.user.clien... | Java | src/com/qagwaai/starmalaccamax/client/service/action/GetAllMarketsResponse.java | qagwaai/StarMalaccamax | lgpl-3.0 | 1,492 | 68 | codeparrot/github-code |
5b2d76ed5e7f3a6bd53d096ff8e4e9ace9c4e8ce16535d0148fcc2ff00f9e13a | /*
* Copyright (c) 2005-2010 Substance Kirill Grouchnikov. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* o Redistributions of source code must retain the above copyright notice,
* ... | Java | NetbeansProject/jreserve-dummy/substance/src/main/java/org/pushingpixels/substance/internal/ui/SubstanceSpinnerUI.java | Depter/JRLib | lgpl-3.0 | 15,881 | 496 | codeparrot/github-code |
1bca8ba59926e7757affe48fa451b9fe150fd765247f17b0703bbc477393bcfc | using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration.Install;
using System.Linq;
using System.ServiceProcess;
using System.Threading.Tasks;
namespace lwshostsvc
{
[RunInstaller(true)]
public partial class HostServiceInstaller : Syste... | C# | LamestWebserver/lwshostsvc/HostServiceInstaller.cs | rainerzufalldererste/LamestWebserver | lgpl-3.0 | 2,189 | 72 | codeparrot/github-code |
96ee776f033b90a380c8281abc0815caa180a756721fec2bc7b153506d5a707c | package br.com.zalem.ymir.client.android.entity.data.openmobster.cursor;
import android.database.Cursor;
import br.com.zalem.ymir.client.android.entity.data.cursor.IEntityRecordCursor;
/**
* Base para cursores de dados baseados no OpenMobster.<br>
* Apenas engloba um {@link android.database.Cursor} e repassa para e... | Java | ymir.client-android.entity.data-openmobster/src/main/java/br/com/zalem/ymir/client/android/entity/data/openmobster/cursor/AbstractMobileBeanCursor.java | ZalemSoftware/Ymir | lgpl-3.0 | 1,773 | 93 | codeparrot/github-code |
dcf094f7f194d761f063748ab876436b7037ff2c740a31139d504c367e4575dd | package com.mingweisamuel.zyra.matchV4;
import com.google.common.base.Objects;
import java.io.Serializable;
import java.lang.Object;
import java.lang.Override;
/**
* ParticipantStats.<br><br>
*
* This class was automatically generated from the <a href="http://www.mingweisamuel.com/riotapi-schema/openapi-3.0.0.min.... | Java | src/main/gen/com/mingweisamuel/zyra/matchV4/ParticipantStats.java | MingweiSamuel/Zyra | lgpl-3.0 | 22,002 | 653 | codeparrot/github-code |
e49bcf0ad9ea248b45dedb7bb1994170eb4786376516303f9599817ddc91542f | // -*-c++-*-
/***************************************************************************
pcombuilder.h
Interface for building a player command message
-------------------
begin : 16-FEB-2002
copyright : (C) 2... | C | src/pcombuilder.h | mhauskn/rcssserver | lgpl-3.0 | 3,901 | 127 | codeparrot/github-code |
ebb4a727c8a8a5afc8b1758c651018a0cd56109f02a03c7f9048c304a79305e9 | using System;
using System.Collections;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Globalization;
using System.Runtime.CompilerServices;
namespace Logging.Impl
{
/// <summary>
/// An implementation of <see cref="ILoggerFactory"/> that caches loggers created by the factory... | C# | LoggingApplicationBlock/Source/Logging.Impl/AbstractCachingLoggerFactory.cs | mishrsud/EnterpriseApplicationSamples | lgpl-3.0 | 3,870 | 126 | codeparrot/github-code |
46ff98ee8231c149513448629aecd29757896f036235837571a6c6d9269f2e2a | package be.kwakeroni.workshop.java9.solution;
import java.io.IOException;
import java.io.UncheckedIOException;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Arrays;
import java.util.List;
public class Main {
public static void main(String[] args) throws Exception {
new Main().ha... | Java | java9/solution/src/main/java/be/kwakeroni/workshop/java9/solution/Main.java | kwakeroni/workshops | lgpl-3.0 | 1,540 | 54 | codeparrot/github-code |
62710ca543ea8501d077b14d4d30808d1078f4483af2fadf73dac0a3bb081cbe | /*-------------------------------------------------------------------------------------------------
_______ __ _ _______ _______ ______ ______
|_____| | \ | | |______ | \ |_____]
| | | \_| | ______| |_____/ |_____]
Copyright (c) 2016, antsdb.com and/or its affiliates. All rights reserved. ... | Java | fish-server/src/main/java/com/antsdb/saltedfish/sql/vdm/StringLiteral.java | waterguo/antsdb | lgpl-3.0 | 1,832 | 62 | codeparrot/github-code |
ee29f062780abc48d426077504e9209b48c1af458d7f31dcaae0e4fcb486d0bd | # BlenderBIM Add-on - OpenBIM Blender Add-on
# Copyright (C) 2020, 2021 Maxim Vasilyev <qwiglydee@gmail.com>
#
# This file is part of BlenderBIM Add-on.
#
# BlenderBIM Add-on is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Softwar... | Python | src/blenderbim/blenderbim/bim/module/drawing/gizmos.py | IfcOpenShell/IfcOpenShell | lgpl-3.0 | 18,534 | 552 | codeparrot/github-code |
1f230ede264305f6327bde957e6d8b94491b3fbda8e9f5ccbbc498deadaca0a2 | /*
Copyright 2013-2021 Paul Colby
This file is part of QtAws.
QtAws 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 3 of the License, or
(at your option) any later v... | C | src/cloudwatchevents/listreplaysrequest_p.h | pcolby/libqtaws | lgpl-3.0 | 1,432 | 48 | codeparrot/github-code |
3246d4a0a588b61a4f714d41b6db78d4ebdd61e812eaecd706c3c6e9286cae52 | #region CodeMaid is Copyright 2007-2015 Steve Cadwallader.
// CodeMaid is free software: you can redistribute it and/or modify it under the terms of the GNU
// Lesser General Public License version 3 as published by the Free Software Foundation.
//
// CodeMaid is distributed in the hope that it will be useful, bu... | C# | CodeMaid/Logic/Cleaning/CodeCleanupManager.cs | AlkindiX/codemaid | lgpl-3.0 | 25,682 | 532 | codeparrot/github-code |
a53d44d3cde7325d89b34a138c943232c756b40f41be5f66a9bef4a24662c48a | #include <list>
#include <QGLFunctions>
#include <QGLBuffer>
#include <QPaintDevice>
#include <QSharedPointer>
#include <QColor>
#include <QMap>
#include "Scene/transformation.h"
#include "Scene/camera.h"
#include "Scene/scene.h"
#include "Scene/mesh.h"
#include "Scene/meshinstance.h"
#include "Scene/helpers.h"
#incl... | C++ | Renderer/glrenderer.cpp | lhethert/qgldemo | lgpl-3.0 | 15,398 | 519 | codeparrot/github-code |
f93a90adedd1c89d6576b89a632a41be76c461eaef0d935c9a480de6dae6b9d0 |
#include <math.h>
typedef struct AHRS{
float _omega_I[3];
float _omega_P[3];
float _omega_yaw_P[3];
float _omega[3];
float _omega_bias[3];
float _omega_I_sum_time;
float _quaternion[4];
float _euler[3];
float cbn11, cbn12, cbn13;
float cbn21, cbn22, cbn23;
float cbn31, cb... | C | FlightInWindTunnel.X/AHRS.c | matthewzhenggong/fiwt | lgpl-3.0 | 4,470 | 166 | codeparrot/github-code |
216d3731b2a18011d58ca1a5f99ae16edbb53677f510c4900136292e00165960 | //HappyEngine Copyright (C) 2011 - 2014 Evil Interactive
//
//This file is part of HappyEngine.
//
// HappyEngine 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 3 of the Lice... | C | src/HappyTools/HappySandBox/code/plugins/materialGenerator/system/MaterialGeneratorNodeTypes.h | EvilInteractive/happy-engine | lgpl-3.0 | 1,810 | 54 | codeparrot/github-code |
0ea41ae18e2d9705e04eb8748fd2055eb4a9c570d989d44917fd555797323bfb | <!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
<meta charset="utf-8"/>
<title> Phing API Documentation » \BaseFilterReader
</title>
<meta name="author" content=""/>
<meta name="description" ... | HTML | docs/api/docs/classes/BaseFilterReader.html | Singuliarity1/Proj | lgpl-3.0 | 59,665 | 946 | codeparrot/github-code |
61e32fbf88e0f8722d19f9afcea643d36d8ba2d40d2f0dca6500b5acd05bcb67 | // Catalano Imaging Library
// The Catalano Framework
//
// Copyright © Diego Catalano, 2015
// diego.catalano at live.com
//
// 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 Found... | Java | Catalano.Android.Image/src/Catalano/Imaging/Filters/Threshold.java | cswaroop/Catalano-Framework | lgpl-3.0 | 3,407 | 106 | codeparrot/github-code |
8a7e6fbf186700141be83d9f2bd76f7aad3d6af1dbcd0517e50f558436f00ec0 | #include "SDL2/SDL.h"
#include "SDL2_image/SDL_image.h"
#include "graphics.h"
#include <stdio.h>
void graphics_init(graphics_t *graphics, int width, int height, int bpp, void *args)
{
SDL_Window *window;
SDL_Init( SDL_INIT_EVERYTHING);
window = SDL_CreateWindow( "SDL Tutorial", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOW... | C | core/graphics_sdl.c | jia200x/ZephyrJC | lgpl-3.0 | 1,789 | 80 | codeparrot/github-code |
02d5edd7a070dd5371861aed0f78af680a774873fe3798a8bb3110b22f5185db | /*--------------------------------------------------------------------------*
BinaryNumberTest.cpp
This test file provides some examples of using WinUnit, by testing a
"BinaryNumber" class. The BinaryNumber class has two constructors:
one takes a string consisting of '1' and '0' characters; the oth... | C++ | src/Cfix.Addin/testsolutions/WinUnit/TestSampleLib/BinaryNumberTest.cpp | jpassing/visualassert | lgpl-3.0 | 11,916 | 279 | codeparrot/github-code |
689b198bbce8a7992783301332aab29015ef145ab4cb4a8bdb6f145cece6461e | // <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="Daniel Grunwald" email="daniel@danielgrunwald.de"/>
// <version>$Revision$</version>
// </file>
using System;
using System.Collections.Generic;
using System.IO;
using ICSharpCode.Core;
us... | C# | samples/ICSharpCode.Core.Demo/AddInManager/Src/InstallableAddIn.cs | kingjiang/SharpDevelopLite | lgpl-3.0 | 3,447 | 124 | codeparrot/github-code |
647cf2640a48608ca18c47152c072d2b3ed6873b3f956c949b0e0e2f46d2f831 | /*
* SonarQube
* Copyright (C) 2009-2019 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program 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 3 of the License, o... | TypeScript | server/sonar-web/src/main/js/components/facet/__tests__/ListStyleFacet-test.tsx | Godin/sonar | lgpl-3.0 | 7,356 | 222 | codeparrot/github-code |
4ce4e7dbb090924bcd5800b5a675a1bd9070f0a27ecffc9be0674fd52b389739 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="generator" content="AsciiDoc 8.4.5" />
<title>modbus_rtu_get_serial_mod... | HTML | HLU/RoboControllerSDK/mod_EXTERN/libmodbus-3.0.1/doc/modbus_rtu_get_serial_mode.html | Myzhar/RoboController | lgpl-3.0 | 9,261 | 486 | codeparrot/github-code |
e5dfa1f5021740a708fc35a6a8649352ccb9c0001949a1320ee595611682c69c | require 'optparse'
require 'rack'
require_relative './handler'
module RackCocaine
class Server < Rack::Server
class Options
def parse!(args)
options = {}
opt_parser = OptionParser.new("", 24, ' ') do |opts|
opts.banner = "Usage: cocaine-rackup [ruby options] [rack o... | Ruby | lib/rack_cocaine/server.rb | fuCtor/rack-cocaine | lgpl-3.0 | 3,360 | 108 | codeparrot/github-code |
b85a20e927b8bcd2f48d8dcc39271a3eef89a7f547d3270fd9e6878bfc57e19c | /*
* Copyright (C) 2014 The AppCan Open Source Project.
*
* This program 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 3 of the License, or
* (at your option) any later versi... | Java | Engine/src/org/zywx/wbpalmstar/engine/EBrowserView.java | pingping-jiang6141/Engine-Master | lgpl-3.0 | 48,778 | 1,602 | codeparrot/github-code |
98308111ac7511c3f822b944fee3df09aef783be830c23be0c21f316cae93c52 | package ecologylab.serialization.deserializers.parsers.bibtex.entrytypes;
import ecologylab.serialization.annotations.bibtex_tag;
import ecologylab.serialization.annotations.bibtex_type;
import ecologylab.serialization.annotations.simpl_inherit;
import ecologylab.serialization.annotations.simpl_scalar;
import ec... | Java | src/ecologylab/serialization/deserializers/parsers/bibtex/entrytypes/BibTeXTechReport.java | ecologylab/ecologylabFundamental | lgpl-3.0 | 1,351 | 74 | codeparrot/github-code |
6b7c188a266bbded39c51d2f1c221596ce48b936d03cad2576fd0727b947d4eb | {-
- This file is part of Bilder.
-
- Bilder 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 3 of the License, or
- (at your option) any later version.
-
- Bilder i... | Haskell | src/TypeChecker/Inferring.hs | ingemaradahl/bilder | lgpl-3.0 | 8,196 | 229 | codeparrot/github-code |
2dd80156afa4d9ffcaff5abd47813f263375ac2a6373816a738e0dcf19dddd07 | /*****************************************************************************
The Dark Mod GPL Source Code
This file is part of the The Dark Mod Source Code, originally based
on the Doom 3 GPL Source Code as published in 2011.
The Dark Mod Source Code is free software: you can redistribute it
... | C | src/tools/radiant/SurfaceDlg.h | revelator/The-Darkmod-Experimental | lgpl-3.0 | 4,092 | 129 | codeparrot/github-code |
1449c060c23e02aa40bbae09d41938108e6d0a88d23634133ab55e26667bcb86 | using System;
using System.Runtime.Serialization;
using Sandbox.Common.ObjectBuilders;
namespace SEModAPIInternal.API.Entity.Sector.SectorObject.CubeGrid.CubeBlock
{
[DataContract( Name = "ConveyorBlockEntityProxy" )]
public class ConveyorBlockEntity : CubeBlockEntity
{
#region "Attributes"
public static strin... | C# | SEModAPIInternal/API/Entity/Sector/SectorObject/CubeGrid/CubeBlock/ConveyorBlockEntity.cs | Tyrsis/SE-Community-Mod-API | lgpl-3.0 | 846 | 31 | codeparrot/github-code |
87ea2974df52b9ca67e01fd172b026f7dcf1794bfb9de8e8054a2a67e3050591 | using System;
using System.Linq;
using NUnit.Framework;
namespace StringCalcKata
{
[TestFixture]
public class StringCalcKataTests
{
public StringCalculator Calculator;
[TestFixtureSetUp]
public void CreateCalculator()
{
Calculator = new StringCalculator();
... | C# | StringCalcKata/StringCalcKataTests.cs | StormPooper/CSharpKatas | unlicense | 2,171 | 73 | codeparrot/github-code |
538d82a000f5be10ffb9caf2a924bcba3e50f44b359285f2a88f37810e06a98a | angular.module('dnsControllers', ['dnsServices', 'dnsModels'])
.controller('dnsCtrl', function($scope, $location, socket, Hosts, Zone) {
$scope.dns = {
zone : Zone.get(),
hosts : Hosts.list()
};
socket.on('new:host', function (host) {
var found = false;
if ($sc... | JavaScript | dnsServer/public/js/controllers/dns-controller.js | binRick/thc.digital | unlicense | 1,158 | 37 | codeparrot/github-code |
52b183b1c81cbd9995e29643afd17cdd0be1563b8fdc51f128764e4c91813c72 | <?php
namespace Google\Service\Manager;
class FirewallModule extends \Google\Collection
{
protected $allowedType = 'Google\Service\Manager\AllowedRule';
protected $allowedDataType = 'array';
public $description;
public $network;
public $sourceRanges;
public $sourceTags;
public $targetTags;
public func... | PHP | libs/Google/Service/Manager/FirewallModule.php | inri13666/google-api-php-client-v2 | unlicense | 1,274 | 73 | codeparrot/github-code |
0cb8175297a8fca63dad06d7834ad3db95e9b349e5b58e8aea39f10349233a54 | /* libhs - public domain
Niels Martignène <niels.martignene@protonmail.com>
https://koromix.dev/libhs
This software is in the public domain. Where that dedication is not
recognized, you are granted a perpetual, irrevocable license to copy,
distribute, and modify this file as you see fit.
See the LIC... | C | src/libhs/array.h | Koromix/tytools | unlicense | 2,554 | 85 | codeparrot/github-code |
a7b0ac5c6e88d9dfa1226051d96c384f5a1c0bde5794d79ba4864a6ded60539b | /*
* NOTE: This copyright does *not* cover user programs that use HQ
* program services by normal system calls through the application
* program interfaces provided as part of the Hyperic Plug-in Development
* Kit or the Hyperic Client Development Kit - this is merely considered
* normal use of the program, and do... | Java | hq-util/src/main/java/org/hyperic/util/xmlparser/XmlParser.java | cc14514/hq6 | unlicense | 18,165 | 550 | codeparrot/github-code |
23084b8aa286c5fbc6c014af5f57dc37d5f2600d7bbbc9aef99adfb407836056 | # https://en.wikipedia.org/wiki/Treap
import random
import time
class Treap:
def __init__(self, key):
self.key = key
self.prio = random.randint(0, 1000000000)
self.size = 1
self.left = None
self.right = None
def update(self):
self.size = 1 + size(self.left) +... | Python | python/treap_bst.py | indy256/codelibrary | unlicense | 2,234 | 105 | codeparrot/github-code |
a193a3281834fa20088fa61d30982fbb914da58f03256e700d8ac88e72deaf51 | package android.support.v7.app;
import android.content.Context;
import android.content.res.Configuration;
import android.graphics.drawable.Drawable;
import android.support.v7.b.b;
import android.view.KeyEvent;
import android.view.View;
public abstract class a
{
public android.support.v7.b.a a(b paramb)
{
retu... | Java | allsrc/android/support/v7/app/a(1).java | clilystudio/NetBook | unlicense | 1,431 | 81 | codeparrot/github-code |
f49c49641d7c390bb2d393182025295e9aea802d3fceb93f018c831ab1784f33 | /**
* NOTE: This copyright does *not* cover user programs that use HQ
* program services by normal system calls through the application
* program interfaces provided as part of the Hyperic Plug-in Development
* Kit or the Hyperic Client Development Kit - this is merely considered
* normal use of the program, and d... | Java | hq-server/src/main/java/org/hyperic/hq/livedata/server/session/LiveDataCacheKey.java | cc14514/hq6 | unlicense | 2,028 | 66 | codeparrot/github-code |
1c94b0d125054119ddc9d08ef3f0698e4ee9b31e4016bd28ad13026915a98ff0 | <?php
App::uses('File', 'Utility');
class MinifyController extends CakeBootstrapAppController {
public $components = array(
'CakeBootstrap.AssetMinify',
'RequestHandler'
);
public function beforeFilter() {
parent::beforeFilter();
$this->Auth->allow(array(
'css',
'js'
));
/*
if ($this->requ... | PHP | Controller/MinifyController.php | brutesque/CakeBootstrap | unlicense | 2,070 | 87 | codeparrot/github-code |
428cbf6bf32cd29525d96078227c436a23a2509debd2963b3d19757ac6112436 | /*
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute
this software, either in source code form or as a compiled binary, for any
purpose, commercial or non-commercial, and by any means.
In jurisdictions that reco... | C | network/transport/include/zapata/transport/transport.h | naazgull/zapata | unlicense | 5,694 | 156 | codeparrot/github-code |
748644cf4593bd22a43ee038f572b84c95cce516a3a01889d1122e3a914c0eea | /*
* ImgHeaderCallback.java
*
* Copyright 2001-2007 Goldin-Rudahl Associates
*
* Created by Sally Goldin, 5/16/2001
*
* $Id: ImgHeaderCallback.java,v 1.20 2007/01/05 07:41:57 rudahl Exp $
* $Log: ImgHeaderCallback.java,v $
* Revision 1.20 2007/01/05 07:41:57 rudahl
* added Whatis info
*
* Revision 1.19 ... | Java | cpe-2015-projects/DragonCommon/javasrc/com/grs/dragon/ui/ImgHeaderCallback.java | patinyanudklin/git_testing | unlicense | 9,258 | 298 | codeparrot/github-code |
709d1d156c236ca5d8e66e00f1ef25e220219420ed31b8846fd2eabea8804644 | %%
%% prog-folien
%%
%% Slides for my Java programming tutorial using LaTeX beamer.
%%
%% Copyright (c) 2015-2016 YouniS Bensalah <younis.bensalah@gmail.com>
%%
%% This work is released to the public domain.
%% For the full copyright and license information, please view the LICENSE file.
%%
%% LaTeX-Beamer template fo... | TeX | wise1516/slides-07.tex | younishd/kit-prog-tutorial | unlicense | 7,824 | 279 | codeparrot/github-code |
04b53585ae99cbe0134ccc13e173a7bb5d48a80b308feccd1b1db60e063debbb | #include "HashMap.h"
#include <benchmark/benchmark.h>
#include <string>
#include <tr1/unordered_map>
#include <map>
#include <utility>
using namespace snippet::algo;
static const std::string gs_str_value = "0123456789";
template<typename T>
struct GetValue;
template<>
struct GetValue<int>
{
static int Get()
... | C++ | cpp/algo/benchmark/HashMapInsertBenchmark.cpp | airekans/Snippet | unlicense | 1,906 | 91 | codeparrot/github-code |
705bedb47dd3ee384741b4ffdf6083f0b7ff2a81dc2afcb7e678371cd65fd865 | const fs = require("fs");
const assert = require("assert");
const testMngr = require("test/testManager");
const FormData = require("form-data");
describe("Document No Auth", function () {
let client;
before(async function () {
if (!testMngr.app.config.document) {
this.skip();
}
client = testMngr.... | JavaScript | server/src/plugins/document/testDocument.js | FredericHeem/starhackit | unlicense | 2,513 | 86 | codeparrot/github-code |
f5234f3cd14fdcfe78e2152870d6ee1b316d20ae40a5d0c3fb03067823d26a39 | #!/usr/bin/env python
"""
Largest product in a grid
Problem 11
Published on 22 February 2002 at 06:00 pm [Server Time]
In the 20x20 grid below, four numbers along a diagonal line have been marked in red.
The product of these numbers is 26 * 63 * 78 * 14 = 1788696.
What is the greatest product of four adjac... | Python | solutions/problem11.py | slowkid/EulerProject | unlicense | 5,822 | 135 | codeparrot/github-code |
7d49ef18d5b4faa1f2acd790e904f9fe73cfc0832b9498d4428095f7ceaa275e | #include <iostream>
#include <vector>
//merges two arrays
std::vector<int> merge(std::vector<int>& ar1,std::vector<int>& ar2,unsigned int& inv_count) {
unsigned int n=ar1.size();
unsigned int m=ar2.size();
std::vector<int> merged(n+m);
unsigned int a,b;
a=0;b=0;
for(unsigned int i=0;i<(n+m);++i) {
if... | C++ | algos/inv.cpp | lbovard/rosalind | unlicense | 1,432 | 68 | codeparrot/github-code |
84fbe2b8ac650b7dc3dbe33ef8245465f226e25b131d60b32b53014542afeb11 | // This is free and unencumbered software released into the public
// domain. For more information, see <http://unlicense.org> or the
// accompanying UNLICENSE file.
package navigator
import (
"fmt"
"go/ast"
"go/parser"
"go/token"
"io/ioutil"
"log"
"os"
"path/filepath"
"strings"
"sync"
"github.com/nelsam... | GO | navigator/toc_tree.go | nelsam/gxui_playground | unlicense | 11,823 | 489 | codeparrot/github-code |
b5dd7ae6ea5f572d94989f1f1694d869f024c430378969a2604f2accf256872f | /*
* cdfa_minimisation_intern.h
*
* Created on: 22 oct. 2017
* Author: juven
*/
#ifndef CDFA_MINIMISATION_INTERN_H_
#define CDFA_MINIMISATION_INTERN_H_
#include "../cdfa_edition_interface.h"
unsigned int **cdfa__new_matrix(const unsigned int height, const unsigned int width);
void cdfa__free_matrix(unsi... | C | src/Automaton_minimisation/cdfa_minimisation_intern.h | aJuvenn/cdfa | unlicense | 993 | 39 | codeparrot/github-code |
866cb73af96585a7664caa6a649746cf7d6d4e395724cf640c76fff0953b1e91 | <?php
/*
This example demonstrates 1) usefulness of having a Closure-like class to represent anonymous classes; 2) technical capability of current PHP7 to handle these operations with anonymous classes. Therefore, it's the matter of having the required syntax because internal mechanisms are already in place and funct... | PHP | index.php | Katemare/ClassClosure-proof-of-concept | unlicense | 3,498 | 58 | codeparrot/github-code |
821065c5ba427359db4e8d054b8544afa3b90ee6d87462e005105f658c7406af | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package model;
import controller.GestorLocalidad;
import java.util.ArrayList;
import org.w3c.dom.Document;
/**
*
* @author soriagal
*/
public class ManejadorUbicar {
private WebUbicar webUbicar;
private Ges... | Java | Source/WeatherService/src/model/ManejadorUbicar.java | facundofarias/iBee | unlicense | 1,255 | 43 | codeparrot/github-code |
9e61c40b6adc5b2717c5f2051b64dbe744b04efbb1668926522055464fdac6a6 | namespace SiteAccess.Model
{
// Bets for pinnacle
public enum OddsFormat
{
American,
Decimal,
Hongkong,
Indonesian,
Malay
}
public enum WinRiskType
{
Win,
Risk
}
public enum BetType
{
Moneyline,
... | C# | WinParse/SiteAccess/Model/PinnacleEnums.cs | bbenetskyy/WinParse | unlicense | 571 | 41 | codeparrot/github-code |
10f870225a5facd24e89f8291dfb336decddf0fdd4656ba956d313183fa9a903 | import _ from 'lodash';
import React from 'react';
import Reflux from 'reflux';
import { Navigation } from 'react-router';
import recipeActions from 'actions/recipe';
import recipeStore from 'stores/recipe';
import SapCalculator from 'components/sapCalculator';
import FormSaveRecipe from 'components/formSaveRecipe';
... | JavaScript | src/app/views/recipeEdit.js | nazar/soapee-ui | unlicense | 3,163 | 111 | codeparrot/github-code |
e2b00c28985490602a6f95d6e09b3b820cb27d45d6d106886d59ea610d3e6487 | from ..parsers.errors import ErrorResponse
from warnings import warn
def raise_for_error(f):
"""
Wrapper method to parse any error response and raise the ErrorResponse instance if an error is encountered.
:param f:
:return:
"""
def inner(*args, **kwargs):
warn('`raise_for_error` is de... | Python | mwstools/requesters/base.py | ziplokk1/python-amazon-mws-tools | unlicense | 920 | 33 | codeparrot/github-code |
4c1287084d673ac39dba9417e7fcebdb519b08ee6515a4535c3f18d130a1e85e | /*
* SmartGWT Mobile
* Copyright 2008 and beyond, Isomorphic Software, Inc.
*
* SmartGWT Mobile is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version 3
* as published by the Free Software Foundation. SmartGWT Mobile is also
* available unde... | Java | mobile/src/main/java/com/smartgwt/mobile/client/widgets/toolbar/ToolStripButton.java | will-gilbert/SmartGWT-Mobile | unlicense | 2,366 | 78 | codeparrot/github-code |
a5ec03e56e2b35e2021eaa95bce0e86e0d9efb3976e273963e6b42022461b86c | package fr.mvanbesien.projecteuler.from001to020;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Callable;
public class Problem015 implements Callable<Long> {
public static void main(String[] args) throws Exception {
long nanotime = System.nanoTime();
System.out.println("Answer is... | Java | fr.mvanbesien.projecteuler/src/main/java/fr/mvanbesien/projecteuler/from001to020/Problem015.java | mvanbesien/projecteuler | unlicense | 845 | 34 | codeparrot/github-code |
eb4104c299598f4f022d42dcfdd508500af9db04225defb49cc3d05839d725f9 | package bronz.accounting.bunk.ui.model;
import java.util.Calendar;
import java.util.GregorianCalendar;
import javax.swing.table.AbstractTableModel;
import bronz.accounting.bunk.ui.panel.CalendarPanel;
import bronz.utilities.custom.CustomCalendar;
import bronz.utilities.general.DateUtil;
public class CalendarTableMo... | Java | java/BunkAccountingApplication/BunkAccountingSwingApp/src/main/java/bronz/accounting/bunk/ui/model/CalendarTableModel.java | robbinmathew/centbunk | unlicense | 2,231 | 100 | codeparrot/github-code |
d2a07a6dbc3705c7272549cd32b7015f8fce7e05d8df63aecc2584ca856b7a25 | var AppGlobal = {
exposePrivateVariablesForTesting: true
};
var testableObject = function (exposePrivateVariablesForTesting) {
var _privateVar = "can't see this";
var _publicVar = "we see this fine";
function _privateFunction() {
console.log("Executed Private");
}
function _exposedFu... | JavaScript | JurassicPlayground/Scripts/RevealingModuleVariant.js | Grax32/JurassicPlayground | unlicense | 896 | 39 | codeparrot/github-code |
cb2ab1e7db4980db8a7b9195396b4eedf56a31f64ae0f02f5a5a40a4e61a73fe | package reductions
import scala.annotation._
import org.scalameter._
import common._
object ParallelParenthesesBalancingRunner {
@volatile var seqResult = false
@volatile var parResult = false
val standardConfig = config(
Key.exec.minWarmupRuns -> 40,
Key.exec.maxWarmupRuns -> 80,
Key.exec.benchR... | Scala | parprog1/reductions/src/main/scala/reductions/ParallelParenthesesBalancing.scala | masipauskas/coursera-scala | unlicense | 2,711 | 89 | codeparrot/github-code |
c665280479b2602901804ff739ae86a1e152d2f8de93c441af0667ccfe7f5c81 | #!/usr/bin/env python
# -.- coding: utf-8 -.-y
import random
import socket
import os
import time
import threading
import Queue
import sys
import argparse
from multiprocessing import Process
print """\33[91m
═════════════════════════════════════════════════════════
███████ ██████ ███████
... | Python | ChatRoom 1.0/ChatRoom1.0Doser.py | YodaBytePrograming/ChatRoom | unlicense | 7,795 | 241 | codeparrot/github-code |
d6244eac370ae6124a78f58aec825a549ff2619172266fca3e7c911cb0624bf7 | package discord.jar;
import java.awt.*;
import java.util.ArrayList;
import java.util.List;
public class EmbedBuilder {
private String title;
private String type;
private String description;
private String url;
private Color color;
private Embed.EmbedFooter footer;
private Embed.EmbedImage ... | Java | src/main/java/discord/jar/EmbedBuilder.java | discord-java/discord.jar | unlicense | 3,220 | 120 | codeparrot/github-code |
0489b68e27c3f46495841e5f2eb61829c1d4e61b7b87ca85515e9973767a1c6b | #include "version.h"
#include <boost/filesystem/operations.hpp>
#include <iostream>
#define PCRE2_CODE_UNIT_WIDTH 8
#include <pcre2.h>
#include "file.h"
#include "options.h"
#include "parser.h"
using namespace boost::filesystem;
using namespace std;
int errorcode;
PCRE2_SIZE erroffset;
inline unsigned int match(Pa... | C++ | src/main.cpp | SkyCorvette/TechLog | unlicense | 4,535 | 141 | codeparrot/github-code |
7680380831d9fb8894d658051783656a87b4eeb555ced10fe3febcc74707d889 | using System.Linq;
using System.Web.Mvc;
using Microsoft.Practices.Unity.Mvc;
[assembly: WebActivatorEx.PreApplicationStartMethod(typeof(ServiceLayer.App_Start.UnityWebActivator), "Start")]
[assembly: WebActivatorEx.ApplicationShutdownMethod(typeof(ServiceLayer.App_Start.UnityWebActivator), "Shutdown")]
namespace Ser... | C# | ServiceLayer/App_Start/UnityMvcActivator.cs | d3nz1l/DoggySites | unlicense | 1,457 | 34 | codeparrot/github-code |
924eab571a63b6e5ea3629128f90d0fdcb40590c989551a008b66a9b1b6a3cb9 | #!/usr/bin/env python
"""
Assorted utilities for manipulating latitude and longitude values
"""
from __future__ import unicode_literals
__version__ = "1.4"
import math, struct
def signbit(value):
"""
Test whether the sign bit of the given floating-point value is
set. If it is set, this generally mean... | Python | hazpy/unit_conversion/lat_long.py | NOAA-ORR-ERD/hazpy.unit_conversion | unlicense | 11,710 | 360 | codeparrot/github-code |
948b963e00245205f5775534cfc737735af2ece0165433543611745a2c38d80e | package cz.muni.fi.pv243.et.model;
import org.hibernate.annotations.LazyCollection;
import org.hibernate.annotations.LazyCollectionOption;
import org.hibernate.search.annotations.Field;
import org.hibernate.search.annotations.Indexed;
import org.hibernate.search.annotations.IndexedEmbedded;
import java.io.Serializabl... | Java | project/project-et-ejb/src/main/java/cz/muni/fi/pv243/et/model/ExpenseReport.java | rsmeral/pv243-jboss | unlicense | 4,903 | 203 | codeparrot/github-code |
26bc4b85dc7816abf6c5adfe251f46a113a3a626d32e7c59d7ce61a6ff7aada0 | <?php
namespace Google\Service\Calendar;
class Colors extends \Google\Model
{
protected $calendarType = 'Google\Service\Calendar\ColorDefinition';
protected $calendarDataType = 'map';
protected $eventType = 'Google\Service\Calendar\ColorDefinition';
protected $eventDataType = 'map';
public $kind;
public $u... | PHP | libs/Google/Service/Calendar/Colors.php | inri13666/google-api-php-client-v2 | unlicense | 890 | 52 | codeparrot/github-code |
17909ef9d15fb23bba48099e9b80e6d55ebe5ef133fe153886e2dd897097bb19 | using Lib.Graph;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Lib.Extensions;
namespace _079
{
/// <summary>
/// A common security method used for online banking is to ask the user for three random characters from a ... | C# | 079/Program.cs | nadrees/ProjectEuler | unlicense | 1,406 | 45 | codeparrot/github-code |
f9ca446b3d4ae0d21f7359ee47e34b24129db705e0e1ffb021ba8cb93a6e1f5c | package com.ushaqi.zhuishushenqi.util;
import com.ushaqi.zhuishushenqi.a.e;
import com.ushaqi.zhuishushenqi.api.ApiService;
import com.ushaqi.zhuishushenqi.api.b;
import com.ushaqi.zhuishushenqi.model.ResultStatus;
final class l extends e<String, Void, ResultStatus>
{
private l(k paramk)
{
}
private static R... | Java | allsrc/com/ushaqi/zhuishushenqi/util/l(1).java | clilystudio/NetBook | unlicense | 833 | 33 | codeparrot/github-code |
ef102ad5d92a9adfebe82356471e9e06ec4032a64332304febfd6879d55aa693 | /// @file SNIIS_Mac.cpp
/// Mac OSX implementation of input system
#include "SNIIS_Mac.h"
#include "SNIIS_Intern.h"
#if SNIIS_SYSTEM_MAC
using namespace SNIIS;
// --------------------------------------------------------------------------------------------------------------------
// Constructor
MacInput::MacInput(id ... | C++ | SNIIS_Mac.cpp | Schrompf/sniis | unlicense | 11,937 | 348 | codeparrot/github-code |
9cd9ba38f16dc68f1e8dce1caa07042af5b4726f58adaa9289418eb8c2a189a9 | #include "cpp_header.h"
class Solution {
public:
int lengthOfLIS(vector<int>& nums)
{
vector<int> lens(nums.size(), 1);
int longest = 0;
for(int i = 0; i < nums.size(); i++)
{
for(int j = 0; j < i; j++)
{
if(nums[i] > nums[j])
{
lens[i] = max(lens[i], lens[j] + 1);
}
}
if(longes... | C++ | leetcode/docu/300.cpp | sczzq/symmetrical-spoon | unlicense | 1,318 | 85 | codeparrot/github-code |
f326583ac09797f06d37ba91343e2ab0112814902b0ec724e2253dfc198a8f21 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Verse;
using RimWorld;
using Verse.AI;
namespace MountainMiner
{
class JobDriver_DrillUp : JobDriver
{
const int ticks = GenDate.TicksPerDay;
Building_MountainDrill comp => (Building_MountainDrill)Targe... | C# | HcSK-HK/Mods/MountainMiner/Source/JobDriver_DrillUp.cs | hunt3rkill3r/HcSK-HK | unlicense | 1,618 | 46 | codeparrot/github-code |
bcf9c966facfdccda5d4e572aa3f747ac0588db4ff1ce7ba5ba2bdfd813f1bcc | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace MakerFarm.Models
{
public class Print
{
public long PrintId { get; set; } /* Generic Id for the Print Job */
[Display(Name = "File Name", Description = "The file name of the print submitted"... | C# | MakerFarm/Models/PrintModel.cs | wildbillcat/MakerFarm | unlicense | 5,295 | 95 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.