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 |
|---|---|---|---|---|---|
// 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 is dis... | nitro2010/moodle | enrol/attributes/js/jquery.booleanEditor.js | JavaScript | gpl-3.0 | 12,496 |
Gumbe is music content webapp that provide Sierra Leone to quickly access Salone music online. This app is build on # SoundRedux
In an effort to learn es6 and [redux](https://github.com/rackt/redux), this is SoundRedux, a simple [Soundcloud](http://soundcloud.com) client
See it in action at http://soundredux.io
Uses... | bayoh/Gumbe | README.md | Markdown | gpl-3.0 | 488 |
from flask import json
from unittest.mock import patch, Mock
from urbansearch.gathering.indices_selector import IndicesSelector
from urbansearch.server.main import Server
from urbansearch.server import classify_documents
from urbansearch.server.classify_documents import _join_workers
from urbansearch.workers import Wo... | urbansearchTUD/UrbanSearch | tests/server/test_classify_documents.py | Python | gpl-3.0 | 3,035 |
/*
Camera Functionality Library
OpenMoco MoCoBus Core Libraries
See www.dynamicperception.com for more information
(c) 2008-2012 C.A. Church / Dynamic Perception LLC
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as publi... | DynamicPerception/OMLibraries | OMCamera/OMCamera.h | C | gpl-3.0 | 6,324 |
##Computer Science project: SoccerStars
To play, clone this repository or download the zip and unzip it on your computer. Then compile the files and launch the EcranAccueil class (*java EcranAccueil*). If you have a custom puck done for you (if you're a SCAN student mainly) enter your first name. For example, try *yas... | yzoug/soccer-stars-clone | README.md | Markdown | gpl-3.0 | 10,931 |
/*
Copyright (C) 2014-2019 de4dot@gmail.com
This file is part of dnSpy
dnSpy 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... | manojdjoshi/dnSpy | Extensions/dnSpy.Debugger/dnSpy.Debugger/Breakpoints/Code/DbgCodeBreakpointsServiceImpl.cs | C# | gpl-3.0 | 13,268 |
#-*- coding:utf-8 -*-
from findbilibili import *
#funtion name [checkinfo]
#判断要输出的回答
#param array 抓取的文字
#return string 回答
def checkinfo2(content):
content[1] = content[1].decode('gbk')
key = content[1].encode('utf-8')
if key == '节操':
return '这种东西早就没有了'
result = animation(key) #搜动漫
ret... | cwdtom/qqbot | tom/check.py | Python | gpl-3.0 | 705 |
# umte
#### "uber minimal text editor"
A lightweight python gtk3 text editor.

## Features
* Basic text editor functionality
* Syntax highlighting
* Line numbers
* (in progress)Terminal bottom-window
## Requirements
* *Python 3.1 or higher*
* Gtk3 shtuff
| zevipa/umte | README.md | Markdown | gpl-3.0 | 301 |
<?
// If the form told us to generate a route or if this was a pending entry, re-generate a route.
if ($data[$key] == "generate" || (isset($edit_id) && !is_numeric($edit_id))) {
if ($options["not_unique"]) {
$value = $cms->urlify(strip_tags($data[$options["source"]]));
} else {
$oroute = $cms->urlify(strip_... | matthisamoto/bigtreedemo | core/admin/form-field-types/process/route.php | PHP | gpl-3.0 | 620 |
@echo off
del /q res_mods\xvm\res\clanicons\RU\nick\programist434.png
del /q res_mods\xvm\res\clanicons\RU\nick\Morozochka.png
del /q res_mods\xvm\res\clanicons\RU\nick\gipof1s.png | malinin1991/wcaticon | clear.bat | Batchfile | gpl-3.0 | 180 |
# Network-Stream-Daemon
| broughtong/Network-Stream-Daemon | README.md | Markdown | gpl-3.0 | 24 |
/**
*
*/
package qa.AnswerFormation;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Queue;
import qa.IQuestion;
import qa.Utility;
/**
* @author Deepak
*
*/
public class AnswerGenerator implements IAnswerGenerator {
/**
*
* @param proce... | ddeeps2610/NLP_PA2_QA | src/qa/AnswerFormation/AnswerGenerator.java | Java | gpl-3.0 | 3,904 |
/* gbp-flatpak-runner.h
*
* Copyright 2016-2019 Christian Hergert <chergert@redhat.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 op... | GNOME/gnome-builder | src/plugins/flatpak/gbp-flatpak-runner.h | C | gpl-3.0 | 1,307 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_25) on Wed Feb 01 21:06:23 MST 2012 -->
<TITLE>
API Help
</TITLE>
<META NAME="date" CONTENT="2012-02-01">
<LINK REL ="stylesheet" TYPE="... | timofonic/PHDL | phdl-2.0/doc/help-doc.html | HTML | gpl-3.0 | 9,957 |
/*
bricks.h -- bricks module;
Copyright (C) 2015, 2016 Bruno Félix Rezende Ribeiro <oitofelix@gnu.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, or (at your option)... | allisson128/mininim | src/bricks.h | C | gpl-3.0 | 1,596 |
#!/usr/bin/env python2.7
# -*- coding: utf-8 -*-
__author__ = """Co-Pierre Georg (co-pierre.georg@uct.ac.za)"""
import sys
from src.paralleltools import Parallel
#-------------------------------------------------------------------------
#
# conftools.py is a simple module to manage .xml configuration files
#
#-----... | cogeorg/econlib | test_paralleltools.py | Python | gpl-3.0 | 601 |
---
layout: default
---
{{> h2 text='Clickdummy'}}
{{> h3 text='Lucom Formularmanager'}}
<ul>
<li>
<a href="site/referenzformular.html" title="Referenzformular">Referenzformular</a>
</li>
<li>
<a href="test.html" title="Testseite">Test</a>
</li>
</ul> | sgtmurtaugh/clickdummy-creator | skeletor.core/misc/src/pages/index.html | HTML | gpl-3.0 | 261 |
// File__Duplicate - Duplication of some formats
// Copyright (C) 2007-2012 MediaArea.net SARL, Info@MediaArea.net
//
// This library is free software: you can redistribute it and/or modify it
// under the terms of the GNU Library General Public License as published by
// the Free Software Foundation, either versi... | MikeSouza/mpc-hc | src/thirdparty/MediaInfo/MediaInfo/Video/File_Avc_Duplicate.cpp | C++ | gpl-3.0 | 9,917 |
/*
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
(function(){function w(a){for(var f=0,p=0,n=0,q,d=a.$.rows.length;n<d;n++){q=a.$.rows[n];for(var e=f=0,b,c=q.cells.length;e<c;e++)b=q.cells[e],f+=b.colSpan... | omeka/omeka-s | application/asset/vendor/ckeditor/plugins/table/dialogs/table.js | JavaScript | gpl-3.0 | 8,955 |
package com.wisecityllc.cookedapp.fragments;
import android.app.Activity;
import android.support.v4.app.Fragment;
import android.net.Uri;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;
import android.widget.Progress... | dexterlohnes/cooked-android | app/src/main/java/com/wisecityllc/cookedapp/fragments/AlertsFragment.java | Java | gpl-3.0 | 4,689 |
<!doctype html>
<html lang="fr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Tutoriel QGIS Passages</title>
<meta name="description" content="Tutoriel QGIS">
<meta name="author" content="Pierson Julie" >
<link href='http://fonts.googleapis.com/css?fami... | UMR-PASSAGES/tutoqgis | pdf_cover_4.html | HTML | gpl-3.0 | 2,733 |
/*
* Copyright (C) 2014 - Center of Excellence in Information Assurance
*
* 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... | CoEIA/hajeb | CoEIAKeysGenerator/keysgeneratorwidget.cpp | C++ | gpl-3.0 | 4,671 |
/***************************************************************************
* matrix_statistics.h:
*
* TODO: add doc
*
* Written by Anthony Lomax
* ALomax Scientific www.alomax.net
*
* modified: 2010.12.16
***************************************************************************/
#define CONFIDENCE_LEVEL... | alomax/NonLinLoc | www_beta/src/matrix_statistics/matrix_statistics.h | C | gpl-3.0 | 2,399 |
/*
-----------------------------------------------------------------------------------------------
This source file is part of the Particle Universe product.
Copyright (c) 2010 Henry van Merode
Usage of this program is licensed under the terms of the Particle Universe Commercial License.
You can find a copy of the Co... | gorkinovich/DefendersOfMankind | dependencies/include/ParticleUniverse/ParticleUniverseLogManager.h | C | gpl-3.0 | 730 |
<?php
require "funciones.php";
CopiarArchivo($_REQUEST["txtRuta"]);
?> | 1caruxx/Ejercicios_PHP | C._Archivos_y_formularios/ejercicio_22/admin.php | PHP | gpl-3.0 | 80 |
package org.aslab.om.metacontrol.action;
import java.util.HashSet;
import java.util.Set;
import org.aslab.om.ecl.action.Action;
import org.aslab.om.ecl.action.ActionFeedback;
import org.aslab.om.ecl.action.ActionResult;
import org.aslab.om.metacontrol.value.CompGoalAtomTracker;
/**
* <!-- begin-UML-doc -->
* <!-... | aslab/rct | higgs/branches/ros-fuerte/OM/versions/NamePerception_OM/OMJava/src/org/aslab/om/metacontrol/action/FunctionalAction.java | Java | gpl-3.0 | 1,624 |
$(function() {
$("#childGrid").jqGrid(
{
url : "TBCcnsizePrm.html?getGridData",datatype : "json",mtype : "GET",colNames : [ 'Conn Id',getLocalMessage('water.connsize.frmDt'), getLocalMessage('water.connsize.toDt'), getLocalMessage('water.connsize.frm'),getLocalMessage('water.connsize.to'), getLocalMessage('e... | abmindiarepomanager/ABMOpenMainet | Mainet1.1/MainetServiceParent/MainetServiceWeb/src/main/webapp/js/masters/connectionsize/connectionSizeScript.js | JavaScript | gpl-3.0 | 5,451 |
// Copyleft 2005 Chris Korda
// 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 any later version.
/*
chris korda
revision history:
rev date co... | victimofleisure/PotterDraw | trunk/PotterDraw/PersistDlg.cpp | C++ | gpl-3.0 | 3,742 |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WaterItem : BaseItem {
// Use this for initialization
public override void Start()
{
base.Start();
BulletSpeed = .1f;
ItemSprite = gameObject.GetComponent<SpriteRenderer>().sprite;
... | Shafournee/Shafman-repo | Assets/Scripts/Item Scipts/ShotSpeedItems/WaterItem.cs | C# | gpl-3.0 | 455 |
package net.ballmerlabs.scatterbrain.network.wifidirect;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import net.ballmerlabs.scatterbrain.network.GlobalNet;
/**
* Created by user on 5/29/16.
*/
@SuppressWarnings({"FieldCanBeLocal", "DefaultFileTemplate"})
class WifiDirectLooper e... | gnu3ra/Scatterbrain | app/src/main/java/net/ballmerlabs/scatterbrain/network/wifidirect/WifiDirectLooper.java | Java | gpl-3.0 | 938 |
// <auto-generated>
// ReSharper disable ConvertPropertyToExpressionBody
// ReSharper disable DoNotCallOverridableMethodsInConstructor
// ReSharper disable InconsistentNaming
// ReSharper disable PartialMethodWithSinglePart
// ReSharper disable PartialTypeWithSinglePart
// ReSharper disable RedundantNameQualifier
// Re... | MostafaEsmaeili/Iran-Marketer | Core/Domain/Src/Entity/AcademicField.cs | C# | gpl-3.0 | 1,527 |
/**
* @file Map places of interest
* @author Tom Jenkins tom@itsravenous.com
*/
module.exports = {
castle: {
title: 'Rowton Castle',
lat: 52.708739,
lng: -2.9228567,
icon: 'pin_castle.png',
main: true,
description: 'Where it all happens! Rowton Castle is a small castle manor house roughly halfway betwe... | itsravenous/lizandtomgetmarried | src/components/map/places.js | JavaScript | gpl-3.0 | 1,179 |
var struct_create_packets_1_1__2 =
[
[ "angle", "struct_create_packets_1_1__2.html#a425d33bd27790066ff7edb4a608a8149", null ],
[ "buttons", "struct_create_packets_1_1__2.html#a6b7d2d6c0a3a063f873420c010063b33", null ],
[ "distance", "struct_create_packets_1_1__2.html#afb30de28ec41190d0cb278640d4782ab", null... | kipr/harrogate | shared/client/doc/struct_create_packets_1_1__2.js | JavaScript | gpl-3.0 | 416 |
/* The standard CSS for doxygen 1.8.11 */
body, table, div, p, dl {
font: 400 14px/22px Roboto,sans-serif;
}
/* @group Heading Levels */
h1.groupheader {
font-size: 150%;
}
.title {
font: 400 14px/28px Roboto,sans-serif;
font-size: 150%;
font-weight: bold;
margin: 10px 2px;
}
h2.groupheader {
border-bottom:... | kipr/harrogate | shared/client/doc/doxygen.css | CSS | gpl-3.0 | 25,871 |
/*
* LazyListView
* Copyright (C) 2015 Romeo Calota <kicsyromy@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) any late... | kicsyromy/LazyListView | lazylistview.h | C | gpl-3.0 | 2,083 |
/**
* *****************************************************************************
* Copyright 2013 Kevin Hester
*
* See LICENSE.txt for license details.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANT... | dronekit/dronekit-server | src/main/scala/com/geeksville/aws/ConfigCredentials.scala | Scala | gpl-3.0 | 1,310 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Phaser Source: src/gameobjects/Image.js</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/default.css">
<link type=... | aehernandez/HyperSpace | node_modules/phaser/docs/src_gameobjects_Image.js.html | HTML | gpl-3.0 | 42,578 |
<!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_11) on Mon Jun 16 17:35:51 PDT 2014 -->
<title>DTDConstants (Java Platform SE 8 )</title>
<meta name="date" content="2014-06-16">
<meta name="k... | DeanAaron/jdk8 | jdk8en_us/docs/api/javax/swing/text/html/parser/DTDConstants.html | HTML | gpl-3.0 | 30,686 |
/* xoreos-tools - Tools to help with xoreos development
*
* xoreos-tools is the legal property of its developers, whose names
* can be found in the AUTHORS file distributed with this source
* distribution.
*
* xoreos-tools is free software; you can redistribute it and/or
* modify it under the terms of the GNU Ge... | xoreos/xoreos-tools | src/common/base64.cpp | C++ | gpl-3.0 | 7,266 |
package org.jlinda.nest.gpf;
import com.bc.ceres.core.ProgressMonitor;
import org.apache.commons.math3.util.FastMath;
import org.esa.beam.framework.datamodel.Band;
import org.esa.beam.framework.datamodel.MetadataElement;
import org.esa.beam.framework.datamodel.Product;
import org.esa.beam.framework.datamodel.ProductDa... | kristotammeoja/ks | jlinda/jlinda-nest/src/main/java/org/jlinda/nest/gpf/InterferogramOp.java | Java | gpl-3.0 | 20,085 |
//==========================================================================
//
// include/sys/ioctl.h
//
//
//
//==========================================================================
//####BSDCOPYRIGHTBEGIN####
//
// -------------------------------------------
//
// Portions of this software may have b... | luebbers/reconos | core/ecos/ecos-patched/ecos/packages/net/tcpip/current/include/sys/ioctl.h | C | gpl-3.0 | 4,259 |
using LightDirector.Domain;
namespace LightDirector
{
public interface IEffectView<T> where T : EffectBase
{
}
}
| binton10186/light-director | LightDirector/Views/IEffectView.cs | C# | gpl-3.0 | 126 |
package com.xxl.job.database.meta;
import com.xxl.job.database.dboperate.DBManager;
/**
* 基于mysql的一些特殊处理定义
*
*/
public class MySQLDatabaseMeta extends DatabaseMeta {
public MySQLDatabaseMeta() {
this.dbType = DBManager.MYSQL_DB;
}
}
| lijie2713977/xxl-job | xxl-job-database/src/main/java/com/xxl/job/database/meta/MySQLDatabaseMeta.java | Java | gpl-3.0 | 277 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<!-- Incluimos los archivos Javascript externos -->
<script src='jquery.js'></script>
<script src='amazingslider.js'></script>
<script src='initslider-1.js'></script>
<style>
a{
f... | ricardo7227/DAW | DIW/aaa_profe/Intranet/Multimedia/Imagenes/Archivos/iconos/index.php | PHP | gpl-3.0 | 3,022 |
<?php
namespace Volantus\FlightBase\Src\General\MSP;
use Volantus\MSPProtocol\Src\Protocol\Response\Response;
/**
* Class MSPResponseMessage
*
* @package Volantus\FlightBase\Src\General\MSP
*/
class MSPResponseMessage
{
/**
* @var string
*/
private $id;
/**
* @var Response
*/
... | Volantus/flight-base | src/General/MSP/MSPResponseMessage.php | PHP | gpl-3.0 | 864 |
<?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... | danielbonetto/twig_MVC | lang/hu/plagiarism_turnitin.php | PHP | gpl-3.0 | 10,844 |
:: This sets up the bare windows7 system
:: with my basic preferences
:: Installed drivers
:: Installed chrome
:: Installed dropbox
:: Dropbox
"https://github.com/Erotemic/local/archive/master.zip"
set HOME=%USERPROFILE%
set APP_PATH=%HOME%\local\apps
set PATH=%APP_PATH%;%PATH%
:: Install Drivers
:: Install WGET
... | Erotemic/local | init/_freshstart-win/win7.bat | Batchfile | gpl-3.0 | 1,580 |
#include "if_expression.h"
#include <glog/logging.h>
#include "../internal/compilation.h"
#include "../public/value.h"
namespace afc {
namespace vm {
namespace {
class IfExpression : public Expression {
public:
IfExpression(std::shared_ptr<Expression> cond,
std::shared_ptr<Expression> true_case,
... | alefore/edge | src/vm/internal/if_expression.cc | C++ | gpl-3.0 | 3,919 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (version 1.7.0_80) on Sat Dec 19 22:20:05 CET 2015 -->
<title>NewLinkedItemActionPlugin (Genji Scrum Tool & Issue Tracking API Documentation 5.0.1... | trackplus/Genji | docs/com/aurel/track/item/action/NewLinkedItemActionPlugin.html | HTML | gpl-3.0 | 16,118 |
using System;
using System.Diagnostics;
using EasyRemote.Spec;
namespace EasyRemote.Impl.Extension
{
public static class PathExt
{
/// <summary>
/// Get path for program
/// </summary>
/// <param name="program">Program</param>
/// <returns>Full path</returns>
pu... | fa18swiss/EasyRemote | EasyRemote.Impl/Extension/PathExt.cs | C# | gpl-3.0 | 688 |
// Sound file format definition -- A. Amiruddin -- 25/12/2016
// REVISION HISTORY
// None
//=================================================================================================
// Copyright (C) 2016 Afeeq Amiruddin
//
// This program is free software: you can redistribute it and/or modify
// it... | Trivalse/rika | rika_voice/rika_voicepack/rika_voicepack_format.h | C | gpl-3.0 | 1,437 |
# Copyright (c) 2013-2014 SUSE LLC
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 3 of the GNU General Public License as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; ... | SUSE/pennyworth | lib/pennyworth/commands/command.rb | Ruby | gpl-3.0 | 1,250 |
# Copyright (c) 2015 ProbeDock
# Copyright (c) 2012-2014 Lotaris SA
#
# This file is part of ProbeDock.
#
# ProbeDock 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 y... | probedock/probedock | app/policies/test_payload_policy.rb | Ruby | gpl-3.0 | 1,555 |
import net.sf.javabdd.*;
/**
* @author John Whaley
*/
public class NQueens {
static BDDFactory B;
static boolean TRACE;
static int N; /* Size of the chess board */
static BDD[][] X; /* BDD variable array */
static BDD queen; /* N-queen problem expressed as a BDD */
static BDD solution; /* On... | aindilis/sandbox-gamer | JavaBDD/NQueens.java | Java | gpl-3.0 | 4,650 |
# gbt (Gröbner basis tests)
Testing of Gröbner basis implementations is an important part of
making algorithms more effective. The `gbt' package is a lightweight tool
to support this task.
**gbt** is designed to do benchmarking for any computer algebra systems
which can be started by an executable. The well known com... | kovzol/gbt | README.md | Markdown | gpl-3.0 | 3,110 |
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class ItemCompareBuilder : IScriptable
{
[Ordinal(0)] [RED("item1")] public InventoryItemData Item1 { get; set; }
[Ordinal(1)] [RED("item2")] public InventoryItemData Item2 { get; set; ... | Traderain/Wolven-kit | CP77.CR2W/Types/cp77/ItemCompareBuilder.cs | C# | gpl-3.0 | 532 |
<?php
namespace controllers\bases;
abstract class HttpBase extends UriMethodBase {
/**
* @var array
*/
protected $params;
function __construct() {
$uriSections = \Request::getInstance()->getUriSections();
$paramsUri = array_slice($uriSections, DEFAULT_PARAMS_START_POSITION);
... | franciscomaestre/mvcd-framework | controllers/extends/HttpBase.php | PHP | gpl-3.0 | 1,246 |
<?php
$return_value = 0;
if(isset($_FILES['photo']))
{
$target_dir = "../../upload/news/doc/";
require "../config.php";
$total_files = sizeof($_FILES['photo']['name']);
$resp = '';
for($i = 0; $i < $total_files; $i++)
{
$tmp_name = $_FILES['photo']["tmp_name"][$i];
$name = $_FI... | yasilvalmeida/gov_portal | backgp/ajax/noticia_anexo/upload-add-pdf.php | PHP | gpl-3.0 | 1,401 |
# coding: utf-8
"""
mistune
~~~~~~~
The fastest markdown parser in pure Python with renderer feature.
:copyright: (c) 2014 - 2016 by Hsiaoming Yang.
"""
import re
import inspect
__version__ = '0.7.3'
__author__ = 'Hsiaoming Yang <me@lepture.com>'
__all__ = [
'BlockGrammar', 'BlockLexer',
'In... | ebursztein/SiteFab | SiteFab/parser/mistune.py | Python | gpl-3.0 | 35,424 |
package it.unimi.di.big.mg4j.query;
/*
* MG4J: Managing Gigabytes for Java (big)
*
* Copyright (C) 2005-2015 Sebastiano Vigna
*
* 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; eit... | JC-R/mg4j | src/it/unimi/di/big/mg4j/query/GenericItem.java | Java | gpl-3.0 | 3,657 |
# noinspection PyPackageRequirements
import wx
import gui.globalEvents as GE
import gui.mainFrame
from gui.contextMenu import ContextMenuSingle
from service.fit import Fit
class AmmoToDmgPattern(ContextMenuSingle):
visibilitySetting = 'ammoPattern'
def __init__(self):
self.mainFrame = gui.mainFrame... | DarkFenX/Pyfa | gui/builtinContextMenus/ammoToDmgPattern.py | Python | gpl-3.0 | 1,296 |
package net.adanicx.cyancraft.client.model;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
import net.adanicx.cyancraft.client.OpenGLHelper;
import net.adanicx.cyancraft.entities.EntityArmorStand;... | Cyancraft/Cyancraft | src/main/java/net/adanicx/cyancraft/client/model/ModelArmorStand.java | Java | gpl-3.0 | 4,767 |
<?php include 'common_header.php'; ?>
<!-- Settings View Title -->
<h3><?php e($title); ?></h3>
<!-- Pasephrase Reset Form -->
<form id="settings_account_reset" class="rounded" action="<?php u('/settings/accounts/reset'); ?>" method="post" accept-charset="UTF-8" enctype="multipart/form-data">
<fieldset>
... | kijin/nearlyfreemail | program/views/accounts_reset.php | PHP | gpl-3.0 | 1,673 |
"""import portalocker
with portalocker.Lock('text.txt', timeout=5) as fh:
fh.write("Sono in testLoxk2.py")
"""
from lockfile import LockFile
lock = LockFile('text.txt')
with lock:
print lock.path, 'is locked.'
with open('text.txt', "a") as file:
file.write("Sono in testLock2.py")
| giulioribe/car-pooling | testLock2.py | Python | gpl-3.0 | 303 |
package ctlmc.bddgraph
import ctlmc.spec._
import ctlmc._
class GraphFactorySpec extends UnitSpec {
test("Creation") {
val factory = new GraphFactory()
}
}
class GraphSpec extends UnitSpec {
val factory = new GraphFactory()
factory.setParameters(Array(
("v1", (Array("F", "T").zipWithIndex.toMap, 0)),
("v2",... | fpoli/ctlmc | src/test/scala/bddgraph/GraphSpec.scala | Scala | gpl-3.0 | 3,242 |
# This module is for compatibility only. All functions are defined elsewhere.
__all__ = ['rand', 'tril', 'trapz', 'hanning', 'rot90', 'triu', 'diff', 'angle',
'roots', 'ptp', 'kaiser', 'randn', 'cumprod', 'diag', 'msort',
'LinearAlgebra', 'RandomArray', 'prod', 'std', 'hamming', 'flipud',
... | beiko-lab/gengis | bin/Lib/site-packages/numpy/oldnumeric/mlab.py | Python | gpl-3.0 | 3,566 |
<?php
/**
* WES WebExploitScan Web GPLv4 http://github.com/libre/webexploitscan
*
* The PHP page that serves all page requests on WebExploitScan installation.
*
* The routines here dispatch control to the appropriate handler, which then
* prints the appropriate page.
*
* All WebExploitScan code is released unde... | libre/webexploitscan | wes/data/rules/fullscan/10092019-MS-PHP-Antimalware-Scanner-2369-malware_signature.php | PHP | gpl-3.0 | 1,060 |
#include "config.h"
#include "hardware.h"
#include "data.h"
#include "instruction.h"
#include "rung.h"
#include "plclib.h"
#include "project.h"
int project_task(plc_t p)
{ //
/**************start editing here***************************/
BYTE one, two, three;
one = resolve(p, BOOL_DI, 1);
two = fe(p, BOOL_DI, 2... | kalamara/plcemu | src/project.c | C | gpl-3.0 | 768 |
#include <vgStableHeaders.h>
#include "vgentry/vgSound3DEntry.h"
#include <vgUIController/vgPropertyPage.h>
#include <vgUIController/vgUIController.h>
#include <vgKernel/vgkVec3.h>
#include <vgMesh/vgmMeshManager.h>
//#include <vgMath/vgfVector3.h>
#include <vgKernel/vgkSelectManager.h>
PropertiesParam vg... | xzy0008/sample_code | SAMPLE_CODE/src/vgEntry/vgSound3DEntry.cpp | C++ | gpl-3.0 | 4,971 |
<!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>CommandManager xref</title>
<link type="text/c... | slspeek/FSpotCloudSite | xref/fspotcloud/server/model/command/CommandManager.html | HTML | gpl-3.0 | 12,482 |
<!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>
<title>Natural Europe Pathways <?php echo isset($title) ? ' | ' . strip_formatting($title) : ''; ?></title>
<!-- Meta -->
<meta http-equiv="Co... | agroknow/PAT | application/views/scripts/common/header.php | PHP | gpl-3.0 | 6,482 |
!function(namespace) {
'use strict';
function Modal(elem, params) {
this.$element = jQuery(elem);
this.params = params || {};
this.cssReadyElement = this.params.cssReadyElement || 'JS-Modal-ready';
this.cssActiveElement = this.params.cssActiveElement || 'JS-Modal-active';
this.__construct();
... | subuk/bakapy | front/scripts/modal.js | JavaScript | gpl-3.0 | 2,698 |
/*
* Copyright (C) 2009 Christopho, Solarus - http://www.solarus-engine.org
*
* Solarus 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 ve... | ziz/solarus | src/hero/HookshotState.cpp | C++ | gpl-3.0 | 5,054 |
# -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'ArticleComment'
db.create_table('cms_articlecomment', (
... | josircg/raizcidadanista | raizcidadanista/cms/migrations/0004_auto__add_articlecomment.py | Python | gpl-3.0 | 14,504 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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" co... | firetools/blenderfds | docs/html/classblenderfds28x_1_1lang_1_1_o_p___x_b__export.html | HTML | gpl-3.0 | 34,769 |
# Copyright (C) 2015 SensorLab, Jozef Stefan Institute http://sensorlab.ijs.si
#
# Written by Tomaz Solc, tomaz.solc@ijs.si
#
# This work has been partially funded by the European Community through the
# 7th Framework Programme project CREW (FP7-ICT-2009-258301).
#
# This program is free software: you can redistribute ... | avian2/spectrumwars | controller/spectrumwars/testbed/simulation.py | Python | gpl-3.0 | 3,927 |
body, html{
margin: 0;
background: #fff;
}
h1{
font-size: 4em;
text-align: center;
font-family: sans-serif;
vertical-align: middle;
}
p{
font-size: 2em;
font-family: serif;
color: green;
text-align: center;
vertical-align: middle;
}
#only_section{
vertical-align: middle;
}
| Aldos11/Project | main.css | CSS | gpl-3.0 | 289 |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <dirent.h>
#include <fcntl.h>
#include <assert.h>
#include <unistd.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <bcm2835.h>
#include <unistd.h>
#include <iostream>
//#define BCM2708_PERI_BASE ... | FreshXOpenSource/wallyd | extra/dht22.cpp | C++ | gpl-3.0 | 6,241 |
# PickAMovie
This app gets movies from moviedb, using their API. For this to work you must insert your API key in the NetworkUtils class.
| petemit/PickAMovie | README.md | Markdown | gpl-3.0 | 140 |
// This file is part of BOINC.
// http://boinc.berkeley.edu
// Copyright (C) 2008 University of California
//
// BOINC is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation,
// either version 3 of the Licens... | hanxue/Boinc | api/boinc_api.cpp | C++ | gpl-3.0 | 44,618 |
/*
* BufferAllocator.java February 2001
*
* Copyright (C) 2001, Niall Gallagher <niallg@users.sf.net>
*
* 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/li... | TehSomeLuigi/someluigis-peripherals | slp_common/org/simpleframework/util/buffer/BufferAllocator.java | Java | gpl-3.0 | 8,448 |
"""add graphql ACL to users
Revision ID: 2d4882d39dbb
Revises: c4d0e9ec46a9
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '2d4882d39dbb'
down_revision = 'dc2848563b53'
POLICY_NAME = 'wazo_default_user_policy'
ACL_TEMPLATES = ['dird.graphql.me']
policy_tabl... | wazo-pbx/xivo-auth | alembic/versions/2d4882d39dbb_add_graphql_acl_to_users.py | Python | gpl-3.0 | 3,250 |
#include "VCL.h"
#include "Unit1.h"
#include "GridMap.h"
#include "defines.h"
#include "matrix_utils.h"
#include "bat_run.h"
#include "LoadData.h"
#include <cstdio>
#include <ctime>
#include <cstring>
#include <cmath>
// special LSM mode with "-1 distance" = no aggregation of spots, just statistics per unit
bool LSM_m... | cbig/zonation-core | zig4/core/LSIdent.cpp | C++ | gpl-3.0 | 27,025 |
/* vim: set ts=8 sw=4 sts=4 et: */
/*======================================================================
Copyright (C) 2008,2009,2014 OSSO B.V. <walter+rtpsniff@osso.nl>
This file is part of RTPSniff.
RTPSniff is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public Licen... | ossobv/rtpsniff | timer_interval.c | C | gpl-3.0 | 9,457 |
<?php
session_start();
include_once 'inc/vcode.inc.php';
$_SESSION['vcode']=vcode(100,40,30,4);
?> | TRyToDOit/CFCBBS | show_code.php | PHP | gpl-3.0 | 99 |
#!/bin/bash
version=$1
out=${2:-"copyq-${version}.tar.gz"}
version_file="src/common/version.cpp"
set -e
die () {
echo "ERROR: $*"
exit 1
}
grep -q '^# v'"$version"'$' "CHANGES.md" ||
die "CHANGES file doesn't contain changes for given version!"
grep -q '"'"$version"'"' "$version_file" ||
die "String... | hluk/CopyQ | utils/create_source_package.sh | Shell | gpl-3.0 | 717 |
/**
* OpenKM, Open Document Management System (http://www.openkm.com)
* Copyright (c) 2006-2015 Paco Avila & Josep Llort
*
* No bytes were intentionally harmed during the development of this application.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Ge... | papamas/DMS-KANGREG-XI-MANADO | src/main/java/com/openkm/servlet/DownloadServlet.java | Java | gpl-3.0 | 4,131 |
package mysqlgoutils
import (
"testing"
)
func TestSplitHostOptionalPortAndSchema(t *testing.T) {
assertSplit := func(addr, expectHost string, expectPort int, expectSchema string, expectErr bool) {
host, port, schema, err := SplitHostOptionalPortAndSchema(addr)
if host ... | y-trudeau/mysqlgoutils | mysqlUtils_test.go | GO | gpl-3.0 | 2,834 |
#
# Copyright (c) 2013 Christopher L. Felton
#
# 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 3 of the License, or
# (at your option) any later version.
#
# This p... | cfelton/minnesota | setup.py | Python | gpl-3.0 | 1,770 |
/* FILE GeneticOperations.hh
** PACKAGE GeneticOperations
** AUTHOR Edward S. Blurock
**
** CONTENT
** Prototypes for the "GeneticOperations" package in the CoreObjects environment
**
** COPYRIGHT (C) 1997 Edward S. Blurock
*/
#ifndef CoreObjects_GENETICOPERATIONS_HH
#define CoreObjects_GENETICOPERATIO... | blurock/AnalysisDevelop | GeneticOperations/include/CoreObjects/GeneticOperations.hh | C++ | gpl-3.0 | 1,353 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license a... | abueldahab/medalyser | library/Zend/View/Helper/HeadScript.php | PHP | gpl-3.0 | 15,547 |
function onStepIn(cid, item, pos)
if getPlayerStandageValue(cid,10001) == 1 and getPlayerStandageValue(cid,10002) == 1 and getPlayerStandageValue(cid,10003) == 1 and getPlayerStandageValue(cid,10004) == 1 and getPlayerStandageValue(cid,10005) == 1 and getPlayerStandageValue(cid,10006) == 1 and getPlayerStandage... | Giorox/AngelionOT-Repo | data/movements/scripts/poilast.lua | Lua | gpl-3.0 | 444 |
<?php
namespace Minsal\ModeloBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Loader;
/**
* This is the class that loads and mana... | wilxsv/contratos | src/Minsal/ModeloBundle/DependencyInjection/MinsalModeloExtension.php | PHP | gpl-3.0 | 864 |
# Name
Aswin M Guptha
### Academics
BTech CSE from [Amrita University](https://www.amrita.edu)
### Projects
[My Projects](https://www.github.com/aswinmguptha)
Links to my projects
### Profile Link
[GitHub](https://github.com/aswinmguptha)
[GitLab](https://gitlab.com/aswinmguptha)
[Twitter](https://twitter.com/aswinmgup... | AliceWonderland/hacktoberfest | profiles/Aswin_M_Guptha.md | Markdown | gpl-3.0 | 326 |
/* Copyright (C) 2012-2014 Carlos Pais
*
* 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 dis... | fr33mind/Belle | editor/actions/get_user_input.cpp | C++ | gpl-3.0 | 2,974 |
#include<stdio.h>
#include<big_integer.h>
#include<string.h>
#include<time.h>
#include"gen_lib.h"
int main(int argc,char** argv)
{
if(argc<3)
{
printf("usage %s <length> <num> \n",argv[0]);
exit(-1);
}
FILE* bash=fopen("bash.dat","w+");
FILE* python=fopen("py.dat","w+");
int length=atoi(argv[1]);
int num=a... | NosicLin/Codger | src/rtype_v3.0/debug/gen_cmp2.c | C | gpl-3.0 | 504 |
Imports System.Globalization
Imports P3D.Legacy.Core.Screens
Namespace ScriptVersion2
Partial Class ScriptComparer
'--------------------------------------------------------------------------------------------------------------------------
'Contains the <environment> constructs.
'--------... | P3D-Legacy/P3D-Legacy-CSharp | 2.5DHero/2.5DHero/World/ActionScript/V2/ScriptConstructs/DoEnvironment.vb | Visual Basic | gpl-3.0 | 3,495 |
/****************************************************************************
**
** 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... | sailfish-sdk/sailfish-qtcreator | src/plugins/projectexplorer/buildconfiguration.cpp | C++ | gpl-3.0 | 15,163 |
package com.example.heregpsloc;
import java.security.SecureRandom;
import java.math.BigInteger;
// http://stackoverflow.com/questions/41107/how-to-generate-a-random-alpha-numeric-string
public final class SessionIdentifierGenerator {
private SecureRandom random = new SecureRandom();
public String nextSessio... | popokatapepel/project_uebersaxen | app/src/main/java/com/example/heregpsloc/SessionIdentifierGenerator.java | Java | gpl-3.0 | 392 |
##
# This module requires Metasploit: http://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
require 'msf/core'
require 'zlib'
class Metasploit3 < Msf::Exploit::Remote
Rank = GoodRanking
include Msf::Exploit::FILEFORMAT
def initialize(info = {})
super(update_inf... | cSploit/android.MSF | modules/exploits/windows/fileformat/adobe_libtiff.rb | Ruby | gpl-3.0 | 12,227 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.