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 |
|---|---|---|---|---|---|---|---|---|
25f077e3a6898f6f9404ff00cbb46de89809de94204d2bb0db0d5415f70980cf | /******************************************************************************
*******************************************************************************
*******************************************************************************
libferris
Copyright (C) 2001 Ben Martin
libferris is free software... | C++ | FerrisUI/UAsyncIO.hh | monkeyiq/ferris | gpl-3.0 | 3,389 | 102 | codeparrot/github-code |
60f7ac2ff011353de2586531cc050f09c33524d5e6275bedc255cf119bde0ef5 | /*!
* tablesorter pager plugin
* updated 5/27/2013
*/
/*jshint browser:true, jquery:true, unused:false */
;(function($) {
"use strict";
/*jshint supernew:true */
$.extend({ tablesorterPager: new function() {
this.defaults = {
// target the pager markup
container: null,
// use this format: "http://myd... | JavaScript | qtlviewer/static/jquery.tablesorter/addons/pager/jquery.tablesorter.pager.js | churchill-lab/qtl-viewer | gpl-3.0 | 21,755 | 639 | codeparrot/github-code |
30a9c8b5eba15a62bc65b75cdf2a7b249c9835a5fec84dbc06ee6feaf14627a3 | # ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 3
# of the License, or (at your option) any later version.
#
# This program is distrib... | Python | __init__.py | digicreatures/rigacar | gpl-3.0 | 7,661 | 221 | codeparrot/github-code |
69143586a4177cd7bca08f027092a2031f63d939d424f0f022d8f72279ca1ceb | /*
* Copyright (C) 2017 Team Gateship-One
* (Hendrik Borghorst & Frederik Luetkes)
*
* The AUTHORS.md file contains a detailed contributors list:
* <https://github.com/gateship-one/malp/blob/master/AUTHORS.md>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of... | Java | app/src/main/java/org/gateshipone/malp/application/background/NotificationManager.java | Sohalt/malp | gpl-3.0 | 20,104 | 470 | codeparrot/github-code |
bdaa4ac95dfc70d5b679214a8daca1b4c5865255b80ac0e24fde795dafb46985 | package com.idega.builder.presentation;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import javax.ejb.FinderException;
import com.idega.builder.business... | Java | src/java/com/idega/builder/presentation/AddModuleBlock.java | idega/com.idega.builder | gpl-3.0 | 8,828 | 268 | codeparrot/github-code |
6ce1c4ca7b90e66e401f60865823fefe8e086c90f6735bd4127d886d699221a6 | /*
* ScrInputStream.java
* Copyright 2012 Patrick Meade
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
*... | Java | src/main/java/com/rpgsheet/xcom/io/ScrInputStream.java | blinkdog/xcom | gpl-3.0 | 1,727 | 53 | codeparrot/github-code |
ed99e36bdc6f2ae6da799b215fc69e183319f7c566a5374908778318c0784535 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
Uses of Interface org.apache.poi.sl.usermodel.ConnectorShape (POI API Documentation)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITL... | HTML | CSC 445 WebCentric Programming/Final Project/poi-3.14/docs/apidocs/org/apache/poi/sl/usermodel/class-use/ConnectorShape.html | jmemmons/university-assignments | gpl-3.0 | 14,292 | 283 | codeparrot/github-code |
d12c51303f1f51121509dc5e91a3f14a0a51caa9c1f1aead4c14607ef78d4667 | #!/usr/bin/python3
# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*-
#
# Copyright (C) 2016 Canonical Ltd
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 3 as
# published by the Free Software Foundation.
#
# This program is d... | Python | snapcraft/_schema.py | jonathon-love/snapcraft | gpl-3.0 | 2,896 | 89 | codeparrot/github-code |
77e7362fb7bfe3b27d4e03536a05a780090352520438500dd3f54bc26261ce79 | /*
* A JavaScript implementation of the SHA256 hash function.
*
* FILE: sha256.js
* VERSION: 0.8
* AUTHOR: Christoph Bichlmeier <informatik@zombiearena.de>
*
* NOTE: This version is not tested thoroughly!
*
* Copyright (c) 2003, Christoph Bichlmeier
* All rights reserved.
*
* Redistribution and use in source and binary... | JavaScript | Whiteboard/WebContent/sha256.js | smit-happens/WhiteboardProject | gpl-3.0 | 7,554 | 252 | codeparrot/github-code |
f890a882b3444799d3534f37baee9e1d1fa65084eda64c0b8d725e54b3737daf | package org.thoughtcrime.securesms.util;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Bitmap.CompressFormat;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.ImageFormat;
import android.graphics.Rect;
import android.graphics.YuvIm... | Java | app/src/main/java/org/thoughtcrime/securesms/util/BitmapUtil.java | stinsonga/Signal-Android | gpl-3.0 | 18,105 | 477 | codeparrot/github-code |
30f7c174e2f0ab5b06bc594efd7b5cc75e836c795a1b22591dd0806c50c2823f | /*
shapeblobs - 3D metaballs in a shaped window
Copyright (C) 2016 John Tsiombikas <nuclear@member.fsf.org>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at yo... | C | src/blobs.c | jtsiomb/shapeblobs | gpl-3.0 | 6,437 | 256 | codeparrot/github-code |
9e88ae61a0b2f84788c5e26dd223e4286ae0a9424e26e52343efcf228a68385d | /*
Copyright (C) 2012-2014 de4dot@gmail.com
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, m... | C# | De4dot.JustDecompile/De4dot/sources/dnlib/src/DotNet/Writer/Win32ResourcesChunk.cs | telerik/justdecompile-plugins | gpl-3.0 | 19,494 | 538 | codeparrot/github-code |
bd5d179bccfdd2c4050aba079773acc2598c517e5decbf33ff481dd3318e4d44 | <HTML>
<BODY BGCOLOR="white">
<PRE>
<FONT color="green">001</FONT> package org.apache.lucene.demo;<a name="line.1"></a>
<FONT color="green">002</FONT> <a name="line.2"></a>
<FONT color="green">003</FONT> /*<a name="line.3"></a>
<FONT color="green">004</FONT> * Licensed to the Apache Software Foundation (AS... | HTML | lib/lucene-4.0.0/docs/demo/src-html/org/apache/lucene/demo/SearchFiles.html | dburgmann/fbRecommender | gpl-3.0 | 21,915 | 306 | codeparrot/github-code |
f1b129035462a60088002e853f76a6d0630f64550ffa1e1d635871b2a9e60526 | package p09_CollectionHierarchy;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader ... | Java | Java Fundamentals-Sep17/Java_OOP_Advanced/t01_InterfacesAndAbstraction_E/src/p09_CollectionHierarchy/Main.java | kostovhg/SoftUni | gpl-3.0 | 1,874 | 48 | codeparrot/github-code |
b723c41fc64e1ef8405101b1d8bf16802cd375479a2b51e6fe7fd7041754811f | // Copyright 2009-2014 Josh Close and Contributors
// This file is a part of CsvHelper and is licensed under the MS-PL
// See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html
// http://csvhelper.com
using System;
using System.Collections.Generic;
using System.Linq;
namespace CsvH... | C# | CsvHelper261-master/src/CsvHelper/Configuration/CsvClassMapCollection.cs | worldexplorer/SquareOne | gpl-3.0 | 2,626 | 96 | codeparrot/github-code |
e381c0154b9e19b7baa7b4fd0b54c312f10b1a6b7dfa54bd10b06f42b258342a | /*
* AutoSIM - Internet of Things Simulator
* Copyright (C) 2014, Aditya Yadav <aditya@automatski.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the Licens... | Java | AutoSIM-Environments/src/com/automatski/autosim/environments/utils/GsonUtils.java | adityayadav76/internet_of_things_simulator | gpl-3.0 | 1,519 | 48 | codeparrot/github-code |
3d094642a0e554ab728345947ca1e173cd0737c4178869149b2bfc05a0a0d7f6 | /*****************************************************************************
* Copyright (c) 2014-2020 OpenRCT2 developers
*
* For a complete list of all authors, please refer to contributors.md
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
*
* OpenRCT2 is licensed under the GNU Gener... | C++ | src/openrct2/actions/FootpathRemoveAction.cpp | LRFLEW/OpenRCT2 | gpl-3.0 | 5,661 | 186 | codeparrot/github-code |
00c0dd5aaeafc043f48105ebca4c083a1f95b91d691ade45ec0aa713f7898c70 | <?php
/* Copyright (C) 2001-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2014 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005 Eric Seigne <eric.seigne@ryxeo.com>
* Copyright (C) 2005-2015 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2006 An... | PHP | htdocs/product/price.php | philippe-opendsi/dolibarr | gpl-3.0 | 75,425 | 1,897 | codeparrot/github-code |
539966ea5e5eb4c6dd90dffc735f08567a57e30bbd9920d0475597cd9ea08c49 | /*
Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments
Copyright (C) ITsysCOM GmbH
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at yo... | GO | services/sessions.go | rinor/cgrates | gpl-3.0 | 4,470 | 164 | codeparrot/github-code |
3051fbbf7338cd69cd5c30a755f77d72a5d4906d33b9e704ddcd8ec685f83b7f | <?php
class ControllerCommonHeader extends Controller {
protected function index() {
if (($this->request->server['REQUEST_METHOD'] == 'POST') && isset($this->request->post['language_code'])) {
$this->session->data['language'] = $this->request->post['language_code'];
if (isset($this->request->post['red... | PHP | upload/catalog/controller/common/header.php | MariusRugan/OpenCart-Secured | gpl-3.0 | 7,192 | 207 | codeparrot/github-code |
e2def2cc8b4eba6251880fc697cf87fc6f1ff829a32bb6bfae1366a49ce186a6 | <?php
// Exit if accessed directly
if ( !defined('ABSPATH')) exit;
/**
* Blog Template
*
Template Name: Blog Excerpt (summary)
*
* @file blog-excerpt.php
* @package Responsive
* @author Emil Uzelac
* @copyright 2003 - 2013 ThemeID
* @license license.txt
* @version ... | PHP | blog-excerpt.php | teamblueridge/tbr-responsive | gpl-3.0 | 2,786 | 96 | codeparrot/github-code |
065966ae6f499bd5faf93c7f20424b76839a6625a140d0de1c713b2d8559870d | /**
* MegaMek - Copyright (C) 2004,2005 Ben Mazur (bmazur@sev.org)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
* any later ve... | Java | megamek/src/megamek/common/weapons/battlearmor/ISBAERSmallLaser.java | chvink/kilomek | gpl-3.0 | 1,993 | 65 | codeparrot/github-code |
503a1c01730b5e36122978768a8a0b6a7d76962c9d58309e71eb1b8895878a8b | <?php
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
* Copyright (c) 2001-2006 *
* ... | PHP | plugins/forms_et_tables_2_0/inc/forms_safehtml_191.php | VertigeASBL/DLPbeta | gpl-3.0 | 1,799 | 54 | codeparrot/github-code |
67e8216dfcb7e3999a47fbe5a5ae697c1a7ea356d3b7fa91841c8a2ae26a7ae9 | #include <lv2/lv2plug.in/ns/lv2core/lv2.h>
#include <lv2/lv2plug.in/ns/ext/atom/atom.h>
#include <lv2/lv2plug.in/ns/ext/atom/util.h>
#include <lv2/lv2plug.in/ns/ext/log/log.h>
#include <lv2/lv2plug.in/ns/ext/log/logger.h>
#include <lv2/lv2plug.in/ns/ext/midi/midi.h>
#include <lv2/lv2plug.in/ns/ext/urid/urid.h>
#includ... | C | lv2/boucle.c | ssssam/boucle | gpl-3.0 | 11,845 | 438 | codeparrot/github-code |
44f01f29471275579030e12c68fc2a43e060b8eaac54ea177e1166fb72c5b244 | /*! \file
\brief Declaration of the upnp_call_addport_t
*/
#ifndef __NEOIP_UPNP_CALL_ADDPORT_HPP__
#define __NEOIP_UPNP_CALL_ADDPORT_HPP__
/* system include */
/* local include */
#include "neoip_upnp_call_addport_cb.hpp"
#include "neoip_upnp_call_cb.hpp"
#include "neoip_tokeep_check.hpp"
#include "neoip_c... | C++ | src/neoip_upnp/call/call_addport/neoip_upnp_call_addport.hpp | jeromeetienne/neoip | gpl-3.0 | 1,877 | 59 | codeparrot/github-code |
e1093bef5a6d42a59b059369a2d41e6f4d2a2d7c4b65a7f84b235ac54aa762c9 | package wehavecookies56.kk.item.recipes;
import java.util.List;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.util.Resou... | Java | kk_common/wehavecookies56/kk/item/recipes/ItemSweetMemoriesRecipe.java | Wehavecookies56/Kingdom-Keys | gpl-3.0 | 1,149 | 34 | codeparrot/github-code |
bc2ebf2393eee4fb15665438df481800925d2a44d80ba48cdba9180ce45929a7 | from d51.django.auth.decorators import auth_required
from django.contrib.sites.models import Site
from django.http import Http404, HttpResponseRedirect
from django.shortcuts import render_to_response
from django.template import RequestContext
from django.core.exceptions import ImproperlyConfigured
from .services import... | Python | d51/django/apps/sharing/views.py | domain51/d51.django.apps.sharing | gpl-3.0 | 1,793 | 47 | codeparrot/github-code |
1696ec135200be91ea5401b2b006dd970115332d718a182c02929d0f4c7ed430 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>: The Validation Plugin</title>
<!-- guides styles -->
<link rel="stylesheet" type="text/css" href="stylesheets/style.css" />
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print" />
<link rel="stylesheet" t... | HTML | _old/www/js/alohaeditor-0.23.3/doc/guides/plugin_validation.html | lhl/pensieve | gpl-3.0 | 18,304 | 328 | codeparrot/github-code |
6cf75ec279cac2043ae157d5205f63f12921583c5d4f8a3bf357baeb8ed3aa2c | #!/usr/bin/python3
import gpxpy
import datetime
import time
import os
import gpxpy.gpx
import sqlite3
import pl
import re
DATE_FORMAT = '%Y-%m-%dT%H:%M:%SZ'
filebase = os.environ["XDG_DATA_HOME"]+"/"+os.environ["APP_ID"].split('_')[0]
def create_gpx():
# Creating a new file:
# --------------------
gpx = g... | Python | py/geepeeex.py | VictorThompson/ActivityTracker | gpl-3.0 | 5,539 | 184 | codeparrot/github-code |
88d5d7b7fd1431a967afecc1d51776e97cdc5dcfb4478e4db70bbdce66474b1f | /**
* Diese Datei ist Teil des Alexa Skills Rollenspiel Soloabenteuer.
* Copyright (C) 2016-2017 Ferenc Hechler (github@fh.anderemails.de)
*
* Der Alexa Skills Rollenspiel Soloabenteuer ist Freie Software:
* Sie koennen es unter den Bedingungen
* der GNU General Public License, wie von der Free Software Foundati... | Java | RoleplayMaster/RoleplayEngine/src/main/java/de/hechler/soloroleplay/data/Opponent.java | ferenc-hechler/RollenspielAlexaSkill | gpl-3.0 | 4,316 | 133 | codeparrot/github-code |
195e614796dc74874c921045377ece2dcd0014f488ba9e733b6a16fa2f2c69b6 | /*
Copyright 2014 Travel Modelling Group, Department of Civil Engineering, University of Toronto
This file is part of XTMF.
XTMF 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 versio... | C# | Code/TMG.Emme/ExtraAttributeContextManager.cs | TravelModellingGroup/XTMF | gpl-3.0 | 6,731 | 201 | codeparrot/github-code |
53d3a2237882cf86c771c6d78d94b908772618b52188b1ce89134d5c9b84f944 | // Copyright 2010 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... | C++ | QMOLEDEV/node/deps/v8/src/deoptimizer.cc | chriskmanx/qmole | gpl-3.0 | 37,813 | 1,146 | codeparrot/github-code |
50b5abe1a259f5c9bc388b3c221c1bff76d7c8886d184cbfe646c0fe8fed0d9e | /*
* Copyright (C) 2021 Inera AB (http://www.inera.se)
*
* This file is part of sklintyg (https://github.com/sklintyg).
*
* sklintyg 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 t... | JavaScript | test/acceptance/features/steps/soap/SendMessageToCare.js | sklintyg/webcert | gpl-3.0 | 4,555 | 121 | codeparrot/github-code |
3934f36444b94189013865bc294b3a4e3767065b20b16769e63f65c5cf53cc44 | /* The LibVMI Library is an introspection library that simplifies access to
* memory in a target virtual machine or in a file containing a dump of
* a system's physical memory. LibVMI is based on the XenAccess Library.
*
* Copyright 2011 Sandia Corporation. Under the terms of Contract
* DE-AC04-94AL85000 with San... | C | libvmi/driver/xen/xen.h | masthoon/libvmi | gpl-3.0 | 4,705 | 155 | codeparrot/github-code |
ee5c4f8148df1111ebbd8e0bbcce3a7213b3ad261d4f189522afd97ab32150e9 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
ObservationServiceImpl (Geosoftware II 2.0.0-SNAPSHOT API)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HR... | HTML | doc/JavaDoc/org/sloth/service/impl/ObservationServiceImpl.html | autermann/geosoftware | gpl-3.0 | 61,670 | 1,082 | codeparrot/github-code |
118ff074550043137a31fc689db226f59935c63ca81124ad408fb11b3fcace9f | package ihl.processing.metallurgy;
import ic2.core.ContainerBase;
import ic2.core.slot.SlotInvSlot;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.Slot;
public class DetonationSprayingMachineContainer extends ContainerBase<DetonationSprayingMachineTileEntity> {
protected... | Java | src/main/java/ihl/processing/metallurgy/DetonationSprayingMachineContainer.java | Foghrye4/ihl | gpl-3.0 | 1,679 | 40 | codeparrot/github-code |
cf2a35ad18930adc24a6cd61f1c17991cd3a6b31e8b8bc9f489547f01af3ea57 | // Package parameters parses json into parameters object
// usage:
// 1) parse json to parameters:
// parameters.MakeParsedReq(fn http.HandlerFunc)
// 2) get the parameters:
// params := parameters.GetParams(req)
// val := params.GetXXX("key")
package parameters
import (
"bytes"
"context"
"encoding/base64"
"en... | GO | params.go | BakedSoftware/go-parameters | gpl-3.0 | 17,740 | 759 | codeparrot/github-code |
6282c9bc3d2ca46e1ca7b7b1bf7c00032e7452b809fc81bb31912a0285e3b93e | package edu.cmu.sv;
import edu.cmu.sv.database.Ontology;
import edu.cmu.sv.dialog_management.DialogRegistry;
import edu.cmu.sv.domain.DatabaseRegistry;
import edu.cmu.sv.domain.DomainSpec;
import edu.cmu.sv.domain.NonDialogTaskRegistry;
import edu.cmu.sv.domain.smart_house.SmartHouseDatabaseRegistry;
import edu.cmu.sv... | Java | yoda/src/test/java/edu/cmu/sv/TestRegexPlusKeywordUnderstander.java | kperisetla/YODA | gpl-3.0 | 7,088 | 174 | codeparrot/github-code |
6688213bd37632570fa8a011f35ae993123e0a222f32708138b4b0142e0e5020 | /******************************************************************************
*
* $Id: $
*
*
* Copyright (C) 1997-2012 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No re... | C++ | thirdparty/doxygen-1.8.1.2/src/latexdocvisitor.cpp | TextusData/Mover | gpl-3.0 | 45,222 | 1,760 | codeparrot/github-code |
67c4bc611dbab3347969afb598b77a384fd8ac8fb296d0050805e01e806bc643 | // mauIRC - The original mauIRC web frontend
// Copyright (C) 2016 Tulir Asokan
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any la... | GO | ui/history.go | tulir/mauirc | gpl-3.0 | 2,486 | 75 | codeparrot/github-code |
80925ae84e558f168922d6f3fd2670bb4efeb39ca70703778dfae131970440ec | package org.jumpmind.metl.core.ui.views.custom;
import com.vaadin.server.Resource;
import org.jumpmind.db.model.Table;
import org.jumpmind.db.platform.IDatabasePlatform;
import org.jumpmind.properties.TypedProperties;
import org.jumpmind.vaadin.ui.sqlexplorer.DbTree;
import org.jumpmind.vaadin.ui.sqlexplorer.... | Java | metl-patch-db2-97/src/main/java/org/jumpmind/metl/core/ui/views/custom/CustomDbTreeNode.java | awol2010ex/metl | gpl-3.0 | 6,297 | 225 | codeparrot/github-code |
17fb4e79aa3001041dfb8d8760bff87899b235df4c41d71e3f280e32c80b347e | <?php
/**
*
* @package install
* @version $Id: functions_phpbb20.php,v 1.56 2007/07/27 17:33:15 acydburn Exp $
* @copyright (c) 2006 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* Helper functions for phpBB 2.0.x to phpBB 3.0.x conversion
*/
/**
* Set forum flag... | PHP | forum/install/convertors/functions_discuz60.php | wuts/xiaodoudian | gpl-3.0 | 46,340 | 1,750 | codeparrot/github-code |
966b0302210f6f69fd3d08f2aa7f4f88f82e221688b6f71411e4c5337e11e9ff | /*
* StelVideo: video signal generator for the Stellaris LaunchPad.
* Copyright (C) 2013 Boris Gjenero <boris.gjenero@gmail.com>
*
* StelVideo 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 versi... | C | uart.c | dreamlayers/StelVideo | gpl-3.0 | 1,632 | 55 | codeparrot/github-code |
04c12bc546ae92134172dfdd1fa090701bc26f5156e927976cfefe7350af195a | /**
* Copyright (C) 2001-2016 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the... | Java | rapidMiner/rapidminer-studio-core/src/main/java/com/rapidminer/operator/preprocessing/filter/AbsoluteValueFilter.java | transwarpio/rapidminer | gpl-3.0 | 2,782 | 82 | codeparrot/github-code |
9c31abb6c979ead17cb787ccf84ffab8cbc461dc4edf587ad0fc86ce5fe0a2fa | /* jslint node: true */
'use strict';
var express = require('express'),
sections = require('./sections'),
http = require('http'),
expressLess = require('express-less'),
path = require('path');
/**
* Create server
*/
var app = express();
/**
* Configuration
*/
//... | JavaScript | index.js | RenderTeam/focus | gpl-3.0 | 1,333 | 62 | codeparrot/github-code |
6d9aed80bd6fb49a49ebd30a92875ff7d85e4b1c89b67d3ad1a21b899da0407b | /*
* MiniJCompiler: Compiler for a subset of the Java(R) language
*
* (C) Copyright 2014-2015 Tibor Goldschwendt <goldschwendt@cip.ifi.lmu.de>,
* Michael Seifert <mseifert@error-reports.org>
*
* This file is part of MiniJCompiler.
*
* MiniJCompiler is free software: you can redistribute it and/or modify
* it u... | Java | src/test/java/minij/MiniJCompilerTest.java | tiborgo/MiniJCompiler | gpl-3.0 | 3,277 | 98 | codeparrot/github-code |
ba1a2deeb253fc05583bc54a8287456328061e1f3aeb75673ebfc9363cf326b8 | <?php
class LOGIN_MODE {
const LOCAL = 'LOCAL';
const SSO = 'SSO';
}
class GLOBAL_CONFIG {
const PORTAL_URL = "http://pc043/portal/";
const PORTAL_SSO_URL= "http://pc043/portal/webservice/sso/";
const LOGIN_FLAG = "login_status";
const PAGE_CHARSET = "utf-8";
const SERVER_CHARSET= "big5";
}
class CONFIG ex... | PHP | admin/config.php | yoursun0/timesheet | gpl-3.0 | 1,826 | 66 | codeparrot/github-code |
06482a245b7eaad86bfff4dd9037fd8ab8c43f4eb05a108904ee18261f76471d | #ifndef EQUIPMENTTYPEMODELITEM_H
#define EQUIPMENTTYPEMODELITEM_H
#include <QObject>
#include "spareparts_global.h"
class SPAREPARTS_EXPORT EquipmentTypeModelItem : public QObject
{
Q_OBJECT
public:
explicit EquipmentTypeModelItem();
EquipmentTypeModelItem(int id, QString name, int parentId, EquipmentTyp... | C | src/libs/spareparts/models/equipmenttypemodelitem.h | wulff007/Veda | gpl-3.0 | 1,690 | 62 | codeparrot/github-code |
0f5103f98391ae82419e8d53f899a6414c8366e9a1e8de74e2d5975a56730313 | PHYSICS_VERSION = "0.92"
PHYSICS_NAV_NOTHING = 0
PHYSICS_NAV_HALT = 1
PHYSICS_NAV_SLIDE = 2
PHYSICS_NAV_BOUNCE = 3
PHYSICS_GROUND_NOTHING = 0
PHYSICS_GROUND_ABOVE = 1
PHYSICS_GROUND_LOCK = 2
COLLIDER_SPHERE = 0
COLLIDER_BOX = 1
COLLIDER_AABOX = 2
PHYSICS_THINK = 0.01
if Physics == nil then
prin... | Lua | scripts/vscripts/libraries/physics_old.lua | Dota-2-5v5v5v5/GameFolder | gpl-3.0 | 85,910 | 2,588 | codeparrot/github-code |
189304da41c7debafca0ead602909a6230e0ac44d908d559171eb6de46bdf9c2 | /*
===========================================================================
Doom 3 GPL Source Code
Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
Doom 3 Source Code is free software: you can redistribute it and/or modify... | C++ | neo/tools/common/ColorButton.cpp | anonreclaimer/morpheus | gpl-3.0 | 5,304 | 207 | codeparrot/github-code |
ef6847e812e862964ef619214b5503add5e379edb31fd5522b1fbcc983c64d67 | /*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it wi... | C | open-lighting-architecture/ola-0.8.4/ola/OlaClientWrapper.h | syn2cat/syndilights | gpl-3.0 | 2,602 | 102 | codeparrot/github-code |
f64c625ac25e35163c2d401fd31133d51a11f75b178a85c8e04f26f7eee64097 | package com.epam.gepard.gherkin.jbehave.helper;
/*==========================================================================
Copyright 2004-2015 EPAM Systems
This file is part of Gepard.
Gepard is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published b... | Java | gepard-gherkin-jbehave/src/main/java/com/epam/gepard/gherkin/jbehave/helper/IOUtils.java | epam/Gepard | gpl-3.0 | 1,559 | 42 | codeparrot/github-code |
21161382a38696ce879e3da4a9f60ad9a0b468cf611952b0784b3cf50e48e3dc | package com.xebia.assesment.dto.impl;
import com.xebia.assesment.dto.Observer;
import com.xebia.assesment.dto.Subject;
import com.xebia.assesment.utils.RobotConstants;
import java.util.ArrayList;
/**
* @author Shivansh Sharma
* This class is responsible for managing the operation/events performed by rob... | Java | portlet/Robotics-Portlet-portlet/docroot/WEB-INF/src/com/xebia/assesment/dto/impl/Robot.java | risingshivansh/robotics | gpl-3.0 | 4,881 | 198 | codeparrot/github-code |
8ca29720ffdbd90e049800daf51e00934815bba0950b843fd036b67feb6778b2 | /*
* Copyright 2010 Pablo Arrighi, Alex Concha, Miguel Lezama for version 1.
* Copyright 2013 Pablo Arrighi, Miguel Lezama, Kevin Mazet for version 2.
*
* This file is part of GOOL.
*
* GOOL is free software: you can redistribute it and/or modify it under the terms of the GNU
* General Public License as publ... | Java | src/main/java/gool/generator/objc/ObjcPlatform.java | darrivau/GOOL | gpl-3.0 | 2,582 | 100 | codeparrot/github-code |
b284d1b0d09f72a9183bf52351c0ff903355046c2b77ec543599706e8a8b11f8 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | cfMesh: A library for mesh generation
\\ / O peration |
\\ / A nd | Author: Franjo Juretic (franjo.juretic@c-fields.com)
\\/ M anipulation |... | C++ | meshLibrary/utilities/checkMeshDict/checkMeshDict.H | wyldckat/cfMesh | gpl-3.0 | 4,486 | 149 | codeparrot/github-code |
5516ecc89c8d82b31c478cde06b9289f0594a8c7ca4100727c6f367170b17014 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'hue-gui.ui'
#
# Created by: PyQt5 UI code generator 5.8.2
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindo... | Python | hue_plus/hue_gui.py | kusti8/hue-plus | gpl-3.0 | 45,771 | 737 | codeparrot/github-code |
8527df4efdd3ad8e0feba35bf4d1d9c964fd22c9c6d089151c264d6b9f694466 | #!/bin/bash
#
# Guru-Antilog V 0.1
#
# usage : to Exchanging your IP with fake IP y0 choose it
#
# and to clear your last command's and clear logout history
#
# Remember that...
#
# y0 have one minute to logout from b0x no more.. so be carefull
#
# Fuck the whitehats
#
clear
echo "----------------------------------... | Shell | Guru-Antilog.sh | procamora/Scripts-Bash | gpl-3.0 | 4,136 | 141 | codeparrot/github-code |
54bd254fd367c2546759f94b277ed41b02c03e4cddd78cea0d7cf117fe6bfc03 | package MatFel::Controller::Cron;
use strict;
use warnings;
use parent 'Catalyst::Controller';
use MatFel::Controller::Mail;
use Text::Report;
use OV;
=head1 NAME
MatFel::Controller::Cron - Catalyst Controller
=head1 DESCRIPTION
La idea es que a partir de Cron podamos ejecutar todo lo que va a tener que ir en el c... | Perl | blib/lib/MatFel/Matfel/Controller/Cron.pm | einar-lanfranco/MatFel | gpl-3.0 | 16,875 | 432 | codeparrot/github-code |
77d49f403cbe214ed0ab4555db4f43208ee77240d5133e26917842423195ec3f | import praw
import json
import requests
import tweepy
import time
import os
import csv
import re
import configparser
import urllib.parse
import sys
from glob import glob
from gfycat.client import GfycatClient
from imgurpython import ImgurClient
import distutils.core
import itertools
import photohash
from PIL import Ima... | Python | memebot.py | corbindavenport/me-irl-bot | gpl-3.0 | 13,750 | 348 | codeparrot/github-code |
1046b656f3714efff760a0d18918ea19563768c2eb74a90758d47dc32dca86d2 | #!/bin/bash
# Delete a user which was created for sftp access.
# Number of parameters passed is 1
# First parameter: Username
# Enable logging
LOG=/tmp/${0}.log
echo -e "\nCreate FTP User script started. Date: $(date)" >> ${LOG}
# Check for incorrect parameters passed
if [ ! "$#" -eq 1 ]; then
echo "Usage: ${0} use... | Shell | remove-ftpuser.sh | SurinderDhillon/shell-scripts | gpl-3.0 | 1,133 | 35 | codeparrot/github-code |
505759b34cd35181ba070758b400e4762ca13c8fa39a85ea5a144818475c4194 | package wayerr.reflect;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.util.Arrays;
final class ParameterizedTypeImpl implements ParameterizedType {
private final Class rawType;
private final Type[] actualTypeArguments;
private final Type ownerType;
public Par... | Java | src/main/java/wayerr/reflect/ParametrizedTypeImpl.java | wayerr/ivasu | gpl-3.0 | 3,188 | 107 | codeparrot/github-code |
5e5b999f40fbe4a1f4b04abb7882bd7daa3a056811e1afa123815ff5f727ee1a | package com.jyie.leet;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
/**
*
* Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).
For example:
Given binary tree [3,9,20,null,null,15,7],
3
/ \
9 20
/ \
15 7
re... | Java | src/main/java/com/jyie/leet/BTLOT.java | JangwonYie/LeetCodeChallenge | gpl-3.0 | 1,668 | 75 | codeparrot/github-code |
ce1da7f99fa448f1a70640b4ae79da46788cdaaa10f227f416f2387b762d7f20 | /*
Espada 2
Copyright (C) 2013 Justin Jacobs
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This ... | C | src/draw.c | dorkster/espada2 | gpl-3.0 | 6,359 | 234 | codeparrot/github-code |
c2c45632fe10d3386b005a5924c2c41ea86c27fc3b7d3899bc7ad84e86f8751c | #include "field_of_vision.hpp"
using namespace engine;
FieldOfVision::FieldOfVision(double x, double y, int size, double angle){
range = size;
total_angle = angle;
catch_effect = new Audio("assets/sounds/GUARDAVIU.wav", "EFFECT", 128);
active = true;
//not including centerLine
number_of_lines... | C++ | engine/src/field_of_vision.cpp | joaosaliba/Conspiracy | gpl-3.0 | 2,568 | 103 | codeparrot/github-code |
a820bf5f9e8f50098b141427f0c76cfdf929678aa22fb5d654574204a762e689 | /*
Node-OpenDroneMap Node.js App and REST API to access OpenDroneMap.
Copyright (C) 2016 Node-OpenDroneMap Contributors
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License... | JavaScript | libs/Task.js | pierotofy/node-OpenDroneMap | gpl-3.0 | 20,626 | 548 | codeparrot/github-code |
ceeeddd34dfa3490aaec4ee3e8f071c594094cadcb33f3cdee72143b080bbbb5 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace PathMaker {
public partial class DecisionForm : Form, ShadowForm {
private DecisionShadow shadow;
publi... | C# | vizstudio2010_src/PropertyEditors/DecisionForm.cs | pathmakertool/pathmaker_os_files | gpl-3.0 | 2,723 | 94 | codeparrot/github-code |
225318fe088758a1a2d20a9187fe52676f8d14beb16c351d265212024036400c | /*!
@file TheorEval.cc
@date Tue Aug 12 2013
@author Andrey Sapronov <Andrey.Sapronov@cern.ch>
Contains TheorEval class member function implementations.
*/
#include <fstream>
#include <list>
#include <sstream>
#include <stack>
#include <float.h>
#include <valarray>
#include "TheorEval.h"
#include "CommonGrid.h"... | C++ | src/TheorEval.cc | veprbl/herafitter | gpl-3.0 | 16,012 | 581 | codeparrot/github-code |
4d8e9f5dbf51a2dae4b92ed9efeffaa866c70a0dfcc01bc35672b5e73db633a9 | /**
* Copyright (c) 1997-2013, www.tinygroup.org (luo_guo@icloud.com).
*
* Licensed under the GPL, 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
*
* http://www.gnu.org/licenses/gpl.html
*
* Unless required by... | Java | db/org.tinygroup.tinydb/src/test/java/org/tinygroup/tinydb/test/List2ArrayTest.java | TinyGroup/tiny | gpl-3.0 | 1,909 | 69 | codeparrot/github-code |
456ddcf58cdf1c167739acc601fbd469fd97ef97b7c512bde9d6fddddde928ca | #------------------------------------------------------------------------------------------
#
# Copyright 2017 Robert Pengelly.
#
# This file is part of ppa-helper.
#
# 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
# ... | Python | ppa_helper/compat.py | robertapengelly/ppa-helper | gpl-3.0 | 3,031 | 89 | codeparrot/github-code |
c6d5df367574b909d8c350737d8a84ea9fcc6678f4758560cc536fa5840c7e3c | #include "meteodata.h"
#include "meteojour.h"
MeteoData::MeteoData(QString v,QObject *parent):QObject(parent),_ville(v){
_mesure = "metric";
}
/*
author : Fontaine pierre
mail : pierre.ftn64@gmail.com
but : afficher message d'erreur dans la console
remarque:
precond :
postcond:
©2017
*/
void MeteoD... | C++ | projet/meteodata.cpp | PierreFontaine/poo_project | gpl-3.0 | 6,517 | 333 | codeparrot/github-code |
802ef4610b41d0b8f26176ed242d3b8d9d8498fec8df7c59b284698cb041beb2 | using System;
namespace e10
{
class Liste<T>
{
private T[] liste = new T[5];
private int sayi = 0;
public void Ekle(T t)
{
if (sayi < 5)
liste[sayi++] = t;
}
public void Cikar()
{
sayi--;
}
public ... | C# | myp122/w5/e10/Program.cs | ozanoner/myb | gpl-3.0 | 1,026 | 46 | codeparrot/github-code |
71f4b669113a9ed2765f415962e423ef9060936ae38bad88ca780523d615a9e6 | package com.idega.core.user.data;
import java.sql.SQLException;
import com.idega.data.GenericEntity;
/**
* Title: User
* Description:
* Copyright: Copyright (c) 2001
* Company: idega.is
* @author 2000 - idega team - <a href="mailto:gummi@idega.is">Guðmundur Ágúst Sæmundsson</a>
* @version 1.0
*... | Java | src/java/com/idega/core/user/data/GenderBMPBean.java | idega/com.idega.core | gpl-3.0 | 2,120 | 79 | codeparrot/github-code |
fbd2518569d5e0cdfabb30440f69bdb37da800fbac79223d26e25be604d7a89d | /*
* This file is part of EmsBench.
*
* Copyright 2015 University of Augsburg
*
* EmsBench 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 lat... | C | embedded/ems/freeems_main.c | unia-sik/emsbench | gpl-3.0 | 12,279 | 347 | codeparrot/github-code |
9f9d5191780de7746136380320731bdc07c4f7260d09353017a61feffe9371a5 |
// These values are updated every 5 minutes
// using site_stats table from all wikis replicated in
// WMF Labs databases.
// Families updated include ["wikibooks", "wikipedia", "wiktionary", "wikimedia", "wikiquote", "wikisource", "wikinews", "wikiversity", "commons", "wikispecies", "wikidata", "wikivoyage"]
// More q... | JavaScript | public_html/wmcounter.js | emijrp/wmcounter | gpl-3.0 | 25,447 | 377 | codeparrot/github-code |
14998df94b8b9ba063454f7a11388992473c4155ccdece3fed8447b666aee6af | <?php
// clicking the 'More Info' button for a task group gives all details specific to this group
// including group attributes and group membership
function viewmembergroup_GET(Web $w) {
$p = $w->pathMatch("id");
// tab: Members
// get all members in a task group given a task group ID
$member_group = $w->Task->... | PHP | system/modules/task/actions/group/viewmembergroup.php | 2pisoftware/cmfive | gpl-3.0 | 2,837 | 87 | codeparrot/github-code |
01fb890030001a5cb2d06f73a060ececa3c28939d0ccf77cfa71dce28fd97c2b | # Copyright 2019-2020 by Christopher C. Little.
# This file is part of Abydos.
#
# Abydos 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 later versio... | Python | abydos/distance/_roberts.py | chrislit/abydos | gpl-3.0 | 3,233 | 121 | codeparrot/github-code |
352c0147b505e223ddd6bb0e1eca17afa6386a02c762c518581c7234ad0bca35 | !-------------------------------------------------------------------------------
! SPHERA v.9.0.0 (Smoothed Particle Hydrodynamics research software; mesh-less
! Computational Fluid Dynamics code).
! Copyright 2005-2021 (RSE SpA -formerly ERSE SpA, formerly CESI RICERCA,
! formerly CESI-Ricerca di Sistema)
! SPHERA au... | FORTRAN | src/Time_Integration/Euler.f90 | AndreaAmicarelliRSE/SPHERA | gpl-3.0 | 10,338 | 258 | codeparrot/github-code |
faac01d903c25666082f4006537cc6dfa773910cce735e6af5332ed198b1096e | function Sum(x: number, y: number) : void {
console.log('processNumKeyPairs: key = ' + key + ', value = ' + value)
return x + y;
}
let greeting = function() {
console.log("Hello TypeScript!");
};
let SumAnon = function(x: number, y: number) : number
{
return x + y;
}
function Greet(gr... | TypeScript | src/main/java/com/az/gitember/controller/lang/typescript/examples/Function.ts | iazarny/gitember | gpl-3.0 | 1,238 | 51 | codeparrot/github-code |
c5049c7e648f60c1cae01df2de5ae0a77dcef18d6f044e75475180145c8c595e | #include "../../headers.h"
const int SIZE = 100000+500;
struct _t{
int idx,l,r,h;
friend bool operator < (const _t &a,const _t&b){
return a.h < b.h;
}
}que[SIZE];
#define lson(x) ((x)<<1)
#define rson(x) (lson(x)|1)
#define ls lson(t)
#define rs rson(t)
struct stNode_t{
int sum;
}ST[SIZE<<2];
... | C++ | hdu/hdu4417/main.cpp | bitwater1997/ACM | gpl-3.0 | 2,534 | 123 | codeparrot/github-code |
7cb195530965c331734ff7a336164d530c2f6a03c754b04c354c0108d0775732 | # Standard Library
from builtins import str
import os
import zipfile
from urllib.parse import quote_plus
from urllib.request import urlopen
# Third Party Stuff
from django import template
from django.conf import settings
from django.contrib.auth.models import User
from django.db.models import Q
# Spoken Tutorial Stuf... | Python | creation/templatetags/creationdata.py | Spoken-tutorial/spoken-website | gpl-3.0 | 11,230 | 277 | codeparrot/github-code |
5dc641bab6e893c646c1355a65103c342d56d0ffc4015f0019df5d9a94ba1b30 | /*
Copyright © 2011-2012 Clint Bellanger
This file is part of FLARE.
FLARE 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 later version.
FLARE is distri... | C++ | src/NPCManager.cpp | makrohn/Keradon | gpl-3.0 | 3,879 | 166 | codeparrot/github-code |
5699880faf1e3f77a43a4b7eff0a25699b711cf2163de2affe4212c3eb123bca | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Class template year_based_generator</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="../../index.ht... | HTML | boost_1_51_0/doc/html/boost/date_time/year_based_generator.html | tianyang-li/de-novo-rna-seq-quant-1 | gpl-3.0 | 8,172 | 86 | codeparrot/github-code |
a115b6ad7305ed1591b3adc608aa10170371160c4795394ad7a5886f02c2761a | /*
* Copyright © The DevOps Collective, Inc. All rights reserved.
* Licnesed under GNU GPL v3. See top-level LICENSE.txt for more details.
*/
using System;
using System.Collections.Generic;
using System.Composition.Convention;
using System.Composition.Hosting;
using System.IO;
using System.Linq;
using System.Reflec... | C# | src/Tug.Base/Ext/Util/ProviderManagerBase.cs | majst32/tug | gpl-3.0 | 12,353 | 336 | codeparrot/github-code |
fe462584389cb0ae0b44282dfa0599a9bad4362a418b0016f2ce6f798ed16e04 | #include "drivercommon.h"
#include <common/fortconf.h>
#include <common/fortioctl.h>
#include <common/fortlog.h>
#include <common/fortprov.h>
namespace DriverCommon {
QString deviceName()
{
return QLatin1String(FORT_DEVICE_NAME);
}
quint32 ioctlValidate()
{
return FORT_IOCTL_VALIDATE;
}
quint32 ioctlSetCon... | C++ | src/ui/driver/drivercommon.cpp | tnodir/fort | gpl-3.0 | 6,014 | 269 | codeparrot/github-code |
6553b59cd693cfb83f5a319f4d078a96ff232272f494f819d70517102d8e6d6a | #-----------------------------------------------------------------------------
# Copyright (c) 2005-2016, PyInstaller Development Team.
#
# Distributed under the terms of the GNU General Public License with exception
# for distributing bootloader.
#
# The full license is in the file COPYING.txt, distributed with this s... | Python | PyInstaller-3.2/PyInstaller/hooks/hook-sysconfig.py | ijat/Hotspot-PUTRA-Auto-login | gpl-3.0 | 1,238 | 34 | codeparrot/github-code |
eb17359df5c0bef233072c3a711bac00eb49cd01383fc69299d7ab90c9c998d8 | <?php /* Smarty version 2.6.2, created on 2014-11-17 07:44:59
compiled from /var/www/openemr/interface/forms/vitals/templates/vitals/general_new.html */ ?>
<?php require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function'... | PHP | interface/main/calendar/modules/PostCalendar/pntemplates/compiled/%%-13^%%-1326759229^general_new.html.php | stephenwaite/cmsopenemr | gpl-3.0 | 38,858 | 699 | codeparrot/github-code |
49f36fab71766cd83da0884b21e7493ab7bc60f487de948220ade1dba4dad02a | #!/usr/bin/env python
"""
crate_anon/nlp_manager/number.py
===============================================================================
Copyright (C) 2015-2021 Rudolf Cardinal (rudolf@pobox.com).
This file is part of CRATE.
CRATE is free software: you can redistribute it and/or modify
it under t... | Python | crate_anon/nlp_manager/number.py | RudolfCardinal/crate | gpl-3.0 | 1,870 | 63 | codeparrot/github-code |
840724d792a799aeaf3b324e5b588ea348212e17cc52d9a4ba17da7f0933215b | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using VRStandardAssets.Utils;
using System.Diagnostics;
public class InteractionPanel : MonoBehaviour {
[SerializeField] private VRInput input;
[SerializeField] private VRCameraFade fader;
[SerializeField] private... | C# | src/prototypes/lesson1/lesson1/Assets/Media/EasyMovieTexture/Scripts/InteractionPanel.cs | s-varela/learningmr | gpl-3.0 | 5,885 | 198 | codeparrot/github-code |
8e483b60aaab2f10b935afb96e14c062e69839cdd90175920c90e498696d85b5 | <?php
/* ext/sex.php - NexusServV3
* Copyright (C) 2012-2013 #Nexus project
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any l... | PHP | ext/sex.php | Nexus-IRC/NexusServV3 | gpl-3.0 | 1,157 | 32 | codeparrot/github-code |
d02d898ff6ca063c0369b2e2162318a48bcc77a6eef0206f0cb757a8640f7a14 | """!
@brief Cluster analysis algorithm: Expectation-Maximization Algorithm for Gaussian Mixture Model.
@details Implementation based on paper @cite article::ema::1.
@authors Andrei Novikov (pyclustering@yandex.ru)
@date 2014-2020
@copyright BSD-3-Clause
"""
import numpy
import random
from pycluster... | Python | pyclustering/cluster/ema.py | annoviko/pyclustering | gpl-3.0 | 28,795 | 747 | codeparrot/github-code |
5a820c2efb0c9a9ed4822021d0fa6abd8ea5bbb3de32494ff7c79ce3c023b962 | /*
* R : A Computer Language for Statistical Data Analysis
* Copyright (C) 1995, 1996 Robert Gentleman and Ross Ihaka
* Copyright (C) 1997--2008 The R Development Core Team
* Copyright (C) 2003, 2004 The R Foundation
* Copyright (C) 2010 bedatadriven
*
* This program is free software: you can redistribute it ... | Java | core/src/main/java/org/renjin/primitives/combine/Combine.java | jukiewiczm/renjin | gpl-3.0 | 3,051 | 98 | codeparrot/github-code |
352cb5bbb313bce72aeeb93fca59cd370a9227bb17186434093e23e5c49ae921 | #! /usr/bin/php
<?php
/**
* @author Xavier Schepler
* @copyright Réseau Quetelet
*/
require_once 'inc/headers.php';
function help()
{
echo <<<HEREDOC
*********************************************
* Question data bank administration utility *
*********************************************
Allows the *listing*, the *... | PHP | php/app/scripts/useradmin.php | CDSP-SCPO/BasedeQuestions | gpl-3.0 | 3,698 | 238 | codeparrot/github-code |
aae692a30e312f8fcbf33dbf81851d6ad34e389ce5a4c19b1fbabaa3cf78bf26 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
**constants.py**
**Platform:**
Windows, Linux, Mac Os X.
**Description:**
Defines **Foundations** package default constants through the :class:`Constants` class.
**Others:**
"""
from __future__ import unicode_literals
import os
import platform
import fou... | Python | foundations/globals/constants.py | KelSolaar/Foundations | gpl-3.0 | 3,184 | 125 | codeparrot/github-code |
8ecf27ab2f617b33b838911b956aa37adad303706252d5f8120912770c8cd32b | #define __is__iOS9__ [[[UIDevice currentDevice] systemVersion] floatValue] >= 9.0
@interface FBScene
- (id)contextHostManager;
- (id)mutableSettings;
-(void)_applyMutableSettings:(id)arg1 withTransitionContext:(id)arg2 completion:(id)arg3;
@end
@interface SBUIController : NSObject
+(id)sharedInstance;
-(void)clickedMe... | C | Floater2/Interfaces.h | andrewwiik/Tweaks | gpl-3.0 | 14,742 | 450 | codeparrot/github-code |
12d0ae97f375fec64cb419447dead33d9fb697c66585d761ac690c81938b02f5 | <?php
/**
* Backend booking dialogs
* @version 1.8.7
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) { exit; }
?>
<div id='bookacti-bookings-calendar-settings-dialog' class='bookacti-backend-dialog bookacti-bookings-dialog' style='display:none;' title='<?php esc_html_e( 'Bookings page calendar setti... | PHP | view/view-backend-bookings-dialogs.php | bookingactivities/booking-activities | gpl-3.0 | 25,141 | 480 | codeparrot/github-code |
600b22fd29990eb7ba7f7647d011d00df322297a1cd6420302ac5d5577b7350e | /***
* * WHAT
* * FILE
* * $Source: /home/vdmtools/cvsroot/toolbox/code/qtgui/optionsF.cc,v $
* * VERSION
* * $Revision: 1.29 $
* * DATE
* * $Date: 2006/02/07 01:52:03 $
* * AUTHOR
* * $Author: vdmtools $
* * COPYRIGHT
* * (C) Kyushu University
***/
#include "optionsF.h"
#include "mainF.h"
#i... | C++ | code/qtgui/optionsF.cc | vdmtools/vdmtools | gpl-3.0 | 56,557 | 1,909 | codeparrot/github-code |
5321b1af3a90e643793716a79cf6e1a025ad5907a51dfc783b04ebd932580d36 | namespace WindowsFormsApplication1
{
partial class Form2
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | C# | Form2.Designer.cs | terrasque/sweetfxui | gpl-3.0 | 11,456 | 254 | codeparrot/github-code |
06687229542ff8c0c17b95308ba454f88545f9dbd700e4508e3701cf85f266fe | /*
* Ext GWT 2.2.1 - Ext for GWT
* Copyright(c) 2007-2010, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
package harvesterUI.client.servlets.transformations;
import com.extjs.gxt.ui.client.data.FilterPagingLoadConfig;
import com.extjs.gxt.ui.client.data.PagingLoadConfig;
import com.extjs.gx... | Java | repox-gui/src/main/java/harvesterUI/client/servlets/transformations/TransformationsServiceAsync.java | repoxIST/repoxLight | gpl-3.0 | 2,405 | 55 | codeparrot/github-code |
759004da0bf004dd9153ba51372896ee7947459c31dd3d6e5cdd982148865a8b | #ifndef CREATEDIRECTORYDIALOG_H
#define CREATEDIRECTORYDIALOG_H
#include <QDialog>
namespace Ui {
class CreateDirectoryDialog;
}
class CreateDirectoryDialog : public QDialog
{
Q_OBJECT
public:
explicit CreateDirectoryDialog(const QString &path, QWidget *parent = 0);
~CreateDirectoryDialog();
QString name() cons... | C | src/createdirectorydialog.h | ZIMA-Engineering/ZIMA-CAD-Parts | gpl-3.0 | 558 | 32 | codeparrot/github-code |
0dbc96a51aaafff63fd78907a529e860b2687b43b8bc7c513ab5e823659f1453 | using System.IO;
using System.Runtime.Serialization;
using WolvenKit.CR2W.Reflection;
using FastMember;
using static WolvenKit.CR2W.Types.Enums;
namespace WolvenKit.CR2W.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CThrowable : CProjectileTrajectory
{
[Ordinal(1)] [RED("ownerHandle")] public ... | C# | WolvenKit.CR2W/Types/W3/RTTIConvert/CThrowable.cs | Traderain/Wolven-kit | gpl-3.0 | 969 | 31 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.