repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
sapia-oss/corus
modules/client/src/main/java/org/sapia/corus/client/common/encryption/Encryptable.java
1006
package org.sapia.corus.client.common.encryption; import org.sapia.corus.client.common.OptionalValue; /** * Specifies the behavior for encrypting/decrypting. * * @author yduchesne * */ public interface Encryptable<T> { /** * @param ctx the {@link EncryptionContext} to use for encryption. * @return a ne...
gpl-3.0
jlesquembre/jlle
jlle/releaser/vcs.py
10459
import logging import os import re import sys from jlle.releaser import pypi from jlle.releaser import utils VERSION_PATTERN = re.compile(r""" version\W*=\W* # 'version = ' with possible whitespace \d # Some digit, start of version. """, re.VERBOSE) UNDERSCORED_VERSION_PATTERN = re.compile(r""" __ve...
gpl-3.0
Theophilix/event-table-edit
site/views/appointmentform/tmpl/default.php
9345
<?php /** * $Id: default.php 144 2011-01-13 08:17:03Z kapsl $. * * @copyright (C) 2007 - 2020 Manuel Kaspar and Theophilix * @license GNU/GPL, see LICENSE.php in the installation package * This file is part of Event Table Edit * * Event Table Edit is free software: you can redistribute it and/or modify * ...
gpl-3.0
mandisimakwakwa/Camagru
sources/backEnd/config/database.php
523
<?php //Session Creator session_start(); //DB Connection Config $DB_DSN = 'mysql:host=localhost'; $DB_USER = 'root'; $DB_PASSWORD = 'password'; $DB_NAME = 'Camagru'; //DB Conn Sessions $_SESSION['dbConnDSN'] = $DB_DSN; $_SESSION['dbConnUser'] = $DB_USER; $_SESSION['dbConnP...
gpl-3.0
glitchwrks/rails_services
app/mailers/application_mailer.rb
159
class ApplicationMailer < ActionMailer::Base default :from => 'noreply@glitchwrks.com' default :reply_to => 'noreply@glitchwrks.com' layout 'mailer' end
gpl-3.0
niebaoding/YourPhalconCms
app/backend/controllers/BaseController.php
519
<?php /** * 后台基类控制器 * @category YourPhalconCms * @copyright Copyright (c) 2016 YourPhalconCms team (http://www.ycms.com) * @license GNU General Public License 2.0 * @link www.ycms.com */ namespace MyApp\App\Backend\Controllers; use \MyApp\App\Core\PhalBaseController; class BaseController extends PhalBaseContr...
gpl-3.0
jlppc/OpMon
src/utils/StringKeys.cpp
7538
/* StringKeys.cpp Author : Cyrielle Contributor : BAKFR File under GNU GPL v3.0 license */ #include "StringKeys.hpp" #include "../opmon/model/storage/ResourceLoader.hpp" #include "./log.hpp" #include <cstdio> #include <fstream> #include <queue> #define DIALOG_LIMIT 33 namespace Utils { namespace StringKeys { ...
gpl-3.0
moldeo/moldeojs
src/app/mo-gui-manager.ts
7346
import { moText } from "./mo-text"; import { moAbstract } from "./mo-abstract"; import { MOfloat, MOdouble, MOint, MOuint, MOlong, MOulong } from "./mo-types"; import { moResource, moResourceElement, moAttribute, moAttributeArray } from "./mo-resource"; import { moVector, moVector2f, moVector3f, moVector4f, moV...
gpl-3.0
Filip-Mitov/python_movie_catalog
gui.py
14367
import sys import os from PySide.QtCore import * from PySide.QtGui import * import database pixmap_formats = [ '.bmp', '.gif', '.ico', '.jpeg', '.jpg', '.mng', '.pbm', '.pgm', '.png', '.ppm', '.tga', '.tif', '.tiff', '.xbm', '.xpm' ] movie_genres = [ "Action", "Adventure", "Animation", "Biography",...
gpl-3.0
mikel-egana-aranguren/SADI-Galaxy-Docker
galaxy-dist/lib/galaxy/tools/__init__.py
175364
""" Classes encapsulating galaxy tools and tool configuration. """ import binascii import glob import json import logging import os import pipes import re import shutil import sys import string import tarfile import tempfile import threading import traceback import types import urllib from math import isinf from gal...
gpl-3.0
hw-manager/android
src/main/java/de/nico/ha_manager/helper/CustomToast.java
788
package de.nico.ha_manager.helper; /* * @author Nico Alt * See the file "LICENSE" for the full license governing this code. */ import android.content.Context; import android.widget.Toast; public final class CustomToast { /** * Shows a short Toast. * * @param c Needed for {@link android.widge...
gpl-3.0
ChristianGreiner/gppcc10
BringMeHome/Source/Code/CorePlugin/Colors.cs
684
using Duality.Drawing; namespace BringMeHome { public static class Colors { public static readonly ColorRgba DarkBlue = new ColorRgba(0, 50, 73); public static readonly ColorRgba BlueHover = new ColorRgba(38, 133, 165); public static readonly ColorRgba Blue = new ColorRgba(0, 126, 167); public static readon...
gpl-3.0
wizzy121/GuruFX
GuruFX/GuruFX.TestApp/Properties/AssemblyInfo.cs
1404
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Gu...
gpl-3.0
WeCase/WeCase
utils/depgraph.py
898
#!/usr/bin/python3 import sys def process_import(filename, statement): statement = statement.replace(",", " ") modules = statement.split() for module in modules[1:]: print('"%s" -> "%s"' % (filename, module)) def process_from(filename, statement): statement = statement.replace(",", " ") m...
gpl-3.0
dut3062796s/forum-1
application/controller/accessControl.js
1629
var express = require('express'); var router = express.Router(); var domain = require("../../domain"); function isAdmin(req, res, next) { if (req.session.user && req.session.user.email === "brighthas@gmail.com") { next(); } else { next(500); } } router.post("/columns/create", isAdmin); rou...
gpl-3.0
G4brym/Django-Efficient-Rest
EfficientRest/endpoints.py
8548
import json import math from django.conf import settings from django.core.exceptions import ObjectDoesNotExist from rest_framework import status from rest_framework.settings import api_settings class EndpointType(): methods = [] user = None request = None action = None input_data = None C...
gpl-3.0
EddyTrotin/ISEN_WelcomeApp
lib.php
3627
<?php /////////////////////////////////////////////////////////////////////////////////// function redirect($url) { echo "<meta http-equiv=\"refresh\" url=".$url."\" />"; echo "<script>location.replace('".$url."');</script>"; // To cope with Mozilla bug die; } ///////////////////////////////////////////////...
gpl-3.0
ReunionDev/reunion
jreunion/src/main/java/org/reunionemu/jreunion/login/LoginConnection.java
552
package org.reunionemu.jreunion.login; import java.io.IOException; import java.io.Serializable; import java.nio.channels.SocketChannel; import org.reunionemu.jreunion.network.PacketConnection; public class LoginConnection extends PacketConnection<LoginConnection> { public LoginConnection(LoginServer logi...
gpl-3.0
crypti/cryptikit
spec/lib/account_spec.rb
53
require 'account' RSpec.describe Account do end
gpl-3.0
Ciuco/OptionsOracle
OptionsOracle Updater/Properties/Resources.Designer.cs
2791
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18052 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
gpl-3.0
philip98/CaveQuest
src/de/philip/net/server/ServerThreadSend.java
778
package de.philip.net.server; import java.io.DataOutputStream; import java.io.IOException; import de.philip.net.common.PacketPlayer; import de.philip.util.Logger; public class ServerThreadSend extends Thread { public ServerThreadSend () { } @Override public void run() { while (true) { for (int uid : S...
gpl-3.0
parpg/parpg
parpg/sounds.py
2435
# This file is part of PARPG. # PARPG 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. # PARPG is distributed in the hope ...
gpl-3.0
active-citizen/shop.1c
www/local/libs/classes/CAGShop/CDB/CDB.class.php
6763
<?php namespace DB; require_once(realpath(__DIR__."/..")."/CAGShop.class.php"); use AGShop; class CDB extends \AGShop\CAGShop{ var $debug = false; /** Выполняет запросы из SQL-файла @param $sFilename - имя ыйд-afqkf @return */ ...
gpl-3.0
Altai-man/Kasatou-sources
Kasatou/user_urls.py
544
from Layers import views from django.conf.urls import patterns, url user_patterns = patterns( '', url(r'^login/$', views.Login.as_view(), name='login'), url(r'^logout/$', views.user_logout, name='logout'), url(r'^profile/$', views.Profile.as_view(), name='profile'), # Invites. url(r'^invite...
gpl-3.0
Neijwiert/C-C-Renegade-Mission-Scripts
Source/scripts/gmlog.cpp
4892
/* Renegade Scripts.dll Copyright 2013 Tiberian Technologies This file is part of the Renegade scripts.dll The Renegade scripts.dll 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 yo...
gpl-3.0
Keltek/mucommander
src/main/com/mucommander/commons/file/impl/lst/LstArchiveEntryIterator.java
3439
package com.mucommander.commons.file.impl.lst; import com.mucommander.commons.file.ArchiveEntry; import com.mucommander.commons.file.ArchiveEntryIterator; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.Inpu...
gpl-3.0
snavaneethan1/jaffa-framework
jaffa-components-printing/source/java/org/jaffa/modules/printing/components/printerdefinitionfinder/ui/PrinterDefinitionFinderComponent.java
29296
// .//GEN-BEGIN:_1_be /****************************************************** * Code Generated From JAFFA Framework Default Pattern * * The JAFFA Project can be found at http://jaffa.sourceforge.net * and is available under the Lesser GNU Public License ******************************************************/ packa...
gpl-3.0
martin-eden/workshop
concepts/daytime/to_ampm_hour.lua
445
--[[ Calculate 12h hour and AM/PM flag from 24h hour. In AM/PM there are no zero hour. 00h -> 12 a.m., 12h -> 12p.m. This function does not check that given hour number in valid range [0, 23]. It's job for other functions. ]] return function(hour) assert_integer(hour) local is_pm = (hour >= 12) ...
gpl-3.0
fisharebest/localization
test/Language/LanguageNaqTest.php
730
<?php namespace Fisharebest\Localization\Language; use Fisharebest\Localization\PluralRule\PluralRuleOneTwoOther; use Fisharebest\Localization\Script\ScriptLatn; use PHPUnit\Framework\TestCase; /** * Tests for the LanguageNaq class * * @author Greg Roach <greg@subaqua.co.uk> * @copyright (c) 2020 Greg Roach ...
gpl-3.0
digitalutsc/islandora_web_annotations
js/video/video.js
13340
var user = "anonymous"; jQuery(document).ready(function() { $ = jQuery; user = Drupal.settings.islandora_web_annotations.user; // Hide Lib related permission fields jQuery(".annotator-checkbox").hide(); jQuery("#islandora_videojs_html5_api").addClass("video-js"); jQuery("#islandora_videojs_...
gpl-3.0
Serg-Norseman/GEDKeeper
projects/GKv3/GKComponents/GKUI/Components/GKListView.cs
23964
/* * "GEDKeeper", the personal genealogical database editor. * Copyright (C) 2009-2021 by Sergey V. Zhdanovskih. * * This file is part of "GEDKeeper". * * 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 * ...
gpl-3.0
Aeronavics/MissionPlanner
ExtLibs/UAVCAN/out/include/uavcan.protocol.file.BeginFirmwareUpdate.cs
182
public partial class uavcan { const double UAVCAN_PROTOCOL_FILE_BEGINFIRMWAREUPDATE_DT_ID = 40; const double UAVCAN_PROTOCOL_FILE_BEGINFIRMWAREUPDATE_DT_SIG = 0xB7D725DF72724126; }
gpl-3.0
yohasebe/rubyplb
lib/ruby_graphviz.rb
3747
## lib/ruby_graphviz.rb -- graphviz dot generator library ## Author:: Yoichiro Hasebe (mailto: yohasebe@gmail.com) ## Copyright:: Copyright 2009 Yoichiro Hasebe ## License:: GNU GPL version 3 class RubyGraphviz ## Example: ## ## g = RubyGraphviz.new("newgraph", {:rankdir => "LR", :nodesep => "0.4", :r...
gpl-3.0
waikato-datamining/adams-base
adams-core/src/main/java/adams/gui/visualization/sequence/XYSequencePaintlet.java
1398
/* * 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...
gpl-3.0
lidarr/Lidarr
frontend/src/Settings/Profiles/Metadata/PrimaryTypeItem.js
1273
import classNames from 'classnames'; import PropTypes from 'prop-types'; import React, { Component } from 'react'; import CheckInput from 'Components/Form/CheckInput'; import styles from './TypeItem.css'; class PrimaryTypeItem extends Component { // // Listeners onAllowedChange = ({ value }) => { const { ...
gpl-3.0
jtsshieh/BonGon
events/guildCreate.js
41
module.exports = (bot, guild) => { };
gpl-3.0
j-m-c-p/diagnostico_enfermedades
www/instalador.php
2086
<!-- * * Autores: Jhonnatan Cubides, Harley Santoyo * --> <html> <head> <title>Instalador</title> <?php /* se incluye la clase BD la cual contiene las funciones para el funcionamiento del prototipo */ include ('class/BD.php'); /*Se nombra una variable para crear un nuevo objeto*/ $obj_o= new BD; /* trae...
gpl-3.0
gitools/gitools
org.gitools.ui.app/src/main/java/org/gitools/ui/app/actions/data/HideSelectionAction.java
2593
/* * #%L * gitools-ui-app * %% * Copyright (C) 2013 Universitat Pompeu Fabra - Biomedical Genomics group * %% * 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 * ...
gpl-3.0
Thiht/docktor
model/sites/sites.go
1671
package sites import ( "github.com/soprasteria/docktor/model/types" mgo "gopkg.in/mgo.v2" "gopkg.in/mgo.v2/bson" ) // Repo is the repository for projects type Repo struct { Coll *mgo.Collection } // Save a site into a database func (r *Repo) Save(site types.Site) (types.Site, error) { if site.ID.Hex() == "" { ...
gpl-3.0
DivineOmega/DecentMessaging
src/main/Main.java
11891
package main; import java.io.File; import java.io.UnsupportedEncodingException; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.math.BigInteger; import java.net.Inet4Address; import java.net.InetAddress; import java.net.NetworkInterface; import java.net.SocketExcep...
gpl-3.0
charlesyao/FXS-Platform
fxs-platform-security-core/src/main/java/com/fxs/platform/security/core/properties/ImageCodeProperties.java
525
package com.fxs.platform.security.core.properties; /** * 图片验证码配置项 * */ public class ImageCodeProperties extends SmsCodeProperties { public ImageCodeProperties() { setLength(4); } /** * 图片宽 */ private int width = 67; /** * 图片高 */ private int height = 23; public int getWidth() { return width; }...
gpl-3.0
phoronix-test-suite/phoronix-test-suite
pts-core/objects/pts_env.php
33417
<?php /* Phoronix Test Suite Copyright (C) 2021, Phoronix Media Copyright (C) 2021, Michael Larabel 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 you...
gpl-3.0
deathcap/BedrockAPI
src/main/java/org/bukkit/material/PistonExtensionMaterial.java
930
package org.bukkit.material; import org.bukkit.Material; import org.bukkit.block.BlockFace; import org.bukkit.material.Attachable; import org.bukkit.material.Directional; import org.bukkit.material.MaterialData; import org.bukkit.material.PistonExtensionMaterial; public class PistonExtensionMaterial extends Material...
gpl-3.0
HexHive/datashield
libcxx/libcxx/test/std/utilities/function.objects/func.not_fn/not_fn.pass.cpp
18694
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
gpl-3.0
skyosev/OpenCart-Overclocked
upload/catalog/controller/common/column_left.php
2563
<?php class ControllerCommonColumnLeft extends Controller { protected function index() { $this->load->model('design/layout'); $this->load->model('catalog/category'); $this->load->model('catalog/product'); $this->load->model('catalog/information'); if (isset($this->request->get['route'])) { $route = (str...
gpl-3.0
Estada1401/anuwhscript
GameServer/src/com/aionemu/gameserver/controllers/PetController.java
2954
/* * This file is part of aion-lightning <aion-lightning.com>. * * aion-lightning 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...
gpl-3.0
jamesmacwhite/Radarr
src/UI/Quality/QualityDefinitionModel.js
420
var ModelBase = require('../Settings/SettingsModelBase'); module.exports = ModelBase.extend({ baseInitialize : ModelBase.prototype.initialize, initialize : function() { var name = this.get('quality').name; this.successMessage = 'Saved ' + name + ' quality settings'; this.errorMessage ...
gpl-3.0
ShahJe/RESTBuddy
RestBuddy/Helpers/XmlHelper.cs
6755
using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Runtime.InteropServices; using System.Text; using System.Xml; using System.Xml.Xsl; using static System.Windows.Forms.ComboBox; namespace RestBuddy { public static class XmlHelper { private const string r...
gpl-3.0
GregMage/xmdoc
class/xmdoc_category.php
13518
<?php /* You may not change or alter any portion of this comment or credits of supporting developers from this source code or any supporting source code which is considered copyrighted (c) material of the original comment or credit authors. This program is distributed in the hope that it will be useful, but WITHO...
gpl-3.0
acquaman/acquaman
source/application/PGM/PGMMain.cpp
2368
/* Copyright 2010-2012 Mark Boots, David Chevrier, and Darren Hunter. Copyright 2013-2014 David Chevrier and Darren Hunter. This file is part of the Acquaman Data Acquisition and Management framework ("Acquaman"). Acquaman is free software: you can redistribute it and/or modify it under the terms of the GNU General P...
gpl-3.0
lsuits/moodle
blocks/quickmail/classes/messenger/message/data_mapper/maps_activity_data.php
1285
<?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...
gpl-3.0
FroMage/jax-doclets
doclets/src/test/java/com/lunatech/doclets/jax/test/demo/nodoc/UndocumentedQuery.java
380
package com.lunatech.doclets.jax.test.demo.nodoc; import javax.ws.rs.CookieParam; import javax.ws.rs.HeaderParam; import javax.ws.rs.MatrixParam; import javax.ws.rs.QueryParam; public class UndocumentedQuery { @CookieParam("session") String session; @HeaderParam("X-Pizza-Style") String style; @MatrixPara...
gpl-3.0
the-synister/the-source
gui/PluginEditor.cpp
1164
/* ============================================================================== This file was auto-generated by the Introjucer! It contains the basic framework code for a JUCE plugin editor. ============================================================================== */ #include "PluginProcessor.h" ...
gpl-3.0
bendude56/Dungeonman
src/main/java/com/bendude56/dungeonman/ui/GameFrame.java
15910
package com.bendude56.dungeonman.ui; import java.awt.EventQueue; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.awt.event.WindowEvent; import java.lang.reflect.InvocationTargetException; import java.util.List; impo...
gpl-3.0
pouladpld/myTTCBot
src/BusV.Ops/Models/RoutePrediction.cs
268
namespace BusV.Ops.Models { public class RoutePrediction { public string RouteTag { get; set; } public string DirectionTag { get; set; } public string RouteName { get; set; } public string DirectionName { get; set; } } }
gpl-3.0
juliomolinero/angular-modal-notify
ngAppService.js
511
/** * Services in charge of removing/adding records */ ngAppModule.service('appService', function ($http) { // Delete option function var deleteFormOption = function (itemId, callback) { // Here is where you're supposed to // implement your service to delete items from your databa...
gpl-3.0
dessalines/flowchat
service/src/main/java/com/chat/types/websocket/input/StickyData.java
495
package com.chat.types.websocket.input; import com.chat.tools.Tools; import com.chat.types.JSONWriter; import java.io.IOException; /** * Created by tyler on 6/11/16. */ public class StickyData implements JSONWriter { private Long id; private Boolean sticky; public StickyData(Long id, Boolean sticky) {...
gpl-3.0
zero1hac/songspk-download
nameextracter.py
479
import re def extract(soup): names=[] for i in soup.find_all("ul",{"class": "single-album"}): d = i.find_all("div",{"class": "song-title"}) for hf in d: a = hf.find_all("a") for it in a: if it.text: r = it.text r = r...
gpl-3.0
little-apps/little-system-cleaner
Common Tools/TagLib/IFD/Entries/SRationalArrayIFDEntry.cs
2692
// // SRationalArrayIFDEntry.cs: // // Author: // Ruben Vermeersch (ruben@savanne.be) // Mike Gemuende (mike@gemuende.de) // // Copyright (C) 2009 Ruben Vermeersch // Copyright (C) 2009 Mike Gemuende // // This library is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser ...
gpl-3.0
andlaus/opm-core
examples/sim_2p_incomp.cpp
12305
/* Copyright 2012 SINTEF ICT, Applied Mathematics. This file is part of the Open Porous Media project (OPM). OPM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (a...
gpl-3.0
psnc-dl/darceo
wrdz/wrdz-zmkd/dao/src/main/java/pl/psnc/synat/wrdz/zmkd/dao/format/FileFormatSorterBuilder.java
993
/** * Copyright 2015 Poznań Supercomputing and Networking Center * * Licensed under the GNU General Public License, Version 3.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.gnu.org/licenses/gpl-3.0.txt * * Unless...
gpl-3.0
CarlosManuelRodr/wxChaos
libs/wxMSW-3.1.4/src/generic/spinctlg.cpp
22796
/////////////////////////////////////////////////////////////////////////////// // Name: src/generic/spinctlg.cpp // Purpose: implements wxSpinCtrl as a composite control // Author: Vadim Zeitlin // Modified by: // Created: 29.01.01 // Copyright: (c) 2001 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan...
gpl-3.0
glaubersp/CEAP
resources/lang/es/strings.php
7517
<?php return [ /* |-------------------------------------------------------------------------- | Strings Language Lines |-------------------------------------------------------------------------- | | The following language lines are used in strings throughout the system. | Regardless where ...
gpl-3.0
ctactuk/raspberry_php_gpio
config/constants.php
134
<?php define('PATH_TO_SCRIPT','/home/pi/domotica/command.py'); define('ROOT_PRIVILEGES','sudo'); define('PYTHON_COMMAND','python'); ?>
gpl-3.0
jbundle/jbundle
app/program/screen/src/main/java/org/jbundle/app/program/screen/FieldDataGridScreen.java
3748
/** * @(#)FieldDataGridScreen. * Copyright © 2013 jbundle.org. All rights reserved. * GPL3 Open Source Software License. */ package org.jbundle.app.program.screen; import java.util.*; import org.jbundle.base.db.*; import org.jbundle.thin.base.util.*; import org.jbundle.thin.base.db.*; import org.jbundle.base.db.e...
gpl-3.0
DeadPixelsSociety/SonOfMars
src/local/Enemy.cc
6764
/* * Son of Mars * * Copyright (c) 2015-2016, Team Son of Mars * * 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....
gpl-3.0
astralien3000/aversive--
include/common/geometry/circle.hpp
2293
/* Aversive++ Copyright (C) 2014 Eirbot This program is free software: you can redistribute it and/or modify it under the term...
gpl-3.0
rub0/tbot
src/main/scala/com/telegram/api/UserProfilePhotos.scala
443
package com.telegram.api /** * UserProfilePhotos * * This object represent a user's profile pictures. * * @param totalCount Total number of profile pictures the target user has * @param photos Requested profile pictures (in up to 4 sizes each) */ case class UserProfilePhotos( ...
gpl-3.0
JaumeRibas/Aether2DImgMaker
CellularAutomata/src/cellularautomata/model3d/LongModel3DXZDiagonalCrossSection.java
1282
/* Aether2DImgMaker -- console app to generate images of the Aether cellular automaton in 2D Copyright (C) 2017-2022 Jaume Ribas This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, e...
gpl-3.0
Zepx/f5vpn-client-titech
f5vpn-login.py
53087
#!/usr/bin/env python """Log in to a F5 Firepass SSL VPN from a command-line, without using F5's browser-plugin and associated junk. Yay. Only for Tokyo Institute of Technology's VPN service. Works with OSX and linux, at the moment. Copyright 2006-2010, James Y Knight <foom@fuhm.net> 2010-08-30 This program is ...
gpl-3.0
UnigramDev/Unigram
Unigram/Unigram/ViewModels/DialogViewModel.Media.cs
39364
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Telegram.Td; using Telegram.Td.Api; using Unigram.Common; using Unigram.Controls; using Unigram.Converters; using Unigram.Entities; using Unigram.Services; using Unigram.Services.Factories; using Unigram.Views.Popups...
gpl-3.0
frazzy123/madisonclone
app/models/Notification.php
3367
<?php class Notification extends Eloquent { const TYPE_EMAIL = "email"; const TYPE_TEXT = "text"; protected $table = 'notifications'; protected $softDelete = false; public $timestamps = false; public function group() { return $this->belongsTo('Group', 'group_id'); } public function user() { retu...
gpl-3.0
exteso/alf.io
src/main/java/alfio/model/EventAndOrganizationId.java
1369
/** * This file is part of alf.io. * * alf.io 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. * * alf.io is distributed in the ...
gpl-3.0
craigiswayne/round-robin
single.php
107
<?php get_header(); ?> <?php get_template_part('templates/content','controller'); ?> <?php get_footer();
gpl-3.0
madpilot78/ntopng
scripts/plugins/monitors/system/redis_monitor/web_gui/redis_stats.lua
7753
-- -- (C) 2013-21 - ntop.org -- local dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path if((dirs.scriptdir ~= nil) and (dirs.scriptdir ~= "")) then package.path = dirs.scriptdir .. "/lua/modules/?.lua;" .. package.path end require "lua_utils" local page_utils = requ...
gpl-3.0
aleatorio12/ProVentasConnector
src/net/pixhan/negocio/UtilNegocio.java
15562
/* * 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 net.pixhan.negocio; import java.sql.CallableStatement; import java.sql.Connection; import java.sql.ResultSet; import java.sql...
gpl-3.0
cbuben/cloud-init
tests/unittests/test_datasource/test_smartos.py
15826
# vi: ts=4 expandtab # # Copyright (C) 2013 Canonical Ltd. # # Author: Ben Howard <ben.howard@canonical.com> # # 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. # # Th...
gpl-3.0
Raxa/RaxaMachineLearning
WebContent/app/model/drug.js
285
Ext.define('umlsApp.model.drug', { extend : 'Ext.data.Model', config: { fields: [{ name: 'drug', type: 'string' }, { name: 'cui', type: 'string' }, { name: 'code', type: 'string' }] } });
gpl-3.0
yzaguirre/meaction
src/gui/ErroresDialog_GUI.java
4811
/** * UNIVERSIDAD DE SAN CARLOS DE GUATEMALA * FACULTAD DE INGENIERIA * ESCUELA DE CIENCIAS Y SISTEMAS * COMPILADORES 1 * PROYECTO 1 * Creado el 21 de septiembre 2011, 03:41AM */ /* * Muestra los errores presentados por el análisis de compilación * @(#)ErroresDialog_GUI.java * Proyecto1_200819312 application...
gpl-3.0
Satantarkov/ocmanager
src/main/java/com/ocarballo/ocmanager/repository/JPAMaterialDao.java
601
package com.ocarballo.ocmanager.repository; import java.util.List; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotation.Transactional; import com.ocarballo.ocmanager.domain.Material; @Repository(value="materialDao") public class JPAMaterialDao extends JPAGenericDao<Mat...
gpl-3.0
noorxbyte/school_website
wp-content/themes/tortuga/inc/customizer/functions/custom-controls.php
3593
<?php /** * Custom Controls for the Customizer * * @package Tortuga */ /** * Make sure that custom controls are only defined in the Customizer */ if ( class_exists( 'WP_Customize_Control' ) ) : /** * Displays a bold label text. Used to create headlines for radio buttons and description sections. */ class ...
gpl-3.0
drussellmrichie/TATools
COGSTools/psgQ3Tester.py
2154
__author__ = 'russellrichie' import re, nltk from nltk import CFG from nltk.tree import * from nltk.draw import tree import matplotlib.pyplot as plt grammar = """ S -> NP VP NP -> D N NP -> NP CP CP -> C VP VP -> V NP D -> "the" N -> "pirate" | "captain" V -> "pursued" | "scared" | "chased" C -> "that" """ #gram...
gpl-3.0
opencart-patches/html-emails
src/upload/system/library/mailtemplate.php
3495
<?php abstract class MailTemplate extends Model { abstract public function triggerMail($route, $data = null, $result = null); public function sendMail($to, $subject, $text, $html = null) { $mail = new Mail(); $mail->protocol = $this->config->get('config_mail_protocol'); $mail->paramet...
gpl-3.0
revbayes/revbayes
src/revlanguage/functions/argumentrules/ArgumentRule.cpp
15618
#include <stddef.h> #include <sstream> #include <string> #include <vector> #include "Argument.h" #include "ArgumentRule.h" #include "RbException.h" #include "RlFunction.h" #include "TypeSpec.h" #include "Workspace.h" #include "DagNode.h" #include "Environment.h" #include "RevObject.h" #include "RevPtr.h" #include "Rev...
gpl-3.0
trsinard/Takatsuki
src/nl/nitori/Takatsuki/ANN/NeuralNode.java
2401
/* Copyright (C) 2012 Justin Wilcox * * 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...
gpl-3.0
probedock/probedock
features/step_definitions/project_steps.rb
563
Given /^project (.+) exists within organization (.+?)(?: with repo url (.+))?$/ do |name,organization_name,repo_url| options = { name: name.downcase.gsub(/\s+/, '-'), organization: named_record(organization_name) } options[:display_name] = name if name != options[:name] options[:repo_url] = repo_url if...
gpl-3.0
nsklc/suayipkilic.com
template/_footer.php
790
<!-- Google Map --> <!-- <div id="googleMap" class="w3-grayscale" style="width:100%;height:450px;"></div> --> <!-- Footer --> </div> <footer class="w3-center w3-light-grey w3-padding-16 w3-margin-bottom"> <!-- <a href="#home" class="w3-button w3-light-grey"><i class="fa fa-arrow-up w3-margin-right"></i>Başa dön</a> ...
gpl-3.0
fserena/GLORIASolarExperiment
WebContent/solar/js/ccds.js
10784
'use strict'; function LoadCCDContent($gloriaAPI, scope) { return scope.sequence.execute(function() { return $gloriaAPI.getParameterTreeValue(scope.rid, 'cameras', 'ccd', function(data) { scope.ccds = data.images.slice(0, 2); }); }); } function LoadFocuserContent($gloriaAPI, scope) { return scope.se...
gpl-3.0
amaurywalbert/twitter
statistics/plot_top_k_co_occurrence_boxplot_v1.py
8431
# -*- coding: latin1 -*- ################################################################################################ # # import calc import sys, time, json, os, os.path import numpy as np from math import* import networkx as nx import matplotlib.pyplot as plt import matplotlib.mlab as mlab import matplotlib as mp...
gpl-3.0
maysara/pandora_image
pandora/title/migrations/0001_initial.py
1690
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Title' db.create_table('title_title', ( ('id', self.gf('django.db.models.fields....
gpl-3.0
dfmcphee/simplifeed-rails
app/controllers/api/v1/tokens_controller.rb
1626
class Api::V1::TokensController < ApplicationController skip_before_filter :verify_authenticity_token respond_to :json def create email = params[:email] password = params[:password] if request.format != :json render :status=>406, :json=>{:message=>"The request must be jso...
gpl-3.0
NeoTerm/NeoTerm
chrome-tabs/src/main/java/de/mrapp/android/tabswitcher/iterator/AbstractTabItemIterator.java
6656
/* * Copyright 2016 - 2017 Michael Rapp * * 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 to...
gpl-3.0
CCWI/SocialMediaCrawler
src/edu/hm/cs/smc/database/helperddl/GenerateDdlApp.java
558
package edu.hm.cs.smc.database.helperddl; import java.io.File; import java.io.IOException; public class GenerateDdlApp { public static void main(String[] args) throws IOException { // HibernateExporter exporter = new HibernateExporter("org.hibernate.dialect.HSQLDialect", "com.geowarin.model"); HibernateExp...
gpl-3.0
Sisqui/lungcheck_django
lungcheck/doctors/models/doctor.py
2935
from django.contrib.auth.models import User from django.db import models from datetime import datetime from django.core.mail import send_mail from json import dumps from random import getrandbits from datetime import datetime # # Doctor manager # Create function that first creates the user # class DoctorManager(model...
gpl-3.0
aosorgin/gotools
tools/zpf/zpflib/processor.go
2582
/* Author: Alexey Osorgin (alexey.osorgin@gmail.com) Copyright: Alexey Osorgin, 2017 Brief: Compressing of files */ package zpflib import ( "archive/zip" "bufio" "compress/flate" "io" "path/filepath" "os" "fmt" "runtime" "time" ) func compress_file(srcPath string, destPath string, processedSignal *...
gpl-3.0
jeromeetienne/neoip
src/neoip_crypto/skey/pkcs5_derivkey/utest/neoip_skey_pkcs5_derivkey_utest.hpp
320
/*! \file \brief Header of the \ref neoip_skey_pkcs5_derivkey_utest.cpp */ #ifndef __NEOIP_SKEY_PKCS5_DERIVKEY_UTEST_HPP__ #define __NEOIP_SKEY_PKCS5_DERIVKEY_UTEST_HPP__ /* system include */ /* local include */ int neoip_skey_pkcs5_derivkey_utest(); #endif /* __NEOIP_SKEY_PKCS5_DERIVKEY_UTEST_HPP__ */
gpl-3.0
A360RN/AgendaElectronica
AgendaElectronica/src/java/com/santamariaapostol/controller/CitacionController.java
4923
/* * 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 com.santamariaapostol.controller; import com.santamariaapostol.entity.Alumno; import com.santamariaapostol.entity.Citacion; im...
gpl-3.0
quasoft/adblockradio
adblockradio/storage/blacklist.py
3688
import re from PyQt4 import QtGui import dispatchers from .base import BaseStorage from ui.dlg_blacklist_editor import DlgBlacklistEditor import ui class BlacklistStorage(BaseStorage): """Manages patterns for blacklisting song titles. The storage is a simple text file with separate patterns (regular express...
gpl-3.0
GhostWriterTNCS/OtakuManager
OtakuManager/websites/WebAnimex_IT.cpp
2339
#include "OMA.h" #include "Website.h" void Website::initialize_WebAnimex_IT() { homepage = "http://webanimex.com/"; getEpisodesFunction = std::bind(&Website::getEpisodes_WebAnimex_IT, this); goToEpisodeFunction = std::bind(&Website::goToEpisode_WebAnimex_IT, this, std::placeholders::_1, std::placeholders::...
gpl-3.0
mescobal/geined
caja_curso.py
7448
#!/usr/bin/env python # -*- coding: utf-8 -*- import cgitb; cgitb.enable() import pagina import htm import datos import cgi import funciones def nuevo(frm): """Nuevo ingreso a caja por cursos""" # Recuperar variables deposito_id = frm.getvalue("deposito_id") caja_id = frm.getvalue("caja_id") cola = ...
gpl-3.0