repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
mazvv/travelcrm
alembic/versions/9d6e4f7a0f93_alter_db.py
1001
"""alter db Revision ID: 9d6e4f7a0f93 Revises: b1eac8a9f577 Create Date: 2016-08-15 20:24:36.483777 """ # revision identifiers, used by Alembic. revision = '9d6e4f7a0f93' down_revision = 'b1eac8a9f577' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alembic - pleas...
gpl-3.0
manassolanki/erpnext
erpnext/config/erpnext_integrations.py
678
from __future__ import unicode_literals from frappe import _ def get_data(): return [ { "label": _("Payments"), "icon": "fa fa-star", "items": [ { "type": "doctype", "name": "GoCardless Settings", "description": _("GoCardless payment gateway settings"), }, { "type": "doctype...
gpl-3.0
DSI-Ville-Noumea/sirh-ws
src/main/java/nc/noumea/mairie/web/dto/TitrePosteDto.java
499
package nc.noumea.mairie.web.dto; import nc.noumea.mairie.model.bean.sirh.FichePoste; public class TitrePosteDto { private String libTitrePoste; public TitrePosteDto() { super(); } public TitrePosteDto(FichePoste fichePoste) { this.libTitrePoste = fichePoste.getTitrePoste().getLibTitrePoste();...
gpl-3.0
imr/Electric8
com/sun/electric/database/constraint/Layout.java
15956
/* -*- tab-width: 4 -*- * * Electric(tm) VLSI Design System * * File: Layout.java * * Copyright (c) 2003 Sun Microsystems and Static Free Software * * Electric(tm) 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...
gpl-3.0
sadiqdon/cycommerce
backend/controllers/StoreController.php
1585
<?php class StoreController extends CrudController { public $modelName = 'Store'; public function actionView($id) { parent::view($id, $this->modelName); } public function actionCreate() { $model = new Store; parent::create($model, $this->modelName, 'store-form'); } public function actionUpdate($i...
gpl-3.0
kenji1322/kramerius
search/src/java/cz/incad/Kramerius/views/virtualcollection/VirtualCollectionServlet.java
16764
package cz.incad.Kramerius.views.virtualcollection; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.logging.Level; import javax.servlet.ServletException; import javax.servlet.ServletInputStream; import javax.servlet.http.HttpServletRequest; import javax.s...
gpl-3.0
u2g/MoonLake
src/main/java/com/minecraft/moonlake/nbt/NBTTagByte.java
2265
/* * Copyright (C) 2017 The MoonLake Authors * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program ...
gpl-3.0
CIFASIS/VDiscover
vdiscover/Vulnerabilities.py
2137
""" This file is part of VDISCOVER. VDISCOVER 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. VDISCOVER is distributed in the hope that it ...
gpl-3.0
ifes-ci/Trabalhos2016-POO1
SystemSCPDC-Marlon/SCPDC/src/Views/IFrmExcluirCliente.java
8325
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Views; import Crud.CrudCliente; import Domain.Cliente; import javax.swing.JOptionPane; /** * * @author thiag */ public cla...
gpl-3.0
Commercial-Group/CG-Theme
wp-content/plugins/divi-booster/core/fixes/065-set-background-color/wp_head_style.php
247
<?php if (!defined('ABSPATH')) { exit(); } // No direct access list($name, $option) = $this->get_setting_bases(__FILE__); ?> #main-content, .et_pb_section { background-color: <?php echo htmlentities(@$option['bgcol']); ?> !important; }
gpl-3.0
doughague/minuit-cpp
include/minuit-cpp/SimplexMinimizer.hh
1533
// @(#)root/minuit2:$Id: SimplexMinimizer.h 21530 2007-12-20 11:14:35Z moneta $ // Authors: M. Winkler, F. James, L. Moneta, A. Zsenei 2003-2005 /********************************************************************** * * * Copyright (c) 2005 LCG ...
gpl-3.0
LearningLocker/learninglocker
lib/services/auth/tests/utils/testGlobalModel.js
3038
import { SITE_ADMIN, ALL } from 'lib/constants/scopes'; import setup from 'lib/services/auth/tests/utils/setup'; import testOrgScopeFilter from 'lib/services/auth/tests/utils/testOrgScopeFilter'; import testOrgScopeFilterError from 'lib/services/auth/tests/utils/testOrgScopeFilterError'; import testClientBasicScope...
gpl-3.0
akshaycool/django-rest-serialization-demo
snippets/urls.py
2005
# from django.conf.urls import url,include # from . import views # from rest_framework.urlpatterns import format_suffix_patterns # from snippets.views import SnippetViewSet,UserViewSet ,api_root # from rest_framework import renderers # from rest_framework.routers import DefaultRouter # # snippet_list=SnippetViewSet.a...
gpl-3.0
PeterParushev/BoxingParadise
BoxingParadise/App_Start/BundleConfig.cs
2117
using System.Web.Optimization; namespace BoxingParadise { public class BundleConfig { // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new ScriptBundle("~/bund...
gpl-3.0
reBirthLab/gradebook
services/oauth-service/src/main/java/com/rebirthlab/gradebook/auth/controller/UserController.java
2919
package com.rebirthlab.gradebook.auth.controller; import com.rebirthlab.gradebook.auth.model.User; import com.rebirthlab.gradebook.auth.service.UserDTO; import com.rebirthlab.gradebook.auth.service.UserService; import java.util.HashSet; import java.util.Optional; import java.util.Set; import javax.servlet.http.HttpSer...
gpl-3.0
fargalaxy1/geonode-wagtail
geonode/contrib/wagtail_/templatetags/wagtail_tags.py
508
from django.conf import settings from django import template from geonode.contrib.wagtail_.models import BlogPage register = template.Library() # Blog feed for home page @register.inclusion_tag( 'wagtail_/tags/blog_posts_homepage.html', takes_context=True ) def blog_posts_homepage(context, count=2): blog...
gpl-3.0
DoubleLabyrinth/FunctionTools
Hash/MDA/MD4.cpp
4752
#include "MD4.h" Hash::MDA::HashResult Hash::MDA::MD4::GetChecksum(const BYTE* srcBytes, UINT64 srcByteLength) { Hash::MDA::HashResult Ret; Ret.A = 0x67452301; Ret.B = 0xEFCDAB89; Ret.C = 0x98BADCFE; Ret.D = 0x10325476; UINT32 AA, BB, CC, DD; bool Final = false; BYTE Extra[128] = {0}; ...
gpl-3.0
boraolim/MVCSample40
01. Codigo Fuente/Capa de Presentacion/UILWeb/Controllers/system/OperacionController.cs
498
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace UILWeb { [SecurityFilter] [AjaxSessionExpiredFilter] [DisableCache] public class OperacionController : Controller { [HttpGet, OutputCache(NoStore = true, Duration = 1)] [DisableCache]...
gpl-3.0
shrkey/ardupilot
libraries/AP_Airspeed/AP_Airspeed.cpp
11342
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- /* 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 la...
gpl-3.0
uocxp/logisim-evolution
src/com/cburch/logisim/std/gates/Gates.java
2420
/******************************************************************************* * This file is part of logisim-evolution. * * logisim-evolution 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
nimbusparis/IngressChase
src/IngressChase/wwwroot/js/shared/mainFactory.js
540
(function () { 'use strict'; angular .module('app') .factory('mainFactory', mainFactory); mainFactory.$inject = ['$http']; function mainFactory($http) { var service = { getVersion: getVersion, getEnvironment: getEnvironment }; return s...
gpl-3.0
kevinnguyeneng/django-uwsgi-nginx
app/naf_autoticket/migrations/0014_auto_20161006_1408.py
780
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import datetime class Migration(migrations.Migration): dependencies = [ ('naf_autoticket', '0013_auto_20161004_1051'), ] operations = [ migrations.AddField( model_name='a...
gpl-3.0
theclanks/zurmo
app/protected/commands/bootstrap.php
2371
<?php /********************************************************************************* * Zurmo is a customer relationship management program developed by * Zurmo, Inc. Copyright (C) 2012 Zurmo Inc. * * Zurmo is free software; you can redistribute it and/or modify it under * the terms of t...
gpl-3.0
mtaandao/Framework
admin/js/word-count.js
3059
( function() { function WordCounter( settings ) { var key, shortcodes; if ( settings ) { for ( key in settings ) { if ( settings.hasOwnProperty( key ) ) { this.settings[ key ] = settings[ key ]; } } } shortcodes = this.settings.l10n.shortcodes; if ( shortcodes && shortcodes.length ) ...
gpl-3.0
UM-LPM/EARS
src/org/um/feri/ears/problems/unconstrained/FletcherPowell2.java
6310
package org.um.feri.ears.problems.unconstrained; import org.um.feri.ears.problems.Problem; import java.util.ArrayList; import java.util.Collections; import static java.lang.Math.*; public class FletcherPowell2 extends Problem { public double[][] a; public double[][] b; public double[] alpha; publ...
gpl-3.0
sethten/MoDesserts
mcp50/temp/src/minecraft/net/minecraft/src/BlockMelon.java
1189
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) braces deadcode fieldsfirst package net.minecraft.src; import java.util.Random; // Referenced classes of package net.minecraft.src: // Block, Material, Item...
gpl-3.0
anamunlam/ahkacp
dist/www/themes/default/web.php
11035
<?php if(!defined('_WORKDIR_')) { header('location:/'); exit(1); } $users_->CheckAuth(); $web_ = new \Web; if($helper_->IsPost($_POST, 'act')) { if($_POST['act']=='add') { if($helper_->IsPost($_POST, array('domain', 'alias', 'tpl'))) { if($helper_->IsNotEm...
gpl-3.0
simeonpp/SQL-Db-Back-And-Restore
Source/SQL-Db-Back-And-Restore/Core/SqlDbBackAndRestore.Core/Properties/AssemblyInfo.cs
1489
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("Sq...
gpl-3.0
legalbox/legalbox_php_client_api
API/beans/LetterDeliveryType.php
1876
<?php /* * This file is part of LegalBox PHP Client API. * * Copyright 2013 LegalBox SA <contact@legalbox.com> * * LegalBox PHP Client API 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,...
gpl-3.0
hjy846/scrapy-web
crawler/spiders/malimalihome_spider.py
12547
# -*- encoding:utf-8 -*- import scrapy from crawler.items import ResidenceItem, ResidenceDetailItem, ResidenceImageItem import sys import time import urlparse import os from datetime import datetime, timedelta import json from scrapy.conf import settings import logging import traceback reload(sys) sys....
gpl-3.0
Microvellum/Fluid-Designer
win64-vc/2.78/scripts/addons/fd_library/__init__.py
1917
# ##### BEGIN GPL LICENSE BLOCK ##### # # 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 2 # of the License, or (at your option) any later version. # # This program is distrib...
gpl-3.0
ivandiazwm/opensupports
client/src/app/admin/panel/tickets/admin-panel-new-tickets.js
2419
import React from 'react'; import {connect} from 'react-redux'; import i18n from 'lib-app/i18n'; import AdminDataAction from 'actions/admin-data-actions'; import TicketList from 'app-components/ticket-list'; import Header from 'core-components/header'; import Message from 'core-components/message'; class AdminPane...
gpl-3.0
frostasm/qt-creator
src/plugins/analyzerbase/diagnosticlocation.cpp
2354
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance wit...
gpl-3.0
luigiecalo/Club
guias/src/java/com/Entidades/Grupo.java
2799
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.Entidades; import java.io.Serializable; import java.util.List; import javax.persistence.Basic; import javax.pers...
gpl-3.0
xnau/pardibee
setup_guide.php
3766
<div class="text-block"> <?php $langfile = Participants_Db::$plugin_path . 'languages/setup_guide-' . get_locale() . '.html'; if (file_exists($langfile)) { $text = file_get_contents($langfile); echo wpautop($text); } else { ?> <h1>Participants Database<br />Quick Setup Guide</h1> <h2>Initial Setup</h2> <p>There are...
gpl-3.0
wangyufu/Python-practice
day2/shopping_cart/shopping_cart.py
1836
#!/usr/bin/env python cart = [] product = [['iphone7', 6500], ['macbook', 12000], ['pythonbook', 66], ['bike', 999], ['coffee', 31]] # 第二列最长的字符串 two_row = max([len(x[0]) for x in product]) while True: gongzi = input('salary>: ').strip() # 判断工资输入的是数字还是其它字符 if gongzi.isdigit(): gongzi = int(gongzi) ...
gpl-3.0
conejoninja/webwallet
app/scripts/controllers/nav.js
1473
/*global angular*/ /** * Navigation Controller * * Manage device and account navigation and account adding. * * @see nav.html */ angular.module('webwalletApp').controller('NavCtrl', function ( $scope, $location, deviceList, modalOpener, forgetModalService, flash) { 'use strict'; ...
gpl-3.0
LNTakeshi/beatoraja
src/bms/player/beatoraja/audio/GdxSoundDriver.java
9391
package bms.player.beatoraja.audio; import java.io.InputStream; import java.io.OutputStream; import java.nio.ByteBuffer; import java.nio.file.*; import java.util.logging.Logger; import bms.player.beatoraja.Config; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.audio.Sound; import com.badlogic.gdx.files.FileHand...
gpl-3.0
vandango/moviematic
MovieMatic/AboutForm.Designer.cs
6227
namespace Toenda.MovieMatic { partial class AboutForm { /// <summary> /// Erforderliche Designervariable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Verwendete Ressourcen bereinigen. /// </summary> /// <param name="disposing">True, wenn verw...
gpl-3.0
nil0x42/phpsploit
plugins/file_system/edit/reader.php
685
<?php $mtime = @filemtime($PHPSPLOIT["FILE"]); // If the file does not exists, the file could be edited for // creation anyway, so we inform plugin that file does not exists. if (!@file_exists($PHPSPLOIT['FILE'])) return "NEW_FILE"; // If the path is not a regular file, throw error. if ((@fileperms($PHPSPLOIT['F...
gpl-3.0
VB-is-Terrible/Elements
manifest_explicit.py
3381
import yaml import os class Manifest: props = ['requires', 'recommends', 'resources', 'css', 'templates', 'provides', 'type'] def __init__(self): super() self.requires = None self.recommends = None self.resources = None ...
gpl-3.0
yonas/world-population-simulator
src/cpp/main.cpp
523
#include <iostream> #include <fstream> #include <thread> #include "world.h" using namespace std; // Global world variable, accessed by other classes. World* world = new World(); int main() { int initial_world_size = 70; int total_years = 1000; // Create the initial conditions. world->populate(initia...
gpl-3.0
JonSteinn/Kattis-Solutions
src/Bit by Bit/Python 3/bitbybit.py
873
from collections import defaultdict def true(c): return c == '1' def false(c): return c == '0' def _clear(i, b): b[i[0]] = '0' def _set(i, b): b[i[0]] = '1' def _or(i, b): if true(b[i[0]]) or true(b[i[1]]): b[i[0]] = '1' elif false(b[i[0]]) and false(b[i[1]]): b[i[0]] =...
gpl-3.0
simith/HomeOrAway
app/src/main/java/homeornot/com/au/wifi_homeornot/data/WifiListAdapter.java
1450
package homeornot.com.au.wifi_homeornot.data; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; import java.util.List; import homeornot.com.au.wifi_homeornot.R; public class...
gpl-3.0
renkezuo/util
src/main/java/com/renke/util/db/Obj.java
474
package com.renke.util.db; import com.google.gson.Gson; public class Obj { public int total; public int total1; public int total2; public Sub _id; public static void main(String[] args) { Gson gs = new Gson(); Obj obj = gs.fromJson("{ \"_id\" : { \"aa\" : NumberLong(918739), \"bb\" : NumberLong(20786) }, ...
gpl-3.0
cyclestreets/android
libraries/cyclestreets-core/src/main/java/net/cyclestreets/api/Photos.java
841
package net.cyclestreets.api; import org.osmdroid.util.BoundingBox; import java.io.IOException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; public class Photos implements Iterable<Photo> { private final List<Photo> photos = new ArrayList<>(); public Photos(List<Photo> photos) {...
gpl-3.0
KineticIsEpic/CadenciiStudio
src/Cadencii/FormVibratoConfig.cs
22455
/* * FormVibratoConfig.cs * Copyright © 2008-2011 kbinani * * This file is part of cadencii. * * cadencii is free software; you can redistribute it and/or * modify it under the terms of the GPLv3 License. * * cadencii is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even ...
gpl-3.0
getconverge/converge-1.x
modules/converge-war/src/main/java/dk/i2m/converge/jsf/beans/administrator/UserConfiguration.java
13702
/* * Copyright (C) 2011 Interactive Media Management * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * ...
gpl-3.0
BoostedColliderAnalysis/BoCA
boca/identification/Id.hh
2966
/** * Copyright (C) 2015-2016 Jan Hajer */ #pragma once #include <string> #include <vector> #include "boca/units/ElectronVolt.hh" /** * @ingroup Boca * @brief Boosted Collider %Analysis * */ namespace boca { /** * @brief PDG particle naming conventions * */ enum class Id { none = 0, down = 1, ///< ...
gpl-3.0
tor4kichi/ReNaming
ReNaming/Models/RenamePattern/ReplaceRegexRenamePattern.cs
935
using System; using System.Runtime.Serialization; namespace ReNaming.Models { /// <summary> /// 正規表現による置換リネーム動作 /// </summary> [DataContract] public class ReplaceRegexRenamePattern : ReplaceRenamePatternBase { [IgnoreDataMember] private RegexReplaceBehavior _RegexReplaceBehavio...
gpl-3.0
obarrilero/s2tbx
s2tbx-spot-reader/src/main/java/org/esa/s2tbx/dataio/spot/SpotViewProductReader.java
12540
/* * Copyright (C) 2014-2015 CS-SI (foss-contact@thor.si.c-s.fr) * Copyright (C) 2014-2015 CS-Romania (office@c-s.ro) * * 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
pfedick/winmusik
lib/tests/src/id3tagsaver.cpp
577
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <locale.h> #include <ppl7.h> #include <ppl7-audio.h> #include <gtest/gtest.h> #include "libwinmusik3.h" #include "wmlib-tests.h" #include <map> #include "wm_id3tagsaver.h" namespace { using namespace de::pfp::winmusik; class ID3TagSaverTest : publ...
gpl-3.0
atpshxc/shcoyee
catalog/controller/checkout/checkout.php
67086
<?php class ControllerCheckoutCheckout extends Controller { private $direct_payments= array('cod','cheque','free_checkout','bank_transfer'); public function index() { if (!$this->customer->isLogged()) { $this->session->data['redirect'] = $this->url->link('checkout/checkout', '', 'SSL'); $this->redire...
gpl-3.0
modsim/CADET-semi-analytic
include/ModelData.hpp
2488
// ============================================================================= // CADET-semi-analytic - The semi analytic extension of // CADET - The Chromatography Analysis and Design Toolkit // // Copyright © 2015-2019: Samuel Leweke¹ // // ¹ Forschungszentrum Juelich...
gpl-3.0
succlz123/DoubanBookLog
src/org/succlz123/doubanbooklog/support/xlistview/me/maxwin/view/XListViewHeader.java
3682
/** * @file XListViewHeader.java * @create Apr 18, 2012 5:22:27 PM * @author Maxwin * @description XListView's header */ package org.succlz123.doubanbooklog.support.xlistview.me.maxwin.view; import android.content.Context; import android.util.AttributeSet; import android.view.Gravity; import android.view.LayoutIn...
gpl-3.0
peterpilgrim/javaee7-developer-handbook
ch02/standalone-owb/src/test/java/je7hb/standalone/ExpensiveCreditProcessorTest.java
1392
/******************************************************************************* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright (c) 2013,2014 by Peter Pilgrim, Addiscombe, Surrey, XeNoNiQUe UK * * All rights reserved. This program and the accompanying materials * are made available under...
gpl-3.0
WorldGrower/WorldGrower
test/org/worldgrower/actions/UTestConstructBedAction.java
3428
/******************************************************************************* * 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...
gpl-3.0
Vifon/ranger
ranger/__init__.py
1274
# This file is part of ranger, the console file manager. # License: GNU GPL version 3, see the file "AUTHORS" for details. """A console file manager with VI key bindings. It provides a minimalistic and nice curses interface with a view on the directory hierarchy. The secondary task of ranger is to figure out which p...
gpl-3.0
mwpowellhtx/Kingdom.Castle.Extensions
src/Kingdom.Web.Http.Castle.Windsor/MicroKernel/Registration/ContainerInstaller.cs
770
// ReSharper disable once CheckNamespace namespace Kingdom.MicroKernel.Registration { using Castle.MicroKernel.SubSystems.Configuration; using Castle.Windsor; /// <summary> /// Provides <see cref="IWindsorContainer"/> installer services. /// </summary> public class ContainerInstaller : WindsorI...
gpl-3.0
esaito/ExemplosDemoiselle
estacionamentov25X/src/test/java/org/demoiselle/estacionamento/business/VagaBCTest.java
1850
package org.demoiselle.estacionamento.business; import static org.junit.Assert.*; import java.util.*; import javax.inject.Inject; import org.demoiselle.estacionamento.business.VagaBC; import org.demoiselle.estacionamento.domain.Vaga; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; ...
gpl-3.0
moderna/ShivaSensorRigging
shiva/SensorRigging/Resources/Scripts/SensorRigging_Function_parseSensors.lua
1900
-------------------------------------------------------------------------------- -- Function......... : parseSensors -- Author........... : -- Description...... : -------------------------------------------------------------------------------- ----------------------------------------------------------------------...
gpl-3.0
organicsmarthome/OSHv2
osh_core/osh_src/osh/datatypes/registry/globalcontroller/PvCommandExchange.java
2429
/* ************************************************************************************************* * OrganicSmartHome [Version 2.0] is a framework for energy management in intelligent buildings * Copyright (C) 2014 Florian Allerding (florian.allerding@kit.edu) and Kaibin Bao and * Ingo Mause...
gpl-3.0
ldbc/ldbc_snb_datagen
src/main/scala/ldbc/snb/datagen/syntax/SparkSqlSyntax.scala
850
package ldbc.snb.datagen.syntax import org.apache.spark.sql.{Column, ColumnName, DataFrame, Dataset} import scala.language.implicitConversions trait SparkSqlSyntax { @`inline` implicit final def datasetOps[A](a: Dataset[A]) = new DatasetOps(a) @`inline` implicit final def stringToColumnOps[A](a: StringContext) =...
gpl-3.0
aheadley/scorepeon
scorepeon_app/leaderboard/models.py
3179
from django.db import models import trueskill class Game(models.Model): name = models.CharField(max_length=255) mu = models.FloatField(default=trueskill.MU) sigma = models.FloatField(default=trueskill.SIGMA) beta = models.FloatField(default=trueskill.BETA) tau = models.FloatField(default=trueskill...
gpl-3.0
Tymewalk/EfficientEnigma
modules/util.py
552
# util.py # Various utilities, such as !ping. import aiohttp, time async def ping(client, message): aiosession = aiohttp.ClientSession(loop=client.loop) start = time.time() async with aiosession.get('https://discordapp.com'): duration = time.time() - start duration = round(duration * 1000) ...
gpl-3.0
montimaj/CRYPTSTEG
CryptoSteg/app/src/main/java/edu/sxccal/stegano/utilities/DecodeQR.java
3030
package edu.sxccal.stegano.utilities; import android.os.Bundle; import android.widget.Button; import android.widget.TextView; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.view.View; import java.io.File; import java.io...
gpl-3.0
ISRAPIL/FastCorePE
src/pocketmine/event/block/LeavesDecayEvent.php
422
<?php namespace pocketmine\event\block; use pocketmine\block\Block; use pocketmine\event\Cancellable; class LeavesDecayEvent extends BlockEvent implements Cancellable { public static $handlerList = null; public function __construct(Block $block) { parent::__construct($block); } /** * ...
gpl-3.0
ColacX/slowbro
plugins/Authentication/Saml/Saml.php
4656
<?php /** File in Authentication plugin package for ver 2.1.4 Booked Scheduler to implement Single Sign On Capability. Based on code from the Booked Scheduler Authentication Ldap plugin as well as a SAML Authentication plugin for Moodle 1.9+. See http://moodle.org/mod/data/view.php?d=13&rid=2574 This plugin uses the S...
gpl-3.0
maninator/manimediaserver
www/init.php
1887
<?php /** * Init * * @package Wojo Framework * @author wojoscripts.com * @copyright 2016 * @version $Id: init.php, v1.00 2016-03-05 10:12:05 gewa Exp $ */ if (!defined("_WOJO")) die('Direct access to this location is not allowed.'); $BASEPATH = str_replace("init.php", "", r...
gpl-3.0
NGSEP/NGSEPcore
src/ngsep/sequencing/RawReadsTrimmer.java
2447
package ngsep.sequencing; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.io.PrintStream; import java.util.Iterator; import java.util.Scanner; import java.util.regex.Pattern; import java.util.zip.GZIPOutpu...
gpl-3.0
workhorsy/nulldc-linux
nulldc/nullDC/serial_ipc/serial_ipc_client.cpp
4846
#include "types.h" #include <windows.h> #include <assert.h> #include <iostream> #define sipcver "0.3 -spdma -buffered" HANDLE readp=NULL; HANDLE writep=NULL; #define buff_size (512*1024) u8 ReadBuff[buff_size]; u32 readind=0; u32 ReadSz=0; u32 serial_RxBytes=0; u32 serial_TxBytes=0; u32 last_serial_RxBytes=0; u32 l...
gpl-3.0
cstrouse/chromebrew
packages/apriconv.rb
1696
require 'package' class Apriconv < Package description 'a portable implementation of the iconv() library' homepage 'http://apr.apache.org/' version '1.2.2' compatibility 'all' source_url 'https://apache.claz.org/apr/apr-iconv-1.2.2.tar.bz2' source_sha256 '7d454e0fe32f2385f671000e3b755839d16aabd7291e3947c97...
gpl-3.0
easymodo/qimgv
qimgv/gui/overlays/videocontrolsproxy.cpp
2385
#include "videocontrolsproxy.h" VideoControlsProxyWrapper::VideoControlsProxyWrapper(FloatingWidgetContainer *parent) : container(parent), videoControls(nullptr) { } VideoControlsProxyWrapper::~VideoControlsProxyWrapper() { if(videoControls) videoControls->deleteLater(); } void VideoControlsPro...
gpl-3.0
jquesnelle/MissionControl
ARDroneSDK3/swig/eARCOMMANDS_ARDRONE3_SETTINGSSTATE_MOTORERRORSTATECHANGED_MOTORERROR.cs
1801
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 3.0.7 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. ...
gpl-3.0
Jeewantha/leefy
leefy/leefy-api/src/main/java/com/jeesoft/api/dto/UserRegistrationForm.java
6324
/******************************************************************************* * * Leefy is a simple social network to narrow the gap between people speaking different * languages and to aid the language learning process. * Copyright (C) 2015 Jeewantha Samaraweera * * This program is free sof...
gpl-3.0
igorcoding/rsys
src/rsys/exporters/svd_mysql_exporter.cc
2179
#include "svd_mysql_exporter.h" namespace rsys { namespace exporters { svd_mysql_config::svd_mysql_config() : _users_table(""), _items_table(""), _features_table("svd_features"), _pU_table("svd_pU"), _pI_table("svd_pI"...
gpl-3.0
libre/webexploitscan
wes/data/rules/fullscan/10092019-MS-PHP-Antimalware-Scanner-127-malware_signature.php
1724
<?php /** * WES WebExploitScan Web GPLv4 http://github.com/libre/webexploitscan * * The PHP page that serves all page requests on WebExploitScan installation. * * The routines here dispatch control to the appropriate handler, which then * prints the appropriate page. * * All WebExploitScan code is released unde...
gpl-3.0
ElliotTheRobot/LILACS-mycroft-core
mycroft/skills/LILACS_storage/__init__.py
1324
# Copyright 2016 Mycroft AI, Inc. # # This file is part of Mycroft Core. # # Mycroft Core is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later versio...
gpl-3.0
AegeanApp/Aegean-App-V1-Android
app/src/main/java/com/aegeanapp/george/test_aegean_app/Sitisi.java
4717
package com.aegeanapp.george.test_aegean_app; import android.content.Intent; import android.net.Uri; import android.support.v7.app.ActionBarActivity; import android.os.Bundle; import android.view.MenuItem; import android.view.View; import android.widget.ArrayAdapter; import android.widget.Spinner; public class Sitis...
gpl-3.0
VladX/Xwing-Engine
src/external/cityhash_constexpr.hpp
135
/* Following code was taken from https://github.com/LordJZ/consthash */ namespace external { #include "consthash/cityhash64.hxx" };
gpl-3.0
peterpilgrim/digital-javaee7-public
ch08/xen-force-angularjs/src/main/webapp/app/services/iso-countries.js
29708
// A shared ISO countries angular.module('isoCountries', []) .factory( 'isoCountries', function ($rootScope) { var isoCountries = { }; isoCountries.countryToCodeArrayMap = [ { "country": "United Kingdom - Citizen", "code": "GBR" }, { "country": "United Kingdom - Dependent ...
gpl-3.0
UdaraAlwis/Xamarin-Playground
XFAnimatingTextColorButton/XFAnimatingTextColorButton/XFAnimatingTextColorButton.Windows/Properties/AssemblyInfo.cs
1104
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("XF...
gpl-3.0
HiSPARC/station-software
user/hsmonitor/test/test_HiSPARCEvent.py
2805
import sys sys.path.append("..") import unittest import struct from HiSPARCEvent import HiSPARCEvent from parse_and_check import parse_and_check_data from load_message import load_hisparc_message class TestHiSPARCEvent(unittest.TestCase): def test_event(self): event = load_hisparc_message('test_data/Ev...
gpl-3.0
GFG/dto-marketplace
src/DTOMarketplace/Context/Manager.php
488
<?php namespace GFG\DTOMarketplace\Context; class Manager extends \GFG\DTOContext\Manager { /** * @param string $contextName * @param string $dataWrapperName * @param array $dataWrapperData * @return mixed */ public function build( $contextName, $dataWrapperName, ...
gpl-3.0
projectestac/alexandria
html/langpacks/es/gradereport_history.php
3034
<?php // This file is part of Moodle - https://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle...
gpl-3.0
dac922/octave-pkg-octave
src/main.cc
1969
/* Copyright (C) 2012 John W. Eaton This file is part of Octave. Octave 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. Octave is distrib...
gpl-3.0
mbcxqcw2/heimdall-astro-code-clone
Applications/heimdall.C
5884
/*************************************************************************** * * Copyright (C) 2012 by Ben Barsdell and Andrew Jameson * Licensed under the Academic Free License version 2.1 * ***************************************************************************/ #include <iostream> using std::cout; usin...
gpl-3.0
YoloSoftDE/YoloTrack
Source/MVC/Model/StateMachine/Impl/Util/CompatibleImage.cs
2477
using System; using System.Drawing; namespace YoloTrack.MVC.Model.StateMachine.Impl.Util { /// <summary> /// Ultitily class for providing an native interface from a standard bitmap object to the /// libraries image class (adapter). /// </summary> class CompatibleImage : Cognitec.FRsdk.Image {...
gpl-3.0
ae-dschorsaanjo/HTCC
dl_json.php
327
<?php header('Content-Type: application/json'); header('Pragma: public'); header('Expires: 0'); header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); header('Cache-Control: private', false); header('Content-Disposition: attachment; filename=team.json'); echo $_POST['json']; ...
gpl-3.0
hartwigmedical/hmftools
hmf-common/src/main/java/com/hartwig/hmftools/common/serve/classification/EventPreprocessor.java
196
package com.hartwig.hmftools.common.serve.classification; import org.jetbrains.annotations.NotNull; public interface EventPreprocessor { @NotNull String apply(@NotNull String event); }
gpl-3.0
cbmsc-diti/firecast-comunidade-android
app/src/main/java/br/gov/sc/cbm/e193comunitario/data/FirecastClient.java
1589
package br.gov.sc.cbm.e193comunitario.data; import org.greenrobot.eventbus.EventBus; import java.util.List; import br.gov.sc.cbm.e193comunitario.data.events.OccurrencesFailedLoading; import br.gov.sc.cbm.e193comunitario.data.events.OcurrencesFinishedLoading; import br.gov.sc.cbm.e193comunitario.domain.Occurrence; im...
gpl-3.0
zebraxxl/CIL2Java
StdLibs/corlib/System/Runtime/Remoting/Channels/ClientChannelSinkStack.cs
4635
using System.Runtime.InteropServices; using System.Security; using System.Runtime.Remoting.Messaging; using System.IO; using System; namespace System.Runtime.Remoting.Channels { /// <summary>Holds the stack of client channel sinks that must be invoked during an asynchronous message response decoding.</summary> ...
gpl-3.0
RainerGrimm/ModernesCppSource
source/localTime.cpp
803
// localTime.cpp #include "date/tz.h" #include <iostream> int main() { std::cout << std::endl; using namespace date; std::cout << "UTC time" << std::endl; auto utcTime = std::chrono::system_clock::now(); std::cout << " " << utcTime << std::endl; std::cout << " " << date::floor<std::chro...
gpl-3.0
GregoryIwanek/German_study
debug version/guesssentencesection.cpp
2806
#include "guesssentencesection.h" #include <QDebug> GuessSentenceSection::GuessSentenceSection() { } void GuessSentenceSection::setSceneFromMainWindow(CustomScene *myScene) { //sets main scene as a secene to draw on scene = myScene; } void GuessSentenceSection::setGuessSentenceSectionUI() { //sets UI of...
gpl-3.0
gurko-va/p2pool-dash-poiuty
p2pool/networks.py
1999
from p2pool.bitcoin import networks from p2pool.util import math # CHAIN_LENGTH = number of shares back client keeps # REAL_CHAIN_LENGTH = maximum number of shares back client uses to compute payout # REAL_CHAIN_LENGTH must always be <= CHAIN_LENGTH # REAL_CHAIN_LENGTH must be changed in sync with all other clients # ...
gpl-3.0
enricocid/LaunchEnr
Launcher3-O-r12/src/main/java/com/enrico/launcher3/allapps/DefaultAppSearchController.java
910
/* * Copyright (C) 2015 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...
gpl-3.0
gamegineer/dev
main/table/org.gamegineer.table.net.impl.tests/src/org/gamegineer/table/internal/net/impl/transport/AbstractServiceTestCase.java
2875
/* * AbstractServiceTestCase.java * Copyright 2008-2015 Gamegineer contributors and others. * All rights reserved. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version ...
gpl-3.0
exaphaser/MK.MobileDevice
MobileDevice/iPhoneXE/OpenMode.cs
320
using System; namespace MK.MobileDevice.XEDevice { // Token: 0x0200000A RID: 10 public enum OpenMode { // Token: 0x0400003E RID: 62 None, // Token: 0x0400003F RID: 63 ReadSafe, // Token: 0x04000040 RID: 64 Read, // Token: 0x04000041 RID: 65 Write, // Token: 0x04000042 RID: 66 ReadWrite = 5 } }
gpl-3.0
espressopp/espressopp
testsuite/pi_water/water.py
8200
#!/usr/bin/env python3 # # Copyright (C) 2013-2017(H) # Max Planck Institute for Polymer Research # # This file is part of ESPResSo++. # # ESPResSo++ is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, e...
gpl-3.0
Coheed/Shiny-Portfolio
system/modules/favorites/languages/en/tl_user_fav.php
3036
<?php if (!defined('TL_ROOT')) die('You cannot access this file directly!'); /** * Contao Open Source CMS * Copyright (C) 2005-2012 Leo Feyer * * Formerly known as TYPOlight Open Source CMS. * * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General P...
gpl-3.0