code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 3 942 | language stringclasses 30
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
/*
* This file is part of JGrasstools (http://www.jgrasstools.org)
* (C) HydroloGIS - www.hydrologis.com
*
* JGrasstools 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,... | silviafranceschi/jgrasstools | gui/src/main/java/org/jgrasstools/gui/spatialtoolbox/core/ViewerModule.java | Java | gpl-3.0 | 1,640 |
<?php
/**
* Mahara: Electronic portfolio, weblog, resume builder and social networking
* Copyright (C) 2006-2008 Catalyst IT Ltd (http://www.catalyst.net.nz)
*
* 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 S... | Br3nda/mahara | htdocs/artefact/blog/blocktype/recentposts/lib.php | PHP | gpl-3.0 | 4,805 |
/*
* Copyright (C) 2019 yi
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distrib... | jeplus/jEPlus | src/main/java/jeplus/event/IF_ProjectChangedHandler.java | Java | gpl-3.0 | 959 |
/*
* 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... | fracpete/gpsformats4j | src/main/java/com/github/fracpete/gpsformats4j/formats/Format.java | Java | gpl-3.0 | 2,058 |
package sokobanMod.common;
import java.util.List;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.m... | MineMaarten/Sokoban-Mod | src/sokobanMod/common/BlockUnbreakableGlasses.java | Java | gpl-3.0 | 2,099 |
#ifndef HOUND_DRIVER
#define HOUND_DRIVER
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <time.h>
#include <errno.h>
#include <QString>
#include <QByteArray>
extern QByteArray hound_driver(QString audioUrl);
#endif /* HOUND_DRIVER_H */... | milksob/hello-coap | src/hound_driver.h | C | gpl-3.0 | 321 |
/* Copyright 2008,2009,2010 Edwin Eefting (edwin@datux.nl)
This file is part of Synapse.
Synapse 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... | psy0rz/Synapse | modules/pong.module/module.cpp | C++ | gpl-3.0 | 11,121 |
/*
* PLUTO: An automatic parallelizer and locality optimizer
*
* Copyright (C) 2007-2012 Uday Bondhugula
*
* This file is part of Pluto.
*
* Pluto 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; eith... | realincubus/pluto_clang | src/program.c | C | gpl-3.0 | 129,988 |
/**----------------------------------------------------------------------------
* Name: media_stop.c
* Purpose: media stop module
* Author: JungJaeJoon on the www.kernel.bz
*-----------------------------------------------------------------------------
* Notes:
*-------------------------------------------... | kernel-bz/razig | media/media_stop.c | C | gpl-3.0 | 1,290 |
/*-------------------------------------------------------------------------
*
* extended_stats.c
* POSTGRES extended statistics
*
* Generic code supporting statistics objects created via CREATE STATISTICS.
*
*
* Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
* Portions Copyright (c) 19... | robins/postgres | src/backend/statistics/extended_stats.c | C | gpl-3.0 | 13,705 |
local a,b = 4,5 | kobreu/compiler | testinput/grammar/stat_local_assignment.lua | Lua | gpl-3.0 | 15 |
<html>
<pre>
Automatic Parsing for Content Analysis
Although automatic syntactic and semantic analysis is not yet possible for
all of an unrestricted natural language text, some applications, of which
content analysis is one, do not have such a stringent coverage requirement.
Preliminary studies show that the Harva... | jrosseel/ProjectInformationRetrieval | InfoRetrievalSystem/dataset/CACM-2050.html | HTML | gpl-3.0 | 1,066 |
from pygame import USEREVENT
# Events
SONG_END_EVENT = USEREVENT + 1
ENEMY_DESTROYED_EVENT = USEREVENT + 2
BOSS_BATTLE_EVENT = USEREVENT + 3
DISPLAY_MESSAGE_EVENT = USEREVENT + 4
END_LEVEL_EVENT = USEREVENT + 5
END_GAME_EVENT = USEREVENT + 6
# Constants
SCREEN_SIZE = (800, 600)
# Colors
COLOR_BLACK = (0, 0, 0)
| juanjosegzl/learningpygame | constants.py | Python | gpl-3.0 | 315 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using BMW.Rheingold.Psdz.Model.Ecu;
namespace BMW.Rheingold.Psdz.Model.Sfa
{
[KnownType(typeof(PsdzEcuIdentifier))]
[KnownType(typeof(PsdzFeatureIdCto))]
... | uholeschak/ediabaslib | Tools/Psdz/PsdzClientLibrary/Psdz/PsdzSecureTokenEto.cs | C# | gpl-3.0 | 720 |
<?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Twisted Documentation: The Evolution of Finger: pluggable backends</title>
<link href="..... | tzewangdorje/SIPserv | Twisted-13.1.0/doc/core/howto/tutorial/backends.html | HTML | gpl-3.0 | 75,854 |
// Copyright (c) 2005 Brian Wellington (bwelling@xbill.org)
package org.xbill.DNS;
import java.io.*;
import java.net.*;
import java.nio.channels.*;
import org.xbill.DNS.utils.hexdump;
class Client {
protected long endTime;
protected SelectionKey key;
protected
Client(SelectableChannel channel, long endTime) throws... | dikonikon/layer17 | src/main/java/org/xbill/DNS/Client.java | Java | gpl-3.0 | 1,221 |
#include "SceneObject2.h"
SceneObject2::SceneObject2 ()
{
}
SceneObject2::~SceneObject2 ()
{
}
void SceneObject2::Update2 ()
{
}
void SceneObject2::Gravity_check2()
{
}
void SceneObject2::Draw2 ()
{
}
void SceneObject2::Jump2()
{
}
void SceneObject2::isover2()
{
over2 = true;
}
bool SceneObject2::get_over2... | ralucamindr/LiteEngine2D | src/SceneObject2.cpp | C++ | gpl-3.0 | 569 |
<?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.
//
//... | nitro2010/moodle | lib/editor/atto/plugins/computing/ajax.php | PHP | gpl-3.0 | 1,810 |
/**
* 表示データ作成用テンプレート(patTemplate)
*
* LICENSE: This source file is licensed under the terms of the GNU General Public License.
*
* @package Magic3 Framework
* @author 平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
* @copyright Copyright 2006-2017 Magic3 Project.
* @license http://www.gnu.org/copyleft/gpl.html... | magic3org/magic3 | widgets/blog_archive_menu/include/template/index.tmpl.html | HTML | gpl-3.0 | 610 |
/*
C++ Matrix/Vector templates (GNU Gama / matvec 1.0.01)
Copyright (C) 1999, 2007 Ales Cepek <cepek@gnu.org>
This file is part of the GNU Gama C++ Matrix/Vector template library.
This library is free software; you can redistribute it and/or modify
it under the terms of the GNU General Publ... | gizela/gizela | util/gama-1.9.07/lib/matvec/inderr.h | C | gpl-3.0 | 1,790 |
var dir_74389ed8173ad57b461b9d623a1f3867 =
[
[ "Containers", "dir_08cccf7962d497a198ad678c4e330cfd.html", "dir_08cccf7962d497a198ad678c4e330cfd" ],
[ "Controls", "dir_6f73af2b2c97c832a8b61d1fc1ff2ac5.html", "dir_6f73af2b2c97c832a8b61d1fc1ff2ac5" ],
[ "Util", "dir_7db6fad920da64edfd558eb6dbc0c610.html", "dir... | KateAdams/kateadams.eu | static/*.kateadams.eu/Consor/Doxygen/dir_74389ed8173ad57b461b9d623a1f3867.js | JavaScript | gpl-3.0 | 2,985 |
osm_tile - split an osm file into several tiles
===============================================
This is a simple tool based on [Osmium](https://github.com/joto/osmium)
to split an OSM file into several files covering different bounding boxes.
This is done in a single pass through the input file writing out to the
... | imagico/osm_tile | README.md | Markdown | gpl-3.0 | 741 |
class AddOpenscapProxyToHostAndHostgroup < ActiveRecord::Migration
def up
add_column :hostgroups, :openscap_proxy_id, :integer
add_column :hosts, :openscap_proxy_id, :integer
add_column :reports, :openscap_proxy_id, :integer
end
def down
remove_column :hostgroups, :openscap_proxy_id, :integer
... | shlomizadok/foreman_openscap | db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb | Ruby | gpl-3.0 | 429 |
---
title: 用C++计算文件的MD5值
date: 2018-11-23 16:22:44
tags: CSDN迁移
---
用C++计算文件的MD5值,相关的代码如下:
md5.h
```
#ifndef MD5_H
#define MD5_H
#include <string>
#include <fstream>
/* Type define */
typedef unsigned char byte;
typedef unsigned int uint32;
using std::string;
using std::ifstream;
/* MD5 declaration. ... | song8356000/song8356000.github.io | _posts/2017-04-17-用C++计算文件的MD5值.md | Markdown | gpl-3.0 | 11,471 |
/*******************************************************************************
* 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... | WorldGrower/WorldGrower | src/org/worldgrower/ImmutableWorldObject.java | Java | gpl-3.0 | 4,739 |
{% extends "base.html" %}
{% block content %}
<div id="singlefilm">
<p>Name: {{ room.number }}</p>
<P>Capasity: {{ room.capacity }}</P>
</div>
{% endblock %} | Dayana-Marinova/Cinema-Reservation-System | cinema_system/room/templates/singleroom.html | HTML | gpl-3.0 | 167 |
""" This is a test of the chain
ReportsClient -> ReportsGeneratorHandler -> AccountingDB
It supposes that the DB is present, and that the service is running.
Also the service DataStore has to be up and running.
this is pytest!
"""
# pylint: disable=invalid-name,wrong-import-position
import datetime
... | DIRACGrid/DIRAC | tests/Integration/AccountingSystem/Test_ReportsClient.py | Python | gpl-3.0 | 2,308 |
/* Aether2DImgMaker -- console app to generate images of the Aether cellular automaton in 2D
Copyright (C) 2017-2022 Jaume Ribas
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, e... | JaumeRibas/Aether2DImgMaker | CellularAutomata/src/cellularautomata/model1d/SymmetricLongModel1D.java | Java | gpl-3.0 | 1,577 |
/* This file is part of the 'neper' program. */
/* Copyright (C) 2003-2012, Romain Quey. */
/* See the COPYING file in the top-level directory. */
#include"neut_poly_polymod.h"
void
neut_poly_polymod (struct POLY Poly, struct POLYMOD *pPolymod)
{
neut_poly_polymodVerQty (Poly, pPolymod);
neut_poly_polymodFaceQty ... | zhulcghshsf1989/neper | src/neut/neut_poly/neut_poly_polymod/neut_poly_polymod1.c | C | gpl-3.0 | 442 |
package code.name.monkey.appthemehelper.common.prefs.supportv7;
import android.content.Context;
import android.support.v7.preference.ListPreference;
import android.util.AttributeSet;
import code.name.monkey.appthemehelper.R;
/**
* @author Aidan Follestad (afollestad)
*/
public class ATEListPreference extends ListP... | h4h13/RetroMusicPlayer | appthemehelper/src/main/java/code/name/monkey/appthemehelper/common/prefs/supportv7/ATEListPreference.java | Java | gpl-3.0 | 1,187 |
package com.michaelvescovo.android.itemreaper.edit_item;
import com.michaelvescovo.android.itemreaper.util.FakeImageFileImpl;
import com.michaelvescovo.android.itemreaper.util.ImageFile;
import dagger.Module;
import dagger.Provides;
/**
* @author Michael Vescovo
*/
@Module
public class EditItemModule {
priva... | mvescovo/item-reaper | app/src/mock/java/com/michaelvescovo/android/itemreaper/edit_item/EditItemModule.java | Java | gpl-3.0 | 701 |
Imports javax.swing
'
' * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
' * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
'
Namespace javax.swing.plaf.nimbus
Friend Class SliderThumbAr... | amethyst-asuka/java_dotnet | javax/swing/plaf/nimbus/SliderThumbArrowShapeState.vb | Visual Basic | gpl-3.0 | 609 |
/*!
@file list.h
@brief Header file for list data
@timestamp Tue, 07 Oct 2014 07:32:14 +0000
@author Patrick Head mailto:patrickhead@gmail.com
@copyright Copyright (C) 2014 Patrick Head
@license
This program is free software: you can redistribute it and/or modify
it under the term... | PatrickHead/gray | include/list.h | C | gpl-3.0 | 3,304 |
:root {
--content-maxwidth: auto;
}
| tdegeus/GooseEYE | custom.css | CSS | gpl-3.0 | 38 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_20) on Mon Nov 05 16:19:57 GMT 2012 -->
<TITLE>
QueryConfiguration (db4o - database for objects - documentation)
</TITLE>
<META NAME="date"... | potty-dzmeia/db4o | doc/api/com/db4o/config/QueryConfiguration.html | HTML | gpl-3.0 | 15,443 |
//
// <one line to give the program's name and a brief idea of what it does.>
// Copyright (C) 2017. WenJin Yu. windpenguin@gmail.com.
//
// Created at 2017/11/17 17:42:13
// Version 1.0
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as... | windpenguin/WindUtil | Src/TestWindUtil/TestIdMgr.cpp | C++ | gpl-3.0 | 1,283 |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTableFellowProgress extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
//
Schema::creat... | GobiernoFacil/agentes-v2 | database/migrations/2018_05_03_131639_create_table_fellow_progress.php | PHP | gpl-3.0 | 922 |
#include <algorithm>
#include <cstdio>
#include <vector>
using std::vector;
using std::max;
#define clean(arr, con, len) for (int i=0; i<len ; i++) arr[i] = con;
#define iftdo(con, tdo, len) for (int i=1; i<=len; i++) if(con) {tdo;}
const int MAXN = 5010;
const int MAXM = 50010;
typedef enum {DO, DOING, DID} status;
s... | YanWQ-monad/monad | Cpp/Exam-answer/smoj.nhedu.net/1529.cpp | C++ | gpl-3.0 | 1,210 |
/*
This file is a part of libcds - Concurrent Data Structures library
(C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017
Source code repo: http://github.com/khizmax/libcds/
Download: http://sourceforge.net/projects/libcds/files/
Redistribution and use in source and binary forms, with... | whc10002/study | libcds/test/unit/pqueue/fcpqueue_deque.cpp | C++ | gpl-3.0 | 5,258 |
TRUNCATE pr_occtax.t_releves_occtax CASCADE;
TRUNCATE gn_meta.t_datasets CASCADE;
TRUNCATE gn_meta.t_acquisition_frameworks CASCADE;
TRUNCATE gn_permissions.cor_role_action_filter_module_object CASCADE;
TRUNCATE gn_synthese.synthese CASCADE;
TRUNCATE utilisateurs.cor_role_app_profil CASCADE;
TRUNCATE taxonomie.... | PnX-SI/GeoNature | backend/tests/delete_sample_data.sql | SQL | gpl-3.0 | 814 |
<?php
/*
* * Purpose: Add support for external modules to extend Zabbix native functions
* * Adail Horst - http://spinola.net.br/blog
* *
* * 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 Foundati... | SpawW/everyz | everyz.php | PHP | gpl-3.0 | 4,786 |
package biz.dealnote.messenger.crypt;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import androidx.annotation.IntDef;
/**
* Created by admin on 08.10.2016.
* phoenix
*/
@IntDef({SessionState.INITIATOR_EMPTY, SessionState.NO_INITIATOR_EMPTY, SessionState.INITIATOR_STATE_1, Se... | PhoenixDevTeam/Phoenix-for-VK | app/src/main/java/biz/dealnote/messenger/crypt/SessionState.java | Java | gpl-3.0 | 2,719 |
// Copyright (c) 2005 - 2020 Settlers Freaks (sf-team at siedler25.org)
//
// This file is part of Return To The Roots.
//
// Return To The Roots is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either versio... | nE0sIghT/s25client | libs/s25main/gameTypes/SettingsTypes.h | C | gpl-3.0 | 2,504 |
'''Language module, allows the user to change the language on demand'''
# -*- coding: utf-8 -*-
# This file is part of emesene.
#
# emesene 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 v... | emesene/emesene | emesene/Language.py | Python | gpl-3.0 | 7,488 |
# Makefile.in generated by automake 1.11.1 from Makefile.am.
# config/Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
# Inc.
# This Makefile.in is free software; the Free Soft... | MengbinZhu/pfldp | ropp-7.0/ropp_1dvar/config/Makefile | Makefile | gpl-3.0 | 17,774 |
/****************************************************************************
****************************************************************************
***
*** This header was automatically generated from a Linux kernel header
*** of the same name, to make information necessary for userspace to
*** call i... | wiki2014/Learning-Summary | alps/bionic/libc/kernel/uapi/linux/sysctl.h | C | gpl-3.0 | 34,822 |
<?php
F::GetSubmit("id");
if($id) {
$sql = "SELECT name FROM file_doc WHERE file_id = $id";
$name = $DB->GetOne($sql);
$path = dirname($_SERVER['DOCUMENT_ROOT'].$_SERVER['PHP_SELF'])."/root/".$id;
// Force the download
header('Cache-Control: private');
header('Pragma: private');
header("Cache-Control: no-cache, m... | yoursun0/leave | Download.php | PHP | gpl-3.0 | 773 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package NetSpace;
import java.lang.instrument.Instrumentation;
/**
*
* @author ubuntu
*/
public class Main {
/**
* @param args the command line arguments
*/
public static void main(String[] args)... | A-Malone/net-space | src/NetSpace/Main.java | Java | gpl-3.0 | 502 |
##
# This module requires Metasploit: http://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
require 'msf/core'
class Metasploit3 < Msf::Exploit::Remote
Rank = GreatRanking
include Msf::Exploit::FILEFORMAT
include Msf::Exploit::Seh
def initialize(info = {})
su... | cSploit/android.MSF | modules/exploits/windows/fileformat/feeddemon_opml.rb | Ruby | gpl-3.0 | 4,129 |
<?php
require 'includes/functions.php';
include_once 'config.php';
$companyName = $_POST['companyName'];
$latitude = $_POST['latitude'];
$longitude = $_POST['longitude'];
$address = $_POST['address'];
$yearOfExistance = $_POST['yearOfExistance'];
$insertCompany = new InsertCost;
... | sudikrt/cost_prediction | login/insertCompany.php | PHP | gpl-3.0 | 569 |
package gov.nasa.gsfc.seadas.processing.common;
import com.bc.ceres.core.CoreException;
import com.bc.ceres.core.ProgressMonitor;
import com.bc.ceres.core.runtime.ConfigurationElement;
import com.bc.ceres.core.runtime.RuntimeContext;
import com.bc.ceres.swing.progress.ProgressMonitorSwingWorker;
import gov.nasa.gsfc.s... | seadas/seadas | seadas-processing/src/main/java/gov/nasa/gsfc/seadas/processing/common/CallCloProgramAction.java | Java | gpl-3.0 | 20,043 |
/*
* STaRS, Scalable Task Routing approach to distributed Scheduling
* Copyright (C) 2012 Javier Celaya
*
* This file is part of STaRS.
*
* STaRS 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; e... | jcelaya/stars | src/test/TestSuite.cpp | C++ | gpl-3.0 | 4,080 |
# cwsoft-addon-file-editor module for CMS WebsiteBaker 2.8.x
The `cwsoft-addon-file-editor` (consecutively abbreviated `AFE`) enables you to *view*, *edit*, *delete*, *create*, *upload*, *unzip* or *backup* files of installed Add-ons such as *modules*, *templates* or *languages* from the [WebsiteBaker CMS](http://www.w... | AWolan/wb-cwsoft-addon-file-editor | README.md | Markdown | gpl-3.0 | 11,483 |
{% load staticfiles %}{% load i18n %}{% load bootstrap3 %}<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}{% if page_title %}{{page_title}} :: {% end... | ercpe/djunin | djunin/templates/registration/login.html | HTML | gpl-3.0 | 986 |
import os
import pytest
import perun.utils.helpers as helpers
import perun.utils.streams as streams
import perun.logic.store as store
import perun.logic.index as index
import perun.utils.exceptions as exceptions
import perun.utils.timestamps as timestamps
__author__ = 'Tomas Fiedor'
@pytest.mark.usefixtures('cleand... | tfiedor/perun | tests/test_store.py | Python | gpl-3.0 | 7,270 |
/** @jsx React.DOM */
jest.dontMock('./../jsx/jestable/DeleteButton.js');
describe('DeleteButton', function() {
it('creates a button that deletes keyword from the keyword list', function() {
var React = require('react/addons');
var DeleteButton = require('./../jsx/jestable/DeleteButton.js');
... | Reynslan/moggo | components/__tests__/DeleteButton-test.js | JavaScript | gpl-3.0 | 1,154 |
/*
* This file is part of MinecartRevolution-Core.
* Copyright (c) 2012 QuarterCode <http://www.quartercode.com/>
*
* MinecartRevolution-Core 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 ... | QuarterCode/MinecartRevolution | core/src/main/java/com/quartercode/minecartrevolution/core/util/cart/MinecartUtil.java | Java | gpl-3.0 | 4,595 |
package com.abm.mainet.water.domain;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
im... | abmindiarepomanager/ABMOpenMainet | Mainet1.1/MainetServiceParent/MainetServiceWater/src/main/java/com/abm/mainet/water/domain/AdditionalOwnerInfo.java | Java | gpl-3.0 | 9,175 |
// 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 t... | costis-t/smallProjects | SR_TMOI_GradientDescent/Gradient_Descent_Challenge.cpp | C++ | gpl-3.0 | 3,125 |
class AddExplicitExpirationToUnavailableFors < ActiveRecord::Migration[6.0]
def change
add_column :unavailable_as_candidate_fors, :expires_at, :datetime, index: true
end
end
| greenriver/boston-cas | db/migrate/20200312133258_add_explicit_expiration_to_unavailable_fors.rb | Ruby | gpl-3.0 | 182 |
/**
Copyright (C) 2014 www.cybersearch2.com.au
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 p... | andrew-bowley/xpl | tutorial/src/main/java/au/com/cybersearch2/classy_logic/tutorial18/ForeignColors.java | Java | gpl-3.0 | 7,706 |
/*
Copyright 2015 Philipp Adam, Manuel Caspari, Nicolas Lukaschek
contact@ravenapp.org
This file is part of Raven.
Raven 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
... | manuelsc/Raven-Messenger | Raven Core/src/hash/ScryptTool.java | Java | gpl-3.0 | 1,890 |
package cn.ac.rcpa.bio.proteomics.filter;
import cn.ac.rcpa.bio.proteomics.IIdentifiedPeptide;
import cn.ac.rcpa.bio.proteomics.IIdentifiedPeptideHit;
import cn.ac.rcpa.filter.IFilter;
public class IdentifiedPeptideHitFilterByPeptideFilter
implements IFilter<IIdentifiedPeptideHit> {
private IFilter<IIde... | shengqh/RcpaBioJava | src/cn/ac/rcpa/bio/proteomics/filter/IdentifiedPeptideHitFilterByPeptideFilter.java | Java | gpl-3.0 | 695 |
package it.unibas.lunatic.test.mc.dbms.basicscenario;
import it.unibas.lunatic.Scenario;
import it.unibas.lunatic.model.chase.chasemc.operators.ChaseMCScenario;
import it.unibas.lunatic.model.chase.chasemc.DeltaChaseStep;
import it.unibas.lunatic.model.chase.commons.operators.ChaserFactoryMC;
import it.unibas.lunatic.... | donatellosantoro/Llunatic | lunaticEngine/test/it/unibas/lunatic/test/mc/dbms/basicscenario/TestSQLPersons.java | Java | gpl-3.0 | 4,992 |
/*
* 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... | aleatorio12/ProVentasConnector | jasperreports-6.2.1-project/jasperreports-6.2.1/src/net/sf/jasperreports/engine/export/ooxml/DocxStyleHelper.java | Java | gpl-3.0 | 4,862 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Cereal64.Common.Rom
{
interface IXMLRomProjectItem
{
string GetXMLName();
string GetXMLPath();
}
}
| mib-f8sm9c/Cereal64 | Common/Rom/IXMLRomProjectItem.cs | C# | gpl-3.0 | 228 |
Server API Specification {#doc_server_api}
==========================================
[TOC]
LibrePCB provides an API at [api.librepcb.org](https://api.librepcb.org) which
is used by the LibrePCB application, for example to fetch the latest libraries.
The API uses JSON for responses.
# URL {#doc_server_api_url}
An... | rnestler/LibrePCB | dev/doxygen/pages/server_api.md | Markdown | gpl-3.0 | 6,782 |
package com.cloudera.cmf.service.config;
import com.cloudera.cmf.service.ServiceDataProvider;
import com.cloudera.cmf.service.ServiceHandlerRegistry;
import com.cloudera.cmf.service.hdfs.DfsConnector;
import com.cloudera.cmf.service.hdfs.HdfsParams;
import com.google.common.collect.ImmutableList;
import java.ut... | Mapleroid/cm-server | server-5.11.0.src/com/cloudera/cmf/service/config/DefaultFsEvaluator.java | Java | gpl-3.0 | 977 |
<!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/html; charset=utf-8" />
<title>Search — kumpel 0.11 documentation</title>
... | aviDms/kumpel | docs/_build/html/search.html | HTML | gpl-3.0 | 3,105 |
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
* the BSD license.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
* All ri... | qt-haiku/LibreOffice | odk/examples/OLE/activex/SOComWindowPeer.h | C | gpl-3.0 | 5,612 |
import data.Host;
import java.net.InetAddress;
import java.net.UnknownHostException;
public class DCMCommandLibraryLinux
{
private Host host;
private String command = "";
private InetAddress inetAddress;
private String dcmServerIP;
private String mpstatDataFile;
private String iostatDat... | ron-from-nl/DataCenterManager | src/DCMCommandLibraryLinux.java | Java | gpl-3.0 | 37,200 |
<?
//________________________________________________________________________________________________________
//
// Fichero de idiomas php: restaurarsoftincremental_esp.php (Comandos)
// Idioma: Español
//________________________________________________________________________________________________________
$TbMsg=a... | DreamaerD/Opengnsys | admin/WebConsole/idiomas/php/esp/comandos/restaurarsoftincremental_esp.php | PHP | gpl-3.0 | 1,652 |
<?php
namespace Claroline\CoreBundle\Controller\Mooc;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\... | Solerni-R1-1/CoreBundle | Controller/Mooc/MoocAccessConstraintsController.php | PHP | gpl-3.0 | 7,982 |
package br.com.hebertmorais.movierating;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {... | hebertmorais/ZMovieRating | app/src/androidTest/java/br/com/hebertmorais/movierating/ApplicationTest.java | Java | gpl-3.0 | 362 |
package offeneBibel.parser;
public class ObParallelPassageNode extends ObAstNode {
private String m_book;
private int m_chapter;
private int m_startVerse;
private int m_stopVerse;
public ObParallelPassageNode(String book, int chapter, int verse) {
super(NodeType.parallelPassage);
m... | freie-bibel/free-offene-bibel-converter | src/main/java/offeneBibel/parser/ObParallelPassageNode.java | Java | gpl-3.0 | 1,155 |
/*
Copyright (C) 2014-2016 de4dot@gmail.com
This file is part of dnSpy
dnSpy 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 late... | MeteorAdminz/dnSpy | dnSpy/dnSpy/Text/Tagging/Xml/XmlClassifier.cs | C# | gpl-3.0 | 10,423 |
/***************************************************************
* This source files comes from the xLights project
* https://www.xlights.org
* https://github.com/smeighan/xLights
* See the github commit history for a record of contributing
* developers.
* Copyright claimed based on commit dates recorded in Githu... | smeighan/xLights | xLights/models/DMX/DmxSkulltronix.cpp | C++ | gpl-3.0 | 61,427 |
---
name: New card (MIFARE DESFire)
about: Provide information about a card we don't support that uses MIFARE DESFire.
title: "[MFD]"
labels: ''
assignees: ''
---
There's a lot of cards in the world, and asking for a card by name isn't good enough to get it supported.
**We do not record expressions of interest here.*... | micolous/metrodroid | .github/ISSUE_TEMPLATE/new_card_mifare_desfire.md | Markdown | gpl-3.0 | 1,298 |
#region LICENSE
/*
Copyright 2014 - 2015 LeagueSharp
Orbwalking.cs is part of LeagueSharp.Common.
LeagueSharp.Common 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
(a... | SephLeague/LeagueSharp | YasuoPro/Orbwalking.cs | C# | gpl-3.0 | 70,413 |
function failure () {
}
function create_msg(){
//alert(document.getElementById('intraweb').value);
if (document.getElementById('intraweb').value == '') {
jQuery('#intraweb').focus();
}
}
function enableTopicListSort(){
if (jQuery( "#EnDisSort" ).hasClass( "disabled" )) {
jQuery('.hand... | projectestac/intraweb | intranet/modules/IWforums/javascript/IWforums.js | JavaScript | gpl-3.0 | 14,075 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.12.18 at 12:06... | DevTechnology/DTGEPA | epa-api-webapp/src/main/java/com/devtechnology/api/jaxb/DataType.java | Java | gpl-3.0 | 6,435 |
package com.dotcms.content.elasticsearch.business;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.List;
im... | austindlawless/dotCMS | src/com/dotcms/content/elasticsearch/business/ESContentletIndexAPI.java | Java | gpl-3.0 | 23,993 |
""" Copied from https://bitcointalk.org/index.php?topic=1026.0 (public domain) """
from hashlib import sha256
if str != bytes:
def ord(c):
# Python 3.x
return c
def chr(n):
return bytes((n,))
__b58chars = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'
__b58base = len(_... | simplecrypto/cryptokit | cryptokit/base58.py | Python | gpl-3.0 | 2,723 |
// For ntohX / htonX
#ifdef _WIN32
#include <winsock2.h>
#else
#include <arpa/inet.h>
#endif
#include "byte_order.h"
namespace net {
uint16_t ntoh( const uint16_t& src ) {
return ntohs(src);
}
uint32_t ntoh( const uint32_t& src ) {
return ntohl(src);
}
uint16_t hton( const uint16_t& src ) {
return htons(... | IronSavior/phlegethon | src/net/byte_order.cpp | C++ | gpl-3.0 | 411 |
// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
//
// ---------------------------------------------------------------------------
//
// This file was generated by the CEF translato... | victorzhao/miniblink49 | cef/libcef_dll/ctocpp/urlrequest_client_ctocpp.h | C | gpl-3.0 | 1,879 |
const path = require('path')
const webpack = require('webpack')
var config = {
devtool: 'source-map',
entry: './lib/index.js',
output: {
path: path.join(__dirname, 'dist'),
filename: 'napchart.min.js',
library: 'Napchart',
libraryTarget: 'var'
},
module: {
rules: [
{
... | larskarbo/napchart | webpack.config.js | JavaScript | gpl-3.0 | 798 |
// ----------- General Utility Functions -----------
function get_answer_div(answer_id) {
return dom_lookup("answer-", answer_id)
}
function get_answer_div_desc_div(answer_div) {
return dom_lookup("desc-", answer_div.id)
}
function get_question_desc_div(question_id) {
return dom_lookup("question-desc-", ... | kc0bfv/RankedChoiceRestaurants | RankedChoiceRestaurants/static/voting/ranked_choice.js | JavaScript | gpl-3.0 | 9,999 |
module Lamdu.GUI.ExpressionEdit.HoleEdit.Info
( HoleInfo(..)
, hiSearchTermProperty
, hiSearchTerm
) where
import Control.Lens.Operators
import Data.Store.Property (Property(..))
import qualified Data.Store.Property as Property
import qualified Data.Store.Transaction as Transaction
... | da-x/lamdu | Lamdu/GUI/ExpressionEdit/HoleEdit/Info.hs | Haskell | gpl-3.0 | 1,279 |
import { QueryInterface } from "sequelize";
export default {
up: (queryInterface: QueryInterface) => {
return Promise.resolve()
.then(() => queryInterface.bulkInsert("dimension_bridges", [
{
type: "hookshot_webhook",
name: "Webhooks Bridge... | turt2live/matrix-dimension | src/db/migrations/20211202181745-AddHookshotWebhookBridgeRecord.ts | TypeScript | gpl-3.0 | 782 |
<?php
/**
* QuittanceTable
*
* This class has been auto-generated by the Doctrine ORM Framework
*/
class QuittanceTable extends Doctrine_Table
{
/**
* Returns an instance of this class.
*
* @return object QuittanceTable
*/
public static function getInstance()
{
return Doctr... | MichaelMure/Ordo | lib/model/doctrine/QuittanceTable.class.php | PHP | gpl-3.0 | 360 |
package visualization.utilities;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
public class BidirectionalHashMap<K1,K2> {
protected HashMap<K1,K2> left = new HashMap<K1, K2>();
protected HashMap<K2,K1> right= new HashMap<K2, K1>();
public void put(K1 k1, K2 k2) {
left... | Integrative-Transcriptomics/inPHAP | HaplotypeViewer/visualization/utilities/BidirectionalHashMap.java | Java | gpl-3.0 | 1,215 |
/**
* Copyright (c) 2015 TerraFrame, Inc. All rights reserved.
*
* This file is part of Geoprism(tm).
*
* Geoprism(tm) 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
* L... | terraframe/geodashboard | geoprism-server/src/main/java-gen/stub/net/geoprism/data/etl/TargetFieldGeoEntityBinding.java | Java | gpl-3.0 | 4,444 |
package SeniorProjectTests.DrawShapes.Curve;
import static org.junit.Assert.*;
import org.junit.AfterClass;
import org.junit.Test;
import com.cburch.draw.shapes.Curve;
import com.cburch.logisim.data.Location;
/*
* 1. tests that it matches the position correctly in the middle location
* 2. makes sure the method re... | aaorellana/Logisim-SeniorProject | TestCases/SeniorProjectTests/DrawShapes/Curve/Test_draw_shapes_Curve_matches.java | Java | gpl-3.0 | 4,222 |
/**===============================================================================
*
* MotiQ_cropper plugin for ImageJ, Version v0.1.1
*
* Copyright (C) 2014-2017 Jan Niklas Hansen
* First version: December 01, 2014
* This Version: May 03, 2017
*
* This program is free software; you can redistribute it and/... | hansenjn/MotiQ | Cropper/src/main/java/motiQ_cr/Cropper_.java | Java | gpl-3.0 | 27,906 |
class AddUserIdToBalances < ActiveRecord::Migration[5.0]
def change
add_column :balances, :user_id, :integer
end
end
| kizzonia/TBTC | db/migrate/20170709204817_add_user_id_to_balances.rb | Ruby | gpl-3.0 | 125 |
<?php
namespace common\modules\fa\models;
use Yii;
/**
* This is the model class for table "{{%fa_asset_trasaction}}".
*
* @property string $fa_asset_trasaction_id
* @property integer $fa_asset_id
* @property integer $transaction_type_id
* @property string $quantity
* @property string $amount
* @property str... | zeddarn/yinoerp | _protected/common/modules/fa/models/FaAssetTrasaction.php | PHP | gpl-3.0 | 2,611 |
using UnityEngine;
public class PauseMenuHandler : MonoBehaviour {
public void ResumeGame() { MenuSystem.instance.ResumeGame(); }
public void AbortGame() { MenuSystem.instance.AbortGame(); }
}
| Rezmason/Gamut | Assets/UI Scripts/PauseMenuHandler.cs | C# | gpl-3.0 | 199 |
<?php /*
P2P Food Lab
P2P Food Lab is an open, collaborative platform to develop an
alternative food value system.
Copyright (C) 2013 Sony Computer Science Laboratory Paris
Author: Peter Hanappe
This program is free software: you can redistribute it and/or modify
it under the terms o... | hanappe/p2pfoodlab | https/dataset.view.php | PHP | gpl-3.0 | 12,733 |
INCLUDE_FLAG = -I../../LayerLib/LayerLib
EXTRA_CFLAGS =
CC=g++
AR=ar
INC= -I../../NNLib/NNLib -I../../LayerLib/LayerLib
LIBS = -L../../LayerLib/LayerLib -lLayers
all :
$(CC) -std=c++11 -fPIC -c -w *.cpp $(EXTRA_CFLAGS) $(INCLUDE_FLAG) $(INC) $(LIBS)
$(CC) -std=c++11 -shared -o libNN.so *.o $(EXTRA_CFLAGS) $(INCLUDE... | NCUT-MMALab/Mocha | NNLib/NNLib/Makefile | Makefile | gpl-3.0 | 578 |
# -*- coding: utf-8 -*-
#
# Copyright © 2012 - 2019 Michal Čihař <michal@cihar.com>
#
# This file is part of Weblate <https://weblate.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, eith... | dontnod/weblate | weblate/lang/models.py | Python | gpl-3.0 | 20,870 |