code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
using UnityEngine; using System.Collections.Generic; using System.Collections; public class Director : MonoBehaviour { private List<GameObject> levelElements = new List<GameObject>(); private List<float> elementTimes = new List<float>(); private float right = 17.0f; private float left = -19.0f; public float ...
keerthik/fluttercorn
Assets/Scripts/Director.cs
C#
gpl-3.0
7,502
from Products.CMFCore.utils import getToolByName from cStringIO import StringIO from Products.OpenPlans.Extensions.Install import installZ3Types from Products.OpenPlans.Extensions.setup import migrate_listen_member_lookup from Products.OpenPlans.Extensions.setup import reinstallSubskins def migrate_listen(self): ...
socialplanning/opencore
Products/OpenPlans/Extensions/migrate_listen.py
Python
gpl-3.0
1,938
package org.mindroid.impl.statemachine.properties.sensorproperties; import org.mindroid.api.statemachine.properties.IProperty; import org.mindroid.api.statemachine.properties.SimpleEV3SensorProperty; import org.mindroid.common.messages.hardware.Sensormode; import org.mindroid.impl.ev3.EV3PortID; /** * Created by T...
Echtzeitsysteme/mindroid
impl/androidApp/api/src/main/java/org/mindroid/impl/statemachine/properties/sensorproperties/Ambient.java
Java
gpl-3.0
745
jQuery(window).load( function() { if( local_data.form_id ) { var pardot_id = local_data.form_id; } else{ var pardot_id = jQuery('[id^="form-wysija-"]').attr('id'); } jQuery('.pardotform').contents().find('#pardot-form').submit(function () { var ajax_data = { action: 'pardot_capture_lead', 'firstnam...
leadferry/lf-leads
leads/classes/vendors/js/pardot.js
JavaScript
gpl-3.0
673
/* * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
arahusky/performance_javadoc
src/java-doclet/cz/cuni/mff/d3s/tools/perfdoc/doclets/internal/toolkit/builders/ConstructorBuilder.java
Java
gpl-3.0
8,166
package me.jezzadabomb.es2.client.renderers.tile; import static org.lwjgl.opengl.GL11.*; import java.util.Random; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; import net.minecraft.tileentity.TileEntity; impor...
Jezza/Elemental-Sciences-2
es_common/me/jezzadabomb/es2/client/renderers/tile/TileQuantumStateDisruptorRenderer.java
Java
gpl-3.0
2,037
/* * Copyright 2014 pushbit <pushbit@gmail.com> * * This file is part of Dining Out. * * Dining Out 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) a...
mobilist/dining-out
src/net/sf/diningout/app/RestaurantGeocodeService.java
Java
gpl-3.0
3,609
<?php /******************************************************************************* * Copyright 2009-2016 Amazon Services. All Rights Reserved. * 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 ...
davygeek/mws
mwsapi/FBAInventoryServiceMWS/Client.php
PHP
gpl-3.0
32,332
package xyz.stupidwolf.enums; /** * 定义各个操作的返回状态码 * Created by stupidwolf on 2016/8/4. */ public enum ResultCode { DELETE_SUCCESS("40"), DELETE_FAIL("41"), WRITE_SUCCESS("50"), WRITE_FAIL("51") ; private String code; ResultCode(String code) { this.code = code; } public ...
stupidwolf/stupid-blog
src/main/java/xyz/stupidwolf/enums/ResultCode.java
Java
gpl-3.0
392
package model; /** * @author Yi Zheng * Class to represent suppliers of sushi ingredients. * */ public class Supplier{ private String name; private int distance; // assume it is in kms and manually entered. // in the real world, the distance may depends on traffic, security issues, etc. // so ...
zhengyi20201/SushiSystem
src/model/Supplier.java
Java
gpl-3.0
876
/* * SLD Editor - The Open Source Java SLD Editor * * Copyright (C) 2016, SCISYS UK Limited * * 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 yo...
robward-scisys/sldeditor
modules/application/src/main/java/com/sldeditor/tool/mapbox/MapBoxTool.java
Java
gpl-3.0
9,130
$(window).load(function() { /* Seleccionar el primer radio button (Persona) */ var contr = $('#form-adhere input[type=radio]'); contr.first().prop( "checked", true ); /* Cargar lista de paises en el select */ $.ajax({ url: location.origin + location.pathname + '/assets/js/countries.json', d...
DemocraciaEnRed/redinnovacionpolitica.org
assets/js/adhere-form.js
JavaScript
gpl-3.0
2,368
<?php function loadXMLDoc($xmlfile) { $doc = new DOMDocument(); $doc->load($xmlfile); return $doc; } function getSingleAttribValue($xmlfile,$tag,$attrib) { return getXMLAttrib(loadXMLDoc($xmlfile)->getElementsByTagName($tag)->item(0),$attrib); } function getXMLNodeList($xmldoc,$nodename) { ret...
PossibilitiesForLearning/pfl-wptheme
wp.custom.src/xmlfuncs.php
PHP
gpl-3.0
476
package rd.neuron.neuron; import org.jblas.FloatMatrix; import rd.neuron.neuron.Layer.Function; /** * Build a fully connected random layer with a middle and max value * @author azahar * */ public class FullyRandomLayerBuilder implements LayerBuilder { private final float mid, max; /** * * @param mid - mi...
amachwe/NeuralNetwork
src/main/java/rd/neuron/neuron/FullyRandomLayerBuilder.java
Java
gpl-3.0
1,234
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2016-11-13 09:57 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('db', '0077_auto_20161113_2049'), ] operations = [ migrations.AlterModelOptions( ...
caw/curriculum
db/migrations/0078_auto_20161113_2057.py
Python
gpl-3.0
444
/* * Copyright (C) 2017 Schürmann & Breitmoser GbR * * 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 pr...
open-keychain/open-keychain
OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/base/QueueingCryptoOperationFragment.java
Java
gpl-3.0
3,377
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-21 05:36 from __future__ import unicode_literals import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ...
rubyAce71697/QMS
quiz_system/quiz/migrations/0001_initial.py
Python
gpl-3.0
5,170
package ch.cyberduck.core.onedrive; /* * Copyright (c) 2002-2020 iterate GmbH. All rights reserved. * https://cyberduck.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, either versio...
iterate-ch/cyberduck
onedrive/src/main/java/ch/cyberduck/core/onedrive/AbstractSharepointListService.java
Java
gpl-3.0
3,894
#!/usr/bin/env python """ Copyright (C) 2015 Ivan Gregor 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. ...
algbioi/snowball
algbioi/ga/run.py
Python
gpl-3.0
21,873
require File.expand_path('../boot', __FILE__) require 'rails/all' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module ProjectManagerApi class Application < Rails::Application # Settings in config/environments/* ...
alansalinas/ProjectManager-api
config/application.rb
Ruby
gpl-3.0
988
package edu.drexel.psal.anonymouth.engine; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.Map; import java.util.Set; import edu.drexel.psal.ANONConstants; import edu.drexel.psal.anonymouth.helpers.ErrorHandler; import edu.drexel.psal.jstylo.analyzers.WekaAnalyzer; imp...
jbdatko/pes
anonymouth/src/edu/drexel/psal/anonymouth/engine/FeatureSwapper.java
Java
gpl-3.0
8,994
/*********************************************************************** filename: CEGUIDirect3D11GeometryBuffer.cpp created: Wed May 5 2010 *************************************************************************/ /*************************************************************************** * Copy...
cooljeanius/CEGUI
cegui/src/RendererModules/Direct3D11/CEGUIDirect3D11GeometryBuffer.cpp
C++
gpl-3.0
10,922
# deprecated? class HostControlWrapper(object): def __init__(self): self.id = None self.idx = None self.label = None self.btn = None self.tile_bg = None self.host = None
wackerl91/luna
resources/lib/model/hostcontrolwrapper.py
Python
gpl-3.0
222
#include <vector> #include <list> #include <map> #include <set> #include <queue> #include <deque> #include <stack> #include <bitset> #include <algorithm> #include <functional> #include <numeric> #include <utility> #include <sstream> #include <iostream> #include <iomanip> #include <cstdio> #include <cmath> #include <cst...
jhtan/cp
topCoder/SRM604div2/FoxAndWord.cpp
C++
gpl-3.0
3,553
const UserAuthentication = function () { let _userPool = new AmazonCognitoIdentity.CognitoUserPool( window.auth.config.cognito ); let _cognitoUser = _userPool.getCurrentUser(); const _getUser = function (email) { if (!_cognitoUser) { _cognitoUser = new AmazonCognitoIdentity.CognitoUser({ ...
aodn/aodn-portal
web-app/js/aws-cognito/UserAuthentication.js
JavaScript
gpl-3.0
6,716
package de.unijena.bioinf.fingerid; import de.unijena.bioinf.fingerid.db.CustomDataSourceService; import de.unijena.bioinf.sirius.gui.table.ActiveElementChangedListener; import de.unijena.bioinf.sirius.gui.utils.WrapLayout; import javax.swing.*; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeLis...
boecker-lab/sirius_frontend
sirius_gui/src/main/java/de/unijena/bioinf/fingerid/DBFilterPanel.java
Java
gpl-3.0
4,224
<?php namespace DemocracyApps\CNP\Providers; use Illuminate\Routing\Router; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; class RouteServiceProvider extends ServiceProvider { /** * This namespace is applied to the controller routes in your routes file. * * In addition, i...
DemocracyApps/CNP
app/Providers/RouteServiceProvider.php
PHP
gpl-3.0
959
package com.ua.homework_7_2; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import com.ua.homework_7_1.hibernate.controllers.DishController; import com.ua.homework_7_1.hibernate.controllers.EmployeeController; import com.ua.homework_7_1...
andrewzagor/goit
Enterprise_7_2/Main.java
Java
gpl-3.0
2,196
/********************************************************** * Version $Id$ *********************************************************/ /////////////////////////////////////////////////////////// // // // SAGA // // ...
UoA-eResearch/saga-gis
saga-gis/src/saga_core/saga_api/table_record.cpp
C++
gpl-3.0
14,927
Simpla CMS 2.3.8 = afa50d5f661d65b6c67ec7f0e80eee7d
gohdan/DFC
known_files/hashes/simpla/design/js/codemirror/addon/hint/css-hint.js
JavaScript
gpl-3.0
52
import requests from requests.auth import HTTPDigestAuth import time import json import sys class IMT550C(): def __init__(self): params = self.configure() self.uri = params["uri"] self.ip = params["IP"] self.user = params["username"] self.password = params["password"] self.sample_rate = param...
SoftwareDefinedBuildings/bw2-contrib
driver/imt550c/smap.py
Python
gpl-3.0
3,893
'use strict'; /** * pratice Node.js project * * @author Mingyi Zheng <badb0y520@gmail.com> */ import {expect} from 'chai'; import {request} from '../test'; describe('user', function () { it('signup', async function () { try { const ret = await request.post('/api/signup', { name: 'test1', ...
akin520/pratice-node-project
src/test/test_user.js
JavaScript
gpl-3.0
1,036
# nnmware(c)2012-2020 from __future__ import unicode_literals from django import forms from django.contrib.admin.widgets import AdminTimeWidget from django.contrib.auth import get_user_model from django.core.exceptions import ValidationError from django.core.validators import validate_email from django.utils.timezone...
nnmware/nnmware
apps/booking/forms.py
Python
gpl-3.0
9,755
/* * Copyright (C) 2014 Hector Espert Pardo * * 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...
cheste1/LibDAM
LibDAM/src/utilidades/Aleatorios.java
Java
gpl-3.0
6,150
// Copyright (C) 2009--2011, 2013, 2014 Jed Brown and Ed Bueler and Constantine Khroulev and David Maxwell // // This file is part of PISM. // // PISM 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 v...
talbrecht/pism_pik06
src/base/stressbalance/ssa/FETools.hh
C++
gpl-3.0
18,810
/* * Copyright (c) 2010-2014 Clark & Parsia, LLC. <http://www.clarkparsia.com> * * 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 ...
albertmeronyo/stardog-r
aggregates/test/src/com/complexible/stardog/plan/aggregates/TestRAggregates.java
Java
gpl-3.0
22,803
/* * HelpCommand.java * * Copyright (C) 2002-2013 Takis Diakoumis * * 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 any later version. * * This pr...
Black-millenium/rdb-executequery
java/src/org/executequery/gui/console/commands/HelpCommand.java
Java
gpl-3.0
1,823
/* * Copyright 2010 kk-electronic a/s. * * This file is part of KKPortal. * * KKPortal 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) an...
kk-electronic/KKPortal
src/com/kk_electronic/kkportal/core/rpc/jsonformat/UnableToDeserialize.java
Java
gpl-3.0
950
/** * 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...
psnc-dl/darceo
wrdz/wrdz-ms/web/src/main/java/pl/psnc/synat/wrdz/ms/stats/DataFileFormatBean.java
Java
gpl-3.0
2,754
<?php /* Copyright (c) 2009-2017 F3::Factory/Bong Cosca, All rights reserved. This file is part of the Fat-Free Framework (http://fatfreeframework.com). This 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...
vijinho/fatfree-core-psr2
f3.php
PHP
gpl-3.0
1,213
#include "pointconversor.h" #include "invalidconversorinput.h" // TODO: implement human notation WIHTOUT double float (or any float). // With float, there are some 64 bits numbers which cannot be represented // because double float only really has 52 bits for mantissa. PointConversor::PointConversor(): bits(0), ...
petcomputacaoufrgs/hidracpp
src/core/pointconversor.cpp
C++
gpl-3.0
21,532
import java.util.ArrayList; /** * Write a description of class StrengthPotion here. * * @author Jarom Kraus * @version 2.23.16 */ @SuppressWarnings("unchecked") public class StrengthPotion extends Potion{ private ArrayList stats; public StrengthPotion(String Name){ super(Name); } public v...
jaromkraus/RPG
RPG/StrengthPotion.java
Java
gpl-3.0
577
package centralapp.views; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JTabbedPane; import centralapp.controlers.CentralApp; /** * The main window containing all the sub-views */ @SuppressWarnings("serial") public class MainView extends JFrame { private JTabbedPane tabbedPane; /**...
Edroxis/DI3_Projet4_Pointeuse
src/centralapp/views/MainView.java
Java
gpl-3.0
1,273
from __future__ import print_function, division INLINE_LABEL_STYLE = { 'display': 'inline-block', } GRAPH_GLOBAL_CONFIG = { 'displaylogo': False, 'modeBarButtonsToRemove': ['sendDataToCloud'], } AXIS_OPTIONS = ({ 'label': 'linear', 'value': 'linear', }, { 'label': 'log', 'value': 'log', }...
lqhuang/SAXS-tools
dashboard/layouts/style.py
Python
gpl-3.0
1,620
/* * Copyright (C) 2020 <mark@makr.zone> * inspired and based on work * Copyright (C) 2011 Jason von Nieda <jason@vonnieda.org> * * This file is part of OpenPnP. * * OpenPnP 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 ...
openpnp/openpnp
src/main/java/org/openpnp/machine/reference/axis/wizards/AbstractAxisConfigurationWizard.java
Java
gpl-3.0
3,328
package com.github.alexaegis.plane.poligons; import com.github.alexaegis.plane.Point; public abstract class RegularPolygon implements Polygon { protected RegularPolygons type = null; protected Point center = new Point(0, 0); protected double edgeLength = 0; // length of the edges protected dou...
AlexAegis/elte-progtech-1
submission1/src/main/java/com/github/alexaegis/plane/poligons/RegularPolygon.java
Java
gpl-3.0
2,838
/******************************************************************************* * HellFirePvP / Astral Sorcery 2017 * * This project is licensed under GNU GENERAL PUBLIC LICENSE Version 3. * The source code is available on github: https://github.com/HellFirePvP/AstralSorcery * For further details, see the License...
Saereth/AstralSorcery
src/main/java/hellfirepvp/astralsorcery/common/base/WorldMeltables.java
Java
gpl-3.0
5,184
# -*- coding: utf-8 -*- # Generated by Django 1.9.3 on 2016-07-01 17:09 from __future__ import unicode_literals from django.db import migrations import django_fsm class Migration(migrations.Migration): dependencies = [ ('invoice', '0002_billordering'), ] operations = [ migrations.AlterF...
Diacamma2/financial
diacamma/invoice/migrations/0003_bill_status.py
Python
gpl-3.0
568
package com.taobao.api.domain; import java.util.List; import com.taobao.api.TaobaoObject; import com.taobao.api.internal.mapping.ApiField; import com.taobao.api.internal.mapping.ApiListField; /** * 评价信息 * * @author auto create * @since 1.0, null */ public class RateInfo extends TaobaoObject { private stati...
kuiwang/my-dev
src/main/java/com/taobao/api/domain/RateInfo.java
Java
gpl-3.0
692
from setuptools import setup, find_packages DESCRIPTION = "Implementation of Huff et. al. (2011) Estimation of Recent Shared Ancestry " LONG_DESCRIPTION = "`ersa` estimates the combined number of generations between pairs of " \ "individuals using a " \ "`Germline <http://www1.cs....
rmunoz12/ersa
setup.py
Python
gpl-3.0
2,290
/* * Created: 31.03.2012 * * Copyright (C) 2012 Victor Antonovich (v.antonovich@gmail.com) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at you...
3cky/bkemu-android
app/src/main/java/su/comp/bk/arch/Computer.java
Java
gpl-3.0
40,937
// // 1029Ca.cpp // Problems // // Created by NicolasCardozo on 4/24/21. // Copyright © 2021 NicolasCardozo. All rights reserved. // #include <stdio.h> #include <bits/stdc++.h> using namespace std; int main(){ int n; multiset<int> l, r; pair<int, int> intervals[300010]; cin >> n; for (int i =...
mua-uniandes/weekly-problems
codeforces/1029/1029Ca.cpp
C++
gpl-3.0
800
package net.ddns.templex.commands; import io.github.trulyfree.va.command.commands.TabbableCommand; import io.github.trulyfree.va.daemon.Daemon; import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.CommandSender; import net.md_5.bungee.api.ProxyServer; import net.md_5.bungee.api.chat.BaseComponent; import n...
TemplexMC/TemplexAdditions
src/main/java/net/ddns/templex/commands/TPAHereCommand.java
Java
gpl-3.0
4,347
# -*- coding: utf-8 -*- # ----------------------------------------------------------------------------- # (C) British Crown Copyright 2012-6 Met Office. # # This file is part of Rose, a framework for meteorological suites. # # Rose is free software: you can redistribute it and/or modify # it under the terms of the GNU ...
kaday/rose
lib/python/rose/config_editor/nav_panel_menu.py
Python
gpl-3.0
24,642
package com.ebrightmoon.doraemonkit.ui.dialog; /** * Created by wanglikun on 2019/4/12 */ public interface DialogListener { boolean onPositive(); boolean onNegative(); void onCancel(); }
jinsedeyuzhou/NewsClient
doraemonkit/src/main/java/com/ebrightmoon/doraemonkit/ui/dialog/DialogListener.java
Java
gpl-3.0
203
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-11-30 03:32 from __future__ import unicode_literals import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('administrador', '0011_auto_20171129_2215'), ] operations = [ ...
adbetin/organico-cooperativas
administrador/migrations/0012_auto_20171129_2232.py
Python
gpl-3.0
548
/** * @file Surface Component * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { ComponentRegistry } from "../globals.js"; import { defaults } from "../utils.js"; import Component from "./component.js"; /** * Component wrapping a Surface object * @class * @extends Component * @par...
deepchem/deepchem-gui
gui/static/ngl/src/component/surface-component.js
JavaScript
gpl-3.0
2,061
from django.db import models from wagtail.core.models import Page from wagtail.admin.edit_handlers import FieldPanel, StreamFieldPanel from wagtail.core.fields import StreamField from wagtail.core import blocks from wagtail.images.blocks import ImageChooserBlock from test.anotherapp.models import HomePage class Anot...
benjaoming/django-modeltranslation-wagtail
test/transapp/models.py
Python
gpl-3.0
2,238
# daisy-extract # Copyright (C) 2016 James Scholes # This program is free software, licensed under the terms of the GNU General Public License (version 3 or later). # See the file LICENSE for more details. from collections import namedtuple import argparse import glob import logging import os import platform import sh...
jscholes/daisy-extract
extract.py
Python
gpl-3.0
7,728
package com.abada.trazability.datamatrix.decode; /* * #%L * Contramed * %% * Copyright (C) 2013 Abada Servicios Desarrollo (investigacion@abadasoft.com) * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free ...
abada-investigacion/contramed
trazability/trazability-datamatrix-utils/src/main/java/com/abada/trazability/datamatrix/decode/DecodeImpl.java
Java
gpl-3.0
8,180
# frozen_string_literal: true class RenameTableCardExpenses < ActiveRecord::Migration[4.2] def change # noinspection RailsParamDefResolve rename_table :card_expenses, :trip_expenses end end
lssjbrolli/ctcadmin
db/migrate/20140809104441_rename_table_card_expenses.rb
Ruby
gpl-3.0
203
/* * This file is part of Applied Energistics 2. * Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved. * * Applied Energistics 2 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 ver...
itachi1706/Applied-Energistics-2
src/main/java/appeng/core/Api.java
Java
gpl-3.0
3,373
/* Copyright (C) 2011 Jason von Nieda <jason@vonnieda.org> This file is part of OpenPnP. OpenPnP 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 ...
TinWhiskers/openpnp
src/main/java/org/openpnp/gui/MachineControlsPanel.java
Java
gpl-3.0
25,064
(function() { 'use strict'; angular .module('weatheropendataApp') .config(stateConfig); stateConfig.$inject = ['$stateProvider']; function stateConfig($stateProvider) { $stateProvider.state('register', { parent: 'account', url: '/register', ...
hackathinho/open-clean-energy
backend-weather/src/main/webapp/app/account/register/register.state.js
JavaScript
gpl-3.0
993
/* * MindmapsDB - A Distributed Semantic Database * Copyright (C) 2016 Mindmaps Research Ltd * * MindmapsDB 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...
duckofyork/mindmapsdb
mindmaps-graql/src/main/java/io/mindmaps/graql/Autocomplete.java
Java
gpl-3.0
6,589
using UnityEngine; using System.Collections; using System.Collections.Generic; public class Camel : GamePiece { public override List<GridCell>GetMovementCells(GameGrid grid, GridCell cell) { return grid.GetLeapCells(cell, 3, 1); } public override List<GridCell>GetAttackCells(GameGrid grid, GridCell cell) { ...
matthewvroman/single-player-chess
Assets/Scripts/GamePieces/Camel.cs
C#
gpl-3.0
365
package org.betonquest.betonquest.objectives; import lombok.CustomLog; import org.betonquest.betonquest.BetonQuest; import org.betonquest.betonquest.Instruction; import org.betonquest.betonquest.api.Condition; import org.betonquest.betonquest.api.Objective; import org.betonquest.betonquest.api.QuestEvent; import org.b...
Co0sh/BetonQuest
src/main/java/org/betonquest/betonquest/objectives/ChestPutObjective.java
Java
gpl-3.0
5,067
/************************************************************************ * Virtual Whiteboard System Based on Image Processing * Main file * * Author: Alankar Kotwal <alankarkotwal13@gmail.com> ************************************************************************/ #include <opencv2/core/core.hpp> #include <opencv2...
alankarkotwal/lvp-whiteboard
code/opencv/Whiteboard.cpp
C++
gpl-3.0
2,252
/** * File ./src/main/java/de/lemo/dms/db/mapping/CourseAssignmentMining.java * Lemo-Data-Management-Server for learning analytics. * Copyright (C) 2013 * Leonard Kappe, Andreas Pursian, Sebastian Schwarzrock, Boris Wenzlaff * * This program is free software: you can redistribute it and/or modify * it under the...
LemoProject/lemo2
src/main/java/de/lemo/dms/db/mapping/CourseAssignmentMining.java
Java
gpl-3.0
6,152
#!/usr/bin/python # -*- coding: utf-8 -*- """ This file is part of XBMC Mega Pack Addon. Copyright (C) 2014 Wolverine (xbmcmegapack@gmail.com) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softwar...
xbmcmegapack/plugin.video.megapack.dev
resources/lib/menus/home_countries_tajikistan.py
Python
gpl-3.0
1,117
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Migration_modifica_coluna_hologated_null extends CI_Migration { public function up() { $this->dbforge->modify_column('selection_process_user_subscription', [ 'homologated' => ['type' => 'tinyint(1)', 'null' => TR...
Sistema-Integrado-Gestao-Academica/SiGA
application/migrations/162_modifica_coluna_hologated_null.php
PHP
gpl-3.0
581
/** * initSession * * @module :: Policy * @description :: make sure all session related values are properly setup * */ module.exports = function(req, res, next) { // make sure the appdev session obj is created. req.session.appdev = req.session.appdev || ADCore.session.default(); // if th...
appdevdesigns/appdev-core
api/policies/initSession.js
JavaScript
gpl-3.0
500
/* * Copyright (C) 2013 The Android Open Source Project * * 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 app...
wiki2014/Learning-Summary
alps/cts/tests/tests/media/src/android/media/cts/EncodeVirtualDisplayWithCompositionTest.java
Java
gpl-3.0
59,181
#include "MapState.hpp" namespace states { MapState::MapState(engine::Engine& engine) : GameState(engine), renderer(engine, world), saveFileHandler(engine), pauseState(engine, world, renderer) { suspended = false; }; void MapState::init() { world::PerspectiveState initialPerspective; initialPerspective.fo...
kantoniak/konstruisto
src/states/MapState.cpp
C++
gpl-3.0
22,882
from core.testcases import APIModelViewSetTestCase, ModelViewSetTestCase, get_permissions_from_compact from authentication.models import User, UserType class UserViewSetTestCase(APIModelViewSetTestCase): model = User permissions = get_permissions_from_compact({ 'list': '...a', # Only admin can ...
simde-utc/woolly-api
authentication/tests.py
Python
gpl-3.0
999
Monster = ring.create([AbstractIcon], { constructor: function() { this.sprite = objPhaser.add.sprite(0, 0, Constants.ASSET_MONSTER); this.sprite.animations.add("fly"); this.sprite.animations.play("fly", 3, true); this.type = Constants.ASSET_MONSTER; this.anim = 0; this.sinchange = 0; }, update: funct...
gfrymer/GGJ2015-BSAS-Duality
src/entities/Monster.js
JavaScript
gpl-3.0
629
function direction(dir, neg) { if (dir == 'x') { return function (num) { num = num == null ? 1 : num; return new Tile(this.x + (neg ? -num : num), this.y); }; } return function (num) { num = num == null ? 1 : num; return new Tile(this.x, this.y + (neg ...
alpha123/Arq
tile.js
JavaScript
gpl-3.0
2,213
<?php namespace ModulusContent\Entity; use Doctrine\ORM\Mapping as ORM; /** * ItensMenu * * @ORM\Table(name="itens_menu") * @ORM\Entity(repositoryClass="ModulusContent\Repository\ItensMenu") */ class ItensMenu { /** * @var integer * * @ORM\Column(name="id", type="integer", nullable=false) ...
ZF2-Modulus/ModulusContent
src/ModulusContent/Entity/ItensMenu.php
PHP
gpl-3.0
4,282
// TinyXML2Demo.cpp : ¶¨Òå¿ØÖÆÌ¨Ó¦ÓóÌÐòµÄÈë¿Úµã¡£ // #include "stdafx.h" #include "tinyxml2.h" #include <stdio.h> #include <iostream> #include <sstream> #include <vector> #include <map> #include <time.h> using namespace std; using namespace tinyxml2; const char* NODE_XML = "Node.xml"; const char* NODE_ACG_H = "../Ac...
windpenguin/TinyXML2Demo
TinyXML2Demo/TinyXML2Demo.cpp
C++
gpl-3.0
8,301
class Deputy < User has_many :users, :through => :substitutions, :dependent => :restrict, :inverse_of => :deputies end
informatom/qm
app/models/deputy.rb
Ruby
gpl-3.0
121
/* Copyright (C) 2016 Julien Le Fur 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 dist...
Ju-Li-An/gs_engine
lib/dataAccess/fs/template/delete.js
JavaScript
gpl-3.0
1,386
<?php /* * TreeChecker: Error recognition for genealogical trees * * Copyright (C) 2014 Digital Humanities Lab, Faculty of Humanities, Universiteit Utrecht * Corry Gellatly <corry.gellatly@gmail.com> * Martijn van der Klis <M.H.vanderKlis@uu.nl> * * Class that defines an event details object * * Derived fro...
cgeltly/treechecker
app/models/webtrees/Fact.php
PHP
gpl-3.0
14,911
import Palabra from '../../models/palabras' import { GROUP_ID } from '../../config' /** * Obtiene el ranking de palabras más usadas. * @param {*} msg */ const ranking = async msg => { if(msg.chat.id !== GROUP_ID) return; try { let palabras = await Palabra.find({}).sort('-amount').exec(); ...
jesusgn90/etsiit-moderator
lib/lib/estadisticas/estadisticas.js
JavaScript
gpl-3.0
1,257
package de.randi2.core.unit.model.randomization; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNotSame; import static org.junit.Assert.assertNull; import java.util.HashSet; import java.util.Se...
randi2/randi2
src/test/java/de/randi2/core/unit/model/randomization/UrnDesignConfigTest.java
Java
gpl-3.0
5,309
# from mainsite.models import Web_Region context = {'title': 'my static title', 'description': 'my static description', 'data': 'my static data', } def get_context(request): # region_list = Web_Region.objects.values_list('region_name', flat=True) context.update({'d...
sstacha/uweb-vagrant
files/docroot/files/test.data.py
Python
gpl-3.0
364
var Octopi = function(words) { this.uid = 0; this.tree = {$$: []}; this.table = {}; words = (words || []); for (var i = 0; i < words.length; i++) this.add(words[i]); }; /** * Take serialized Octopi data as string and initialize the Octopi object * @param json String The serialized Octopi trie */ Octopi....
ebursztein/SiteFab
plugins/site/rendering/autocomplete/autocomplete.js
JavaScript
gpl-3.0
2,263
<?php namespace at\eisisoft\partywithme\api; /** * Created by PhpStorm. * User: Florian * Date: 05.03.2016 * Time: 09:11 */ use at\eisisoft\partywithme as pwm; use function at\eisisoft\partywithme\api\fetchEvents; use function at\eisisoft\partywithme\api\toJSON; require_once "../hidden/partials/jsonHeader.php"; ...
reisi007/Party-With-Me
api/listEvents.php
PHP
gpl-3.0
743
(function() { var billerModule = angular.module('billerModule'); billerModule.filter('offset', function() { return function(input, start) { start = parseInt(start, 10); return input != null ? input.slice(start) : []; }; }); billerModule.directive('billRecalculationInfo', function() { return { ...
labcabrera/biller
biller-web/src/main/webapp/js/controllers/bill-recalculation-ctrl.js
JavaScript
gpl-3.0
3,019
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-fcs // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2010.12.22 at 0...
kion/Bias
src/bias/extension/DashBoard/xmlb/ObjectFactory.java
Java
gpl-3.0
1,528
<?php /** * TrcIMPLAN Sitio Web - Retrospectiva y estado actual del empleo en Torreón y la Zona Metropolitana de La Laguna * * Copyright (C) 2017 Guillermo Valdés Lozano <guivaloz@movimientolibre.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General ...
TRCIMPLAN/trcimplan.github.io
lib/Blog/RestrospectivaEstadoActualEmpleo.php
PHP
gpl-3.0
2,450
package org.betonquest.betonquest.conditions; import org.betonquest.betonquest.Instruction; import org.betonquest.betonquest.api.Condition; import org.betonquest.betonquest.exceptions.InstructionParseException; import org.betonquest.betonquest.utils.PlayerConverter; import org.bukkit.entity.Entity; import org.bukkit.e...
Co0sh/BetonQuest
src/main/java/org/betonquest/betonquest/conditions/RideCondition.java
Java
gpl-3.0
1,282
// // StateUtils.cs // // Author: // Willem Van Onsem <vanonsem.willem@gmail.com> // // Copyright (c) 2014 Willem Van Onsem // // 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, eith...
KommuSoft/NUtils
NUtils/Automata/StateUtils.cs
C#
gpl-3.0
2,615
#!/usr/bin/python """ DES-CHAN: A Framework for Channel Assignment Algorithms for Testbeds This module provides a class to represent network graphs and conflict graphs. Authors: Matthias Philipp <mphilipp@inf.fu-berlin.de>, Felix Juraschek <fjuraschek@gmail.com> Copyright 2008-2013, Freie Universitaet...
des-testbed/des_chan
graph.py
Python
gpl-3.0
18,151
module.exports = function (grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), sass: { dist: { options: { style: 'compressed' }, files: { 'assets/css/global.css': 'src/sass/global.sc...
Treenity/bbpress-wp-support
gruntfile.js
JavaScript
gpl-3.0
1,604
package it.kytech.skywars; import java.util.Arrays; import java.util.HashMap; import java.util.Vector; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.plugin.Plugin; i...
hitech95/SkyWars
src/main/java/it/kytech/skywars/CommandHandler.java
Java
gpl-3.0
7,097
package com.cole.somecraft.proxy; public interface IProxy { }
ClarmonkGaming/SomeCraftReboot
src/main/java/com/cole/somecraft/proxy/IProxy.java
Java
gpl-3.0
63
/* * //****************************************************************** * // * // Copyright 2016 Samsung Electronics All Rights Reserved. * // * //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= * // * // Licensed under the Apache License, Version 2.0 (the "License"); * // you may not use thi...
kadasaikumar/iotivity-1.2.1
cloud/interface/src/main/java/org/iotivity/cloud/ciserver/resources/DiResource.java
Java
gpl-3.0
7,727
<?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 ...
eSrem/moodle
calendar/tests/repeat_event_collection_test.php
PHP
gpl-3.0
6,590
/* Copyright 2015 Rudolf Fiala This file is part of Alpheus AFP Parser. Alpheus AFP Parser 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. ...
quike/alpheusafpparser
src/main/java/com/mgz/afp/modca/MPO_MapPageOverlay.java
Java
gpl-3.0
2,124
// // // Generated by StarUML(tm) C++ Add-In // // @ Project : Untitled // @ File Name : StaticData.cpp // @ Date : 2017/9/29 // @ Author : ouo // // #include "StaticData.h" StaticData StaticData::sharedStaticData() { } viod StaticData::purge() { } int StaticData::intValueFormKey(std::...
ouopoi/StaticData
StaticData/StaticData.cpp
C++
gpl-3.0
835