repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
ma-tica/entity.webui
src/main/java/com/mcmatica/entity/webui/annotation/MCWebuiGridColumn.java
533
package com.mcmatica.entity.webui.annotation; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annotation.Retention; import java.lang.annotation.Target; @Retention(RUNTIME) @Target(FIELD) public @interface MCWebuiGridColumn { public ...
gpl-3.0
lcpt/xc_basic
test/funciones/polinomios/xPol4.cc
1304
//xPol4.cc #include "matemat/funciones/src/polinomios/Polinomio.h" int main(void) { Polinomio p("xy"); IndPol v= p.GetIndPol(); v[0]= 0; v[1]= 0; p[v]= 1.0; v[0]= 1; v[1]= 0; p[v]= 1.0; v[0]= 0; v[1]= 1; p[v]= 1.0; v[0]= 1; v[1]= 1; p[v]= 1.0; v[0]= 2; v[1]= 0; p[v]= 1.0; v[0]= 0; v[1...
gpl-3.0
slang800/visual-stack
lib/settings.js
831
module.exports = { "theme" : "dark", // other theme: light "ui":2000, // UI port "tgt":2080, // browser JS port "do":[], // only trace files matching "no":[], // ignore files matching ":match" for string or "/match" for regexp "editors" : { // editor paths per platform, modify these to set up your editor ...
gpl-3.0
laerne/jaminique
Generators/__init__.py
156
from .Exceptions import * from .Portmanteau import PortmanteauGenerator from .Markov import MarkovGenerator from .SmoothMarkov import SmoothMarkovGenerator
gpl-3.0
elebihan/grissom
grissom/binfmt/elf.py
2559
# -*- coding: utf-8 -*- # # grissom - FOSS compliance tools # # Copyright (c) 2013 Eric Le Bihan <eric.le.bihan.dev@free.fr> # # 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...
gpl-3.0
mbertrand/cga-worldmap
geonode/maps/gs_helpers.py
7467
from itertools import cycle, izip from geoserver.catalog import FailedRequestError import sys import logging import re from django.conf import settings logger = logging.getLogger("geonode.maps.gs_helpers") _punc = re.compile(r"[\.:]") #regex for punctuation that confuses restconfig _foregrounds = ["#ffbbbb", "#bbffbb...
gpl-3.0
krab1k/ChargeFW
src/structures/molecule_set.py
2931
import sys from collections import Counter, defaultdict from typing import List from classifier import Classifier, classifiers from pte import periodic_table from structures.molecule import Molecule class MoleculeSet: def __init__(self, molecules) -> None: self._molecules: List[Molecule] = list(molecules...
gpl-3.0
automenta/netention-old1
swing/automenta/netention/swing/detail/action/SendAction.java
1253
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package automenta.netention.swing.detail.action; import automenta.netention.Detail; import automenta.netention.Self; import automenta.netention.action.DetailAction; import automenta.netention.html.DetailHTML; import au...
gpl-3.0
albchu/lazerCatHero
Assets/Scripts/RayGun.cs
1237
using UnityEngine; using System.Collections; [RequireComponent(typeof(LineRenderer))] public class RayGun : MonoBehaviour { public Transform rayRenderOrigin; public Transform rayTargetOrigin; Vector2 mouse; RaycastHit hit; float range = 100.0f; LineRenderer line; public Material lineMate...
gpl-3.0
gav5/picklerick
vm/ivm/InstructionArgsJump.go
453
package ivm // InstructionArgsJump encapsulates the args for jump instructions type InstructionArgsJump struct { Address Address } // JumpFormat returns the args in a jump format func (args InstructionArgs) JumpFormat() InstructionArgsJump { return InstructionArgsJump{ Address: args.extractAddress(0xffffff), } }...
gpl-3.0
Laterus/Darkstar-Linux-Fork
scripts/zones/Port_Windurst/npcs/Kususu.lua
1543
----------------------------------- -- Area: Port Windurst -- NPC: Kususu -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/zones/Port_Windurst/TextIDs"); ------------------------------...
gpl-3.0
wordpressure-co-kr/inicis-for-woocommerce
admin/class-ifw-admin-meta-boxes.php
1263
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly class IFW_Admin_Meta_Boxes { private static $meta_box_errors = array(); /** * Constructor */ public function __construct() { include_once('post-types/meta-boxes/class-ifw-meta-box-refund.php'); add_action( 'add_meta_boxes', array( ...
gpl-3.0
dykstrom/jcc
src/main/java/se/dykstrom/jcc/common/assembly/instruction/OrRegWithMem.java
1130
/* * Copyright (C) 2017 Johan Dykstrom * * 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 dis...
gpl-3.0
hustr/OnlineJudge
nowcoder/Arrow2Offer/offer09.java
597
/* 我们可以用2*1的小矩形横着或者竖着去覆盖更大的矩形。请问用n个2*1的小矩形无重叠地覆盖一个2*n的大矩形,总共有多少种方法? * */ public class Solution { final int[] fibonacci = {0, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765, 10946, 17711, 28657, 46368, 75025, 121393, 196418, 317811, 514229, 832040, 1346269, 2178309, 35...
gpl-3.0
Vysybyl/motuus
motuus/movement/__init__.py
155
"""movement module Includes classes, constants and functions to store and process a single input of sensor data (i.e. does not handle any time series) """
gpl-3.0
jreinhardt/BOLTS
backends/freecad.py
6197
# Copyright 2012-2013 Johannes Reinhardt <jreinhardt@ist-dein-freund.de> # # This program 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, or # (at your option) any later...
gpl-3.0
52North/IlwisCore
ilwisscript/ast/expressionnode.cpp
4724
#include <set> #include "kernel.h" #include "astnode.h" #include "operationnodescript.h" #include "symboltable.h" #include "expressionnode.h" using namespace Ilwis; ExpressionNode::ExpressionNode() { } QString ExpressionNode::nodeType() const { return "expression"; } bool ExpressionNode::evaluate(SymbolTable &s...
gpl-3.0
zxcq/lftp-dev
src/pgetJob.cc
12065
/* * lftp - file transfer program * * Copyright (c) 1996-2012 by Alexander V. Lukyanov (lav@yars.free.net) * * 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 Licens...
gpl-3.0
DQNEO/php-FizzBuzzEnterpriseEdition
src/Entity/AbstractEntity.php
377
<?php declare (strict_types=1); namespace DQNEO\FizzBuzzEnterpriseEdition\Entity; use DQNEO\FizzBuzzEnterpriseEdition\Value\StringValue; abstract class AbstractEntity { /** @var object */ protected $object; public function getStringValue(): StringValue { $string = (string) $this->object->getV...
gpl-3.0
ttaubert/video4linux-net
library/v4l-net/Analog/Kernel/V4L1/video_capability.cs
1367
#region LICENSE /* * Copyright (C) 2007 Tim Taubert (twenty-three@users.berlios.de) * * This file is part of Video4Linux.Net. * * Video4Linux.Net 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...
gpl-3.0
ethereum/solidity
test/libsolidity/util/TestFileParser.cpp
20375
/* This file is part of solidity. solidity 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. solidity is distributed in the hope that i...
gpl-3.0
vvolkl/DD4hep
DDCore/src/ConditionDerived.cpp
3379
// $Id$ //========================================================================== // AIDA Detector description implementation for LCD //-------------------------------------------------------------------------- // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN) // All rights reserved. // //...
gpl-3.0
iamgurwinderdubb/Facebook-API-WordPress-Plugin
dubb_template/page-video-gallery.php
4053
<?php get_header( ); ?> <?php $settings = get_option('dubb_facebook_extra_settings' ); if ( !isset($settings["dubb_fb_posts_show_video_gallery"]) ) { echo "Please Activate Facebook Gallery from Admin Panel"; } else { $videos = dubb_facebook_videos_list(); } //print_r($videos['videos']...
gpl-3.0
HappyMelly/teller
frontend/js/person/mailchimp-edit-page.js
224
'use strict'; import EditForm from "./intergration-widgets/_mailchimp-form"; $(function(){ EditForm.plugin('.js-edit-mailchimp', { url: jsRoutes.controllers.cm.facilitator.MailChimp.create().url }); });
gpl-3.0
mongoeye/mongoeye
helpers/safe_test.go
2829
package helpers import ( "github.com/stretchr/testify/assert" "gopkg.in/mgo.v2/bson" "testing" ) func TestSafeToObjectId(t *testing.T) { var input interface{} = bson.ObjectIdHex("57605d5dc3d5a2429db0bd09") assert.Equal(t, bson.ObjectIdHex("57605d5dc3d5a2429db0bd09"), SafeToObjectId(input)) } func TestSafeToObje...
gpl-3.0
polylang/polylang
tests/features/bootstrap/BrowserPreferredLanguageContext.php
3752
<?php use Behat\Behat\Tester\Exception\PendingException; use Behat\Behat\Context\Context; use Behat\Gherkin\Node\PyStringNode; use Behat\Gherkin\Node\TableNode; /** * Defines application features from the specific context. */ class BrowserPreferredLanguageContext implements Context { /** * @var PLL_UnitTestCase...
gpl-3.0
aruppen/xwot.py
xwot/device/waterdispenser.py
4918
#!/usr/bin/env python # -*- coding: utf-8 -*- # # xwot.py - Python tools for the extended Web of Things # Copyright (C) 2015 Alexander Rüedlinger # # 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 Foundatio...
gpl-3.0
greenriver/hmis-warehouse
drivers/hud_apr/app/models/hud_apr/generators/apr/fy2021/question_twenty.rb
504
### # Copyright 2016 - 2021 Green River Data Analysis, LLC # # License detail: https://github.com/greenriver/hmis-warehouse/blob/production/LICENSE.md ### module HudApr::Generators::Apr::Fy2021 class QuestionTwenty < HudApr::Generators::Shared::Fy2021::QuestionTwenty QUESTION_TABLE_NUMBERS = ['Q20a', 'Q20b'].fre...
gpl-3.0
digitales/laravel-mondo
src/Client.php
6014
<?php namespace Digitales\LaravelMondo; use GuzzleHttp\ClientInterface; use Digitales\LaravelMondo\AbstractProvider; use Digitales\LaravelMondo\Api\Account; use Digitales\LaravelMondo\Api\Transaction; use Digitales\LaravelMondo\Api\Webhook; use Digitales\LaravelMondo\Api\Feed; use Digitales\LaravelMondo\Api\Attachme...
gpl-3.0
openzim/gutenberg
gutenbergtozim/urls.py
7555
#!/usr/bin/env python # -*- coding: utf-8 -*- # vim: ai ts=4 sts=4 et sw=4 nu import os import shutil from collections import defaultdict from gutenbergtozim.database import Book, BookFormat, Url from gutenbergtozim.utils import FORMAT_MATRIX, exec_cmd try: import urlparse except ImportError: import urllib....
gpl-3.0
rubenswagner/L2J-Global
java/com/l2jglobal/gameserver/model/actor/templates/L2CubicTemplate.java
3338
/* * This file is part of the L2J Global project. * * 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 p...
gpl-3.0
WonderNetwork/wondersniffer
TestHelper.php
2512
<?php /** * This file was copied from CakePhps codesniffer tests before being modified * File: http://git.io/vkioq * From repository: https://github.com/cakephp/cakephp-codesniffer * * @license MIT * CakePHP(tm) : The Rapid Development PHP Framework (http://cakephp.org) * Copyright (c) 2005-2013, Cake Software F...
gpl-3.0
DaltonCaughell/CatchARide-App
src/www/components/pages/index/index.controller.js
2072
mainApp.controller("IndexController", function($scope, $http, $location, $state, $mdDialog, crSchedule, crLoading) { $scope.errors = {}; $scope.isDriver = false; $scope.isToSchool = false; $scope.isFromSchool = false; $scope.params = crSchedule.GetParams(); $scope.$watch('params.To', functi...
gpl-3.0
ffs2/ffs2play
singleton/clogger.cpp
3459
/**************************************************************************** ** ** Copyright (C) 2017 FSFranceSimulateur team. ** Contact: https://github.com/ffs2/ffs2play ** ** FFS2Play is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published b...
gpl-3.0
nithinphilips/SMOz
src/SMOz.WinForms/3rdParty/XPTable/Editors/DropDownCellEditor.cs
18352
/* * Copyright © 2005, Mathew Hall * All rights reserved. * * DropDownCellEditor.ActivationListener, DropDownCellEditor.ShowDropDown() and * DropDownCellEditor.HideDropDown() contains code based on Steve McMahon's * PopupWindowHelper (see http://www.vbaccelerator.com/home/NET/Code/Controls/Popup_Windows/Popup_...
gpl-3.0
ArkBriar/goq
querygo/golang/golang.go
17268
// Copyright 2016 ArkBriar. All rights reserved. package golang import ( "go/ast" "go/parser" "go/token" "querygo/debug" "fmt" "os" "path" "path/filepath" ) var dbg debug.DebugLog func SetDebug(D debug.DebugLog) { dbg = D } func __assert(condition bool) { if !condition { panic("Assertion failed!") } }...
gpl-3.0
stephenrkell/dwarfpython
contrib/flex/ast/NamePhrase.cc
734
#include "ast.h" /** * inherits: BasePhrase * A wrapper around a T_NAME; * private: T_NAME name; */ NamePhrase *NamePhrase::parse(T_NAME name) { NamePhrase * np = new NamePhrase(); np->name = name; return np; } void NamePhrase::toStream(std::ostream& strm) { strm << this->name; } ParathonAssigner ...
gpl-3.0
AKryukov92/tasks-for-algorithmisation
решения/java/src/Lab15/example/task8258/Comparator8258.java
461
package Lab15.example.task8258; import java.util.Comparator; /** * @author akryukov * 18.07.2017 */ public class Comparator8258 implements Comparator<Integer> { @Override public int compare(Integer o1, Integer o2) { int d1 = Math.abs(o1 - 6); int d2 = Math.abs(o2 - 6); if(d1...
gpl-3.0
GoMake/gomake-mock-data
device/sensors.py
1648
from random import choice,randint,uniform from urllib import urlencode class Sensors(): """ latitude=42.3347161667&longitude=-72.6807305&altitude=00077&satellites=10&fix_quality=2&Sound=247&Barometer=338.73&Temperature=-22.20 """ def __init__(self,coords=[]): self.start_latitude = '42.3347161667' self.start_l...
gpl-3.0
kevinsea/dsc-generator
DesiredStateGenerator/Common/DesiredStateBase.cs
3829
using System.Collections.Generic; using System.Text; namespace DesiredState.Common { /// <summary> // Provides base plumbing for desired state classes. /// Allow you to add whatever attributes you need /// and does code generation of all attributes provided /// </summary> internal abstract cl...
gpl-3.0
mngad/findStiffness
findStiffness.py
3017
import os import pandas import pyperclip as pc def findStiffness(segSize, incrSize, plot, fileDir): allRes = '' os.chdir(fileDir) # Scan through them separating them. listOfFolderNames = os.listdir(fileDir) listOfFolderNames.sort() # Sort alphabetically - important for plotting newFolderLi...
gpl-3.0
AbhishekGhosh/WordPress-HP-Cloud-CDN-Plugin
openstack_shell_widget.php
4817
<?php /* Plugin Name: OpenStack Shell Plugin URI: https://thecustomizewindows.com Description: A Better Way to Use OpenStack Python Clients to Upload to OpenStack Object Storage (SWIFT) From WordPress. Intended for sysadmins, advanced users and developers. Needs SSH access. Version: 1.5 Author: Abhishek Ghosh Author UR...
gpl-3.0
nkrul/mirage
src/main/java/com/kncept/mirage/classformat/parser/struct/attributes/MethodParameters_attribute.java
1316
package com.kncept.mirage.classformat.parser.struct.attributes; import java.io.IOException; import com.kncept.mirage.classformat.parser.SimpleDataTypesStream; import com.kncept.mirage.classformat.parser.struct.attribute_info; import com.kncept.mirage.classformat.parser.struct.cp_info; /** * <pre> MethodParameters_...
gpl-3.0
gvera85/sikronk
application/controllers/limpiarTablasSistema.php
666
<?php class limpiarTablasSistema extends CI_Controller{ public function __construct() { parent::__construct(); $this->load->database(); $this->load->helper('url'); $this->session->set_userdata('titulo', 'Eliminar tablas sistema'); ...
gpl-3.0
sonofeft/M_Pool
m_pool/examples/solve_min_chk.py
986
from m_pool.matrix_pool import MatrixPool from m_pool.axis_obj import Axis MP = MatrixPool(name='CHECK') epsAxis = Axis({'name':'eps', 'valueL':[10., 20., 30., 40., 50.], 'units':'', 'transform':''}) pcAxis = Axis({'name':'pc', 'valueL':[100.,200.,300,400], 'units':'psia', 'transform':''}) mrAxis = Axis({'name':'mr', ...
gpl-3.0
sentora/sentora-core
modules/dns_manager/assets/dns.js
11483
/* * @copyright 2014-2019 Sentora Project (http://www.sentora.org/) * Sentora is a GPL fork of the ZPanel Project whose original header follows: * * dns.js * * @package ZPanel DNS Manager * @version 1.0.0 * @author Jason Davis - <jason.davis.fl@gmail.com> * @copyright (c) 2013 ZPanel Group - http://w...
gpl-3.0
thanhnew2001/jhms
web/src/main/java/com/ph/hms/action/util/PrepaidCardTransactionDetailAction.java
2666
package com.ph.hms.action.util; import java.sql.ResultSet; import java.util.ArrayList; import antlr.collections.List; import com.opensymphony.xwork.ActionSupport; import com.ph.hms.Druginvoice; import com.ph.hms.DruginvoiceManager; import com.ph.hms.EncounterManager; import com.ph.hms.HMSDataManager; import com.ph....
gpl-3.0
yurytsoy/revonet
src/ne.rs
7707
use rand::{Rng}; use std; use context::*; use ea::*; use ga::*; use math::*; use neuro::*; use problem::*; use result::*; use settings::*; /// Represents individual for neuroevolution. The main difference is that the NE individual also /// has a `network` field, which stores current neural network. #[derive(Clone, D...
gpl-3.0
coco35700/uPMT
src/main/java/components/interviewSelector/modelCommands/DeleteInterviewCommand.java
1173
package components.interviewSelector.modelCommands; import application.history.ModelUserActionCommand; import models.Project; import models.Interview; public class DeleteInterviewCommand extends ModelUserActionCommand<Void, Void> { private Project project; private Interview interview; private Interview ...
gpl-3.0
CoPhi/CophiWapp
Cophi_Wapp/WebContent/resources/js/jquery.scrollTo.js
7775
/*! * jQuery.ScrollTo * Copyright (c) 2007-2013 Ariel Flesler - aflesler<a>gmail<d>com | http://flesler.blogspot.com * Dual licensed under MIT and GPL. * * @projectDescription Easy element scrolling using jQuery. * http://flesler.blogspot.com/2007/10/jqueryscrollto.html * @author Ariel Flesler * @version 1.4.6 ...
gpl-3.0
mhgamework/the-wizards-engine
Gameplay/Simulation/Navigation2D/NavigableGrid2D.cs
2677
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SlimDX; namespace MHGameWork.TheWizards.Navigation2D { public class NavigableGrid2D { private short[,] free; private HashSet<Object> objects = new HashSet<object>(); public Navig...
gpl-3.0
thundernet8/Elune-WWW
src/shared/element-react/dist/npm/es6/src/date-picker/DateRangePicker.js
1814
import _extends from 'babel-runtime/helpers/extends'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _createClass from 'babel-runtime/helpers/createClass'; import _inherits from 'babel-runtime/helpers/i...
gpl-3.0
ajh/safit
lib/safit/settings.rb
1321
# LICENSE:{{{ # safit - a command line notification utility # Copyright (C) 2013 Andrew Hartford # # 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...
gpl-3.0
zhangbo7364/term-mng
SystemSet.cpp
6742
// SystemSet.cpp : ʵÏÖÎļþ // #include "stdafx.h" #include "zaozhuang.h" #include "SystemSet.h" #include "afxdialogex.h" // CSystemSet ¶Ô»°¿ò IMPLEMENT_DYNAMIC(CSystemSet, CDialog) CSystemSet::CSystemSet(CWnd* pParent /*=NULL*/) : CDialog(CSystemSet::IDD, pParent) { } CSystemSet::~CSystemSet() { } void CSyste...
gpl-3.0
COPELABS-SITI/ndn-fwd
daemon/fw/best-route-strategy.cpp
3088
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** * Copyright (c) 2014-2016, Regents of the University of California, * Arizona Board of Regents, * Colorado State University, * University Pierre & Marie Curie, Sorbonn...
gpl-3.0
tederis/mta-resources
terrain_editor_public/util_client.lua
12510
local _mathFloor = math.floor local _mathSqrt = math.sqrt local _mathMin = math.min local _mathMax = math.max local _mathClamp = function ( min, value, max ) return _mathMax ( _mathMin ( value, max ), min ) end local _dist2d = getDistanceBetweenPoints2D _withinRectangle = function ( px, py, rx, ry, rwidth, rhe...
gpl-3.0
nE0sIghT/s25client
libs/s25main/animation/Animation.cpp
7118
// Copyright (c) 2017 - 2017 Settlers Freaks (sf-team at siedler25.org) // // This file is part of Return To The Roots. // // Return To The Roots 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...
gpl-3.0
lovely-doge/Malicious-Software
RAT/DarkAgent_RAT/DarkAgent Client/src/Network/DataNetwork/Packets/Receive/R_KillProcess.cs
1265
using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; using System.IO; namespace DarkAgent_Client.src.Network.DataNetwork.Packets.Receive { public class R_KillProcess : ReceiveBasePacket { public R_KillProcess(ClientConnect client, byte[] packet) : ba...
gpl-3.0
MsDacia/msdacia
projects/vue/src/main.ts
1032
import Vue from 'vue' import VueFire from 'vuefire' import VueAnalytics from 'vue-analytics' import VueRouter from 'vue-router' import '@/vendor/font-awesome/css/all.css' import '@/vendor/semantic-ui/semantic.min.js' import '@/vendor/semantic-ui/semantic.min.css' import '../node_modules/hover.css/css/hover-min.css' ...
gpl-3.0
wast-drumster/TheClick
src/QtTheClick/src/widgets/svgtoggleswitch/qtsvgtoggleswitch.cpp
3434
/* ** Copyright (C) 2012 Sebastian Roeglinger <wast.drumster@gmail.com> ** ** This file is part of TheClick. ** ** TheClick 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, ...
gpl-3.0
GNS3/gns3-web-ui
src/app/cartography/converters/map/map-node-to-node-converter.ts
1682
import { Injectable } from '@angular/core'; import { MapNode } from '../../models/map/map-node'; import { Node } from '../../models/node'; import { Converter } from '../converter'; import { MapLabelToLabelConverter } from './map-label-to-label-converter'; import { MapPortToPortConverter } from './map-port-to-port-conve...
gpl-3.0
mPowering/django-orb
orb/signals.py
907
""" Signal definitions for ORB Should not contain any other handler or task functions """ import django.dispatch from django.dispatch import Signal resource_viewed = Signal(providing_args=["resource", "request", "type"]) resource_workflow = Signal( providing_args=["request", "resource", "status", "notes", "crite...
gpl-3.0
jamesnovak/CrmSvcUtilTS
Samples/CRMTypeScriptAxios/Properties/AssemblyInfo.cs
1250
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("CR...
gpl-3.0
Strachu/VirtualSlideViewer
src/virtualslideviewer/bioformats/PaddingCalculator.java
8381
/* * Copyright (C) 2015 Patryk Strach * * This file is part of Virtual Slide Viewer. * * Virtual Slide Viewer 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, o...
gpl-3.0
bambit/BGallery
Website/CodeFiles/Controller/MetadataController.cs
42966
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading.Tasks; using GalleryServerPro.Business; using GalleryServerPro.Business.Interfaces; using GalleryServerPro.Business.Metadata; using GalleryServerPro.Events.CustomExceptions; namespace GalleryServerPro...
gpl-3.0
v4hn/Las-Vegas-Reconstruction
src/liblvr/display/StaticMesh.cpp
9150
/* Copyright (C) 2011 Uni Osnabrück * This file is part of the LAS VEGAS Reconstruction Toolkit, * * LAS VEGAS is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at yo...
gpl-3.0
Antergos/Cnchi
src/installation/post_install.py
36048
#!/usr/bin/env python # -*- coding: utf-8 -*- # # post_install.py # # Copyright © 2013-2018 Antergos # # This file is part of Cnchi. # # Cnchi 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 o...
gpl-3.0
bzennn/blog_flask
app/forms.py
3987
from flask_wtf import FlaskForm from flask_wtf.file import FileAllowed, FileRequired, FileField from flask import g from wtforms import StringField, PasswordField, BooleanField, TextAreaField from wtforms.validators import InputRequired, email, EqualTo, length from .models import User from app import images class Log...
gpl-3.0
angelov/eestec-platform
app/Members/Handlers/DeleteMemberCommandHandler.php
1877
<?php /** * Storgman - Student Organizations Management * Copyright (C) 2014-2016, Dejan Angelov <angelovdejan92@gmail.com> * * This file is part of Storgman. * * Storgman 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...
gpl-3.0
hep-rs/lie
src/series/type_g.rs
5511
use std::fmt; use crate::error::Error; use crate::root::Root; use crate::root_system::{self, BasisLengths, CartanMatrix, InverseCartanMatrix, RootSystem}; /// The \\(G_{n}\\) exceptional Lie groups. /// /// The only allows value of \\(n\\) is 2. /// /// The Cartan matrix for \\(G_{2}\\) is: /// /// \\begin{equation} ...
gpl-3.0
smartstoreag/SmartStoreNET
src/Presentation/SmartStore.Web/Content/vendors/slick/slick.js
84484
/* _ _ _ _ ___| (_) ___| | __ (_)___ / __| | |/ __| |/ / | / __| \__ \ | | (__| < _ | \__ \ |___/_|_|\___|_|\_(_)/ |___/ |__/ Version: 1.6.0 Author: Ken Wheeler Website: http://kenwheeler.github.io Docs: http://kenwheeler.github.io/slick Repo: http://github.com/kenwh...
gpl-3.0
omeryagmurlu/algoriv
webpack/fake_modules/browser-localstorage.js
92
export function LocalStorage() { return localStorage; } export const isFakeModule = true;
gpl-3.0
rmachedo/MEater
src/edu/umd/rhsmith/diads/meater/modules/tweater/media/DefaultUserData.java
1349
package edu.umd.rhsmith.diads.meater.modules.tweater.media; import java.util.Date; import twitter4j.User; public class DefaultUserData implements UserData { private final User user; public DefaultUserData(User user) { this.user = user; } @Override public long getUserId() { return this.user.getId(); } ...
gpl-3.0
TheHecticByte/BananaJ1.7.10Beta
src/net/minecraft/Server1_7_10/entity/passive/EntityVillager.java
33528
package net.minecraft.Server1_7_10.entity.passive; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Random; import net.minecraft.Server1_7_10.enchantment.Enchantment; import net.minecraft.Server1_7_10.enchantment.EnchantmentData; import net.mine...
gpl-3.0
colab/colab-superarchives-plugin
tests/test_widgets.py
2048
from django.test import TestCase from colab.accounts.models import User from django.test import Client class WidgetAccountTest(TestCase): def setUp(self): self.user = self.create_user() self.client = Client() def create_user(self): user = User() user.username = "USERtestCoLa...
gpl-3.0
scymex/Android-OAuth2-Auth
src/com/scymex/authorization/listeners/ErrorListener.java
120
package com.scymex.authorization.listeners; public interface ErrorListener { public void onError(String errorMsg); }
gpl-3.0
leafsoftinfo/pyramus
pyramus/src/test/java/fi/pyramus/util/ScriptedImporterTest.java
64
package fi.pyramus.util; public class ScriptedImporterTest { }
gpl-3.0
clagiordano/weblibs
php/ImageManipulation.php
38608
<?php namespace clagiordano\weblibs\php; /** * Classe per la creazione ed elaborazione di immagini con varie funzioni * di ritaglio, conversione e creazione tramite testo con esportazione in * formato base64. * * @version 1.3 * @author Claudio Giordano <claudio.giordano@autistici.org> * @since 2014-04-04...
gpl-3.0
ewized/esuite
eminingworld/EMiningWorld.java
4185
package net.year4000.eminingworld; import java.util.logging.Level; import java.util.logging.Logger; import com.sk89q.commandbook.CommandBook; import com.sk89q.commandbook.session.SessionComponent; import com.zachsthings.libcomponents.ComponentInformation; import com.zachsthings.libcomponents.Depend; import c...
gpl-3.0
SimplyUb/MultiChainJavaAPI
src/main/java/multichain/object/formatters/GenericOutputFormatter.java
1986
/* * Copyright (C) 2017 Worldline, Inc. * * MultiChainJavaAPI code distributed under the GPLv3 license, see COPYING file. * https://github.com/SimplyUb/MultiChainJavaAPI/blob/master/LICENSE * */ package multichain.object.formatters; import java.util.ArrayList; import java.util.List; import com.google....
gpl-3.0
syrus34/dolibarr
htdocs/theme/cameleo/style.css.php
72316
<?php /* Copyright (C) 2004-2013 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org> * Copyright (C) 2007-2011 Regis Houssin <regis.houssin@capnetworks.com> * Copyright (C) 2010-2011 Herve Prot <herve.prot@symeos.com> * Copyrig...
gpl-3.0
ExFace/AdminLteTemplate
Facades/Elements/LteTab.php
3217
<?php namespace exface\AdminLTEFacade\Facades\Elements; use exface\Core\Widgets\Tab; /** * @method Tab getWidget() * * @author Andrej Kabachnik * */ class LteTab extends ltePanel { function buildHtml() { $output = <<<HTML <div id="{$this->getId()}" class="nav-tabs-custom"> <ul clas...
gpl-3.0
ty359/ilmenite
UnityProject/Ilmenite Main/Assets/Scripts/Block.cs
4650
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Block { public static float sideLength = 0.5f; public static float halfSideLength = sideLength / 2; public static Dictionary <int, Vector3> sides = new Dictionary <int, Vector3> { { 0, Vector3.right },...
gpl-3.0
miwilska/gry-rozne
Pasjanse/src/test/java/cards/UICardPanelTest.java
2298
/* * GNU GENERAL PUBLIC LICENSE * Version 3, 29 June 2007 * * "Pasjanse" - solitaire - card games for one person * Copyright (C) {2016} {Magdalena Wilska} * * This program is free software: you can redistribute it and/or modify * it under the terms of ...
gpl-3.0
rouzbeh/Modigliani
examples/common/timestep.lua
108
local M={} M.timestep = 0.1 function M.set_timestep(new_timestep) timestep = new_timestep end return M
gpl-3.0
Sar777/onliner
app/src/main/java/by/orion/onlinertasks/data/models/task/Price.java
516
package by.orion.onlinertasks.data.models.task; import com.google.auto.value.AutoValue; import com.google.gson.Gson; import com.google.gson.TypeAdapter; import com.google.gson.annotations.SerializedName; @AutoValue public abstract class Price { @SerializedName("amount") public abstract String amount(); ...
gpl-3.0
EMCTEAM-IRAN/superflux-bot
plugins/delete.lua
775
do local function get_message_callback(extra, success, result) if result.to.peer_type == 'channel' then if our_id == result.from.peer_id then --local del = delete_msg(result.id, ok_cb, true) else local del = delete_msg(result.id, ok_cb, true) if del == false then send_msg(extra, "de...
gpl-3.0
v4hn/Las-Vegas-Reconstruction
ext/boost148/geometry/algorithms/disjoint.hpp
6975
// Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2007-2011 Barend Gehrels, Amsterdam, the Netherlands. // Copyright (c) 2008-2011 Bruno Lalande, Paris, France. // Copyright (c) 2009-2011 Mateusz Loskot, London, UK. // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library // (ge...
gpl-3.0
unsftn/bisis-v4
src/com/gint/app/bisis4/format/HoldingsDataCodersJdbc.java
8803
package com.gint.app.bisis4.format; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactor...
gpl-3.0
remigijusj/clubman
src/messaging.go
3933
package main import ( "bytes" "html/template" "io/ioutil" "encoding/json" "net/http" "net/url" "time" ) const ( contactEmail = 1 contactSMS = 2 ) type EmailAddress struct { Email string `json:"email"` } type Personalization struct { To []EmailAddress `json:"to"` } type EmailContent...
gpl-3.0
shibme/jbotstats
src/me/shib/java/lib/jbotstats/AnalyticsWorker.java
905
package me.shib.java.lib.jbotstats; import java.util.LinkedList; import java.util.Queue; public final class AnalyticsWorker { private JBotStats jBotStats; private Queue<AnalyticsData> analyticsDataQueue; private AnalyticsProcessingThread analyticsProcessingThread; public AnalyticsWorker(JBotStats jB...
gpl-3.0
Valansch/RedMew
map_gen/entities/deathworld.lua
956
local worm_names = {'small-worm-turret', 'medium-worm-turret', 'big-worm-turret'} local spawner_names = {'biter-spawner', 'spitter-spawner'} local factor = 8 / (1024 * 32) local max_chance = 1/8 return function(_, _, world) local d = math.sqrt(world.x * world.x + world.y * world.y) if d < 300 then retu...
gpl-3.0
raginwombat/project4
ConferenceCentral_Complete/conference.py
40497
#!/usr/bin/env python """ conference.py -- Udacity conference server-side Python App Engine API; uses Google Cloud Endpoints $Id: conference.py,v 1.25 2014/05/24 23:42:19 wesc Exp wesc $ created by wesc on 2014 apr 21 """ __author__ = 'wesc+api@google.com (Wesley Chun)' import logging from datetime import da...
gpl-3.0
xingh/bsn-modulestore
bsn.ModuleStore/Mapper/MetadataBoolean.cs
1792
// bsn ModuleStore database versioning // ----------------------------------- // // Copyright 2010 by Arsène von Wyss - avw@gmx.ch // // Development has been supported by Sirius Technologies AG, Basel // // Source: // // https://bsn-modulestore.googlecode.com/hg/ // // License: // // The library is ...
gpl-3.0
lawl-dev/Kiwi
src/Kiwi.Parser/Nodes/SyntaxWalkerBase.cs
11413
namespace Kiwi.Parser.Nodes { public class SyntaxWalkerBase : ISyntaxVisitor { public virtual void Visit(AnonymousFunctionExpressionSyntax anonymousFunctionExpressionSyntax) { foreach (var parameterSyntax in anonymousFunctionExpressionSyntax.Parameter) { V...
gpl-3.0
xcalder/openant
sale/sale/models/product/Length_class_model.php
1091
<?php class Length_class_model extends CI_Model { public function __construct() { parent::__construct(); $this->load->database(); } //取组 public function get_length_classs(){ $this->db->select("length_class_id"); $this->db->from($this->db->dbprefix('length_class')); $query=$this->db->get(); if($q...
gpl-3.0
SydneyUniLibrary/auto-holds
manage.py
979
#!/usr/bin/env python # # Copyright 2016 Susan Bennett, David Mitchell, Jim Nicholls # # This file is part of AutoHolds. # # AutoHolds 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 Li...
gpl-3.0
wp-plugins/wp-testing
src/Model/Taxonomy.php
1248
<?php /** * WordPress needed model for category-like entities * * @method string getDescription() Gets the current value of description */ class WpTesting_Model_Taxonomy extends WpTesting_Model_AbstractModel { /** * Helper function to workaround old WP versions * @param integer $testId * @param...
gpl-3.0
philipgraf/Dr_mad_daemon
src/TextInput.cpp
3744
/* * TextInput.cpp * * Created on: 11.02.2013 * Author: philip */ #include "TextInput.h" /** * Constructor of TextInput * This will generate a kind of input-"window" where text can be typed. * * @param title the text that will be shown in the titleSurface * @param maxSize the max count of digits that ...
gpl-3.0
xiehan/sparrowhawk
app/pages/home/home.component.ts
2680
import { Component, OnInit } from '@angular/core'; import { Observable } from 'rxjs/Rx'; import 'rxjs/add/operator/map'; import COLOR_PALETTE from '../../shared/constants/color-palette'; import LANGUAGES from '../../shared/constants/languages'; import HomeService from './home.service'; import IHomeState from './home.s...
gpl-3.0