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 |
|---|---|---|---|---|---|---|---|---|
bd1198d503ddf13560b27b5f631a9bd9ee2a0a17c1e4575698b3c70179b04ac3 | package com.facultad.app;
import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import or... | Java | src/main/java/com/facultad/app/UsuarioController.java | MatiasMunoz/voyage | gpl-3.0 | 2,618 | 89 | codeparrot/github-code |
ac695679ef4539dd7756986b47fb82248bab56cd0220eb57408044236499759e | /*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2014 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* J... | Java | jasperreports-6.2.1-project/jasperreports-6.2.1/src/net/sf/jasperreports/engine/xml/ElementReprintGroupReference.java | aleatorio12/ProVentasConnector | gpl-3.0 | 1,847 | 61 | codeparrot/github-code |
ea32dd0459fa1974e2611bce5279383df1ec73356b077a19c5e6036c2164700f | /*
===========================================================================
ARX FATALIS GPL Source Code
Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company.
This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code').
Arx Fatalis Source Code is free software: you can redistribu... | C++ | sources/DANAE/ARX_Levels.cpp | sopyer/ArxFatalis | gpl-3.0 | 7,493 | 276 | codeparrot/github-code |
f3bccd57e97e6137655244c7812a33cbaace037c2e8879d81a5acff207a7387a | import express = require('express');
import models = require('../../models/initiative/initiative');
import { InitiativeDataAccess } from '../../dataaccess/initiative/initiative.dataaccess';
import initiativeServiceLib = require('../../services/initiative/initiative.service');
import { SecurityService } from '../../serv... | TypeScript | routes/initiative/initiative.ts | marthinusswart/goalfish | gpl-3.0 | 6,342 | 146 | codeparrot/github-code |
2b044d8224e06a98a7ac82c89bcb5f95eceea718aaa6c4f2e6cd2363de7a66d8 | <!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>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | HTML | docs/d6/da8/classhttp.html | jiachenning/fibjs | gpl-3.0 | 39,479 | 871 | codeparrot/github-code |
2f02d7f758456ccca927a838e844badf3dacbd7e4bf2abca030256629c346082 | #include <math.h>
#include <stdlib.h>
#include "game_event.h"
#include "raid_ai.h"
#include "raid_manager.h"
#include "map_config.h"
#include "time_helper.h"
#include "player_manager.h"
#include "check_range.h"
#include "unit.h"
#include "uuid.h"
#include "msgid.h"
#include "raid.pb-c.h"
#include "pvp_raid.pb-c.h"
#inc... | C++ | Server/game_srv/so_game_srv/raid_ai_guild.cpp | tsdfsetatata/xserver | gpl-3.0 | 12,170 | 438 | codeparrot/github-code |
907e57ea5cfe42749b259f42d34e5226a18d1a3ff6d815929c23385e84b98513 | using System;
using Unification.Models.Enums;
namespace Unification.Models
{
/// <summary>
/// An event args class for a loading type event.
/// </summary>
internal class LoadingCompletedEventArgs : EventArgs
{
/// <summary>
/// The LoadingState at which the load attempt ended.
... | C# | source/Models/LoadingCompletedEventArgs.cs | G2DerbyCS/Unification | gpl-3.0 | 1,074 | 41 | codeparrot/github-code |
8188515d4c43f6419cb6715c7b0f42bc803d49ad52318f4bcd5cf86ad6200f61 | /*
* This file is part of the Minecraft Overviewer.
*
* Minecraft Overviewer 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.
*
... | C | overviewer_core/src/rendermode-cave.c | rmrector/Minecraft-Overviewer | gpl-3.0 | 7,834 | 235 | codeparrot/github-code |
7c860fe089c612ef143e9832c8e4603320ad0bcd990bb5d5e0f554a01ebfe3ae | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
\\/ M anipulation |
---------------... | C++ | applications/utilities/mesh/generation/blockMesh/curvedEdges/polyLine.C | themiwi/freefoam-debian | gpl-3.0 | 4,126 | 183 | codeparrot/github-code |
58c61433640a7d399b1edc9e98f10f0f3dda5b41f114a54addec814f71d2d2d7 | /// \file lineReader.hh load istream line-by-line
// Michael P. Mendenhall, LLNL 2021
#ifndef LINEREADER_HH
#define LINEREADER_HH
#include "char_istream.hh"
using std::istream;
/// load istream line-by-line
class lineReader: public char_istream {
public:
/// Constructor
explicit lineReader(istream& _i): line... | C++ | Utility/lineReader.hh | mpmendenhall/MPMUtils | gpl-3.0 | 806 | 36 | codeparrot/github-code |
dac69f27a9d346b08e1e90f4a7a069f2c390257afe731b5f4c1d9696514e231e | # -*- coding: utf-8 -*-
# This file is part of Tautulli.
#
# Tautulli 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.
#
# Tautul... | Python | plexpy/classes.py | JonnyWong16/plexpy | gpl-3.0 | 2,312 | 76 | codeparrot/github-code |
43e4be7f356662afd88291177dee043b0a6138a64bc0ea93521dc9ee09212c64 | #ifndef Analysis_Triggers_Trigger_Base_H
#define Analysis_Triggers_Trigger_Base_H
#include "AddOns/Analysis/Main/Analysis_Object.H"
#include "ATOOLS/Phys/Particle_List.H"
namespace ANALYSIS {
class Trigger_Base: public Analysis_Object {
protected:
std::string m_inlist, m_outlist;
public:
Trigger_Ba... | C++ | AddOns/Analysis/Triggers/Trigger_Base.H | cms-externals/sherpa | gpl-3.0 | 1,778 | 73 | codeparrot/github-code |
6d0ff11a0a3134a991da7cb8aa328da7c574d624bf78c665a2eee5814d924ebe | namespace nvQuickSite.Controls.Dialogs
{
partial class MsgBoxYesNoIgnore
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// <... | C# | nvQuickSite/Controls/Dialogs/MsgBoxYesNoIgnore.Designer.cs | nvisionative/nvQuickSite | gpl-3.0 | 5,920 | 133 | codeparrot/github-code |
11b50dde6fd600460c0f97216a8198024a2b13c93ea3f384c7cfe833a028eacd | #include <iostream>
#include <array>
int main() {
// Do not synchronize with C style streams. This increases the speed of IO operations.
std::ios::sync_with_stdio(false);
std::array<int, 3> a;
for (int index = 0; index < 3; index++) {
std::cin >> a[index];
}
int aPoints = 0;
int b... | C++ | tracks/algorithms/warmup/compareTheTriplets/CompareTheTriplets.cpp | terkhen/hackerrank-cpp14 | gpl-3.0 | 652 | 33 | codeparrot/github-code |
4801e3a005acbd6437ced21c9e3b9bb4f81576d5614d4b62b0ee539eceb6c764 | #ifndef VRGUIDISPLAYS_H_INCLUDED
#define VRGUIDISPLAYS_H_INCLUDED
#include <OpenSG/OSGConfig.h>
#include "core/scene/VRSceneManager.h"
#include "core/setup/VRSetup.h"
#include "VRGuiSignals.h"
#include "VRGuiContextMenu.h"
#include "VRGuiVectorEntry.h"
#include <gtkmm/treeview.h>
#include <gtkmm/treestore.h>
OSG... | C | src/core/gui/VRGuiSetup.h | infobeisel/polyvr | gpl-3.0 | 3,291 | 114 | codeparrot/github-code |
7ba9cf4d9ec3ed800ac0a7c66061902955b54c2d0132ce2713c73badc5170b48 | #!/usr/bin/env jruby -w
require 'propane'
require 'toxiclibs'
# Sketch class
class MonalisaVoronoi < Propane::App
attr_reader :gfx, :voronoi, :img, :pixels
def setup
sketch_title 'Monalisa Voronoi'
@img = load_image(data_path('monalisa.jpg'))
img.load_pixels
@pixels = img.pixels
@gfx = Gfx::Toxi... | Ruby | external_library/gem/toxiclibs/geometry/monalisa_voronoi.rb | ruby-processing/propane-examples | gpl-3.0 | 842 | 38 | codeparrot/github-code |
7c40c21c9fe11725a552f4f4a61787152e2e141462085679f9896422a4fcaba8 | # -*- coding: utf-8 -*-
import socket
import ibm_db
conn = ibm_db.connect("DATABASE=sample;HOSTNAME=66.3.44.37;PORT=60004;PROTOCOL=TCPIP;UID=cyrus;PWD=cyrus;", "", "")
sql = "SELECT PHONENO FROM EMPLOYEE"
def queryData(s):
result = []
if conn:
try:
stmt = ibm_db.exec_immediate(conn, s)
... | Python | study/Socket/SocketClient.py | cysuncn/python | gpl-3.0 | 1,094 | 42 | codeparrot/github-code |
85a1d0b2143c065dff2f95491467bda5e411d37d34cd685f8c1275e31b40f57c | <?php
namespace AppBundle\Document;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoDB;
/**
* @MongoDB\Document
*/
class DatabaseConnection
{
/**
* @MongoDB\Id
*/
protected $id;
/**
* @MongoDB\Field(type="string")
*/
protec... | PHP | src/AppBundle/Document/DatabaseConnection.php | kis3lori/fca-tools-bundle | gpl-3.0 | 4,043 | 258 | codeparrot/github-code |
b0dc89dac1fcd6dfa7464693ec14b6a39da2b27e72ada638568cf176a003811c | <?php
class ControllerStep2 extends Controller {
private $error = array();
public function index() {
if (($this->request->server['REQUEST_METHOD'] == 'POST') && $this->validate()) {
$this->redirect($this->url->link('step_3'));
}
if (isset($this->error['warning'])) {
$this->data['error_warning'] = $this... | PHP | upload/install/controller/step_2.php | alvinhsian/Opencart1556 | gpl-3.0 | 3,259 | 115 | codeparrot/github-code |
dfb9581549dad2cb5458c42e1197695be38cc44ec8515f3189b303f794b6989b | package org.thoughtcrime.securesms.backup;
import android.annotation.SuppressLint;
import android.content.ContentValues;
import android.content.Context;
import android.content.SharedPreferences;
import android.database.Cursor;
import androidx.annotation.NonNull;
import android.util.Pair;
import net.sqlcipher.databas... | Java | src/org/thoughtcrime/securesms/backup/FullBackupImporter.java | jtracey/Signal-Android | gpl-3.0 | 13,368 | 331 | codeparrot/github-code |
89652e9fd722fd686a7e4af2d61fe32f55251e6e781e2c1b4d1bf87cc0858cb6 | var express = require('express');
var router = express.Router();
var async = require('async');
var request = require('request');
// helper function to get the weather details from openweathermap
function getWeather( city,country,asyncsCallback){
request('http://api.openweathermap.org/data/2.5/weather?q='+city+','+co... | JavaScript | routes/index.js | pablitovicente/async-parallel-example | gpl-3.0 | 1,390 | 44 | codeparrot/github-code |
af2acd6f2a848765fed1b387ceaceb23cd5fa1d0035e7e2f2bb179a2e8857523 | /*
* @Author: Vaninadh
* @Date: 2016-04-05 17:30:52
* @Last Modified by: Vaninadh
* @Last Modified time: 2016-04-05 17:49:33
*/
define(function(require) {
var defineComponent = require("flight/lib/component");
var util = require("KCEPROD/util/util");
var ns = window.kc.ns;
return defineCompon... | JavaScript | enhancedmd/public/js/KCEPROD/command/entext.js | realzzz/wechateditor | gpl-3.0 | 4,112 | 115 | codeparrot/github-code |
31e2d09d3004a0ea04688922c7f74b79a106b68643e9e767ceb34552b208dd36 | #! /bin/bash
# -*- mode: shell-script -*-
# This script is the first part of the pipeline that processes pbench
# results tarballs.
# First stage: pbench-dispatch looks in all the TODO directories,
# checks MD5 sums and creates symlinks in all the state
# directories for the particular en... | Shell | server/bin/pbench-dispatch.sh | atheurer/pbench | gpl-3.0 | 8,085 | 231 | codeparrot/github-code |
6c0a9a8e712524a1dccfb34109536807d71db9b810496ed1feb2a7ee37654b61 | #include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include "avr_ioport.h"
#include "sim_avr.h"
#include "sim_elf.h"
#include "sim_gdb.h"
#include "sim_vcd_file.h"
#include "potentiometer.h"
potentiometer_t potentiometer;
avr_t *avr = NULL;
avr_vcd_t vcd_file;
/*
* called when the AVR change any of the pi... | C | examples/featured/analog-in-out-serial/analog-in-out-serial.c | FabriceSalvaire/simavr | gpl-3.0 | 3,084 | 125 | codeparrot/github-code |
b7d910f4ba209dbfa5532a1bd565abd3c2e4c400565a75e3998b782f6ac1ac1d | /*
* Copyright (C) 2017 Tobias Meggendorfer
*
* 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 i... | Java | src/main/java/de/tum/in/naturals/map/Int2DoubleSortedArrayMap.java | incaseoftrouble/naturals-util | gpl-3.0 | 13,444 | 537 | codeparrot/github-code |
61d152d3886b782e2f12d4e81253861b69309a5060d6df81e0486c8a89ad7e58 | //
// CookieCollection.cs
// Copied from System.Net.CookieCollection.cs
//
// Authors:
// Lawrence Pit (loz@cable.a2000.nl)
// Gonzalo Paniagua Javier (gonzalo@ximian.com)
// Sebastien Pouliot <sebastien@ximian.com>
//
// Copyright (C) 2004,2009 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, fr... | C# | src/server/websocket-sharp/Net/CookieCollection.cs | pasanzaza/Dragonbound | gpl-3.0 | 4,530 | 198 | codeparrot/github-code |
eab21d5852dcd7c2304458bc29956080e80f95f828650d98339d1e7ce5e3dcdd | import mongoose from 'mongoose';
import assert from 'assert';
import _ from 'lodash';
import timestamps from 'mongoose-timestamp';
import { getConnection } from 'lib/connections/mongoose';
import filterByOrg from 'lib/models/plugins/filterByOrg';
import scopeChecks from 'lib/models/plugins/scopeChecks';
import * as sco... | JavaScript | lib/models/lrs.js | LearningLocker/learninglocker | gpl-3.0 | 2,625 | 98 | codeparrot/github-code |
0982c58f4dec9a2c372f1915e917c205e0d76a71a9ddac189f3680b38939d399 | // URLS
var getUrl = 'http://146.148.2.249:3000/artworks/artwork/';
var postUrl = 'http://146.148.2.249:3000/artworks/updateShareCounter/'
var imgUrl = 'http://146.148.2.249/';
var postResponse;
// Handle click on share icons.
function shareOn(event) {
var name = event.target.className;
var element = event.ta... | JavaScript | gallery/js/global.js | nicolabortignon/Cannes2015Client | gpl-3.0 | 1,989 | 59 | codeparrot/github-code |
194f122dfab9a9b736d47b2311d150b4a807111b0409ec4d4850f8156da90ff0 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Management;
namespace WATTcher_WPF
{
public static class ManagementObjectExtensions
{
public static UInt16? TryGetUInt16(this ManagementObject mObject, string propertyName)
{
try
{
... | C# | WATTcher_WPF/ManagementObjectExtensions.cs | JamilAbdelfattah/WATTcher | gpl-3.0 | 2,090 | 83 | codeparrot/github-code |
478101b65f53c598aea153ef5b4c6ab1487a2b9d90fd9293c2cdd940464ca63a | /*
* bacon - A command line tool for viewing/downloading CyanogenMod ROMs
* for Android devices.
*
* Copyright (C) 2013 Nathan Forbes
*
* 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 Found... | C | bacon-rom.c | natediddy/bacon | gpl-3.0 | 5,898 | 234 | codeparrot/github-code |
e4104ba21328362958b79950bc6de08c790a11a52f91e13d127b064367341428 | /*
* Copyright 2015-2016 Todd Kulesza <todd@dropline.net>.
*
* This file is part of Archivo.
*
* Archivo 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... | Java | src/net/straylightlabs/archivo/model/EditDecisionList.java | fflewddur/archivo | gpl-3.0 | 6,407 | 181 | codeparrot/github-code |
44c6c08795b43aef5f1df87c402b81f0c4bcb783cf573af032872f3174520d63 | package com.dynious.refinedrelocation.client.renderer;
import com.dynious.refinedrelocation.repack.codechicken.lib.vec.Cuboid6;
import com.dynious.refinedrelocation.multiblock.IMultiBlock;
import com.dynious.refinedrelocation.multiblock.MultiBlockRegistry;
import com.dynious.refinedrelocation.multiblock.TileMultiBlock... | Java | src/main/java/com/dynious/refinedrelocation/client/renderer/RendererMultiBlock.java | Dynious/RefinedRelocation | gpl-3.0 | 8,503 | 215 | codeparrot/github-code |
8295a30559fcd1e2a5b3d5f749f3737ea075760116a4c55b1630ce9aa3464a2c | /* Copyright (c) 2012-2016, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this ... | C | camera/QCamera2/HAL3/QCamera3Stream.h | saikatrockz/android_device_yu_garlic | gpl-3.0 | 7,261 | 174 | codeparrot/github-code |
807c6febbfda7564acb6157521ca2457df180aa62d0a024a499a25cca9f7662a | /*
* NitroTracker - An FT2-style tracker for the Nintendo DS
*
* by Tobias Weyand (0xtob)
*
* http://nitrotracker.tobw.net
* http://code.google.com/p/nitrotracker
*/
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | C | ntracker/source/tobkit/recordbox.h | fincs/NitroTracker-FeOS | gpl-3.0 | 2,119 | 80 | codeparrot/github-code |
88c2573a2f455bb0f8141470f9745e97676252295e92e36b9e00df72987bea8a | #ifndef __OF2SPEEDIT_TIMEVARYING_BC_H__
#define __OF2SPEEDIT_TIMEVARYING_BC_H__
#include "fvCFD.H"
#include "vector2DField.H"
#include "IFstream.H"
#include "of2speedit.H"
#include "of2speedit_boundary.H"
#include "of2speedit_io.H"
#include <vector>
#include <fstream>
#include <sstream>
#include <string>
template<c... | C++ | common/of2speedit_timevarying_bc.H | VratisLtd/OpenFOAM_to_SpeedIT_converters | gpl-3.0 | 36,043 | 992 | codeparrot/github-code |
2f33e8ba60d1590c741135dad55caa7f033118c5aef366544947c57d1a2bf4d8 | /*******************************************************************************
*
* Module Name: rsdump - AML debugger support for resource structures.
*
******************************************************************************/
/*
* Copyright (C) 2000 - 2016, Intel Corp.
* All rights reserved.
*
* Redis... | C | drivers/acpi/acpica/rsdump.c | williamfdevine/PrettyLinux | gpl-3.0 | 14,733 | 609 | codeparrot/github-code |
a0eacaa270fc862a87f7caf94a0a23473902c1cccc9b3ed201800cea3dcabd94 | ###############################################################################
# Copyright (C) 2011 Sang Chul Choi
#
# This file is part of Mauve Analysis.
#
# Mauve Analysis 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... | Perl | pl/sub-array.pl | goshng/RNASeq-Analysis | gpl-3.0 | 1,504 | 69 | codeparrot/github-code |
5c17fa64f3613fc6b0dff217f4ace98f1b5c40dae2e7dbe3795b71e52ce7c273 | package p06_GenericFlatMethod;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class ListUtils<T>{
public static <T extends Comparable<T>> T getMin(List<T> list){
if(list.isEmpty()){
throw new IllegalArgumentException();
}
T min = list.g... | Java | Java Fundamentals-Sep17/Java_OOP_Advanced/t02_Generics/src/p06_GenericFlatMethod/ListUtils.java | kostovhg/SoftUni | gpl-3.0 | 1,483 | 62 | codeparrot/github-code |
fa8852b943deb409e116544f1a5e1005ad56016d7916f2cfbcf4680d662ac238 | <?php
namespace exface\Core\Factories;
use exface\Core\Interfaces\Model\MetaObjectInterface;
use exface\Core\CommonLogic\Model\AttributeGroup;
use exface\Core\Interfaces\Model\MetaAttributeGroupInterface;
use exface\Core\Interfaces\Model\MetaAttributeListInterface;
use exface\Core\Interfaces\Model\MetaAttributeInterfa... | PHP | Factories/AttributeGroupFactory.php | ExFace/Core | gpl-3.0 | 5,185 | 123 | codeparrot/github-code |
3890b083debcda786f827d8789a17918b6dda5572eb0acf30413594e64e50f3f | $(document).ready(function () {
// remove Delete BTN's cover.
$(".delete-btn + div").click(function(){
$(this).hide();
});
});
/**
* Recognize what input is.
* @return
*/
function recognizeAjaxInput(data) {
let isResponseJSON = false;
try {
jQuery.parseJSON(data);
return... | JavaScript | resources/assets/js/functions.js | Frixs/zcu_kiv_web_seminar | gpl-3.0 | 984 | 50 | codeparrot/github-code |
dde751b6a89b315e6d86c5d85680cea29543cd95c272118ce1ce0295d9f3f187 | package config
import (
"gopkg.in/yaml.v2"
"errors"
"fmt"
"io/ioutil"
"path/filepath"
log "github.com/Sirupsen/logrus"
Utils "github.com/matthieudelaro/nut/utils"
Persist "github.com/matthieudelaro/nut/persist"
)
const NutFileName = "nut.yml"
const NutOverrideFileName = "nut.override.y... | GO | config/utils.go | matthieudelaro/nut | gpl-3.0 | 8,164 | 218 | codeparrot/github-code |
0d1a83d52fe131bd27e43e569b9a708d81c0cd850d4abab2c610e3cb3cabc694 | # -*- coding: utf-8 -*-
"""
Started on Wed Sep 13 15:55:22 2017
@author: carlos.arana
Descripcion: Creación de dataset para el parámetro 0311 "Superficie Agricola"
Informacion disponible para 2015
"""
import pandas as pd
import numpy as np
import sys
# Librerias locales utilizadas
module_path = r'D:\PCCS\01_Dmine\... | Python | 03_UsoDeSuelo/P0311/P0311.py | Caranarq/01_Dmine | gpl-3.0 | 8,203 | 184 | codeparrot/github-code |
5ea50d64408a9ed546df28365ad3e6918c8199385d4f2f29b206d2858326a73e | package Koha::Auth::PermissionModules;
# Copyright 2015 Vaara-kirjastot
#
# This file is part of Koha.
#
# Koha 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... | Perl | Koha/Auth/PermissionModules.pm | KohaSuomi/Koha | gpl-3.0 | 1,025 | 39 | codeparrot/github-code |
90f272a4ad65e13d11af988c404ded3da2d63e1ce0426eb9b52d0dbb910426af | #include <grub/mm.h>
#include <grub/command.h>
#include <grub/efi/api.h>
#include <grub/efi/efi.h>
#include <grub/misc.h>
#include <grub/net/efi.h>
#include <grub/charset.h>
#ifdef GRUB_EFI_NET_DEBUG
static void
dhcp4_mode_print (grub_efi_dhcp4_mode_data_t *mode)
{
switch (mode->state)
{
case GRUB_EFI_DHCP4... | C | grub-core/net/efi/dhcp.c | neverware/grub2 | gpl-3.0 | 10,800 | 401 | codeparrot/github-code |
fd078322c53e0b39f17b3e95632b0fd7dc266481d42ae2c4afd8de20b9506be9 | /*
* Copyright 2010 (c) Sascha Mueller <mailbox@saschamueller.com>
*
* This file is part of qhashpw.
*
* qhashpw is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, o... | C++ | account.cpp | einmaliger/qhashpw | gpl-3.0 | 11,993 | 421 | codeparrot/github-code |
9ee2a0acb599960e4ccb7860b5b58b47680f08e2b25ea8124ea25765a42a00cb | package com.dotmarketing.servlets;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.lang.management.ManagementFactory;
import java.net.InetAddress;
import java.net.URL;
import java.net.URLConnection;
import java.net.URLEncoder;
import java.net.UnknownHostException;
impo... | Java | src/com/dotmarketing/servlets/InitServlet.java | ggonzales/ksl | gpl-3.0 | 15,232 | 426 | codeparrot/github-code |
5e9f69fd123325dd0e77ca81d52c9584eac878477a6c0df8ac700f24bc970e37 | using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
namespace zSpriteOld.Resources
{
public class TextureRef : IDisposable
{
private bool isDisposed = false;
private static int index = 0;
... | C# | Source/Framework/zSprite.Framework/V1/Resources/TextureRef.cs | xposure/zSprite_Old | gpl-3.0 | 1,920 | 78 | codeparrot/github-code |
b1e47bc35658fa2396db116d24adb6cdc123cdec36244b54617cdc00b9f8096c | package gamification.model;
import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.... | Java | src/main/java/gamification/model/Group.java | daxcurson/gamification | gpl-3.0 | 1,975 | 101 | codeparrot/github-code |
847351c16cce2eafb701abbc3e4e4822090d88af6012bd269f932ea956c0852f | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="GENERATOR" CONTENT="Mozilla/4.08 [en] (X11; I; Linux 2.0.34 i686) [Netscape]">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000EF" VLINK="#511... | HTML | application/ProSpectND/html/psnd_script_operators.html | glycoinfo/eurocarbdb | gpl-3.0 | 10,536 | 242 | codeparrot/github-code |
f651e383f0b7627538a672c8d8ecff53184ae47d2f0dca6387ba3cb1c57f7316 | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace MediaCloud\Vendor\Symfony\Component\VarDumper\Caster;
use MediaCloud\Ven... | PHP | lib/mcloud-symfony/var-dumper/Caster/ArgsStub.php | Interfacelab/ilab-media-tools | gpl-3.0 | 2,329 | 80 | codeparrot/github-code |
63b485f02785d8adb59f03604d774f54fd15b444521b50de6ba665b81629195d | # Import from standard libraries
from __future__ import division, absolute_import, print_function
import tensorflow as tf, importlib
from six import iteritems
# Import from our libraries
import core.losses
from core.common import Channel, get_debug_session
from core.evaluation import basic_stats_numpy, classification_... | Python | apps/classification.py | tfXYZ/tfXYZ | gpl-3.0 | 4,593 | 115 | codeparrot/github-code |
f1f8bee17d2f30a48a8471643fa437ab397871abdf8e9d7a5a3b1a38c3fa84ac | // Copyright 2017 voidALPHA, Inc.
// This file is part of the Haxxis video generation system and is provided
// by voidALPHA in support of the Cyber Grand Challenge.
// Haxxis is free software: you can redistribute it and/or modify it under the terms
// of the GNU General Public License as published by the Free Softwar... | C# | Assets/Choreography/Steps/Recording/StopRecordingStep.cs | voidALPHA/cgc_viz | gpl-3.0 | 1,363 | 40 | codeparrot/github-code |
bb98535a0d4ca42854bcfd4ef90198e89642dc1871933c55cbad0cf755770acd | <?php
/**
* TrcIMPLAN Índice Básico de Colonias
*
* Copyright (C) 2016 Guillermo Valdes Lozano
*
* 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... | PHP | lib/IBCTorreon/LasLuisas.php | TRCIMPLAN/beta | gpl-3.0 | 5,165 | 122 | codeparrot/github-code |
3d8f99b06e4ad4997daeacd340ca852914766f69b8fb17f8b7c8d2d6faeaccc7 | /*
* 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 w... | Java | adams-weka/src/main/java/adams/gui/goe/popupmenu/InvertInstancesColumnFinder.java | waikato-datamining/adams-base | gpl-3.0 | 2,469 | 85 | codeparrot/github-code |
798d8f5cc5f1bbe52945e5139dab94df893866878aba95f8fad5186d662f4625 | #!/usr/bin/env python3
# temper.py -*-python-*-
# Copyright 2018 by Pham Urwen (urwen@mail.ru)
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitat... | Python | temper.py | Cat5TV/nems-scripts | gpl-3.0 | 14,754 | 415 | codeparrot/github-code |
62761587d55d4798122742c266e2fc995c7cb11f5dca7e80035759de422c70c6 |
// Copyright (C) 2014 Frode Roxrud Gill
// See LICENSE file for license
#ifdef __GNUG__
#pragma implementation "buffered_streambase.h"
#endif
#ifdef WX_PRECOMP
# include "../pch.h"
#else
#endif
#include "buffered_streambase.h"
using namespace wxMailto;
BufferedStreamBase::BufferedStreamBase(wxSizeT max_under... | C++ | stream/buffered_streambase.cpp | frodegill/wxMailto | gpl-3.0 | 8,191 | 249 | codeparrot/github-code |
71bc9763b020b6a05769273a4c1d6e9d5c2fe08854c5c644c231f967b1f8452d | /*****************************************************************
|
| AP4 - Sample Objects
|
| Copyright 2002 Gilles Boccon-Gibod & Julien Boeuf
|
|
| This file is part of Bento4/AP4 (MP4 Atom Processing Library).
|
| Unless you have obtained Bento4 under a difference license,
| this version of Bento4 i... | C++ | src/thirdparty/Bento4/Core/Ap4Sample.cpp | MikeSouza/mpc-hc | gpl-3.0 | 5,271 | 162 | codeparrot/github-code |
baf217e8f46d9a9a4c379cedc1a6a5f934c4ca6789e2eebf4d132ed8f0029448 | /*
* CAP VFS module for Samba 3.x Version 0.3
*
* Copyright (C) Tim Potter, 1999-2000
* Copyright (C) Alexander Bokovoy, 2002-2003
* Copyright (C) Stefan (metze) Metzmacher, 2003
* Copyright (C) TAKAHASHI Motonobu (monyo), 2003
* Copyright (C) Jeremy Allison, 2007
*
* This program is free software; you can red... | C | source3/modules/vfs_cap.c | urisimchoni/samba | gpl-3.0 | 19,407 | 809 | codeparrot/github-code |
b5ebfafe2ba74001ddba15ed9699160be11672f10c277eb029a40468fe070087 | <<<<<<< HEAD
<?php
class ControllerStep2 extends Controller {
private $error = array();
public function index() {
if (($this->request->server['REQUEST_METHOD'] == 'POST') && $this->validate()) {
$this->redirect($this->url->link('step_3'));
}
if (isset($this->error['warning'])) {
$this->data['error_warni... | PHP | upload/install/controller/step_2.php | zilgrg/opencart | gpl-3.0 | 8,323 | 239 | codeparrot/github-code |
2703fa9c11745ebcd5bcddc4b97d5c9b7fd806df64e9219b85c63448b6709325 | # -*- coding:utf-8 -*-
import smtplib
from email.header import Header
from email.mime.text import MIMEText
from email.utils import parseaddr, formataddr
from core.enigma import Enigma
from model.email import Email
from util.config import Config
class EmailSender:
@classmethod
def format_addr(cls, s):
... | Python | core/emailsender.py | AaronGeist/Llama | gpl-3.0 | 1,814 | 57 | codeparrot/github-code |
b7e4623faa22a4e0f76f0d2a773c69062611873599fdb2f00e5ac9049b74eb4e | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<style>
table.head, table.foot { width: 100%; }
td.head-rtitle, td.foot-os { text-align: right; }
td.head-vol { text-align: center; }
table.foot td { width: 50%; }
table.head td { width: 33%; }
div.spacer { margin: 1em 0; }
</style>
<title>
RAISE(3P)</title>
</head>... | HTML | man/raise.3p.html | fusion809/fusion809.github.io-old | gpl-3.0 | 4,041 | 95 | codeparrot/github-code |
d8bf19c15f4f812f7c1f96fe8951c572c5b51802f92135b319deca64f1b8e80f | <?php
/*****************************************************************************
* User Links Template Class/Tags
**/
class BP_Links_Template {
var $current_link = -1;
var $link_count;
var $links;
var $link;
var $in_the_loop;
var $pag_page;
var $pag_num;
var $pag_links;
var $total_link_count;
va... | PHP | science3point0/science3point0 Plugins/buddypress-links/bp-links-templatetags.php | figshare/science3point0 | gpl-3.0 | 54,431 | 1,840 | codeparrot/github-code |
975b7df96554b46ce9b5cb879dc61ac98036e37b939d1e622cbc95662c66b077 | /**
Copyright 2010-2015 Bernard van Gastel, bvgastel@bitpowder.com.
This file is part of Bit Powder Libraries.
Bit Powder Libraries 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,... | C++ | src/bitpowdertest/stringparse.test.cpp | bvgastel/xmas | gpl-3.0 | 6,268 | 198 | codeparrot/github-code |
246a62550e508345338fea1823d54a912d170fb08d6e27266e33b8683aece275 | import java.util.ArrayList;
public class DemoThree{
ArrayList<PhysicalObject> list = new ArrayList<>();
public DemoThree(){
for (int i = 0; i < 500; i++){
list.add(new PhysicalSphere(1, //size
Math.random()*600.2-300.1+500, //xpos
Math.random()*600.2-300.... | Java | DemoThree.java | GTsianakas/space3D | gpl-3.0 | 1,486 | 43 | codeparrot/github-code |
ac021a69ad53781f12a59f18d97d616793b2e9a0003cc35ea4a96fdabf84fd12 | <?php
# Copyright (C) 2012 Héctor J. Macho Pedroso <hjmacho@outlook.com>
# This file is part of gPracticas.
#
# gPracticas 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,... | PHP | view_marks.php | hjmacho/gPracticas | gpl-3.0 | 3,552 | 72 | codeparrot/github-code |
2ec19ecde653c059e0b0870cdb65a4125bf4487313e05e6c842ca66a9125efdd | 'use strict'
const debug = require('debug')
const get = require('lodash/get')
const set = require('lodash/set')
const log = debug('jsipfs:http-api:config')
log.error = debug('jsipfs:http-api:config:error')
const multipart = require('ipfs-multipart')
exports = module.exports
exports.getOrSet = {
// pre request hand... | JavaScript | IPFS-JS-Code/src/http/api/resources/config.js | SpawnTree/HardCash-Fork | gpl-3.0 | 5,159 | 217 | codeparrot/github-code |
35bea276af825ee4019e6851973cb643215e5ed1f5589adff1e2a88bc4609943 | #!/usr/bin/env python3
import argparse, time
import numpy as np
import django
from django.utils import timezone
import datetime, os
import sys
import db6 as db
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "BasicBrowser.settings")
django.setup()
from tmv_app.models import *
def read_state(filename, terms):
... | Python | BasicBrowser/import_hlda.py | mcallaghan/tmv | gpl-3.0 | 5,188 | 184 | codeparrot/github-code |
78542b79e94dcd0cdd8bf0b50d1a3925cf88d2345944085273e9faa4049fa478 | ## Progam packages
from ..market_environment.Market_Environment import Market_Environment
from ..core_math import credit_pickles
## Python packages
from xlrd import open_workbook
import xlrd
import xlwings as xw
import numpy as np
class Asset_data(object):
"""
Objective:
==========
This cla... | Python | asset/Asset_data.py | jbalm/ActuarialCashFlowModel | gpl-3.0 | 6,459 | 153 | codeparrot/github-code |
f3b7e3a72ef394bbbabc6e05f4cb9b3b566d3a09f47d3e8ff64ce3bad0f91c77 | /*
* GNU GPL v3 License
*
* Copyright 2015 Marialaura Bancheri
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.... | Java | hmachine/src/main/java/org/hortonmachine/hmachine/modules/statistics/kriging/variogram/experimental/ExperimentalVariogram.java | TheHortonMachine/hortonmachine | gpl-3.0 | 9,825 | 298 | codeparrot/github-code |
08dc2ec52ea48385458260db6c931da426d481ec4300ba00dc288140e51b1fd4 | package org.kevoree.modeling.abs;
import org.kevoree.modeling.KConfig;
import org.kevoree.modeling.KObjectIndex;
import org.kevoree.modeling.memory.chunk.KObjectIndexChunk;
import org.kevoree.modeling.memory.chunk.KStringLongMapCallBack;
import org.kevoree.modeling.memory.manager.internal.KInternalDataManager;
import ... | Java | microframework/src/main/java/org/kevoree/modeling/abs/AbstractKObjectIndex.java | kevoree-modeling/framework | gpl-3.0 | 2,075 | 52 | codeparrot/github-code |
31f5387ba8f66c04a0a8148dad383b37dbe9a9ee799a0feb64645728de017135 | from gtool.core.types.core import Aggregator
class Average(Aggregator):
def __init__(self, config=None):
super(Average, self).__init__(config=config)
def compute(self):
selectionDict = super(Average, self).compute()
_selection = [v for v in selectionDict.values()][0]
_name =... | Python | gtool/plugins/average.py | gtoolframework/gtool | gpl-3.0 | 881 | 30 | codeparrot/github-code |
7c50123982ba6d243956fd1ca0f1521c3190fbfd40ad73302208808b29925fef | /****************************************************************************
Copyright (C) 2010-2012 the Office National des Forêts (ONF), France
and the Association de Recherche Technologie et Sciences (ARTS), Ecole Nationale Supérieure d'Arts et Métiers (ENSAM), Cluny, France.
... | C | ComputreeGui/view/DocumentView/GraphicsViews/ggraphicsviewoptions.h | computree/computree-v3 | gpl-3.0 | 2,456 | 84 | codeparrot/github-code |
b5777d5d02648f58e3010da1b0473f2621a21aa73346b8ec121817617928eb8a | <?php
class td_block_author extends td_block {
function render($atts, $content = null) {
parent::render($atts);
extract(shortcode_atts(
array(
'author_id' => '1', // ID 1 for admin
'author_url_text' => '',
'author_url' => '',
... | PHP | includes/shortcodes/td_block_author.php | tagDiv/ionMag | gpl-3.0 | 2,467 | 84 | codeparrot/github-code |
8fc4a6bd8df2996564a6947a59ce8cdc4e9ad650c7c882fa16f2cf9850f061be | /**
* Copyright (c) 2000-2005 Liferay, LLC. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use,... | Java | src/com/liferay/portlet/polls/ejb/PollsQuestionLocalManagerUtil.java | ggonzales/ksl | gpl-3.0 | 4,786 | 138 | codeparrot/github-code |
8dc85037a664a7e4107cfd93e3fb717804ddfd886e429cddda089bf70ed2b992 | /*
* Copyright (C) 2016 MCME
*
* 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 distr... | Java | src/main/java/com/mcmiddleearth/architect/specialBlockHandling/specialBlocks/SpecialBlockTwoAxis.java | EriolEandur/MCME-Architect | gpl-3.0 | 3,289 | 87 | codeparrot/github-code |
bc653b5552e5f790521ee9e1b5b68cbf2f6c5bfff0ff6d402cecc94c42833615 | #include "aux_functions.hpp"
using namespace std;
#define TYPE float
int main()
{
// The correctness of all results will be checked at the end of each execution round
const unsigned check_results = 1;
// The kernel will be executed for problem sizes of 64, 64*2, ... , 64*2^(test_vec_len-1)
const unsigned te... | C++ | benchmark/nbody/src/main.cpp | malkadi/FGPU | gpl-3.0 | 3,046 | 103 | codeparrot/github-code |
625e18a8815f5f21ee03110730495465f012e868b7e263a738185d8e42cb85bb | import tensorflow as tf
import load_image
import matplotlib.pyplot as plt
import numpy as np
def weight_variable(shape):
"""initialize weights with a small ammount of noise to break
symmetry and prevent 0 gradients"""
initial = tf.truncated_normal(shape, stddev=0.1)
return tf.Variable(initial)
def bi... | Python | position_fc_net.py | leobrowning92/tf_edu | gpl-3.0 | 2,905 | 88 | codeparrot/github-code |
bd50007e44ac082296e25670b7800b8dd1e29fe74cb29c655a90130e745951c9 | #ifndef POS_H
#define POS_H
#include <inttypes.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
typedef struct Pos Pos; // Defined here due to circular reference with Moves in moves.h.
typedef enum {
MoveTypeNone=0,
MoveTypeQuiet=1, // Includes castling.
MoveTypeCapture=2, // Includes promotions.
M... | C | src/pos.h | DanielWhite94/robocide | gpl-3.0 | 3,514 | 114 | codeparrot/github-code |
4da5e1732a35b96b05728e842406fc1cdb32cbc72407034ec7cf6143131400bf | #ifndef __SET_H_
#define __SET_H_
#include <stdio.h>
#include <stdlib.h>
// 28 bytes for set & 4 bits for rank min|max
#define myType unsigned int
#define sizemyType 32
#define realSizemyType 28
myType setIByte(myType e, int i);
myType unsetIByte(myType e, int i);
int getBytes(myType e, int i);
myType getIBytes(myTy... | C | Prog/Theorem_rk_solver/include/set.h | ProjectiveGeometry/ProjectiveGeometry | gpl-3.0 | 797 | 35 | codeparrot/github-code |
6d1ae77c17ac1d8ed7225f1b9ebbc1f8171131fe617b900cb346344a1dfb10cb | /////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2020 Equinor ASA
//
// ResInsight 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++ | ApplicationLibCode/UserInterface/RiuQssSyntaxHighlighter.cpp | OPM/ResInsight | gpl-3.0 | 7,723 | 186 | codeparrot/github-code |
4ed266e1d5c3eaa4a95cd99ed782d3766968d6397cb53a7d0891090e1f4163ef | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** 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 w... | C++ | src/plugins/clangtools/clangtoolsunittests.cpp | sailfish-sdk/sailfish-qtcreator | gpl-3.0 | 6,887 | 181 | codeparrot/github-code |
3d1ce80ba71408e2178da0ffa25d021129a67fa8c2df4b5cb7f051dae6a4c47d | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtSCriptTools module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid... | C++ | oss/qt/qt-everywhere-opensource-src-5.9.0/qtscript/src/scripttools/debugging/qscriptdebuggerconsole.cpp | geminy/aidear | gpl-3.0 | 22,047 | 598 | codeparrot/github-code |
29593e5c12650a662ffd024817b1ec8333a732b86b1260a3250e0c4b1fa5da4c | #include "Mode4.h"
#include "GraphicPrivate.h"
#include "../Config.h"
using namespace GraphicPrivate;
Mode4::Mode4(const Comment &comment) :
Plain(comment)
{
Q_ASSERT(comment.mode == 4);
life = evaluate(Config::getValue<QString>("/Danmaku/Life", "5"));
}
QList<QRectF> Mode4::locate()
{
QList<QRectF> results;
if ... | C++ | src/Graphic/Mode4.cpp | EEOwen1996/BiliLocal | gpl-3.0 | 1,117 | 47 | codeparrot/github-code |
9c0c7422a3d2cbf693b4791f594b32c4bfbc3cae85fb2f0f4e58f00f8b1096cf | //
// SimpleTorrentManager.cs
//
// Authors:
// Gregor Burger burger.gregor@gmail.com
//
// Copyright (C) 2006 Gregor Burger
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without re... | C# | MonoTorrent/MonoTorrent.Tracker/SimpleTorrentManager.cs | aaronsace/MultiPoolMiner | gpl-3.0 | 8,686 | 284 | codeparrot/github-code |
ef47f1bf617320f640212a763bbc0a2bbe8e2e74bc5258bbeae9659a419aab35 | # This Python file uses the following encoding: utf-8
from __future__ import division
from colorsegmentation.image.ImageService import *
from colorsegmentation.image.Points import *
import numpy as np
import numpy.ma as ma
import copy as cp
from ia870 import *
import sys
sys.setrecursionlimit(10000)
class MaxTree(ob... | Python | py/colorsegmentation/maxtree/MaxTree.py | filaboia/colorsegmentation | gpl-3.0 | 11,619 | 375 | codeparrot/github-code |
92ab43525586a3a9bcb3ae44b88ae763d9d26bb3881d852b8d5e76fe83c8dd01 | /*******************************************************************************
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any la... | Java | CrawlerLib/src/main/java/org/fseek/simon/gameone/blog/gallery/Gallery.java | swimmesberger/GameOneCrawler | gpl-3.0 | 1,353 | 42 | codeparrot/github-code |
9773caff1e88dddaed7949b93cd801136cff9580b2201aa8c0d1c43f5d05fa52 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
\\/ M anipulation |
---------------... | C++ | src/OpenFOAM/primitives/strings/word/wordI.H | themiwi/freefoam-debian | gpl-3.0 | 4,153 | 185 | codeparrot/github-code |
5c7845130b9b23a8bb3f6f4c416a0d8101db494e67af670410c31cc149bb0c0e | package bookstore.web.action;
import ejb.logic.facade.IBusinessFacade;
import ejb.bean.book.IBookBean;
import java.io.IOException;
import java.util.List;
import javax.ejb.EJB;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import ja... | Java | Modulo6/BookstoreEAR/BookstoreEAR-war/src/java/bookstore/web/action/SearchByAuthor.java | pablo-albaladejo/javaee | gpl-3.0 | 1,644 | 49 | codeparrot/github-code |
2782cf6bd93bc20a1b7fd38a27ce957491c8e6182256b6124447432c70eed91e | #!/usr/bin/env python
# coding=utf-8
import sys
import os
from qtpy import QtGui, QtWidgets, QtCore
from appbase.MultiWorkspaceWindow import MultiWorkspaceWindow
from appbase.Application import Application
from fancytools.os.PathStr import PathStr
from imgProcessor.reader.qImageToArray import qImageToArray
# from int... | Python | dataArtist/gui.py | radjkarl/dataArtist | gpl-3.0 | 20,228 | 588 | codeparrot/github-code |
95ca407b30d6a187c823663d8382e8544ef0aca5b01866f7aa1f40f687b904b7 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The source code</title>
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>
<style type="t... | HTML | docs/source/Region.html | MetroBlooms/evaluate-it | gpl-3.0 | 12,542 | 393 | codeparrot/github-code |
71167369912dfa6ee49eb81448c50420b52763a798b9dc0e2f460e124c68b5d8 | <!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: AnimatorTransitionInfo.IsUserName</title>
<m... | HTML | ScriptReference/AnimatorTransitionInfo.IsUserName.html | rakuten/Uinty3D-Docs-zhcn | gpl-3.0 | 10,361 | 222 | codeparrot/github-code |
36aeed8119016ed70adeefdadd9b22c7e73505e3ec676a07649cbd3038d9abf2 | // +build !TAPDANCE
/*
* Copyright (c) 2018, Psiphon Inc.
* 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 as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) ... | GO | psiphon/common/tapdance/tapdance_disabled.go | adam-p/psiphon-tunnel-core | gpl-3.0 | 1,433 | 53 | codeparrot/github-code |
84cee7f1cfbcd25784262d5b86b0cab7f31dcd503c54c0eca93f763db10cfbef | /* Copyright © 2021 Softel vdm, Inc. - https://yetawf.com/Documentation/YetaWF/Licensing */
using System;
using System.Collections;
using System.Linq;
using System.Threading.Tasks;
using YetaWF.Core.DataProvider;
using YetaWF.Core.Identity;
using YetaWF.Core.IO;
using YetaWF.Core.Modules;
using YetaWF.Core.Pages;
usi... | C# | Core/PackageSupport/ExportData.cs | YetaWF/YetaWF-CoreComponents | gpl-3.0 | 7,522 | 147 | codeparrot/github-code |
f7cd447abc50df0b6021b4da6fbd47f0f1b44840bf5ea97da1bc9cc22a82a5a6 | <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="bg_BG">
<context>
<name>AudioCvt_Sox_gui</name>
<message>
<location filename="../Music/audiocvt_sox_gui.ui" line="14"/>
<source>Convert Audio (SoX)</source>
<translation type="unfinished"></translation>
... | TypeScript | Maintainer/languages/maintainer_bg.ts | WohlSoft/PGE-Project | gpl-3.0 | 53,114 | 1,229 | codeparrot/github-code |
0b1e83190d11dbb5102b472329963deb3dea4f68072742821fceab49a6479cde | package com.health.viewUtil;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.text.Editable;
import android.util.AttributeSet;
import android.util.SparseBooleanArray;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import androi... | Java | src/com/health/viewUtil/SingleChoiceEditText.java | liangliang1989/android | gpl-3.0 | 5,785 | 207 | codeparrot/github-code |
da618642a07b96259882c7522c5eac4a1154f5c81fcb2da766e3091a91ca026d | package com.me.mygdxgame;
import com.badlogic.gdx.Gdx;
public class Timer
{
public ITimerTick Tick;
private float timeCumulation;
private float timeInterval;
private boolean isLoop;
private boolean isStopped;
public Timer(float time_interval, boolean loop)
{
timeInterval = time_interval;
isLoop = loop;
}
... | Java | Racing1/my-gdx-game/src/com/me/mygdxgame/Timer.java | kyozanuro/libgdx-projects | gpl-3.0 | 882 | 51 | codeparrot/github-code |
8287e1d12b0f040fd5739dcf7abbb4405cd1ebec113cf9e3c774c8b491a77f87 | using DatenMeister.DataProvider;
using DatenMeister.Logic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DatenMeister.Pool
{
/// <summary>
/// Defines the parameter that will be used to add an extent
/// </summary>
public ... | C# | src/DatenMeister/Pool/ExtentParam.cs | mbrenn/datenmeister | gpl-3.0 | 2,467 | 96 | codeparrot/github-code |
5963772df11825412e5895ce9c01d9755bb542c91feee06002065ef9b1f56c30 | <?php
/*
Copyright (C) 2014 Abdelrhamane benhammou
*/
class account extends table
{
public $name = "";
public $id_formule = 0;
public $date ;
public $check = 0;
public $iban = "0";
public $mail = "";
public function __construct($id = null)
{
parent::__construct("accounts",__CLASS__);
... | PHP | M/account.class.php | invoicergitter/invoicer | gpl-3.0 | 1,235 | 48 | codeparrot/github-code |
5fac1a2aba39ecdbde349583b1a50453f2854ba856cc2723625e3a550906e338 | /*
* Copyright 2013, 2017 Carmen Alvarez
*
* This file is part of Scrum Chatter.
*
* Scrum Chatter 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)... | Java | app/src/main/java/ca/rmen/android/scrumchatter/dialog/ProgressDialogFragment.java | caarmen/scrumchatter | gpl-3.0 | 2,657 | 70 | codeparrot/github-code |
d74baae829c4e6fadcc8f3d00b35ab88590d845712b4571ae6c0db8f30da8971 | <?php
/**
* TrcIMPLAN - SMI Indicadores Gómez Palacio Economía Sectores que Han Presentado Alto Crecimiento (Creado por Central:SmiLanzadera)
*
* Copyright (C) 2015 Guillermo Valdés Lozano
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Licen... | PHP | lib/SMIIndicadoresGomezPalacio/EconomiaSectoresQueHanPresentadoAltoCrecimiento.php | TRCIMPLAN/beta | gpl-3.0 | 12,463 | 336 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.