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 |
|---|---|---|---|---|---|---|---|---|
c193fe4ef4077cea14c83a624fa5e5fb6c5fff147626deed821bf791e247778e | // Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright © 2009 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
/*
namespace Crystal * PeakHKLOffsets... | C | Framework/Crystal/inc/MantidCrystal/ShowPeakHKLOffsets.h | mganeva/mantid | gpl-3.0 | 1,451 | 56 | codeparrot/github-code |
ea0baf4992505abc0c451dd8871162e2f50262f010374d60920d35fe8deb73ba | package io.cloudbindle.youxia.reaper;
import com.amazonaws.services.simpledb.AmazonSimpleDBClient;
import com.amazonaws.services.simpledb.model.Attribute;
import com.amazonaws.services.simpledb.model.Item;
import com.amazonaws.services.simpledb.model.SelectRequest;
import com.amazonaws.services.simpledb.model.SelectRe... | Java | youxia-reaper/src/main/java/io/cloudbindle/youxia/reaper/BWABlackListConverter.java | CloudBindle/youxia | gpl-3.0 | 5,072 | 131 | codeparrot/github-code |
93c1332ed1a12a56a0a930576b3684dd1fd20f1c3939c20cfa6e1056c78d7ad5 | import React, { useEffect, useState } from 'react';
import { useDispatch } from 'react-redux';
import { startCase } from 'lodash';
import CircularProgress from '@material-ui/core/CircularProgress';
import Table from '@material-ui/core/Table';
import TableHead from '@material-ui/core/TableHead';
import TableCell from '@... | JavaScript | code/workspaces/web-app/src/components/settings/UserPermissionsTable.js | NERC-CEH/datalab | gpl-3.0 | 7,742 | 239 | codeparrot/github-code |
9fa7f1c86beb2f636e41cafb088f28f29349e4799e72b9ab550fd09fba8c4a88 | package com.earth2me.essentials;
import com.earth2me.essentials.messaging.IMessageRecipient;
import com.earth2me.essentials.messaging.SimpleMessageRecipient;
import org.bukkit.Server;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import static com.earth2me.essentials.I18n.tl;
public final... | Java | Essentials/src/main/java/com/earth2me/essentials/Console.java | drtshock/Essentials | gpl-3.0 | 2,556 | 93 | codeparrot/github-code |
40cc816ec99103e5689a5903af3373d859928a76f33cadf4382aa7806eba39ae | package com.baeldung.ldap.client;
import com.baeldung.ldap.data.service.UserService;
import com.baeldung.ldap.javaconfig.TestConfig;
import org.hamcrest.Matchers;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.conte... | Java | projects/tutorials-master/tutorials-master/spring-ldap/src/test/java/com/baeldung/ldap/client/LdapDataRepositoryIntegrationTest.java | Niky4000/UsefulUtils | gpl-3.0 | 2,346 | 68 | codeparrot/github-code |
a11ed848fa1955da2c50b66c4ea4e1428a2a8398cc1fe7b8ec94a8187ef3f8e0 | /*!
Open Development Assistant Server. Operation "Authentication step 2"
Copyright (C) 2009 Yuriy Zisin <zysoftik@gmail.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, eithe... | C | lib/odaprotocol/operations/odaauthstep2.h | zysoft/o-d-a | gpl-3.0 | 1,825 | 48 | codeparrot/github-code |
9363c5b3eea8f99ebc692298821c8613a0df66c905f9376d80f3150d04653f19 | package com.earth2me.essentials.utils;
import com.earth2me.essentials.Essentials;
import static com.earth2me.essentials.I18n.tl;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import net.ess3.api.IUser;
impor... | Java | Essentials/src/com/earth2me/essentials/utils/LocationUtil.java | TotalFreedom/TF-Essentials | gpl-3.0 | 9,800 | 378 | codeparrot/github-code |
e5895ad732af2cc3796a77fa0813a88991b44c446de1e74e49ce65189c8593ec | package org.dllearner.utilities.graph;
import java.io.File;
import java.util.*;
import java.util.function.Function;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import org.jgrapht.Graph;
import org.jgrapht.GraphPath;
import org.jgrapht.graph.DefaultEdge;
import org.jgrapht.graph.GraphWalk;
impo... | Java | components-core/src/main/java/org/dllearner/utilities/graph/GraphUtils.java | AKSW/DL-Learner | gpl-3.0 | 7,399 | 189 | codeparrot/github-code |
72000fae9e12871984b028d3d2388e2d713031d8530027067fef3e1ace4879ef | /* radare - LGPL - Copyright 2009-2015 - pancake */
#include <r_types.h>
#include <r_util.h>
#include "dex.h"
char* r_bin_dex_get_version(struct r_bin_dex_obj_t* bin) {
char *version;
if (!bin) return NULL;
version = malloc (8);
memset (version, 0, 8);
memcpy (version, bin->b->buf+4, 3);
return version;
}
#def... | C | libr/bin/format/dex/dex.c | aoighost/radare2 | gpl-3.0 | 4,818 | 175 | codeparrot/github-code |
5f26fbcb5303c8f34d69b49d8e6a4735a9d95496b257dba9e439d638a28ee8c7 | # -*- coding: utf-8 -*-
#
# Copyright (c) 2014 Toshio Kuratomi
# License: GPLv3+
#
# This file is part of Mondegreen.
#
# Mondegreen 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 | mondegreen/config.py | abadger/mondegreen | gpl-3.0 | 3,476 | 105 | codeparrot/github-code |
1ea697e23afb2af2e9c4c7a1421847d51c35ad7993d910853a7bd7e82832df25 | <?
/// aboutClass Абстракция интерфейса с обзими функциями
/// v 0.2.3
abstract class interfaces
{
protected $title;
protected $content;
protected $asaid;
protected $description;
protected $key;
protected $js;
/**
* Нумерованный массив файлов, которые следует вставить в конец страницы
* @var... | PHP | class/interfaces/interfaces.php | pikada-lab/school | gpl-3.0 | 3,490 | 158 | codeparrot/github-code |
5d0769ec848cde777b2513fb7d3d7df3eb5f3ab1f4bbf80ca60e343c820ca463 | /*
* #%L
* VisualWAS
* %%
* Copyright (C) 2013 - 2020 Andreas Veithen
* %%
* 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 lat... | Java | loader/src/main/java/com/github/veithen/visualwas/loader/PluginXmlHandler.java | veithen/visualwas | gpl-3.0 | 3,276 | 104 | codeparrot/github-code |
9ab6d397bf3afc746d95d8fded01510acc796a6f21d9cecc5c0a927f69f94c83 | package com.apps.philipps.source.cachemanager;
import java.io.Serializable;
/**
* Created by qwert on 26/03/2017.
*/
public class GameData implements Serializable {
private boolean bought;
public boolean getBought() {
return bought;
}
public void setBought(boolean bought) {
this.b... | Java | Breathy/source/src/main/java/com/apps/philipps/source/cachemanager/GameData.java | leodejevga/breathy | gpl-3.0 | 506 | 31 | codeparrot/github-code |
43707190095ffdeb54ab6451aa73d2f30ff43699c6ca12a5e60c4a1487036b05 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Web.Mvc;
using System.Web.Security;
using Adxstudio.Xrm.Cms;
using Adxstudio.Xrm.Configuration;
using Adxstudio.Xrm.Json.JsonConverter;
using Adxstudio.Xrm.M... | C# | Adxstudio/MasterPortal/Areas/Portal/Controllers/EntityGridController.cs | nzkelvin/mrxrm | gpl-3.0 | 19,198 | 570 | codeparrot/github-code |
3c477eb17fcce89a978eafb3639207e20f71e3a8fd1bf1772d0c619bb6fd4878 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xam... | C# | EndlessOrange/UWPApp/App.xaml.cs | Infinideastudio/EndlessOrange | gpl-3.0 | 2,722 | 109 | codeparrot/github-code |
1ba8426c5b5b12f845fec36c76cf8f87509cd43b2a472046b79f113d5824f117 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle ... | PHP | mod/scorm/datamodels/scorm_13.js.php | khan0407/FinalArcade | gpl-3.0 | 77,137 | 1,326 | codeparrot/github-code |
8d67b983e1f7ac7c1ba9a511b1dd85041de156867b1291932f3fe74e1cf1a3cc | /*
* Copyright (C) 2020 Graylog, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; withou... | Java | graylog2-server/src/main/java/org/graylog2/rest/models/users/requests/ChangePasswordRequest.java | Graylog2/graylog2-server | gpl-3.0 | 1,556 | 45 | codeparrot/github-code |
215d8776e70b014cd309e4d82f27ebc0a5607c0bcb52267daacd4d73fab23870 | export PATH := ${HOME}/.local/bin:${HOME}/.node_modules/bin:${HOME}/.cargo/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/bin/core_perl:${HOME}/bin:${HOME}/google-cloud-sdk/bin
export GOPATH := ${HOME}
NODE_PKGS := babel-eslint bash-language-server cloc create-nuxt-app create-react-app webpack
NODE_PKGS += dockerfil... | Makefile | Makefile | masasam/dotfiles | gpl-3.0 | 20,521 | 568 | codeparrot/github-code |
d2d610dbcf89c029ad79039c9b494af6531489a3bfb77679fb25871919ad35f3 | package com.sk89q.craftbook.Spoke.SpokeExpressions;
import com.sk89q.craftbook.Spoke.IToken;
public class SpokeArrayIndex extends SpokeBasic implements SpokeItem,
SpokeParent {
public boolean ForSet;
SpokeParent parent;
public SpokeItem getParent() {
return parent;
}
public void setParent(SpokeItem im) {
... | Java | src/circuits/com/sk89q/craftbook/Spoke/SpokeExpressions/SpokeArrayIndex.java | dested/Spoke-in-Craftbook | gpl-3.0 | 696 | 32 | codeparrot/github-code |
7778d702d735ccfa775bec8fe3a39317b439974223ce4791abe9ebea1c5efeab | package cc.blynk.server.application.handlers.main.logic;
import cc.blynk.server.Holder;
import cc.blynk.server.application.handlers.main.auth.MobileStateHolder;
import cc.blynk.server.core.dao.SessionDao;
import cc.blynk.server.core.dao.SharedTokenManager;
import cc.blynk.server.core.model.DashBoard;
import cc.blynk.s... | Java | server/tcp-app-server/src/main/java/cc/blynk/server/application/handlers/main/logic/MobileDeActivateDashboardLogic.java | blynkkk/blynk-server | gpl-3.0 | 1,967 | 54 | codeparrot/github-code |
f86f5051f9d3e85a4e49103679cc63bcaa8cde4723fb06009fa58e98385d5e0b | # Note: run this server by using python2.7 instead of python3.2
from asyncore import dispatcher
from asynchat import async_chat
import socket, asyncore
IP = ''
PORT = 5555
SEP = '\n'
class ChatSession(async_chat):
"""
A simple chat session corresponding to a client
"""
def __init__(self,sock):
async_chat.__init... | Python | project/chat/chatserver.py | justasabc/python_tutorials | gpl-3.0 | 1,221 | 55 | codeparrot/github-code |
d83d45de63736acfe0b66ecd3d483ca9285e02ec3759bccef2ac53af085908a1 | // Copyright (C) 2009-2012 Vaptistis Anogeianakis <nomad@cornercase.gr>
/*
* This file is part of Unsorted Library.
*
* Unsorted Library is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either versio... | C | src/Color/glColor.h | nomad-/Unsorted-Library | gpl-3.0 | 2,040 | 73 | codeparrot/github-code |
8da51ee0c6647df04f8937196599a9c345f67b59f3c3199dcb387ea771d07b36 | package org.icgc.dcc.pcawg.client.utils;
import com.google.common.collect.ImmutableList;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.val;
import java.util.Comparator;
import java.util.List;
import java.util.function.Function;
import java.util.function.Predicate;
import static lombok.Ac... | Java | pcawg-import-client/src/main/java/org/icgc/dcc/pcawg/client/utils/CompareState.java | icgc-dcc/pcawg-import | gpl-3.0 | 1,827 | 63 | codeparrot/github-code |
6e1cb99cdbedef63b49b8569df82cf4cbcafd7715d7700274b3df9a6fb6a5b51 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using DFM.Language.Emails;
using DFM.Language.Entities;
using DFM.Language.Extensions;
using Keon.Util.Extensions;
using Newtonsoft.Json;
namespace DFM.Language
{
public class PlainText
{
internal stati... | C# | core/Language/PlainText.cs | darakeon/dfm | gpl-3.0 | 4,486 | 186 | codeparrot/github-code |
08488a3aff7ad5f41421d72fd3c3711d849a053faae764bf98741d7273f3daf3 | /*
** VelaTron, Copyright (C) 2001-2012 Mikhael Goikhman, migo@freeshell.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 option) any lat... | C++ | src/map.cpp | mig0/velatron | gpl-3.0 | 4,056 | 137 | codeparrot/github-code |
e9a71703c5c7d93dccd1b9e2dbcb99ef90116a58441146710ebeeaf43602035f | <!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Unity - Scripting API: KeyCode.Minus</title>
<meta name="descriptio... | HTML | ScriptReference/KeyCode.Minus.html | rakuten/Uinty3D-Docs-zhcn | gpl-3.0 | 9,895 | 215 | codeparrot/github-code |
d53c0581be7bdbeb8e8abbb1d04fd8a43b1e481101d4889d4ae56da2c00e73b6 | /*
** $Id: lstrlib.c 4787 2013-04-02 02:08:04Z treellama $
** Standard library for string operations and pattern-matching
** See Copyright Notice in lua.h
*/
#include <ctype.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define lstrlib_c
#define LUA_LIB
#include "lua.h"
#include... | C | Source_Files/Lua/lstrlib.c | 0x7F800000/Aleph-NONE | gpl-3.0 | 28,347 | 1,020 | codeparrot/github-code |
7592267ba191c85848166d845b735db830705dbc1ecaac3a15e6a91ac9bb7c82 | package fi.dy.masa.autoverse.block;
import java.util.ArrayList;
import java.util.List;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.IProperty;
import net.minecraft.block.properties.PropertyBool;
import net.minecraft.block.properties.PropertyInteger;
import net.minecraft.block.sta... | Java | src/main/java/fi/dy/masa/autoverse/block/BlockBarrel.java | maruohon/autoverse | gpl-3.0 | 6,948 | 215 | codeparrot/github-code |
78eca8cc13f4c7c2b64761285fd1b7b2b6410e1dbe46e35ac5d9ee51e83f3114 | // swing_components_IconDemoApp
class USwingWorker extends SwingWorker {
UWindow f1;
@Override Object doInBackground() {
AbstractAction[] aa = new AbstractAction[??];
publish(aa);
UWindow uw = this.f1;
String[] s = uw.f3;
String s0 = s[??];
ImageIcon ii = new ImageIcon(??);
String s1 = s... | Java | data/baseline/swing_components-JToolTip.setTipText.java | kyessenov/semeru | gpl-3.0 | 11,190 | 394 | codeparrot/github-code |
2a600b06b9e755fab66bb4c3e428011595ab4a161007b00e1fc02c2440a56cb1 | # -*-coding: utf-8 -*-
import colander
from . import (
SelectInteger,
ResourceSchema,
BaseForm,
BaseSearchForm,
)
from ..resources.leads_offers import LeadsOffersResource
from ..models.lead_offer import LeadOffer
from ..models.currency import Currency
from ..models.supplier import Supplier
from ..mode... | Python | travelcrm/forms/leads_offers.py | mazvv/travelcrm | gpl-3.0 | 1,762 | 64 | codeparrot/github-code |
e046e559fcd95b5121a12f667b11be2a896c8f144b3c1bb87cd49d7027890f0f | /* Copyright (c) 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java | BillingHelper/src/main/java/com/jug6ernaut/billing/Inventory.java | jug6ernaut/alogger | gpl-3.0 | 3,161 | 92 | codeparrot/github-code |
840a0b8265cc8e4d8134fd46bcc8078a1e79d8441ffd785050d9e179befd7d92 | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the TGA plugin in the Qt ImageFormats module.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
*... | C++ | src/ThirdParty/QtImageFormats/qtimageformats_legacy/src/plugins/imageformats/tga/qtgahandler.cpp | AlienCowEatCake/ImageViewer | gpl-3.0 | 3,379 | 126 | codeparrot/github-code |
532aced0938bbdb863972a2d13cddacb1fb470e4fb5fb2c26fd3b2eb905c84d7 | 'use strict';
var url = ws_scheme + '://' + location.host + '/websocket/matcher/' + osm_type + '/' + osm_id;
var connection = new WebSocket(url);
var messages = document.getElementById('messages');
var current = document.getElementById('current');
connection.onopen = function () {
console.log('websocket connecte... | JavaScript | matcher/static/js/ws.js | EdwardBetts/osm-wikidata | gpl-3.0 | 3,122 | 117 | codeparrot/github-code |
3abb3d7aa1021b9c21374931e4cb22684534c1a6bae9a23e609be5c364cd0b9f | /*!
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
(function ($) {
var colorNames = {"aliceblue":"#f0f8ff","antiquewhite":"#faebd7","aqua":"#00ffff","aquamarine":"#7fffd4","azure":"#f0ffff",
"beige":"#f5f5dc","... | JavaScript | plugins/CoreHome/javascripts/color_manager.js | piwik/piwik | gpl-3.0 | 10,967 | 225 | codeparrot/github-code |
7960ec013aad9e859255f57795958499a9c144003bd166433e4d7ca3ff33e261 | package org.alert.controllers;
import javax.transaction.Transactional;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;
@Controller
@Trans... | Java | src/main/java/org/alert/controllers/ProcedimentosController.java | stenioneves/TCC_ALERT | gpl-3.0 | 1,229 | 48 | codeparrot/github-code |
af2b4089157c8ef212b3ccf1cfd05d12a62074e90fdc23b70f082b945dc1198b | /*
* Copyright (C) 2013 Nicholas Gill
*
* 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 ... | C++ | src/types/gradient.cpp | mythagel/svg_playground | gpl-3.0 | 1,267 | 59 | codeparrot/github-code |
b3054180c618b227bb6c29e54fd601c4edd2c8b7edd380e2e4cfdd2f53b1b496 | package assignment1.ridengo;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.Toast;
import java.util.ArrayLis... | Java | RideNGo/app/src/main/java/assignment1/ridengo/NearbyListActivity.java | CMPUT301F16T06/RideNGo | gpl-3.0 | 3,445 | 79 | codeparrot/github-code |
e4d4080abb054d3d476b116e019bc3a8bfa4ff288f02cfaf4d1defe4d7b998e7 | using System;
using ECCentral.BizEntity;
using ECCentral.BizEntity.IM;
using ECCentral.Portal.Basic.Utilities;
using ECCentral.Portal.UI.IM.Models;
using Newegg.Oversea.Silverlight.ControlPanel.Core;
using Newegg.Oversea.Silverlight.Controls;
using ECCentral.BizEntity.Common;
namespace ECCentral.Portal.UI.IM.Facades
... | C# | 02_ECCentral/02_Portal/UI/ECCentral.Portal.UI.IM/Facades/Category/CategoryExtendWarrantyFacade.cs | ZeroOne71/ql | gpl-3.0 | 6,807 | 172 | codeparrot/github-code |
64dbafa8f6568ab7126d0da6c33610cdc19b8c3ce9d27c1b3de4545d8569a7b8 | /************************************************************************************
*
* This file is part of triki
*
* Written by Donald McIntosh (dbm@opentechnology.net)
*
* triki is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*... | Java | triki-core/src/main/groovy/net/opentechnology/triki/core/model/DateIndexer.java | opentechnologynet/triki | gpl-3.0 | 5,567 | 137 | codeparrot/github-code |
3e6ac4fd9ef90ab53566b473e1f6c08e3daaf24d122bb58488d9c9d771840f76 | middleclass = {
_VERSION = 'middleclass v4.0.0',
_DESCRIPTION = 'Object Orientation for Lua',
_URL = 'https://github.com/kikito/middleclass',
_LICENSE = [[
MIT LICENSE
Copyright (c) 2011 Enrique García Cota
Permission is hereby granted, free of charge, to any person obtaining a
... | Lua | lua/includes/modules/middleclass.lua | devolin/pocketspace | gpl-3.0 | 5,966 | 179 | codeparrot/github-code |
584e2a7a4eb57c337cc6dcd7741d1580edd875a2da7291e5413011fa69f43e5b | /*
* Copyright (C) 2014 Tobias Ramforth
*
* 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/main/java/com/ramforth/webserver/http/HttpHeaderFactory.java | irgsmirx/WebServer | gpl-3.0 | 2,961 | 82 | codeparrot/github-code |
3e9e0f85998e3dc9acd70efa43fdbaa7f0fdb0a2291f975d2c04e905c2ef6757 | 'use strict';
const HTMLWebpackPlugin = require('html-webpack-plugin');
const Webpack = require('webpack');
const Path = require('path');
module.exports = (env) => {
const isBuild = env === 'production' || env === 'prod';
const port = 3000;
const entry = Path.resolve(__dirname, './index.js');
const output... | JavaScript | examples/simple/webpack.config.js | Gastonite/zwip | gpl-3.0 | 1,702 | 85 | codeparrot/github-code |
33d5f028e129693854ad5c9b563248c2ff50c7200f0d062386e3b0af68eeb824 | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using log4net;
using PartCover.Browser.Api;
namespace PartCover.Browser
{
internal class FeatureSeeker
{
private static readonly ILog log = LogManager.GetLogger(MethodBase.GetCurrentMethod().Decla... | C# | main/PartCover.Browser/FeatureSeeker.cs | sawilde/partcover.net4 | gpl-3.0 | 990 | 37 | codeparrot/github-code |
91b3dc49f2d23d6e61d77080499225aaafc29be1041f1d7fce25651284d84daa | <?php
class bors_html
{
static function icon($params)
{
extract($params);
if(empty($size))
$size = '16x16';
list($width, $height) = explode('x', $size);
if(empty($css_class))
$class = '';
else
$class = " class=\"$css_class\"";
if(!preg_match('/\.(png|gif)$/', $image))
{
if($size != '16... | PHP | classes/bors/html.php | Balancer/bors-core | gpl-3.0 | 2,223 | 105 | codeparrot/github-code |
40a7d6eaaa3fc03b69f3fb6f5ef885793d6c90551d94869f62a1d40dc152983a | /*
Copyright (C) 2017 The BlameWarrior Authors.
This file is a part of BlameWarrior service.
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 y... | GO | user_handlers.go | blamewarrior/users | gpl-3.0 | 3,728 | 145 | codeparrot/github-code |
0d899d3cbc7c1ea016844bae225a8addf37610f6d8a4809c79d0cee6028737f8 | // Copyright 2015, 2016 Parity Technologies (UK) Ltd.
// This file is part of Parity.
// Parity is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any la... | Rust | ethcore/src/account_provider/stores.rs | immartian/musicoin | gpl-3.0 | 7,291 | 272 | codeparrot/github-code |
6aa72026dc149c334ab17d342820bd5ba5202ed8e23be550bca1ef885b7e8e86 | // Decompiled with JetBrains decompiler
// Type: System.Web.UI.WebControls.LinkButton
// Assembly: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// MVID: 7E68A73E-4066-4F24-AB0A-F147209F50EC
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Web.dll
using System... | C# | LoCO Client Files/Decompressed Client/Extracted DLL/System.Web/System/Web/UI/WebControls/LinkButton.cs | mater06/LEGOChimaOnlineReloaded | gpl-3.0 | 16,755 | 440 | codeparrot/github-code |
d8776fa440038372b8277ae0104b7b7cc48190b98337cfe98b64066e62b73422 | /*
Thread used for processing an image region
Copyright (C) 2000-2007 Bob Mottram
fuzzgun@gmail.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the L... | C# | utilities/ThreadRegionProcessing.cs | bashrc/sentience | gpl-3.0 | 3,603 | 110 | codeparrot/github-code |
21408311c1e2d1b11096abef28257fcc97cd53b30e2bb4691457b7057b033a86 | <?php
/**
* LLMS_Forms_Admin_Bar calss
*
* @package LifterLMS/Classes
*
* @since 5.0.0
* @version 5.0.0
*/
defined( 'ABSPATH' ) || exit;
/**
* Add WP Admin Bar Nodes to enable editing of the currently-viewed form by a qualifying user
*
* @since 5.0.0
*/
class LLMS_Forms_Admin_Bar {
/**
* Constructor
... | PHP | includes/forms/class-llms-forms-admin-bar.php | gocodebox/lifterlms | gpl-3.0 | 2,959 | 128 | codeparrot/github-code |
e2d578d30423dd95046e97bf65930e8d7f8c365d42e1b3bc9466800c8c232fd7 | #!/bin/bash -e
# Location of tar.gz file containing source code
# Download from https://github.com/casadi/casadi/wiki/InstallationInstructions
tarball_location="$HOME/toolbox/sources/sundials-2.5.0-ankur2.tar.gz"
# Location of temp folder
temp_folder="/tmp/sundials"
# Install location folder for SUNDIALS C files
# N... | Shell | install-scripts/install-sundials.sh | ankur-gupta/numerical-software-examples | gpl-3.0 | 2,108 | 55 | codeparrot/github-code |
24a4a27b6a2e6e410a04677eac3d9926096c6a6486179ea364073e28c76dd9c2 | #region license
/*
MediaFoundationLib - Provide access to MediaFoundation interfaces via .NET
Copyright (C) 2007
http://mfnet.sourceforge.net
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; e... | C# | src/Core/Enums/MFNetCredentialRequirements.cs | todor-dk/SuperMFLib | gpl-3.0 | 2,551 | 72 | codeparrot/github-code |
f994509a4a9ae5d8063cdd1430eb7a1deb77b04bc370029cda7d51bf39926679 | /****************************************************************************
**
** Copyright (C) 2019 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt VS Tools.
**
** $QT_BEGIN_LICENSE:GPL-EXCEPT$
** Commercial License Usage
** Licensees holding valid commercial Qt licens... | C# | src/qtvstest/Macro.cs | qtproject/qt-labs-vstools | gpl-3.0 | 36,014 | 1,019 | codeparrot/github-code |
78d1f875917477747eb8ad7297e7498cda8beb77ba3424476034671826ffb09b | // managedFlu - OpenFOAM C++ interactive functionality API
// Copyright (C) 2011- Alexey Petrov
//
// 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
/... | C++ | src/OpenFOAM/UniformDimensionedFieldHolder.hpp | asimurzin/managedFlu | gpl-3.0 | 4,237 | 126 | codeparrot/github-code |
99c5cb57faf3ecca16005d40cf0fd30709a6aee4112222d1b12725d9eb294d41 | // ==UserScript==
// @name Catagolue Census Page updates
// @namespace None
// @description Add symmetry to links to Catagolue object pages to support breadcrumbs navigation.
// @include *://catagolue.appspot.com/census/*
// @version 1.0
// @grant none
// ==/UserScript==
// "On second thought, l... | JavaScript | Catagolue Reloaded/symmetryinjector.js | AppleBottom/catagolue-reloaded | gpl-3.0 | 2,260 | 96 | codeparrot/github-code |
45bcd23ed5f746b30f5776679f6b62229e32d18014777eccd57df36869c29c68 | (function($) {
$.fn.dynamicForm = function(options) {
return new DynamicForm(this, options);
};
})(jQuery);
var DynamicForm = function (element, options){
this.element = element;
this.settings = $.extend({
// These are the defaults.
url: "#"
}, options );
log.debug(... | JavaScript | dynamicForms-1.0.js | mwnauta/dynForms | gpl-3.0 | 8,715 | 265 | codeparrot/github-code |
690718b37e452085fff73cd19fabfbfc34ac72f0a072fb7b74e09d872c961d22 | /*
* Wolfenstein: Enemy Territory GPL Source Code
* Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company.
*
* ET: Legacy
* Copyright (C) 2012 Jan Simek <mail@etlegacy.com>
*
* This file is part of ET: Legacy - http://www.etlegacy.com
*
* ET: Legacy is free software: you can redistribute it and/or m... | C | src/qcommon/qcommon.h | raedwulf/etlegacy | gpl-3.0 | 43,274 | 1,385 | codeparrot/github-code |
5cfa092a04c775a9cf533e81e15171e7bfc2845ed1dc4dbbeebb716266c33b0f | package org.jdyna.audio.jxsound;
import java.io.*;
import java.util.*;
import javax.sound.sampled.*;
import javax.sound.sampled.Line.Info;
import org.apache.commons.io.IOUtils;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
/**
* Sound effect manager manages audio samples and their... | Java | src/java/org/jdyna/audio/jxsound/ClipManager.java | dweiss/jdyna | gpl-3.0 | 4,134 | 152 | codeparrot/github-code |
0e6dedfbae3091478debc8a792ad9176953f708e92517d1bcbd92b072d236468 | package data.sql;
import app.RootLogger;
import common.SettingsStore;
import core.authentication.model.UserProfile;
import core.customer.model.Customer;
import core.deal.model.*;
import core.stock.model.CarDetails;
import data.CarDealRepository;
import data.CarRepository;
import data.ConnectionStringProvider;
import d... | Java | src/main/java/data/sql/MsSqlCarDealRepository.java | stephaniefrancois/car-showroom | gpl-3.0 | 17,347 | 332 | codeparrot/github-code |
3a162f82e194c0b19e2ca4e0552a99aa0d955f69353dc2996f06d4f70d4e8ac5 | /*
* Shadowsocks - A shadowsocks client for Android
* Copyright (C) 2014 <max.c.lv@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at y... | Scala | src/main/scala/com/github/shadowsocks/ShadowsocksVpnService.scala | Zouyiran/shadowsocks-android | gpl-3.0 | 14,962 | 507 | codeparrot/github-code |
66c15b3e6a10dee40878ba90a81500fea5a2688a07c0a8850db442ac34deace0 | <!DOCTYPE html>
<html xml:lang="en-GB" lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head lang="en-GB">
<title>Ross Gammon’s Family Tree - Family Map</title>
<meta charset="UTF-8" />
<meta name ="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" />
<meta name ="appl... | HTML | RossFamilyTree/maps/c/6/d15f5fe2dbd18f01446987526c.html | RossGammon/the-gammons.net | gpl-3.0 | 4,275 | 103 | codeparrot/github-code |
bc6fe6f6e81da7f8a848a8dce9da1507f3659ac05dda0a42ef5d22c44fc91213 | do
local META = prototype.CreateTemplate("gmod_weapon")
META:Register()
function gine.CreateWeapon()
local self = META:CreateObject()
self.clip1 = 0
self.max_clip1 = 1
self.clip2 = 0
self.max_clip2 = 1
return self
end
end
do
local META = gine.GetMetaTable("Weapon")
function META:SetClip2(num) sel... | Lua | game/lua/libraries/gmod/libraries/weapons.lua | CapsAdmin/goluwa | gpl-3.0 | 1,618 | 99 | codeparrot/github-code |
1143057f018a9e0d65d50a70af67dadbc3b4a7b97bcb1367c2ff3686f23afbf2 | '''
Time Variant/Incremental Ensemble of FTS methods
'''
import numpy as np
import pandas as pd
from pyFTS.common import FuzzySet, FLR, fts, flrg
from pyFTS.partitioners import Grid
from pyFTS.models import hofts
from pyFTS.models.ensemble import ensemble
class IncrementalEnsembleFTS(ensemble.EnsembleFTS):
"""
... | Python | pyFTS/models/incremental/IncrementalEnsemble.py | petroniocandido/pyFTS | gpl-3.0 | 3,809 | 126 | codeparrot/github-code |
147b352eb03e2a9bf699371a4337eb14e5182975aa44fe08e38a3f8a10eb8966 | /*
* TACO: Translation of Annotated COde
* Copyright (c) 2010 Universidad de Buenos Aires
*
* 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 ... | Java | src/ar/edu/taco/simplejml/builtin/JNoSuchElementException.java | zeminlu/comitaco | gpl-3.0 | 5,647 | 149 | codeparrot/github-code |
73dc4c8963e6e144da67252f8f76f9efc1873b0ab73c756bc703d841cf1366de | // +--------------------------------------------------------------------------+
// | Copyright 2016 Matthew D. Steele <mdsteele@alum.mit.edu> |
// | |
// | This file is part of System Syzygy. |
... | Rust | src/modes/serves/view.rs | mdsteele/syzygy | gpl-3.0 | 8,620 | 225 | codeparrot/github-code |
35bf504f5793d2a56a14858401716937e324ce8d9240eeb26fcc6f1d7d65cb16 | #pragma once
#include <glib-object.h>
#include <tracker-sparql.h>
#ifdef BUILD_ZEITGEIST
#include <zeitgeist.h>
#endif /* BUILD_ZEIGEIST */
#include "biji-info-set.h"
#include "biji-note-obj.h"
#include <libedataserver/libedataserver.h> /* ESourceRegistry */
#define GOA_API_IS_SUBJECT_TO_CHANGE
#include <goa/goa.... | C | src/libbiji/biji-manager.h | GNOME/bijiben | gpl-3.0 | 4,477 | 127 | codeparrot/github-code |
7dbab5b19e2976f71acf53b19e49d8f0a9cdc33befed613072990f2ed2412b4c | /**
* Copyright (C) 2001-2016 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free So... | Java | rapidMiner/rapidminer-studio-core/src/main/java/com/rapidminer/gui/tools/bubble/BubbleWindow.java | transwarpio/rapidminer | gpl-3.0 | 71,660 | 2,289 | codeparrot/github-code |
93456590dc39887e811745dea827943582260e37705f9c7aefbe64750c7a83f6 | /// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/*
Lead developer: Andrew Tridgell
Authors: Doug Weibel, Jose Julio, Jordi Munoz, Jason Short, Randy Mackay, Pat Hickey, John Arne Birkeland, Olivier Adler, Amilcar Lucas, Gregory Fletcher, Paul Riseborough, Brandon Jones, Jon Cha... | C++ | ArduPlane/ArduPlane.cpp | winglink/rectangle | gpl-3.0 | 27,667 | 931 | codeparrot/github-code |
01e95a8862d891c49fd8b0c70d1809265e4293a4d728796389733d5f5ca8a19a | # -*- coding: utf-8 -*-
#
# Created on Oct 15, 2013
# @authors: Jiri Spilka
# http://people.ciirc.cvut.cz/~spilkjir
# @2015, CIIRC, Czech Technical University in Prague
#
# Licensed under the terms of the GNU GENERAL PUBLIC LICENSE
# (see CTGViewer.py for details)
import sys
from PyQt4.QtGui import QApplication, QWidg... | Python | src/ClinInfoForm.py | spilkjir/CTGViewer | gpl-3.0 | 7,448 | 181 | codeparrot/github-code |
466ba404e9bede8f4c07dad6ad8e07437127e13db446cb0fe19c37d190d81869 | <?php
/******************************************************************************
*
* Subrion - open source content management system
* Copyright (C) 2017 Intelliants, LLC <https://intelliants.com>
*
* This file is part of Subrion.
*
* Subrion is free software: you can redistribute it and/or modify
* it und... | PHP | front/search.php | Saltw/webusable | gpl-3.0 | 6,124 | 159 | codeparrot/github-code |
60b83b6f939cb11796a56392f7097dfa399d49a3396c067c8b53abbf764d402d | import os
import rootpy.compiled as C
C.register_code(
"""
#include <map>
int get_bin(double pt_mev)
{
if (pt_mev < 30000.) return 0;
else if (pt_mev > 30000. && pt_mev < 40000.) return 1;
else if (pt_mev > 40000. && pt_mev < 50000.) return 2;
else if (pt_mev > 50000. && pt_mev < 60000.) return 3;
else if (pt_mev > ... | Python | tauperf/extern/cuttable.py | qbuat/tauperf | gpl-3.0 | 4,751 | 183 | codeparrot/github-code |
f107463973754a1e4dfb76a6f7e2527b19e5d88ef46e3a52b2ac24cffcdab3c4 | <?php
//no cache headers
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
?>
<!DOCTYPE html>
<ht... | PHP | www/sandbox/sort.php | aroxby/pgh_secrets | gpl-3.0 | 2,842 | 110 | codeparrot/github-code |
80fa2b6efb2a9ac636a9946bdd5734b1c1ba3d9f7cd944ba6b7f71e58edba2ca | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright held by original author
\\/ M anipulation |
------------------... | C++ | applications/solvers/solvers220/waveFoam/waveFoam.C | blueCFD/waves2Foam | gpl-3.0 | 3,739 | 133 | codeparrot/github-code |
034163598f594570231a8d3216d1dee578a90d740d86de9672952561f2cda7b1 | -- *******************************************************
-- ** Mizus RaidTracker - frFR Local **
-- ** <http://cosmocanyon.de> **
-- *******************************************************
--
-- This localization is written by:
-- Cinedelle, Deepking, Cyliah, Dohkok... | Lua | localization_frFR.lua | Sajaki/MizusRaidTracker | gpl-3.0 | 19,216 | 339 | codeparrot/github-code |
a6b3f33df95536e1937daa90137d4c695ba0b2d518c73584c39c59045610444e | /**
Copyright (C) 2012 Nils Weiss, Patrick Br��nn.
This file is part of Wifly_Light.
Wifly_Light 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 ... | C | firmware/eeprom.h | polybassa/WyLight | gpl-3.0 | 1,443 | 50 | codeparrot/github-code |
903a8fc1c52a44a84644d4b0d04f6e12c3b97a85688bc857260975ab437745b6 | <!--
App Router Test - dart
Copyright (c) 2015 pjv
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.
... | HTML | lib/pages/api-page.html | pjjjv/app-router-dart-test | gpl-3.0 | 8,847 | 128 | codeparrot/github-code |
b9d170d0268d6942e9476d89474cc38671376ba77baf9e3babfde4434305f40d | /*
* Copyright (c) 2017 Adrian Videnie
*
* This file is part of Expenses.
*
* Expenses 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 v... | Java | app/src/main/java/ro/expectations/expenses/ui/backup/FinancistoImportFragment.java | avidenie/expenses-realm | gpl-3.0 | 16,378 | 395 | codeparrot/github-code |
ab41384997da4a3c18764eb64fafa1f861ce5e7bcae584f8dd6934f8f2fe0fc7 | /*
* This file is part of Luma3DS
* Copyright (C) 2016 Aurora Wright, TuxSH
*
* 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) a... | C | source/i2c.c | Mrrraou/Luma3DS-Rosalina | gpl-3.0 | 4,394 | 164 | codeparrot/github-code |
f73d7a07540af98e2b9d9ebf04118f1f92ce9856826d81a6e1a7466108fb2360 | import string
import time
import bluetooth #if you get an import error, then "sudo apt-get install python-bluez"
import dtc
def send_recv(cmd, respSize): #send cmd parameter and return dongle response (ignores echoes)
sock.send(cmd + "\r\n")
time.sleep(0.005)
resp1 = ""
while(1):
if respSize ==... | Python | src/can/socketrun.py | WebsterXC/digidash | gpl-3.0 | 4,103 | 114 | codeparrot/github-code |
005678f907301dc1b12b1fcf23931b471da265c3a3e432ff8372ea970f545261 | #include "anim.h"
#include "character.h"
#include "colors.h"
#include "engine.h"
#include "game.h"
#include "input.h"
#include "kwestkingdom.h"
#include "level.h"
#include "memory.h"
#include "player.h"
#include "resources.h"
#include "room.h"
#include "room_gen.h"
#include "screen.h"
#include "sound.h"
#include "world... | C | c/src/game.c | drcouzelis/kwestkingdom | gpl-3.0 | 4,369 | 247 | codeparrot/github-code |
663489be57d26491659cabcb8352ad30ba8949db89f40efe0df4c54740cc63b2 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
\\/ M anipulation |
---------------... | C++ | src/errorEstimation/evaluateError/evaluateError.C | themiwi/freefoam-debian | gpl-3.0 | 4,964 | 165 | codeparrot/github-code |
29ec243eaf916218fc5c61fd80ac0d55283766dbde9530cbe6b27ca3503080d2 | #include "Point2D.h"
#include <cmath>
Point2D::Point2D()
{
X = 0;
Y = 0;
}
Point2D::Point2D(const int x, const int y)
{
this->X = x;
this->Y = y;
}
Point2D::~Point2D()
{
}
double Point2D::distanceToPoint(const Point2D &point) const
{
return std::sqrt(pow((point.X - this->X), 2.) + po... | C++ | SAP/SAP/Point2D.cpp | UnicusLoL/sap | gpl-3.0 | 2,466 | 136 | codeparrot/github-code |
2ad75aead8cd1e9b5d9b11f99c277f2f785e7fc67d7d13dc874cf28f8585a181 | !> \file modtimestat.f90
!! Timestat calculates timeseries of several variables
!>
!! Timestat calculates timeseries of several variables
!>
!! Timeseries of the most relevant parameters. Written to tmser1.expnr and tmsurf.expnr
!! If netcdf is true, this module leads the tmser.expnr.nc output
!! \author Pier Siebes... | FORTRAN | src/modtimestat.f90 | lochbika/dales | gpl-3.0 | 45,020 | 1,236 | codeparrot/github-code |
6a62f0509ce3c22fdb4cf27e3c5d93eaadf1048cce6b80188eee7cd40dc63913 | /*
* Decompiled with CFR 0_114.
*/
package com.cburch.logisim.circuit;
import com.cburch.logisim.circuit.Splitter;
import com.cburch.logisim.circuit.SplitterAttributes;
import com.cburch.logisim.circuit.Strings;
import com.cburch.logisim.comp.AbstractComponentFactory;
import com.cburch.logisim.comp.ComponentDrawCont... | Java | 232/logisim-ceng232-20090616_source_from_cfr/com/cburch/logisim/circuit/SplitterFactory.java | kadircet/CENG | gpl-3.0 | 6,957 | 185 | codeparrot/github-code |
5aec65690d2b7bbff23caa87f9b45ef085c07c7d25ae2de0e5b5c397bc4d08d9 | #include "stdafx.h"
#include "Monster.h"
CMonster::CMonster()
{
}
CMonster::~CMonster()
{
}
void CMonster::Initialize(void)
{
m_Info.z = 0;
m_Info.size = 60;
m_Info.r = 255;
m_Info.g = 0;
m_Info.b = 0;
m_Info.a = 255;
m_fAttack = 5.f;
m_fLife = 30.0f;
m_fMaxLife = 30.f;
m_fSpeed = 100.0f;
m_fBulletSh... | C++ | SimpleGame/SimpleGame/Monster.cpp | ttthr/GSE_2_2010181027 | gpl-3.0 | 1,788 | 115 | codeparrot/github-code |
78a333d52a999176a2547f8a833801e1ad1a0e04a6fdc1a7857b534875ec00c8 | using MovieMania.Core.General;
using MovieMania.Core.Rest;
using MovieMania.Lists;
using System;
using System.Threading.Tasks;
using MovieMania.Core.Authentication;
namespace MovieMania.Core.Client
{
public partial class MovieManiaClient
{
/// <summary>
/// Retrieve a list by it's id
/... | C# | MovieMania/MovieMania.Core/Client/MovieManiaClientLists.cs | PradeepLoganathan/MovieMania | gpl-3.0 | 9,059 | 197 | codeparrot/github-code |
acaf759cfb75060413347dde08bc2b2cb798a93ff386cdd0d04f4db730c3eb42 | // 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 in the hope that it will be useful... | GO | main.go | opennota/ss | gpl-3.0 | 37,905 | 1,351 | codeparrot/github-code |
f232584175f1f129008dbb514aeedcf0217faf63dbae429e7ea466d0cf311aad | /*
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 in the hope that it will be usefu... | C++ | libraries/SITL/SIM_Aircraft.cpp | DroneBuster/ardupilot | gpl-3.0 | 24,763 | 776 | codeparrot/github-code |
5eb44b83d9931779bf7f337970a265997f9879ef8c7b14e42ac2dccc226ebc13 | /***
* Copyright 2013, 2014 Moises J. Bonilla Caraballo (Neodivert)
*
* This file is part of COMO.
*
* COMO is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License v3 as published by
* the Free Software Foundation.
*
* COMO is distributed in the hope that ... | C++ | src/client/managers/managers/meshes/meshes_manager.cpp | moisesjbc/como | gpl-3.0 | 5,815 | 228 | codeparrot/github-code |
bfed75154a1b28629caa376b8f49e925144a1a2cd205d561c8f62cbff81d7eb4 | #!/usr/bin/env python
'''
____ _ _ _ ____ _______ ____
/ ___)| | | | | |/ _ \ / _ _ \| _ \
\___ \| | | | | | (_) | | | | | | |_) )
___) | |_| |_| | ___ | | | | | | __/
(____/ \_______/|_| |_|_| |_| |_|_|
Sliding Win... | Python | SWAMP.py | peterwharrison/SWAMP | gpl-3.0 | 27,840 | 784 | codeparrot/github-code |
726b750b31db2a076310bf1ab8c41d9c00d704cfc6a8c6a328da937c39004813 | /* Default color scheme */
@define-color base_color #333333;
@define-color bg_color #2d2d2d;
@define-color text_color #dedede;
@define-color fg_color #adadad;
@define-color selected_bg_color #00a0ff;
@define-color selected_fg_color #f9f9f9;
@define-color tooltip_bg_color #2d2d2d;
@define-color tooltip_fg_color #dedede;... | CSS | gtk-3.0/gtk-dark.css | DaLinuxCookie/NumixBLUE | gpl-3.0 | 2,356 | 67 | codeparrot/github-code |
88a0a13191847e10a829680e58b8e39ed6def5fef23352137d8e29774d312ee6 | /* ----------------------------------------------------------------------------
* Spaceguard - Arcade Space Game written in JavaScript
*
* @package Spaceguard
* @author A.Tselegidis <alextselegidis@gmail.com>
* @copyright Copyright (c) 2013 - 2017, Alex Tselegidis
* @license http://opensource.org/l... | JavaScript | scripts/Comet.js | alextselegidis/spaceguard | gpl-3.0 | 3,835 | 108 | codeparrot/github-code |
12855d1abdb9e194635e8ae852c060761cdb1f589543c6138dbcc97789c849d0 | <?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 PlaylistListEntry.php<... | HTML | addons/ZendGdata-1.0.3/documentation/api/core/Zend_Gdata/_Gdata---YouTube---PlaylistListEntry.php.html | automatweb/automatweb_dev | gpl-3.0 | 7,855 | 230 | codeparrot/github-code |
b726213966ffde9513673dae3e1f5b8e2bbd3a9e2b12838d98546d089fbf242b | #!/usr/bin/env python
# ELBE - Debian Based Embedded Rootfilesystem Builder
# Copyright (C) 2015 emtrion GmbH
# Copyright (C) 2014 Linutronix GmbH
#
# This file is part of ELBE.
#
# ELBE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# th... | Python | elbepack/updated_monitors.py | ferdisdot/elbe | gpl-3.0 | 5,228 | 161 | codeparrot/github-code |
b534244e2729b53021962e55ab304e20f92a63151ddda9d80e3f5ee18d6368e4 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009 Benoit Jacob <jacob.benoit.1@gmail.com>
// Copyright (C) 2009 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// Eigen is free software; you can redistribute it and/or
// modify it under the terms of the GNU ... | C | lib/SRC/KPM/FreakMatcher/Eigen/src/Jacobi/Jacobi.h | hyyh619/ARToolKit_5.3.1 | gpl-3.0 | 16,348 | 461 | codeparrot/github-code |
41746139b99b32fe46b3e7d8cbb22417ff7cc53ce561a15761de1245fe5a97ae | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
import cStringIO
import csv
import logging
import os.path
import re
import sys
import time
from datetime import datetime, timedelta
from dateutil.relativedelta import relativedelta
import pytz
from lxml import etree, b... | Python | openerp/tools/convert.py | ayepezv/GAD_ERP | gpl-3.0 | 37,832 | 920 | codeparrot/github-code |
1438a98cbce518c2d8d68c1ab91afbe8e4dc6d3411d6cea4a75b8c04f01821bf | // Copyright 2014 The go-ethereum Authors
// This file is part of go-ethereum.
//
// go-ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option)... | GO | common/path.go | tgerring/go-ethereum | gpl-3.0 | 3,414 | 130 | codeparrot/github-code |
2f2f4ae916537bbf2b5eae8abae60bf0875f5b8c5ab2925cdea6ca288521aad0 | <html debug=true>
<head>
<script type="text/javascript" src="../../../base/javascript/swfobject.js"></script>
<script src="../../../base/firebug/firebug.js"></script>
</head>
<body>
<h3>jw flash Player</h3>
This is a flash player with a NOT opensource license. but it is cheap. just testing for now.
<p id="player"><a ... | HTML | src/apps/neoip_oload/html_example_obsolete/player/obsolete/jwplayer/test.html | jeromeetienne/neoip | gpl-3.0 | 4,102 | 100 | codeparrot/github-code |
f049f3c298442aa8db656bddbff32e2a2969200da1885b4e1dc38c800abcbe36 | package com.rowyerboat.gameobjects;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.g2d.PolygonRegion;
import com.badlogic.gdx.math.MathUtils;
import com.badlogic.gdx.math.Polygon;
import com.badlogic.gdx.math.Rectangle;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.math.Vector3;
import c... | Java | core/src/com/rowyerboat/gameobjects/BoatOld.java | romanlamsal/rowyerboat | gpl-3.0 | 5,440 | 234 | codeparrot/github-code |
b800c306fdf688d86bd15ce5a32e11c1c85a25961af6d4e5bba80345e25c7c23 | PROJECT_NAME := ant_bsc_tx_cadence_button_s212_pca10040
export OUTPUT_FILENAME
#MAKEFILE_NAME := $(CURDIR)/$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
MAKEFILE_NAME := $(MAKEFILE_LIST)
MAKEFILE_DIR := $(dir $(MAKEFILE_NAME) )
TEMPLATE_PATH = ../../../../../../../../../components/toolchain/gcc
ifeq ($(... | Makefile | examples/ant/ant_plus/ant_bsc/bsc_tx/cadence/button/pca10040/armgcc/Makefile | polybassa/nRF51 | gpl-3.0 | 13,932 | 297 | codeparrot/github-code |
0b4e37bf567a2d4155b0ae3263757d6d828e219ec50a932216a6a473976df0e6 | # -*- coding: utf-8 -*-
import scipy.odr
from numpy import *
from PySide2.QtCore import QObject, Signal
class Fit(QObject):
finished = Signal()
def __init__(self, maxit=1000):
QObject.__init__(self)
self.maxit = maxit
self.ready = False
self.x, self.xerr = [], []
se... | Python | WWplot/fit.py | wwmm/wwplot | gpl-3.0 | 1,679 | 71 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.