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 net.geforcemods.securitycraft.items; import java.util.List; import net.geforcemods.securitycraft.ConfigHandler; import net.geforcemods.securitycraft.SCContent; import net.geforcemods.securitycraft.api.IModuleInventory; import net.geforcemods.securitycraft.api.IOwnable; import net.geforcemods.securitycraft.api...
Geforce132/SecurityCraft
src/main/java/net/geforcemods/securitycraft/items/AdminToolItem.java
Java
gpl-3.0
6,318
<?php namespace App\Model; use Fn; use PDO; use stdClass; use Exception; use App\Model; use App\Config; use App\Messages\MessageInterface; use App\Exceptions\NotFoundException; use App\Exceptions\ValidationException; use App\Exceptions\DatabaseInsertException; use App\Exceptions\DatabaseUpdateException; class Messag...
mikegioia/libremail
webmail/src/Model/Message.php
PHP
gpl-3.0
41,059
<?php class Deliverable { /** * @var */ protected $_did; /** * @var */ protected $_dName; /** * @var */ protected $_startDate; /** * @var */ protected $_endDate; /** * @var */ protected $_sid; /** * Deliverable con...
COMP353-S16/crsmgr
includes/classes/Deliverable.php
PHP
gpl-3.0
2,039
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Crystalbyte.Paranoia.Data.SQLite; namespace Crystalbyte.Paranoia.Data { [Table("mail_address")] internal class MailAddress { [Key] [Column("id")] public Int64 Id {...
crystalbyte/paranoia
src/Crystalbyte.Paranoia/Data/MailAddress.cs
C#
gpl-3.0
873
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ /* Sonic Visualiser An audio file viewer and annotation editor. Centre for Digital Music, Queen Mary, University of London. This file copyright 2006 Chris Cannam and QMUL. This program is free software; you can redi...
praaline/Praaline
svgui/view/Overview.cpp
C++
gpl-3.0
9,287
# -*- coding: utf-8 -*- # Copyright: (c) 2018, Ansible Project # Copyright: (c) 2018, Abhijeet Kasurde <akasurde@redhat.com> # Simplified BSD License (see licenses/simplified_bsd.txt or https://opensource.org/licenses/BSD-2-Clause) from __future__ import absolute_import, division, print_function __metaclass__ = type ...
2ndQuadrant/ansible
lib/ansible/module_utils/vmware_rest_client.py
Python
gpl-3.0
13,483
# NOTE: this should inherit from (object) to function correctly with python 2.7 class CachedProperty(object): """ A property that is only computed once per instance and then stores the result in _cached_properties of the object. Source: https://github.com/bottlepy/bottle/commit/fa7733e075da0d790d809aa3...
psy0rz/zfs_autobackup
zfs_autobackup/CachedProperty.py
Python
gpl-3.0
1,252
/** * Copyright (C) 2013 Open Whisper Systems * * 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...
CyanogenMod/android_external_whispersystems_libwhisperpush
src/org/whispersystems/whisperpush/crypto/PreKeyUtil.java
Java
gpl-3.0
7,320
<?php namespace CnesMeteo\User\Components; use CnesMeteo\Localization\Models\Country; use CnesMeteo\Localization\Models\Province; use CnesMeteo\Localization\Models\State; use CnesMeteo\User\Models\Group; use CnesMeteo\User\Models\Organization; use CnesMeteo\User\Models\Classroom; use CnesMeteo\User\Models\Site; use Cn...
CNESmeteo/cnesmeteo
user/components/Account.php
PHP
gpl-3.0
21,964
/* * Copyright 2016(c) The Ontario Institute for Cancer Research. All rights reserved. * * This program and the accompanying materials are made available under the terms of the GNU Public * License v3.0. You should have received a copy of the GNU General Public License along with this * program. If not, see <http:...
CancerCollaboratory/billing
billing-ui/src/services/reports/makeDummyReport.js
JavaScript
gpl-3.0
2,843
package ase2016.introclass.median; public class introclass_95362737_003 { public introclass_95362737_003() { } /*@ @ requires true; @ ensures ((\result == \old(a)) || (\result == \old(b)) || (\result == \old(c))); @ ensures ((\old(a)!=\old(b) || \old(a)!=\old(c)) ==> ( ((\old(a)==\old(b))...
zeminlu/comitaco
tests/ase2016/introclass/median/introclass_95362737_003.java
Java
gpl-3.0
1,159
/** * Copyright (C) 10/13/15 smokey <sparkoneits420@live.com> * <p> * 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 versio...
sparkoneits420/JChat
src/org/jchat/event/Event.java
Java
gpl-3.0
898
<? // MySQL compat mode for php 4: // define mysqli_*() functions from mysql_*() ones if MYSQLI is not available // loosely, only defined functions that are actually in use by mysql plugin. if (!function_exists("mysqli_connect")) { // definitions // define("MYSQLI_ASSOC", MYSQL_ASSOC); // functions ...
nil0x42/phpsploit
src/api/php-functions/mysqli_compat.php
PHP
gpl-3.0
1,243
import React, { Component } from 'react' import { Button, Dropdown, Icon, Image, Form, Modal, Segment } from 'semantic-ui-react' import tr from '../app/utils/Translation'; const verticallyCenteredTextStyle = { display: 'inline-flex', alignItems: 'center' } const verticallyCenteredContainerStyle = { display: 'fl...
sedooe/cevirgec
stories/ActiveDictionarySelector.js
JavaScript
gpl-3.0
1,527
package com.ofte.services; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.P...
MithunThadi/OFTE
SourceCode/new ofte with del monitor/com.ofte.services/FilesProcessorService.java
Java
gpl-3.0
20,407
/** ***** BEGIN LICENSE BLOCK ***** * * Copyright (C) 2019 Marc Ruiz Altisent. All rights reserved. * * This file is part of FoxReplace. * * FoxReplace 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, ...
Woundorf/foxreplace
sidebar/sidebar.js
JavaScript
gpl-3.0
1,985
/***************************************************************************** * * * MinionReloggerLib 0.x Beta -- https://github.com/Vipeax/MinionRelogger * * Copyright (C) 2013, Robert van den Boorn * * ...
GabiHulea/MinionLauncherCustom
AlternativeSchedulerComponent/AlternativeSchedulerComponent.cs
C#
gpl-3.0
8,765
from vsg.rules import token_prefix from vsg import token lTokens = [] lTokens.append(token.signal_declaration.identifier) class rule_008(token_prefix): ''' This rule checks for valid prefixes on signal identifiers. Default signal prefix is *s\_*. |configuring_prefix_and_suffix_rules_link| **V...
jeremiah-c-leary/vhdl-style-guide
vsg/rules/signal/rule_008.py
Python
gpl-3.0
705
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2019-2021 OpenFOAM Foundation \\...
OpenFOAM/OpenFOAM-dev
src/rigidBodyState/rigidBodyState.C
C++
gpl-3.0
4,621
//Copyright (c) 2011 Municipalidad de Rosario and Coop. de Trabajo Tecso Ltda. //This file is part of SIAT. SIAT is licensed under the terms //of the GNU General Public License, version 3. //See terms in COPYING file or <http://www.gnu.org/licenses/gpl.txt> package ar.gov.rosario.siat.def.buss.dao; import org.hiberna...
avdata99/SIAT
siat-1.0-SOURCE/src/buss/src/ar/gov/rosario/siat/def/buss/dao/ColEmiMatDAO.java
Java
gpl-3.0
1,097
package com.hadroncfy.jphp.jzend; import com.hadroncfy.jphp.jzend.types.typeInterfaces.Zval; /** * Created by cfy on 16-9-1. */ public interface VM { void push(Zval val); Zval pop(); Zval peek(); void echo(String s); void exit(Zval ret); void retour(Zval zval); void doThrow(Zval zval); ...
Hadron67/jphp
src/com/hadroncfy/jphp/jzend/VM.java
Java
gpl-3.0
571
package me.mrCookieSlime.Slimefun.Objects.SlimefunItem.machines; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.InvUtils; import me.mrCookieSlime.CSCoreLibPlugi...
Joapple/Slimefun4
src/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/machines/AutoEnchanter.java
Java
gpl-3.0
5,591
<?xml version="1.0" ?><!DOCTYPE TS><TS language="es_DO" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About hackcoin</source> <translation type="unfinished"/> </message> <message> <location li...
borzalom/XtraBYtes
src/qt/locale/xtrabytes_es_DO.ts
TypeScript
gpl-3.0
119,551
#!/usr/bin/python # Author: Thomas Goodwin <btgoodwin@geontech.com> import urllib2, json, os, sys, re def download_asset(path, url): asset_path = None try: file_name = os.path.basename(url) asset_path = os.path.join(path, file_name) if os.path.exists(asset_path): # Skip do...
Geontech/docker-redhawk-ubuntu
Dockerfiles/files/build/ide-fetcher.py
Python
gpl-3.0
1,661
/***************************************************************************** * Copyright 2015-2020 Alexander Barthel alex@littlenavmap.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, eit...
albar965/littlenavmap
src/gui/statusbareventfilter.cpp
C++
gpl-3.0
2,192
/* * Copyright 2012 Aarhus University * * Licensed under the GNU General Public License, Version 3 (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.gnu.org/licenses/gpl-3.0.html * * Unless required by applicabl...
cs-au-dk/Artemis
artemis-code/src/concolic/solver/constraintwriter/z3str.cpp
C++
gpl-3.0
7,077
#include "musicabstractfloatwidget.h" MusicAbstractFloatWidget::MusicAbstractFloatWidget(QWidget *parent) : QLabel(parent) { m_animation = new QPropertyAnimation(this, "geometry", this); m_animation->setDuration(500); m_blockAnimation = false; } MusicAbstractFloatWidget::~MusicAbstractFloatWidget() { ...
Greedysky/TTKMusicplayer
TTKModule/TTKWidget/musicCoreKits/musicabstractfloatwidget.cpp
C++
gpl-3.0
1,081
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SFML.Graphics; using SFML.Window; using System.Diagnostics; using System.Threading; namespace Presentation { class MyProgram : SFMLProgram { RenderWindow window; private bo...
binarygondola/travelling-salesman
MyProgram.cs
C#
gpl-3.0
2,920
<?php /** * WordPress Coding Standard. * * @package WPCS\WordPressCodingStandards * @link https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards * @license https://opensource.org/licenses/MIT MIT */ namespace WordPress\Sniffs\Security; use WordPress\AbstractFunctionParameterSniff; /** * W...
jazzsequence/games-collector
vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Security/PluginMenuSlugSniff.php
PHP
gpl-3.0
2,957
#include "GuiManager.h" #include "Shader.h" #include "TextureData.h" #include "Component.h" #if defined(GLES2) #include <GLES2/gl2.h> #elif defined(GLES3) #include <GLES3/gl3.h> #else #include <GL/glew.h> #endif #include <glm/gtx/transform.hpp> TextureData *m_textureData; Shader *m_shader; static int g_AttribLocati...
Shervanator/Engine
src/engine/GuiManager.cpp
C++
gpl-3.0
15,379
//---------------------------------------------------------------------------- // Copyright (C) 2004-2017 by EMGU Corporation. All rights reserved. //---------------------------------------------------------------------------- using System; using Emgu.CV; #if UNITY_ANDROID || UNITY_IOS || UNITY_STANDALONE || ...
neutmute/emgucv
Emgu.CV/Color/Rgb565.cs
C#
gpl-3.0
3,489
/* * Copyright (C) 2020 GG-Net GmbH * * 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 distri...
gg-net/dwoss
ui/receipt/src/test/java/eu/ggnet/dwoss/receipt/ui/tryout/fx/CdiFxSaft.java
Java
gpl-3.0
1,487
using System.Data.OracleClient; using DataCommander.Providers2; namespace DataCommander.Providers.OracleClient { internal class DataParameterImp : DataParameterBase { public DataParameterImp(OracleParameter parameter) #pragma warning disable CS0618 // Type or member is obsolete : base(par...
csbernath/DataCommander
DataCommander/.NetFramework-4.8/Providers/DataCommander.Providers.OracleClient/DataParameterImp.cs
C#
gpl-3.0
669
import { ConflictException } from '@nestjs/common'; /** * An exception that occurs whenever a resource being created already exists. */ export class ResourceAlreadyExistException extends ConflictException {}
gavenda/yondene
src/api/app/shared/exceptions/resource-already-exist.exception.ts
TypeScript
gpl-3.0
211
/* * Copyright (C) 2003, 2004, 2005, 2007, 2009 Apple Inc. All rights reserved. * Copyright 2010, The Android Open Source Project * * 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 c...
cs-au-dk/Artemis
WebKit/Source/WebCore/bridge/jni/jsc/JavaMethodJSC.cpp
C++
gpl-3.0
5,765
package com.bioxx.tfc2.handlers; import java.util.*; import net.minecraft.init.Blocks; import net.minecraftforge.fml.common.FMLCommonHandler; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import net.minecraftforge.fml.relauncher.Side; import com.bioxx.jmapgen.IslandMap; import com.bioxx.jmapgen....
Precision-Smelter/TFC2
src/Common/com/bioxx/tfc2/handlers/CreateDungeonHandler.java
Java
gpl-3.0
8,748
from setuptools import setup def readme(): with open('README.rst') as f: return f.read() setup(name='MapperTools', packages=['MapperTools'], version='0.1', description='A python 2.7 implementation of Mapper algorithm for Topological Data Analysis', keywords='mapper TDA python', ...
alpatania/MapperTools
setup.py
Python
gpl-3.0
791
package net.ess3.api.events; import com.earth2me.essentials.signs.EssentialsSign; import net.ess3.api.IUser; import org.bukkit.event.HandlerList; /** * Fired when an Essentials sign is interacted with. * * This is primarily intended for use with EssentialsX's sign abstraction - external plugins should not listen o...
drtshock/Essentials
Essentials/src/main/java/net/ess3/api/events/SignInteractEvent.java
Java
gpl-3.0
779
/* ****************************************************************** ** ** OpenSees - Open System for Earthquake Engineering Simulation ** ** Pacific Earthquake Engineering Research Center ** ** ** ** ...
lcpt/xc
src/domain/mesh/element/special/frictionBearing/FlatSliderSimple2d.cpp
C++
gpl-3.0
20,307
/* * Copyright (C) 2008 Universidade Federal de Campina Grande * * This file is part of Commune. * * Commune is free software: you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License as published by the Free * Software Foundation, either version 3 of the License, o...
OurGrid/commune
src/main/test/br/edu/ufcg/lsd/commune/functionaltests/data/remoteparameters/MyInterface6.java
Java
gpl-3.0
991
// Copyright 2008 Isis Innovation Limited #include "ptam/construct/small_blurry_image.h" #include <cvd/utility.h> #include <cvd/convolution.h> #include <cvd/vision.h> #include <TooN/se2.h> #include <TooN/Cholesky.h> #include <TooN/wls.h> //using namespace CVD; using namespace std; namespace ptam { CVD::ImageRef Smal...
williammc/ptam_plus
ptam/construct/small_blurry_image.cc
C++
gpl-3.0
8,238
using System; using System.Security.Cryptography; using System.Text; namespace ClientManagerNotifier.Helpers { /// <summary> /// The hash helper. /// </summary> public static class HashHelper { /// <summary> /// Calculates the hash. /// </summary> /// <param name="or...
kirmir/ClientManager
ClientManagerNotifier/Helpers/HashHelper.cs
C#
gpl-3.0
796
package org.codeandmagic.affected.svn; // @affects: SvnProjectProcessor /** Retrieves the content of a file from the svn. */ public interface SvnFileContentRetriever { /** * @param project * the svn project object * @param filePath * the path to the file whose content we want * @para...
evelyne24/Affected
affected-core/src/main/java/org/codeandmagic/affected/svn/SvnFileContentRetriever.java
Java
gpl-3.0
700
<?php class Radicacion { /** * Clase que maneja los Historicos de los documentos * * @param int Dependencia Dependencia de Territorial que Anula * @db Objeto conexion * @access public */ // VARIABLES DE DATOS PARA LOS RADICADOS var $db; var $tipRad; var $radiTipoDeri; var $nivelRad...
anicma/orfeo
include/tx/Radicacion.php
PHP
gpl-3.0
8,089
# Copyright 2013-2015 Lenna X. Peterson. All rights reserved. from .meta import classproperty class AtomData(object): # Maximum ASA for each residue # from Miller et al. 1987, JMB 196: 641-656 total_asa = { 'A': 113.0, 'R': 241.0, 'N': 158.0, 'D': 151.0, 'C': 140...
lennax/util
util/atom_data.py
Python
gpl-3.0
6,616
using System; using AoM; using Newtonsoft.Json; using Units; namespace Maps { /// <summary> /// Represents a single population rule /// </summary> public class PopulationRule { /// <summary> /// This is requiered to have access to other rules, so these rules are not forceful independent /// </summary> [Js...
karv/Art-of-Meow
Maps/PopulationRule.cs
C#
gpl-3.0
1,529
<?php return array( 'modulus_crud' => array( 'defaultReadTemplate' => 'modulus-ui/crud/read', 'defaultCreateTemplate' => 'modulus-ui/crud/create', 'defaultUpdateTemplate' => 'modulus-ui/crud/update', 'defaultViewTemplate' => 'modulus-ui/crud/view', ), 'view_manager' => array(...
leandro-lugaresi/leandrolugaresi
module/ModulusUI/config/module.config.php
PHP
gpl-3.0
907
/* * Copyright 2010 Pablo Arrighi, Alex Concha, Miguel Lezama for version 1. * Copyright 2013 Pablo Arrighi, Miguel Lezama, Kevin Mazet for version 2. * * This file is part of GOOL. * * GOOL is free software: you can redistribute it and/or modify it under the terms of the GNU * General Public License as publ...
librecoop/GOOL
src/gool/ast/system/SystemCommandCall.java
Java
gpl-3.0
1,272
/******************************************************************************* * Copyright (c) 2006 Subclipse project and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is...
apicloudcom/APICloud-Studio
org.tigris.subversion.subclipse.ui/src/org/tigris/subversion/subclipse/ui/authentication/UserPromptDialog.java
Java
gpl-3.0
3,794
#include "Meta_temporary_type.hpp" #include "../colors.h" #if COMPILER #include "../compiler/Compiler.hpp" #endif namespace ls { bool Meta_temporary_type::operator == (const Type* type) const { return false; } int Meta_temporary_type::distance(const Type* type) const { return -1; } #if COMPILER llvm::Type* Meta_tem...
5Pilow/LeekScript
src/type/Meta_temporary_type.cpp
C++
gpl-3.0
768
var searchData= [ ['unbancategories',['unbanCategories',['../classunban_categories.html',1,'']]], ['unbancategorieshandler',['unbanCategoriesHandler',['../classunban_categories_handler.html',1,'']]], ['unbanformrecaptcha',['unbanFormRecaptcha',['../classunban_form_recaptcha.html',1,'']]], ['unbanformselectcateg...
labscoop/xortify
azure/docs/html/search/classes_75.js
JavaScript
gpl-3.0
676
/******************************************************************************* * This application simulates turn-based games hosted on a server. * Copyright (C) 2014 * Initiators : Fabien Delecroix and Yoann Dufresne * Developpers : Raphael Bauduin and Celia Cacciatore * * This program is free...
yoann-dufresne/Turn-Based-Game
src/main/java/games/hotpotato/HotPotatoHost.java
Java
gpl-3.0
1,601
/* * NonNlsMessages.java * Copyright 2008-2014 Gamegineer contributors and others. * All rights reserved. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the ...
gamegineer/dev
main/table/org.gamegineer.table.net.impl/src/org/gamegineer/table/internal/net/impl/node/common/messages/NonNlsMessages.java
Java
gpl-3.0
2,438
/** * @author Michele Tomaiuolo - http://www.ce.unipr.it/people/tomamic * @license This software is free - http://www.gnu.org/licenses/gpl.html */ #include "fifteenmodel.h" FifteenModel::FifteenModel(int rows, int columns) : silent(false), FifteenPuzzle(rows, columns) { } void FifteenModel::shuffle() { si...
Pio1962/fondinfo
2012/proj-1-2009-fifteen-model/fifteenmodel.cpp
C++
gpl-3.0
643
/* * libgpgme-sharp - .NET wrapper classes for libgpgme (GnuPG Made Easy) * Copyright (C) 2008 Daniel Mueller <daniel@danm.de> * * 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 Foundatio...
patrickkostjens/OutlookPrivacyPlugin
3rdParty/gpgme-sharp/gpgme-sharp/Interop/_gpgme_op_sign_result.cs
C#
gpl-3.0
1,334
#!D:\PycharmProjects\UFT\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==0.6c11','console_scripts','easy_install' __requires__ = 'setuptools==0.6c11' import sys from pkg_resources import load_entry_point sys.exit( load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')() )
hardanimal/UFT_UPGEM
Scripts/easy_install-script.py
Python
gpl-3.0
309
package de.beuth.sp.screbo.eventBus.events; import de.beuth.sp.screbo.database.Retrospective; /** * Superclass for all retrospective based events. * * @author volker.gronau * */ @SuppressWarnings("serial") public class RetrospectiveEvent extends ScreboEvent { protected Retrospective retrospective; public Ret...
ScreboDevTeam/Screbo
src/de/beuth/sp/screbo/eventBus/events/RetrospectiveEvent.java
Java
gpl-3.0
615
/*********************************************************************** This file is part of KEEL-software, the Data Mining tool for regression, classification, clustering, pattern mining and so on. Copyright (C) 2004-2010 F. Herrera (herrera@decsai.ugr.es) L. Sánchez (luciano@uniovi.es) J. Alcalá-Fde...
adofsauron/KEEL
src/keel/GraphInterKeel/datacf/util/KeelFileFilter.java
Java
gpl-3.0
2,920
#ifndef INCLUDE_MODEL_TASK_HPP_ #define INCLUDE_MODEL_TASK_HPP_ #include <unordered_map> #include "building.hpp" #include "entity.hpp" #include "item.hpp" #include "tile.hpp" namespace villa { /** * Task data union. */ struct taskdata { taskdata(std::pair<int, int> target_coords); taskdata(std::pair<int, i...
Netflux/Villa
include/model/task.hpp
C++
gpl-3.0
1,286
<?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/nl/mimetypes.php
PHP
gpl-3.0
1,639
/* * File: city.cpp * Author: matthew * * Created on 24 October 2013, 20:28 */ #include <gtk/gtk.h> #include <iostream> #include <stdlib.h> /* abs */ #include "city.h" #include "unit_ref.h" #include "includes.h" using namespace std; cCity::cCity(gint iCityPlayerId_, gint iCellX_, gint iCellY_, gint iCit...
mmcnicol/StratConClone-GTK-CPP
src/city.cpp
C++
gpl-3.0
2,986
/* * Copyright (c) 2010-2012 Matthias Klass, Johannes Leimer, * Rico Lieback, Sebastian Gabriel, Lothar Gesslein, * Alexander Rampp, Kai Weidner * * This file is part of the Physalix Enrollment System * * Foobar is free software: you can redistribute it and/or modify * it under the t...
physalix-enrollment/physalix
Common/src/main/java/hsa/awp/common/model/TemplateType.java
Java
gpl-3.0
1,347
package cn.eoe.app.https; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.List; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.HttpStatus; import org.apache.http.HttpVersion; import org.apache.http.Na...
WallaceLiu/yf-app
source/src/cn/eoe/app/https/CustomHttpClient.java
Java
gpl-3.0
6,432
<?php // Text $_['text_subject'] = '%s - Product Review'; $_['text_waiting'] = 'You have a new product review waiting.'; $_['text_product'] = 'Product: %s'; $_['text_reviewer'] = 'Reviewer: %s'; $_['text_rating'] = 'Rating: %s'; $_['text_rating_accuracy'] = 'Delivery Accuracy Rating: %s'; $_['text_review'] = 'Review Te...
fwahyudi17/ofiskita
catalog/language/english/mail/review.php
PHP
gpl-3.0
457
class User < ActiveRecord::Base class ClearanceError < StandardError; end class SuicideError < StandardError; end class DecapitateError < StandardError; end ERROR = { :clearance => "Not enough clearance to perform this operation.", :decapitate => "You are the only one administrator. Choose a heir...
txemagon/Q
app/models/user.rb
Ruby
gpl-3.0
2,284
Meteor.methods({ 'deviceId/isClaimed': function(deviceId) { check(deviceId, String); return isClaimed(deviceId) }, 'deviceId/gen': function() { return gen(); }, 'deviceId/store': function(deviceId) { check(deviceId, String); return store(deviceId); }, }); var isClaimed = function(devi...
marvinmarnold/meteor-cordova-device-id
device-id-server.js
JavaScript
gpl-3.0
767
<?php require '../app_code/cmncde/connect_pg.php'; //var_dump($_POST); set_time_limit(3000); $sendIndvdl = isset($_POST['sendIndvdl']) ? cleanInputData($_POST['sendIndvdl']) : TRUE; $msgTyp = isset($_POST['msgTypeCombo']) ? cleanInputData($_POST['msgTypeCombo']) : 'Email'; $toAddresses = isset($_POST['toAddresses']) ?...
rhomicom-systems-tech-gh/Rhomicom-ERP-Web
xchange/mailer/sendSMS.php
PHP
gpl-3.0
2,976
# Author: Jason Lu import urllib.request from bs4 import BeautifulSoup import time req_header = {'User-Agent':'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11', 'Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', #'Accept-Language': 'en-U...
jinzekid/codehub
python/lyutil/ly_proxy_test.py
Python
gpl-3.0
3,046
/* * PROJECT: NyARToolkitCS * -------------------------------------------------------------------------------- * The NyARToolkitCS is C# edition ARToolKit class library. * Copyright (C)2008-2009 Ryo Iizuka * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU G...
Vanlalhriata/CameraPositioner
AugmentedReality/NyARToolkit/core/types/stack/NyARObjectStack.cs
C#
gpl-3.0
4,238
var direccion = '/api/Usuarios/' + sessionStorage.userId + '?access_token=' + sessionStorage.userToken; var nombre; /* Eliminar los valores de sesión */ function eliminarStorage(){ sessionStorage.removeItem("userToken"); sessionStorage.removeItem("userId"); sessionStorage.removeItem("userTtl"); sessionStorage.rem...
Salva79/ProyectoViaje
client/js/usuario.js
JavaScript
gpl-3.0
2,438
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { MdButtonModule, MdCardModule, MdProgressSpinnerModule, MdIconModule } from '@angular/material'; import { AvailableSponsorsComponent } from './available-sponsors/available-sponsors.component'; import { SponsorsRoutingModul...
things-cx/ThingsWebApp
Things.WebApp/src/app/sponsors/sponsors.module.ts
TypeScript
gpl-3.0
703
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); /** * Controller that gets called by the 'cli.php' entry script * * * * @author Claus Beerta <claus@beerta.de> */ class Cli extends Controller { /** * Cron Updater updates the EveApi XML Caches for all characters found in the Da...
CBeerta/EveTool
application/controllers/cli.php
PHP
gpl-3.0
1,374
<?php namespace SMW\SQLStore\QueryEngine\DescriptionInterpreters; use SMW\Query\Language\Description; use SMW\Query\Language\NamespaceDescription; use SMW\SQLStore\QueryEngine\DescriptionInterpreter; use SMW\SQLStore\QueryEngine\QuerySegment; use SMW\SQLStore\QueryEngine\QuerySegmentListBuilder; use SMWSql3SmwIds; /...
kylethayer/bioladder
wiki/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/DescriptionInterpreters/NamespaceDescriptionInterpreter.php
PHP
gpl-3.0
1,641
<?php /** * Created by PhpStorm. * User: dimkasta * Date: 28/08/16 * Time: 03:49 */ namespace Iconic; class UserName extends Property { public function sanitize() { $this->log("Sanitizing"); $this->dirty = htmlspecialchars ($this->dirty); } public function isPropertyValid() ...
dimkasta/F3-UAM
src/Iconic/UserName.php
PHP
gpl-3.0
818
#include "subfind.hh" namespace tao { namespace subfind { void make_hdf5_types( h5::datatype& mem_type, h5::datatype& file_type ) { // Create memory type. mem_type.compound( sizeof(halo) ); mem_type.insert( h5::datatype::native_int, "descendant", HOFFSET( halo, descendant ) ); me...
IntersectAustralia/asvo-tao
science_modules/base/src/subfind.cc
C++
gpl-3.0
4,276
/* (c) winniehell (2012) This file is part of the game Battle Beavers. Battle Beavers 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 ...
winniehell-wasteland/beavers
app/src/de/winniehell/battlebeavers/storage/WayPointDeserializer.java
Java
gpl-3.0
2,546
<?php namespace si_classes; class BackupDb { private $output; private $pdoDb; public function __construct() { $this->output = ""; global $environment; $this->pdoDb = new PdoDb(new DbInfo(CONFIG_FILE_PATH, $environment, "database")); } public function start_backup($filenam...
fearless359/simpleinvoices_zend2
si_classes/BackupDb.php
PHP
gpl-3.0
1,725
/* * Add a new ingredient form to the bottom of the formset */ function add_ingredient() { // Find the empty form var empty_form = $("#uses-formset .ingredient.empty-form"); // Clone it and remove the unneeded classes to get a new form var new_form = empty_form.clone(); new_form.removeClass('empty-form'); new...
Gargamel1989/Seasoning-old
Seasoning/recipes/static/js/edit_recipe_ingredients.js
JavaScript
gpl-3.0
5,602
using Chronos.Client.Win.Java.BasicProfiler.Properties; using Chronos.Client.Win.Menu.Specialized; using Chronos.Client.Win.Models; using Chronos.Client.Win.Models.Java.BasicProfiler; using Chronos.Client.Win.ViewModels.Profiling; using Chronos.Java.BasicProfiler; namespace Chronos.Client.Win.Menu.Java.BasicProfiler ...
AndreiFedarets/chronosprofiler
source/Chronos.Client.Win.Java.BasicProfiler/Chronos.Client.Win.Java.BasicProfiler/Menu/AssembliesMenuItem.cs
C#
gpl-3.0
1,014
/* * 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 version 3 o...
appnativa/rare
source/rare/core/com/appnativa/rare/converters/NumberContext.java
Java
gpl-3.0
2,395
#region Copyright Notice /* * gitter - VCS repository management tool * Copyright (C) 2013 Popovskiy Maxim Vladimirovitch <amgine.gitter@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 published by * the Free S...
amgine/gitter
gitter.ui.prj/Controls/ListBoxes/LocalRepositoriesListBox.cs
C#
gpl-3.0
2,468
package the.bytecode.club.bytecodeviewer.util; import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.TreeMap; import java.util.regex.Pattern; /*************************************************************************** * Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suit...
Konloch/bytecode-viewer
src/main/java/the/bytecode/club/bytecodeviewer/util/MethodParser.java
Java
gpl-3.0
5,935
#ifndef UIVISIBILITYBASE_HPP #define UIVISIBILITYBASE_HPP /* This file is part of AlgAudio. AlgAudio, Copyright (C) 2015 CeTA - Audiovisual Technology Center AlgAudio 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 F...
rafalcieslak/algAudio
libalgaudio/include/UI/UIVisibilityBase.hpp
C++
gpl-3.0
2,105
using ExpressBase.Objects.ServiceStack_Artifacts; using Microsoft.AspNetCore.Mvc; using ServiceStack; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ExpressBase.Web.Components { public class SearchUserViewComponent : ViewComponent { ...
ExpressBaseSystems/ExpressBase.Web
Components/SearchUserViewComponent.cs
C#
gpl-3.0
534
intelli = { /** * Name of the current page */ pageName: '', securityTokenKey: '__st', lang: {}, /** * Check if value exists in array * * @param {Array} val value to be checked * @param {String} arr array * * @return {Boolean} */ inArray: function...
intelliants/subrion
js/intelli/intelli.js
JavaScript
gpl-3.0
24,710
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package builtin.matcher; import builtin.BuiltinSub; import gui.Constants; import gui.MintException; import gui.Pointer; import gui.PointerTools; import gui.SmartList; /** * @author Oliver Chu */ public class Matches ...
Carrotlord/MintChime-Editor
builtin/matcher/Matches.java
Java
gpl-3.0
9,689
/** * Exports lists of modules to be bundled as external "dynamic" libraries * * (@see webpack DllPlugin and DllReferencePlugin) */ module.exports = { 'angular_dll': [ 'angular', 'angular/angular.min', 'angular-animate', 'angular-bootstrap', 'angular-bootstrap-colorpicker', 'angular-breadc...
stefk/Distribution
main/core/Resources/server/webpack/libraries.js
JavaScript
gpl-3.0
870
/** * 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/example/set/Partition.java
Java
gpl-3.0
8,599
## # This module requires Metasploit: http://metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## require 'msf/core' class Metasploit3 < Msf::Auxiliary # Exploit mixins should be called first include Msf::Exploit::Remote::SMB::Client::Psexec include Msf::Auxiliary::Report ...
cSploit/android.MSF
modules/auxiliary/scanner/smb/psexec_loggedin_users.rb
Ruby
gpl-3.0
8,147
package apache.org.google; import android.content.Context; import android.util.Log; import cs.entity.AdBasicInfo; import cs.entity.AdStatus; import cs.gson.Gson; import cs.network.configs.Config; import cs.network.request.PageAbleRequest; import cs.network.result.InterfaceResult; public class AddAppReportR...
justingboy/Animation
Demo/src/apache/org/google/AddAppReportRequest.java
Java
gpl-3.0
1,749
export class User { loginName?: string; loginPassword?: string; userId?: number; }
btamilselvan/tamils
ajweb/src/main/angular/src/app/models/user.ts
TypeScript
gpl-3.0
95
<?php // added in v4.0.5 use Facebook\FacebookHttpable; use Facebook\FacebookCurl; use Facebook\FacebookCurlHttpClient; // added in v4.0.0 use Facebook\FacebookSession; use Facebook\FacebookRedirectLoginHelper; use Facebook\FacebookRequest; use Facebook\FacebookResponse; use Facebook\FacebookSDKException; use Facebo...
Puskice/PuskiceCMS
app/controllers/LoginController.php
PHP
gpl-3.0
39,077
/* * Copyright (C) 2017 The "MysteriumNetwork/node" 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. * ...
MysteriumNetwork/node
cmd/commands/cli/command.go
GO
gpl-3.0
15,923
import tensorflow as tf import matplotlib.pyplot as plt import math x_node = tf.random_uniform([1], minval=-1, maxval=1, dtype=tf.float32, name='x_node') y_node = tf.random_uniform([1], minval=-1, maxval=1, dtype=tf.float32, name='y_node') times = 5000 hits = 0 pis = [] with tf.Session() as sessio...
thiswind/nn_practice
tensorflow/calculate_pi_old.py
Python
gpl-3.0
581
import { Component } from "@angular/core"; import { Router } from "@angular/router"; import { Order } from "classes-common/order"; import { AccountService } from "services/account.service"; import { promiseError } from "utils/utils"; @Component({ moduleId: module.id, templateUrl: "trade.component.html", }) expo...
Jygsaw/ticker-tech
web/site/trade/trade.component.ts
TypeScript
gpl-3.0
847
 <?php $json_file_path = file_get_contents("e.json"); $json_decode_value = json_decode($json_file_path , true); $username = 'root'; $password = 'masoudsam'; $monogo = new MongoClient("mongodb://${username}:${password}@localhost"); // select a database $db = $monogo->nahd; $collection = $db->khotbe; //$document ...
akbarbitaraf/NahjalBalagha
document/database/mongoDB/mongoDB.php5
PHP
gpl-3.0
672
package com.idega.data; import java.util.Vector; import java.util.List; import java.util.Iterator; import java.util.Collection; /** * Title: idega Data Objects * Description: Idega Data Objects is a Framework for Object/Relational mapping and seamless integration between datastores * Copyright: Copyrigh...
idega/platform2
src/com/idega/data/IDODependencyList.java
Java
gpl-3.0
6,476
package com.wincom.dcim.agentd; import java.util.Properties; import java.util.Set; public interface AgentdService { void registerCodecFactory(String key, CodecFactory factory); void unregisterCodecFactory(String key); Set<String> getCodecFactoryKeys(); /** * Create or get a <codec>Codec</c...
xtwxy/dcim
agentd/src/main/java/com/wincom/dcim/agentd/AgentdService.java
Java
gpl-3.0
637
/* * Copyright (C) 2010 Brockmann Consult GmbH (info@brockmann-consult.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 option) * any late...
senbox-org/snap-desktop
snap-ui/src/main/java/org/esa/snap/ui/crs/PredefinedCrsPanel.java
Java
gpl-3.0
7,335
<?php /* Smarty version Smarty-3.1.19, created on 2016-02-10 12:25:43 compiled from "D:\OpenServer\domains\Creative.mu\admin\themes\default\template\helpers\form\form_group.tpl" */ ?> <?php /*%%SmartyHeaderCode:2922356bb0217592b22-45693259%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_valid...
TiJester/creative
cache/smarty/compile/b0/ab/f3/b0abf38c00e722d8a5ea787cb2309857b777eb52.file.form_group.tpl.php
PHP
gpl-3.0
3,330