code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
<?php
// Esercizio: un numero che si dimezza sempre
header('Content-Type: text/plain');
ini_set('display_errors', true); // MAI in produzione!!!
ini_set('html_errors', 0);
/**
* Questa classe continua a dividere
* il suo stato interno per un valore dato.
*/
class invert
{
/**
* Il valore corrente
* @v... | hujuice/oopphp | public/esercizi/divide.php | PHP | gpl-3.0 | 1,214 |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.2.4 or newer
*
* NOTICE OF LICENSE
*
* Licensed under the Open Software License version 3.0
*
* This source file is subject to the Open Software License (OSL 3.0) that is
* bundled with this package in the files ... | ngoaho91/sharif-judge | system/database/DB_utility.php | PHP | gpl-3.0 | 10,617 |
from mercurial import cmdutil
_hgignore_content = """\
syntax: glob
*~
*.pyc
*.pyo
*.bak
cache/*
databases/*
sessions/*
errors/*
"""
def commit():
app = request.args[0]
path = apath(app, r=request)
uio = ui.ui()
uio.quiet = True
if not os.environ.get('HGUSER') and not uio.config("ui", "usernam... | henkelis/sonospy | web2py/applications/admin/controllers/mercurial.py | Python | gpl-3.0 | 1,107 |
# coding=utf-8
"""InaSAFE Disaster risk tool by Australian Aid - Flood Raster Impact on
Population.
Contact : ole.moller.nielsen@gmail.com
.. note:: 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 Fou... | wonder-sk/inasafe | safe/impact_functions/inundation/flood_raster_population/metadata_definitions.py | Python | gpl-3.0 | 5,408 |
/**
*
*/
package cz.geokuk.core.napoveda;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import java.net.MalformedURLException;
import java.net.URL;
import cz.geokuk.core.program.FConst;
import cz.geokuk.framework.Action0;
import cz.geokuk.util.process.BrowserOpener;
/**
* @author Martin Vever... | marvertin/geokuk | src/main/java/cz/geokuk/core/napoveda/ZadatProblemAction.java | Java | gpl-3.0 | 1,073 |
/**
* Copyright 2013, 2014 Ioana Ileana @ Telecom ParisTech
* 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.
... | IoanaIleana/ProvCB | src/instance/Parser.java | Java | gpl-3.0 | 3,628 |
(function() {
'use strict';
angular
.module('app.grid')
.service('GridDemoModelSerivce', GridDemoModelSerivce)
.service('GridUtils',GridUtils)
.factory('GridFactory',GridFactory)
;
GridFactory.$inject = ['modelNode','$q','$filter'];
function GridFactory(m... | zppro/4gtour | src/vendor-1.x/js/modules/grid/grid.service.js | JavaScript | gpl-3.0 | 11,119 |
ForceTool
=======
Allows administrators to force tool usage based on how they want it. | AlmuraDev/ForceTools | README.md | Markdown | gpl-3.0 | 87 |
package com.test.ipetrov.start;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.conf... | 081krieger/rps | src/main/java/com/test/ipetrov/start/Application.java | Java | gpl-3.0 | 804 |
import { Pipeline, Step } from '@ephox/agar';
import { Arr } from '@ephox/katamari';
import { LegacyUnit } from '@ephox/mcagar';
import Serializer from 'tinymce/core/api/dom/Serializer';
import DOMUtils from 'tinymce/core/api/dom/DOMUtils';
import TrimHtml from 'tinymce/core/dom/TrimHtml';
import ViewBlock from '../../... | jabber-at/hp | hp/core/static/lib/tinymce/src/core/test/ts/browser/dom/SerializerTest.ts | TypeScript | gpl-3.0 | 36,451 |
<?php
/**
* Core Class To Style RAD Builder Components
* @author Abhin Sharma
* @dependency none
* @since IOA Framework V1
*/
if(!class_exists('RADStyler'))
{
class RADStyler
{
function registerbgColor($key='' ,$target='')
{
$code ='<h5 class="sub-styler-title">'.__('Set Background Color',... | lithqube/sedesgroup | IT/wp-content/themes/limitless/backend/rad_builder/class_radstyler.php | PHP | gpl-3.0 | 7,651 |
---
title: '1º Aberto Gaúcho de Super Smash Bros. - Wii U Singles, Doubles e Crews! (22/07 e 23/07)'
date: 2016-04-21 18:17:00
author: 'DASH|Vinikun'
image: 'http://i.imgur.com/7w6udGs.jpg'
---
| smashrs/smash-rs | _drafts/2017-02-08-1º Aberto Gaúcho de Super Smash Bros.md | Markdown | gpl-3.0 | 197 |
#if defined (_MSC_VER) && !defined (_WIN64)
#pragma warning(disable:4244) // boost::number_distance::distance()
// converts 64 to 32 bits integers
#endif
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/IO/read_xyz_points.h>
#include <CGAL/Point_with_normal_3... | FEniCS/mshr | 3rdparty/CGAL/examples/Point_set_shape_detection_3/shape_detection_with_callback.cpp | C++ | gpl-3.0 | 3,227 |
public class Rectangulo {
public int Base;
public int Altura;
//Ejercicio realizado con ayuda de esta pagina:http://diagramas-de-flujo.blogspot.com/2013/02/calcular-perimetro-rectangulo-Java.html
//aqui llamamos las dos variables que utilizaremos.
Rectangulo(int Base, int Altura)
{
this.Base = Base;
this.Altu... | IvethS/Tarea2 | src/Rectangulo.java | Java | gpl-3.0 | 1,004 |
/*
* This file is part of "U Turismu" project.
*
* U Turismu is an enterprise application in support of calabrian tour operators.
* This system aims to promote tourist services provided by the operators
* and to develop and improve tourism in Calabria.
*
* Copyright (C) 2012 "LagrecaSpaccarotella" team.
*
* ... | spa-simone/u-turismu | src/main/java/uturismu/dao/BookingDao.java | Java | gpl-3.0 | 1,133 |
/**
* Module dependencies.
*/
var express = require('express')
, http = require('http')
, path = require('path')
, mongo = require('mongodb')
, format = require('util').format;
var app = express();
// all environments
app.set('port', process.env.PORT || 3000);
app.set('views', __dirname + '/views');
app.se... | jkamga/INM5151-payGoStore | app.js | JavaScript | gpl-3.0 | 991 |
/*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2016 Cppcheck team.
*
* 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 ... | Nicobubu/cppcheck | cli/cmdlineparser.cpp | C++ | gpl-3.0 | 46,169 |
### Relevant Articles:
- [A Quick Guide to Apache Geode](https://www.baeldung.com/apache-geode)
| Niky4000/UsefulUtils | projects/tutorials-master/tutorials-master/apache-geode/README.md | Markdown | gpl-3.0 | 98 |
/* dx2vtk: OpenDX to VTK file format converter
* Copyright (C) 2015 David J. Warne
*
* 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... | davidwarne/dx2vtk | vtkFileWriter.h | C | gpl-3.0 | 5,534 |
/*
* Copyright (C) ST-Ericsson SA 2010
*
* License Terms: GNU General Public License v2
* Author: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com>
*
* ux500 Scroll key and Keypad Encoder (SKE) header
*/
#ifndef __SKE_H
#define __SKE_H
#include <linux/input/matrix_keypad.h>
/* register definitions for ... | williamfdevine/PrettyLinux | include/linux/platform_data/keypad-nomadik-ske.h | C | gpl-3.0 | 1,200 |
<?php
/**
* Created by PhpStorm.
* User: Ermin Islamagić - https://ermin.islamagic.com
* Date: 22.8.2016
* Time: 09:37
*/
// Check if root path is defined
if (!defined("ROOT_PATH"))
{
// Show 403 if root path not defined
header("HTTP/1.1 403 Forbidden");
exit;
}
/**
* Class LocaleAppController
*/
c... | clientmarketing/food-factory | source/app/plugins/Locale/controllers/LocaleAppController.controller.php | PHP | gpl-3.0 | 1,402 |
//
// MSGRTickConnection.h
// wehuibao
//
// Created by Ke Zeng on 13-6-20.
// Copyright (c) 2013年 Zeng Ke. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef enum {
MSGRTickConnectionStateNotConnected=0,
MSGRTickConnectionStateConnecting,
MSGRTickConnectionStateConnected,
MSGRTickC... | superisaac/msgr | iOS/MSGR/MSGRTickConnection.h | C | gpl-3.0 | 1,139 |
/***************************************************************************
begin : Thu Apr 24 15:54:58 CEST 2003
copyright : (C) 2003 by Giuseppe Lipari
email : lipari@sssup.it
***************************************************************************/
/*********... | glipari/rtlib | src/jtrace.cpp | C++ | gpl-3.0 | 6,330 |
# -*- coding: utf-8 -*-
from django.shortcuts import render
from django.http import HttpResponse
from django.http import HttpResponseRedirect
from django.core.urlresolvers import reverse
from django.contrib.auth.decorators import login_required
def centres(request):
#Python练习项目管理中心Center
return render(request, 'cen... | xBoye/xHome | centres/views.py | Python | gpl-3.0 | 1,162 |
<!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/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | Dalan94/Super_Martin | Super_Martin/doc/html/globals_o.html | HTML | gpl-3.0 | 7,049 |
import cv2
import numpy as np
np.set_printoptions(threshold=np.nan)
import util as util
import edge_detect
import lineseg
import drawedgelist
# img = cv2.imread("img/Slide2.jpg", 0)
img = cv2.imread("unsorted/Unit Tests/lambda.png", 0)
im_size = img.shape
returnedCanny = cv2.Canny(img, 50, 150, apertureSize = 3)
cv2.... | Jordan-Zhu/RoboVision | scratch/testingColorImg.py | Python | gpl-3.0 | 2,023 |
"use strict";
module.exports = function registerDefaultRoutes( baseUrl,
app,
opts ){
var controller = opts.controller;
var listRouter = app.route( baseUrl );
if( opts.all ){
listRouter = listRouter.all( opts.all... | beni55/d-pac.cms | app/routes/api/helpers/registerDefaultRoutes.js | JavaScript | gpl-3.0 | 999 |
package it.ads.activitiesmanager.model.dao;
import java.io.Serializable;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Tran... | paoloap/activitiesmanager | activitiesmanager-model/src/main/java/it/ads/activitiesmanager/model/dao/AbstractDao.java | Java | gpl-3.0 | 1,147 |
-----------------------------------
-- Area: Windurst Woods
-- NPC: Amimi
-- Type: Chocobo Renter
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/chocobo");
require("scripts/globals/status");
-----------------------------------
fun... | Cloudef/darkstar | scripts/zones/Windurst_Woods/npcs/Amimi.lua | Lua | gpl-3.0 | 1,661 |
#include "VRConstructionKit.h"
#include "selection/VRSelector.h"
#include "core/objects/geometry/VRGeometry.h"
#include "core/objects/material/VRMaterial.h"
#include "core/utils/toString.h"
#include "core/utils/VRFunction.h"
#include "core/setup/devices/VRDevice.h"
#include "core/setup/devices/VRSignal.h"
using names... | Victor-Haefner/polyvr | src/core/tools/VRConstructionKit.cpp | C++ | gpl-3.0 | 4,295 |
## A Vim plugin offers Nginx/Openresty syntax highlight and directives completion

This little plugin offers:
1. syntax highlight for Nginx configuration, with addition OpenResty enhancement.
1. syntax highlight for LuaJIT source file, with adddition OpenResty API highlight.
1. syntax-based d... | spacewander/openresty-vim | README.md | Markdown | gpl-3.0 | 1,403 |
/*
_
/_\ _ _ ___ ___
/ _ \| '_/ -_|_-<
/_/ \_\_| \___/__/
*/
#include "Ares.h"
/*
Description:
Function that is called when the library is loaded, use this as an entry point.
*/
int __attribute__((constructor)) Ares() {
SDL2::SetupSwapWindow();
return 0;
}
| gitaphu/Ares | Source/Ares.cpp | C++ | gpl-3.0 | 277 |
#!/usr/bin/env python
# setup of the grid parameters
# default queue used for training
training_queue = { 'queue':'q1dm', 'memfree':'16G', 'pe_opt':'pe_mth 2', 'hvmem':'8G', 'io_big':True }
# the queue that is used solely for the final ISV training step
isv_training_queue = { 'queue':'q1wm', 'memfree':'32G', 'pe_opt... | guker/spear | config/grid/para_training_local.py | Python | gpl-3.0 | 1,092 |
<!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
Module: Ronin::Model::HasLicense::I... | ilsec/ilsec.github.io | docs/ronin/Ronin/Model/HasLicense/InstanceMethods.html | HTML | gpl-3.0 | 8,248 |
package ca.six.tomato.util;
import org.json.JSONArray;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricTestRunner;
import org.robolectric.annotation.Config;
import org.robolectric.shadows.ShadowEnvironment;
import java.io.File;
import ca.six.tomato.BuildConfig;
import stati... | SixCan/SixTomato | app/src/test/java/ca/six/tomato/util/DataUtilsTest.java | Java | gpl-3.0 | 2,002 |
/*
* The basic test codes to check the AnglogIn.
*/
#include "mbed.h"
static AnalogIn ain_x(A6); // connect joistics' x axis to A6 pin of mbed
static AnalogIn ain_y(A5); // connect joistics' y axis to A5 pin of mbed
static void printAnalogInput(AnalogIn *xin, AnalogIn *yin)
{
uint8_t point[2] = { 0 };
point[0]... | Darkblue38/mbedTrust | MiniProjects/AnalogInOut/Joistick/TestAnalogInUsingJoistick.cpp | C++ | gpl-3.0 | 563 |
/***
* Copyright (c) 2013 John Krauss.
*
* This file is part of Crashmapper.
*
* Crashmapper 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... | talos/nypd-crash-data-bandaid | map/src/views/app.js | JavaScript | gpl-3.0 | 1,396 |
FROM golang:alpine AS builder
RUN apk add --update git && go get github.com/fffaraz/microdns
FROM alpine:latest
COPY --from=builder /go/bin/microdns /usr/local/bin
ENTRYPOINT ["microdns"]
| fffaraz/microdns | Dockerfile | Dockerfile | gpl-3.0 | 189 |
/* ****************************************************************************
*
* Copyright Saab AB, 2005-2013 (http://safirsdkcore.com)
*
* Created by: Lars Hagström / stlrha
*
*******************************************************************************
*
* This file is part of Safir SDK Core.
*
* Safir SDK Core ... | SafirSDK/safir-sdk-core | src/dots/dots_dotnet.ss/src/ContainerBase.cs | C# | gpl-3.0 | 4,296 |
#!/usr/bin/python2
# -*- coding: utf-8 -*-
# coding=utf-8
import unittest
from datetime import datetime
from lib.escala import Escala
import dirs
dirs.DEFAULT_DIR = dirs.TestDir()
class FrameTest(unittest.TestCase):
def setUp(self):
self.escala = Escala('fixtures/escala.xml')
self.dir = dirs.T... | camponez/importescala | test/test_escala.py | Python | gpl-3.0 | 3,876 |
package net.thevpc.upa.impl;
import net.thevpc.upa.*;
import net.thevpc.upa.impl.transform.IdentityDataTypeTransform;
import net.thevpc.upa.impl.util.NamingStrategy;
import net.thevpc.upa.impl.util.NamingStrategyHelper;
import net.thevpc.upa.impl.util.PlatformUtils;
import net.thevpc.upa.types.*;
import net.thevpc.up... | thevpc/upa | upa-impl-core/src/main/java/net/thevpc/upa/impl/AbstractField.java | Java | gpl-3.0 | 27,988 |
#include "../../VM/Handler/Opcode8030Handler.h"
#include "../../VM/Script.h"
namespace Falltergeist
{
namespace VM
{
namespace Handler
{
Opcode8030::Opcode8030(VM::Script *script, std::shared_ptr<ILogger> logger) : OpcodeHandler(script)
{
this->logger = s... | falltergeist/falltergeist | src/VM/Handler/Opcode8030Handler.cpp | C++ | gpl-3.0 | 731 |
MT19937AR_OBJ = mt19937ar.o
MT19937AR_H = mt19937ar.h
#####################################################################
.PHONY : all clean help
all: $(MT19937AR_OBJ)
clean:
@echo " CLEAN mt19937ar"
@rm -rf *.o
help:
@echo "possible targets are 'all' 'clean' 'help'"
@echo "'all' - builds $(MT19937AR_O... | Daniel4rt/mkAthena | 3rdparty/mt19937ar/Makefile | Makefile | gpl-3.0 | 890 |
-----------------------------------
-- Area: Windurst Woods
-- NPC: Matata
-- Type: Standard NPC
-- Involved in quest: In a Stew
-- !pos 131 -5 -109 241
-----------------------------------
require("scripts/globals/quests")
-----------------------------------
function onTrade(player,npc,trade)
end
function onTrigger(... | m3rlin87/darkstar | scripts/zones/Windurst_Woods/npcs/Matata.lua | Lua | gpl-3.0 | 1,209 |
#include "report_mib_feature.h"
#include "mib_feature_definition.h"
#include "report_manager.h"
#include "protocol.h"
#include "bus_slave.h"
#include "momo_config.h"
#include "report_log.h"
#include "report_comm_stream.h"
#include "system_log.h"
#include <string.h>
#define BASE64_REPORT_MAX_LENGTH 160 //( 4 * ( ( RAW... | WellDone/MoMo-Firmware | momo_modules/mainboard/src/mib/commands/report_mib_feature.c | C | gpl-3.0 | 5,340 |
<?php
/**
* Fired during plugin activation.
*
* This class defines all code necessary to run during the plugin's activation.
*
* @link https://wordpress.org/plugins/woocommerce-role-based-price/
* @package Role Based Price For WooCommerce
* @subpackage Role Based Price For WooCommerce/core
* @since ... | technofreaky/WooCommerce-Role-Based-Price | includes/helpers/class-activator.php | PHP | gpl-3.0 | 2,218 |
[](https://travis-ci.org/felixarntz/screen-reader-check)
# Screen Reader Check
A tool to help developers to make their HTML code accessible for screen reader users.
This is a project I'm working on as part of my Bachelor thesi... | felixarntz/screen-reader-check | README.md | Markdown | gpl-3.0 | 360 |
Au terme de ce chapitre, vous en savez désormais plus quant aux retours et aux phases de bêta et de validation.
Nous allons maintenant voir comme faire un retour, ce qui peut aussi vous aider à développer votre œil critique si vous êtes rédacteur. | firm1/zest-writer | src/test/resources/com/zds/zw/fixtures/le-guide-du-contributeur/828_contribuer-au-contenu/les-phases-de-correction-et-de-validation/conclusion.md | Markdown | gpl-3.0 | 256 |
<!-- jQuery -->
<script src="<?php echo base_url('assets/frontend/js/jquery.js') ?>"></script>
<!-- Bootstrap Core JavaScript -->
<script src="<?php echo base_url('assets/frontend/js/bootstrap.min.js') ?>"></script>
<!-- Contact Form JavaScript -->
<!-- Do not edit these files! In order to set the ... | SisteminformasisekolahMANCibadak/Sistem-informasi-sekolah-menggunakan-framewok-codeigniter-dengan-sub-modul-akademik | aplikasi/SIA_mancib/application/views/portalv/js.php | PHP | gpl-3.0 | 1,548 |
<?php
/*
* bla-tinymce
* Copyright (C) 2017 bestlife AG
* info: oxid@bestlife.ag
*
* 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) ... | vanilla-thunder/bla-tinymce | copy_this/modules/bla/bla-tinymce/application/core/blatinymceoxviewconfig.php | PHP | gpl-3.0 | 11,435 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nerdz.Messenger.Controller;
using Nerdz.Messages;
using Nerdz;
namespace Tests.Controller
{
public class DummyUI : IMessengerView
{
private Credentials credentials;
private IMessengerController controller;
public ... | nerdzeu/nm.net | Tests/Controller/MessengerControllerTestMethods.cs | C# | gpl-3.0 | 3,786 |
/*
* Copyright (C) 2016 Stuart Howarth <showarth@marxoft.co.uk>
*
* 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 that it will be use... | marxoft/cutenews | plugins/independent/independentfeedrequest.cpp | C++ | gpl-3.0 | 13,483 |
{% if unique_login_provider %}
<form id="signin-form" method="post" action="{{ settings.LOGIN_URL }}">
{{ macros.csrf_middleware_token(csrf_token) }}
{{ login_form.next }}
{{ login_form.persona_assertion }}
<input
type='hidden'
name='login_provider_name'
... | divio/askbot-devel | askbot/templates/widgets/login_link.html | HTML | gpl-3.0 | 832 |
---
title: 通天仙路 第四百八十四章 改朝换代?
date: 2017-05-20 01:00:05
categories: 通天仙路
tags: [Duke, Hannb]
---
“方前辈,您有什么事情么?”欧阳明转身,冷下了脸,连客套也没有,就开门见山地说道。? ? ?
以他和方家的交情,本不应该如此势利。但是,惊扰到老匠头就非他所愿了。
方朝阳苦着脸道:“欧大师,老夫确实是有要事相商。”他顿了顿,低声道:“若是可以的话,景深兄也会来此的。”
欧阳明讶然望去,心中第一次正视起来。
这里是倪家府邸,倪景深不直接登门,却派方朝阳迂回求见,确实让人难以理解。他沉吟片刻,道:“也好,请随我来。”提着鸟笼子,回到了房间之中,... | 1xuanyuan1/noval | source/_posts/通天仙路 第四百八十四章 改朝换代?.md | Markdown | gpl-3.0 | 9,366 |
package com.dmtools.webapp.config;
import com.dmtools.webapp.config.locale.AngularCookieLocaleResolver;
import org.springframework.boot.bind.RelaxedPropertyResolver;
import org.springframework.context.EnvironmentAware;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Co... | jero-rodriguez/dmtools | src/main/java/com/dmtools/webapp/config/LocaleConfiguration.java | Java | gpl-3.0 | 1,616 |
/**
* This class is generated by jOOQ
*/
package com.aviafix.db.generated.tables.pojos;
import java.io.Serializable;
import java.time.LocalDate;
import javax.annotation.Generated;
/**
* This class is generated by jOOQ.
*/
@Generated(
value = {
"http://www.jooq.org",
"jOOQ version:3.8.5"
... | purple-sky/avia-fixers | app/src/main/java/com/aviafix/db/generated/tables/pojos/PAYBYCREDITCARDPROJECTION.java | Java | gpl-3.0 | 2,891 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>src\fork\box2d\collision\b2Manifold.js - Box2D Port Fork API</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css... | PixxxeL/box2d-js-port-fork | docs/files/src_fork_box2d_collision_b2Manifold.js.html | HTML | gpl-3.0 | 10,434 |
from test_support import *
# this test calls a prover which is correctly configured but whose execution
# gives an error (here: the prover executable doesn't exist). The intent is to
# test the output of gnatprove in this specific case
prove_all(prover=["plop"], opt=["--why3-conf=test.conf"])
| ptroja/spark2014 | testsuite/gnatprove/tests/N804-036__bad_prover/test.py | Python | gpl-3.0 | 296 |
import altConnect from 'higher-order-components/altConnect';
import { STATUS_OK } from 'app-constants';
import ItemStore from 'stores/ItemStore';
import ProgressBar from '../components/ProgressBar';
const mapStateToProps = ({ itemState }) => ({
progress: itemState.readingPercentage,
hidden: itemState.status !== ST... | BramscoChill/BlendleParser | information/blendle-frontend-react-source/app/modules/item/containers/ProgressBarContainer.js | JavaScript | gpl-3.0 | 518 |
/*
* Author: Bob Limnor (info@limnor.com)
* Project: Limnor Studio
* Item: Visual Programming Language Implement
* License: GNU General Public License v3.0
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
... | Limnor/Limnor-Studio-Source-Code | Source/LimnorDesigner/TypeSelector.cs | C# | gpl-3.0 | 2,549 |
/*
ComJail - A jail plugin for Minecraft servers
Copyright (C) 2015 comdude2 (Matt Armer)
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) ... | comdude2/ComJail | src/net/mcviral/dev/plugins/comjail/events/TeleportEvent.java | Java | gpl-3.0 | 1,828 |
package se.solit.timeit.resources;
import java.net.URI;
import java.net.URISyntaxException;
import javax.servlet.http.HttpSession;
import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.Response;
public class BaseResource
{
protected WebApplicationException redirect(String destination) throws URISynta... | Hoglet/TimeIT-Server | src/main/java/se/solit/timeit/resources/BaseResource.java | Java | gpl-3.0 | 703 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/// Ecma International makes this code available under the terms and conditions set
/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyright an... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtdeclarative/tests/auto/qml/ecmascripttests/test262/test/suite/ch15/15.3/15.3.2/15.3.2.1/15.3.2.1-11-8-s.js | JavaScript | gpl-3.0 | 881 |
/*
* This file is part of rasdaman community.
*
* Rasdaman community 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.
*
* Rasdam... | miracee/rasdaman | applications/petascope/src/main/java/petascope/wcs2/handlers/Response.java | Java | gpl-3.0 | 2,322 |
function createCategorySlider(selector)
{
$(document).ready(function(){
var checkforloadedcats = [];
var firstImage = $(selector).find('img').filter(':first');
if(firstImage.length > 0){
checkforloadedcats[selector] = setInterval(function() {
var image = firstImage.get(0);
if (image.complete || i... | desarrollosimagos/puroextremo.com.ve | modules/categoryslider/categoryslider.js | JavaScript | gpl-3.0 | 1,648 |
<?php
/**
* Skeleton subclass for performing query and update operations on the 'transaction' table.
*
*
*
* This class was autogenerated by Propel 1.4.2 on:
*
* Sun Jul 17 20:02:37 2011
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be gen... | joseortega/finance | lib/model/basic/TransactionPeer.php | PHP | gpl-3.0 | 505 |
from itertools import combinations
def is_good(n):
return 1 + ((int(n) - 1) % 9) == 9
def generate_subsequences(n):
subsequences = []
combinations_list = []
index = 4
#Generate all combinations
while index > 0:
combinations_list.append(list(combinations(str(n), index)))
index... | Dawny33/Code | HackerEarth/BeCoder 2/nine.py | Python | gpl-3.0 | 882 |
<!--
This is a more advanced example of using the each function in jQuery.
The idea here is that the handling function can choose to return false
in which case the 'each' loop is stopped and no further DOM elements
are processed. You can use this in order to find a specific element, process
only a prefix of the el... | veltzer/demos-javascript | src/jquery/examples/each2.html | HTML | gpl-3.0 | 1,063 |
#coding=utf-8
import unittest
import HTMLTestRunner
import time
from config import globalparam
from public.common import sendmail
def run():
test_dir = './testcase'
suite = unittest.defaultTestLoader.discover(start_dir=test_dir,pattern='test*.py')
now = time.strftime('%Y-%m-%d_%H_%M_%S')
reportname =... | lsp84ch83/PyText | UItestframework/run.py | Python | gpl-3.0 | 730 |
package com.hacks.collegebarter.fragments;
import android.app.Activity;
import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.hacks.collegebarter.R;
import com.hacks.collegebarter.navdrawer.MainAppActivity;
publi... | ReggieSackey/CollegeBarter | CollegeBarter/src/com/hacks/collegebarter/fragments/TradeboardFragment.java | Java | gpl-3.0 | 1,009 |
/* -*- c++ -*- */
/*
* Copyright 2014 Felix Wunsch, Communications Engineering Lab (CEL) / Karlsruhe Institute of Technology (KIT).
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version ... | marcusmueller/gr-drm | gr-drm/lib/generate_fac_vb_impl.h | C | gpl-3.0 | 1,753 |
# -*- coding: utf-8 -*-
from pyload.plugin.internal.DeadCrypter import DeadCrypter
class FiredriveCom(DeadCrypter):
__name = "FiredriveCom"
__type = "crypter"
__version = "0.03"
__pattern = r'https?://(?:www\.)?(firedrive|putlocker)\.com/share/.+'
__config = [] #@TODO: Remove in 0.4.10
... | ardi69/pyload-0.4.10 | pyload/plugin/crypter/FiredriveCom.py | Python | gpl-3.0 | 474 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Portal.BLL.Concrete.Multimedia.AdjusterParam;
using Portal.BLL.Concrete.Multimedia.Adjusters;
using Portal.BLL.Concrete.Multimedia.Builder;
using Portal.Domain.BackendContext.Entity;
namespace Portal.BLL.Tests.MultimediaTests
{
[TestClass]
p... | clickberry/video-portal | Tests/Portal.BLL.Tests/MultimediaTests/ProcessedScreenshotBuilderTest.cs | C# | gpl-3.0 | 1,410 |
<!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/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>GNU Radio 3.6.4.2 C... | aviralchandra/Sandhi | build/gr36/docs/doxygen/html/classgr__file__descriptor__source.html | HTML | gpl-3.0 | 14,536 |
package visualk.gallery.db;
import java.awt.Color;
import java.sql.*;
import java.util.logging.Level;
import java.util.logging.Logger;
import visualk.db.MysqlLayer;
import visualk.gallery.objects.Artist;
import visualk.gallery.objects.Work;
public class DbGallery extends MysqlLayer{
public DbGallery(String us... | lamaken/visualk | src/java/visualk/gallery/db/DbGallery.java | Java | gpl-3.0 | 7,208 |
/**
* Java Settlers - An online multiplayer version of the game Settlers of Catan
* Copyright (C) 2003 Robert S. Thomas <thomas@infolab.northwestern.edu>
* Portions of this file Copyright (C) 2014,2017,2020 Jeremy D Monin <jeremy@nand.net>
*
* This program is free software; you can redistribute it and/or
* modif... | jdmonin/JSettlers2 | src/main/java/soc/message/SOCRejectConnection.java | Java | gpl-3.0 | 2,564 |
(function (angular) {
'use strict';
var config = {
githubApiUrl: 'https://api.github.com/',
};
angular.module('myGithubApp').constant('config', config);
})(angular);
| PetrusStarken/MyGit | app/scripts/app-config.js | JavaScript | gpl-3.0 | 180 |
<html>
<style>
body
{
font-family: Helvetica, Arial;
color: #2B332E;
}
.errorlist li
{
margin: 0;
color: red;
}
a
{
text-decoration: none;
color: #2B332E;
}
p.button
{
font-size: 0.875em;
font-weight: bold;
float: left;
border: 1px solid #C0CCC4;
background-color: #ebf2ee;
... | pielgrzym/django-minishop | newsletter/templates/newsletter/subscribe.html | HTML | gpl-3.0 | 772 |
/* Copyright 2013-2017 Matt Tytel
*
* helm 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.
*
* helm is distributed in the hope t... | mtytel/helm | src/look_and_feel/fonts.cpp | C++ | gpl-3.0 | 1,106 |
manual.html: manual.md Makefile
pandoc --to=html5 --standalone --css=manual.css --table-of-contents --variable=lang:en --mathjax $< > $@
| axch/probscheme | doc/Makefile | Makefile | gpl-3.0 | 138 |
package org.codefx.jwos.file;
import org.codefx.jwos.analysis.AnalysisPersistence;
import org.codefx.jwos.artifact.AnalyzedArtifact;
import org.codefx.jwos.artifact.CompletedArtifact;
import org.codefx.jwos.artifact.DownloadedArtifact;
import org.codefx.jwos.artifact.FailedArtifact;
import org.codefx.jwos.artifact.Fai... | CodeFX-org/jdeps-wall-of-shame | src/main/java/org/codefx/jwos/file/YamlAnalysisPersistence.java | Java | gpl-3.0 | 9,278 |
package Calibradores;
import java.io.File;
import Metricas.MultiescalaConBorde;
import Modelo.UrbanizandoFrenos;
public class TanteadorTopilejo extends Tanteador {
UrbanizandoFrenos CA;
public TanteadorTopilejo() {
// int[] unConjuntoDeParametros = {1, 1, 1, 333, 333, 333, 1, 1, 444, 400, 400, 555};... | sostenibilidad-unam/crecimiento-urbano | Calibradores/TanteadorTopilejo.java | Java | gpl-3.0 | 2,250 |
#!/bin/bash
#Coded by:FadyHazem/V2.0 Support:LinuxMint-Ubuntu-Debian.
#You can recodeing this script but yo must typing the own of this script(FadyHazem).
echo "Welcome i will help you to update your system."
sleep 4
echo "This script support:LinuxMint-Ubuntu-Debian"
sleep 2
read -p "What's your distro name?:" DISTRO
e... | FadyHazem/Linux-Sytem-Update | system_updating.sh | Shell | gpl-3.0 | 430 |
/*
* Copyright (C) 2017 phantombot.tv
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is dist... | MrAdder/PhantomBot | source/me/mast3rplan/phantombot/event/ytplayer/YTPlayerStateEvent.java | Java | gpl-3.0 | 1,295 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_102) on Tue Feb 21 18:04:04 GMT 2017 -->
<title>gate.chineseSeg (${plugin.name} JavaDoc)</title>
<meta name="date" content="2017-02-21">
<link ... | masterucm1617/botzzaroni | BotzzaroniDev/GATE_Developer_8.4/plugins/Lang_Chinese/doc/javadoc/gate/chineseSeg/package-frame.html | HTML | gpl-3.0 | 1,199 |
package com.plasmablazer.tutorialmod.proxy;
public interface IProxy
{
}
| PlasmaBlazer/TutorialMod | src/main/java/com/plasmablazer/tutorialmod/proxy/IProxy.java | Java | gpl-3.0 | 74 |
using System;
namespace org.btg.Star.Rhapsody
{
public struct SkeletalPoint
{
public int x
{
get;
set;
}
public int y
{
get;
set;
}
public int z
{
get;
... | chrisatkin/star | Rhapsody/SkeletalPoint.cs | C# | gpl-3.0 | 447 |
GPG Suite 2015.09
=================
September 24th, 2015
GPGMail 2.6b2
-------------
### Pre-release version info
* This beta will be disabled, once the next stable version of GPGMail is released. If you want to continue using GPGMail after that, you will have to acquire a valid license.
### Adds support for OS X 1... | GPGTools/GPGTools_Installer | Release Notes/2015.09.md | Markdown | gpl-3.0 | 1,492 |
package org.thoughtcrime.securesms.jobs;
import androidx.annotation.NonNull;
import org.thoughtcrime.securesms.dependencies.ApplicationDependencies;
import org.thoughtcrime.securesms.jobmanager.Data;
import org.thoughtcrime.securesms.jobmanager.Job;
import org.thoughtcrime.securesms.jobmanager.impl.NetworkConstraint... | WhisperSystems/TextSecure | app/src/main/java/org/thoughtcrime/securesms/jobs/MultiDeviceVerifiedUpdateJob.java | Java | gpl-3.0 | 6,361 |
require_relative '../../spec_helper'
describe TypedRb::TypeSignature::Parser do
it 'parses a unit type' do
result = described_class.parse('unit')
expect(result).to eq(:unit)
end
it 'parses an atomic type' do
result = described_class.parse('Bool')
expect(result).to eq('Bool')
end
it 'parses... | antoniogarrote/typed.rb | spec/lib/type_signature/parser_spec.rb | Ruby | gpl-3.0 | 9,936 |
<form class="form-horizontal" method="POST" action="{{ request.url }}">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="myModalLabel">{{ _('Edit Participant') }}</h4>
</div>
<div class="modal-body" style="padding-bot... | nditech/elections | apollo/frontend/templates/frontend/participant_edit_modal.html | HTML | gpl-3.0 | 1,808 |
import queue
import logging
import platform
import threading
import datetime as dt
import serial
import serial.threaded
import serial_device
from .or_event import OrEvent
logger = logging.getLogger(__name__)
# Flag to indicate whether queues should be polled.
# XXX Note that polling performance may vary by platfor... | wheeler-microfluidics/serial_device | serial_device/threaded.py | Python | gpl-3.0 | 9,719 |
__author__ = "Harish Narayanan"
__copyright__ = "Copyright (C) 2009 Simula Research Laboratory and %s" % __author__
__license__ = "GNU GPL Version 3 or any later version"
from cbc.twist import *
from sys import argv
""" DEMO - Twisting of a hyperelastic cube """
class Twist(StaticHyperelasticity):
""" Definition... | hnarayanan/twist | demo/static/twist.py | Python | gpl-3.0 | 2,606 |
#include "house2.h"
int House2::objCount = 0;
GImage *House2::image = nullptr;
House2::House2(int x, int y)
{
posx = x;
posy = y;
width = 336;
height = 366;
if(!objCount)
image = new GImage("./assets/house-a.gif",width,height,GImage::IS_TRANSPARENT,0);
objCount++;
if(Debug::debug_en... | Tai-Min/Projekt-Inf2-AiR | game elements/tiles/house2.cpp | C++ | gpl-3.0 | 730 |
package com.silvermatch.advancedMod.block;
import com.silvermatch.advancedMod.init.ModBlocks;
import com.silvermatch.advancedMod.reference.Reference;
import com.silvermatch.advancedMod.utility.Names;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.entity.player.Ent... | SilverMatch/TutoMineMaarten | src/main/java/com/silvermatch/advancedMod/block/BlockFrenchFlag.java | Java | gpl-3.0 | 901 |
using System;
using System.Linq;
using LeagueSharp;
using LeagueSharp.Common;
using EloBuddy;
using LeagueSharp.Common;
namespace ezEvade.SpecialSpells
{
class Darius : ChampionPlugin
{
static Darius()
{
// todo: fix for multiple darius' on same team (one for all)
}
... | eliteironlix/portaio2 | Core/Utility Ports/EzEvade/SpecialSpells/Darius.cs | C# | gpl-3.0 | 1,570 |
// Copyright (C) 1999-2021
// Smithsonian Astrophysical Observatory, Cambridge, MA, USA
// For conditions of distribution and use, see copyright notice in "copyright"
#include "basepolygon.h"
#include "fitsimage.h"
BasePolygon::BasePolygon(Base* p, const Vector& ctr,
const Vector& b)
: Marker(p, ctr, 0)
{
}
B... | SAOImageDS9/SAOImageDS9 | tksao/frame/basepolygon.C | C++ | gpl-3.0 | 4,927 |
package pg.autyzm.friendly_plans.manager_app.view.task_create;
import android.app.FragmentTransaction;
import android.content.Intent;
import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGrou... | autyzm-pg/friendly-plans | Friendly-plans/app/src/main/java/pg/autyzm/friendly_plans/manager_app/view/task_create/TaskCreateFragment.java | Java | gpl-3.0 | 11,189 |
/**
Copyright 2010 Christian Kästner
This file is part of CIDE.
CIDE 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 License.
CIDE is distributed in the hope th... | ckaestne/CIDE | CIDE_Export_Virtual/src/de/ovgu/cide/export/virtual/internal/IPPExportOptions.java | Java | gpl-3.0 | 2,375 |
/**
* \file stack.c
*
* Time-stamp: "2012-03-31 13:16:41 bkorb"
*
* This is a special option processing routine that will save the
* argument to an option in a FIFO queue.
*
* This file is part of AutoOpts, a companion to AutoGen.
* AutoOpts is free software.
* AutoOpts is Copyright (c) 1992-2012 ... | nobled/gnutls | src/libopts/stack.c | C | gpl-3.0 | 7,335 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.