code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
using System; namespace DLib.Model.Interfaces { public interface ICreated { DateTime created_on { get; set; } string created_by { get; set; } } }
daredev/DLib
DLib/DLib/Model/Interfaces/ICreated.cs
C#
gpl-3.0
178
using CP77.CR2W.Reflection; namespace CP77.CR2W.Types { [REDMeta] public class DropPointController : ScriptableDC { public DropPointController(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name) { } } }
Traderain/Wolven-kit
CP77.CR2W/Types/cp77/DropPointController.cs
C#
gpl-3.0
231
package com.example.sample.unit.test.SampleUnitTestsSB_154.dao.mockito; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.CoreMatchers.notNullValue; import static org.hamcrest.MatcherAssert.assertThat; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; ...
Gabotto/SampleUnitTests
SampleUnitTests-SB_1.5.4/src/test/java/com/example/sample/unit/test/SampleUnitTestsSB_154/dao/mockito/ExampleDAOImplTest.java
Java
gpl-3.0
5,914
import { resolve } from 'path'; import { loadData } from '@common/load'; import { cl /*, select*/ } from '@common/debug-select'; import { IRNGNormalTypeEnum } from '@rng/normal/in01-type'; import { globalUni, RNGKind } from '@rng/global-rng'; import { IRNGTypeEnum } from '@rng/irng-type'; //const rbinomDomainWarns...
jacobbogers/libRmath.js
src/lib/distributions/binomial/__test__/rbinom.test.ts
TypeScript
gpl-3.0
2,954
# coding: utf-8 from __future__ import unicode_literals import uuid from django.db import models from django.conf import settings class PricePercentageChange(models.Model): id = models.UUIDField(primary_key=True, default=uuid.uuid4) done = models.BooleanField('已经提醒过', default=False) threshold = models....
polyrabbit/WeCron
WeCron/eosram/models/percent.py
Python
gpl-3.0
763
<?php /** * The template for displaying the footer. * * Contains the closing of the #content div and all content after * * @package understrap */ $the_theme = wp_get_theme(); $container = get_theme_mod( 'understrap_container_type' ); ?> </div><!-- #page --> <?php wp_footer(); ?> </body> </html>
igaweb/wpiu
wordpress/wp-content/themes/understrap/footer.php
PHP
gpl-3.0
307
$(function() { var animationDuration = 500; $('.portal-menu-siblings').each(function() { var self = $(this); var parent = $(this).parent(); var a = parent.children('a'); var chevron = parent.find('.icon-chevron-down'); var inTimeout, outTimeout; var orientation = ...
papedaniel/oioioi
oioioi/portals/static/common/portal.js
JavaScript
gpl-3.0
2,167
/** * Copyright (C) 2001-2016 by RapidMiner and the contributors * * Complete list of developers available at our web site: * * http://rapidminer.com * * This program is free software: you can redistribute it and/or modify it under the terms of the * GNU Affero General Public License as published by the...
transwarpio/rapidminer
rapidMiner/rapidminer-studio-core/src/main/java/com/rapidminer/operator/preprocessing/outlier/DKNOutlierOperator.java
Java
gpl-3.0
8,123
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ECCentral.BizEntity.Common; using ECCentral.Service.Utility; using ECCentral.Service.MKT.IDataAccess; using System.ServiceModel.Web; using ECCentral.QueryFilter.MKT; using ECCentral.BizEntity.MKT; using ECCentral.Service.MKT.Ap...
ZeroOne71/ql
02_ECCentral/03_Service/03_MKT/ECCentral.Service.MKT.Restful/MKTService_ProductRecommend.cs
C#
gpl-3.0
9,469
<?php /** * @package Rakuun Browsergame * @copyright Copyright (C) 2012 Sebastian Mayer, Andreas Sicking, Andre Jährling * @license GNU/GPL, see license.txt * This file is part of Rakuun. * * Rakuun is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public L...
Sebioff/Rakuun
source/intern/gui/panel/tutor/tipp.php
PHP
gpl-3.0
998
/* * 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. */ /** * * @author apavel */ public class ABC { public void TskA() { System.out.print("Member of ABC, TskA")...
AlexNPavel/APCompSciStuff
APCompSciStuffSince Oct13/src/ABC.java
Java
gpl-3.0
490
/** * MutableLong.java * * Copyright 2010 Jeffrey Finkelstein * * This file is part of jmona. * * jmona 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 ...
jfinkels/jmona
jmona-model/src/main/java/jmona/impl/mutable/MutableLong.java
Java
gpl-3.0
1,950
/** * @author : cromarmot (yexiaorain@gmail.com) * @license : GPL * @created : 星期一 2月 03, 2020 14:39:46 CST */ #include <bits/stdc++.h> using namespace std; typedef long long ll; #define ten5 100000+10 #define MOD 1000000007 #define rep(i,a,n) for (int i=a;i<n;i++) #define iif(c,t,f) ((c)?(t):(f)) #d...
CroMarmot/MyOICode
ProjectEuler/p040.cpp
C++
gpl-3.0
1,387
package jeql.jts.geodetic; import org.locationtech.jts.geom.Coordinate; import org.locationtech.jts.geom.Geometry; import org.locationtech.jts.geom.LineString; import org.locationtech.jts.geom.MultiLineString; public class GeodeticSplitter { private Geometry line; public GeodeticSplitter(Geometry line) { ...
dr-jts/jeql
modules/jeql/src/main/java/jeql/jts/geodetic/GeodeticSplitter.java
Java
gpl-3.0
2,350
page = []; term = new Terminal(); sTerm = new Terminal(); page.server = "http://molly/moiras/server-terminal.php"; //- - - - - Pop page.loaded = function(){ //------------ configuracao term = new Terminal(); sTerm = new Terminal(); term.server = page.server; sTerm.server = page.server; sTerm.on(); term.on();...
CupBlack/Moiras
resources/js/page.js
JavaScript
gpl-3.0
2,263
/* * Copyright 2010-2013 Eric Kok et al. * * Transdroid 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. * * Transdroid is di...
0359xiaodong/transdroid
app/src/main/java/org/transdroid/core/seedbox/DediseedboxSettings.java
Java
gpl-3.0
2,641
#!/usr/bin/env python #coding=utf-8 # Nathive (and this file) 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 newer. # # You should have received a copy of the GNU General ...
johnnyLadders/Nathive_CITA
nathive/plugins/home.py
Python
gpl-3.0
933
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SNet.Net { public enum PacketFlags : ushort { None = 0, ISerializable = 1, Raw = 2 } }
sanderele1/FileHub
Tcp16/SNet_Net/Networking/PacketFlags.cs
C#
gpl-3.0
253
/* * ================================ * eli960@qq.com * http://www.mailhonor.com/ * 2015-11-20 * ================================ */ #pragma GCC diagnostic ignored "-Wdeprecated-declarations" #include "zcc.h" #include <signal.h> #include <sys/types.h> #include <dirent.h> bool var_test_mode = false; namespace ...
mailhonor/zcc
src/master/event_server.cpp
C++
gpl-3.0
8,544
class CreateCharacters < ActiveRecord::Migration def self.up create_table :characters do |t| t.string :name t.string :path t.string :virtue t.string :vice t.integer :cabal_id, :null => false, :options => "CONSTRAINT fk_character_cabals REFERENCES cabal(id)" t.integer :order_id,...
yithian/personae
db/migrate/20090507003935_create_characters.rb
Ruby
gpl-3.0
1,968
import os import sys import numpy as np from copy import deepcopy import argparse sys.path.append(os.path.join(os.path.dirname(__file__),"../projects/tools")) import msh import executable_paths as exe def parse(): parser = argparse.ArgumentParser(description="Creates mandible and masseter files for the database c...
ISCDtoolbox/FaciLe
pipeline/processMandibleAndMasseter.py
Python
gpl-3.0
4,598
using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNet.Identity; namespace HelpDesk.WorkerWebApp.Identity { // Чтобы добавить данные профиля для пользователя, можно добавить дополнительные свойства в класс ApplicationUser. Дополнительные сведения см. по адресу: http://go.microsoft.com/...
knyazkov-ma/HelpDesk
WebApp/HelpDesk.WorkerWebApp/Identity/ApplicationUser.cs
C#
gpl-3.0
1,310
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Charts module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:GPL$ ** Commercial License Usage ** Licensees holding valid comme...
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtcharts/examples/charts/temperaturerecords/main.cpp
C++
gpl-3.0
3,166
#include "RepRapFirmware.h" #include "DriveMovement.h" // The remaining functions are speed-critical, so use full optimisation #pragma GCC optimize ("O3") // Fast 62-bit integer square root function (thanks dmould) uint32_t isqrt64(uint64_t num) { uint32_t numHigh = (uint32_t)(num >> 32); if (numHigh == 0) { // ...
dcnewman/RepRapFirmware
src/Isqrt.cpp
C++
gpl-3.0
4,744
# No Loop. # # The noLoop() function causes draw() to only # execute once. Without calling noLoop(), draw() # executed continually. attr_reader :y def setup sketch_title 'No Loop' @y = height / 2 stroke 255 frame_rate 30 no_loop end def draw background 0 @y = y - 1 @y = height if y < 0 line 0, y, wi...
ruby-processing/JRubyArt-examples
processing_app/basics/structure/noloop.rb
Ruby
gpl-3.0
365
package com.travelport.service.hotel_v29_0; /** * Please modify this class to meet your needs * This class is not complete */ import java.io.File; import java.net.MalformedURLException; import java.net.URL; import javax.xml.namespace.QName; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.W...
angecab10/travelport-uapi-tutorial
src/com/travelport/service/hotel_v29_0/RetrieveHotelSearchAvailabilityServicePortType_RetrieveHotelSearchAvailabilityServicePort_Client.java
Java
gpl-3.0
2,307
package org.thoughtcrime.securesms.database.helpers; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.os.SystemClock; import android.support.annotation.NonNull; import android.text.TextUtils; import android.util.Log; import net.sqlcipher.database.SQ...
FeuRenard/Signal-Android
src/org/thoughtcrime/securesms/database/helpers/SQLCipherOpenHelper.java
Java
gpl-3.0
10,969
# -*- coding: utf-8 -*- """ Created on Thu Jun 23 13:52:07 2016 @author: huliqun """ import unittest import json import binascii from falcon import testing import sys sys.path.append('..') from workserver.util.AES_PKCS7_extension import Cryptor from MainServer import app class TestAuth(testing.TestCa...
LiqunHu/MVPN
testing/testAuth.py
Python
gpl-3.0
1,873
#region PRODUCTION READY® ELEFLEX® Software License. Copyright © 2015 Production Ready, LLC. All Rights Reserved. //Copyright © 2015 Production Ready, LLC. All Rights Reserved. //For more information, visit http://www.ProductionReady.com //This file is part of PRODUCTION READY® ELEFLEX®. // //This program is free soft...
ProductionReady/Eleflex
V2.1/src/Security Module/Eleflex.Security.Message/RoleCommand/RoleDeleteResponse.cs
C#
gpl-3.0
1,226
package sprax.aligns; import java.util.Collection; import java.util.HashSet; import java.util.Set; import java.util.TreeMap; import sprax.files.FileUtil; import sprax.files.TextFileReader; import sprax.sprout.Sx; /** * TODO: Separate classes for dictionary parsing and storage? * TODO: abstract and wrap the gets an...
sprax/java
aligns/Lexicon.java
Java
gpl-3.0
9,573
/* canvas.lineWidth=int; canvas.rect() canvas.fillRect() window.onorientationchange */ var position=[0,0,0,0];//---位置信息 //-------------------------------------------功能绑定区 canvas_View.addEventListener('touchstart',function(){//---把开始触摸点定为起点 if(config.type=='pen'){ drawTable.getStarPosition(2); } ...
DFFXT/DFFXT.github.io
canvas/css_js/main.js
JavaScript
gpl-3.0
13,453
from nltk.chat.util import Chat, reflections pairs = [ [ r"My name is (.*)", ['hello %1', '%1 mabuhay ka'], ], [ r'hi', ['hello', 'kamusta', 'mabuhay',], ], [ r'(.*) (hungry|sleepy|groot)', [ "%1 %2" ] ], [ r'(.*)(m...
davidam/python-examples
nlp/nltk/hugotbot.py
Python
gpl-3.0
1,251
package it.unisannio.catman.screens.inbox.client; import java.util.List; import it.unisannio.catman.common.client.AbstractQuery; import it.unisannio.catman.common.client.App; import it.unisannio.catman.common.client.DataStore; import it.unisannio.catman.common.client.Query; import it.unisannio.catman.common.client.Qu...
danilox6/catman
src/it/unisannio/catman/screens/inbox/client/MasterView.java
Java
gpl-3.0
2,489
/* * Copyright (C) 2010 The Sipdroid Open Source Project * * This file is part of Sipdroid (http://www.sipdroid.org) * * Sipdroid 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 th...
sipgate/sipgate-for-android
src/org/sipdroid/codecs/Codecs.java
Java
gpl-3.0
10,906
from urlparse import urlparse import sys import socket import os import re class HttpClient(object): def __init__(self,proxy=None,logfile='headers.log'): self.proxy = proxy self.LOGFILE = logfile self.parsed_url = None # Instance of class urlparse self.http_version = "HTTP/1.1"...
tomasdelvechio/py-net-dev
Protocolos/3 - http client/http_client_object.py
Python
gpl-3.0
9,464
/** * 支持ArcGIS Online地图 */ max.Layer.AGSTileLayer = function (serviceUrl) { this.serviceUrl = serviceUrl; this._imageList = []; this.cors=false; this.fullExtent = new max.Extent({ xmin:-20037508.3427892, ymin:-20037508.3427892, xmax:20037508.3427892, ymax:20037508.34278...
Maxgis/maxCanvasMap
src/Layer/AGSTileLayer.js
JavaScript
gpl-3.0
1,811
/* * Copyright 2010-16 Fraunhofer ISE * * This file is part of jMBus. * For more information visit http://www.openmuc.org * * jMBus 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 t...
pokerazor/jmbus
src/main/java/org/openmuc/jmbus/AbstractWMBusSap.java
Java
gpl-3.0
1,961
# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*- # # Copyright (C) 2016-2018 Canonical Ltd # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License version 3 as # published by the Free Software Foundation. # # This program is distributed in ...
cprov/snapcraft
tests/unit/states/test_stage.py
Python
gpl-3.0
3,005
/* * Pixel Dungeon * Copyright (C) 2012-2014 Oleg Dolya * * 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. * * ...
sloanr333/opd-legacy
src/com/watabou/legacy/actors/mobs/Piranha.java
Java
gpl-3.0
3,326
/** * Copyright (C) 2007-2011, Jens Lehmann * * This file is part of DL-Learner. * * DL-Learner 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...
daftano/dl-learner
components-core/src/main/java/org/dllearner/core/AbstractCELA.java
Java
gpl-3.0
13,698
package preez.uva; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.util.ArrayList; import java.util.StringTokenizer; public class UVA496 { static ArrayList<char[]> a; static int N, M, T, qi, qj; ...
msskzx/preez
src/preez/uva/UVA496.java
Java
gpl-3.0
1,630
""" Author: Tom Daniels, Kaitlin Keenan Purpose: Creates a force graph of IP addresses and any connections they made """ import igraph import json import plotly import plotly.graph_objs as pg import sys GEN_INFO = 0 # General information PHYS = 1 # Physical layer information DATA = 2 # Data link laye...
TRDan6577/networkStatistics
networkNodes.py
Python
gpl-3.0
4,386
/* * Demo application using USBtinLib, the Java Library for USBtin * http://www.fischl.de/usbtin * * Copyright (C) 2014 Thomas Fischl * * 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,...
EmbedME/USBtinLibDemo
src/USBtinLibDemo.java
Java
gpl-3.0
3,657
// Copyright 2015-2022, University of Colorado Boulder /** * Class that represents messenger ribonucleic acid, or mRNA, in the model. This class is fairly complex, due to the * need for mRNA to wind up and unwind as it is transcribed, translated, and destroyed. * * @author John Blanco * @author Mohamed Safi * @a...
phetsims/gene-expression-essentials
js/common/model/MessengerRna.js
JavaScript
gpl-3.0
22,291
import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.net.URL; import java.util.List; import java.util.Scanner; import java.util.Stack; /********...
JonathanHenly/HTMLParser
src/TagQuery.java
Java
gpl-3.0
8,311
package service; import java.util.List; import javax.ejb.Stateless; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import modelo.Menu; @Stateless public class MenuService extends GenericService<Menu>{ public MenuService() { super(Menu.class); } public ...
kashm1r/photoiff
src/service/MenuService.java
Java
gpl-3.0
699
/* * Copyright (C) 2015 Information Retrieval Group at Universidad Autonoma * de Madrid, http://ir.ii.uam.es * * 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 Lice...
OlafLee/RankSys
RankSys-core/src/main/java/es/uam/eps/ir/ranksys/core/util/topn/ObjectDoubleTopN.java
Java
gpl-3.0
3,023
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // 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.11....
anu-doi/anudc
DataCommons/src/main/java/org/isotc211/_2005/gco/TypeNamePropertyType.java
Java
gpl-3.0
7,642
package jeql.workbench.ui.geomview.style; import java.util.*; import java.awt.Graphics2D; import jeql.workbench.ui.geomview.Viewport; import org.locationtech.jts.geom.Geometry; /** * Contains a list of styles and allows Geometrys * to be rendered using those styles. * * @author mbdavis * */ public class Sty...
dr-jts/jeql
modules/jeqlw/src/main/java/jeql/workbench/ui/geomview/style/StyleList.java
Java
gpl-3.0
2,177
package com.drexel.septaplanner; import java.util.ArrayList; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.view.Menu; import android.widget.Toast; import com.google.android.gms.maps.CameraUpdateFactory; import com.google.android.gms.maps.Googl...
JamesBarnes88/SeptaPlanner
src/com/drexel/septaplanner/MyMapFrag.java
Java
gpl-3.0
2,520
package net.qrab.watchit.stages; import com.badlogic.gdx.scenes.scene2d.Stage; public class HudStage extends Stage { public HudStage() { } }
jkleininger/BaggageClimb
core/src/net/qrab/watchit/stages/HudStage.java
Java
gpl-3.0
148
'use strict'; /** * Module dependencies */ var path = require('path'), config = require(path.resolve('./config/config')); /** * Quiz module init function. */ module.exports = function (app, db) { };
AnnaGenev/pokeapp-meanjs
modules/quiz/server/config/quiz.server.config.js
JavaScript
gpl-3.0
208
/* * Copyright (C) 2014 Robert Stark * * 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...
StarkoMania/scrum-it
src/main/java/de/rs/scrumit/entity/ReleaseModel.java
Java
gpl-3.0
2,590
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package ancienttiles; import ancienttiles.griddisplay.TileDisplay; import ancienttiles.tiles.ai.TimedObject; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.net.URL; import java.util...
krrg/ancient-tiles-java
src/ancienttiles/AbstractGameManager.java
Java
gpl-3.0
7,396
<?php /** * Extensions list template * * @package notification */ $premium_extensions = (array) $this->get_var( 'premium_extensions' ); ?> <div class="wrap notification-extensions"> <h1><?php esc_html_e( 'Extensions', 'notification' ); ?></h1> <?php if ( ! empty( $premium_extensions ) ) : ?> <h2><?php esc...
Kubitomakita/Notification
views/extension/page.php
PHP
gpl-3.0
1,120
<?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
dannydes/ecologie
vendor/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsJobs.php
PHP
gpl-3.0
7,165
/* Copyright (c) 2009 Andrew Caudwell (acaudwell@gmail.com) All rights reserved. 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 above copyright ...
dos1/Logstalgia
src/core/seeklog.cpp
C++
gpl-3.0
5,269
namespace InsuranceSystem.BLL.Services.Catalogs { using System; using System.Collections.Generic; using System.Threading.Tasks; using AutoMapper; using DTO.Catalogs; using Interfaces; using Interfaces.Catalogs; using Library.Models.Catalogs; using UnitOfWork; using UnitOfWork.Ca...
mishakos/InsuranceSystem.Library
InsuranceSystem.BLL/Services/Catalogs/BankAccountService.cs
C#
gpl-3.0
6,165
<?php $this->load->view('global/validasi_form'); ?> <div class='modal-body'> <div class="row"> <div class="col-sm-12"> <div class="box box-danger"> <div class="box-body"> <table class="table table-bordered table-striped table-hover" > <tbody> <tr> <td style="padding-top : 10px;paddin...
OpenSID/OpenSID
donjo-app/views/covid19/edit_pemudik.php
PHP
gpl-3.0
1,333
/* * 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
# 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
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
#!/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
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 &copy; 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
<?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
<?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
/* * 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
/* 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
// 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
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
/* -*- 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
# -*- 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
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
/* * 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
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
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