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
package fi.pyramus.rest.model; public class CourseType { public CourseType() { } public CourseType(Long id, String name, Boolean archived) { this(); this.id = id; this.name = name; this.archived = archived; } public CourseType(String name, Boolean archived) { this(null, name, archived)...
leafsoftinfo/pyramus
rest-model/src/main/java/fi/pyramus/rest/model/CourseType.java
Java
gpl-3.0
751
from Social import * class Comment(db.Model): __tablename__ = "Comments" Id = db.Column(db.Integer, unique=True, primary_key=True) post = db.Column(db.Integer) author = db.Column(db.String(20)) text = db.Column(db.String(500)) date = db.Column(db.DateTime(25)) def __init__(self, post, aut...
JackSpera/NapNap
Models.py
Python
gpl-3.0
2,444
<?php echo head(array('bodyid'=>'home')); ?> <div id="primary"> <?php if ($homepageText = get_theme_option('Homepage Text')): ?> <p><?php echo $homepageText; ?></p> <?php endif; ?> <?php if ((get_theme_option('Display Featured Exhibit')) && function_exists('exhibit_builder_display_random_featured_exhibi...
jaguillette/hvd-dh-omeka-theme
index.php
PHP
gpl-3.0
1,345
/* * Created on 19-may-2004 * * To change the template for this generated file go to * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments */ /* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana * * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. * * This program ...
iCarto/siga
appgvSIG/src/com/iver/cit/gvsig/PrintProperties.java
Java
gpl-3.0
3,670
<?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 ...
LearningScience/moodle-qtype_lsciss
renderer.php
PHP
gpl-3.0
2,583
# -*- coding: utf-8 -*- """ Started on thu, jun 21st, 2018 @author: carlos.arana """ # Librerias utilizadas import pandas as pd import sys module_path = r'D:\PCCS\01_Dmine\Scripts' if module_path not in sys.path: sys.path.append(module_path) from VarInt.VarInt import VarInt from classes.Meta import Meta from Comp...
Caranarq/01_Dmine
99_Descentralizacion/P9902/P9902.py
Python
gpl-3.0
2,753
/* * Copyright (C) 2000-2012 InfoChamp System Corporation * * 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....
ezoengine/GKEngine
main/gk/src/org/gk/engine/client/build/form/XHeader.java
Java
gpl-3.0
2,059
package net.foreworld.nw.listener; /** * * @author huangxin (3203317@qq.com) * */ public interface OnShowListener { public void onShow(); }
3203317/vnc
viewer/src/net/foreworld/nw/listener/OnShowListener.java
Java
gpl-3.0
147
#include <algorithm> #include "yaml-cpp/node/convert.h" namespace { // we're not gonna mess with the mess that is all the isupper/etc. functions bool IsLower(char ch) { return 'a' <= ch && ch <= 'z'; } bool IsUpper(char ch) { return 'A' <= ch && ch <= 'Z'; } char ToLower(char ch) { return IsUpper(ch) ? ch + 'a' - 'A'...
hep-mirrors/rivet
src/Core/yamlcpp/convert.cpp
C++
gpl-3.0
1,837
import configparser import logging import os from shutil import copyfile class wordclock_config: def __init__(self, basePath): self.loadConfig(basePath) def loadConfig(self, basePath): pathToConfigFile = basePath + '/wordclock_config/wordclock_config.cfg' pathToReferenceConfigFile = b...
bk1285/rpi_wordclock
wordclock_tools/wordclock_config.py
Python
gpl-3.0
1,847
// Decompiled with JetBrains decompiler // Type: System.IO.Ports.SerialData // Assembly: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // MVID: 5ABD58FD-DF31-44FD-A492-63F2B47CC9AF // Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.dll namespace System.IO.Ports { ...
mater06/LEGOChimaOnlineReloaded
LoCO Client Files/Decompressed Client/Extracted DLL/System/System/IO/Ports/SerialData.cs
C#
gpl-3.0
549
class DiscoveredHostSerializer < ActiveModel::Serializer include ActionView::Helpers::NumberHelper embed :ids, include: true attributes :id, :name, :type, :ip, :last_report, :mac, :subnet_id, :subnet_name, :memory, :disk_count, :disks_size, :cpus, :organization_...
daviddavis/foretello_api_v21
app/serializers/discovered_host_serializer.rb
Ruby
gpl-3.0
980
<div id="main_bg"></div> <div class="container"><div class="row">
NorthWebSolutions/Aram
application/views/templates/start_content.php
PHP
gpl-3.0
65
import enum from zope.schema.interfaces import IBaseVocabulary from zope.interface import directlyProvides from isu.enterprise.enums import vocabulary @vocabulary('mural') @enum.unique class Mural(enum.IntEnum): Extramural = 0 Intramural = 1 @vocabulary('degree') @enum.unique class Degree(enum.IntEnum): ...
isu-enterprise/isu.college
src/isu/college/enums.py
Python
gpl-3.0
1,242
// Pingus - A free Lemmings clone // Copyright (C) 1999 Ingo Ruhnke <grumbel@gmx.de> // // 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 o...
plouj/pingus
src/pingus/worldobjs/woodthing.hpp
C++
gpl-3.0
1,307
using CP77.CR2W.Reflection; namespace CP77.CR2W.Types { [REDMeta] public class gamedataArchetypeType_Record : gamedataTweakDBRecord { public gamedataArchetypeType_Record(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name) { } } }
Traderain/Wolven-kit
CP77.CR2W/Types/cp77/gamedataArchetypeType_Record.cs
C#
gpl-3.0
258
/* * Copyright 2012-2015 the original author or authors. * * 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. * * T...
syntafin/TenguChat
src/main/java/de/tengu/chat/ui/widget/ScannerView.java
Java
gpl-3.0
5,449
import base64 from django.contrib.auth import authenticate import logging def basic_http_authentication(request): if not 'HTTP_AUTHORIZATION' in request.META: return None auth = request.META['HTTP_AUTHORIZATION'].split() user = None if len(auth) == 2: if auth[0].lower() == "basic": ...
efornal/shoal
app/http_auth.py
Python
gpl-3.0
468
/* * Copyright (c) 2021, Aleksei Belkin <mailbelkin@gmail.com>. * All rights reserved. */ #include <QGuiApplication> #include <QQmlApplicationEngine> #include <QQmlContext> #include <QQuickStyle> #include "appcore.h" int main(int argc, char *argv[]) { QCoreApplication::setAttribute(Qt::AA_EnableHighD...
be1ay/MyHash_Stribog
main.cpp
C++
gpl-3.0
763
/* * 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...
waikato-datamining/adams-base
adams-core/src/main/java/adams/gui/flow/tree/menu/GoTo.java
Java
gpl-3.0
5,207
using UnityEngine; using System.Collections; /// <summary> /// This class is use to disable the attached star animation. /// In fact, it don't disable the animator but makes impossible /// all other transitions by setting a bool parameter. /// </summary> public class DisableAnimator : MonoBehaviour { /// <summary> ...
nicolaswenk/cf_heritage
Assets/Scripts/View/Utils/DisableAnimator.cs
C#
gpl-3.0
575
import sys if sys.version_info > (3,): from builtins import chr import unittest import os import re from adsft import extraction, rules, utils from adsft.tests import test_base from adsputils import load_config import unittest import httpretty from requests.exceptions import HTTPError class TestXMLExtractorBase(t...
adsabs/ADSfulltext
adsft/tests/test_extraction.py
Python
gpl-3.0
40,776
''' Created on Sep 02, 2014 :author: svakulenko ''' # Bing API Version 2.0 # sample URL for web search # https://api.datamarket.azure.com/Bing/Search/Web?$format=json&Query=%27Xbox% # 27&$top=2 from eWRT.ws.rest import RESTClient from eWRT.ws import AbstractIterableWebSource class BingSearch(AbstractIterableWebSou...
weblyzard/ewrt
src/eWRT/ws/bing/search.py
Python
gpl-3.0
2,765
<?php /** * Entrada [ http://www.entrada-project.org ] * * Entrada 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. * * Entrada ...
EntradaProject/entrada-1x
www-root/agent-clerkship.php
PHP
gpl-3.0
13,532
/* * File: FilteredHyperedgeCollection.hpp * * Author: ABSEHER Michael (abseher@dbai.tuwien.ac.at) * * Copyright 2015-2017, Michael Abseher * E-Mail: <abseher@dbai.tuwien.ac.at> * * This file is part of htd. * * htd is free software: you can redistribute it and/or modify it under * the terms of the GNU ...
mabseher/htd
include/htd/FilteredHyperedgeCollection.hpp
C++
gpl-3.0
18,218
/* * Tomdroid * Tomboy on Android * http://www.launchpad.net/tomdroid * * Copyright 2010 Olivier Bilodeau <olivier@bottomlesspit.org> * * This file is part of Tomdroid. * * Tomdroid is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published b...
rmayr/privatenotes-tomdroid
src/org/privatenotes/util/LinkifyPhone.java
Java
gpl-3.0
3,249
/******************************************************************************* * Copyright 2017, 2018 CNES - CENTRE NATIONAL d'ETUDES SPATIALES * * This file is part of MIZAR. * * MIZAR is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by...
MizarWeb/Mizar
src/Layer/AbstractHipsLayer.js
JavaScript
gpl-3.0
8,933
/* * This file is part of libswitcher. * * libswitcher 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 2 of the License, or (at your option) any later version. * * This library ...
nicobou/ubuntu-switcher
switcher/information-tree.cpp
C++
gpl-3.0
9,645
<?php /** * WES WebExploitScan Web GPLv4 http://github.com/libre/webexploitscan * * The PHP page that serves all page requests on WebExploitScan installation. * * The routines here dispatch control to the appropriate handler, which then * prints the appropriate page. * * All WebExploitScan code is released unde...
libre/webexploitscan
wes/data/rules/fullscan/10092019-MS-PHP-Antimalware-Scanner-720-malware_signature.php
PHP
gpl-3.0
1,514
package com.jaus.albertogiunta.justintrain_oraritreni.utils.sharedPreferences; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import android.content.Context; import com.jaus.albertogiunta.justintrain_oraritreni.data.PreferredJourney; import com.jaus.albertogiunta.justintrain_oraritreni.data.Preferr...
albertogiunta/justintrain-client-android
app/src/main/java/com/jaus/albertogiunta/justintrain_oraritreni/utils/sharedPreferences/StationsPreferences.java
Java
gpl-3.0
4,793
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtEnginio module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licens...
jotahtin/qtc-sdk-qt
src/cloudservices/qenginioconnectionobject.cpp
C++
gpl-3.0
3,070
/*************************************************************************** * Copyright (C) 2012 by Serge Poltavski * * serge.poltavski@gmail.com * * * * This pr...
uliss/quneiform
src/rimage/binarizatorfactory.cpp
C++
gpl-3.0
2,221
/** * This file is part of vVoteVerifier which is designed to be used as a verifiation tool for the vVote Election System. * Copyright (C) 2014 James Rumble (jerumble@gmail.com) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as publi...
jerumble/vVoteVerifier
src/com/vvote/messages/typed/vote/PODMessage.java
Java
gpl-3.0
4,300
class Omni::PriceBook < ActiveRecord::Base # METADATA (Start) ==================================================================== self.table_name = :price_books self.primary_key = :price_book_id # METADATA (End) # BEHAVIOR (Start) ==================================================================== suppo...
tunacasserole/omni
app/models/omni/price_book.rb
Ruby
gpl-3.0
2,779
from vsg.rules import token_prefix as Rule from vsg import token lTokens = [] lTokens.append(token.alias_declaration.alias_designator) class rule_600(Rule): ''' This rule checks for valid prefixes on alias designators. Default prefix is *a\_*. |configuring_prefix_and_suffix_rules_link| **Vio...
jeremiah-c-leary/vhdl-style-guide
vsg/rules/alias_declaration/rule_600.py
Python
gpl-3.0
689
using UnityEngine; namespace AnimationOrTween { public enum Trigger { OnClick, OnHover, OnPress, OnHoverTrue, OnHoverFalse, OnPressTrue, OnPressFalse, OnActivate, OnActivateTrue, OnActivateFalse, OnDoubleClick, OnSelect, OnSelectTrue, OnSelectFalse, } public enum Direction { Reverse...
mr-kelly/ProjectWeak
Assets/NGUI/Scripts/Internal/AnimationOrTween.cs
C#
gpl-3.0
567
// Define specializations for the Traits class template here. char s []="unknown"; char f0 []="apple"; char f1 []="orange"; char f2 []="pear"; char c0 []="red"; char c1 []="green"; char c2 []="orange"; template <> struct Traits<Fruit> { public: static char* name(int a) { if(a>=3 || a<0) ...
shree-shubham/Unitype
C++ Class Template Specialization.cpp
C++
gpl-3.0
747
/* * GNU GENERAL LICENSE * Copyright (C) 2014 - 2021 Lobo Evolution * * 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 * verion 3 of the License, or (at your option) any later versi...
oswetto/LoboEvolution
LoboCommon/src/main/java/org/loboevolution/net/NameValuePair.java
Java
gpl-3.0
2,008
<?php /********************************************************************* Teacher Copyright 2013 by Sébastien Mabon and Samuel Degoul (sdegoul@gmail.com) This file is part of Teacher. Teacher is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published ...
s-degoul/Teacher
modules/start/views/show_color_code.php
PHP
gpl-3.0
3,022
<?php /** * * @package mahara * @subpackage artefact-blog * @author Catalyst IT Ltd * @license http://www.gnu.org/copyleft/gpl.html GNU GPL version 3 or later * @copyright For copyright information on Mahara, please see the README file distributed with this software. * */ defined('INTERNAL') || die(...
tonyjbutler/mahara
htdocs/artefact/blog/lib.php
PHP
gpl-3.0
52,136
/** This file is part of client-side of the CampusTrees Project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution. No part of CampusTrees Project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained...
felixtheratruns/CampusTrees-client
src/com/speedacm/treeview/MainMenuActivity.java
Java
gpl-3.0
5,291
import json import mailbox import numpy as np from nltk.corpus import stopwords from nltk.stem import WordNetLemmatizer from sklearn.feature_extraction.text import TfidfVectorizer from lib.analysis.author import ranking from lib.util import custom_stopwords from lib.util.read import * def get_top_autho...
prasadtalasila/MailingListParser
lib/input/mbox/keyword_digest.py
Python
gpl-3.0
11,492
#!/usr/bin/env python2 import netsnmp import argparse def getCAM(DestHost, Version = 2, Community='public'): sess = netsnmp.Session(Version = 2, DestHost=DestHost, Community=Community) sess.UseLongNames = 1 sess.UseNumeric = 1 #to have <tags> returned by the 'get' methods untranslated (i.e. dotted-decimal). Bes...
c4ffein/snmp-cam-table-logger
getCAM.py
Python
gpl-3.0
2,240
import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import Thumbnail from 'components/Thumbnail'; /* Import Venue Images */ import Harvard from 'static/images/Harvard.jpg'; import Walters from 'static/images/Walters.jpg'; import Auckland from 'static/images/Auckland.jpg'; import Cooper ...
museumary/Museumary
react/src/components/Models/SinglePages/Venue.js
JavaScript
gpl-3.0
5,180
<?php class managedServicesPlans extends AllFunctions { //function for get Language public function getPricing($id = '') { $condition = ''; if ($id != '') { $condition = array('id' => $id); } return $this->select($this->cfg['db_prefix'].'managed_services_p...
aroramanish63/bulmail_app
Live Backup/adminpanel/functions/mngdServiceFunctions.php
PHP
gpl-3.0
2,132
#define SDL_MAIN_HANDLED #ifdef _WIN32 #include <windows.h> #else #include <dlfcn.h> #endif // _WIN32 #include <SDL2/SDL.h> #include <SDL2/SDL_image.h> #include <iostream> #include <functional> #include <chrono> #include <fstream> #include <string> #include <sstream> #include <databank.h> #ifdef _WIN32 typedef v...
MagicRB/GAME
src/main.cpp
C++
gpl-3.0
5,123
/* * 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 Modelo.RecursoDidatico; import Modelo.RecursoDidatico.Midia.Audio; import Modelo.RecursoDidatico.Midia.Video; import java.uti...
gustavofamorim/ensino_individualizado_manager
src/Modelo/RecursoDidatico/Palavra.java
Java
gpl-3.0
3,409
@extends('backend.layouts.index') @section('content') <style> .btn-edit{ background-color: dodgerblue; border: none; border-radius: 3px; height: 25px; } .btn-edit a{ color: ghostwhite; } .btn-delete{ back...
chandraknight/YatriNepal
resources/views/backend/customize/single_customize.blade.php
PHP
gpl-3.0
2,513
/* Copyright 2015 This file is part of Thufir the Confessor . Thufir the Confessor 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. Th...
thufirtheconfessor/thufirtheconfessor
src/confessor/thufir/AndroidErrorHandler.java
Java
gpl-3.0
1,777
#castle script for minecraft by joshua cartwright from mcpi import minecraft from mcpi import block import time mc = minecraft.Minecraft.create() #castle pos = mc.player.getPos() #clear mc.setBlocks(pos.x-5,pos.y-1,pos.z-5,pos.x+5,pos.y+50,pos.z+5,block.AIR) #floor mc.setBlocks(pos.x-5,pos.y-1,pos.z-5,pos.x+5,pos.y...
UTC-Sheffield/mcpi_ideas
misc/Castle.py
Python
gpl-3.0
5,725
/** * Copyright (c) 2012-2013 Kcchouette on Github * This file is part of nombre_mystere. * nombre_mystere is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your o...
Kcchouette/nombre_mystere
Decor.cpp
C++
gpl-3.0
1,101
class ProjectVersion < ActiveRecord::Base unloadable belongs_to :project default_scope { order('created_at DESC') } serialize :user_ids serialize :custom_field def self.observed %w(name status user_ids custom_field) end def previous if persisted? ProjectVersion.where('id < :version_id...
efigence/redmine_accounting
app/models/project_version.rb
Ruby
gpl-3.0
1,145
# -*- coding: binary -*- module Rex module Java module Serialization module Model # This class provides a Java classDesc representation class ClassDesc < Element include Rex::Java::Serialization::Model::Contents attr_accessor :description # @param stream [Re...
cSploit/android.MSF
lib/rex/java/serialization/model/class_desc.rb
Ruby
gpl-3.0
2,018
// // Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 generiert // Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. // Generiert:...
sauce-code/packer
src/main/java/com/saucecode/packer/xml/Categories.java
Java
gpl-3.0
2,306
class CreateUsers < ActiveRecord::Migration def self.up create_table "users", :force => true do |t| t.column :login, :string, :limit => 40 t.column :name, :string, :limit => 100, :default => '', :null => true t.column :email, :string, ...
bakkdoor/projectmanager
db/migrate/20081008200458_create_users.rb
Ruby
gpl-3.0
1,473
/* * Copyright (C) 2014 William Shere * * 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 progra...
Quew8/Truth-Table-Generator
src/com/quew8/ttg/TruthTableGenerator.java
Java
gpl-3.0
6,259
#include <iostream> using namespace std; int main() { int N, num, min, min_index, i; cin >> N; min = 999; min_index = 0; for ( i = 1; i <= N; i++ ) { cin >> num; if ( num < min ) { min = num; min_index = i; } } cout << min_index << endl; return 0; }
ProgDan/maratona
URI/URI 1858.cpp
C++
gpl-3.0
309
/* bibf - a simple bibtex pretty printer * * Copyright (C) 2014 Dennis Dast <mail@ddast.de> * * This file is part of bibf. * * bibf 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 ...
ddast/bibf
src/Bibliography.cpp
C++
gpl-3.0
18,748
using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.IO; public class Student { public readonly int nr; public readonly string name; public readonly int group; public readonly string githubId; public Student(int nr, String name, int...
isel-leic-ave/ave-2016-17-sem1-i41n
aula30-delegates-utils-generics/Queries3.cs
C#
gpl-3.0
5,191
void page2() { if (millis() - lastmillis >= 10000) { //Only do this every 10s if (newpage == 1) { //If we just started tft.fill(rgb(0, 0, 0)); //Clear the LCD newpage = 0; sensor = strtof (temp1, NULL); //Do this just in case they're empty sensor *= 100; xmax = float(scrmax) / 100...
jhpolsky/arduinoScrollingGraph
graph.cpp
C++
gpl-3.0
3,364
/* * This file is part of myPlan. * * Plan 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. * Plan is distributed in the hope th...
jmsanzg/myPlan
src/com/conzebit/myplan/ext/es/vodafone/particulares/tallas/ESVodafoneXS8.java
Java
gpl-3.0
2,811
#include <windows.h> #include <stdio.h> // DisplayText() ÇÔ¼ö »ç¿ëÀ» À§ÇØ ÇÊ¿äÇÑ Çì´õÆÄÀÏ // À©µµ¿ì ÇÁ·Î½ÃÀú LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); // ÆíÁý ÄÁÆ®·Ñ Ãâ·Â ÇÔ¼ö void DisplayText(char *fmt, ...); // printf() ÇÔ¼ö¿Í °°Àº ±â´É HINSTANCE hInst; // ÀνºÅϽº ÇÚµé Àü¿ªº¯¼ö·Î ¼±¾ð HWND hEdit; // ...
aw15/GSE_2_2013184043
수업자료/Chapter09/WinApp.cpp
C++
gpl-3.0
2,541
// MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using Eto.Drawing; using Eto.Forms; namespace MonoGame.Tools.Pipeline { partial class ReferenceDialog : DialogBase { DynamicLa...
Blucky87/Otiose2D
src/libs/MonoGame/Tools/Pipeline/Dialogs/ReferenceDialog.eto.cs
C#
gpl-3.0
1,597
using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class scnCinematicAnimSetSRRef : CVariable { [Ordinal(0)] [RED("asyncAnimSet")] public raRef<animAnimSet> AsyncAnimSet { get; set; } [Ordinal(1)] [RED("priority")] public CUInt8 Priorit...
Traderain/Wolven-kit
CP77.CR2W/Types/cp77/scnCinematicAnimSetSRRef.cs
C#
gpl-3.0
526
using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class worldTrafficLightListenerComponent : entIComponent { [Ordinal(3)] [RED("intersectionRef")] public NodeRef IntersectionRef { get; set; } [Ordinal(4)] [RED("groupIdx")] public CUInt...
Traderain/Wolven-kit
CP77.CR2W/Types/cp77/worldTrafficLightListenerComponent.cs
C#
gpl-3.0
473
/* * A Command & Conquer: Renegade SSGM Plugin, containing all the single player mission scripts * Copyright(C) 2017 Neijwiert * * 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 versio...
Neijwiert/C-C-Renegade-Mission-Scripts
Source/Single Player Scripts/M01_Shed_Datadisc_JDG.cpp
C++
gpl-3.0
2,138
<?php /** * @copyright Ilch 2 * @package ilch */ return [ 'menuStatistic' => 'Statistik', 'menuOnline' => 'Online', 'menuOnlineStatistic' => 'Online Statistik', 'user' => 'Benutzer', 'lastHere' => 'Letzte Aktivität', 'ipAdress' => 'IP-Adresse', 'osBrowser' => 'OS-System / Browser', '...
IlchCMS/Ilch-2.0
application/modules/statistic/translations/de.php
PHP
gpl-3.0
1,908
import express from 'express'; import mongoose from 'mongoose'; import { Text } from '../../data/model'; const router = express.Router(); router.get('/', (req, res) => { function getAnnotationTypeForTrainingset() { if (req.query.annotationType) { const annotationTypeId = mongoose.Types.ObjectId(req.query....
annomania/annomania-api
src/controller/route/trainingset.js
JavaScript
gpl-3.0
1,118
package at.bbm.core.objects.fields.field; import at.bbm.core.events.EventType; import at.bbm.core.objects.fields.Field; import at.bbm.core.objects.fields.FieldType; import at.bbm.core.objects.players.Player; import at.bbm.core.map.Location; public class Ice extends Field { public static final int ID = 6; pub...
MichaelJ2/big-buum-man
source/big-buum-man-core/src/main/java/at/bbm/core/objects/fields/field/Ice.java
Java
gpl-3.0
928
<?php $L['Account_Title'] = 'Корисници и групе'; $L['Account_Description'] = 'Управљај корисницима и групама, подеси доменски идентитет и добављаче аутентификације'; $L['Account_Tags'] = 'сссд корисник група царство домен налог креберос лдап'; $L['AccountProvider_Error_1'] = 'Account provider generic error: SSSD exit...
NethServer/nethserver-lang
locale/sr/server-manager/NethServer_Module_Account.php
PHP
gpl-3.0
2,216
from brainforge.learner import Backpropagation from brainforge.layers import Dense from brainforge.optimizers import Momentum from brainforge.util import etalon class DNI: def __init__(self, bpropnet, synth): self.bpropnet = bpropnet self.synth = synth self._predictor = None def pred...
csxeba/brainforge
xperiments/xp_decoupled.py
Python
gpl-3.0
1,775
class ChangeContractNumberToVtContractNumberOnContracts < ActiveRecord::Migration[6.0] def change rename_column :contracts, :contract_number, :vt_contract_number end end
CodeforAustralia/dtf-genesis
db/migrate/20161027005904_change_contract_number_to_vt_contract_number_on_contracts.rb
Ruby
gpl-3.0
178
@extends("layouts.app") @section("content") <div class="panel panel-default"> <div class="panel-heading">Editar rol</div> <div class="panel-body"> @include('roles.form',['rol'=>$rol, 'url' => '/roles/'.$rol->id,'method' => 'PUT']) </div> </div> @endsection
DanielIsaza/cidba
resources/views/roles/edit.blade.php
PHP
gpl-3.0
265
//===--- RewriteMacros.cpp - Rewrite macros into their expansions ---------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Bootz/multicore-opimization
llvm/tools/clang/lib/Rewrite/RewriteMacros.cpp
C++
gpl-3.0
8,109
/** * PLEASE DO NOT MODIFY THIS FILE. WORK ON THE ES6 VERSION. * OTHERWISE YOUR CHANGES WILL BE REPLACED ON THE NEXT BUILD. **/ /** * @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ ((document, sub...
RomanaBW/BwPostman
src/media/com_bwpostman/js/admin-subscribers-default-batch-footer.es6.js
JavaScript
gpl-3.0
1,041
angular.module('sofa.scrollingShadow', []) .directive('sofaScrollingShadow', function() { 'use strict'; return { restrict: 'A', link: function(scope, $element){ var $topShadow = angular.element('<div class="sofa-scrolling-shadow-top"></div>'), ...
sofa/angular-sofa-scrolling-shadow
src/sofaScrollingShadow.js
JavaScript
gpl-3.0
2,175
__author__ = 'Davide' import win32api import win32con import socket # stop not defined VK_MEDIA_STOP = 0xB2 class RemoteController: def play_pause(self): win32api.keybd_event(win32con.VK_MEDIA_PLAY_PAUSE, 34) def stop(self): win32api.keybd_event(VK_MEDIA_STOP, 34) def next(self): ...
DavideCanton/Python3
wmp_remote/server.py
Python
gpl-3.0
1,561
<div class="row"> <div class="col-md-8 text-left"> <h2 class="red font-roboto"><?php the_title(); ?></h2> <p><?php the_date('d \d\e F \d\e Y'); ?> <span class="divider-left"><?php $categories = get_the_category(get_the_ID()); $separator = ' | '; ...
Gabriel-Pereira-MJ/intercambio-tema
content-single.php
PHP
gpl-3.0
838
/** * Copyright (c) 2000-present Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any la...
queza85/edison
edison-portal-framework/edison-simulation-portlet/docroot/WEB-INF/service/org/kisti/edison/bestsimulation/service/SimulationServiceClp.java
Java
gpl-3.0
2,538
import theano import theano.tensor as T import numpy as np class RNN: """ Base class containing the RNN weights used by both the encoder and decoder """ def __init__(self, K, embedding_size, hidden_layer=8, use_context_vector=F...
pepijnkokke/ull2
code/rnn.py
Python
gpl-3.0
2,367
#!/usr/bin/python # 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, or # (at your option) any later version. # # Ansible is distributed...
hryamzik/ansible
lib/ansible/modules/cloud/amazon/elb_application_lb.py
Python
gpl-3.0
21,506
/* * Dover Framework - OpenSource Development framework for SAP Business One * Copyright (C) 2014 Eduardo Piva * * 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 ...
efpiva/dover
Model/SAP/FormattedSearch.cs
C#
gpl-3.0
8,935
/******************************************************************************* * file : windowsmessagesink.cpp * created : 05.08.2018 * author : Slyshyk Oleksiy (alexslyshyk@gmail.com) *******************************************************************************/ #include "windowsmessagesink.hpp" nam...
LDmicro/LDmicro
ldmicro/ldlog/src/sinks/windowsmessagesink.cpp
C++
gpl-3.0
744
#-*-:coding:utf-8-*- from blindtex.latex2ast import converter #from latex2ast import ast from blindtex.interpreter import dictionary to_read = {'simple_superscript' : 'super %s ', 'comp_superscript' : 'super %s endSuper ', 'simple_subscript' : 'sub %s ', 'comp_subscript'...
blindtex/blindtex
blindtex/interpreter/reader.py
Python
gpl-3.0
14,005
<?php /* * LibreNMS Network Management and Monitoring System * Copyright (C) 2006-2011, Observium Developers - http://www.observium.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, e...
arjitc/librenms
includes/discovery/functions.inc.php
PHP
gpl-3.0
59,929
package sensorServer; import java.util.Collection; import java.util.Collections; import java.util.concurrent.TimeUnit; import org.mockito.Mockito; import org.springframework.boot.test.mock.mockito.MockBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration...
nemecp4/termoserver
sensorServer/src/test/java/sensorServer/SensorServiceTestContext.java
Java
gpl-3.0
927
package processing.visualcube1e3.simulator; import processing.core.PApplet; /** * General vector math useful for calculations in 2D space. * A vector defines a point in 3D space. * * @author Andreas Rentschler * @date 2008-07-21 * @version 1.0 */ class Vector2D { public final float x, y; /** * Create a ...
qvt/vc
VisualCube1e3/src/processing/visualcube1e3/simulator/Vector2D.java
Java
gpl-3.0
3,370
<?php /* CAT:Step chart */ /* pChart library inclusions */ require_once("bootstrap.php"); use pChart\pColor; use pChart\pDraw; use pChart\pCharts; /* Create the pChart object */ $myPicture = new pDraw(700,230); /* Populate the pData object */ $myPicture->myData->addPoints([-4,VOID,VOID,12,8,3],"Probe 1"); $myPic...
selleron/pointageWebCEGID
pChart2.0-for-PHP7-master/examples/example.drawStepChart.php
PHP
gpl-3.0
2,933
package de.voidnode.trading4j.functionality.expertadvisor; import static java.util.Arrays.asList; import de.voidnode.trading4j.api.ExpertAdvisor; import de.voidnode.trading4j.domain.marketdata.MarketData; import de.voidnode.trading4j.domain.marketdata.impl.BasicMarketData; import org.junit.Before; import org.junit.T...
rbi/trading4j
core/src/test/java/de/voidnode/trading4j/functionality/expertadvisor/MarketDataDistributorTest.java
Java
gpl-3.0
1,802
class TournamentController < ApplicationController include TournamentHelper include BracketHelper include ParticipantHelper load_and_authorize_resource def show @tournament = Tournament.find_by(id: params[:id]) if @tournament.nil? redirect_to tournament_index_path, alert: "Tournament #{params[:...
noxsnono/esport42_RoR
app/controllers/tournament_controller.rb
Ruby
gpl-3.0
2,089
/* Aversive++ Copyright (C) 2014 Eirbot This program is free software: you can redistribute it and/or modify it under the term...
astralien3000/aversive--
include/stm32/device/device.hpp
C++
gpl-3.0
1,238
import logging from agent import run logger = logging.getLogger(__name__) def example_experiment(): repeat = 5 avg_rew = 0.0 episodes = 100000 sleep = 0.00 params = run.getparams(episodes) reward_list = [] for i in range(repeat): reward, allparams, totrewlist, totrewavglist, greedy...
davidenitti/ML
RL/run_agent.py
Python
gpl-3.0
604
// synchronizationWithFetchAddRelaxed.cpp #include <atomic> #include <chrono> #include <iostream> #include <random> #include <thread> #include <utility> #include <vector> constexpr long long size= 100000000; constexpr long long firBound= 25000000; constexpr long long secBound= 50000000; constexpr long long thiB...
RainerGrimm/ModernesCppSource
source/synchronizationWithFetchAddRelaxed.cpp
C++
gpl-3.0
1,560
<?php // Heading $_['heading_title'] = 'Districts'; // Text $_['text_success'] = 'Success: You have modified zones!'; // Column $_['column_name'] = 'Dzongkhag'; $_['column_code'] = 'State Code'; $_['column_country'] = 'Country'; $_['column_action'] = 'Action';...
drupsta/villagebazaar
admin/language/english/localisation/zone.php
PHP
gpl-3.0
1,424
module Rooftop # The Rooftop API returns content for basic and advanced custom fields together. This module # cleans up the response, and creates a collection of ContentField objects, with which we can do # things like parse links. module Content def self.included(base) base.include Rooftop::HookCalls...
rooftopcms/rooftop-ruby
lib/rooftop/content/content_fields.rb
Ruby
gpl-3.0
4,354
timer = 500 # delay in milliseconds def toggle(): pass
librallu/RICM4Projet
tests/led/led.py
Python
gpl-3.0
57
/* * This file is part of Log4Jdbc. * * Log4Jdbc 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. * * Log4Jdbc is distributed in...
marcosemiao/log4jdbc
core/log4jdbc-driver/src/main/java/fr/ms/log4jdbc/proxy/jdbc/operation/ConnectionOperation.java
Java
gpl-3.0
5,276
/* Copyright 2011 OCAD University Copyright 2010-2011 Lucendo Development Ltd. Licensed under the Educational Community License (ECL), Version 2.0 or the New BSD license. You may not use this file except in compliance with one these Licenses. You may obtain a copy of the ECL 2.0 License and BSD License at https://git...
gregrgay/booking
Web/scripts/infusion/framework/core/js/FluidIoC.js
JavaScript
gpl-3.0
54,696
<?php namespace calavera\customerBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Bugs * * @ORM\Table(name="bugs") * @ORM\Entity */ class Bugs { /** * @var string * * @ORM\Column(name="id", type="string", length=36, nullable=false) * @ORM\Id * @ORM\GeneratedValue(strategy="IDEN...
uetiko/calaveraportal
src/calavera/customerBundle/Entity/Bugs.php
PHP
gpl-3.0
9,843
/* * This file is part of AlesharikWebServer. * * AlesharikWebServer 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 vers...
alesharik/AlesharikWebServer
api/src/com/alesharik/webserver/api/qt/QSize.java
Java
gpl-3.0
1,790