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 oclp.
*
* oclp 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.
*
* oclp is distributed in the hope th... | ekpyron/oclp | src/commandqueue.cpp | C++ | gpl-3.0 | 6,274 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package InterfazBasica;
import java.util.ArrayList;
import javax.swing.table.AbstractTableModel;
/**
*
* @author omar
... | quincyg13/puntodeventa | InterfazBasica/InterfazBasica/InterfazBasica/src/InterfazBasica/ModeloTablaProducto.java | Java | gpl-3.0 | 1,813 |
<!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_27) on Sat Oct 06 02:59:49 EDT 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>
All Classes (Lucene 4.0.0 API)
</... | dburgmann/fbRecommender | lib/lucene-4.0.0/docs/queryparser/allclasses-noframe.html | HTML | gpl-3.0 | 39,356 |
# Definition for a binary tree node.
# class TreeNode:
# def __init__(self, val=0, left=None, right=None):
# self.val = val
# self.left = left
# self.right = right
class Solution:
def invertTree(self, root: TreeNode) -> TreeNode:
def recurse(node):
if not node:
... | 1337/yesterday-i-learned | leetcode/226e.py | Python | gpl-3.0 | 474 |
/*
* Copyright appNativa Inc. All Rights Reserved.
*
* This file is part of the Real-time Application Rendering Engine (RARE).
*
* RARE 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 vers... | appnativa/rare | source/rare/swingx/com/appnativa/rare/viewer/ListBoxViewer.java | Java | gpl-3.0 | 6,719 |
/* -*- mode: c; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4; coding: utf-8 -*- */
/**
******************************************************************************
* @file EEPROM_Emulation/src/eeprom.c
* @author MCD Application Team
* @version V1.0.0
* @date 10-October-2011
* @brief T... | dl2fw/mchf-github | mchf-eclipse/misc/v_eprom/eeprom.c | C | gpl-3.0 | 20,479 |
package domain.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import org.hibernate.annotations.OnDelete;
import org.hibernate.annotations.OnDeleteAction;
/**
* The Class PlaneModel.
*/
@Entity
public class PlaneModel... | Maracars/POPBL5 | src/domain/model/PlaneModel.java | Java | gpl-3.0 | 1,329 |
import requests
import random
import time
user_agent_generic="Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
# In case of providers whose request do not follow a regular pattern, you can use code here to form it
###################################################################################... | oscarpilote/Ortho4XP | Providers/O4_Custom_URL.py | Python | gpl-3.0 | 5,644 |
#include "chunk.h"
#include "chunk_model.h"
#include "voxel.h"
using minecpp::Chunk;
Chunk::Chunk(const ChunkLocation& location, ResourceContainer& resourceContainer) noexcept :
model{std::make_unique<ChunkModel>(location, resourceContainer)}, location{location}
{
}
Chunk::Chunk(Chunk&&) noexcept = default;
Chu... | jangolare/MineCPP | src/chunk.cpp | C++ | gpl-3.0 | 2,096 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
</head>
<body bgcolor="white">
<p>
Classes to convert JIU image objects to other image types that require more memory.
This is a lossless operation, all information is kept.
However, the new image object typically requires more memory to store the sa... | juehv/DentalImageViewer | DentalImageViewer/lib/jiu-0.14.3/net/sourceforge/jiu/color/promotion/package.html | HTML | gpl-3.0 | 826 |
#!/usr/bin/env python
import argparse
import errno
import glob
import os
import subprocess
import sys
import zipfile
dirs = ("", "entity", "entity/chest", "colormap", "blocks", "entity/shulker", "entity/bed")
assets = "assets/minecraft/textures/"
files = [
("entity/chest/normal.png", assets + "entity/chest/normal.pn... | mapcrafter/mapcrafter | src/tools/mapcrafter_textures.py | Python | gpl-3.0 | 6,484 |
(function($){
$.fn.MKNotification = function(mknOptions){
var mkn = $.extend({
'MKMessage' : 'Default Message!',
'MKDelay' : 'None',
'MKIcon' : 'None',
'MKSound' : 'None'
},mknOptions);
var docHeight = $(document).height();
return this.each(function(index, e... | mustafakucuk/MKNotification | MKNotification.js | JavaScript | gpl-3.0 | 1,750 |
#include "tabuRealloc.h"
#define REALLOC_AUTHOR "TEYPAZ"
#define REALLOC_IDENTIFIER "S14"
int main(int argc, char * argv[])
{
reallocTimer timer;
std::ifstream file_data;
std::ifstream file_solution;
std::ofstream file_result;
//SRandom(0);
if (argc == 1)
{
timer.activate_for_time_sec(300);
file_data.open("... | nicoteyp/ROADEF2012-S14 | src/tabuReallocMain.cpp | C++ | gpl-3.0 | 1,695 |
/* MegaMek - Copyright (C) 2004,2005 Ben Mazur (bmazur@sev.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 2 of the License, or (at your option)
* any later ve... | chvink/kilomek | megamek/src/megamek/common/weapons/CLNL55Weapon.java | Java | gpl-3.0 | 1,706 |
/*
* This file is part of SQLDatabaseAPI (2012).
*
* SQLDatabaseAPI 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.
*
* SQLData... | maxammann/SAM | src/main/java/com/p000ison/dev/sqlapi/Column.java | Java | gpl-3.0 | 3,360 |
#ifndef _NES_VDEV_H_
#define _NES_VDEV_H_
// °üº¬Í·Îļþ
#include "stdefine.h"
// ÀàÐͶ¨Òå
typedef struct {
void* (*create )(int w, int h, DWORD extra);
void (*destroy )(void *ctxt);
void (*dequeue )(void *ctxt, void **buf, int *stride);
void (*enqueue )(void *ctxt);
... | rockcarry/ffnes | src/vdev.h | C | gpl-3.0 | 588 |
CREATE TABLE "deq_portland_metro_vehicle_inspection_stations" (
"station_name" text,
"address" text,
"details" text,
"icon" text
);
| talos/docker4data | data/socrata/data.oregon.gov/deq_portland_metro_vehicle_inspection_stations/schema.sql | SQL | gpl-3.0 | 136 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!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>bpfco... | belangeo/cecilia4csound | Resources/html/bpfcos.html | HTML | gpl-3.0 | 13,537 |
from database import Database
import argparse
class Analyzer():
ignores = ['id', 'time', 'browser_fingerprint', 'computer_fingerprint_1', "fonts"]
db = Database('uniquemachine')
cols = db.run_sql("SHOW COLUMNS FROM features")
def __init__(self):
pass
def check_imgs_difference_by_str(self... | Song-Li/dynamic_fingerprinting | research/analyze/analyze.py | Python | gpl-3.0 | 8,676 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
# (c) 2016, Brian Coca <bcoca@ansible.com>
#
# This file is part of Ansible
#
# Ansible 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... | jtyr/ansible-modules-core | system/systemd.py | Python | gpl-3.0 | 15,567 |
// Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
//-------------------------------------... | mganeva/mantid | Framework/Algorithms/src/ConvertTableToMatrixWorkspace.cpp | C++ | gpl-3.0 | 3,092 |
#!./python_link
# -*- coding: utf-8 -*-
################################################################################
# DChars-FE Copyright (C) 2008 Xavier Faure
# Contact: faure dot epistulam dot mihi dot scripsisti at orange dot fr
#
# This file is part of DChars-FE.
# DChars-FE is free software: you c... | suizokukan/dchars-fe | config_ini.py | Python | gpl-3.0 | 1,966 |
<?php
namespace Starteed\Resources;
use Starteed\BaseResource;
/**
* @property bool $is_keep_it_all
* @property bool $is_all_or_nothing
* @property string $label
*/
class FundingResource extends BaseResource
{
/**
* @param array $data
*/
public function __construct(array $data)
{
... | StarteedGroup/crowdfunding | src/Resources/FundingResource.php | PHP | gpl-3.0 | 352 |
# -*- coding: utf-8 -*-
#-----------------------------------------------------------------------------
# OpenModes - An eigenmode solver for open electromagnetic resonantors
# Copyright (C) 2013 David Powell
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Gen... | DavidPowell/OpenModes | setup.py | Python | gpl-3.0 | 7,161 |
# -*- coding: utf-8 -*-
from time import time
from module.common.json_layer import json_loads
from module.plugins.Account import Account
class MyfastfileCom(Account):
__name__ = "MyfastfileCom"
__type__ = "account"
__version__ = "0.02"
__description__ = """Myfastfile.com account plugin"""
... | sebdelsol/pyload | module/plugins/accounts/MyfastfileCom.py | Python | gpl-3.0 | 1,284 |
/*
* att_remover -- for Claws Mail
*
* Copyright (C) 2005 Colin Leroy <colin@colino.net>
*
* Sylpheed is a GTK+ based, lightweight, and fast e-mail client
* Copyright (C) 1999-2005 Hiroyuki Yamamoto and the Claws Mail Team
*
* This program is free software; you can redistribute it and/or modify
* it under the ... | twolife/claws | src/plugins/att_remover/att_remover.c | C | gpl-3.0 | 16,838 |
<?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... | danielbonetto/twig_MVC | lang/fi/qbehaviour_immediatefeedback.php | PHP | gpl-3.0 | 1,104 |
/*
* Mesa 3-D graphics library
* Version: 6.5.3
*
* Copyright (C) 1999-2007 Brian Paul 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, ... | CPFDSoftware-Tony/gmv | utils/Mesa/Mesa-7.8.2/src/mesa/drivers/osmesa/osmesa.c | C | gpl-3.0 | 47,766 |
/* Alternate Layout Flatline */
.MainMenuCtrlComDiv {
top: 280px;
}
.MainMenuCtrlEntDiv {
top: 280px;
left: 160px;
}
.MainMenuCtrlNavDiv {
top: 280px;
left: 500px
}
.MainMenuCtrlAppDiv {
left: 15px;
top: 295px;
transform: scale(1.25, 1.25);
}
.MainMenuCtrlSetDiv {
top: 295px;
left: 670px;
transfo... | Trevelopment/MZD-AIO-TI-X | app/files/tweaks/config/MainMenuTweaks/FlatLine.css | CSS | gpl-3.0 | 1,615 |
/*
* Copyright 2014 REI Systems, Inc.
*
* This file is part of GovDashboard.
*
* GovDashboard 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) an... | REI-Systems/GovDashboard-Community | webapp/sites/all/modules/custom/dashboard/admin/js/DashboardSection.js | JavaScript | gpl-3.0 | 2,933 |
#ifndef UPDATER_H
#define UPDATER_H
#ifndef UPDATE_TOPIC
#error "UPDATE_TOPIC not defined"
#endif
#ifndef UPDATE_INTERVAL
#define UPDATE_INTERVAL 3600
#endif
#include "Service.h"
extern const char UPDATE_NAME[];
class Update : public Service<UPDATE_NAME> {
public:
struct Target {
RbootOutputStream* st... | esper-hub/esper | framework/esper/services/Update.h | C | gpl-3.0 | 825 |
<!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>
JOURNALCTL(1)</title>
</h... | fusion809/fusion809.github.io-old | man/journalctl.1.html | HTML | gpl-3.0 | 26,076 |
/*
MicroBuild
Copyright (C) 2016 TwinDrills
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... | TwinDrills/MicroBuild | Source/MicroBuild/Source/App/Builder/Tasks/AccelerateTask.cpp | C++ | gpl-3.0 | 1,869 |
<?php
class ControllerToolBackup extends Controller {
public function index() {
$this->load->language('tool/backup');
$this->document->setTitle($this->language->get('heading_title'));
$data['breadcrumbs'] = array();
$data['breadcrumbs'][] = array(
'text' => $this->language->get('text_home'),
'href' =>... | Codek365/chtd | upload/admin/controller/tool/backup.php | PHP | gpl-3.0 | 11,095 |
/***************************************************************************
* SpellbookGump.cs
* Copyright (c) 2015 UltimaXNA Development Team
*
* 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... | azmanomer/UltimaXNA | dev/Ultima/UI/WorldGumps/SpellbookGump.cs | C# | gpl-3.0 | 14,126 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>AFL Match Statistics : Collingwood defeats St Kilda at MCG Round 9 Saturday, 18th May 2019</TITLE>
<meta NAME="description" CONTENT="Collingwood defeats St Kilda at MCG Round 9 Saturday, 18th May 2019 AFL match statistics">
<meta... | criffy/aflengine | matchfiles/footywire_adv/footywire_adv9794.html | HTML | gpl-3.0 | 148,136 |
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
[assembly: System.Reflection.AssemblyCultureAttribute("en-US")]
public class enUS
{
} | BlastarIndia/roslyn | Src/Compilers/Test/Resources/Core/SymbolsTests/Versioning/EN_US.cs | C# | gpl-3.0 | 275 |
# This file is part of Buildbot. Buildbot is free software: you can
# redistribute it and/or modify it under the terms of the GNU General Public
# License as published by the Free Software Foundation, version 2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without eve... | zozo123/buildbot | master/buildbot/test/unit/test_db_builders.py | Python | gpl-3.0 | 8,680 |
/*
* This file is part of Wi-Fi Reminders.
*
* Wi-Fi Reminders 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.
*
* Wi-Fi Remi... | glesik/wifireminders | app/src/main/java/ru/glesik/wifireminders/SettingsActivity.java | Java | gpl-3.0 | 1,084 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Security;
using System.Text;
namespace CSCore.CoreAudioAPI
{
[ComImport]
[Guid("641DD20B-4D41-49CC-ABA3-174B9477BB08")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[SuppressU... | techdude101/code | C Sharp/cscore-e2822dc89eca17ec28d8e22e91ebb61ebff5cbef/CSCore/CoreAudioAPI/IAudioSessionNotification.cs | C# | gpl-3.0 | 544 |
<?php
session_start();
header("Content-Type: image/png");
header("Content-Disposition: attachment; filename=mapa_UNICEF.png");
$image_name = $_SESSION["mapserver_img"];
$image = imagecreatefrompng($image_name);
imagePng($image);
?>
| umaic/sidi | consulta/unicef_mapserver_download_img.php | PHP | gpl-3.0 | 236 |
// This file is part of BOINC.
// http://boinc.berkeley.edu
// Copyright (C) 2008 University of California
//
// BOINC 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 Licens... | keyz182/BOINC-7.0 | clientgui/BOINCBaseView.h | C | gpl-3.0 | 8,218 |
apex.region('emp').widget().interactiveGrid('getToolbar');
/**
* Call this method when the size of the widget element changes. This can happen if the browser window
* changes for example. This will resize the current view.
* Note: Most of the time it is not necessary to call this method as Interactive Grid detects whe... | mgoricki/orclapex-ig-cheat-sheet | ig_methods.js | JavaScript | gpl-3.0 | 3,779 |
/**
* File: ViewXmlRelationErrorsTable.h
* Developed by: Biancucci Maurizio
* Date: 2014/07/24
*/
#ifndef VIEWXMLRELATIONERRORSTABLE_H
#define VIEWXMLRELATIONERRORSTABLE_H
#include "ViewXmlRelationErrorsBase.h"
#include <QWidget>
#include <QFont>
class QTableWidget;
class QVBoxLayout;
class QHBoxLayout;
class QP... | Mauxx91/XML-Editor | source/View/ViewXmlRelationErrorsTable.h | C | gpl-3.0 | 3,783 |
/* -*- c++ -*- */
/*
* Copyright 2004 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio 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, or (at your opti... | mojca/gecko | lib/sis3150_calls/loader/usrp_local_sighandler.cc | C++ | gpl-3.0 | 3,851 |
html{
color: white;
text-shadow: black 0 0 2px;
background: url('grid.png'),linear-gradient(#6c7989, #434b55) fixed;
}
#system>div>div,#mebg,.control,.player,.card,.avatar,.avatar2,.button,.dialog>.bar,.menu,#splash>div,
#arena.mobile:not(.chess) .player[data-position='0'] .equips,.playerbg,.menubg,.mebg{
box-shado... | libccy/noname | theme/woodden/style.css | CSS | gpl-3.0 | 7,635 |
# Revision history for Pro6
## 0.1.0.0 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.
| mrlovre/super-memory | Pro6/ChangeLog.md | Markdown | gpl-3.0 | 108 |
/*
* Generated by class-dump 3.1.2.
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
*/
#import "NSObject-Protocol.h"
@protocol ABKCardActionDelegate <NSObject>
- (void)openItunesStoreProduct:(id)fp8;
- (void)openURLInWebView:(id)fp8;
@end
| f41c0r/TinderStats-iOS | theos/include/Tinder/ABKCardActionDelegate-Protocol.h | C | gpl-3.0 | 287 |
<!DOCTYPE html>
<html>
<head>
<title>Getting Started with Sky</title>
<link rel="icon" href="../static/favicon.ico" />
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<meta name="title" content="Getting Started with Sky" />
<meta
name="description"
content="
... | MizarWeb/Mizar | examples/test.html | HTML | gpl-3.0 | 2,115 |
# -*- coding: utf-8 -*-
import os
import pipeline_item
class Serialize(pipeline_item.pipeline_stage):
def stage(self, pipeline_value):
storage_path = "%s/%s" % (self.pipeline_storage_prefix, self.attributes['toFile'])
if self.pipeline_storage_prefix is None:
storage_path = self.attribut... | Br3nda/docvert | core/pipeline_type/serialize.py | Python | gpl-3.0 | 422 |
package com.baeldung.dao;
import com.baeldung.aop.annotations.Loggable;
import com.baeldung.model.Foo;
import org.springframework.stereotype.Repository;
@Repository
public class FooDao {
public String findById(Long id) {
return "Bazz";
}
@Loggable
public Foo create(Long id, String name) {
... | Niky4000/UsefulUtils | projects/tutorials-master/tutorials-master/spring-mvc-java/src/main/java/com/baeldung/dao/FooDao.java | Java | gpl-3.0 | 419 |
#ifndef _COMPILE_WORKER_HPP_
#define _COMPILE_WORKER_HPP_
#include <QThread>
#include <kar/kar.hpp>
#include <pcompiler/output.hpp>
#include <pcompiler/progress.hpp>
class KovanSerial;
class CompileWorker : public QThread, public Compiler::Progress
{
Q_OBJECT
public:
CompileWorker(const kiss::KarPtr &archive, Kova... | kipr/computer | include/compile_worker.hpp | C++ | gpl-3.0 | 760 |
# This file is part of HamsiManager.
#
# Copyright (c) 2010 - 2015 Murat Demir <mopened@gmail.com>
#
# Hamsi Manager 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 yo... | supermurat/hamsi-manager | Databases/BookmarksOfDirectories.py | Python | gpl-3.0 | 4,852 |
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>LED Cube Animation Editor</title>
<link rel="stylesheet" href="css/foundation.css"/>
<script src="js/vendor/modernizr.js"></script>
<script src="view... | Michael-Bell/LED-Cube-Animation-Editor | index.html | HTML | gpl-3.0 | 8,685 |
from iHunterModel.models import DomainObject, Organization
from django.db import models
# class for specifying different types of EduOrgs. like school, colleges, universities etc.
class EducationalOrganizationType(DomainObject):
name = models.CharField(max_length=255, null=False, blank=False)
description = mod... | kumarsandeep91/Russet.iHunter.Model | iHunterModel/models/EducationalOrganization.py | Python | gpl-3.0 | 634 |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace SurfaceGaming.Models
{
public class SettingKeyValue
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Key]
public Guid Id { get; set; }
public string ... | arnvanhoutte/SurfaceGaming | SurfaceGaming/Models/SettingKeyValue.cs | C# | gpl-3.0 | 433 |
#define _POSIX_C_SOURCE 200819L
#define _XOPEN_SOURCE 700
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <fcntl.h>
#include <errno.h>
#include <signal.h>
#ifdef LINUX
#include <sys/prctl.h>
#endif /* LINUX */
... | thdaemon/ueld | main.c | C | gpl-3.0 | 3,305 |
/*
* Copyright (c) 2013, Robert Rueger <rueger@itp.uni-frankfurt.de>
*
* This file is part of hVMC.
*
* hVMC 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 yo... | robertrueger/hVMC | mccresults.cpp | C++ | gpl-3.0 | 4,788 |
/*
* Copyright 2013 Robert Newgard
*
* This file is part of SyscJson.
*
* SyscJson 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 versi... | bobnewgard/SyscJson | json_lex.h | C | gpl-3.0 | 5,542 |
package com.taobao.api.request;
import java.util.Map;
import com.taobao.api.ApiRuleException;
import com.taobao.api.TaobaoRequest;
import com.taobao.api.internal.util.TaobaoHashMap;
import com.taobao.api.response.TbkShopCouponGetResponse;
/**
* TOP API: taobao.tbk.shop.coupon.get request
*
* @author auto create
... | kuiwang/my-dev | src/main/java/com/taobao/api/request/TbkShopCouponGetRequest.java | Java | gpl-3.0 | 1,926 |
#include "RNGMarsaglia.h"
namespace Kernal {
RNGMarsaglia::RNGMarsaglia() {
SeedTime();
}
RNGMarsaglia::RNGMarsaglia(const RNGMarsaglia& other) {
stateZ = other.stateZ;
stateW = other.stateW;
}
RNGMarsaglia& RNGMarsaglia::operator=(const RNGMarsaglia& rhs) {
stateZ = rhs.stateZ;
stateW = rhs.state... | virac/Slicer | src/Kernal/RNGMarsaglia.cpp | C++ | gpl-3.0 | 676 |
// Compiled by ClojureScript 1.9.293 {:static-fns true, :optimize-constants true}
goog.provide('thi.ng.dstruct.streams');
goog.require('cljs.core');
goog.require('thi.ng.xerror.core');
/**
* @interface
*/
thi.ng.dstruct.streams.IInputStream = function(){};
thi.ng.dstruct.streams.read_utf8_line = (function thi$ng$d... | scientific-coder/Mazes | target/main.out/thi/ng/dstruct/streams.js | JavaScript | gpl-3.0 | 66,698 |
# $OpenBSD$
#
# Copyright (c) 2000 Opsycon AB (www.opsycon.se)
# Copyright (c) 2000 Rtmx, Inc (www.rtmx.com)
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the abo... | tupelo-shen/my_test | doc/linux/mips-architecture/loongson-datasheet/pmon/src/pmon-loongson3/include/Makefile | Makefile | gpl-3.0 | 2,087 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | drgoku282/PKMN-NTR | PKMN-NTR/Properties/Settings.Designer.cs | C# | gpl-3.0 | 1,473 |
package com.srlupdater.updater.injection.analyzers;
import com.srlupdater.updater.injection.generic.AbstractAnalyzer;
import com.srlupdater.updater.injection.generic.Hook;
import org.objectweb.asm.Opcodes;
import org.objectweb.asm.tree.ClassNode;
import org.objectweb.asm.tree.MethodNode;
import java.util.ListIterator... | NKNScripts/Updater | src/com/srlupdater/updater/injection/analyzers/ItemAnalyzer.java | Java | gpl-3.0 | 1,089 |
# -*- coding: utf-8 -*-
#
# Copyright (C) 2015-2017 Bitergia
#
# 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 ... | sduenas/perceval | perceval/backend.py | Python | gpl-3.0 | 19,497 |
# StoreM
## Overview
## Installation
Should be as simple as
pip install StoreM
## Example usage
## Help
If you experience any problems using StoreM, open an [issue](https://github.com/minillinim/StoreM/issues) on GitHub and tell us about it.
## Licence and referencing
Project home page, info on the source ... | minillinim/StoreM | README.md | Markdown | gpl-3.0 | 543 |
package com.earth2me.essentials;
import net.ess3.api.IEssentials;
import net.ess3.api.IUser;
import org.bukkit.Location;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import java.util.UUID;
import java.util.concurrent.CompletableFuture;
import static com.earth2me.essentials.I18n.tl;
public class... | drtshock/Essentials | Essentials/src/main/java/com/earth2me/essentials/AsyncTimedTeleport.java | Java | gpl-3.0 | 7,164 |
#!/usr/bin/env python
from __future__ import print_function
from glob import glob
from tempfile import NamedTemporaryFile
import sys
from alibuild_helpers.log import debug, error, info
from os import remove
from alibuild_helpers.utilities import format
from alibuild_helpers.cmd import execute
from alibuild_helpers.uti... | dberzano/alibuild | alibuild_helpers/deps.py | Python | gpl-3.0 | 3,451 |
QUnit.test( "TestDate", function( assert ) {
var converter = new DataTypeConverter();
var value = "CAF 92";
var dt = converter.inferDataTypeOfValue(value);
assert.equal(dt, DataTypeConverter.TYPES.TEXT, "Text /" + value + "/ correctly recognized.");
var value = "2023-04";
var dt = converter.in... | donpir/JSDataChecker | tests/TestCase01_InferDataTypeOnSingleValue/DataTypeSingleValueTestCase.js | JavaScript | gpl-3.0 | 8,748 |
<!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_27) on Sat Oct 06 02:59:33 EDT 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>
Uses of Class org.apache.lucene.u... | dburgmann/fbRecommender | lib/lucene-4.0.0/docs/facet/org/apache/lucene/util/encoding/class-use/NOnesIntEncoder.html | HTML | gpl-3.0 | 6,462 |
// Copyright 2010 apanloco
//
// 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 t... | apanloco/SpinPong | Settings.h | C | gpl-3.0 | 1,295 |
<!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 - Events</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 ="apple-mo... | RossGammon/the-gammons.net | RossFamilyTree/evt/0/b/d15f60155762dd8fdab3082dfb0.html | HTML | gpl-3.0 | 2,915 |
#include <iostream>
#include <vector>
#include <cmath>
#include <fstream>
#include "utils.h"
using namespace std;
using namespace Eigen;
double euclidean_dist(Point2d p, Point2d q)
{
return sqrt((q.x-p.x)*(q.x-p.x) + (q.y-p.y)*(q.y-p.y));
}
double angle_two_points(Point2d p, Point2d q)
{
double theta;
do... | mateus558/RinoBot-System | utils.cpp | C++ | gpl-3.0 | 6,141 |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtNfc module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensee... | gberryproject/gberry | gberry-console/qt5rpi/deploy/usr/local/qt5pi/include/QtNfc/qndeffilter.h | C | gpl-3.0 | 2,846 |
/*
* Copyright (c) 2015 OpenSilk Productions LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This prog... | OpenSilk/Orpheus | core-library-client/src/main/java/org/opensilk/music/library/client/TypedBundleableLoader.java | Java | gpl-3.0 | 7,305 |
/**
* This software is provided by NOAA for full, free and open release. It is
* understood by the recipient/user that NOAA assumes no liability for any
* errors contained in the code. Although this software is released without
* conditions or restrictions in its use, it is expected that appropriate
* credit be ... | MaxwellM/ncBrowse-revamp-CAPSTONE | src/ncBrowse/sgt/dm/SimplePoint.java | Java | gpl-3.0 | 7,850 |
<!doctype html>
<html>
<head>
<title>MX-14 About</title>
<link href="custom.css" rel="stylesheet" type="text/css">
</head>
<body>
<h1>MX-14: About</h1>
<a href="http://www.mepiscommunity.org/mx14"><img src="mxfcelogo.png" width="80" height="74" alt="MX-14" style="margin-left:45%;" /></a>
<div ... | anticapitalista/mx-docs | doc/about.html | HTML | gpl-3.0 | 2,372 |
<?php
/**
* @version $Id: openbay.php 3583 2014-04-11 11:27:28Z mic $
* @package Translation German
* @author mic - http://osworx.net
* @copyright 2013 OSWorX - http://osworx.net
* @license GPL - www.gnu.org/copyleft/gpl.html
*/
// Heading
$_['lang_heading_title'] = 'OpenBay Pro';
$_['lang_text_manage... | Vitronic/kaufreund.de | admin/language/de_DE/extension/openbay.php | PHP | gpl-3.0 | 8,765 |
<?php
/**
* The plugin bootstrap file
*
* This file is read by WordPress to generate the plugin information in the plugin
* admin area. This file also includes all of the dependencies used by the plugin,
* registers the activation and deactivation functions, and defines a function
* that starts the plugin.
*
*... | coderscom/wp-odoo-form-integrator | wp-odoo-form-integrator.php | PHP | gpl-3.0 | 2,847 |
from django.conf.urls import patterns, include, url
from django.contrib import admin
admin.autodiscover()
from caed import views
urlpatterns = patterns('',
# Examples:
# url(r'^$', 'project.views.home', name='home'),
# url(r'^blog/', include('blog.urls')),
url(r'^admin/', include(admin.site.urls)),
... | julianofischer/caederm | project/urls.py | Python | gpl-3.0 | 377 |
Test directory
==============
Provides small examples of beamer presentations, compilable with different configurations.
Observations have been written in the different files for my machine.
Presentations:
* `basic`: only simple beamer constructions (slides, transitions, blocks)
* `labels`: same as basic, sets slide ... | lereldarion/pdftalk | test/Readme.md | Markdown | gpl-3.0 | 503 |
package uk.ac.bbsrc.tgac.miso.migration.source;
import static org.junit.Assert.*;
import java.io.FileNotFoundException;
import java.io.IOException;
import org.junit.Before;
import org.junit.Test;
import uk.ac.bbsrc.tgac.miso.core.data.Pool;
import uk.ac.bbsrc.tgac.miso.core.data.Run;
import uk.ac.bbsrc.tgac.miso.co... | TGAC/miso-lims | migration/src/test/java/uk/ac/bbsrc/tgac/miso/migration/source/LoadGeneratorSourceTest.java | Java | gpl-3.0 | 1,926 |
// Copyright 2002-2013, University of Colorado Boulder
/**
* Detector for absorbance (A) and percent transmittance (%T).
*
* @author Chris Malley (PixelZoom, Inc.)
*/
define( function( require ) {
'use strict';
// modules
var ATDetector = require( 'BEERS_LAW_LAB/beerslaw/model/ATDetector' );
var Image = r... | concord-consortium/beers-law-lab | js/beerslaw/view/ATDetectorNode.js | JavaScript | gpl-3.0 | 8,297 |
/**
* <p>Title: ShowAllEmojiPackage.java</p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2014</p>
* <p>Company: ColdWorks</p>
* @author xuming
* @date 2014-9-23
* @version 1.0
*/
package com.lengtoo.impress.web.struts1.action.client2;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.... | DuoLife/lengtooyinxiang | src/com/lengtoo/impress/web/struts1/action/client2/ShowAllEmojiPackage.java | Java | gpl-3.0 | 2,459 |
/*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2021 Evan Debenham
*
* 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 vers... | 00-Evan/shattered-pixel-dungeon | core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/journal/Catalog.java | Java | gpl-3.0 | 17,606 |
/* Simple Chat
* Copyright (c) 2008-2014 Alexander Sedov <imp@schat.me>
*
* 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... | impomezia/schat | src/schat2/ui/tabs/SettingsTabHook.h | C | gpl-3.0 | 2,864 |
#!/usr/bin/env python3
# Version 1.0
# Author Alexis Blanchet-Cohen
# Date: 09/06/2014
import argparse
import glob
import os
import subprocess
import util
# Read the command line arguments.
parser = argparse.ArgumentParser(description="Generates Picard target list scripts.")
parser.add_argument("-s", "--scriptsDirec... | blancha/abcngspipelines | utils/collectinsertsizemetrics.py | Python | gpl-3.0 | 2,567 |
/*
This file is part of Darling.
Copyright (C) 2017 Lubos Dolezel
Darling 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.
Darling is distr... | X0rg/darling | src/xcselect/xcode-select.c | C | gpl-3.0 | 4,964 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* This file is part of the program and library */
/* SCIP --- Solving Constraint Integer Programs */
... | LiangliangNan/PolyFit | 3rd_scip/scip/prop_redcost.h | C | gpl-3.0 | 2,005 |
/* override voor /media/jui/css/bootstrap-responsive.min.css in verband met gebruik van bootstrap 3.3.6
* BW 2016-03-20
*/ | bramwaas/joomla-template-wsabootstrap | css/jui/bootstrap-responsive.min.css | CSS | gpl-3.0 | 123 |
<!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>Index — PyCAN 1.0.1 documentation</title>
... | Nagelfar83/PyCAN | docs/genindex.html | HTML | gpl-3.0 | 7,698 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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" co... | ojrosten/sequoia | docs/html/d7/df2/TestMaterials_2TestFramework_2TestRunnerTestCreation_2Prediction_2FakeProject_2Tests_2Utilities_2IteratorTestingUtilities_8hpp_source.html | HTML | gpl-3.0 | 9,467 |
"""Current-flow betweenness centrality measures for subsets of nodes."""
import networkx as nx
from networkx.algorithms.centrality.flow_matrix import flow_matrix_row
from networkx.utils import not_implemented_for, reverse_cuthill_mckee_ordering
__all__ = [
"current_flow_betweenness_centrality_subset",
"edge_cu... | SpaceGroupUCL/qgisSpaceSyntaxToolkit | esstoolkit/external/networkx/algorithms/centrality/current_flow_betweenness_subset.py | Python | gpl-3.0 | 8,195 |
import { app } from 'mobx-app';
import { inject, observer } from 'mobx-react';
import React, { SFC } from 'react';
import { Redirect as ReactRedirect, RedirectProps as ReactRedirectProps } from 'react-router-dom';
interface RedirectProps extends ReactRedirectProps {
authedOnly?: boolean;
unauthedOnly?: boolean;
}
e... | nielsrowinbik/seaman | src/components/Redirect/Redirect.tsx | TypeScript | gpl-3.0 | 614 |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
using Yavsc.Attributes.Validation;
namespace Yavsc.Models.Workflow
{
public class UserActivity
{
[YaRequired]
public string UserId { get; set; }
[ForeignKey("UserId")... | pazof/yavsc | src/Yavsc.Server/Models/Workflow/UserActivity.cs | C# | gpl-3.0 | 698 |
require 'csv'
MovieGenre.delete_all
Genre.delete_all
puts 'Creating genres'
start = Time.zone.now
# load genre and movie data
csv_text = File.read('db/seeds_data/movies.csv')
csv = CSV.parse(csv_text, headers: true)
csv.each do |row|
movie = row.to_hash
movie_saved = Movie.find_by(id: movie['movieId'])
genres =... | dreyxvx/recommender_system_api | db/tasks/genres_seed.rb | Ruby | gpl-3.0 | 629 |
{-# OPTIONS_GHC -fno-warn-orphans #-}
module Handler.TransById where
import Import
$(deriveJSON defaultOptions ''Transaction)
getTransByIdR :: String -> Handler Value
getTransByIdR uIdent = do
mUser <- runDB $ selectFirst [ UserIdent ==. (pack uIdent) ] []
case mUser of
Just user -> do
trans <- runDB $... | weshack/thelist | TheList/Handler/TransById.hs | Haskell | gpl-3.0 | 465 |
var util = require('util');
var https = require('https');
var querystring = require('querystring');
var emitter = require('events').EventEmitter;
var retry = require('retry');
function FCM(apiKey) {
if (apiKey) {
this.apiKey = apiKey;
} else {
throw Error('No apiKey is given.');
... | matso165/islands-of-tribes | StoneAge/server/node_modules/fcm/lib/fcm.js | JavaScript | gpl-3.0 | 3,559 |
Imports System
Imports System.Reflection
Imports System.Runtime.InteropServices
' General Information about an assembly is controlled through the following
' set of attributes. Change these attribute values to modify the information
' associated with an assembly.
' Review the values of the assembly attribut... | infitialis/pbxbar | appbar/My Project/AssemblyInfo.vb | Visual Basic | gpl-3.0 | 1,327 |