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 |
|---|---|---|---|---|---|
# flake8: noqa
# -*- coding: utf-8 -*-
###############################################
# Geosite local settings
###############################################
import os
# Outside URL
SITEURL = 'http://$DOMAIN'
OGC_SERVER['default']['LOCATION'] = os.path.join(GEOSERVER_URL, 'geoserver/')
OGC_SERVER['default']['PUBLI... | simonemurzilli/geonode | geonode/contrib/geosites/site_template/local_settings_template.py | Python | gpl-3.0 | 597 |
%This section should contain a little about everything. Introduction should be an overview of the contents of your thesis. The introduction should contain:
\section*{Introduction}
\label{sec:introduction}
\markboth{INTRODUCTION}{}
\addcontentsline{toc}{section}{Introduction}
% 1) Information/introduction about t... | Petrzlen/master_thesis | text/introduction.tex | TeX | gpl-3.0 | 4,520 |
package br.com.simpleblog.util;
import java.io.File;
import java.io.FileFilter;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.ServletContext;
public class ContainerBlog {
private Map<String, Blog> blogMap;
public ContainerBlog(ServletContext context) {
this.blogMap = new HashMap<String, ... | cristovao/simpleblog | impl/src/br/com/simpleblog/util/ContainerBlog.java | Java | gpl-3.0 | 860 |
package com.mdsgpp.cidadedemocratica.persistence;
import android.test.AndroidTestCase;
import com.mdsgpp.cidadedemocratica.model.Proposal;
import com.mdsgpp.cidadedemocratica.model.Tag;
import com.mdsgpp.cidadedemocratica.model.User;
import org.junit.Test;
import java.util.ArrayList;
/**
* Created by andreanmasir... | GPP-MDS-2016/2016.2-Time08-CidadeDemocratica | app/src/test/java/com/mdsgpp/cidadedemocratica/persistence/DataContainerTest.java | Java | gpl-3.0 | 6,053 |
#include <stdio.h>
void
sayHelloTo( char who[] )
{
printf( "Hello, %s!", who );
}
| YoshikuniJujo/hake_haskell | web_page/samples/use_delRules/sayHelloTo.c | C | gpl-3.0 | 86 |
<?php
/**
* PHPUnit
*
* Copyright (c) 2002-2009, Sebastian Bergmann <sb@sebastian-bergmann.de>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of so... | manusis/dblite | test/lib/phpunit/PHPUnit/Util/Log/PMD/Rule/Function/ExcessiveParameterList.php | PHP | gpl-3.0 | 3,483 |
////////////////////////////////////////////////////////////////////////////////////////////////////
// PlotSquared - A plot manager and world generator for the Bukkit API /
// Copyright (c) 2014 IntellectualSites/IntellectualCrafters /
// ... | SilverCory/PlotSquared | Core/src/main/java/com/intellectualcrafters/plot/commands/Condense.java | Java | gpl-3.0 | 12,021 |
<!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 Tue Feb 24 14:31:54 EST 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.ni.vision.... | LSRobotics/2016Robot | wpilib/java/current/javadoc/com/ni/vision/class-use/NIVision.ContourOverlaySettings.html | HTML | gpl-3.0 | 7,460 |
/*
* Beautiful Capi generates beautiful C API wrappers for your C++ classes
* Copyright (C) 2015 Petr Petrovich Petrov
*
* This file is part of Beautiful Capi.
*
* Beautiful Capi is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the ... | PetrPPetrov/beautiful-capi | tests/current_backuped_results/unit_test/include/UnitTest/Name.h | C | gpl-3.0 | 4,632 |
package nofist.api.config;
import java.io.File;
import java.util.ArrayList;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.fml.common.FMLLog;
import nofist.api.config.property.*;
import org.apache.logging.log4j.Level;
public abstract class Config {
protected ArrayList<Config... | whichonespink44/NoFist | src/main/java/nofist/api/config/Config.java | Java | gpl-3.0 | 4,993 |
//----------------------------------------------------------------------
// This file is part of PARSEC (http://physik.rwth-aachen.de/parsec)
// a parametrized simulation engine for cosmic rays.
//
// Copyright (C) 2011 Martin Erdmann, Peter Schiffer, Tobias Winchen
// RWTH Aachen University, Germany
// Conta... | cheiter/CRPropa3 | include/crpropa/magneticLens/MagneticLens.h | C | gpl-3.0 | 7,704 |
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>CNBMMGreeting</title>
<link rel="stylesheet" href="epydoc.css" type="text/css" />
<script... | hackfestca/cnb | docs/toc-cnb.modAvailable.CNBMMGreeting-module.html | HTML | gpl-3.0 | 1,276 |
package com.temoa.androidui;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.app.ActivityCompat;
import android.support.v4.app.ActivityOptionsCompat;
import android.support.v7.app.AppCompatActivity;
import android.transition.Transition;
import android.transit... | Temoa/AndroidUI | app/src/main/java/com/temoa/androidui/TransitionActivity.java | Java | gpl-3.0 | 5,526 |
/*
Copyright 2016 David Wong
This file is part of uEVA. https://github.com/DaveSketchySpeedway/uEVA
uEVA 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
any later version.
... | DaveSketchySpeedway/uEVA | RoboDrop01/ueva/display.cpp | C++ | gpl-3.0 | 3,256 |
# Aplicación bares
## Autor: Pablo Martín-Moreno Ruiz
[](https://travis-ci.org/pmmre/Bares)
[](https://snap-ci.com/pmmre/Bares/branch/master)
## Descripción de la aplicaci... | pmmre/Bares | README.md | Markdown | gpl-3.0 | 11,569 |
/**
* @package Woodkit
* @author Sébastien Chandonay www.seb-c.com License: GPL2 Text Domain: woodurls
*
* Copyright 2016 Sébastien Chandonay (email : please contact me from my website)
*
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License,... | studio-montana/woodkit | src/tools/seo/js-seourlsmanager/js/admin-seourlsmanager.js | JavaScript | gpl-3.0 | 5,199 |
package main;
import database.DbCapos;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.*;
import javafx.scene.control.cell.PropertyValueFactory;
import java.net.UR... | antoniotorres/CAPOS | src/main/inventarioController.java | Java | gpl-3.0 | 6,990 |
/*
* Copyright 2015 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, m... | williamfdevine/PrettyLinux | drivers/gpu/drm/amd/include/cgs_common.h | C | gpl-3.0 | 25,282 |
/**
* Copyright (C) 2001-2016 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the... | transwarpio/rapidminer | rapidMiner/rapidminer-studio-core/src/main/java/com/rapidminer/operator/SingleMacroDefinitionOperator.java | Java | gpl-3.0 | 4,644 |
/*
Authors:
Pavel Březina <pbrezina@redhat.com>
Copyright (C) 2013 Red Hat
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 you... | spbnick/sssd | src/providers/dp_ptask.c | C | gpl-3.0 | 13,897 |
#!/usr/bin/env ruby
# This file is part of Openplacos.
#
# Openplacos 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.
#... | openplacos/openplacos | components/hih3610.rb | Ruby | gpl-3.0 | 1,532 |
/**
* @file dll/fsop.c
*
* @copyright 2015-2017 Bill Zissimopoulos
*/
/*
* This file is part of WinFsp.
*
* 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.
*
* Licensees holding a valid commercial license m... | yogendersolanki91/winfsp | src/dll/fsop.c | C | gpl-3.0 | 62,778 |
<?php
/**
* @file
* Definition of DeimsContentDataSetMigration.
*/
class EmlDatasetMigration extends XMLMigration {
protected $dependencies = array('EmlDataFile');
public function __construct(array $arguments) {
parent::__construct($arguments);
$this->description = t('EML migration of the main data ... | lter/deims-pie-custom | modules/eml_2_deims/premigration/unh-river-network/EmlDatasetMigration.php | PHP | gpl-3.0 | 12,441 |
/*
* Unfuddle Tracker is a time tracking tool for Unfuddle service.
* Copyright (C) 2012 Vadim Zakondyrin <thekondr@crystalnix.com>
*
* This file is part of Unfuddle Tracker.
*
* Unfuddle Tracker is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Licens... | Crystalnix/Unfuddle-tracker | src/autorun/winautorun.h | C | gpl-3.0 | 1,385 |
"""
WSGI config for model_advanced project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJAN... | mjiang-27/django_learn | model_advanced/model_advanced/wsgi.py | Python | gpl-3.0 | 406 |
\hypertarget{classrender}{}\section{render Class Reference}
\label{classrender}\index{render@{render}}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\mbox{\Hypertarget{classrender_a57f6475d3e11334afcec4b724b3a746a}\label{classrender_a57f6475d3e11334afcec4b724b3a746a}}
void {\bfseries set\+\_\... | DMJC/mg2modeller- | doc/latex/classrender.tex | TeX | gpl-3.0 | 1,249 |
package br.com.sistemapetshop.model;
/**
*
* @author Jonathan Romualdo
*/
public enum StatusConsulta {
MARCADA, CONSULTADA, CONCLUIDA;
}
| Allansantosdefreitas/Projeto-software-corporativo | Projeto/SoftCorpPet/SoftCorpPet/src/main/java/br/com/sistemapetshop/model/StatusConsulta.java | Java | gpl-3.0 | 151 |
<!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... | alexqfredrickson/vcvj | docs/html/classvcvj_1_1_models_1_1_grammatical___subcomponents_1_1_color_table-members.html | HTML | gpl-3.0 | 7,760 |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <Foundation/Foundation.h>
@class NSDictionary;
__attribute__((visibility("hidden")))
@interface WAPhoneNumberGeocoder : NSObject
{
NSDictionary *_maps;
}
+ (id)shared... | iMokhles/WAEnhancer | WAHeaders/WAPhoneNumberGeocoder.h | C | gpl-3.0 | 453 |
<div class="row">
<div class="col-lg-12">
<div class="jumbotron">
<h1>Bootstrap Tutorial</h1>
<p>Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile-first projects on the web.</p>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12 textrow">
<div class="pa... | thijsvandiessen/portfolio | elements/example2.php | PHP | gpl-3.0 | 1,961 |
#!/usr/bin/env bash
set -o errexit #abort if any command fails
# cloned from https://github.com/X1011/git-directory-deploy
# CONFIG:
# GIT_DEPLOY_DIR: root of the tree of files to deploy
# GIT_DEPLOY_BRANCH: branch to commit files to and push to origin
# GIT_DEPLOY_USERNAME, GIT_DEPLOY_EMAIL: identity to use for git c... | ivarprudnikov/android_sensors | website/deploy_to_github.sh | Shell | gpl-3.0 | 5,170 |
#!/usr/bin/env python
# vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai
__license__ = 'GPL v3'
__copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
import os, subprocess, hashlib, shutil, glob, stat, sys, time
from subprocess import check_call
from tempfile import NamedT... | Eksmo/calibre | setup/upload.py | Python | gpl-3.0 | 10,267 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package development.downright.cucumberbeans.integration.hints;
import java.awt.Dimension;
import java.awt.Toolkit;
import javax.swing.text.Document;
import development.downright.cucumberbeans.integration.palette.dialogu... | dzsessona/Cetriolo | src/main/java/development/downright/cucumberbeans/integration/hints/ExpectingTitleFix.java | Java | gpl-3.0 | 1,875 |
'use strict';
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(gene... | LaurentTreguier/node-meta-pkg | out/source/util.js | JavaScript | gpl-3.0 | 2,876 |
# Use this hook to configure devise mailer, warden hooks and so forth.
# Many of these configuration options can be set straight in your model.
Devise.setup do |config|
# ==> LDAP Configuration
config.ldap_logger = Rails.env.downcase == 'development' ? true : false
config.ldap_create_user = true
config.ldap_up... | bananabr/RSRS | app/config/initializers/devise.rb | Ruby | gpl-3.0 | 13,928 |
<?php
/*
* This file is part of the Level 7 Systems Ltd. platform.
*
* (c) Kamil Adryjanek <kamil@level7systems.co.uk>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
class L7P_Install
{
public function __construct()
{
... | level7systems/wp-l7plugin | includes/L7P_Install.php | PHP | gpl-3.0 | 40,853 |
<html dir="ltr">
<head>
<meta name="author" content="github.com/miguel456"></meta>
<!-- Warning: Low quality HTML. Please customise this page as instructed in readme.md! -->
</head>
<body dir="ltr">
<div align="center">
<h1>401 Несанкционированное</h1>
<h4>За... | miguel456/php-ip-address-logger | statusPages/ru/401.html | HTML | gpl-3.0 | 822 |
<!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 7f75d35b ... | katsikas/gnuradio | build/docs/doxygen/html/functions_func_0x61.html | HTML | gpl-3.0 | 10,415 |
<?php if (isset($msg)) echo $msg; ?>
<?php if ( !isset($evento) && isset($_SESSION['Cliente'])) { ?>
<div class="container-fluid">
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-10 ">
<div class="panel panel-primary">
<div class="panel-heading"><strong><?php echo '<strong>' . $_SESSIO... | ktracaengemark/sistema2 | application/views/orcatrata/form_orcatrata.php | PHP | gpl-3.0 | 52,660 |
#!/usr/bin/perl
=head1 Description
This pipeline is to use kgf to fill gaps. kgf is a new gap filling program, based on PE reads and gap edge related reads. All the reads assembled by overlap method. This pipeline contains collecting gap related reads, reads filter, gap filling gap analysis, filling gaps and ... | gigascience/paper-zhang2014 | Genome_assembly/GapCloser/krskgf/krskgf.pl | Perl | gpl-3.0 | 10,558 |
package com.chandilsachin.diettracker.io;
import android.content.res.AssetManager;
import android.util.Log;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFound... | chandilsachin/DietTracker | app/src/main/java/com/chandilsachin/diettracker/io/JSONReader.java | Java | gpl-3.0 | 9,078 |
package org.asamk.signal.manager.api;
public class StickerPackInvalidException extends Exception {
public StickerPackInvalidException(String message) {
super(message);
}
}
| AsamK/signal-cli | lib/src/main/java/org/asamk/signal/manager/api/StickerPackInvalidException.java | Java | gpl-3.0 | 190 |
<!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... | ojrosten/sequoia | docs/html/d6/dd7/structsequoia_1_1maths_1_1graph__impl_1_1edge__init__type__generator_3_01Edge_00_01graph__flavou7f6f94d18bc9e3c3baf07b80d940b4cc.html | HTML | gpl-3.0 | 6,035 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright company="MirGames" file="TopicCreatedEvent.cs">
// Copyright 2014 Bulat Aykaev
// This file is part of MirGames.
// MirGames is free software: you can redistribute it and/or modify it u... | mefcorvi/mirgames | MirGames.Domain.Topics.Public/Events/TopicCreatedEvent.cs | C# | gpl-3.0 | 2,130 |
/*
Copyright (C) 2012-2014 de4dot@gmail.com
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, m... | telerik/justdecompile-plugins | De4dot.JustDecompile/De4dot/sources/dnlib/src/DotNet/MD/ComImageFlags.cs | C# | gpl-3.0 | 2,138 |
/*
File: draaugmentrequest.c
Project: dragonfly
Author: Douwe Vos
Date: Dec 27, 2016
e-mail: dmvos2000(at)yahoo.com
Copyright (C) 2016 Douwe Vos.
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
... | douwevos/natpad | dragonfly/src/document/draaugmentrequest.c | C | gpl-3.0 | 5,958 |
package org.matheclipse.io.system;
public class ProductTest extends AbstractTestCase {
public ProductTest(String name) {
super(name);
}
public void testProduct001() {
// Config.MAX_BIT_LENGTH = Integer.MAX_VALUE;
// check("AbsoluteTiming(Product(i,{i,1,10^6});)", //
// "");
// message Prod... | axkr/symja_android_library | symja_android_library/matheclipse-io/src/test/java/org/matheclipse/io/system/ProductTest.java | Java | gpl-3.0 | 5,446 |
/*
Copyright (c) 2007-2011 iMatix Corporation
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
This file is part of 0MQ.
0MQ 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 Softw... | cwt137/zeromq3-0 | src/router.hpp | C++ | gpl-3.0 | 2,931 |
/*
* pata_opti.c - ATI PATA for new ATA layer
* (C) 2005 Red Hat Inc
*
* Based on
* linux/drivers/ide/pci/opti621.c Version 0.7 Sept 10, 2002
*
* Copyright (C) 1996-1998 Linus Torvalds & authors (see below)
*
* Authors:
* Jaromir Koutek <miri@punknet.cz>,
* Jan Harkes <jaharkes@cwi.nl>,
* Mark Lord... | Siosm/contextd-capture | linux-2.6.32-hardened-r22/drivers/ata/pata_opti.c | C | gpl-3.0 | 5,602 |
/****************************************************************************
**
** This file is part of LAN Messenger.
**
** Copyright (c) 2010 - 2012 Qualia Digital Solutions.
**
** Contact: qualiatech@gmail.com
**
** LAN Messenger is free software: you can redistribute it and/or modify
** it under the t... | dilipvinu/lanmsngr | lmc/src/broadcastwindow.cpp | C++ | gpl-3.0 | 13,360 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# TODO: PORASQUI: BUG: Cerrar la ventana no detiene el GMapCatcher y se queda
# como un proceso de fondo en espera bloqueante... Ni atiende al Ctrl+C
# siquiera.
import sys, os.path
dirfichero = os.path.realpath(os.path.dirname(__file__))
if os.path.realpath(os.path.cur... | pacoqueen/cican | utils/mapa.py | Python | gpl-3.0 | 6,423 |
local PLUGIN = Plugin("Helpmenu")
function PLUGIN:OnEnable()
util.AddNetworkString("SAHelpMenu")
hook.Add("ShowHelp", "SAHelpMenu", function(ply)
net.Start("SAHelpMenu")
net.Send(ply)
return true
end)
end
function PLUGIN:OnDisable()
hook.Remove("ShowHelp", "SAHelpMenu")
end
SA:RegisterPlugin(PLUGIN) | SimonSchick/sa2 | gamemode/plugins/server/helpmenu.lua | Lua | gpl-3.0 | 313 |
#significant input and copied functions from T. Morton's VESPA code (all mistakes are my own)
#coords -- RA and DEC of target in degrees. Needed for GAIA querying.
# Degrees, 0-360 and -90 to +90. List format [RA,DEC].
import numpy as np
import pandas as pd
from scipy.integrate import quad
from scipy import... | DJArmstrong/autovet | FPPcalc/priorutils.py | Python | gpl-3.0 | 16,928 |
#include "stitchimportdialog.h"
#include "ui_stitchimportdialog.h"
#include <Data/Import/binaryimport.h>
#include "Data/Import/textimport.h"
StitchImportDialog::StitchImportDialog(QWidget *parent, QSharedPointer<VespucciWorkspace> ws) :
QDialog(parent),
ui(new Ui::StitchImportDialog)
{
ui->setupUi(this);
... | VespucciProject/Vespucci | Vespucci/GUI/Processing/stitchimportdialog.cpp | C++ | gpl-3.0 | 5,403 |
/*
* This file is part of the continuous space language and translation model toolkit
* for statistical machine translation and large vocabulary speech recognition.
*
* Copyright 2015, Holger Schwenk, LIUM, University of Le Mans, France
*
* The CSLM toolkit is free software; you can redistribute it and/or modify ... | hschwenk/cslm-toolkit | MachSoftmaxStable.h | C | gpl-3.0 | 2,360 |
"""
/*
* Custom handlers for the BBB
*
*/
"""
import Adafruit_BBIO.GPIO as GPIO
GPIO.setup("P9_12", GPIO.OUT)
def alexaHandler(client, userdata, message):
print "Received payload: " + str(message.payload.decode())
# Assume only 1 and 0 are send here.
if message.payload == "1":
GPIO.output("P9_1... | Metonimie/Beaglebone | alexa-amazon/basicServer/gpio_handlers.py | Python | gpl-3.0 | 525 |
SUB_PROJ=openmp.mk mpi_static.mk mpi_dyn.mk mpi_dyn_omp.mk
.PHONY: all
all: build
.PHONY: build
build: $(SUB_PROJ:=.build)
.PHONY: %.build
%.build: %
$(MAKE) -f $^ build
.PHONY: rebuild
rebuild: | clean build
.PHONY: clean
clean: $(SUB_PROJ:=.clean)
.PHONY: %.clean
%.clean: %
$(MAKE) -f $^ clean
.PHONY: archi... | jmesmon/trifles | brot/Makefile | Makefile | gpl-3.0 | 459 |
// This code is automatically generated
#include <boost/python.hpp>
#include <boost/cstdint.hpp>
#include <boost/python/def.hpp>
#include <boost/python/args.hpp>
#include <boost/python/overloads.hpp>
using namespace boost::python;
#include <spuc/bpsk_dd_phase.h>
#include <spuc/bpsk_quadricorrelator.h>
#include <spuc... | sav6622/spuc | pyste/real_template_functions_float.cpp | C++ | gpl-3.0 | 1,254 |
<!DOCTYPE html>
<!--
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
-->
<html>
<head>
<title>Using DevTools Plugin — CKEditor Sample</title>
<meta charset="utf-8">
<script src="../ckeditor.js"></script>
<link rel="styl... | tsmaryka/hitc | public/javascripts/ckeditor/samples/devtools.html | HTML | gpl-3.0 | 2,862 |
<?php
/*
This is a media database to mange your Games.
Copyright (C) 2013 Nick Tranholm Asselberghs
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... | Asselberghs/Game-Project | intro.php | PHP | gpl-3.0 | 1,629 |
// Copyright (c) The University of Dundee 2018-2019
// This file is part of the Research Data Management Platform (RDMP).
// RDMP 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... | HicServices/RDMP | Rdmp.Core/CommandLine/Interactive/ConsoleInputManager.cs | C# | gpl-3.0 | 16,346 |
#!/usr/bin/python
# Copyright (C) 2013 rapidhere
#
# Author: rapidhere <rapidhere@gmail.com>
# Maintainer: rapidhere <rapidhere@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, ... | rapidhere/snake_game | snake_game.py | Python | gpl-3.0 | 1,496 |
/**
*
*/
Ext.define('Healthsurvey.view.searchengine.search.DouMeanView', {
extend : 'Ext.form.Label',
xtype : 'DouMeanView',
//margin : '1 1 1 1',
bodyStyle : 'background:#D8D8D8',
border : 1,
requires : [ 'Healthsurvey.view.searchengine.search.DouMeanController' ],
controller : 'DouMeanController',
initCo... | applifireAlgo/appApplifire | healthsurvey/src/main/webapp/app/view/searchengine/search/DouMeanView.js | JavaScript | gpl-3.0 | 913 |
# -*- coding: utf-8 -*-
from __future__ import absolute_import
import re
try:
import regex
_regex_available = True
except ImportError:
_regex_available = False
import phonenumbers
from six.moves import zip
from language_utilities.constant import ENGLISH_LANG
from ner_v2.detectors.base_detector import B... | hellohaptik/chatbot_ner | ner_v2/detectors/pattern/phone_number/phone_number_detection.py | Python | gpl-3.0 | 6,667 |
# See bottom of file for license and copyright information
package Foswiki::Contrib::DBIStoreContrib::LinkHandler;
# Links table -> subset of Topic_History
use strict;
use warnings;
use Assert;
use IO::File ();
use DBI ();
use File::Copy ();
use File::Spec ();
use File::Path ();
use Fcntl qw( :DEFAULT... | favioflamingo/wiki | perl/lib/Foswiki/Contrib/DBIStoreContrib/LinkHandler.pm | Perl | gpl-3.0 | 19,449 |
# Webtris
A simple Tetris clone written in JavaScript, meant to teach beginner programmers how to design games
To see a demo of the game, <a href="http://originalgrego.github.io/Webtris/Webtris_final/Webtris.html" target="_blank">click here</a>
| originalgrego/Webtris | README.md | Markdown | gpl-3.0 | 246 |
/*
* Decompiled with CFR 0_115.
*
* Could not load the following classes:
* android.graphics.drawable.Drawable
* android.widget.CompoundButton
*/
package android.support.v4.widget;
import android.graphics.drawable.Drawable;
import android.widget.CompoundButton;
class CompoundButtonCompatApi23 {
CompoundB... | SPACEDAC7/TrabajoFinalGrado | uploads/34f7f021ecaf167f6e9669e45c4483ec/java_source/android/support/v4/widget/CompoundButtonCompatApi23.java | Java | gpl-3.0 | 479 |
package com.john.kalimeris.notes;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
/**
* Created by John on 02/10/16.
*/
public class DatabaseHandler extends SQLiteOpenHelper {
private static final String D... | JohnKal/Notes | app/src/main/java/com/john/kalimeris/notes/DatabaseHandler.java | Java | gpl-3.0 | 1,924 |
/*
* This is small example how to use libZPlay library to play files.
* This example is using OpenFile functions to open disk files and play.
*
*/
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <olectl.h>
#include <ole2.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#inclu... | hbuexinxin/AirZPlayer | Code/libzplay-2.02-sdk/C++/example/display_id3.cpp | C++ | gpl-3.0 | 2,995 |
puppetHPCC
==========
dd
A puppet module for easy deletion of directories and their
contained files through the use of glob like expressions.
example, can easily remove all files with the appendix -rc1 etc.
hosts
A puppet module using templates to create the /etc/hosts file on
our agent machines.
pcon... | Michael-Gardner/modules | README.md | Markdown | gpl-3.0 | 432 |
#!/bin/sh
#-----------------------------------------------------------------------------
#
# This is an especially complex case of the coastline looping back on
# itself.
#
#-----------------------------------------------------------------------------
# shellcheck source=test/init.sh
. "$1/test/init.sh"
set -x
#--... | osmcode/osmcoastline | test/t/invalid-complex-overlap.sh | Shell | gpl-3.0 | 1,391 |
/*
* This file is part of MinecartRevolutionTags.
* Copyright (c) 2013 QuarterCode <http://www.quartercode.com/>
*
* MinecartRevolutionTags is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either ve... | QuarterCode/MinecartRevolutionTags | src/main/java/com/quartercode/minecartrevolutiontags/TagSign.java | Java | gpl-3.0 | 1,695 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2011 Yann GUIBET <yannguibet@gmail.com>
# See LICENSE for details.
import sys, os
from gevent import select, monkey, spawn, Greenlet, GreenletExit, sleep, socket
from base64 import b64encode
from hashlib import md5
from struct import pack, unpack
from zl... | yann2192/vpyn | Client.py | Python | gpl-3.0 | 2,459 |
/*
* Copyright (C) 2015 Uhlig e Korovsky Tecnologia Ltda - ME
*
* 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.
*... | uktechbr/bmt | src/main/java/br/com/uktech/bmt/bacula/bean/BaculaVersion.java | Java | gpl-3.0 | 3,131 |
/*
===========================================================================
Copyright (c) 2010-2012 Darkstar Dev Teams
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 versio... | Laterus/Darkstar-Linux-Fork | src/map/packets/fishing.h | C | gpl-3.0 | 1,340 |
- [ ] Issue #: (Replace text with #<issue_number>)
- [ ] Have you listed any changes to install or build dependencies?
- [ ] Have you updated the [CHANGELOG](CHANGELOG.md) with details of changes to the codebase, this includes new functionality, deprecated features, or any other material changes.
- [ ] If necessary, ha... | mattgwwalker/msg-extractor | .github/PULL_REQUEST_TEMPLATE.md | Markdown | gpl-3.0 | 842 |
<!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... | sherman5/MeleeModdingLibrary | docs/struct_logic.html | HTML | gpl-3.0 | 5,095 |
/*
* This file is part of the Yices SMT Solver.
* Copyright (C) 2017 SRI International.
*
* Yices 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) a... | ianamason/yices2 | src/solvers/floyd_warshall/idl_floyd_warshall.c | C | gpl-3.0 | 66,769 |
#ifndef RUN_HPP
#define RUN_HPP
#include <QWidget>
#include "game/loop.hpp"
#include "game/network/api.hpp"
namespace Game {
extern Game::Loop *gameloop;
extern Game::Network::Api *api;
void start(QWidget* widget);
void upload(QString name, int score);
void updateHighscore(QWidget* widget);
} ... | Madh93/simon-says-pi | include/game/run.hpp | C++ | gpl-3.0 | 357 |
### [autofig](autofig.md).[call](autofig.call.md).[Plot](autofig.call.Plot.md).get_cmap (function)
```py
def get_cmap(self, cmapcycler=None)
```
| kecnry/autofig | docs/api/autofig.call.Plot.get_cmap.md | Markdown | gpl-3.0 | 151 |
/**
* Created by root on 9/15/16.
*/
$(function (home) {
$('#home').ready(function (event) {
var url = $(location).attr('pathname');
var tok = $('input[name=csrfmiddlewaretoken]').val();
var delete_route_form = 'delete_route_form';
var submit_delete = 'submit_delete';
var... | Oleh-Hrebchuk/OpenVPN-TryFalse | static/js/acl_settings.js | JavaScript | gpl-3.0 | 4,372 |
#ifndef __BIR_EXT_H__
#define __BIR_EXT_H__
/*
* DO NOT MODIFY. This file is automatically generated by scripts/apigen.py,
* based on the <plugin>_int.h file in your plugin directory.
*/
#include <dlfcn.h>
#include "panda_plugin.h"
typedef void(*index_this_passage_c_t)(void *vpindc, void *vpindex, uint8_t *binary... | KernelAnalysisPlatform/kvalgrind | qemu/panda_plugins/bir/bir_ext.h | C | gpl-3.0 | 5,558 |
<div class="post">
<div class="alert">
<strong>Psst. Your database is showing.</strong>
<a href="about/configure" class="go">Fix the configuration</a>
</div>
</div>
| yolesaber/altermet | app/views/_server_config.php | PHP | gpl-3.0 | 177 |
# Fiches de Travaux Pratiques
Ce répertoire contient un ensemble de fiches pédagogiques destinées à l'enseignement du HTML, du CSS, le JavaScript (et pourquoi pas plus).
[Voir l'ensemble des fiches →](http://traindrop.github.io/fiches/)
## Contribuer une nouvelle fiche
Pour commencer une nouvelle fiche, vous devez ... | TrainDrop/traindrop.github.io | README.md | Markdown | gpl-3.0 | 2,283 |
/* This file is part of Sensorium2 <http://code.google.com/p/sensorium>
*
* Copyright (C) 2009-2010 Aaron Maslen
* 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... | lukgad/sensorium | Sensorium2/Core/AppData.cs | C# | gpl-3.0 | 2,863 |
* This file contains the following subroutines, related to reading the
* extraterrestrial spectral irradiances:
* rdetfl
* read1
* read2
*=============================================================================*
SUBROUTINE rdetfl(nw,wl,f)
*-------------------------------------------------------... | pb866/TUV_DSMACC | SRC/rdetfl.f | FORTRAN | gpl-3.0 | 27,020 |
/**********************************************************
*Author: wangjiaying
*Date: 2016.8.11
*Func:
**********************************************************/
using UnityEngine;
using UnityEditor;
using CryDialog.Runtime;
namespace CryDialog.Editor
{
public class DialogEditorWindow : EditorWindow
{
... | CWHISME/CryDialogSystem | DialogSystem/Assets/DialogSystem/System/Editor/DialogEditorWindow.cs | C# | gpl-3.0 | 6,211 |
### Gamemode: Toy Of Wars

#### Server:
sa-mp 0.3.7 R1
#### Mode:
TDM
#### Status:
Complited
#### Map:
Custom locations
#### Release:
v1, 8 aug 2015
#### Update:
v3e1, 2 nov 2015
#### Contributors: ... | Logofero/ToyOfWars | README.md | Markdown | gpl-3.0 | 1,316 |
PORT="8085"
LOGGING="--accessLoggerClassName=winstone.accesslog.SimpleAccessLogger"
java -jar ./winstone-0.9.10.jar ../../build --directoryListings=false ${LOGGING} --httpPort=${PORT}
| hrj/tdash | framework/winstone/runWebServer.sh | Shell | gpl-3.0 | 186 |
var fs = require('fs');
var https = require('https');
var readline = require('readline');
var google = require('googleapis');
var googleAuth = require('google-auth-library');
var SCOPES = ['https://www.googleapis.com/auth/drive.metadata.readonly'];
// TOKEN_DIR is where the access token is stored AFTER you get it
va... | cjohnson6382/herms | old/nodejs.js | JavaScript | gpl-3.0 | 3,512 |
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2016 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* J... | MHTaleb/Encologim | lib/JasperReport/src/net/sf/jasperreports/engine/xml/JRPrintXmlLoader.java | Java | gpl-3.0 | 14,406 |
namespace S2Forms
{
partial class MainWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | calum74/s2 | csharp/S2Forms/MainWindow.Designer.cs | C# | gpl-3.0 | 17,154 |
<!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:26 PDT 2014 -->
<title>NameCallback (Java Platform SE 8 )</title>
<meta name="date" content="2014-06-16">
<meta name="k... | DeanAaron/jdk8 | jdk8en_us/docs/api/javax/security/auth/callback/NameCallback.html | HTML | gpl-3.0 | 17,965 |
/*********************************************************************
Fits - View and manipulate FITS extensions and/or headers.
Fits is part of GNU Astronomy Utilities (Gnuastro) package.
Original author:
Mohammad Akhlaghi <akhlaghi@gnu.org>
Contributing author(s):
Copyright (C) 2017, Free Software Foundation, ... | VladimirMarkelov/gnuastro-vvm | bin/fits/extension.h | C | gpl-3.0 | 1,083 |
<!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:36:03 PDT 2014 -->
<title>Uses of Class java.awt.image.BufferedImage (Java Platform SE 8 )</title>
<meta name="date" conte... | DeanAaron/jdk8 | jdk8en_us/docs/api/java/awt/image/class-use/BufferedImage.html | HTML | gpl-3.0 | 71,127 |
/* Copyright 2009, 2015 Red Hat, Inc.
*
* Portions adapted from Mx's data/style/default.css
* Copyright 2009 Intel Corporation
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU Lesser General Public License,
* version 2.1, as published by th... | eti1337/arc-theme-orange | common/gnome-shell/3.14/gnome-shell-dark.css | CSS | gpl-3.0 | 60,923 |
<?php
require_once './criscomp.notificacao.class.php';
// Exibir apena texto
(new criscomp_notify('cristiano'))->enviarNotificacao("Criscomp exemplo", "Exemplo para exibir notificação");
// Exibir com icone, texto
//(new criscomp_notify('cristiano'))->enviarNotificacao("Criscomp exemplo", "Exemplo para exibir notifi... | criscompbr/class_notify_send | index.php | PHP | gpl-3.0 | 683 |
import shesha.config as conf
simul_name = "bench_scao_sh_16x16_8pix"
layout = "layoutDeFab_SH"
# loop
p_loop = conf.Param_loop()
p_loop.set_niter(1000)
p_loop.set_ittime(0.002) # =1/500
# geom
p_geom = conf.Param_geom()
p_geom.set_zenithangle(0.)
# tel
p_tel = conf.Param_tel()
p_tel.set_diam(4.0)
p_tel.set_cobs... | ANR-COMPASS/shesha | data/par/par4tests/test_custom_dm_diam_dm_proj.py | Python | gpl-3.0 | 2,303 |
/*******************************************************************************
moPostEffectDebug.h
****************************************************************************
* *
* This source is free software; y... | inaes-tic/tv-moldeo | plugins/PostEffects/Debug/inc/moPostEffectDebug.h | C | gpl-3.0 | 2,835 |
using System;
using invertika_game.Game;
using ISL.Server.Utilities;
using System.Collections.Generic;
using ISL.Server.Common;
namespace invertika_game
{
public class TriggerArea: Thing
{
Rectangle mZone;
TriggerAction mAction;
bool mOnce;
List<Actor> mInside;
/**
... | Invertika/server | invertika-game/Game/TriggerArea.cs | C# | gpl-3.0 | 1,740 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.