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 |
|---|---|---|---|---|---|---|---|---|
90a75bfa7f3bf8f3bc605284bbace48ff4a3c9c2917e8a01d3f448c48104f589 | #!/bin/bash
# set -x
# set overall cgroup v1 limits for tinderbox images, fuzzers et al.
set -euf
export PATH="/usr/sbin:/usr/bin:/sbin:/bin"
export LANG=C.utf8
# use cgroup v1 if available
if ! hash -r cgcreate || ! hash -r cgset || ! test -d /sys/fs/cgroup; then
exit 1
fi
# reserve vCPUs, RAM and vRAM
vcpu=$(... | Shell | bin/cgroup.sh | toralf/tinderbox | gpl-3.0 | 1,062 | 49 | codeparrot/github-code |
dd6445d529556f641015a8ca39245cd2f95f4c723d0655c8805afe8e9dd7c6b0 | // Copyright (c) Aura development team - Licensed under GNU GPL
// For more information, see license file in the main folder
using Newtonsoft.Json.Linq;
using System;
namespace Melia.Shared.Data.Database
{
[Serializable]
public class SkillData
{
public int Id { get; set; }
public string ClassName { get; set; ... | C# | src/Shared/Data/Database/Skills.cs | elfinlazz/melia | gpl-3.0 | 1,743 | 63 | codeparrot/github-code |
f69af0ea36ea72aea7f3c5688c3b2d509297c9590b6f542130c26f7172b23beb | /*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
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... | C++ | Sources/Tools/MaxMain/plPluginResManager.cpp | cwalther/Plasma-nobink | gpl-3.0 | 19,526 | 541 | codeparrot/github-code |
5d9afb36745aa8a511ed845d3ca09d87f3a0f5e8b5724dd5c2ae12ab38753e04 | package se.idega.idegaweb.commune.school.presentation;
import java.util.Collection;
import java.util.Iterator;
import java.rmi.RemoteException;
import com.idega.idegaweb.IWResourceBundle;
import com.idega.presentation.ExceptionWrapper;
import com.idega.presentation.IWContext;
import com.idega.presentation.Table;
impo... | Java | src/se/idega/idegaweb/commune/school/presentation/SchoolMarksPresenter2.java | idega/platform2 | gpl-3.0 | 34,214 | 705 | codeparrot/github-code |
7197afee8487965802fba232a820b79a8c9012058aa973fd81ff4ae10186750d | /**
*
* Copyright (c) 2014, Openflexo
*
* This file is part of Diana-swing, a component of the software infrastructure
* developed at Openflexo.
*
*
* Openflexo is dual-licensed under the European Union Public License (EUPL, either
* version 1.1 of the License, or any later version ), which is available ... | Java | diana-swing/src/test/java/org/openflexo/diana/graph/ExampleDianaDiscreteSimpleFunctionGraphDrawing.java | openflexo-team/diana | gpl-3.0 | 7,147 | 166 | codeparrot/github-code |
ec7af3d161d167719a109fead9b50c2ad5d1d223496dd6a4dcd97a554d0db825 | var Data;
(function (Data) {
var CounterRepository = (function () {
function CounterRepository() {
var _this = this;
this.hubClient = {
allCountersReset: function () {
_this.dict.forEach(function (key, ob) { return ob({ Id: key, Value: undefined })... | JavaScript | TechStackDemo/Scripts/repository.js | MedicalIT/TechStackDemo | gpl-3.0 | 3,220 | 55 | codeparrot/github-code |
d551b73d8f14eb5c4db1ceaa3c4dafc2e7c878f7fb53116831bc57062532d780 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qmetadatareadercontrol.cpp -->
<title>QMetaDataReaderControl Class | Qt Multimedia 5.7</title>
<link rel="stylesheet" type="text/css" href="style/offline-simple... | HTML | Doc/qtmultimedia/qmetadatareadercontrol.html | angeloprudentino/QtNets | gpl-3.0 | 15,444 | 172 | codeparrot/github-code |
1875e5400fe1f121a0cd028e6e797dd90a43a045e147adc8d1dee7ec89d24907 | #include "CubeDescriptionHighlighter.h"
CubeDescriptionHighlighter::CubeDescriptionHighlighter(QTextDocument *parent): QSyntaxHighlighter(parent) {
QStringList keywordPatterns;
keywordPatterns << "\\balias\\b"
<< "\\bbandage\\b"
<< "\\bbinding\\b"
<< ... | C++ | src/CubeDescriptionHighlighter.cpp | stormraiser/universal-permuting-machine | gpl-3.0 | 3,178 | 85 | codeparrot/github-code |
91692223301b161cd4546fa6c73bf579f2a005e6ef671888db9f96ac4a754c92 | package me.desht.pneumaticcraft.common.network;
import io.netty.buffer.ByteBuf;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
public class PacketSetEntityMotion extends LocationDoublePacket<PacketSetEntityMotion> {
private int e... | Java | src/main/java/me/desht/pneumaticcraft/common/network/PacketSetEntityMotion.java | desht/pnc-repressurized | gpl-3.0 | 1,495 | 53 | codeparrot/github-code |
2c5c6701b6aef87612e6166757736d8a498cbf21208753008918ee910605f580 | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QGraphicsScene>
#include <QList>
#include <QDesktopWidget>
#include <QTimer>
#include <Box2D/Box2D.h>
#include <QMouseEvent>
#include <iostream>
#include<QPushButton>
#include <gameitem.h>
#include <land.h>
#include <bird.h>
#include<yellow.h>
... | C | mainwindow.h | F74046535/pd2-Angrybird | gpl-3.0 | 1,515 | 79 | codeparrot/github-code |
03b57f8ec0b1839b7014c4e0683fd526d110a8cf6099205badffa268a6d69f96 | # -*- coding: utf-8 -*-
# Copyright (C) 2009, 2013-2015 Rocky Bernstein
#
# 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 ve... | Python | trepan/processor/command/edit.py | rocky/python2-trepan | gpl-3.0 | 2,860 | 88 | codeparrot/github-code |
b5453cc283e16954b344c4e18f19b98f5c09dd0d2703077937889b316a41d3cf | # Author: Nic Wolfe <nic@wolfeden.ca>
# URL: http://code.google.com/p/sickbeard/
#
# This file is part of Sick Beard.
#
# Sick Beard 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 | sickbeard/encodingKludge.py | stephanehenry27/Sickbeard-anime | gpl-3.0 | 2,060 | 61 | codeparrot/github-code |
4f377516c0349e126ed4b3dd0ba95657ec0402ab8ce4a4f0943aac1922cc058c | /*
* animatior.cpp - animation interopolator implementation
* Copyright (C) 2015, D Haley
* 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 o... | C++ | src/backend/animator.cpp | lukasgartmair/3Depict_Isosurfaces | gpl-3.0 | 14,717 | 641 | codeparrot/github-code |
8e9df0256658852a82fcc810907bdfb10d29bd94be3fd51e14756a14d0f5b82a | using System;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CheezeMod.Items.Weapons.Magic
{
public class StarBlitz : ModItem
{
public override void SetDefaults()
{
item.damage = 12;
item.magic = true;
i... | C# | CheezeMod/Items/Weapons/Magic/StarBlitz.cs | Cheezegami/Mod-Sources-Cheezes-Content-Pack | gpl-3.0 | 1,842 | 60 | codeparrot/github-code |
9931fd1e2e4361bd2e4bc3b8a7bcdfc46448f423cd912d51e50d0d93be2d362e | package org.baobab.baolizer;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.Uri;
import android.os.Bundle;
import android.preference.ListPreference;
import android.preference.Preference;
import android.... | Java | src/main/java/org/baobab/baolizer/SettingsActivity.java | basobu/baolizer-android | gpl-3.0 | 4,258 | 89 | codeparrot/github-code |
1eff65987e7bf40bee5ba3cf5fe41a30512fffacc5ab3b93381d8965cdc9a97d | /****************************************************************************
**
** Copyright (C) 2016 Lorenz Haas
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the ... | C++ | src/plugins/beautifier/configurationdialog.cpp | pivonroll/Qt_Creator | gpl-3.0 | 5,416 | 150 | codeparrot/github-code |
0f57d5a419a067edff240d24e94e004d694918188574de55d110c1387f232edb | /*
Copyright (C) 2016 Jakub Hrozek <jakub.hrozek@posteo.se>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later v... | C | src/pam_hbac_ldap_compat.c | jhrozek/pam_hbac | gpl-3.0 | 7,091 | 298 | codeparrot/github-code |
1bfc59cb22f3a07c9b76c194bdc65501a75495798a38cede6d0abf74c156a90a | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... | C | TPLs/hdf5/hdf5-1.8.10-patch1/test/testhdf5.h | ngcurrier/ProteusCFD | gpl-3.0 | 8,975 | 212 | codeparrot/github-code |
2f88b4784577dccb6e90997c44a6b232f1f6f2777733b9c208ad082c0af73163 | # Copyright (C) 2010-2013 marco riccardi.
# This file is part of Dorothy - http://www.honeynet.it/dorothy
# See the file 'LICENSE' for copying permission.
#############################
### BINARY FETCHER MODULE ###
#############################
#The BFM module is in charge of retreiving the binary from the sources c... | Ruby | lib/dorothy2/BFM.rb | m4rco-/dorothy2 | gpl-3.0 | 7,025 | 202 | codeparrot/github-code |
f40e27a1b648f0f689e38ee6b0bf63df77a5a41c6002cddc6914a6a2a67a2a0b | <?php
/**
* Mobile Detect
*
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
* @version SVN: $Id: Mobile_Detect.php 4 2011-05-26 08:04:20Z vic.stanciu@gmail.com $
*/
class Mobile_Detect {
protected $accept;
protected $userAgent;
protected $isMobile = f... | PHP | api/mobile_detect.php | drichardson23/Booking | gpl-3.0 | 2,717 | 89 | codeparrot/github-code |
617a5ab4a31e83d9642e55282f32cee4e9d29e26e2662692c9048976647d7123 | /**
* Copyright (c) 2002-2011 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j 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 Foundati... | Java | server/src/functionaltest/java/org/neo4j/server/rest/ExtensionListingFunctionalTest.java | eldersantos/community | gpl-3.0 | 3,991 | 105 | codeparrot/github-code |
00d0ddd0b0c1f71f6dcfc5d3474e7af3b305a450183e9f954df891dde2cde68a | /* Layout styles */
/**
* The direct-child selector (a > b) should be used whenever possible, except for elements within .tabs-content,
* to prevent styling issues with nested tags. Use >*> whenever necessary, as this doesn't increase specificity.
*/
/**
* Regarding the usage of the body:not(oldbrowser) selector:... | CSS | ext.tabs.css | Joeytje50/mediawiki-extension-Tabs | gpl-3.0 | 11,449 | 331 | codeparrot/github-code |
183709bbc0df5d13c2ee26a120b1b444fec6fa7ff3d672ca66f537b5a618576c | /* Dirty.js
* https://github.com/felixge/node-dirty
* A tiny & fast key value store with append-only disk log.
* Ideal for apps with < 1 million records.
* written by felixge, with modifications by Colin Kuebler
*/
/* MIT License
* Copyright (c) 2010 Debuggable Limited <felix@debuggable.com>
*
* Permission is... | JavaScript | server/Dirty.js | kueblc/Koala | gpl-3.0 | 5,544 | 250 | codeparrot/github-code |
912aa38a16fc924f0ab432bc6331ce441c16c1172b4f1812cf6cbaca2cc8230d | package com.google.android.gms.games.multiplayer;
import android.net.Uri;
import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable.Creator;
import com.google.android.gms.games.Player;
import com.google.android.gms.games.PlayerEntity;
import com.google.android.gms.internal.ge;
import com.goo... | Java | apk/classes-ekstartk/com/google/android/gms/games/multiplayer/ParticipantEntity.java | isnuryusuf/ingress-indonesia-dev | gpl-3.0 | 5,486 | 203 | codeparrot/github-code |
b7cab3cfd5ac6250f6c1227035949436cdacf3389d6c55fb38cdac08390eb3bd | package org.json;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
/*
* This file is part of Jotta.
*
* Jotta 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, eit... | Java | export/src/org/json/JSONUrl.java | siada/jotta | gpl-3.0 | 1,207 | 41 | codeparrot/github-code |
247bb1094fea2aaf8560548cf83281256a6ab5ee98d8490db448d22d5b0c4af0 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
\\/ M anipulation |
-------------... | C++ | applications/solvers/multiphase/reactingTwoPhaseEulerFoam/phaseSystems/phaseModel/IsothermalPhaseModel/IsothermalPhaseModel.H | ccopsey/ccFOAM | gpl-3.0 | 2,705 | 92 | codeparrot/github-code |
f816368c48e5443701c3904a52749be427613fe0b8345f72a92322b9b4e85fee | "use strict";
const nock = require("nock");
const {chai: {expect}, example} = require("sb-test-helpers");
const layerUrlFactory = require("../../layers/url.js");
describe("layer url", function () {
beforeEach(function () {
this.timeService = function (callback, delay) {
return new Promise((resolve) => {
se... | JavaScript | test/layers/urlSpec.js | sergebesson/sb-configuration-loader | gpl-3.0 | 4,434 | 165 | codeparrot/github-code |
527c5bd569b4dc6db6cc3751623d16d5fd21675ff2e0a9d60c07c21b162f211e | package com.turingdi.awp.entity.alipay;
import com.alipay.api.AlipayConstants;
import com.turingdi.awp.util.common.CommonUtils;
import io.vertx.core.json.JsonObject;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
/**
* 该类是保存订单内容信息的类,包括本地订单号、订单金额和订单标题;
* Created by quandong on 17-6-21.
*/... | Java | awp-base/src/com/turingdi/awp/entity/alipay/PayBizContent.java | Leibnizhu/AlipayWechatPlatform | gpl-3.0 | 1,982 | 71 | codeparrot/github-code |
7980042c914c245828b1d6e2d01cacfbc6a29878c48e64b444d28e3fc0de36d5 | package de.cyrus.slandy;
/**
* A Base64 Encoder/Decoder.
*
* <p>
* This class is used to encode and decode data in Base64 format as described in
* RFC 1521.
*
* <p>
* This is "Open Source" software and released under the <a
* href="http://www.gnu.org/licenses/lgpl.html">GNU/LGPL</a> license.<br>
* It is pr... | Java | android/smartphone/slandy/src/de/cyrus/slandy/Base64Coder.java | CuonDeveloper/cuon | gpl-3.0 | 5,437 | 199 | codeparrot/github-code |
1188b36d078058109598f80a7bb2b3cc0153498992c49752174855f9045cffd3 | package de.rohmio.lol.api.model;
/**
* This object contains chamoion stats data.
* @author Cedric
*
*/
public class Stats {
private Double armorperlevel;
private Double hpperlevel;
private Double attackdamage;
private Double mpperlevel;
private Double attackspeedoffset;
private Double armor;
private Double... | Java | RiotGamesApi/src/de/rohmio/lol/api/model/Stats.java | SuppenNudel/RiotGamesApi | gpl-3.0 | 1,888 | 93 | codeparrot/github-code |
ca54a5d60db4ce04050075e2846d49113e99ddf6df78208dd1c1b6a8c648e956 | <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- template designed by Marco Von Ballmoos -->
<title>Docs for page Head.php</title>
<l... | HTML | src/htmlbuilder/phpdoc/Elements/_Elements---Page---Head.php.html | lasso/textura | gpl-3.0 | 5,782 | 150 | codeparrot/github-code |
697dedd9d1f07f051972ea91be5dc00b24ffc30b02200de900a22ba86f80a608 | #ifndef QPROGRESSLISTWIDGET_H
#define QPROGRESSLISTWIDGET_H
#include <QWidget>
#include <QStringList>
#include <QMap>
#include <QIcon>
#include <QList>
#include "../lib_imexport.h"
#include <QLabel>
#include <QGridLayout>
#include <QPushButton>
#include <QDialog>
#include <QProgressBar>
/** \brief displays a list of... | C | libwidgets/qprogresslistwidget.h | jkriege2/LitSoz3 | gpl-3.0 | 4,179 | 127 | codeparrot/github-code |
3b553cd0f17f6c45567be300ead460a7b91f766749baadb12b4134bac413acdb | <!DOCTYPE html>
<html>
<head>
<title>Edit image</title>
</head>
<script language="javascript" src="http://izhuk.com/painter/8"></script>
<script language="javascript" src="../cliparts/cliparts.js"></script>
<style>
canvas { outline: none; }
</style>
<body bgcolor="#e0e0e0">
<table><tr>
<td valign="top">
... | HTML | app/lib/painter/php/edit.html | LaboManu/bloc-notes | gpl-3.0 | 4,260 | 139 | codeparrot/github-code |
93845d6d868a04fac00b81360e062ecb4379865c59b5218761acf3f7ace85762 | <?php
namespace Panopto\RemoteRecorderManagement;
class ScheduleRecurringRecording
{
/**
* @var AuthenticationInfo $auth
*/
protected $auth = null;
/**
* @var guid $scheduledSessionId
*/
protected $scheduledSessionId = null;
/**
* @var ArrayOfDayOfWeek $daysOfWeek
... | PHP | lib/Panopto/PublicAPI/4.6/RemoteRecorderManagement/ScheduleRecurringRecording.php | lucisgit/php-panopto-api | gpl-3.0 | 2,545 | 123 | codeparrot/github-code |
783fb922976f51445e854010d0efcac885f05a69e73177c55b1c5a38becfa701 | /****************************************
*
* theShell - Desktop Environment
* Copyright (C) 2019 Victor Tran
*
* 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 ... | C | polkitagent/polkitinterface.h | vicr123/theshell | gpl-3.0 | 2,694 | 82 | codeparrot/github-code |
6b5a5c6594da7d6181d0ac3d267cf9d7f5c03cd1fa27e378f95675c4ed95d298 | /***************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Qt Software Information (qt-info@nokia.com)
**
**
** Non-Open Source Usage
**
** Licensees may use this file in accor... | C++ | src/plugins/coreplugin/sidebar.cpp | mblsha/qt-creator | gpl-3.0 | 10,537 | 374 | codeparrot/github-code |
b808f3fdd7789ea4deae361f0bc64c50b5d1f9fb52e0e659a5f1a0de6af0e47b | /**
@class StudioSelectView - selecting between StudioLite and StudioPro
@constructor
@return {Object} instantiated StudioSelectView
**/
define(['jquery', 'backbone', 'bootbox', 'Elements'], function ($, Backbone, bootbox, Elements) {
BB.SERVICES.STUDIO_SELECT_VIEW = 'StudioSelectView';
var StudioSelectVi... | JavaScript | _views/StudioSelectView.js | born2net/msgetstarted | gpl-3.0 | 5,017 | 141 | codeparrot/github-code |
b4c80b0d7834fb27e2148a2bd9b38cf85d796bc431118e72deb087c75a4ca799 | # Copyright (C) 2017-2020 Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# This file is part of repology
#
# repology 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 optio... | Python | repology/fetchers/fetchers/rsync.py | repology/repology | gpl-3.0 | 2,001 | 58 | codeparrot/github-code |
43f641c42e39657e11600f3b5266b3fb71bb88351ac6131d279c3dd11d68a775 | package edu.uwo.csd.dcsim.projects.im2013.policies;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import edu.uwo.csd.dcsim.common.Utility;
import edu.uwo.csd.dcsim.host.Host;
import edu.uwo.csd.dcsim.management.HostData;
import edu.uwo.csd.dcsim.management.HostDataComparator;
... | Java | src/edu/uwo/csd/dcsim/projects/im2013/policies/VmRelocationPolicyFFIMDSla.java | digs-uwo/dcsim-projects | gpl-3.0 | 7,066 | 188 | codeparrot/github-code |
6cc828329a2ee86526438ab0f9c0f5b86d0ff3925c5395a3932580ed8cbb57b1 | #ifndef STUDENT_HPP_
#define STUDENT_HPP_
#include <iostream>
#include "util.hpp"
#include <QtXml>
#include <iostream>
#include <fstream>
#include "matiere.hpp"
typedef struct{
int row;
int col;
}place;
typedef struct
{
QString name;
ods::Sheet *sheet;
place cell ;
doubl... | C++ | GestionNote/include/student.hpp | lengagne/GestionNote | gpl-3.0 | 1,227 | 65 | codeparrot/github-code |
fd4a006f14a195bc3f7d4b94f4513e46ed980e4131d23ea7263935128440f621 | # This module can find FUSE Library
#
# Requirements:
# - CMake >= 2.8.3
#
# The following variables will be defined for your use:
# - FUSE_FOUND : was FUSE found?
# - FUSE_INCLUDE_DIRS : FUSE include directory
# - FUSE_LIBRARIES : FUSE library
# - FUSE_DEFINITIONS : FUSE cflags
# - FUSE_VERSION : complete version of F... | CMake | cmake/Findfuse.cmake | indie-zen/zen-fuse | gpl-3.0 | 5,355 | 167 | codeparrot/github-code |
401d86c5b169c7ead04ccee2847157e5db37e714ee76573308e5d2c91acdc746 | /**
* Copyright (C) 2013 Gundog Studios LLC.
*
* 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 ... | Java | GaTAndroid/src/com/godsandtowers/graphics/menu/layouts/PurchaseLayout.java | jlaws/gundog-engine | gpl-3.0 | 4,019 | 113 | codeparrot/github-code |
dc3f6de53ac1ff8425fe6fb358a980187f508931e0612b5dc369abf2baabdb7b | //Copyright (c) 2011 Municipalidad de Rosario and Coop. de Trabajo Tecso Ltda.
//This file is part of SIAT. SIAT is licensed under the terms
//of the GNU General Public License, version 3.
//See terms in COPYING file or <http://www.gnu.org/licenses/gpl.txt>
package ar.gov.rosario.siat.cyq.buss.bean;
import java.util.... | Java | siat-1.0-SOURCE/src/buss/src/ar/gov/rosario/siat/cyq/buss/bean/ProDet.java | avdata99/SIAT | gpl-3.0 | 12,675 | 584 | codeparrot/github-code |
b14ad4cbea680e21b1b86707ab5f2546d00f6eb6fd7b02a017bb53b39f053e16 | /**
* @license
* This file is part of the Game Closure SDK.
*
* The Game Closure SDK is free software: you can redistribute it and/or modify
* it under the terms of the Mozilla Public License v. 2.0 as published by Mozilla.
* The Game Closure SDK is distributed in the hope that it will be useful,
* but WITHOUT ... | JavaScript | src/ui/backend/sound/AudioLoader.js | niranjan-borawake/timestep | gpl-3.0 | 3,060 | 123 | codeparrot/github-code |
294b7997f15271cc170679d8fd4874df628e158a5270fdb4817e0d40cf9fdb4a | /*
* Freescale QUICC Engine UART device driver
*
* Author: Timur Tabi <timur@freescale.com>
*
* Copyright 2007 Freescale Semiconductor, Inc. This file is licensed under
* the terms of the GNU General Public License version 2. This program
* is licensed "as is" without any warranty of any kind, whether express
... | C | KERNEL_SOURCE_CODE/linux-source-3.8.11-voyage/drivers/tty/serial/ucc_uart.c | CognetTestbed/COGNET_CODE | gpl-3.0 | 41,875 | 1,543 | codeparrot/github-code |
b71c4860b026bc65b9974242432ba933dbb215c64c8fc9da1f379d3f19b33944 | using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Practices.ServiceLocation;
namespace Base.Prism
{
public static class ViewModelLocatorSetup
{
static readonly List<string> _... | C# | Base.Prism/Base.Prism/ViewModelLocator.cs | gidibaum/WPF-Demo | gpl-3.0 | 1,339 | 50 | codeparrot/github-code |
73c14fddd184c7dea956f5328a751b5563c85d0d3693a6e7cc1105e6d1f096d9 | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**************************************************************************
*
* Copyright 2010 American Public Media Group
*
* This file is part of AIR2.
*
* AIR2 is free software: you can redistribute it and/or modify
* it under... | PHP | app/api/project/organization.php | publicinsightnetwork/audience-insight-repository | gpl-3.0 | 6,360 | 197 | codeparrot/github-code |
dd05b13907143dc713df48d499496d08f086414a73e4d58d8b9728013fe5a347 | // Copyright (c) 2016 - 2020, Marcin Drob
// Kainote 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.
// Kainote is distribut... | C++ | Kaiplayer/KaiStatusBar.cpp | bjakja/Kainote | gpl-3.0 | 6,851 | 228 | codeparrot/github-code |
fc180d9930dc23f37bee7f32690aba9a76dd9258fe81d943bf8b72516c31c4ff | package com.eucalyptus.webui.client.activity;
import java.util.logging.Level;
import java.util.logging.Logger;
import com.eucalyptus.webui.client.ClientFactory;
import com.eucalyptus.webui.client.service.CloudInfo;
import com.eucalyptus.webui.client.view.CloudRegistrationView;
import com.google.gwt.activity.shared.Abs... | Java | clc/modules/www/src/main/java/com/eucalyptus/webui/client/activity/CloudRegistrationActivity.java | sosilent/euca | gpl-3.0 | 1,784 | 52 | codeparrot/github-code |
def8362b280942571d3122b5f935ae2f2531ddd9db4d8ae0f8ad175e50d8a79a | #include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <ctype.h>
char *cProgramName;
void PrintStr(char *cString)
{
char cSlash;
cSlash = '\\';
int i;
i = 0;
putchar('\'');
while (cString[i])
{
// if (cString[i] == 0x20)
// putchar('\\');
pu... | C | Linux/Tools/CShuffle/CShuffle.c | zachpodbielniak/PodNet | gpl-3.0 | 1,251 | 69 | codeparrot/github-code |
6ec68a325e6a1bff02dedbc6a7d0ba5bdc03d37e9336ad264228dd225020df6b | package org.uengine.codi.mw3.subscription;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.metaworks.annotation.AutowiredFromClient;
import org.metaworks.annotation.Hidden;
import org.uengine.codi.mw3.billing.model.*;
import org.uengine.codi.mw3... | Java | src/main/java/org/uengine/codi/mw3/subscription/TimeLine.java | TheOpenCloudEngine/process-codi | gpl-3.0 | 1,401 | 47 | codeparrot/github-code |
503d4dccc67bcb0dd648c1a1c93c87e3ffcf37cebbaea53c2bc3b31cb000b890 | /**
* 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 | web/org.tinygroup.weblayer/src/main/java/org/tinygroup/weblayer/webcontext/rewrite/Flags.java | TinyGroup/tiny | gpl-3.0 | 2,618 | 87 | codeparrot/github-code |
69f8464c88c43aedc366b136bb0bdab41184b177ce2f133adb4ced88f4179f53 | /*
* Intel HEX file uploader to emulator cpm4nano
*
* Copyright (C) 2017 - Alexey V. Voronin @ FoxyLab
* Email: support@foxylab.com
* Website: https://acdc.foxylab.com
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publishe... | GO | hex2nano.go | Dreamy16101976/cpm4nano | gpl-3.0 | 2,627 | 114 | codeparrot/github-code |
5adcddd652b45571de167613f0d40674b90c9f9ee52c4107c22d469294e3b013 | import chroma from 'chroma-js';
import { uiFont } from 'app/styles/variables';
import { themeVars, ColorList, generateColorWheel } from 'app/utils';
import { nodeSize, lineWidth, labelSize } from '../variables';
export default (instance, Clas, propsOverride) => {
const props = propsOverride || instance.props;
const... | JavaScript | app/components/modules/geometry.module/features/draw.js | omeryagmurlu/algoriv | gpl-3.0 | 2,487 | 84 | codeparrot/github-code |
c4f426d42b7fcae784b4a385500bce3ce297ac9817c2c57161c098c75d5a4d4c | /*
This file is part of Telegram Desktop,
the official desktop version of Telegram messaging app, see https://telegram.org
Telegram Desktop 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 ... | C++ | Telegram/SourceFiles/ui/widgets/media_slider.cpp | noikiy/tdesktop | gpl-3.0 | 4,235 | 105 | codeparrot/github-code |
c931d86c0bd6d420863cce0134b09fe1bf6ea5ffcccc055259302342a4a4b830 | /*
Copyright (C) 2008-2015 Teddy Michel
This file is part of TEngine.
TEngine 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.
TEngine is d... | C++ | source/Graphic/CImage.cpp | teddy-michel/TEngine | gpl-3.0 | 9,143 | 375 | codeparrot/github-code |
6dcea2a4e8e163bf886e6d91f2cd5d0bfef630231efe74ecc8a890dc3158a1bc | /**
@file letras.h
@brief TDA para gestionar las letras del diccionario
Este TDA lee de un fichero diccionario sus palabras, realiza un conteo de sus letras, obteniedo su frecuencia absoluta y relativa.
Además en la salida genera la siguiende estructura:
# Letra Frecuencia_absoluta Frecuencia_relativa... | C | cpp_aprendizaje/ED/practicas/practica_final/include/letras.h | BlancaCC/cultutrilla | gpl-3.0 | 2,435 | 105 | codeparrot/github-code |
49973ff110a82d0e8a76b0fc1521ae0a6523e38dc572e0ce900d90243e7a7104 | /*
* Copyright 2012 IMOS
*
* The AODN/IMOS Portal is distributed under the terms of the GNU General Public License
*
*/
function getParameterByNameFromUrlString(urlString, name) {
urlString = decodeURIComponent(urlString);
name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
var regexS = "[\\... | JavaScript | src/test/javascript/portal/details/StylePanelSpec.js | IMASau/aodn-portal | gpl-3.0 | 7,072 | 215 | codeparrot/github-code |
f05da6fc9a2c2d9579edd0c8a5a8ed0231cae1fb49d2b16414a5bdf8a0615a4b | /*
* Accio is a platform to launch computer science experiments.
* Copyright (C) 2016-2018 Vincent Primault <v.primault@ucl.ac.uk>
*
* Accio 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... | Scala | accio/java/fr/cnrs/liris/sparkle/DataFrameReader.scala | privamov/accio | gpl-3.0 | 3,204 | 94 | codeparrot/github-code |
ddc30f835a557528146c69f264769f6b193e9239135d79a24f0799e144b1285a | package org.fosstrak.webadapters.epcis.ws.generated;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for TypeOfServiceTransaction.
*
* <p>The following schema fragment specifies the expected content contained wi... | Java | src/main/java/org/fosstrak/webadapters/epcis/ws/generated/TypeOfServiceTransaction.java | Fosstrak/fosstrak-webadapters | gpl-3.0 | 1,516 | 49 | codeparrot/github-code |
1260f7972eec5c1236f2e4f5355b83f4a97f03949771bf5b98521bfe800a9f5d | # TLS-SAK - TLS Swiss Army Knife
# https://github.com/RBT-itsec/TLS-SAK
# Copyright (C) 2016 by Mirko Hansen / ARGE Rundfunk-Betriebstechnik
#
# 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, eit... | Python | lib/tls/tlsconnection.py | RBT-itsec/TLS-SAK | gpl-3.0 | 5,605 | 131 | codeparrot/github-code |
7d13d5ae5c15f72728d47e7b9c06329fc8490f57bb299566495041038a29986d | # (C) British Crown Copyright 2010 - 2014, Met Office
#
# This file is part of Iris.
#
# Iris is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the
# Free Software Foundation, either version 3 of the License, or
# (at your option) any l... | Python | lib/iris/analysis/calculus.py | scollis/iris | gpl-3.0 | 25,484 | 656 | codeparrot/github-code |
bdf2bf709f2a230ebd64838c62c24b3ab1e3a29297163e30e07dde9928a895d0 | /**
*
* Copyright (c) 2014, Openflexo
*
* This file is part of Excelconnector, a component of the software infrastructure
* developed at Openflexo.
*
*
* Openflexo is dual-licensed under the European Union Public License (EUPL, either
* version 1.1 of the License, or any later version ), which is availab... | Java | excelconnector/src/main/java/org/openflexo/technologyadapter/excel/model/ExcelSheet.java | openflexo-team/openflexo-technology-adapters | gpl-3.0 | 10,482 | 383 | codeparrot/github-code |
accb89bc5bc533c30d79ebd943571de00fc3d3154cf29e9e5af860e529ca3a15 | /*
* Copyright (C) 2010 DENX Software Engineering
*
* Anatolij Gustschin, <agust@denx.de>
*
* PDM360NG board setup
*
* 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 2 of the Lice... | C | arch/powerpc/platforms/512x/pdm360ng.c | williamfdevine/PrettyLinux | gpl-3.0 | 3,102 | 151 | codeparrot/github-code |
016d27fb408951abbb3d31865acd6d4e2224d4d289682fad83b08ef42e780802 | // -*- C++ -*-
// $Id: ParameterNegation.cc,v 1.3 2003/09/06 14:04:14 boudreau Exp $
#include "CLHEP/GenericFunctions/ParameterNegation.hh"
#include "CLHEP/GenericFunctions/Parameter.hh"
namespace Genfun {
PARAMETER_OBJECT_IMP(ParameterNegation)
ParameterNegation::ParameterNegation(const AbsParameter *arg1):
_arg1(... | C++ | GenericFunctions/src/ParameterNegation.cc | copernicus231/clhep-sprng | gpl-3.0 | 706 | 31 | codeparrot/github-code |
66716be1ab020b13d355d9c62b2a72a89c452f79775094c1dd947f2bc9d57120 | #! /usr/bin/perl
use DBI;
use strict;
use warnings;
#use Cache::Memcached;
use Cache::Memcached::Fast; # MS
use Parallel::Loops;
use Getopt::Long;
use Data::Dumper;
## Import variables from mT_param.conf
## This file allows us to set global parameters for the mT_control package
my $file = "mT_param.conf";
open (FH,... | Perl | mT_server/nefario/win_mT_control.pl | minoTour/minoTour | gpl-3.0 | 6,426 | 192 | codeparrot/github-code |
4433947b842e263b7b78990bb3a282d2377e5458386792c3daa473fa3386c350 | /*-------------------------------------------------------------------------
* Copyright (c) 2012,2013, Alex Athanasopoulos. All Rights Reserved.
* alex@melato.org
*-------------------------------------------------------------------------
* This file is part of Athens Next Bus
*
* Athens Next Bus is free software... | Java | src/org/melato/bus/model/cache/RoutePointCache.java | melato/next-bus | gpl-3.0 | 3,491 | 116 | codeparrot/github-code |
5bb63e27ed11be8b2fb7759aaba0672b7930124330b06ca78558e5c8d68d2095 | /*
Copyright 2012 Charité Universitätsmedizin Berlin, Institut für Radiologie
Copyright 2010 Henning Meyer
This file is part of KardioPerfusion.
KardioPerfusion 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 Softw... | C | analyse/linearregression.h | CardiacImagingCharite/CardiacPerfusion | gpl-3.0 | 2,410 | 70 | codeparrot/github-code |
d7356f92d7e6a5f98cfe3c98e52e7efe3ad24d9db25fccfce6b12a385ac7e352 | /*
===========================================================================
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/ui/UserInterfaceLocal.h | anonreclaimer/morpheus | gpl-3.0 | 5,766 | 147 | codeparrot/github-code |
77053a8a37ab1129ab1724f656a3b341574b8c577adf57ab3cb1decdf2ef2ee7 | using ACE.Database;
using ACE.Entity;
using ACE.Entity.Enum;
using ACE.Managers;
using System.Collections.Generic;
namespace ACE.Factories
{
public class WorldObjectFactory
{
public static List<WorldObject> CreateWorldObjects(List<AceObject> sourceObjects)
{
var results = new List<... | C# | Source/ACE/Factories/WorldObjectFactory.cs | fantoms/ACE | gpl-3.0 | 3,479 | 97 | codeparrot/github-code |
6b912da09f2f6a6268b82e438102ee6f6fb8480717700368b3039f778567c2ae | import Tkinter as tk
import tkFileDialog as fd
import tkMessageBox as mbox
import numpy as np
import re
import cv2
import excellon
import serial
from PIL import ImageTk,Image
import sys, os
import pickle
global coordinates, camdev, printerdev, ser
FPATH = None
FILEOPENED=False
app = tk.Tk()
app.title('P... | Python | pcbdrill.py | nextime/pcbdrill | gpl-3.0 | 20,051 | 564 | codeparrot/github-code |
94e005da8719da95053834649f5291db57c12975fc256f4c7da5a9e5f005e362 | package ru.ibs.tomcatrestart;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
imp... | Java | projects/ibs/TomcatRestart/src/main/java/ru/ibs/tomcatrestart/TomcatRestart.java | Niky4000/UsefulUtils | gpl-3.0 | 24,090 | 572 | codeparrot/github-code |
301bd10992599ddf8b06fb33515ff1a5d1ed22beeccfdebcacf4162c405820a8 | /**
Copyright 2012 John Cummens (aka Shadowmage, Shadowmage4513)
This software is distributed under the terms of the GNU General Public License.
Please see COPYING for precise license information.
This file is part of Ancient Warfare.
Ancient Warfare is free software: you can redistribute it and... | Java | AncientWarfare/src/shadowmage/ancient_warfare/common/npcs/helpers/targeting/AITargetList.java | shadowmage45/AncientWarfare | gpl-3.0 | 2,153 | 81 | codeparrot/github-code |
1fd2ee022a68c805449bd473b839946be81f2a96b46e614b635c742cfff8969f | /////////////////////////////////////////////////////////////////////////////
//
// Project ProjectForge Community Edition
// www.projectforge.org
//
// Copyright (C) 2001-2022 Micromata GmbH, Germany (www.micromata.com)
//
// ProjectForge is dual-licensed.
//
// This community edition is free software; you can... | Java | projectforge-business/src/main/java/org/projectforge/export/MyXlsContentProvider.java | micromata/projectforge | gpl-3.0 | 4,765 | 118 | codeparrot/github-code |
ac4710891701c1a9c8d0d2dd667a8816d0daf0b894cacdc6194bd8f8520f3758 | <?php
class ModelDealDeal extends \Core\Model {
public function getTotalDeals() {
$query = $this->db->query("Select count(*) as total from #__deal");
return $query->row['total'];
}
public function getTotalDealsByCompany($company_id) {
$query = $this->db->query("Select count(*) as ... | PHP | admin/model/deal/deal.php | openDeal/openDeal | gpl-3.0 | 17,278 | 396 | codeparrot/github-code |
272f8ceb2e040a4a612957725ff70bc7def312d05b7ba09f9a5169ef7a70cad2 | <?php
/**
*
* This file is part of the PhpExtJS plugin for S framework.
*
* @license http://opensource.org/licenses/GPL-3.0 GPL-3.0
*
* @author Vitor de Souza <vitor_souza@outlook.com>
* @date 31/07/2013
*
*/
namespace S\Plugins\PhpExtJS;
// V.Hook
use \V\Hook\Manager as HookManager;
use \V\Hook\Hook;
... | PHP | libs/s-framework/Plugins/PhpExtJS/Loader.php | venkon/vitha-framework | gpl-3.0 | 2,874 | 90 | codeparrot/github-code |
06f1ef1b48e157910eebad6581bd31a8f680c80b0832579eacc60349be4b2c43 | #region Copyright & License Information
/*
* Copyright 2007-2015 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
* see COP... | C# | OpenRA.Mods.Common/Traits/Harvester.cs | suvjunmd/OpenRA | gpl-3.0 | 15,695 | 518 | codeparrot/github-code |
b50c61b1aafee362e1d07ec3252dae05dcee2234913e1622ca3bc1fb38ac7c45 | var express = require('express');
var path = require('path');
var favicon = require('serve-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var routes = require('../routes/index');
var apis = require('../routes/api');
var app = express();... | JavaScript | lib/app.js | MathVDN/AngularServer | gpl-3.0 | 1,324 | 55 | codeparrot/github-code |
ac2f35d0fc5aebae88d06c6d74ae1aecf48c1e09af3263ff4fa052ea13c297c7 | # Copyright 2016 Thomas Schatz, Xuan-Nga Cao, Mathieu Bernard
#
# This file is part of abkhazia: 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.
#
# Abkh... | Python | abkhazia/corpus/corpus_filter.py | bootphon/abkhazia | gpl-3.0 | 13,553 | 345 | codeparrot/github-code |
ae24a0625727642809b96baf17cedfa751dd736cb001e57f34221a3833a59c60 | # -*- coding: utf-8 -*-
# @Author: tasdik
# @Date: 2016-04-11 18:52:17
# @Last Modified by: Tasdik Rahman
# @Last Modified time: 2016-04-12 17:07:33
# @GPLv3 License
# @http://tasdikrahman.me
# @https://github.com/tasdikrahman
from __future__ import absolute_import, division
import os
import bs4
from spammy.train... | Python | spammy/__init__.py | prodicus/spammy | gpl-3.0 | 7,251 | 221 | codeparrot/github-code |
ac388905288a5dfc272ad0176fb42a309d53570eb656b60cc85603aaf76649b6 | /*******************************************************************************************************
*
* msi.gaml.descriptions.StatementDescription.java, in plugin msi.gama.core, is part of the source code of the GAMA
* modeling and simulation platform (v. 1.8.1)
*
* (c) 2007-2020 UMI 209 UMMISCO IRD/SU &... | Java | msi.gama.core/src/msi/gaml/descriptions/StatementDescription.java | gama-platform/gama | gpl-3.0 | 10,519 | 356 | codeparrot/github-code |
cf5146ed90d5cabd62827b888387efdabfec25b2f9061e7a927f7cd49b4a4ddc | /* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
* Copyright (C) 2012-2014 - Michael Lelli
*
* RetroArch 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 Found-
* ation, ... | C | input/linuxraw_input.c | SuperrSonic/RA-SS | gpl-3.0 | 6,957 | 266 | codeparrot/github-code |
9fcc93427d6355c3ad34907b04589857934228173df1df4dace236d8115ba4e2 | /**
* Copyright 2012 Florian Schmaus
*
* All rights reserved. Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Java | src/org/jivesoftware/smackx/ping/PingManager.java | bobalm/gtalksms | gpl-3.0 | 11,296 | 342 | codeparrot/github-code |
28d830fce9658482f92f80a930572804e3f8b0745eebc0ec8ee4b1171c06de5e | /*****************************************************************
* This file is part of Managing Agricultural Research for Learning &
* Outcomes Platform (MARLO).
* MARLO 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... | Java | marlo-data/src/main/java/org/cgiar/ccafs/marlo/data/model/QATokenAuth.java | CCAFS/MARLO | gpl-3.0 | 3,322 | 174 | codeparrot/github-code |
41dce3e9e67821cc722e45f510538d7c39c33f495f7b99eef50bc57043402982 | /*
* This file is part of *** M y C o R e ***
* See http://www.mycore.de/ for details.
*
* MyCoRe 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)... | TypeScript | mycore-viewer/src/main/typescript/modules/base/components/model/TextContent.ts | MyCoRe-Org/mycore | gpl-3.0 | 1,488 | 52 | codeparrot/github-code |
e2cde029d377384c2378bd25ea399a0e334cf4e9adf5242a4555975f3c9f83e8 | '''
Created on Jan 27, 2017
@author: montes
'''
import bpy
from inspect import *
import mv
import os
import math
from reportlab.pdfgen import canvas
from reportlab.lib.pagesizes import legal,inch,cm
from reportlab.platypus import Image
from reportlab.platypus import Paragraph,Table,TableStyle
from reportlab.platypus ... | Python | win64-vc/2.78/scripts/startup/fluid_operators/fd_api_doc.py | Microvellum/Fluid-Designer | gpl-3.0 | 10,496 | 288 | codeparrot/github-code |
8bec9c42d8f6fe2efa574faffdbb1983f2ebd59bd98eb987554311a05610bed7 | <?php
class PeThemeContent {
protected $master;
protected $loops = array();
protected $current = false;
protected $blogLoop = false;
protected $cols = 0;
public function __construct(&$master) {
$this->master = &$master;
add_filter("pe_post_thumbnail",array(&$this,"post_thumbnail_filter"));
add_filter("w... | PHP | framework/php/PeTheme/PeThemeContent.php | Phonations/wp-theme | gpl-3.0 | 14,324 | 594 | codeparrot/github-code |
0f1e68cd9443ffb6b860291b02d88f445ec3453f4ae670fdbbda9d64daf52ba8 | /*
* Copyright 2012-2013 Arie Benichou
*
* 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... | Java | src/test/java/blockplus/model/BoardLayerTest.java | arie-benichou/blockplus | gpl-3.0 | 6,681 | 166 | codeparrot/github-code |
771be2cfba8d01dabdb376fa12812f85e93c060b85269bdf6663f9c5cbab2235 | !>
!! \short This module contains variables and routines for reporting
!! the memory usage of a code
!!
!! This module uses the file /proc/self/status to establish the memory
!! use of the code using it. This works only on linux systems but Fortran
!! does not supply any internal routines for memory checking, so this... | FORTRAN | code/report_memory.f90 | garrelt/C2-Ray3Dm1D_Helium | gpl-3.0 | 4,402 | 150 | codeparrot/github-code |
a2849833dc5ec823dcaf6b52205ef98ba742f75dc5be0e0995088c9761b939ce | /*
* Copyright (C) 2007 - 2012 GeoSolutions S.A.S.
* http://www.geo-solutions.it
*
* GPLv3 + Classpath exception
*
* 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 ... | Java | src/services/modules/rest/api/src/main/java/it/geosolutions/geofence/services/rest/model/util/RESTBatchOperationFactory.java | geosolutions-it/geofence | gpl-3.0 | 3,209 | 90 | codeparrot/github-code |
36262f13adb41683f5dc387431ea3a3f8b1ca61757ae56bfeaad23e51cd635db | /*
* 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... | TypeScript | ui/app/src/components/CreateFileDialog/CreateFileDialogContainer.tsx | rart/studio-ui | gpl-3.0 | 6,728 | 202 | codeparrot/github-code |
7d04fad72bc06f100b9a8668050f74a1c9990f73c4360105e7025e81a37d4a4a | /* ===================================================================== */
/* This file is part of Daredevil */
/* Daredevil is a side-channel analysis tool */
/* Copyright (C) 2016 */
/* Original auth... | C | socpa.h | SideChannelMarvels/Daredevil | gpl-3.0 | 4,359 | 116 | codeparrot/github-code |
55691c2e6d2aa957a71d7feaff600da27f49e1c1199dc90f79d93d57f60046fe | package com.sagereducation.robotescape.screen;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Screen;
import com.badlogic.gdx.graphics.Camera;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.math.Rectangle;
import com.badlogic.gdx.math.Vector2;
... | Java | core/src/com/sagereducation/robotescape/screen/AbstractScreen.java | cagewyt/RobotEscape | gpl-3.0 | 2,451 | 68 | codeparrot/github-code |
f70724878931d5ace31f81ce6a49153179e69c0213cc9617e6b7f987f67b0da9 | /* AUDEX CDDA EXTRACTOR
* Copyright (C) 2007-2015 Marco Nelles (audex@maniatek.com)
* <http://userbase.kde.org/Audex>
*
* 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 ... | C++ | dialogs/commandwizarddialog.cpp | tnbp/audex | gpl-3.0 | 11,411 | 235 | codeparrot/github-code |
c70cb8afc3278542f0202699d8a8594fb1bf6cf84261687d53ff88ddc0b1cdb4 | /*
HRPT-Decoder, a software for processing POES high resolution weather satellite imagery.
Copyright (C) 2010,2011 Free Software Foundation, Inc.
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 Softwa... | C | decoder/cadu.h | poes-weather/poes-usrp | gpl-3.0 | 3,244 | 113 | codeparrot/github-code |
244839313adcd7704c5bd826e8675356e32a2358f6ddd1fb79ad15e6cceeeae8 | package de.gdata.messaging.components;
import android.content.Context;
import android.text.Spannable;
import android.text.SpannableString;
import android.text.style.RelativeSizeSpan;
import android.util.AttributeSet;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageButton;
import... | Java | src/de/gdata/messaging/components/SelfDestructionButton.java | GDATASoftwareAG/SecureChat | gpl-3.0 | 3,650 | 106 | codeparrot/github-code |
b7906268e4362d1842570b804facc656f279ffd9d8484ed4546e33c05e9484e2 | # author David Sanchez david.sanchez@lapp.in2p3.fr
# ------ Imports --------------- #
import numpy
from Plot.PlotLibrary import *
from Catalog.ReadFermiCatalog import *
from environ import FERMI_CATALOG_DIR
# ------------------------------ #
#look for this 2FGL source
#source = "2FGL J1015.1+4925"
#source = "1FHL J215... | Python | Example/ExReadFermiCatalog.py | davidsanchez/CTAtools | gpl-3.0 | 2,277 | 71 | codeparrot/github-code |
48385e150c82a92f4602fe1c048ff0dff3b0c87442f66946db7db9780382adb9 | #include "QuadraticStateTransform.h"
#include <math.h>
inline double sgn(double a)
{
if (a < 0)
return -1.0;
else
return 1.0;
}
// Instantiates a keyframe player with A=1.
QuadraticStateTransform::QuadraticStateTransform()
{
A = 1;
}
// Sets the acceleration limit to A.
void QuadraticStateTransform::setA(doub... | C++ | Framework/src/math/QuadraticStateTransform.cpp | Interbotix/HROS5-Framework | gpl-3.0 | 2,281 | 97 | codeparrot/github-code |
3c856f87920c620ef8f429989e136e10806a55ba24f53a0299c144bf85d73986 | -----------------------------------
--
-- Zone: Northern_San_dOria (231)
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/globals/server");
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/quests");... | Lua | scripts/zones/Northern_San_dOria/Zone.lua | kidaa/FFXIOrgins | gpl-3.0 | 3,866 | 129 | codeparrot/github-code |
c76757cfabf7be4376f0d7fc4fd10af45ecd181a50d8aedf2fce3b074be781fa | #if defined HAVE_CONFIG_H
#include "config.h"
#endif
#ifndef __TRIQS_CTHYB_QMC_H__
#define __TRIQS_CTHYB_QMC_H__
#include <iostream>
#include <complex>
#include <triqs/operators/many_body_operator.hpp>
#include <triqs/utility/real_or_complex.hpp> //ADDED for compatibility with TRIQS 1.4
using namespace std;
//usin... | C++ | src/67_triqs_ext/triqs_cthyb_qmc.hpp | abinit/abinit | gpl-3.0 | 1,703 | 42 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.