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 |
|---|---|---|---|---|---|
<?PHP
require_once("website.php");
LibHtml::preventCaching();
$formItemId = LibEnv::getEnvHttpPOST("formItemId");
$languageCode = LibEnv::getEnvHttpPOST("languageCode");
$text = LibEnv::getEnvHttpPOST("text");
if ($formItem = $formItemUtils->selectById($formItemId)) {
$formItem->setText($languageUtils->setTextFor... | stephaneeybert/learnintouch | modules/form/item/updateItem.php | PHP | gpl-3.0 | 521 |
<?php
/**
* /settings/toggles/index.php
*
* This file is part of DomainMOD, an open source domain and internet asset manager.
* Copyright (c) 2010-2016 Greg Chetcuti <greg@chetcuti.com>
*
* Project: http://domainmod.org Author: http://chetcuti.com
*
* DomainMOD is free software: you can redistribute it and/or... | koep/domainmod | settings/toggles/index.php | PHP | gpl-3.0 | 944 |
#include <vector>
#include <string>
#include <fstream>
#include <algorithm>
#include <iostream>
#include "gbcodes3755.h"
#include "OnlineHandwritingPicture.h"
#include "SpatiallySparseDatasetPenDigits.h"
struct iPoint {
short x;
short y;
};
void readPenDigitsFile(std::vector<Picture *> &characters, const char *fi... | touren/SparseConvNet | SpatiallySparseDatasetPenDigits.cpp | C++ | gpl-3.0 | 2,905 |
<?
/**[N]**
* JIBAS Education Community
* Jaringan Informasi Bersama Antar Sekolah
*
* @version: 3.8 (January 25, 2016)
* @notes: JIBAS Education Community will be managed by Yayasan Indonesia Membaca (http://www.indonesiamembaca.net)
*
* Copyright (C) 2009 Yayasan Indonesia Membaca (http://www.indones... | dedefajriansyah/jibas | akademik/jadwal/info_jadwal.php | PHP | gpl-3.0 | 13,815 |
<?php
/**
* Kiwitrees: Web based Family History software
* Copyright (C) 2012 to 2022 kiwitrees.net
*
* Derived from webtrees (www.webtrees.net)
* Copyright (C) 2010 to 2012 webtrees development team
*
* Derived from PhpGedView (phpgedview.sourceforge.net)
* Copyright (C) 2002 to 2010 PGV Development Team
*
*... | kiwi3685/kiwitrees-nova | includes/db_schema/db_schema_36_37.php | PHP | gpl-3.0 | 2,741 |
<?php
/**
* Description of HtmlList
*
* @author bs4300280
*/
class DataFieldToHtmlListBoolean extends HtmlListBoolean {
use TraitDataFieldToHtml;
function __construct(DatabaseDataField $paramDataField) {
$this->setDataField($paramDataField);
parent::__construct();
parent::initAb... | SalokineTerata/intranet | apps/lib/class/html/DataFieldToHtmlListBoolean.php | PHP | gpl-3.0 | 1,617 |
/**
* $Id$
*
* This file is part of the Fhtagn! C++ Library.
* Copyright (C) 2009 Jens Finkhaeuser <unwesen@users.sourceforge.net>.
*
* Author: Author's Name <author@users.sourceforge.net>
* ...
*
* This program is licensed as free software for personal, educational or
* other non-commerical uses: you can red... | jfinkhaeuser/fhtagn | templates/template.cpp | C++ | gpl-3.0 | 1,118 |
package edu.hm.cs.smc.channels.linkedin.models;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.OneToOne;
import edu.hm.cs.smc.database.models.BaseEntity;
@Entity
public class LinkedInStatusUpdateStatistics extends BaseEntity {
@OneToOne(cascade=CascadeType.... | CCWI/SocialMediaCrawler | src/edu/hm/cs/smc/channels/linkedin/models/LinkedInStatusUpdateStatistics.java | Java | gpl-3.0 | 563 |
<?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 ... | lernlink/iomad-ll | local/report_companies/lib.php | PHP | gpl-3.0 | 5,835 |
// -*- C++ -*-
//
// This is the implementation of the non-inlined, non-templated member
// functions of the MEPP2GammaGammaPowheg class.
//
#include "MEPP2GammaGammaPowheg.h"
#include "ThePEG/Interface/ClassDocumentation.h"
#include "ThePEG/Interface/Switch.h"
#include "ThePEG/Interface/Parameter.h"
#include "ThePEG/... | hep-mirrors/herwig | MatrixElement/Powheg/MEPP2GammaGammaPowheg.cc | C++ | gpl-3.0 | 72,054 |
#pragma once
#ifndef LIBBMS_BMS_HPP_INCLUDED
#define LIBBMS_BMS_HPP_INCLUDED
#include "BmsBeatmap.hpp"
#include "BmsChannelId.hpp"
#include "BmsDataUnit.hpp"
#include "BmsDataUnitId.hpp"
#include "BmsDecimalDataUnit.hpp"
#include "BmsException.hpp"
#include "BmsIntegerListDataUnit.hpp"
#include "BmsReferenceId.hpp"
#i... | MsrLab-org/libbms | Sources/Bms.hpp | C++ | gpl-3.0 | 422 |
#-*- coding:utf-8 -*-
#
# nngt_graph.py
#
# This file is part of the NNGT project to generate and analyze
# neuronal networks and their activity.
# Copyright (C) 2015-2019 Tanguy Fardet
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as pu... | Silmathoron/NNGT | nngt/core/nngt_graph.py | Python | gpl-3.0 | 32,443 |
package com.funnycat.popularmovies.connectivity;
import android.net.Uri;
import android.util.Log;
import com.funnycat.popularmovies.BuildConfig;
import com.funnycat.popularmovies.domain.commands.Command;
import com.funnycat.popularmovies.domain.models.Review;
import com.google.gson.Gson;
import com.squareup.okhttp.Ok... | danielgf3/PopularMovies_Udacity | app/src/main/java/com/funnycat/popularmovies/connectivity/Reviews_Request.java | Java | gpl-3.0 | 2,244 |
using System;
namespace Hyper.Db
{
public interface IDbScriptProvider
{
void ExecuteAllScripts(string dbSchemaName, Action<string> executeDelegate);
}
}
| jheitz1117/Hyper | Hyper.Db/IDbScriptProvider.cs | C# | gpl-3.0 | 177 |
<?php
/* Substance - Content Management System and application framework.
* Copyright (C) 2015 Kevin Rogers
*
* Substance is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, o... | or1can/substance | application/src/Substance/Core/Database/SQL/TableReferences/AbstractTableReference.php | PHP | gpl-3.0 | 1,054 |
//===--- DeclCXX.cpp - C++ Declaration AST Node Implementation ------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | s20121035/rk3288_android5.1_repo | external/clang/lib/AST/DeclCXX.cpp | C++ | gpl-3.0 | 87,317 |
package com.abm.mainet.water.dto;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.codehaus.jackson.annotate.JsonAutoDetect;
import org.codehaus.jackson.map.annotate.JsonDeserialize;
import org.codehaus.jackson.map.annotate.JsonSerialize;
im... | abmindiarepomanager/ABMOpenMainet | Mainet1.1/MainetServiceParent/MainetServiceWater/src/main/java/com/abm/mainet/water/dto/ChangeOfOwnerRequestDTO.java | Java | gpl-3.0 | 8,179 |
package com.github.xzzpig.pigutils.plugin.url;
import java.util.Map;
public class URLPluginInfo {
String name;
String[] depends;
Map<String, String> infos;
String mainClass;
public URLPluginInfo(String name, String mainClass, String[] depends, Map<String, String> infos) {
this.name = name;
this.depends = d... | xzzpig/PigUtils | Plugin/src/main/java/com/github/xzzpig/pigutils/plugin/url/URLPluginInfo.java | Java | gpl-3.0 | 989 |
package com.zhilianxinke.schoolinhand.yingshiyun;
import android.content.Context;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
/**
* Created by Ldb on 2015/10/29.
*/
public class CustomExceptionHandler implements Thread.UncaughtExceptionHandler {
private Thread.... | zhilianxinke/SchoolInHand | app/src/main/java/com/zhilianxinke/schoolinhand/yingshiyun/CustomExceptionHandler.java | Java | gpl-3.0 | 955 |
// Renders area for students in the classroom and their status
App.StudentsInClassroomView = Backbone.View.extend({
el: "#studentsInClassList",
initialize: function() {
this.render();
},
// Todo: Will need add functionality to set status state defcon1 - 3
render: function() {
this.$el.empty();
c... | RKJuve/class-barometer | js/view/studentInClassroomView.js | JavaScript | gpl-3.0 | 2,166 |
<?php
namespace Omeka\View\Helper;
use Laminas\View\Helper\AbstractHelper;
/**
* View helper for rendering a sortable link.
*/
class SortLink extends AbstractHelper
{
/**
* The default partial view script.
*/
const PARTIAL_NAME = 'common/sort-link';
/**
* Render a sortable link.
*
... | omeka/omeka-s | application/src/View/Helper/SortLink.php | PHP | gpl-3.0 | 1,712 |
/*! \file
\brief Header of the bt_peerpick_casto_t
*/
#ifndef __NEOIP_BT_PEERPICK_CASTO_HPP__
#define __NEOIP_BT_PEERPICK_CASTO_HPP__
/* system include */
/* local include */
#include "neoip_bt_peerpick_vapi.hpp"
#include "neoip_bt_peerpick_casto_profile.hpp"
#include "neoip_copy_ctor_checker.hpp"
#include... | jeromeetienne/neoip | src/neoip_bt_plugin/peerpick/impl/casto/neoip_bt_peerpick_casto.hpp | C++ | gpl-3.0 | 1,844 |
Bitrix 17.0.9 Business Demo = b95aa04d19e533ee4f71408404ebb4c2
| gohdan/DFC | known_files/hashes/bitrix/modules/sale/install/components/bitrix/sale.products.gift.section/lang/ru/.description.php | PHP | gpl-3.0 | 63 |
/***************************************************************************\
* Filename : evaluation.hh
* Author : Mario Stanke
* Email : stanke@math.uni-goettingen.de
*
* Copyright: (C) 2002 by Mario Stanke
*
* Description:
*
*
* Date | Author | Changes
*------------+---------------+---... | NGSchool2016/ngschool2016-materials | src/augustus-3.0.2/include/evaluation.hh | C++ | gpl-3.0 | 5,852 |
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using S... | synweb/rocms | Shop/SynWeb.Teaworld.Import/Program.cs | C# | gpl-3.0 | 16,428 |
package de.gdoeppert.sky.model;
/* Android App Sky
*
* (c) Gerhard Döppert
*
* SkyReigen.apk 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) an... | gdoepp/skyreigen | src/main/java/de/gdoeppert/sky/model/PlanetPositionEcl.java | Java | gpl-3.0 | 1,442 |
/*
* Copyright 2017 Anton Tananaev (anton@traccar.org)
* Copyright 2017 Andrey Kunitsyn (andrey@traccar.org)
*
* 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 Licen... | tananaev/traccar-web | web/app/view/dialog/SendCommand.js | JavaScript | gpl-3.0 | 2,976 |
<?php
/**
* Argument class
* @author Arnia (dev@karybu.org)
* @package /classes/xml/xmlquery/argument
* @version 0.1
*/
class Argument
{
/**
* argument value
* @var mixed
*/
var $value;
/**
* argument name
* @var string
*/
var $name;
/**
* argument type
*... | arnia/Karybu | classes/xml/xmlquery/argument/Argument.class.php | PHP | gpl-3.0 | 9,975 |
/* ---
* Matrix class supporting common operations such as multiplication, inverse, determinant.
* Derived from: https://www.cs.rochester.edu/~brown/Crypto/assts/projects/adj.html
* and https://www.quantstart.com/articles/Matrix-Classes-in-C-The-Source-File
* --- */
#include "TMTrackTrigger/TMTrackFinder/interface/Ma... | luigicalligaris/uk-track-trigger | TMTrackTrigger/TMTrackFinder/src/Matrix.cc | C++ | gpl-3.0 | 11,371 |
<?php
$menu_asincrono = true;
?>
<?php if (!in_array("menus", $array_help_close)): ?>
<div class="help" data-name="menus">
<h4>Información</h4>
<p>Dependiendo de la plantilla instalada podrás editar los <strong>Menús</strong> y sus elementos.</p>
</div>
<?php endif ?>
<script>
$(document).ready(function() {
// SE... | jesusvld/pyro2 | rb-admin/core/menu/menu-init.php | PHP | gpl-3.0 | 3,475 |
package sequencemining.main;
import static java.util.function.Function.identity;
import static java.util.stream.Collectors.counting;
import static java.util.stream.Collectors.groupingBy;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
impo... | mast-group/sequence-mining | sequence-miner/src/main/java/sequencemining/main/EMStep.java | Java | gpl-3.0 | 7,657 |
/*
* Copyright (C) 2018 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... | Deletescape-Media/Lawnchair | quickstep/src/com/android/launcher3/model/WellbeingModel.java | Java | gpl-3.0 | 17,443 |
/**
*/
package org.tetrabox.example.minitl.minitl.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.ecore.I... | tetrabox/minitl | plugins/org.tetrabox.example.minitl/src/org/tetrabox/example/minitl/minitl/impl/BindingImpl.java | Java | gpl-3.0 | 9,712 |
package levenshtein
import (
"math"
"strings"
)
var lookUpTable map[string]int
func init() {
lookUpTable = make(map[string]int)
}
func min(a, b, c int) int {
return int(math.Min(math.Min(float64(a), float64(b)), float64(c)))
}
// Distance calculates the levenshtein distance
func Distance(a, b string, caseInsen... | AndersonQ/100-days-of-algorithms | 002.Levenshtein_distance/levenshtein/levenshtein.go | GO | gpl-3.0 | 819 |
require_relative '../spec_helper'
def silence_stream(stream)
old_stream = stream.dup
stream.reopen(RbConfig::CONFIG['host_os'] =~ /mswin|mingw/ ? 'NUL:' : '/dev/null')
stream.sync = true
yield
ensure
stream.reopen(old_stream)
old_stream.close
end
describe TypedRb::Language do
let(:language) { described_... | antoniogarrote/typed.rb | spec/lib/language_spec.rb | Ruby | gpl-3.0 | 4,865 |
<?php
/* ----------------------------------------------------------------------
* app/views/admin/access/user_list_html.php :
* ----------------------------------------------------------------------
* CollectiveAccess
* Open-source collections management software
* -------------------------------------------------... | perryrothjohnson/artifact-database | themes/default/views/administrate/access/user_list_html.php | PHP | gpl-3.0 | 4,869 |
# Copyright (C) 2012 David Morton
#
# 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 distribut... | davidlmorton/spikepy | spikepy/plotting_utils/sampler.py | Python | gpl-3.0 | 2,180 |
package main
import (
"github.com/gin-gonic/gin"
"http"
)
func main() {
server := gin.Default()
server.LoadHTMLGlob("templates/**/*")
r := new(http.Router)
r.Disparch(server)
server.Run()
}
| summer7c/WebGo | src/main/main.go | GO | gpl-3.0 | 199 |
// Copyright (C) 2012 Mark Burnett
//
// 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... | mark-burnett/filament-dynamics | cpp_stochastic/tests/test_concentrations.cpp | C++ | gpl-3.0 | 1,790 |
package com.leetcode.submissions;
/**
* Create by ranzd on 2018/11/13
*
* @author cm.zdran@foxmail.com
*/
public class MaximumSubarray {
public static int maxSubArray(int[] nums) {
int max = Integer.MIN_VALUE;
int ans = max;
for (int num : nums) {
max = max < 0 ? num : max... | zdRan/leetcode | src/com/leetcode/submissions/MaximumSubarray.java | Java | gpl-3.0 | 407 |
/*
* Copyright (C) 2015,�������,
* All Rights Reserved
* Description: TODO What the class does.
*
* @project ����
* @author Administrator
* @date 2016��1��10��-����11:30:54
*
* Modification History:
**********************************************************
* Date Author Comments
* 2016�... | liuhaozzu/mybatis_demo | src/com/liuhaozzu/mybatis/dao/UserDaoImpl.java | Java | gpl-3.0 | 2,143 |
from django.conf import settings
from django.db import models
from django.forms.models import model_to_dict
import json
import requests
class Character(models.Model):
name = models.CharField(max_length=250)
server_name = models.CharField(max_length=250)
head = models.TextField(blank=True, null=True)
... | tinyx/crabfactory | wow_monitor/models.py | Python | gpl-3.0 | 2,497 |
using UnityEngine;
using System.Collections;
public class LetterPickup_JnS : MonoBehaviour
{
[SerializeField]
private char letter;
public char Letter
{
get { return letter; }
set { letter = value; }
}
public void OnTriggerEnter2D(Collider2D other)
{
var player = other.GetComponent<Player>();
if (pla... | GenericEntity/JumpNSpell | Jump & Spell/Assets/scripts/Items/LetterPickup_JnS.cs | C# | gpl-3.0 | 530 |
class RemoveNonreportingReponses < ActiveRecord::Migration
def self.up
load 'db/fixes/20120424_remove_dead_responses.rb'
end
def self.down
puts 'irreversible'
end
end
| siyelo/hrt | db/migrate/20120427174355_remove_nonreporting_reponses.rb | Ruby | gpl-3.0 | 182 |
/* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana
*
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
*
* 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... | iCarto/siga | appgvSIG/src/com/iver/cit/gvsig/TableOperations.java | Java | gpl-3.0 | 17,909 |
# Flexlay - A Generic 2D Game Editor
# Copyright (C) 2014 Ingo Ruhnke <grumbel@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 your option)... | SuperTux/flexlay | supertux/menubar.py | Python | gpl-3.0 | 4,310 |
package com.mystrive.products;
public interface ProductCatalogsLoader {
void load(ProductCatalogsManager manager) throws Exception;
}
| AtHomesoft/MyStrive-ProductCatalogs | src/main/java/com/mystrive/products/ProductCatalogsLoader.java | Java | gpl-3.0 | 139 |
/*
* ColorSchemeNucleotidesDefault.java Copyright (C) 2021. Daniel H. Huson
*
* (Some files contain contributions from other authors, who are then mentioned separately.)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published ... | danielhuson/megan-ce | src/megan/alignment/gui/colors/ColorSchemeNucleotidesDefault.java | Java | gpl-3.0 | 1,876 |
<?php
////////////////////////////////////////////////////////////////////////
//SITE CONFIGURATION
////////////////////////////////////////////////////////////////////////
$QDEPURACION=1;
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
//VERSION
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
$VERSION="Beta... | facom/Sinfin | etc/configuration.php | PHP | gpl-3.0 | 3,607 |
<?php
if(!$_COOKIE['naszastrona']=="1"){
$plik="licz.txt";
$file=fopen($plik, "r");
flock($file, 1);
$liczba=fgets($file, 16);
flock($file, 3);
fclose($file);
$liczba++;
echo liczba;
$file=fopen($plik, "w");
flock($file, 2);
fwrite($file, $liczba++);
flock($file, 3);
fclose($file);
setcookie("naszastro... | jsasin/jprogramowania | lab9/odwiedziny.php | PHP | gpl-3.0 | 335 |
package view.ActionListeners;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import javax.swing.JFileChooser;
import view.JAlphaNotationGUI;
public class JMenuItemSaveAsV... | maximusx64/loweralphanotation | src/view/ActionListeners/JMenuItemSaveAsViewActionListener.java | Java | gpl-3.0 | 891 |
'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
SchoolClass = mongoose.model('SchoolClass'),
Student = mongoose.model('Student'),
ClassRegistry = mongoose.model('ClassRegistry'),
ObjectId = mongoose.Types.ObjectId,
async = require('async'),
_ = require('lodash'... | apuliasoft/aurea | app/controllers/schoolClasses.js | JavaScript | gpl-3.0 | 3,519 |
<?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 ... | ualberta-eclass/moodle-block_demostudent | lib/dml/mssql_native_moodle_database.php | PHP | gpl-3.0 | 51,280 |
<?php
session_cache_limiter('');
header('Content-type:image/' . strtolower(substr(strrchr($_GET['filename'],"."),1)));
require($_SERVER['DOCUMENT_ROOT'] . '/admin/system/settings/config.php');
$longExpiryOffset = 315360000;
header ( "Cache-Control: public, max-age=" . $longExpiryOffset );
header ( "Expires: " . gmdat... | DaniLatin/Xenium | admin/system/on.the.fly/image.resize.php | PHP | gpl-3.0 | 4,262 |
package se.nordicehealth.servlet.impl;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Pattern;
import se.nordicehealth.common.impl.Packet;
import se.nordicehealth.servlet.core.PPCPasswordValidation;
public class PasswordHandle implements PPCPasswordValidation
{
public String newPassError(Use... | NIASC/PROM_PREM_Collector | src/main/java/se/nordicehealth/servlet/impl/PasswordHandle.java | Java | gpl-3.0 | 1,418 |
/*
Minetest
Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later ve... | MrCerealGuy/Stonecraft | src/gui/guiChatConsole.cpp | C++ | gpl-3.0 | 16,677 |
var gAutoRender = true
var gMirrorEntities = false
var gNamedStyle = null
var gLanguage = 'mscgen'
var gDebug = false
var gLinkToInterpreter = false
var gVerticalLabelAlignment = 'middle'
var gIncludeSource = true
module.exports = {
getAutoRender: function () { return gAutoRender },
setAutoRender: function (pBool)... | sverweij/mscgen_js | src/script/interpreter/state.js | JavaScript | gpl-3.0 | 1,921 |
package com.folioreader.ui.tableofcontents.adapter;
import android.content.Context;
import android.graphics.Color;
import android.support.v4.content.ContextCompat;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.... | mmjang/ankihelper | folioreader/src/main/java/com/folioreader/ui/tableofcontents/adapter/TOCAdapter.java | Java | gpl-3.0 | 6,346 |
# coding=utf-8
import flask_pymongo
from app import mongo
from .tags import Tag
class PostsTags(object):
"""
标签文章关系模型
:_id 自动 id
:post_id 文章 id
:tag_id 标签 id
"""
def __init__(self):
pass
@staticmethod
def get_post_tags(post_id):
"""
获取文章的标签列表
:pa... | thundernet8/Plog | app/core/models/posts_tags.py | Python | gpl-3.0 | 1,897 |
/*
* Grakn - A Distributed Semantic Database
* Copyright (C) 2016 Grakn Labs Limited
*
* Grakn 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... | sheldonkhall/grakn | grakn-graph/src/main/java/ai/grakn/graph/internal/structure/Shard.java | Java | gpl-3.0 | 3,136 |
package sandbox_client;
/**
* Central organizer for main tabs. Passes information between the server object and the client tabs.
*
* @author dmayans
*/
import javafx.application.Platform;
import javafx.scene.control.TabPane;
public class Client {
public static final int TAB_WIDTH = 85;
// indices of tabs
... | Rcloutier778/TIMEGA | sandbox_client/Client.java | Java | gpl-3.0 | 5,616 |
<?php
/**
* TrcIMPLAN Sitio Web - SMIIndicadoresLaLaguna EconomiaCrecimientoEnLosEmpleadosEnElSectorFormal
*
* 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 Public License a... | TRCIMPLAN/trcimplan.github.io | lib/SMIIndicadoresLaLaguna/EconomiaCrecimientoEnLosEmpleadosEnElSectorFormal.php | PHP | gpl-3.0 | 5,051 |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Environment
|--------------------------------------------------------------------------
|
| This value determines the "environment" your application is currently
| running in. This m... | ishoshani/HealthSnacks | HealthPage/config/app.php | PHP | gpl-3.0 | 8,408 |
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'save', 'nb', {
toolbar: 'Lagre'
} );
| ernestbuffington/PHP-Nuke-Titanium | includes/wysiwyg/ckeditor/plugins/save/lang/nb.js | JavaScript | gpl-3.0 | 228 |
package com.topdata.toppontoweb.services.gerafrequencia.services.bancodehoras;
import com.topdata.toppontoweb.entity.bancohoras.BancoHoras;
import com.topdata.toppontoweb.entity.configuracoes.SequenciaPercentuais;
import com.topdata.toppontoweb.entity.tipo.TipoDia;
import com.topdata.toppontoweb.services.gerafrequenci... | julianoezequiel/simple-serve | ex/src/main/java/com/topdata/toppontoweb/services/gerafrequencia/services/bancodehoras/BancodeHorasAcrescimosService.java | Java | gpl-3.0 | 42,634 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<?php
$room = $_SERVER['QUERY_STRING'];
$date = date("Ymd");
$con = mysqli_connect("localhost","lee","1234","smr","3306");
mysqli_set_charset($con,"utf8");
$result = mysqli_query($con,"select * ... | teagunnNa/S.M.V-Project | display/roomDisplay.php | PHP | gpl-3.0 | 2,131 |
import socket as _socket
import os
import types
import _lightbluecommon
from _obexcommon import OBEXError
# public attributes
__all__ = ("sendfile", "recvfile")
def sendfile(address, channel, source):
if not isinstance(source, (types.StringTypes, types.FileType)):
raise TypeError("source must be string o... | hfeeki/python-lightblue | src/series60/_obex.py | Python | gpl-3.0 | 3,871 |
%[kind : lang]
%[file : messages_%%(self.obName.lower())%%_lang.php]
%[path : language/french]
<?php
/**
* Message file for entity %%(self.obName)%%
*
* Please don't forget to load this file:
* Solution A : Use "/application/config/autoload.php"
* Add this line:
* $autoload['languag... | jchome/CI-Generator | themes/ubuntu/templates/messages_lang_fr.php | PHP | gpl-3.0 | 1,684 |
// Copyright (c) 2006-2011 Frank Laub
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// 1. Redistributions of source code must retain the above copyright
// notice, this list of conditi... | dantmnf/YASS | openssl-net/ManagedOpenSsl/Crypto/MessageDigest.cs | C# | gpl-3.0 | 11,581 |
#include <core/session.h>
#include <core/request.h>
#include <tools/property_set.h>
#include <core/context.h>
#include <core/controller_spawn.h>
#include <core/target.h>
BEGIN_ENUM_IMPL(ExecutionStatus) {
{"Unplanned", (uint32_t)EExecutionStatus::Unplanned},
{"Pending", (uint32_t)EExecutionStatus::Pendin... | kluthen/libworkflow | core/session.cpp | C++ | gpl-3.0 | 3,699 |
import Form from 'cerebral-module-forms/Form';
import {TOX_MAX_FRIEND_REQUEST_LENGTH} from './../../../../shared/tox';
export default function sendMessage () {
return Form({
message: {
value: '',
isRequired: true,
validations: [{
maxBytes: TOX_MAX_FRIEND_REQUEST_LENGTH
}],
... | toxzilla/app | src/app/modules/Chat/forms/sendMessage.js | JavaScript | gpl-3.0 | 368 |
package fr.guiguilechat.jcelechat.model.sde.attributes;
import fr.guiguilechat.jcelechat.model.sde.DoubleAttribute;
/**
*
*/
public class HeatDamage
extends DoubleAttribute
{
public static final HeatDamage INSTANCE = new HeatDamage();
@Override
public int getId() {
return 1211;
}
... | guiguilechat/EveOnline | model/sde/SDE-Types/src/generated/java/fr/guiguilechat/jcelechat/model/sde/attributes/HeatDamage.java | Java | gpl-3.0 | 784 |
package de.hablijack.eilkurier.form;
import org.hibernate.validator.constraints.NotEmpty;
public class CategoryCreateForm {
@NotEmpty
private String name = "";
private String description = "";
private byte[] picture;
private String pictureContentType;
public String getName() {
... | hablijack/eilkurier | src/main/java/de/hablijack/eilkurier/form/CategoryCreateForm.java | Java | gpl-3.0 | 862 |
package edu.vanderbilt.clinicalsystems.epic.annotation.builder.javac;
import com.sun.source.tree.Tree;
import edu.vanderbilt.clinicalsystems.epic.annotation.builder.RoutineTools.ReportType;
public abstract class TreeInterpreter<R,P> extends TreeVisitorAdapter<R,P> {
private final RoutineJdkTools m_builderTools ;
... | timcoffman/java-m-engine | EpicAnnotationJdkProcessing/src/main/java/edu/vanderbilt/clinicalsystems/epic/annotation/builder/javac/TreeInterpreter.java | Java | gpl-3.0 | 789 |
/*
* Palantír Pocket
* http://mynameisrienk.com/?palantir
* https://github.com/MyNameIsRienk/PalantírPocket
**/
/*
* IMPORTANT!
* Temporarily added ?[Date.now] params to all urls to easily bypass
* caching. This needs to be remove prior to commit for production!
*
* PROBLEM!
* The window does not deal well w... | mynameisrienk/Palantir-Pocket | src/script.js | JavaScript | gpl-3.0 | 5,311 |
@javax.xml.bind.annotation.XmlSchema(namespace = "http://tempuri.org/", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
package com.trafree.crawler.client;
| LeoLiao321/Test | TestGradle/src/main/java/com/trafree/crawler/client/package-info.java | Java | gpl-3.0 | 176 |
package hardcorequesting.proxies;
import hardcorequesting.BlockHighlightRemover;
import hardcorequesting.client.interfaces.hud.GUIOverlay;
import hardcorequesting.client.sounds.SoundHandler;
import hardcorequesting.quests.Quest;
import hardcorequesting.quests.QuestTicker;
import net.minecraft.client.Minecraft;
import ... | hilburn/HQM | src/main/java/hardcorequesting/proxies/ClientProxy.java | Java | gpl-3.0 | 874 |
<?
echo Controller::byName('browse')->renderView('pagination_info', array(
'page' => $page,
'per_page' => $per_page,
'total' => $total,
'word' => 'queue'
));
?>
<?= Controller::byName('queue')->renderView('draw_queues', array('queues' => $queues)); ?>
<?
echo Controller::byName('browse')->renderView('paginat... | qharley/BotQueue | views/queue/home.php | PHP | gpl-3.0 | 434 |
/*------------------------------------------------------------------------------
Copyright 2014, HexWorld Authors.
This file is part of HexWorld.
HexWorld 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 ... | zhensydow/hworld | src/ent/c_null.hpp | C++ | gpl-3.0 | 1,830 |
/**
* Copyright (C) Intersect 2012.
*
* This module contains Proprietary Information of Intersect,
* and should be treated as Confidential.
*/
package au.org.intersect.exsite9.commands.handlers;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import org.apache.log4j.Logger;
import org.ecl... | IntersectAustralia/exsite9 | exsite9/src/au/org/intersect/exsite9/commands/handlers/FindResearchFileHandler.java | Java | gpl-3.0 | 8,200 |
package de.skycoder42.kpt;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import org.json.JSONArray;
import org.json.JSONException;
import keepass2android.pluginsdk.PluginActionBroadcastReceiver;
import keepass2android.pluginsdk.PluginAccessExcepti... | Skycoder42/KeepassTransfer | clients/quick/android/src/de/skycoder42/kpt/TransferActionReceiver.java | Java | gpl-3.0 | 1,913 |
/**
* @file test-tls-harry-chr.cpp
* @brief Test code for Halloween Harry .CHR tilesets.
*
* Copyright (C) 2010-2015 Adam Nielsen <malvineous@shikadi.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free S... | Malvineous/libgamegraphics | tests/test-tls-harry-chr.cpp | C++ | gpl-3.0 | 7,766 |
/*Jacob Meserve
*Main
*5/11/15
*The Main file
*/
import java.util.Scanner;
import java.util.ArrayList;
public class DungeonVania{
public static final long MAGIC = 0x57ddec8c; // The program will explode if this line is removed!
private static Player player;
private static Dungeon dungeon;
private static Shop s... | AFlyingCar/DungeonVania | DungeonVania.java | Java | gpl-3.0 | 8,850 |
/*
* 04/07/2005
*
* RTextAreaBase.java - The base class for an RTextArea.
*
* This library is distributed under a modified BSD license. See the included
* RSyntaxTextArea.License.txt file for details.
*/
package com.power.text.rtextarea;
import java.awt.AWTEvent;
import java.awt.Color;
import java.... | Thecarisma/powertext | Power Text/src/com/power/text/rtextarea/RTextAreaBase.java | Java | gpl-3.0 | 37,262 |
/*
Copyright 2014-2017 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 ve... | TravelModellingGroup/XTMF | Datastructure/Pair.cs | C# | gpl-3.0 | 3,842 |
namespace Hurricane.Views.UserControls
{
/// <summary>
/// Interaction logic for SettingsView.xaml
/// </summary>
public partial class SettingsView
{
public SettingsView()
{
InitializeComponent();
}
}
}
| Alkalinee/Hurricane | Hurricane/Views/UserControls/SettingsView.xaml.cs | C# | gpl-3.0 | 266 |
/*
* This file is part of cg3lib: https://github.com/cg3hci/cg3lib
* This Source Code Form is subject to the terms of the GNU GPL 3.0
*
* @author Alessandro Muntoni (muntoni.alessandro@gmail.com)
*/
#include "dcel_builder.h"
namespace cg3 {
CG3_INLINE DcelBuilder::DcelBuilder(Dcel startingDcel) : d(startingDcel)... | cg3hci/cg3lib | cg3/meshes/dcel/dcel_builder.cpp | C++ | gpl-3.0 | 6,632 |
/*******************************************************************************
* MASH 3D simulator
*
* Copyright (c) 2014 Idiap Research Institute, http://www.idiap.ch/
* Written by Philip Abbet <philip.abbet@idiap.ch>
*
* This file is part of mash-simulator.
*
* mash-simulator is free software: you can redistribu... | idiap/mash-simulator | src/teachers/TeacherEatAllTargets.cpp | C++ | gpl-3.0 | 3,863 |
require_relative 'concerns/exportable'
class Location < ActiveRecord::Base
has_many :posts
include Exportable
add_export prefix: 'location',
export_fields: %i[ id instagram_id name ],
export_methods: %i[ long_lat ]
def long_lat
[ lng, lat ]
end
end
| ZubKonst/pirozhki | app/models/location.rb | Ruby | gpl-3.0 | 294 |
package net.foxopen.fox.logging;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class FoxLogger {
private static final Logger mLogger = LoggerFactory.getLogger("FoxLogger");
public static Logger getLogger() {
return mLogger;
}
private FoxLogger() {
}
}
| Fivium/FOXopen | src/main/java/net/foxopen/fox/logging/FoxLogger.java | Java | gpl-3.0 | 288 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Qry_relation_group_role extends Qry_root {
public function __construct($Obj=FALSE)
{
//Import
$this->load->model(CONSTANT_PATH.'con_relation_group_role');
//End
parent::__construct($Obj);
}
public function delete_by_pk_gro... | tvalentius/MarsColony | MarsColony/application/models/query/qry_relation_group_role.php | PHP | gpl-3.0 | 755 |
package com.sevixoo.android3dge;
import android.opengl.GLES30;
import android.util.Log;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import java.nio.ShortBuffer;
/**
* Created by seweryn on 24.07.2017.
*/
public class GLContext {
private sta... | Sevixoo/3DGE | 3DGE-android/src/main/java/com/sevixoo/android3dge/GLContext.java | Java | gpl-3.0 | 8,496 |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
using ECCentral.BizEntity;
using ECCentral.BizEntity.IM;
using ECCentral.Service.IBizInteract;
using ECCentral.Service.IM... | ZeroOne71/ql | 02_ECCentral/03_Service/02_IM/ECCentral.Service.IM.BizProcessor/ProductResourceProcessor.cs | C# | gpl-3.0 | 29,976 |
<?php
namespace php\controls;
class ControlDispatcher {
private $control;
private $action;
public function __construct($control, $action) {
$this->control = $control;
$this->action = $action;
}
public function dispatch() {
$klasseNaam = BASE_NAMESPACE.'controls\\'.ucFirst($this->co... | IPeev1/Training-website | app/php/controls/ControlDispatcher.php | PHP | gpl-3.0 | 815 |
<?php
/**
* @author Reverze <hawkmedia24@gmail.com>
*/
namespace Yumi\Bundler\View\Table;
use Yumi\Bundler\View\Table\Exception\TableException;
use Yumi\Bundler\View\ViewElement;
class Table extends ViewElement
{
/**
* @var \Yumi\Bundler\View\Table\Column[]
*/
private $columnContainer = array();... | DamixSwayware/yumi-bundler | src/View/Table/Table.php | PHP | gpl-3.0 | 5,395 |
#! /usr/bin/env python
from state_ai import StateAi
import rospy
from math import pi
from std_msgs.msg import Bool
class Practice(StateAi):
def __init__(self):
super(Practice, self).__init__("practice")
def on_start(self):
self.generate_circle(1.8, pi/4, 2 * pi - pi/4, pi/270.0, -1)
de... | clubcapra/Ibex | src/capra_ai/scripts/practice.py | Python | gpl-3.0 | 536 |
"use strict";
/* global global: false */
var ko = require("knockout");
var $ = require("jquery");
var console = require("console");
var tinymce = require("tinymce");
var timeout;
var render = function() {
timeout = undefined;
if (typeof tinymce.activeEditor !== 'undefined' && tinymce.activeEditor !== null &&
... | goodenough/mosaico | src/js/bindings/scrollfix.js | JavaScript | gpl-3.0 | 2,159 |
import { UnitPage } from './app.po';
describe('unit App', () => {
let page: UnitPage;
beforeEach(() => {
page = new UnitPage();
});
it('should display welcome message', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('Welcome to app!');
});
});
| ycsoft/FraUI | e2e/app.e2e-spec.ts | TypeScript | gpl-3.0 | 289 |
<?php
$PAGE_TITLE = "Register - Cheqout";
require_once("../lib/utilities.php");
require_once(dirname(__DIR__)) . "/php/class/autoload.php";
if(session_status() !== PHP_SESSION_ACTIVE) {
session_start();
}
?>
<header>
<?php require_once("../lib/header.php"); ?>
</header>
<div class="container registerform">
<div cl... | jameswlhill/cheqout | register/index.php | PHP | gpl-3.0 | 1,722 |
/*
* googlehashcode2017_qualification - Copyright (C) 2017 iGoogle team's
*
* googlehashcode2017_qualification 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... | prednaxela/googlehashcode2017_qualification | src/main/java/it/univaq/google/hashcode/model/CacheServer.java | Java | gpl-3.0 | 1,656 |