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 |
|---|---|---|---|---|---|
#!/usr/bin/env python
# Bootstrap installation of Distribute
from importlib import import_module
import os, sys
from distutils.core import setup
from distutils.command.install import install
from setuptools.command.develop import develop
import subprocess
# from subprocess import call
# command = partial(subprocess... | lamerzan/public-forms | setup.py | Python | gpl-3.0 | 3,570 |
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://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 w... | pivonroll/Qt_Creator | src/plugins/qmldesigner/qmldesignerextension/connectioneditor/connectionmodel.cpp | C++ | gpl-3.0 | 17,074 |
/* @file SymbolArea.java
*
* @author marco corvi
* @date dec 2012
*
* @brief TopoDroid drawing: area symbol
* --------------------------------------------------------
* Copyright This software is distributed under GPL-3.0 or later
* See the file COPYING.
* ----------------------------------------------------... | marcocorvi/topodroid | src/com/topodroid/DistoX/SymbolArea.java | Java | gpl-3.0 | 13,878 |
/*****************************************************************************
* Copyright 2014 Christoph Wick
*
* This file is part of Mencus.
*
* Mencus 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,... | ChWick/Mencus | Game/Sprite.cpp | C++ | gpl-3.0 | 4,646 |
require 'chewy/query/filters'
class GamesSearch
include ActiveModel::Model
attr_accessor :query
attr_accessor :platform
attr_accessor :type
attr_accessor :not_id
def index
GamesIndex
end
def search
query_string
end
def expansions_count
index.filter(type: { value: 'expansion' }).searc... | internetvideogamelibrary/internetvideogamelibrary-website | app/searches/games_search.rb | Ruby | gpl-3.0 | 1,857 |
package com.github.xabgesagtx.mensa.bot.date;
import lombok.AllArgsConstructor;
import lombok.Getter;
import java.time.LocalDate;
import java.util.Optional;
/**
* Wrapper class to hold the search result for a specific date
*/
@Getter
@AllArgsConstructor(staticName = "of")
public class DateSearchResult {
priva... | xabgesagtx/mensa-api | mensa-telegram/src/main/java/com/github/xabgesagtx/mensa/bot/date/DateSearchResult.java | Java | gpl-3.0 | 493 |
/// -*- 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... | roger-zhao/ardupilot-3.3 | libraries/AP_Compass/AP_Compass_HMC5843.cpp | C++ | gpl-3.0 | 16,360 |
package com.bitblocker.messenger.ui.view;
import android.content.Context;
import android.graphics.PointF;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.LinearSmoothScroller;
import android.support.v7.widget.RecyclerView;
import android.util.AttributeSet;
import android.util.Dis... | Dato0011/btb-sms | QKSMS/src/main/java/com/bitblocker/messenger/ui/view/SmoothLinearLayoutManager.java | Java | gpl-3.0 | 1,903 |
/*
Copyright 2005 Simon Mieth
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 applicable law or agreed to in wri... | winder/Universal-G-Code-Sender | ugs-platform/ugs-platform-plugin-designer/src/main/java/org/kabeja/dxf/helpers/TextDocument.java | Java | gpl-3.0 | 2,601 |
/////////////////////////////////////////////////////////////////////////////
//
// Project ProjectForge Community Edition
// www.projectforge.org
//
// Copyright (C) 2001-2013 Kai Reinhard (k.reinhard@micromata.de)
//
// ProjectForge is dual-licensed.
//
// This community edition is free software; you can redi... | developerleo/ProjectForge-2nd | src/main/java/org/projectforge/plugins/todo/ToDoMobileEditPage.java | Java | gpl-3.0 | 2,214 |
<?php get_header(); //include header.php ?>
<main id="content">
<?php //THE LOOP
if( have_posts() ): ?>
<?php
while( have_posts() ):
the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php the_post_thumbnail( 'large' , array( 'class' => 'product-image alignright' ) ); ?... | melissacabral/awesome-theme-0514 | single-product.php | PHP | gpl-3.0 | 1,554 |
/*************************************************************************
* Copyright 2009-2014 Eucalyptus Systems, Inc.
*
* 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; version 3 of the ... | davenpcj5542009/eucalyptus | clc/modules/msgs/src/main/java/com/eucalyptus/context/Contexts.java | Java | gpl-3.0 | 13,850 |
"""
:copyright: (c) 2015 by OpenCredo.
:license: GPLv3, see LICENSE for more details.
"""
import logging
import json
log = logging.getLogger(__name__)
redis_server = None
redis_master_server = None
def get_redis_slave():
return redis_server
def get_redis_master():
return redis_master_server
cl... | rusenask/stubo-app | stubo/cache/queue.py | Python | gpl-3.0 | 3,776 |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using PyTK;
using PyTK.Extensions;
using PyTK.PlatoUI;
using PyTK.Types;
using StardewModdingAPI;
using StardewValley;
using StardewValley.Menus;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Portraiture
{
public... | Platonymous/Stardew-Valley-Mods | Portraiture/MenuLoader.cs | C# | gpl-3.0 | 11,359 |
package de.raptor2101.BattleWorldsKronos.Connector.Gui.Activities;
import android.app.Activity;
import android.app.AlertDialog;
import android.os.Bundle;
import android.view.MenuItem;
import android.view.View;
import android.widget.EditText;
import android.widget.ProgressBar;
import android.widget.TextView;
import de.... | raptor2101/BWKConnector.Library.Base | src/de/raptor2101/BattleWorldsKronos/Connector/Gui/Activities/AbstractWriteMessageActivity.java | Java | gpl-3.0 | 3,444 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Questionnaire and Consent</title>
<link rel="stylesheet" type="... | SebastianZimmeck/Cross_Device_Tracking | Software/Browser_History_Server_Files/questionnaire1.php | PHP | gpl-3.0 | 20,737 |
package cr0s.javara.render.map;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.geom.Point;
import cr0s.javara.main.Main;
import cr0s.javara.resources.ResourceManager;
import cr0s.javara.util.Pos;
public class ResourcesLayer {
ResourceCell[][] resources;
private TileMap map;
... | Cr0s/JavaRA | src/cr0s/javara/render/map/ResourcesLayer.java | Java | gpl-3.0 | 4,627 |
<?php
##
# index file
##
require('inc/core.php');
?> | digital-ghost/scanlab | index.php | PHP | gpl-3.0 | 54 |
package se.idega.idegaweb.commune.school.presentation;
import java.rmi.RemoteException;
import java.util.Collection;
import java.util.Iterator;
import se.idega.idegaweb.commune.presentation.CommuneBlock;
import com.idega.block.school.business.SchoolBusiness;
import com.idega.block.school.data.School;
import com.idega.... | idega/platform2 | src/se/idega/idegaweb/commune/school/presentation/SchoolAdminDirector.java | Java | gpl-3.0 | 2,981 |
define(["dojo/_base/kernel", "dojo/_base/declare", "dojo/_base/lang", "dojo/_base/Deferred", "dojo/on", "dojo/aspect", "dojo/query", "dojo/has", "./util/misc", "put-selector/put", "xstyle/has-class", "./Grid", "dojo/_base/sniff", "xstyle/css!./css/columnset.css"],
function(kernel, declare, lang, Deferred, listen, aspec... | spatialagent001/BlogExamples | example16/js/dojo/dgrid/ColumnSet.js | JavaScript | gpl-3.0 | 11,189 |
//---------------------------------------------
// FREQUENCY COUNTER
// www.circuit-projects.com
// Y.Erol
//---------------------------------------------
#include <pic.h>
#include <delay.c>
__CONFIG(WDTDIS&PWRTEN&LVPDIS&XT);
unsigned char kontrol;
//---------------------------------------------
// CCP1 INT... | techdude101/code | PIC uC Projects/c/Samples/Frequency-Counter/Frequency-Counter-C.C | C++ | gpl-3.0 | 1,528 |
@extends('main')
@section('page')
<div class="container-fluid page-container">
<div class="row">
<div class="col-xs-12">
<h1>ArchStrike Wiki</h1>
<div class="breadcrumb">
@if($path == 'index')
Home
... | ArchStrike/ArchStrike-Website | resources/views/website/wiki.blade.php | PHP | gpl-3.0 | 1,388 |
# This file is part of barrioSquare.
#
# barrioSquare 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.
#
# barrioSquare is distributed ... | chilitechno/barrioSquare | barrioStyles.py | Python | gpl-3.0 | 1,574 |
# ##### 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... | elfnor/sverchok | nodes/script/multi_exec.py | Python | gpl-3.0 | 7,709 |
package fr.xxiiteam.explorer.utils;
import java.io.File;
import java.io.Serializable;
public final class Permissions implements Serializable {
private static final long serialVersionUID = 2682238088276963741L;
public final boolean ur;
public final boolean uw;
public final boolean ux;
public fin... | XXIITEAM/XXII-Explorer | explorer/src/main/java/fr/xxiiteam/explorer/utils/Permissions.java | Java | gpl-3.0 | 2,409 |
<?php
define('DB_HOST', 'localhost');
define('DB_NAME', 'u453794882_king');
define('DB_USER', 'u453794882_king');
define('DB_PASS', 'gamabeta');
define('DB_CHAR', 'utf8');
class DB
{
private static $instance;
public static function getInstance(){
if(!isset(self::$instance)){
try {
self::$instance =... | jeffersonmello/kingofeletroOficial | admin/class/DB.php | PHP | gpl-3.0 | 747 |
jQuery( function( $ ) {
// wc_single_product_params is required to continue, ensure the object exists
if ( typeof wc_single_product_params === 'undefined' ) {
return false;
}
// Tabs
$( '.woocommerce-tabs > .panel' ).hide();
$( '.woocommerce-tabs ul.tabs li a' ).click( function() {
... | shramee/test-ppb | js/wc-single-product.js | JavaScript | gpl-3.0 | 2,543 |
/* ColorCode, a free MasterMind clone with built in solver
* Copyright (C) 2009 Dirk Laebisch
* http://www.laebisch.com/
*
* ColorCode 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... | vakkov/ColorCode | cellbtn.cpp | C++ | gpl-3.0 | 915 |
using System;
using System.Collections.Generic;
using System.Text;
namespace RogueBasin.Triggers
{
/// <summary>
/// When you enter the entrance square
/// </summary>
public class TreasureRoom : DungeonSquareTrigger
{
public TreasureRoom()
{
}
pu... | flend/roguelike | RogueBasin/RogueBasin/Triggers/TreasureRoom.cs | C# | gpl-3.0 | 1,323 |
<?php
add_shortcode('style', 'style');
function style($options, $content) {
return "<style> " . html_entity_decode($content) . "</style>";
}
| cemc/cscircles-wp-content | plugins/pybox/shortcode-style.php | PHP | gpl-3.0 | 146 |
<?php
/******************************************************************
* XLAgenda 4 par Xavier LE QUERE
* Contact : support[at]xlagenda.fr
* Web : http://www.xlagenda.fr
* (C) Xavier LE QUERE, 2003-2013
* Version 4.3 - 16/06/13
*
* This program is free software; you can redistribute it and/or modify
* it... | chrnoangel/xlagenda | menu.php | PHP | gpl-3.0 | 2,559 |
<div id="rewards-header" class="page-header">
<h1>奖惩情况</h1>
</div> <!-- /rewards-header -->
<div id="rewards-content" class="section">
<div id="rewards-content-header" style="overflow: auto;">
<div id="selector" style="float: left;">
<select id="available-years" class="span2">
<... | zjhzxhz/stumgr | application/views/home/rewards.php | PHP | gpl-3.0 | 8,887 |
package net.minecraft.src;
import com.google.common.collect.Maps;
import java.util.Iterator;
import java.util.Map;
import java.util.UUID;
import java.util.Map.Entry;
public class Potion
{
/** The array of potion types. */
public static final Potion[] potionTypes = new Potion[32];
public static final Potio... | herpingdo/Hakkit | net/minecraft/src/Potion.java | Java | gpl-3.0 | 12,342 |
'use strict';
var obj = { a: 100, b: 200 };
var myVar = 10;
console.log('Before delete');
console.log(obj);
console.log(myVar);
delete obj.a;
//delete myVar;//ERROR
console.log('After delete' + obj);
console.log(obj);
console.log(myVar); | ramezmagdy/NetPull | js/deletingStuff.js | JavaScript | gpl-3.0 | 242 |
using System.Collections.Generic;
using System.Drawing;
namespace NvnTest.Employer
{
/// <author>Blaise Braye</author>
/// <summary>
/// GridDrawer is able to draw object inherited from this class,
/// a common use case for GridDraw is to call GetSize method first,
/// then setting a Rectangle in ... | nvngithub/nvntest | NvnTest.Employer/schedules/report/datagrid print/PrintBlock.cs | C# | gpl-3.0 | 788 |
/* jshint expr: true */
!(function($, wysi) {
'use strict';
var templates = function(key, locale, options) {
return wysi.tpl[key]({locale: locale, options: options});
};
var Wysihtml5 = function(el, options) {
this.el = el;
var toolbarOpts = options || defaultOptions;
for(var t in toolbarOpts.... | UnsafeDriving/JDIY | web/jdiy/admin/js/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.js | JavaScript | gpl-3.0 | 10,258 |
import requests
import re
def request_by_ip(ip):
response = {}
request = requests.get("http://www.fairplay.ac/lookup/address/{}".format(ip))
assert request.status_code == 200
output = re.findall("Fairplay Guid: ([a-zA-Z0-9]{5})", request.text)
if len(output) == 0:
return None
response["... | ohad258/sof2utils | FairplayRequester.py | Python | gpl-3.0 | 471 |
module.exports = {
//---------------------------------------------------------------------
// Action Name
//
// This is the name of the action displayed in the editor.
//---------------------------------------------------------------------
name: "Leave Voice Channel",
//----------------------------------------------... | Bourbbbon/PickleRi6 | actions/leave_voice_channel.js | JavaScript | gpl-3.0 | 3,272 |
package graph.module.cli;
import graph.core.CommonConcepts;
import graph.core.CycDAG;
import graph.core.DAGEdge;
import graph.core.Edge;
import graph.core.ErrorEdge;
import graph.core.Node;
import graph.core.cli.DAGPortHandler;
import graph.module.TransitiveIntervalSchemaModule;
import java.io.BufferedRead... | Effervex/CycDAG | src/graph/module/cli/PruneCyclesCommand.java | Java | gpl-3.0 | 3,427 |
using Sudoku;
using System;
using System.Text.RegularExpressions;
namespace SodukuConsoleApp.Command
{
public class AddTileCommand : SudokuCommand
{
private const string RowIndexGroupName = "rowIndex";
private const string ColumnIndexGroupName = "columnIndex";
private const string Tile... | EpicGuy4000/Sudoku | SodukuConsoleApp/Commands/AddTileCommand.cs | C# | gpl-3.0 | 1,155 |
calculaAreaRectangulo = function() {
this.resultado.value = parseInt(this.alto.value) *
parseInt(this.ancho.value);
this.metodoCompartido("EEEEEAH!");
}
calculaAreaTriangulo = function() {
this.resultado.value = parseInt(this.alto.value) *
parseInt(this.ancho.value) / 2;
this.metodoCompa... | germanux/cursomeanstack | 02_js/18_figuras_poo/18_figuras.js | JavaScript | gpl-3.0 | 1,253 |
package pl.koziolekweb.lottomat.machine;
import pl.koziolekweb.fun.Function0;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.function.BiFunction;
import java.util.function.Function;
import java.util.stream.Collectors;
/**
* TODO write J... | Koziolek/Lottomat | src/main/java/pl/koziolekweb/lottomat/machine/Machine.java | Java | gpl-3.0 | 1,156 |
package org.sapia.corus.database.persistence;
import org.sapia.corus.client.services.database.RecordMatcher;
import org.sapia.corus.client.services.database.persistence.Record;
/**
* This class implements the {@link RecordMatcher} interface over the
* {@link Template} class.
*
* @author yduchesne
*
*/
public ... | sapia-oss/corus | modules/server/src/main/java/org/sapia/corus/database/persistence/TemplateMatcher.java | Java | gpl-3.0 | 694 |
var searchData=
[
['dnasequencealignment_20_26_25_20dnasequencegenerator',['DNASequenceAlignment &% DNASequenceGenerator',['../md__home_cristianfernando__documentos_git__d_n_a_sequence_alignment__r_e_a_d_m_e.html',1,'']]]
];
| crisferlop/DNASequenceAlignment | doc/html/search/pages_0.js | JavaScript | gpl-3.0 | 231 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Data/AssetDigestEntry.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "POGOProtos/Data/AssetDigestEntry.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#i... | onzlak42/PokemonGo-api-cpp | proto/proto_cpp/POGOProtos/Data/AssetDigestEntry.pb.cc | C++ | gpl-3.0 | 28,078 |
package edu.isi.bmkeg.lapdf.parser;
import java.io.File;
import java.io.FileReader;
import java.io.Reader;
import java.io.StringReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.TreeSet;
import java.util.concurrent.... | phatn/lapdftext | src/main/java/edu/isi/bmkeg/lapdf/parser/RuleBasedParser.java | Java | gpl-3.0 | 35,574 |
"""
"""
from __future__ import unicode_literals
from django.conf import settings
def fikoStatik(request):
"""
Fiko Statik Adresini(url) Döndürür...
Örnek:
<script src="{{ FIKO_STATIK_URL }}/pkt/angular/angular.js"></script>
Bu İçerik İşleyicinin Aktif Olabilmewsi İçin Aşağıdaki Kodları Sett... | fikri007/django-fikoStatik | fikoStatik/icerikIsleyici/fikoStatik.py | Python | gpl-3.0 | 1,063 |
# Copyright (C) 2011-2012 Patrick Totzke <patricktotzke@gmail.com>
# This file is released under the GNU GPL, version 3 or a later revision.
# For further details see the COPYING file
from __future__ import absolute_import
import argparse
import glob
import logging
import os
import re
from ..settings.const import se... | geier/alot | alot/commands/__init__.py | Python | gpl-3.0 | 6,105 |
# $Id$
import sys
import random
import math
import numpy
from itcc.core import ctools
__revision__ = '$Rev$'
__all__ = ['length', 'angle', 'torsionangle', 'imptor',
'combinecombine', 'xyzatm', 'minidx', 'maxidx',
'weightedmean', 'weightedsd', 'datafreq',
'random_vector', 'all', 'any',
... | lidaobing/itcc | itcc/core/tools.py | Python | gpl-3.0 | 4,560 |
package com.livingobjects.neo4j.model.export;
import com.livingobjects.neo4j.model.iwan.GraphModelConstants;
import java.util.Comparator;
public final class PropertyNameComparator implements Comparator<String> {
public static final PropertyNameComparator PROPERTY_NAME_COMPARATOR = new PropertyNameComparator();
... | livingobjects/neo4j-lo-extensions | src/main/java/com/livingobjects/neo4j/model/export/PropertyNameComparator.java | Java | gpl-3.0 | 994 |
/*
Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments
Copyright (C) ITsysCOM GmbH
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... | rinor/cgrates | engine/pstr_amqpv1.go | GO | gpl-3.0 | 3,986 |
/*===========================================================================*\
* *
* OpenFlipper *
* Copyright (C) 2001-2011 by Computer Graphics Group, RWTH Aachen *
* ... | softwarekid/OpenFlipper | ObjectTypes/Skeleton/PoseT.hh | C++ | gpl-3.0 | 9,581 |
<?php
/* "Copyright 2012 A3 Revolution Web Design" This software is distributed under the terms of GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 */
// File Security Check
if ( ! defined( 'ABSPATH' ) ) exit;
?>
<?php
/*-----------------------------------------------------------------------------------
WPEC Quick Vi... | wp-plugins/wp-e-commerce-products-quick-view | admin/tabs/custom-template/gallery-tab.php | PHP | gpl-3.0 | 4,074 |
# -*- coding: utf-8 -*-
"""
Copyright 2008 Serge Matveenko
This file is part of PyStarDict.
PyStarDict 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 lat... | lig/pystardict | examples/demo.py | Python | gpl-3.0 | 2,522 |
package tmp.generated_javacc;
import cide.gast.*;
import cide.gparser.*;
import cide.greferences.*;
import java.util.*;
public class AnnotationTypeMemberDeclaration1 extends AnnotationTypeMemberDeclaration {
public AnnotationTypeMemberDeclaration1(Modifiers modifiers, Type type, JavaIdentifier javaIdentifier,... | ckaestne/CIDE | CIDE_Language_JavaCC/src/tmp/generated_javacc/AnnotationTypeMemberDeclaration1.java | Java | gpl-3.0 | 1,471 |
/*
Simulation for zebrafish segmentation
Copyright (C) 2013 Ahmet Ay, Jack Holland, Adriana Sperlea, Sebastian Sangervasi
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... | jerryyjr/cosc445_project | simulation/source/io.cpp | C++ | gpl-3.0 | 26,892 |
// LinkInfoURI.cpp
#include "LinkInfo.h"
using namespace MuPDFWinRT;
LinkInfoURI::LinkInfoURI(RectF rect, Platform::String^ uri)
{
m_rect = rect;
m_uri = uri;
}
void LinkInfoURI::AcceptVisitor(LinkInfoVisitor^ visitor)
{
visitor->VisitURI(this);
} | MishaUliutin/MuPDF.WinRT | Src/LinkInfoURI.cpp | C++ | gpl-3.0 | 254 |
<?php
/**
* @version $Id: default.php 2013-10-29
* @copyright Copyright (C) 2013 Leonardo Alviarez - Edén Arreaza. All Rights Reserved.
* @license GNU General Public License version 3, or later
* @note Note : All ini files need to be saved as UTF-8 - No BOM
*/
defined('_JEXEC') or die;
// Include the componen... | lalviarez/thor_hospedaje | site/views/productor/tmpl/default.php | PHP | gpl-3.0 | 3,180 |
namespace ProcessingTools.Contracts.Services.Data.Geo
{
using ProcessingTools.Contracts.Filters.Geo;
using ProcessingTools.Contracts.Models.Geo;
public interface IPostCodesDataService : IDataServiceAsync<IPostCode, IPostCodesFilter>
{
}
}
| bozhink/ProcessingTools | src/ProcessingTools/Infrastructure/Contracts/Services.Data/Geo/IPostCodesDataService.cs | C# | gpl-3.0 | 263 |
/*
* This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
* http://www.gnu.org/licenses/gpl-3.0.html
*
* $Revision$
* $Id$
* $HeadURL$
*/
#include "bindings.h"
#include "globals.h"
// ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----
void... | SaturnSDK/Saturn-SDK-IDE | src/plugins/contrib/headerfixup/defaults.cpp | C++ | gpl-3.0 | 97,104 |
/*
* Copyright (C) 2007-2022 Crafter Software Corporation. 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 version 3 as published by
* the Free Software Foundation.
*
* This program is distributed in the hope tha... | craftercms/profile | security-provider/src/main/java/org/craftercms/security/social/impl/ProviderLoginSupportImpl.java | Java | gpl-3.0 | 10,511 |
public enum LiftFloor { None, FirstFloor, SecondFloor, ThirdFloor, FourthFloor, InBetweenFloors }; | BardsBeardsBirds/Demo-2 | Assets/Scripts/ObjectInteraction/ObjectScripts/LiftFloor.cs | C# | gpl-3.0 | 101 |
package ru.juniperbot.common.support.jmx;
import org.springframework.jmx.export.naming.MetadataNamingStrategy;
import javax.management.MalformedObjectNameException;
import javax.management.ObjectName;
public class JbMetadataNamingStrategy extends MetadataNamingStrategy {
/**
* Overrides Spring's naming met... | GoldRenard/JuniperBotJ | jb-common/src/main/java/ru/juniperbot/common/support/jmx/JbMetadataNamingStrategy.java | Java | gpl-3.0 | 2,377 |
<?php
/*
* This file is part of the ptech project.
*
* (c) ptech project <http://github.com/ptech>
*
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/
use yii\helpers\Html;
use yii\helpers\Url;
/**
* @var ptech\user\models\User ... | WFMRDA/WFNM | common/mail/recovery.php | PHP | gpl-3.0 | 1,675 |
# Simple program to add the value of $1 and $5 bills in a wallet
'''
Multiple line comments can be placed between triple quotations.
'''
nFives = 2
nOnes = 3
total = (nFives * 5) + nOnes
print "The total is $" + str(total)
# Simple program to calculate how much you should be paid at work
rate = 10.00
totalHours ... | geoffmomin/ScratchPad | Python/simplewallet.py | Python | gpl-3.0 | 479 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigati... | fparadis2/mox | Source/Mox.UI/Project/Views/Game/Player/PlayerInfoControl.xaml.cs | C# | gpl-3.0 | 631 |
import csv
import requests
import pandas as pd
from zipfile import ZipFile
from io import StringIO
URL = 'https://www.quandl.com/api/v3/databases/%(dataset)s/codes'
def dataset_url(dataset):
return URL % {'dataset': dataset}
def download_file(url):
r = requests.get(url)
if r.status_code == 200:
... | briancappello/PyTradeLib | pytradelib/quandl/metadata.py | Python | gpl-3.0 | 1,451 |
#include "Global.h"
namespace neuro
{
int x_square_mul;
int y_square_mul;
int MAPSIZEX = 48;
int MAPSIZEY = 40;
inline static bool checkMapBounds(Square pos) {
if(
(pos.getX()>0&&pos.getX()<MAPSIZEX)&&
(pos.getY()>0&&pos.getY()<MAPSIZEY)
) {
return true;
} else {
... | ChadMcKinney/Entropy | Neurocaster/src/core/Global.cpp | C++ | gpl-3.0 | 512 |
/* -*-c++-*-
* ----------------------------------------------------------------------------
*
* PlantGL: The Plant Graphic Library
*
* Copyright 1995-2007 UMR CIRAD/INRIA/INRA DAP
*
* File author(s): F. Boudon et al.
*
* ---------------------------------------------------------------------... | mangostaniko/lpy-lsystems-blender-addon | lpy-lsystems-adapted-windows/src/plantgl/math/util_vector.cpp | C++ | gpl-3.0 | 24,241 |
/**
* @file Dunavant.cpp
* @brief Functions for Dunavant quadrature (nodes and weights, tabulated)
* @author John Burkardt
*/
# include <cstdlib>
# include <iostream>
# include <fstream>
# include <iomanip>
# include <cmath>
# include <ctime>
# include <cstring>
using namespace std;
# include "Dunavant.hpp"
//**... | carlomr/tspeed | lib/src/Dunavant.cpp | C++ | gpl-3.0 | 91,635 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>St. Thomas More - NFCS</title>
<link rel="shortcut icon" type="image/x-icon" href="logo.ico">
<!-- google fonts -->
<link hre... | dumebi/thomasmore | nfcs.php | PHP | gpl-3.0 | 24,874 |
#include "ThreadPinger.h"
#include "Service.h"
#undef MSEC_PING_SLEEP_TIME
#define MSEC_PING_SLEEP_TIME 5
void ThreadPinger()
{
while ( true )
{
SLEEP ( 5 );
// firstly "hack" the not ping status. A pinged() event will anyway solve this.
Service::getMe()->notPinged();
... | fritzone/pici-nms | Dispatcher/ThreadPinger.cpp | C++ | gpl-3.0 | 1,433 |
# gensim modules
from gensim import utils
from gensim.models.doc2vec import LabeledSentence
from gensim.models import Doc2Vec
# numpy
import numpy
# shuffle
from random import shuffle
# logging
import logging
import os.path
import sys
import cPickle as pickle
program = os.path.basename(sys.argv[0])
logger = logging... | vinhqdang/doc2vec_dnn_wikipedia | code/load_pre_train.py | Python | gpl-3.0 | 3,073 |
package de.bu.service.identifierservice.impl;
import javax.inject.Inject;
import javax.jws.WebMethod;
import javax.jws.WebService;
import de.bu.service.identifierservice.api.IdentifierBlock;
import de.bu.service.identifierservice.api.IdentifierCreationException;
@WebService(endpointInterface = "de.bu.service.identif... | pbuchholz/identifierservice | de.bu.service.indentifierservice-impl/src/main/java/de/bu/service/identifierservice/impl/DefaultIdentifierCreationService.java | Java | gpl-3.0 | 1,222 |
/////////////////////////////////////////////////////////////////////////////////
//
// Jobbox WebGUI
// Copyright (C) 2014-2015 Komatsu Yuji(Zheng Chuyu)
//
// 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 Softwa... | komatsuyuji/jobbox | frontends/public/app/controller/editor/Tree.js | JavaScript | gpl-3.0 | 10,826 |
package us.mcpvpmod.config.maze;
import static net.minecraftforge.common.config.Configuration.CATEGORY_GENERAL;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.common.config.Property;
import us.mcpvpmod... | NomNuggetNom/mcpvp-mod | src/main/java/us/mcpvpmod/config/maze/ConfigMazeSounds.java | Java | gpl-3.0 | 2,835 |
#include "UpkeepInstruction.hpp"
#include "Instruction/PopulationGrowthInstruction.hpp"
#include "Instruction/EndGameInstruction.hpp"
#include "Instruction/DecimateGoldInstruction.hpp"
UpkeepInstruction::UpkeepInstruction(BoardModel *boardModel)
: Instruction(), boardModel(boardModel)
{}
void UpkeepInstruction:... | Ryoga-Unryu/pocketciv | Instruction/UpkeepInstruction.cpp | C++ | gpl-3.0 | 1,108 |
<?php
/**
* This is part of rampage.php
* Copyright (c) 2013 Axel Helmert
*
* 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 late... | tux-rampage/rampage-php | library/rampage/core/view/TemplateLocator.php | PHP | gpl-3.0 | 2,284 |
<?php
// This file is part of the Open iframe block for Moodle
//
// 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.
//
// M... | davosmith/moodle-block_openiframe | lang/en/block_openiframe.php | PHP | gpl-3.0 | 735 |
// Decompiled with JetBrains decompiler
// Type: Wb.Lpw.Game.Common.Descriptions.StagingTaskDesc_PlaceNUEDelimiter
// Assembly: Wb.Lpw.Game.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 3C4BDCBA-73F8-4BAA-AC19-A98EC2D71189
// Assembly location: C:\Users\CGA Computer\Desktop\LEGO Universe Stuff... | mater06/LEGOChimaOnlineReloaded | LoCO Client Files/Decompressed Client/Extracted DLL/Wb.Lpw.Game.Common/Wb/Lpw/Game/Common/Descriptions/StagingTaskDesc_PlaceNUEDelimiter.cs | C# | gpl-3.0 | 784 |
;(function() {
'use strict';
/*this is only to be used in tests, so the same grid doesn't need to
be repeated over and over. it is the smallest solvable level that
can be produced in Sokoban, but already solved.*/
angular.module('meanieBanApp')
.factory('smallestSolvableSolved', smallestS... | simonwendel/meanieban | client/test/utilities/smallestsolvablesolved.js | JavaScript | gpl-3.0 | 629 |
/* _______ __ __ __ ______ __ __ _______ __ __
* / _____/\ / /\ / /\ / /\ / ____/\ / /\ / /\ / ___ /\ / |\/ /\
* / /\____\// / // / // / // /\___\// /_// / // /\_/ / // , |/ / /
* / / /__ / / // / // / // / / / ___ / // ___ / // /| ' / /
* / /_// /\ / /_// / // / // /_/_ ... | HoraceAndTheSpider/amiberry | guisan-dev/include/guisan/mouselistener.hpp | C++ | gpl-3.0 | 6,607 |
package pl.adjule.web.rest.submission.detail;
import lombok.Data;
@Data
public class AddSubmissionView {
private String problemCode;
private String userLogin;
private String language;
private String source;
}
| kTT/adjule | adjule-ws/src/main/java/pl/adjule/web/rest/submission/detail/AddSubmissionView.java | Java | gpl-3.0 | 227 |
define(['jquery', 'system', 'i18n'], function($,_system,i18n){
'use strict';
var remote = null;
function init () {
remote = remote || window.apis.services.partition;
};
var partial = {
myalert: function (msg) {
var $alert = $('#myalert');
$alert.off('click', '... | sonald/Red-Flag-Linux-Installer | examples/installer/client/assets/js/remote_part.js | JavaScript | gpl-3.0 | 6,162 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This file is part of SableCC. *
* See the file "LICENSE" for copyright information and the *
* terms and conditions for copying, distribution and *
* modification of SableCC. *
* * ... | renatocf/MAC0434-PROJECT | external/sablecc-3.7/src/org/sablecc/sablecc/AlternativeElementTypes.java | Java | gpl-3.0 | 1,765 |
#include <vector>
#include <iostream>
#include <algorithm>
std::vector<int> modulus(std::vector<int> a);
void multiplication(std::vector<int> a, std::vector<int> b) {
std::vector<int> c;
c.resize(a.size() + b.size() - 1);
for (int x = 0; x < b.size(); x++) {
for (int y = 0; y < a.size(); y++) {
c[x + y] += ... | Tomashnikov/GF_Multiplication | GF_Multiplication/GF_Multiplication/multiplication.cpp | C++ | gpl-3.0 | 730 |
/*
* Copyright 2012 Justin Driggers <jtxdriggers@gmail.com>
*
* This file is part of Ventriloid.
*
* Ventriloid 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... | justindriggers/Ventriloid | com.jtxdriggers.android.ventriloid/src/com/jtxdriggers/android/ventriloid/ServerAdapter.java | Java | gpl-3.0 | 7,275 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="lb_LU">
<context>
<name>QObject</name>
<message>
<location filename="../main/main.cpp" line="+87"/>
<source>LTR</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
| annejan/qtpass | localization/localization_lb_LU.ts | TypeScript | gpl-3.0 | 312 |
<?php
/**
* WooCommerce Account Functions
*
* Functions for account specific things.
*
* @author WooThemes
* @category Core
* @package WooCommerce/Functions
* @version 2.6.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Returns the url to the lost password endpoint url.
*
* @access public
* @para... | SteveHoneyNZ/woocommerce | includes/wc-account-functions.php | PHP | gpl-3.0 | 8,677 |
<!-- Give the category a name. -->
<p>
{!! Form::label('title','Title:') !!}
{!! Form::text('title', old('title'), ['class' => 'form-control']) !!}
</p>
<!-- Give a good description. -->
<p>
{!! Form::label('description', 'Description:') !!}
{!! Form::textarea('description', old('description'), ['class' => 'form-contro... | pchater/flommerce.dev | resources/views/categories/form.blade.php | PHP | gpl-3.0 | 627 |
/*
* Copyright (C) 2017 GedMarc
*
* 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 distribute... | GedMarc/JWebSwing | src/main/java/com/jwebmp/core/base/servlets/JWebMPServlet.java | Java | gpl-3.0 | 2,483 |
/*
* 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.iescomercio.tema5.cuentas_bancarias;
/**
*
* @author VESPERTINO
*/
public class CuentaAhorro extends CuentaC... | sagasta95/DAW1 | src/com/iescomercio/tema5/cuentas_bancarias/CuentaAhorro.java | Java | gpl-3.0 | 921 |
#pragma once
#include "GLTexture.hpp"
namespace mls {
template<GLenum textureType>
class GLTextureHandle {
GLuint64 m_nHandle = 0u;
public:
explicit GLTextureHandle(GLuint64 handle = 0u) : m_nHandle(handle) {
}
explicit GLTextureHandle(const GLTextureBase<textureType>& texture):
m_nHandle(gl... | Celeborn2BeAlive/melisandre | melisandre/src/melisandre/opengl/utils/GLBindlessTexture.hpp | C++ | gpl-3.0 | 2,692 |
using System;
using System.Collections.Generic;
using System.Linq;
using ColossalFramework;
namespace CWS_MrSlurpExtensions
{
public class DistrictInfo
{
public int DistrictID { get; set; }
public String DistrictName { get; set; }
public DistrictServiceData Population { get; set; }
... | MrSlurp/CityWebServerExtension | CWS_MrSlurpExtensions/Models/DistrictInfo.cs | C# | gpl-3.0 | 15,313 |
package com.abm.mainet.common.jbpm.domain;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.validation.ObjectError;
import com.abm.mainet.common.jbpm.util.ResponseType;
public class ActionResponse {
private Respo... | abmindiarepomanager/ABMOpenMainet | Mainet1.0/MainetServiceParent/MainetServiceCommon/src/main/java/com/abm/mainet/common/jbpm/domain/ActionResponse.java | Java | gpl-3.0 | 2,602 |
package andriell.cxor;
public class Constants {
public static final String CHARSET = "UTF-8";
public static final int MAX_SIZE = 1048576;
}
| andriell/cXor | src/main/java/andriell/cxor/Constants.java | Java | gpl-3.0 | 149 |
const router = require('express').Router({ mergeParams: true });
const HttpStatus = require('http-status-codes');
const path = '/status';
function health(_, res) {
res.status(HttpStatus.OK);
res.send('ok');
}
function ready(_, res) {
res.send('ok');
}
router.get('/health', health);
router.get('/ready', ready)... | omarcinp/cronos | src/api/routes/status.js | JavaScript | gpl-3.0 | 363 |
package sk.upjs.doctororganizer.Entities;
import java.math.BigInteger;
public class Patient {
private Long id;
private String name;
private String surname;
private String adress;
private String date_of_birth;
private BigInteger id_number;
private String insured_at;
private ... | mohnanskygabriel/DoctorOrganizer | DoctorOrganizer/src/main/java/sk/upjs/doctororganizer/Entities/Patient.java | Java | gpl-3.0 | 2,365 |
#region Copyright
/////////////////////////////////////////////////////////////////////////////
// Altaxo: a data processing and data plotting program
// Copyright (C) 2014 Dr. Dirk Lellinger
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU Gener... | Altaxo/Altaxo | Altaxo/Base/Worksheet/Commands/Analysis/RealFourierTransformation2DOptions.cs | C# | gpl-3.0 | 14,821 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import logging
import os
import socket
import sys
from argparse import ArgumentParser
from setproctitle import setproctitle
from amavisvt.config import Configuration
BUFFER_SIZE = 4096
class AmavisVTClient(object):
def __init__(self, socket_path):
self.confi... | ercpe/amavisvt | amavisvt/amavisvtc.py | Python | gpl-3.0 | 2,613 |