code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 3 942 | language stringclasses 30
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
/*
* 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 AnalisisLexico;
import Repositorio.Variables;
import static com.sun.java.accessibility.util.AWTEventMonitor.addKeyList... | DarkCeron/sweetmeat_candy | src/AnalisisLexico/DesCicloMain.java | Java | gpl-2.0 | 5,455 |
package ru.svalov.ma.planner;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ru.svalov.ma.data.tempo.PlannedVacation;
import ru.svalov.ma.model.CalendarEvent;
import ru.svalov.ma.model.CalendarEvents;
import ru.svalov.ma.model.Employee;
import ru.svalov.ma.model.EventType;
import ru.svalov.ma.planner.... | subzero0x1/SDMA | planner/src/main/java/ru/svalov/ma/planner/VacationReplicationService.java | Java | gpl-2.0 | 3,248 |
/*
* Classic API Init task create failure
*
* COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
/*
* Way to... | daniel-hellstrom/leon-rtems | testsuites/sptests/spfatal08/testcase.h | C | gpl-2.0 | 1,517 |
goog.provide('ol.control.FullScreen');
goog.require('goog.asserts');
goog.require('goog.dom');
goog.require('goog.dom.classlist');
goog.require('goog.dom.fullscreen');
goog.require('goog.dom.fullscreen.EventType');
goog.require('goog.events');
goog.require('goog.events.EventType');
goog.require('ol');
goog.require('ol... | tutorielgeo/google-openlayers | ol/ol/control/fullscreencontrol.js | JavaScript | gpl-2.0 | 3,934 |
<?php
namespace app\controllers;
use Yii;
use app\models\Expenses;
use app\models\ExpensesSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\filters\AccessControl;
use yii\filters\AccessRule;
use kartik\widgets\Growl;
use app\models\User;
/**
* ExpensesController... | mirr254/paki | controllers/ExpensesController.php | PHP | gpl-2.0 | 5,396 |
# MemoryJogger
A Class Group Project for EMSE6361
| emseGDLC/MemoryJogger | README.md | Markdown | gpl-2.0 | 50 |
package de.metas.handlingunits.impl;
/*
* #%L
* de.metas.handlingunits.base
* %%
* Copyright (C) 2015 metas 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 2 of... | klst-com/metasfresh | de.metas.handlingunits.base/src/main/java/de/metas/handlingunits/impl/HUTrxQuery.java | Java | gpl-2.0 | 2,821 |
<?php
/**
* WooThemes Media Library-driven AJAX File Uploader Module (2010-11-05)
*
* Slightly modified for use in the Options Framework.
*/
if ( is_admin() ) {
// Load additional css and js for image uploads on the Options Framework page
$of_page= 'appearance_page_options-framework';
add_action(... | doloreel/smh-wp | wp-content/themes/raptor/admin/options-medialibrary-uploader.php | PHP | gpl-2.0 | 9,395 |
#ifndef __SINAIS_H_
#define __SINAIS_H_
#include <signal.h>
#include <sys/types.h>
#include <dirent.h>
void interrupcao_clean();
void interrupcao_usr1();
void interrupcao_pipe();
void carrega_config();
#endif
| ric2b/Server_PSis | Server Code and Files/sinais.h | C | gpl-2.0 | 212 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18408
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | phuhungct1996/QLBH | QLBH/frWineCT/wineCT/Properties/Resources.Designer.cs | C# | gpl-2.0 | 2,838 |
<?php
return array(
'title'=>'Opciones del servidor SMTP',
'php_mail'=>'¿Usar la función de PHP mail()?',
'php_mail_desc'=>'Utiliza esta opción si el servidor SMTP no te funciona, la configuració del servidor no permite utilizar directamente SMTP o no dispones de servidor SMTP. NOTE: Si selecc... | exponentcms/exponent-cms-1 | subsystems/lang/es_ES/conf/extensions/smtp.structure.php | PHP | gpl-2.0 | 1,682 |
/*
Copyright (c) 2009 Constantin Berzan <exit3219@gmail.com>
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 version 2 of the License, or (at your
option) any later... | kolab-groupware/kdepimlibs | akonadi/transportresourcebase_p.h | C | gpl-2.0 | 1,988 |
<?php
/*
* * * * * * * * * * * * * * * * * * *
* Shows the author links
* * * * * * * * * * * * * * * * * * *
*/
class GPAISRFilter {
/**
* @since 0.6
*/
function __construct() {
$options = get_option( 'gpaisr' );
if( isset( $options['replacement'] ) && $options['replacement'] == 1 ) {
add_filte... | yondri/newyorkando | wp-content/plugins/google-author-information-in-search-results-wordpress-plugin/class.filter.php | PHP | gpl-2.0 | 2,158 |
<?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 1.8 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2007 |
+--------------------... | zakiya/Peoples-History | sites/all/modules/civicrm/CRM/Core/BAO/UFMatch.php | PHP | gpl-2.0 | 14,673 |
/*
* s390-tools/zipl/src/job.c
* Functions and data structures representing the actual 'job' that the
* user wants us to execute.
*
* Copyright IBM Corp. 2001, 2009.
*
* Author(s): Carsten Otte <cotte@de.ibm.com>
* Peter Oberparleiter <Peter.Oberparleiter@de.ibm.com>
*/
#include "job.h"
#inclu... | hreinecke/s390-tools | zipl/src/job.c | C | gpl-2.0 | 44,616 |
#! /bin/sh
# Copyright (C) 1997-2018 Free Software Foundation, 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; either version 2, or (at your option)
# any later version.
#
# This program ... | komh/automake-os2 | t/depend3.sh | Shell | gpl-2.0 | 1,386 |
package br.com.br.gatend.GestaoCliente.v1.model.vo;
import oracle.jbo.server.ViewObjectImpl;
// ---------------------------------------------------------------------
// --- File generated by Oracle ADF Business Components Design Time.
// --- Wed Jul 16 14:20:16 BRT 2014
// --- Custom code may be added t... | mmacedoeu/adf_gcli | Model/src/br/com/br/gatend/GestaoCliente/v1/model/vo/FndDocumentsVOImpl.java | Java | gpl-2.0 | 663 |
/*
* RapidMiner
*
* Copyright (C) 2001-2008 by Rapid-I and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapid-i.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public Lice... | ntj/ComplexRapidMiner | src/com/rapidminer/example/set/ReplaceMissingExampleSet.java | Java | gpl-2.0 | 5,304 |
package com.lionsteel.tiles.Scenes.GameScenes;
import org.andengine.entity.modifier.LoopEntityModifier;
import org.andengine.entity.modifier.RotationModifier;
import org.andengine.entity.modifier.ScaleModifier;
import org.andengine.entity.modifier.SequenceEntityModifier;
import org.andengine.entity.primitive.Rectangle... | maggardJosh/Tiles | src/com/lionsteel/tiles/Scenes/GameScenes/PracticeGameOverScene.java | Java | gpl-2.0 | 8,347 |
package com.dynamo2.myerp.dynamicform.dao;
import java.util.Collections;
import java.util.List;
import javax.persistence.Query;
import com.dynamo2.myerp.dynamicform.dao.entities.resultmap.FormMDStatisticsEntry;
import org.springframework.stereotype.Repository;
import com.dynamo2.myerp.AbstractBaseDAO;
import com.dy... | dynamo2/tianma | mycrm/src/main/java/com/dynamo2/myerp/dynamicform/dao/FormMetadataDAO.java | Java | gpl-2.0 | 1,872 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package researchpaper;
import java.util.Set;
import java.util.concurrent.CopyOnWriteArraySet;
/**
*
* @author aditya
*/
public interface MergeThreadCompleteListener {
Set<MergeThread> runningThreads = new CopyO... | adityashah30/distributedsort | src/researchpaper/MergeThreadCompleteListener.java | Java | gpl-2.0 | 555 |
<!DOCTYPE html>
<html lang="en">
<head>
<link href='http://fonts.googleapis.com/css?family=Poppins:300,400,700' rel='stylesheet' type='text/css'>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>... | mxabierto/cumbre-global | agenda.html | HTML | gpl-2.0 | 7,264 |
<?php
// MyDMS. Document Management System
// Copyright (C) 2010 Matteo Lucarelli
//
// 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
// (... | JustLikeIcarus/SeedDMS | out/out.LogManagement.php | PHP | gpl-2.0 | 1,528 |
/*! \file sx9311.c
* \brief SX9311 Driver
*
* Driver for the SX9311
* Copyright (c) 2011 Semtech Corp
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
//#define DEBUG... | KAsp3rd/android_kernel_lge_v496 | drivers/input/sensor/sx9311.c | C | gpl-2.0 | 107,405 |
<?php
require_once '../lib/DataSourceResult.php';
require_once '../lib/Kendo/Autoload.php';
require_once '../include/header.php';
?>
<div class="demo-section k-rtl">
<h2>Select Continents</h2>
<?php
$multiselect = new \Kendo\UI\MultiSelect('select');
$multiselect->dataTextField('text')
->dataValueFiel... | kabsila/wordpress | new/wrappers/php/multiselect/right-to-left-support.php | PHP | gpl-2.0 | 1,197 |
/**
******************************************************************************
* @file USB_Host/CDC_Standalone/Src/lcd_log_conf.h
* @author MCD Application Team
* @version V1.1.0
* @date 26-June-2014
* @brief LCD Log configuration file.
*************************************************... | matianfu/stm32f4cube13 | Projects/STM324x9I_EVAL/Applications/USB_Host/CDC_Standalone/Inc/lcd_log_conf.h | C | gpl-2.0 | 4,023 |
<?php
/*
Template Name: Search_results
*/
?>
<?php get_header(); ?>
<ul class="columna primera">
<?php blogsfera_widget_my_blog(); ?>
<?php blogsfera_widget_chat(); ?>
<?php blogsfera_widget_most_read(); ?>
<?php blogsfera_widget_news(); ?>
</ul>
<ul class="columna">
<?php blogsfera_widget_search_results(); ?>
... | alx/blogsfera | wp-content/themes/portal/search_results.php | PHP | gpl-2.0 | 602 |
# -*- coding: utf-8 -*-
from flask import Flask
from flask.ext.pymongo import PyMongo
import config
from views import diary
def create_app(cfg):
app = Flask(__name__)
app.config.from_object(cfg)
return app
# Application creation.
app = create_app(config)
# Database configuration.
db = PyMongo()
# Bl... | GruPy-RN/agenda_flask | diary/__init__.py | Python | gpl-2.0 | 416 |
{-| Implementation of cluster-wide logic.
This module holds all pure cluster-logic; I\/O related functionality
goes into the /Main/ module for the individual binaries.
-}
{-
Copyright (C) 2009, 2010, 2011, 2012, 2013 Google Inc.
This program is free software; you can redistribute it and/or modify
it under the term... | narurien/ganeti-ceph | src/Ganeti/HTools/Cluster.hs | Haskell | gpl-2.0 | 71,896 |
//-----------------------------------------------------------------------------
// Class: CParaMeshXMLFile
// Authors: LiXizhi
// Emails: LiXizhi@yeah.net
// Company: ParaEngine Corporation
// Date: 2007.12.16
// Desc:
//-----------------------------------------------------------------------------
#include "ParaEngine... | LiXizhi/NPLRuntime | Client/trunk/ParaEngineClient/3dengine/ParaMeshXMLFile.cpp | C++ | gpl-2.0 | 10,909 |
<!DOCTYPE html>
<html lang="zh-Hans">
<head>
<meta charset="utf-8">
<title>Category: 工具包 | 孔明灯</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta property="og:type" content="website">
<meta property="og:title" content="孔明灯">
<meta property="og:url" content="ht... | xiangxik/xiangxik.github.io | categories/工具包/index.html | HTML | gpl-2.0 | 18,422 |
package eu.maydu.gwt.validation.client.i18n;
public class StandardValidationMessagesImpl_en implements eu.maydu.gwt.validation.client.i18n.StandardValidationMessagesImpl {
public java.lang.String validator_assertFalse() {
return "Assertion failed";
}
public java.lang.String validator_pattern() {
retur... | midaboghetich/netnumero | gen/eu/maydu/gwt/validation/client/i18n/StandardValidationMessagesImpl_en.java | Java | gpl-2.0 | 5,885 |
/* This file was generated by SableCC (http://www.sablecc.org/). */
package se.sics.kola.node;
public abstract class PElementValue extends Node
{
// Empty body
}
| kompics/kola | src/main/java/se/sics/kola/node/PElementValue.java | Java | gpl-2.0 | 168 |
/*
* drivers/cpufreq/cpufreq_interactive.c
*
* Copyright (C) 2010 Google, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distrib... | auras76/aur-kernel-XZxx | drivers/cpufreq/cpufreq_interactive.c | C | gpl-2.0 | 45,081 |
#!/usr/bin/env python
from __future__ import print_function
import argparse
import os
import sys
def main():
args = parseArgs(sys.argv)
# get analogy files in the analogy directory
# http://stackoverflow.com/questions/3207219/how-to-list-all-files-of-a-directory-in-python
resultFns = [os.path.join(arg... | ppegusii/cs689-mini1 | src/evaluate.py | Python | gpl-2.0 | 2,517 |
<?php
/**
* WURFL API
*
* LICENSE
*
* This file is released under the GNU General Public License. Refer to the
* COPYING file distributed with this package.
*
* Copyright (c) 2008-2009, WURFL-Pro S.r.l., Rome, Italy
*
*
*
* @category WURFL
* @package WURFL_Handlers
* @copyright WURFL-PRO SRL, Rome... | chisimba/modules | wurfl/resources/WURFL/Handlers/KDDIHandler.php | PHP | gpl-2.0 | 1,840 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META name="GENERATOR" content="hevea 1.10">
<LINK rel="stylesheet" type="text/css" href="cascmd_fr.css">
<TITLE>Remar... | hiplayer/giac | giac/giac-1.2.2/doc/fr/cascmd_fr/cascmd_fr939.html | HTML | gpl-2.0 | 2,687 |
<!DOCTYPE html>
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="generator" content="hevea 2.29+5 of 2017-05-18">
<link rel="stylesheet" type="text/css" href="cascmd_en.css">
<title>Determinant of a matrix with coefficients in ℤ/pℤ : Det</title>
</head>
<... | hiplayer/giac | giac/giac-1.2.3/doc/en/cascmd_en/cascmd_en274.html | HTML | gpl-2.0 | 2,643 |
package Servlets;
import org.json.JSONException;
import org.json.JSONObject;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.... | matanso/OASSIS | src/main/java/Servlets/Logout.java | Java | gpl-2.0 | 1,072 |
/*
* Copyright (c) 1998-2010 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | christianchristensen/resin | modules/extra/src/com/caucho/jaxb/property/XmlListBooleanArrayProperty.java | Java | gpl-2.0 | 1,852 |
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import org.apache.lucene.analysis.Analyzer;
impo... | darthcodus/Lucene-TREC-OHSUMED | src/SearchOhsumedFiles.java | Java | gpl-2.0 | 6,310 |
<?php
class Xlib_XListaDados_FieldFilter_CPF extends Xlib_XListaDados_FieldFilterAbstract {
private $punct = true;
public function getInstance ( $field , $label = "" , $punct = false ) {
return new Xlib_XListaDados_FieldFilter_CPF ( $field , $label , $punct );
}
public function formatQueryFilter ( ) {
... | hugoofab/XLibrary | XListaDados/FieldFilter/CPF.php | PHP | gpl-2.0 | 3,135 |
package FSMBuilder.FSMmodel;
import FSMBuilder.FSMfunctions.constants.Ifile;
import FSMBuilder.FSMfunctions.constants.Imisc;
import java.awt.geom.Line2D;
/**
* Base class for all types of transitions
* @author Logan Fine
*/
public abstract class Ctrans extends CbasicFSMObject {
protected final Cnode m_from;
... | nzt4567/fsa | src/main/java/FSMBuilder/FSMmodel/Ctrans.java | Java | gpl-2.0 | 2,291 |
/*
* Copyright (C) 2012 The Android Open Source Project
* Copyright (C) 2012 The CyanogenMod Project <http://www.cyanogenmod.org>
*
* 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
*
* ... | batman38102/android_device_samsung_mint | bluetooth/bdroid_buildcfg.h | C | gpl-2.0 | 810 |
<?php
namespace Drupal\facets\Plugin\facets\query_type;
use Drupal\facets\QueryType\QueryTypePluginBase;
use Drupal\facets\Result\Result;
/**
* Provides support for range facets within the Search API scope.
*
* This is the default implementation that works with all backends.
*
* @FacetsQueryType(
* id = "sea... | YashiMalhotra/drupalsolr | modules/contrib/facets/src/Plugin/facets/query_type/SearchApiRange.php | PHP | gpl-2.0 | 2,345 |
#ifndef CLIENT_H
#define CLIENT_H
#include <QDialog>
#include <QAbstractSocket>
class QTcpSocket;
class QFile;
namespace Ui {
class Client;
}
class Client : public QDialog
{
Q_OBJECT
public:
explicit Client(QWidget *parent = 0);
~Client();
private:
Ui::Client *ui;
QTcpSocket *tcpClient;
... | weiqiangdragonite/MyQtProject | learning_code/getting_started_qt_creator/Qt Creator快速入门_代码/src/18/18-8/tcpClient/client.h | C | gpl-2.0 | 908 |
<!--footer start here-->
<div class="footer">
<div class="container">
<div class="footer-main">
<div class="col-md-4 footer-grid wow bounceIn" data-wow-delay="0.4s">
<h3>NUESTRA FILOSOFÍA </h3>
<P>Gestionar y posicionar, de manera creativa y
auténtica, la imagen como empleador de
una compañía com... | Acostangel/expoempleo | Pasantia/includes/footer.php | PHP | gpl-2.0 | 1,971 |
secu_loader.elf: file format elf32-littlearm
Disassembly of section .text:
00000000 <_reset>:
# (7) bootrom jump to 0x0 at last
#
#=================================================
_reset:
b _start @ Reset Vector
0: ea00000c b 38 <_start>
1:... | stulluk/chipbox-uboot | sldr/build/arm_gcc/secu_loader.asm.c | C | gpl-2.0 | 57,690 |
package dmesg
// #include <sys/syslog.h>
import "C"
// Facility models well-known log facilities (see man klogctl)
type Facility uint
const (
LOG_KERN = C.LOG_KERN // kernel messages
LOG_USER = C.LOG_USER // random user-level messages
LOG_MAIL = C.LOG_MAIL // mail system
LOG_DAEMON = C.... | vosst/csi | dmesg/facility.go | GO | gpl-2.0 | 981 |
<?php
/*
+---------------------------------------------------------------------------+
| Revive Adserver |
| http://www.revive-adserver.com |
| ... | sgreiner/revive-adserver | lib/max/language/vi/invocation.lang.php | PHP | gpl-2.0 | 865 |
/**
* This class is generated by jOOQ
*/
package schema.process_engine.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(
value = {
"http://www.jooq.org",
"jOOQ version:3.5.4"
},
comments = "This class is generated by jOOQ"
)
@java.lang.SuppressWarnings({ "all", "unchecked", "raw... | marcoargenti/Cleaner | src/main/java/schema/process_engine/tables/ActHiTaskinst.java | Java | gpl-2.0 | 7,875 |
<?php
/*************************************************************************************
* tsql.php
* --------
* Author: Duncan Lock (dunc@dflock.co.uk)
* Copyright: (c) 2006 Duncan Lock (http://dflock.co.uk/), Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.0.7.15
* CVS Revision Version: $Revi... | SOSWEB-CH/atelier-rl | inc/geshi/tsql.php | PHP | gpl-2.0 | 21,616 |
/*
* (c) Copyright 1992, 1993 by Panagiotis Tsirigotis
* All rights reserved. The file named COPYRIGHT specifies the terms
* and conditions for redistribution.
*/
#include "config.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <syslog.h>
#ifd... | curtiszimmerman/rcp100 | src/system/xinetd-2.3.14/libs/src/sio/siosup.c | C | gpl-2.0 | 23,037 |
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <netinet/in.h>
#include <neteconet/ec.h>
#include <stdlib.h>
#include "net.h"
void econet_gen_sockaddr(struct sockaddr **addr, socklen_t *addrlen)
{
struct sockaddr_ec *ec;
ec = malloc(sizeof(struct sockaddr_ec));
if (ec == NULL)
return;... | jcmvbkbc/trinity-xtensa | net/proto-econet.c | C | gpl-2.0 | 558 |
<!doctype html>
<html lang=en >
<head>
<meta charset=utf-8 >
<title>FGx Globe Crossfeed Dailies Replay R1</title>
<meta name=viewport content='width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no' >
<meta name=description content='' >
<meta name=keywords content='WebGL,Three.js,JavaScript... | fgx/fgx.github.io | sandbox/globe-crossfeed-replay/globe-crossfeed-replay-r1.html | HTML | gpl-2.0 | 9,657 |
import os
import sys
import unittest
from unittest.mock import patch, MagicMock
sys.path.append(os.path.join(os.path.dirname(__file__), '../../src/'))
from katello.agent.pulp import libdnf
@unittest.skipIf('dnf' not in sys.modules, "Dnf not present")
class TestLibDnf(unittest.TestCase):
def test_package_update_on_a... | Katello/katello-agent | test/test_katello/test_agent/test_pulp/test_libdnf.py | Python | gpl-2.0 | 1,456 |
package com.ag.common.http.builder;
import com.ag.common.http.request.PostFileRequest;
import com.ag.common.http.request.RequestCall;
import java.io.File;
import java.util.LinkedHashMap;
import java.util.Map;
import okhttp3.MediaType;
public class PostFileBuilder extends OkHttpRequestBuilder
{
private File fi... | ZhanJohn/AG_Modules | ag_common/src/main/java/com/ag/common/http/builder/PostFileBuilder.java | Java | gpl-2.0 | 1,360 |
# config/unicorn.rb
worker_processes Integer(ENV["WEB_CONCURRENCY"] || 3)
timeout 35
preload_app true
before_fork do |server, worker|
Signal.trap 'TERM' do
puts 'Unicorn master intercepting TERM and sending myself QUIT instead'
Process.kill 'QUIT', Process.pid
end
defined?(ActiveRecord::Base) and
Ac... | bl4ckdu5t/vitabiotics | config/unicorn.rb | Ruby | gpl-2.0 | 602 |
<?php
$this->currencies = array (
'adp' => 'Andorran Peseta',
'aed' => 'United Arab Emirates Dirham',
'afa' => 'Afghani (1927-2002)',
'afn' => 'Afghani',
'all' => 'Albanian Lek',
'amd' => 'Armenian Dram',
'ang' => 'Netherlands Antillan Guilder',
'aoa' => 'Angolan Kwanza',
'aok' => 'Angolan Kwanza (197... | prdatur/soopfw | language/currencies/vi.php | PHP | gpl-2.0 | 8,370 |
<?php
/**
* @package AcyMailing for Joomla!
* @version 4.5.0
* @author acyba.com
* @copyright (C) 2009-2013 ACYBA S.A.R.L. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
jimport( 'joomla.html.parameter' );
c... | QuyICDAC/icdacgov | administrator/components/com_acymailing/compat/compat1.php | PHP | gpl-2.0 | 1,044 |
/*
* WordPress.com MetaDNS
*/
#ifndef __H_WPMETABACKEND_HH__
#define __H_WPMETABACKEND_HH__
#include <cstring>
#include <vector>
#include <random>
#include <map>
#include <chrono>
#include <pdns/namespaces.hh>
#include <pdns/dnsbackend.hh>
#include <pdns/dnspacket.hh>
#include "defines.h"
#include "database.hh"
#... | Automattic/metadns | src/wpmetabackend.hh | C++ | gpl-2.0 | 1,972 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Co... | UNAH-SISTEMAS/2015.3.oop | 4_Colecciones/Colecciones/Properties/AssemblyInfo.cs | C# | gpl-2.0 | 1,398 |
<?php
/**
* @file
* Hooks provided by Requirement Dashboard.
*/
/**
* Add requirement dashboards to be created
*
* Allows other modules to create providers for requirement dashboards
*
*/
function hook_requirement_dashboard_provider() {
// this is the machine name used on permissions page / elsewhere
$das... | eleonel/Drupaltech | profiles/elms/modules/contrib/requirement_dashboard/requirement_dashboard.api.php | PHP | gpl-2.0 | 2,304 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace proyectoprogra
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static v... | Axel030/ProyectoFinal | proyectoprogra/proyectoprogra/Program.cs | C# | gpl-2.0 | 515 |
<html>
<head>
<title>How to make a 3D sphere with HTML5</title>
<script src="js/buildIcoSphere.js">
</script>
<script src="js/render.js">
</script>
<style type="text/css">
canvas {
border: 4px solid #A0A0A0;
ba... | mareklspak/spak.io_logo | sphere.html | HTML | gpl-2.0 | 2,802 |
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>PHPXRef 0.7.1 : Unnamed Project : Variable Reference: $thumb_quality</title>
<link rel="stylesheet" href="../sample.css" type="text/css">
<link rel="stylesheet" href="../sample-pri... | mgsolipa/b2evolution_phpxref | _variables/thumb_quality.html | HTML | gpl-2.0 | 5,923 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
import urllib, urllib2
import xbmcplugin, xbmcaddon, xbmcgui, xbmc
import sys, os, re, json, base64, operator, datetime, time
from resources.local import *
pluginhandle = int(sys.argv[1])
addon = xbmcaddon.Addon()
settings = xbmcaddon.Addon( id = "plugin.video.tele.ml" )
doma... | idi2019/plugin.video.tele.ml | default.py | Python | gpl-2.0 | 9,683 |
from sdssgaussfitter import gaussfit
import numpy as np
import os,sys
from util import utils
from util.readDict import readDict
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
def aperture(startpx,startpy,radius=7):
r = radius
length = 2*r
height = length
allx = xrange(startpx... | bmazin/ARCONS-pipeline | examples/Pal2012_landoltPhot/fitPsf.py | Python | gpl-2.0 | 8,372 |
"use strict";
var log = require( "../class.log" );
var realmConfig = require( "../../config.realm" ).config;
var quest = require( "../class.quest" );
exports.script = function( npcObject )
{
//
// Variables
//
var _iO = npcObject.getArgs().createdByInstanceObject,
_cooldownPointer =... | victoralex/gameleon | includes/classes/class.npc.js_files/npcScript.221.js | JavaScript | gpl-2.0 | 1,247 |
#define BUF_SIZE 4096
#include <stdio.h>
main(int argc, char *argv[]) {
if(argc>1) {
fprintf(stderr,"< entrada > salida\n");
return 1;
}
fprintf(stderr,"%s: running\n",argv[0]);
for(;;) {
double x[BUF_SIZE];
char y[BUF_SIZE];
int r = fread(x,sizeof(double),BUF_SIZE,stdin);
if(r==0) br... | vicente-gonzalez-ruiz/type-tools | double2char.c | C | gpl-2.0 | 554 |
<?php
//custom post type portfolio
if(! function_exists( 'kilobyte_custom_post_type_portfolio' )):
function kilobyte_custom_post_type_portfolio(){
$labels = array(
'name'=>'Portfolio',
'singular_name'=>'Portfolio',
'add_new' => 'Add Portfolio',
'all_items' => 'All Portfolio',
'add_new_item'=> 'Add Portfoli... | shubham9411/kilobyte | inc/custom-posttype.php | PHP | gpl-2.0 | 6,356 |
///////////////////////////////////////////////////////////////////////////////
//
// OpenFTA - Fault Tree Analysis
// Copyright (C) 2005 FSC Limited
//
// 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 ... | jandcmoore/OpenFTA | src/lib/Utilities/FileUtilities.c | C | gpl-2.0 | 11,242 |
/*
Copyright (C) 2009 Rob van Nieuwpoort & John Romein
Astron
P.O.Box 2, 7990 AA Dwingeloo, The Netherlands, nieuwpoort@astron.nl
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 t... | bnikolic/xcorrelators-bench | cal-correlator/correlator-1x1.h | C | gpl-2.0 | 3,305 |
/**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest19157.java | Java | gpl-2.0 | 3,011 |
<?php
/**
* @file
* Hooks provided the Entity module.
*/
/**
* @addtogroup hooks
* @{
*/
/**
* Inform the base system and the Field API about one or more entity types.
*
* Inform the system about one or more entity types (i.e., object types that
* can be loaded via entity_load() and, optionally, to which f... | dusik/realejuventudfan | core/includes/entity.api.php | PHP | gpl-2.0 | 22,131 |
# nullfs
## description
nullfs implements a FUSE handler for a flat null filesystem.
flat in that the handler allows the creation, reading, and writing of files but
not of directories.
null in that bytes are never committed to the file system when writing to a
file and bytes are never returned when reading from a f... | LucaFilipozzi/nullfs | README.md | Markdown | gpl-2.0 | 745 |
/****************************************************************************
** $Id: qt/main.cpp 3.3.8 edited Jan 11 14:37 $
**
** Copyright (C) 1992-2007 Trolltech ASA. All rights reserved.
**
** This file is part of an example program for Qt. This example
** program may be used, distributed and modified withou... | epatel/qt-mac-free-3.3.8 | examples/tooltip/main.cpp | C++ | gpl-2.0 | 679 |
#!/usr/bin/env python
#encoding: utf-8
# Martin Kersner, m.kersner@gmail.com
# 2016/03/17
from __future__ import print_function
import os
import sys
import glob,cv2
from PIL import Image as PILImage
import numpy as np
from utils import mat2png_hariharan,pascal_palette_invert
def main():
input_path, output_path = pr... | z01nl1o02/tests | voc/sbd_dataset/mat2png.py | Python | gpl-2.0 | 2,232 |
<?php
/**
* Part of Component Schedule files.
*
* @copyright Copyright (C) 2014 Asikart. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access
defined('_JEXEC') or die;
include_once JPATH_LIBRARIES . '/windwalker/src/init.php';
JForm::addField... | skylying/ihealth-schedule | administrator/components/com_schedule/model/field/task/modal.php | PHP | gpl-2.0 | 864 |
/*
* linux/fs/fat/file.c
*
* Written 1992,1993 by Werner Almesberger
*
* regular file handling primitives for fat-based filesystems
*/
#include <linux/capability.h>
#include <linux/module.h>
#include <linux/compat.h>
#include <linux/mount.h>
#include <linux/time.h>
#include <linux/buffer_head.h>
#include <lin... | acroreiser/kernel_samsung_msm | fs/fat/file.c | C | gpl-2.0 | 11,286 |
package zhangXiaoXiang.s02_;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* @author Bob
* @ClassName: HelloServlet
* @Description: servlet代码初探(本段注释来自《Servlet与JSP核心编程》,... | NorthFacing/step-by-Java | web-servletAndJsp/src/main/java/zhangXiaoXiang/s02_/HelloServlet.java | Java | gpl-2.0 | 1,343 |
package com.vv.minerlamp.entity;
import java.sql.Blob;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "staff")
public class Staff {
priv... | vvdeng/MinerLampSystem | src/com/vv/minerlamp/entity/Staff.java | Java | gpl-2.0 | 5,423 |
package moviescraper.doctord.controller.xmlserialization;
import java.io.IOException;
import moviescraper.doctord.model.dataitem.Thumb;
/**
* Helper class for serializing a fanart object to and from XML
*/
public class KodiXmlFanartBean {
private String[] thumb;
public KodiXmlFanartBean(String[] thumb) {
supe... | DoctorD1501/JAVMovieScraper | src/main/java/moviescraper/doctord/controller/xmlserialization/KodiXmlFanartBean.java | Java | gpl-2.0 | 931 |
JqueryComingSoonPage
====================
Coming Soon Page with Contact Form and Mysql Database
| OssamaElGartet/JqueryComingSoonPage | README.md | Markdown | gpl-2.0 | 97 |
/* Generic API to adapt to */
#include<linux/buffer_head.h>
#include<linux/bio.h>
#include <linux/err.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/kmod.h>
#include <linux/module.h>
#include <linux/param.h>
#include <linux/sched/signal.h>
#include <linux/slab.h>
#include <linux/string.h>
#inc... | tamnol/cs444-operating-systems-ii | project#3/api.c | C | gpl-2.0 | 13,986 |
<?php
/**
* @version $Id$
* @package Koowa_Template
* @copyright Copyright (C) 2007 - 2012 Johan Janssens. All rights reserved.
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
* @link http://www.nooku.org
*/
/**
* Abstract Template class
*
* @author Johan Janssens <johan@n... | dwarkeshsoni/jsn_time_free_j3x | libraries/koowa/template/abstract.php | PHP | gpl-2.0 | 14,969 |
# -*- coding: utf-8 -*-
# Copyright(c) 2016-2020 Jonas Sjöberg <autonameow@jonasjberg.com>
# Source repository: https://github.com/jonasjberg/autonameow
#
# This file is part of autonameow.
#
# autonameow is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public L... | jonasjberg/autonameow | autonameow/core/master_provider.py | Python | gpl-2.0 | 17,265 |
#include <2geom/sbasis-geometric.h>
#include <2geom/sbasis.h>
#include <2geom/sbasis-math.h>
//#include <2geom/solver.h>
#include <2geom/sbasis-geometric.h>
/** Geometric operators on D2<SBasis> (1D->2D).
* Copyright 2007 JF Barraud
* Copyright 2007 N Hurst
*
* The functions defined in this header related to 2d ge... | Huluzai/DoonSketch | inkscape-0.48.5/src/2geom/sbasis-geometric.cpp | C++ | gpl-2.0 | 25,700 |
/***************************************************************************
qgsadvanceddigitizingdockwidget.h - dock for CAD tools
----------------------
begin : October 2014
copyright : (C) Denis Rouzaud
email : denis.rouzaud@gmail.com
******************... | dhenrygithub/QGIS | src/gui/qgsadvanceddigitizingdockwidget.h | C | gpl-2.0 | 17,540 |
<?php
/**
* The template for displaying Comments.
*
* The area of the page that contains both current comments
* and the comment form. The actual display of comments is
* handled by a callback to skt_photo_session_comment() which is
* located in the inc/template-tags.php file.
*
* @package SKT Photo Session
*/... | selinaross/JessesWebsite | wp-content/themes/skt-photo-session/comments.php | PHP | gpl-2.0 | 3,137 |
<?php
/**
* Googleapps helper functions
*
* @package Googleapps
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
* @author Jeff Tilson
* @copyright THINK Global School 2010 - 2015
* @link http://www.thinkglobalschool.org/
*
*/
/**
* Get account settings content
*... | THINKGlobalSchool/googleapps | lib/googleapps.php | PHP | gpl-2.0 | 36,538 |
#include "Kernel.h"
#include "Hardware.h"
#include "Process9.h"
#include "Bootloader.h"
#define LOGPM
P9PM::P9PM(Process9* owner) :m_open(), m_owner(owner), handlecount(0x100000001)
{
}
P9PM::~P9PM()
{
}
extern FILE* openapp(u32 titlehigh, u32 titlelow); //this is from Bootloader.cpp
void P9PM::Command(u32 data[]... | ichfly/XDS | source/process9/pm.cpp | C++ | gpl-2.0 | 3,443 |
#include "VCTAmbientOcclusionRenderPass.h"
#include "Debug/Statistics/StatisticsManager.h"
#include "VCTStatisticsObject.h"
bool VCTAmbientOcclusionRenderPass::IsAvailable (const RenderScene* renderScene, const Camera* camera,
const RenderSettings& settings, const RenderVolumeCollection* rvc) const
{
/*
* Always ... | maritim/LiteEngine | Engine/RenderPasses/VoxelConeTracing/VCTAmbientOcclusionRenderPass.cpp | C++ | gpl-2.0 | 3,570 |
module AjaxUiHelper
# Unobtrusive version of link_to_remote
def link_to_remote( name, options, html_options={} )
html_options[:class] = "remote #{html_options.delete(:class)}".strip
link_to(name, options, html_options)
end
def jquery_library
return '' if @jquery_library_loaded
@jquery_library_... | mikeymicrophone/greenchange | app/helpers/ajax_ui_helper.rb | Ruby | gpl-2.0 | 2,523 |
<html> <pre> <?php
print_r($_REQUEST);
if( isset( $_REQUEST['ip'] ) && isset ( $_REQUEST['mac'] ) ) {
$ip = $_REQUEST['ip'];
$mac = $_REQUEST['mac'];
exec("sudo iptables -I internet 1 -t mangle -m mac --mac-source $mac -j RETURN");
exec("sudo rmtrack " . $ip);
echo "User logged in.";
exit;
} else... | thgh/pilon | www/process.php | PHP | gpl-2.0 | 363 |
/* ------------------ BASE STYLES ------------------ */
html, body {
height: 100%;
width: 100%;
}
body {
font-family: "Open Sans", sans-serif;
font-size: 16px;
font-weight: 300;
color: #777777;
background-color: #fff !important;
line-height: 1.6;
}
body.fullscreen-image-background {
background-image:... | mazhar266/mazhar266.github.io | new/assets/css/main.css | CSS | gpl-2.0 | 144,320 |
package com.example.shokedbrain.usus;
/**
* Created by shokedbrain on 05.06.17.
*/
public class Room {
private String roomName;
public Room() {
}
public Room(String roomName) {
this.roomName = roomName;
}
public String getRoomName() {
return roomName;
}
public voi... | Macleopard/Usus | app/src/main/java/com/example/shokedbrain/usus/Room.java | Java | gpl-2.0 | 395 |
package com.xiner.game.util;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import com.xiner.game.ball.LotteryBox;
import com.xiner.game.ball.LotteryStage;
import com.xiner.game.ball.LotteryStatistic;
import com.xiner.game.ball.LotteryContain;
import com.xiner.game.... | xinerworld/ProbabilityGame | src/com/xiner/game/util/LotteryManager.java | Java | gpl-2.0 | 6,443 |
using System.Collections.Generic;
using System.IO;
using Transformer.Core.Logging;
using Transformer.Core.Model;
namespace Transformer.Core.Template
{
public class TemplateEngine
{
private static readonly ILog Log = LogManager.GetLogger(typeof(VariableResolver));
public VariableResolver Varia... | tobiaszuercher/transformer | src/Transformer.Core/Template/TemplateEngine.cs | C# | gpl-2.0 | 2,109 |
/*
* Common DPS routines
* dps.h
* Provides common structure definitions and routines for all applications
*
* Copyright (c) 2005-2006 Chris Cantwell
*
* 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... | radiowarwick/digiplay_legacy | src/dps.cpp | C++ | gpl-2.0 | 7,399 |