repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
CCAFS/AMKN
wp-content/themes/amkn_theme/js/jquery.reveal.js
4851
/* * jQuery Reveal Plugin 1.0 * www.ZURB.com * Copyright 2010, ZURB * Free to use under the MIT license. * http://www.opensource.org/licenses/mit-license.php */ (function($) { /*--------------------------- Defaults for Reveal ----------------------------*/ /*--------------------------- Listener for data-re...
gpl-3.0
will-bainbridge/OpenFOAM-dev
src/parallel/decompose/decompositionMethods/structuredDecomp/structuredDecomp.C
5261
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
gpl-3.0
SpyderTL/OZone
OZone/Programs/Compilers/Subleq/SubleqCompiler16.cs
1559
using System.IO; using System.Linq; using System.Diagnostics; using OZone.Programs; using System; namespace OZone.Programs.Compilers.Subleq { public class SubleqCompiler16 : ProgramCompiler { public override uint Compile(Program program, MemoryAddress baseAddress) { var length = 0U; // Assi...
gpl-3.0
gi0e5b06/lmms
plugins/SynthGDX/SynthGDX.cpp
45670
/* * SynthGDX.cpp - modular synth * * Copyright (c) 2018 gi0e5b06 (on github.com) * * This file is part of LMMS - https://lmms.io * * 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; eithe...
gpl-3.0
Fosstrak/fosstrak-webadapters
src/main/java/org/fosstrak/webadapters/epcis/ws/generated/Document.java
2521
package org.fosstrak.webadapters.epcis.ws.generated; import java.math.BigDecimal; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; impor...
gpl-3.0
bozhink/ProcessingTools
src/ProcessingTools/Desktop/DbSeeder/Providers/SeederTypesProvider.cs
1570
namespace ProcessingTools.DbSeeder.Providers { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Contracts.Seeders; using ProcessingTools.Contracts; internal class SeederTypesProvider : ITypesProvider { private readonly string bas...
gpl-3.0
screamer/netcoffee
include/lemon-1.2.3/test/graph_copy_test.cc
6452
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2011 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
gpl-3.0
gohdan/DFC
known_files/hashes/bitrix/modules/form/install/components/bitrix/form.result.list.my/lang/ru/.parameters.php
61
Bitrix 16.5 Business Demo = 60945ef7be6f1fb5d4f7a1e65df312c2
gpl-3.0
gottcode/kapow
src/settings.cpp
1078
/* SPDX-FileCopyrightText: 2012 Graeme Gott <graeme@gottcode.org> SPDX-License-Identifier: GPL-3.0-or-later */ #include "settings.h" #include <QDir> //----------------------------------------------------------------------------- static QString f_path; static QWeakPointer<QSettings> f_settings; //---------------...
gpl-3.0
egwk/egwk
app/Console/Commands/Install/ApproveTranslationDraft.php
6523
<?php namespace App\Console\Commands\Install; use App\Models\Tables\Edition; use Illuminate\Console\Command; use Facades\ { App\EGWK\Synch }; class ApproveTranslationDraft extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = ...
gpl-3.0
DBCDK/content-first
src/client/components/hoc/Holding/withHoldings.hoc.js
879
import React, {useState, useEffect} from 'react'; import {useDispatch, useSelector} from 'react-redux'; import {fetchHoldings} from '../../../redux/holdings.thunk'; /** * * withHoldings * * @param {object} pid - The pid for the material to fetch Holdings for * @return {object} - returns the Holdings **/ export c...
gpl-3.0
BilledTrain380/sporttag-psa
app/frontend/e2e/protractor.conf.js
1858
// @ts-check // Protractor configuration file, see link for more information // https://github.com/angular/protractor/blob/master/lib/config.ts const {SpecReporter} = require('jasmine-spec-reporter'); /** * @type { import("protractor").Config } */ exports.config = { allScriptsTimeout: 11000, specs: [ "./src...
gpl-3.0
lordantonelli/adapte-me
website/application/views/pages/dashboard.php
57
<?php // Load Menu $this->template->menu('dashboard'); ?>
gpl-3.0
ankostis/ViTables
examples/scripts/nested_samples.py
3046
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright (C) 2005-2007 Carabos Coop. V. All rights reserved # Copyright (C) 2008-2017 Vicent Mas. 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...
gpl-3.0
erudit/eruditorg
eruditorg/erudit/migrations/0031_auto_20160808_1613.py
2955
# -*- coding: utf-8 -*- # Generated by Django 1.9.9 on 2016-08-08 21:13 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import taggit.managers class Migration(migrations.Migration): dependencies = [ ("contenttypes", "0002_remove_content_t...
gpl-3.0
CIFASIS/qss-solver
src/mmoc/ast/composition.cpp
8492
/***************************************************************************** This file is part of QSS Solver. QSS Solver 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 ...
gpl-3.0
OpportunityLiu/ExViewer
ExClient/Launch/UriHelper.cs
1781
using System; using System.Collections.Generic; using Windows.Foundation; namespace ExClient.Launch { internal static class UriHelper { public static bool QueryValueAsBoolean(this string value) { return value != "0" && value != ""; } public static int QueryValueAsI...
gpl-3.0
AsteroidOS/asteroid-timer
i18n/asteroid-timer.fa.ts
339
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="fa"> <context> <name></name> <message id="id-app-launcher-name"> <location filename="asteroid-timer.desktop.h" line="6"/> <source>Timer</source> <translation>شمارش معکوس</translation> </message> </contex...
gpl-3.0
sunshineheader/Games
CrazyFram/proj.android/gen/org/cocos2dx/CrazyFram/BuildConfig.java
165
/** Automatically generated file. DO NOT MODIFY */ package org.cocos2dx.CrazyFram; public final class BuildConfig { public final static boolean DEBUG = false; }
gpl-3.0
zeatul/poc
e-commerce/e-commerce-ecom-pay-service/src/main/java/com/alipay/api/domain/KbadvertVoucherManual.java
846
package com.alipay.api.domain; import java.util.List; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; /** * 口碑客券的使用说明 * * @author auto create * @since 1.0, 2017-02-20 21:18:14 */ public class KbadvertVoucherManual extends ...
gpl-3.0
enigma1/i-metrics-cms
admin/multi_sites.php
22352
<?php $copyright_string=' /* //---------------------------------------------------------------------------- // Copyright (c) 2006-2011 Asymmetric Software - Innovation & Excellence // Author: Mark Samios // http://www.asymmetrics.com // Admin: MultiSite Configuration script for Web-Front //---------------------------...
gpl-3.0
koffeinfrei/fantassh
lib/fantassh/application.rb
1919
require 'slop' require_relative 'bash_history' require_relative 'entries' require_relative 'history' module Fantassh class Application class << self def run(argv = ARGV) Slop.parse(argv, help: true) do on '-v', '--version', 'Print the program version.' do puts "#{File.basename...
gpl-3.0
moderntribe/product-taskmaster
webpack/module/rules/javascript.js
86
module.exports = { test: /\.js$/, exclude: /node_modules/, use: 'babel-loader', };
gpl-3.0
ernestbuffington/PHP-Nuke-Titanium
includes/blocks/discord/language/lang-english.php
1276
<?php /************************************************************************/ /* Discord Block */ /* ============================== */ /* */ /* Copyright (c) 2003...
gpl-3.0
smart-facility/petajakarta-web
banjir/vendor/js/Chart.js
312401
/*! * Chart.js * http://chartjs.org/ * Version: 2.1.6 * * Copyright 2016 Nick Downie * Released under the MIT license * https://github.com/chartjs/Chart.js/blob/master/LICENSE.md */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&def...
gpl-3.0
cosven/pat_play
leetcode/096.py
463
class Solution: cache = {1: 1, 0:1} def numTrees(self, n): """ :type n: int :rtype: int """ if n in self.cache: return self.cache[n] sum = 0 ncopy = n - 1 while ncopy >= 0: sum += self.numTrees(ncopy) * self.numTrees(n - 1 -...
gpl-3.0
j33f/apiMobitrans
routes/index.js
789
/* API Mobitrans Author : jean-François VIAL <http://about.me/Jeff_> 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 progr...
gpl-3.0
miyachi-yu/Mellin
IntegUnpolDIS/nXsecComp.cc
2625
#include "nXsecComp.hh" #include "StrFunc.hh" #include <iostream> #include <iomanip> #include <cstdlib> #include <QCD/Flavor.hh> #include <Evolution/PDF.hh> #include <Tranform/Mellin.hh> #include <unpolPDF/Evolution.hh> #include <unpolPDF/CTEQ6pdf.hh> using namespace std; using namespace Transform; using namespace ...
gpl-3.0
Naoghuman/Dream-Better-Worlds
DBW-Application-Performance/src/main/java/de/pro/dbw/application/performance/entity/reflection/ReflectionView.java
1043
/* * Copyright (C) 2015 Dream Better Worlds * * 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
teiniker/teiniker-lectures-configurationmanagement
documentation/API-Stack/src/test/java/org/se/lab/StackTest.java
730
package org.se.lab; import org.junit.Assert; import org.junit.Before; import org.junit.Test; public class StackTest { private Stack stack; @Before public void setup() { stack = Stack.newInstance(); stack.push(1); stack.push(2); stack.push(3); stack.push(4); } @Test public void testSize() { ...
gpl-3.0
Humanized/yii2-account
cli/DefaultController.php
1069
<?php /** * @link https://github.com/humanized/yii2-user-management * @copyright Copyright (c) 2016 Humanized BV Comm V * @license https://github.com/humanized/yii2-user-management/LICENSE.md */ namespace humanized\account\cli; use humanized\account\models\base\UserCrud; /** * * @name Yii2 User Managment Mod...
gpl-3.0
guiguilechat/EveOnline
model/sde/SDE-Types/src/generated/java/fr/guiguilechat/jcelechat/model/sde/types/commodity/ShipLogs.java
1841
package fr.guiguilechat.jcelechat.model.sde.types.commodity; import java.io.InputStreamReader; import java.util.Collections; import java.util.LinkedHashMap; import java.util.Map; import fr.guiguilechat.jcelechat.model.sde.IMetaCategory; import fr.guiguilechat.jcelechat.model.sde.IMetaGroup; import fr.guiguilechat.jcel...
gpl-3.0
imsure/ndn-tools-dev
tools/pib/pib-db.cpp
29709
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** * Copyright (c) 2014-2016, Regents of the University of California. * * This file is part of ndn-tools (Named Data Networking Essential Tools). * See AUTHORS.md for complete list of ndn-tools authors and contributors. * * ndn-tools is free sof...
gpl-3.0
arielk/elementor
core/app/modules/import-export/assets/js/pages/import/import-content/import-content.js
1887
import React, { useContext, useEffect } from 'react'; import { useNavigate } from '@reach/router'; import { Context } from '../../../context/context-provider'; import Layout from '../../../templates/layout'; import PageHeader from '../../../ui/page-header/page-header'; import KitContent from '../../../shared/kit-cont...
gpl-3.0
aravindkarthik96/bluebot-android
app/src/main/java/com/bluebot/bluebotapp/homePage/HomeActivityPresenter.java
298
package com.bluebot.bluebotapp.homePage; /** * Created by aravind karthik on 10/23/2016. */ public class HomeActivityPresenter { HomeActivityView homeActivityView; public HomeActivityPresenter(HomeActivityView homeActivityView) { this.homeActivityView=homeActivityView; } }
gpl-3.0
rudin-io/wikidoclet
src/li/rudin/wikidoc/processor/impl/CategoryProcessor.java
296
package li.rudin.wikidoc.processor.impl; import li.rudin.wikidoc.processor.base.ProcessorBase; public class CategoryProcessor extends ProcessorBase { @Override public void process() { article.addTextnl("[[Category:" + category + "]]"); article.addTextnl("[[Category:JavaDoc]]"); } }
gpl-3.0
grueni75/GeoDiscoverer
Source/Platform/Target/Android/core/src/main/jni/gdal-3.2.1/alg/gdalcutline.cpp
15958
/****************************************************************************** * * Project: High Performance Image Reprojector * Purpose: Implement cutline/blend mask generator. * Author: Frank Warmerdam, warmerdam@pobox.com * ****************************************************************************** * ...
gpl-3.0
eishub/eis
eis/src/main/java/eis/eis2java/environment/AbstractEnvironment.java
5893
package eis.eis2java.environment; import java.util.HashMap; import java.util.Map; import eis.EIDefaultImpl; import eis.PerceptUpdate; import eis.eis2java.handlers.ActionHandler; import eis.eis2java.handlers.DefaultActionHandler; import eis.eis2java.handlers.DefaultPerceptHandler; import eis.eis2java.handlers.PerceptH...
gpl-3.0
NGO-DB/ndb-core
src/app/features/historical-data/demo-historical-data-generator.ts
2371
import { DemoDataGenerator } from "../../core/demo-data/demo-data-generator"; import { HistoricalEntityData } from "./historical-entity-data"; import { Injectable } from "@angular/core"; import { DemoChildGenerator } from "../../child-dev-project/children/demo-data-generators/demo-child-generator.service"; import { Con...
gpl-3.0
kevoree-modeling/java2typescript
transpiler/src/test/java/sources/strings/ClassFields.java
843
/** * Copyright 2017 The Java2TypeScript Authors. All rights reserved. * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> *...
gpl-3.0
snegron17/Horas-Comunitarias
app.js
1457
var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var index = require('./routes/index'); var search = require('./routes/search'); var ads = require('...
gpl-3.0
michelesr/ingsw-project
project/doc/html/search/functions_9.js
164
var searchData= [ ['opensession',['OpenSession',['../classproject_1_1Models_1_1Session.html#a0da87c701e8e2e3be052899bfb8a2af8',1,'project::Models::Session']]] ];
gpl-3.0
dilirove92/Asistente-de-Pacientes
tables/TblTipoActividad.java
2406
package com.Notifications.patientssassistant.tables; import com.Notifications.patientssassistant.R; import android.util.Log; import com.orm.SugarRecord; import com.orm.query.Condition; import com.orm.query.Select; public class TblTipoActividad extends SugarRecord<TblTipoActividad>{ private Long IdTip...
gpl-3.0
MrCerealGuy/Stonecraft
games/stonecraft_game/mods/cottages/nodes_historic.lua
8216
--------------------------------------------------------------------------------------- -- decoration and building material --------------------------------------------------------------------------------------- -- * includes a wagon wheel that can be used as decoration on walls or to build (stationary) wagons -- * dir...
gpl-3.0
haywoodspartan/Aura-Personal-Build
src/Mabi/Const/Regions.cs
506
// Copyright (c) Aura development team - Licensed under GNU GPL // For more information, see license file in the main folder namespace Aura.Mabi.Const { public enum EventType : int { Unk1 = 1, AreaChange = 10, // ? (texts, bgm change) Collision = 14, CreatureSpawn = 2000, } public enum SignalType : int ...
gpl-3.0
SciCatProject/catanie
src/app/shared/sdk/models/Proposal.ts
4143
/* eslint-disable */ import { Attachment } from '../index'; declare var Object: any; export interface ProposalInterface { "proposalId": string; "pi_email"?: string; "pi_firstname"?: string; "pi_lastname"?: string; "email": string; "firstname"?: string; "lastname"?: string; "title"?: string; "abstra...
gpl-3.0
dstockhammer/burgerama
Services/Venues/Data/Converters/VenueConverter.cs
1588
using System; using System.Diagnostics.Contracts; using System.Linq; using Burgerama.Services.Venues.Data.Models; using Burgerama.Services.Venues.Domain; namespace Burgerama.Services.Venues.Data.Converters { internal static class VenueConverter { public static VenueModel ToModel(this Venue venue) ...
gpl-3.0
uds-se/backstage
src/main/java/st/cs/uni/saarland/de/searchDynDecStrings/StmtSwitchForStrings.java
23350
package st.cs.uni.saarland.de.searchDynDecStrings; import soot.Scene; import soot.SootField; import soot.SootMethod; import soot.Unit; import soot.jimple.*; import st.cs.uni.saarland.de.entities.FieldInfo; import st.cs.uni.saarland.de.helpClasses.Helper; import st.cs.uni.saarland.de.helpClasses.Info; import st.cs.uni....
gpl-3.0
RealizedMC/Duels
duels-api/src/main/java/me/realized/duels/api/event/request/RequestAcceptEvent.java
1617
package me.realized.duels.api.event.request; import javax.annotation.Nonnull; import me.realized.duels.api.request.Request; import org.bukkit.entity.Player; import org.bukkit.event.Cancellable; import org.bukkit.event.HandlerList; /** * Called when a {@link Player} accepts a {@link Request} from a {@link Player}. *...
gpl-3.0
gcsadovy/generalPY
manageParcels.py
217
# manageParcels.py import parcelClass myParcel = parcelClass.parcel(145000, "residential") print "Value:", myParcel.value print "Zoning:", myParcel.zoning mytax = myParcel.calculateTax() print "Tax:", mytax
gpl-3.0
bramfoo/algorithms
src/main/java/edu/princeton/cs/algs4/fundamentals/LinkedQueue.java
7443
package edu.princeton.cs.algs4.fundamentals; import edu.princeton.cs.algs4.io.*; /************************************************************************* * Compilation: javac LinkedQueue.java * Execution: java LinkedQueue < input.txt * Dependencies: StdIn.java StdOut.java * Data files: http://algs4.cs....
gpl-3.0
prife/VirtualApp
VirtualApp/lib/src/main/java/com/lody/virtual/server/pm/VAppManagerService.java
10353
package com.lody.virtual.server.pm; import android.content.Intent; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import android.content.pm.PackageParser; import android.net.Uri; import android.os.RemoteCallbackList; import android.os.RemoteException; import android.util.Pair; im...
gpl-3.0
Ekleog/toboggan
src/posix.rs
16404
/* * Copyright (C) 2016 Leo Gaspard * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distr...
gpl-3.0
ZhenanLee/greenhouse2016
php/review_data.php
2435
<?php // Start MySQL Connection include('dbconnect.php'); ?> <html> <head> <title>Arduino Temperature Log</title> <style type="text/css"> .table_titles, .table_cells_odd, .table_cells_even { padding-right: 20px; padding-left: 20px; color: #000; ...
gpl-3.0
rorosaurus/tf2-bot
src/ui/ScrapPanel.java
6806
/****************************************************************************** * This file is part of tf2-bot. * * * * tf2-bot is free software: you can redistribute it and/or modify * ...
gpl-3.0
fletch0098/TripToGo
wp-content/themes/hestia-pro/ti-about-page/class-themeisle-about-page.php
42571
<?php /** * ThemeIsle - About page class * * Example of config array with all parameters ( This needs to be defined in the theme's functions.php: * * TI About page register example. * * $config = array( * // Menu name under Appearance. * 'menu_name' => __( 'Abo...
gpl-3.0
czertbytes/tierheimdb
piggybank/shelter.go
2754
package piggybank import ( "fmt" "time" ) func PutShelters(shelters []*Shelter) (Ids, error) { ids := Ids{} for _, s := range shelters { if err := PutShelter(s); err != nil { return nil, err } ids = append(ids, s.Id) } return ids, nil } func PutShelter(s *Shelter) error { s.Created = time.Now().For...
gpl-3.0
TravelModellingGroup/XTMF
Code/NetworkEstimation/Properties/AssemblyInfo.cs
2170
/* Copyright 2014 Travel Modelling Group, Department of Civil Engineering, University of Toronto This file is part of XTMF. XTMF 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...
gpl-3.0
acutesoftware/AIKIF
aikif/.z_prototype/dataTools.py
12997
# -*- coding: utf-8 -*- # dataTools.py written by Duncan Murray 9/4/2014 # Module to manage and process datasets - basically a wrapper # around existing lists, with added documentation and logging # for AIKIF and commonly used functions for simple data processing # # # Functions # Transform columns to new tables # Ge...
gpl-3.0
wandora-team/wandora
src/org/wandora/utils/swing/treetable/TreeTable.java
3938
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.wandora.utils.swing.treetable; import javax.swing.*; import javax.swing.tree.*; import javax.swing.table.*; import javax.swing.event.*; import java.awt.*; import java.util.*; /** * * @author olli */ pub...
gpl-3.0
nicolas-petit/clouder
clouder_website_payment/controller/form_controller_extend.py
7004
# -*- coding: utf-8 -*- ############################################################################## # # Author: Yannick Buron, Nicolas Petit # Copyright 2015, TODAY Clouder SASU # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License with...
gpl-3.0
mgoral/airball
src/Application.cpp
3887
/** * Copyright (C) Michal Goral, 2014 * * 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
mriedel/TransFile
src/net/sourceforge/transfile/network/BilateralConnector.java
11302
/* * Copyright © 2010 Martin Riedel * * This file is part of TransFile. * * TransFile 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 v...
gpl-3.0
Yarilo/dandelion-platform
server/util/mongodb.js
14218
'use strict'; require('prototypes'); var mongodb = require('mongodb'); var db; var Users =[]; var Resources =[]; var testing = require('testing'); var async = require('async'); var path = require('path'); exports.init = function(callback) { mongodb.connect("mongodb://127.0.0.1:27017/dandelion", function(error, databa...
gpl-3.0
ZephyrRaine/LD39
Assets/Scripts/Part.cs
378
using System.Collections; using System.Collections.Generic; using UnityEngine; public enum PART_CATEGORY { HUMAN, ANIMAL, FISH, TREE, CACTUS, OTHER, PART_COUNT } [CreateAssetMenu(fileName = "Part", menuName = "Plant/Part", order = 1)] public class Part : ScriptableObject { public string naming; publ...
gpl-3.0
eric-lemesre/OpenConcerto
OpenConcerto/src/org/openconcerto/ui/FormLayouter.java
8163
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2011 OpenConcerto, by ILM Informatique. All rights reserved. * * The contents of this file are subject to the terms of the GNU General Public License Version 3 * only ("GPL"). You may not use this file except in compliance with th...
gpl-3.0
gammalgris/jmul
Utilities/Math/src/jmul/math/notation/comparators/NumberComparatorBase.java
2059
/* * SPDX-License-Identifier: GPL-3.0 * * * (J)ava (M)iscellaneous (U)tilities (L)ibrary * * JMUL is a central repository for utilities which are used in my * other public and private repositories. * * Copyright (C) 2019 Kristian Kutin * * This program is free software: you can redistribute it and/or modify...
gpl-3.0
andry-tino/Rosetta
test/renderers/ASTWalker.Renderings.Tests/archetypes/classes/ClassWithMethodExpression.ts
1148
class MyClass { public constructor() { var initVariable1 : string = 'Hello'; } public Method1() : void { var initVariable1 : string = 'Hello'; } Method2() : void { var initVariable1 : int = 1 + 4; var initVariable2 : int = 2 * 4 + (3 / 2); } private Method3() : void { var initVariabl...
gpl-3.0
modsim/CADET-semi-analytic
ThirdParty/cppad/cppad/local/sin_op.hpp
6581
# ifndef CPPAD_LOCAL_SIN_OP_HPP # define CPPAD_LOCAL_SIN_OP_HPP /* -------------------------------------------------------------------------- CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell CppAD is distributed under multiple licenses. This distribution is under the terms of the ...
gpl-3.0
sergioArgerey/alfresco-sane-zonal-ocr
sane-zonal-ocr-module-alfresco/src/main/java/au/com/southsky/jfreesane/SaneEnums.java
2501
package au.com.southsky.jfreesane; import java.util.List; import java.util.Map; import java.util.Set; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.collect.Sets; /** * Utilities for dealing with instances of {@l...
gpl-3.0
jesusc/eclectic
plugins/org.eclectic.frontend.syntax.mappings.ui/src/org/eclectic/frontend/ui/labeling/MappingsLabelProvider.java
731
/* * generated by Xtext */ package org.eclectic.frontend.ui.labeling; import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider; import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider; import com.google.inject.Inject; /** * Provides labels for a EObjects. * * see http://www.eclipse.org/Xtext/doc...
gpl-3.0
shamoxiaoniqiu2008/jeecg-framework
src/main/java/org/jeecgframework/poi/excel/entity/ExcelCollectionParams.java
891
package org.jeecgframework.poi.excel.entity; import java.util.Map; /** * Excel 对于的 Collection * * @author JueYue * @date 2013-9-26 * @version 1.0 */ public class ExcelCollectionParams { /** * 集合对应的名称 */ private String name; /** * 实体对象 */ private Class<?> type; /** * 这个li...
gpl-3.0
mizangl/twitter_puller
app/src/main/java/com/mz/twitterpuller/login/LoginActivity.java
1269
package com.mz.twitterpuller.login; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import com.mz.twitterpuller.R; import com.mz.twitterpuller.util.BaseActivity; import javax.inject.Inject; public class LoginActivity extends ...
gpl-3.0
soultek101/HammerMod
hammermod_common/konals/mods/hammermod/lib/Reference.java
515
package konals.mods.hammermod.lib; public class Reference { public static final String MOD_ID = "HammerMod"; public static final String MOD_NAME = "HammerMod"; public static final String VERSION_NUMBER = "1.3"; public static final String DEPENDENCIES = "required-after:Forge@[7.8.0.696,)"; ...
gpl-3.0
s3inlc/hashtopussy
src/inc/handlers/HashtypeHandler.class.php
891
<?php class HashtypeHandler implements Handler { public function __construct($hashtypeId = null) { //we need nothing to load } public function handle($action) { try { switch ($action) { case DHashtypeAction::DELETE_HASHTYPE: HashtypeUtils::deleteHashtype($_POST['type']); ...
gpl-3.0
haddowg/phproommaster
PHPRM_IQWebCls.php
2731
<?php namespace haddowg\phproommaster; /** * @package PHPRoomMaster * @author Gregory Haddow * @copyright Copyright (c) 2014, Gregory Haddow, http://www.greghaddow.co.uk/ * @license http://opensource.org/licenses/gpl-3.0.html The GPL-3 License with additional attribution clause as detailed be...
gpl-3.0
RailTracker/OpenRA
OpenRA.Mods.Common/Activities/Air/ResupplyAircraft.cs
1394
#region Copyright & License Information /* * Copyright 2007-2016 The OpenRA Developers (see AUTHORS) * This file is part of OpenRA, which is free software. It is made * available to you under the terms of the GNU General Public License * as published by the Free Software Foundation, either version 3 of * the Licen...
gpl-3.0
neutrondave/pico-os
docs/html/search/variables_6b.js
1343
var searchData= [ ['k_5floop_5flist',['k_loop_list',['../group__pico.html#ga1415910309be4683779840db827a8a25',1,'pico.c']]], ['k_5fready_5flist',['k_ready_list',['../group__pico.html#gad75376ff0ad4fa4a60ad59b4955d0f70',1,'k_ready_list():&#160;pico.c'],['../_cortex_m3_2portable_8c.html#a9b27e6fa20d8f0f543dd4a7e02303...
gpl-3.0
nahumrosillo/Torni-Juegos
Torni-Juegos/src/app/app.module.ts
2920
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { HttpModule } from '@angular/http'; import { AppRouting } from './app.routing'; import { AppComponent } from './app.component'; import { UserManagerComponent } from...
gpl-3.0
Xol/SoHairyItsScary
SoHairyItsScary/Assets/Scripts/GameField.cs
498
using UnityEngine; // ------------------------------------------------------------------------------ // Represents a 1x1 tile in an GameArea // ------------------------------------------------------------------------------ public abstract class GameField { private bool canBeSteppedOn; public GameField() { this.c...
gpl-3.0
yamstudio/leetcode
java/522.longest-uncommon-subsequence-ii.java
1624
/* * @lc app=leetcode id=522 lang=java * * [522] Longest Uncommon Subsequence II * * autogenerated using scripts/convert.py */ import java.util.HashSet; import java.util.Comparator; import java.util.Arrays; class Solution { public int findLUSlength(String[] strs) { HashSet<String> set = new HashSet<S...
gpl-3.0
EidrianGM/FromBed2NetPipeLine
gff3s_manager.py
2550
#!bin/usr/python # -*- coding: utf-8 -*-. # Adrian Garcia Moreno import io import re as re import os import subprocess import sys def ncbi_formatter(source): output = subprocess.check_output("grep ^NC "+source+"_raw.gff3 | cut -f1 | sort -u", shell=True) contigs = output.split("\n") if contigs[-1] == "":...
gpl-3.0
JeanJoskin/Traffique
src/settings.py
811
# Traffique: live visitor statistics on App Engine # Copyright (C) 2011 Jean Joskin <jeanjoskin.com> # # Traffique 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
UpshiftOne/upshift
spec/support/helpers/features_helper.rb
337
# frozen_string_literal: true # Features helper methods module FeaturesHelper # signs in the account def sign_in_as(account) visit '/login' fill_in 'Email', with: account.email fill_in 'Password', with: account.password click_on 'Log in' end # signs out the account def sign_out visit '/l...
gpl-3.0
Atizar/RapidCFD-dev
src/OpenFOAM/primitives/SymmTensor/SymmTensorI.H
15105
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\/ M anipulation | --------...
gpl-3.0
ogata-lab/v_repExtRTC
src/SimulatorStub.cpp
674
// -*- C++ -*- /*! * * THIS FILE IS GENERATED AUTOMATICALLY!! DO NOT EDIT!! * * @file SimulatorStub.cpp * @brief Simulator client stub wrapper code * @date Thu Sep 11 22:40:04 2014 * */ #include "SimulatorStub.h" #if defined ORB_IS_TAO # include "SimulatorC.cpp" #elif defined ORB_IS_OMNIORB # include "S...
gpl-3.0
luutifa/starfield-demo
demo_timing.hpp
908
// Copyright 2015 Lauri Gustafsson /* This file is part of Low Quality is the Future. Low Quality is the Future 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 ...
gpl-3.0
victorfcm/laravel-gitscrum
app/Http/Middleware/RedirectIfAuthenticated.php
717
<?php /** * GitScrum v0.1. * * @author Renato Marinho <renato.marinho@s2move.com> * @license http://opensource.org/licenses/GPL-3.0 GPLv3 */ namespace GitScrum\Http\Middleware; use Closure; use Illuminate\Support\Facades\Auth; class RedirectIfAuthenticated { /** * Handle an incoming request. * ...
gpl-3.0
fabiencro/knmt
nmt_chainer/utilities/extract_processed_data.py
1715
#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals import json import codecs import gzip import logging from nmt_chainer.dataprocessing import processors logging.basicConfig() log = logging.getLogger("rnns:utils:extract") log.setLevel(logging.INFO) def define_par...
gpl-3.0
Spoken-tutorial/spoken-website
youtube/backup/models.py
304
# Third Party Stuff from django.contrib.auth.models import User from django.db import models from oauth2client.django_orm import CredentialsField class CredentialsModel(models.Model): id = models.OneToOneField(User, primary_key=True, on_delete=models.PROTECT ) credential = CredentialsField()
gpl-3.0
BetaCONCEPT/astroboa
astroboa-portal-commons/src/main/java/org/betaconceptframework/astroboa/portal/managedbean/PortalResourceLoader.java
2560
/* * Copyright (C) 2005-2012 BetaCONCEPT Limited * * This file is part of Astroboa. * * Astroboa 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 op...
gpl-3.0
ferdavid1/Tequila-Mockingbird
fft_notes.py
1326
import numpy as np import scipy.io.wavfile as wave import matplotlib.pyplot as plt from wave import Wave_read from math import log2, pow from scipy.signal import find_peaks_cwt as peaks from scipy.optimize import leastsq import numpy as np A4 = 440 C0 = A4*pow(2, -4.75) name = ["C", "C#", "D", "D#", "E", "F...
gpl-3.0
eljost/pysisyphus
pysisyphus/irc/LQA.py
1841
# [1] https://aip.scitation.org/doi/pdf/10.1063/1.459634?class=pdf # Page, 1990, Eq. 19 is missing a **2 after g'_0,i # [2] https://aip.scitation.org/doi/10.1063/1.1724823 # Hratchian, 2004 import numpy as np from pysisyphus.optimizers.hessian_updates import bfgs_update from pysisyphus.irc.IRC import IRC cl...
gpl-3.0
marcelohama/mp-ofertas
MPOfertas/app/src/main/java/com/mercadopago/mpofertas/utils/SimpleCrypto.java
2784
package com.mercadopago.mpofertas.utils; import java.security.SecureRandom; import javax.crypto.Cipher; import javax.crypto.KeyGenerator; import javax.crypto.SecretKey; import javax.crypto.spec.SecretKeySpec; /** * Usage: * * <pre> * String crypto = SimpleCrypto.encrypt(masterpassword, cleartext) ...
gpl-3.0
beone/JRUN
RunJS/src/net/oschina/runjs/action/ProjectAction.java
23707
package net.oschina.runjs.action; import java.io.IOException; import java.sql.Timestamp; import java.util.Date; import java.util.List; import net.oschina.common.servlet.Annotation.JSONOutputEnabled; import net.oschina.common.servlet.Annotation.PostMethod; import net.oschina.common.servlet.Annotation.UserRoleRequired;...
gpl-3.0
Tikaji/PowerPylons
src/main/java/com/tikaji/powerpylons/tileentity/base/GenericTileEntity.java
301
package com.tikaji.powerpylons.tileentity.base; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.ITickable; /** * Created by Tikaji on 5/26/2016. */ public abstract class GenericTileEntity extends TileEntity implements ITickable { @Override public abstract void update(); }
gpl-3.0
jdupl/iot-greenhouse-ctrl
gpio.py
616
class RPiGPIOWrapper(): # Implementation for Raspberry pi 1 to 3 # Pin ID are BCM numbering def __init__(self, bcm_pin_id): import RPi.GPIO as _GPIO self.GPIO = _GPIO self.pin_id = bcm_pin_id def output(self, value): self.__setup() print('outputting %s to %d' % (...
gpl-3.0
jahuth/convis
convis/io.py
1018
import json import numpy as np from future.utils import iteritems as _iteritems def _var_to_json_safe(v): if hasattr(v,'get_value'): v = v.get_value() if type(v) is np.ndarray: return v.tolist() return v def _json_safe_to_value(v): if type(v) is list: try: return np....
gpl-3.0
MaWiMa/hip
history/winkelfunction_pyramid.rb
1145
#!/usr/bin/ruby # Norbert Reschke, 2015-06-18, s. Skizze # Gerade Pyramide mit regelmäßiger Grundfläche # a=Kantenlaengen, h=Hoehe a = ARGV[0].to_f h = ARGV[1].to_f if (a == 0.0 or h == 0.0) and h != a # beide Werte 0, z.B. keine Parameterangabe, dann wird 1.0 gesetzt, s. b==a puts "a und b müssen ein Wert größer 0...
gpl-3.0
sapphon/minecraftpython
src/main/java/org/sapphon/minecraft/modding/base/CombinedClientProxy.java
490
package org.sapphon.minecraft.modding.base; import org.sapphon.minecraft.modding.minecraftpython.command.ClientTickHandler; import org.sapphon.minecraft.modding.minecraftpython.command.ServerTickHandler; import cpw.mods.fml.common.FMLCommonHandler; public class CombinedClientProxy extends CommonProxy { public Combi...
gpl-3.0