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 |
|---|---|---|---|---|---|
package org.elsys.InternetProgramming;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.net.Socket;
public class ServerHandler {
private Socket socket;
public ServerHandler(... | edudev/internet_programming | Homework2/workspace/DateFormatterClient/src/org/elsys/InternetProgramming/ServerHandler.java | Java | gpl-3.0 | 1,328 |
import sys, math
from test import goertzel
import wave
import pyaudio
import Queue
import numpy as np
if len(sys.argv) < 2:
print "Usage: %s <filename> " % sys.argv[0]
sys.exit(1)
filename = sys.argv[1]
w = wave.open(filename)
fs = w.getframerate()
width = w.getsampwidth()
chunkDuration = .2 #.2 second chunks... | jloloew/AirBridge | parse.py | Python | gpl-3.0 | 3,509 |
// Decompiled with JetBrains decompiler
// Type: StartupSceneAnimDriver
// Assembly: Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 19851F1B-4780-4223-BA01-2C20F2CD781E
// Assembly location: C:\Users\CGA Computer\Desktop\LEGO Universe Stuff\LOCO Server\Unity Web Player Extractor\Saved ... | mater06/LEGOChimaOnlineReloaded | LoCO Client Files/Decompressed Client/Extracted DLL/Assembly-CSharp/StartupSceneAnimDriver.cs | C# | gpl-3.0 | 859 |
using System;
using System.Collections.Generic;
using System.Linq;
using Minedrink_UWP.View;
using Windows.ApplicationModel;
using Windows.Foundation;
using Windows.UI.Core;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Automation;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Navig... | SongOfSaya/Minedrink | Minedrink_UWP/Minedrink_UWP/MainPage.xaml.cs | C# | gpl-3.0 | 21,385 |
//===--- SemaExprCXX.cpp - Semantic Analysis for Expressions --------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | chriskmanx/qmole | QMOLEDEV/llvm-2.8/tools/clang-2.8/lib/Sema/SemaExprCXX.cpp | C++ | gpl-3.0 | 124,344 |
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2014 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... | aleatorio12/ProVentasConnector | jasperreports-6.2.1-project/jasperreports-6.2.1/src/net/sf/jasperreports/engine/virtualization/FloatSerializer.java | Java | gpl-3.0 | 1,687 |
<?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 an... | culturagovbr/portal-vale-cultura | projeto/library/Zend/Controller/Action/Helper/FlashMessengerType.php | PHP | gpl-3.0 | 6,914 |
#exploderLightPanel{
position: absolute;
width: 90%;
margin-left: 5%;
height: 90%;
margin-top: 5%;
background-color: white;
z-index: 999;
padding: 2em;
}
.level{
} | foundry196-web/triage | Test Extensions/HTML Exploder/exploder.css | CSS | gpl-3.0 | 186 |
<?php
/*
##########################################################################
# #
# Version 4 / / / #
# -----------__---/__---__------__----__---/---/- #
# ... | webSPELL/webSPELL | languages/nl/news.php | PHP | gpl-3.0 | 3,801 |
package com.ouser.module;
import java.util.HashMap;
import java.util.Map;
import com.ouser.util.StringUtil;
import android.os.Bundle;
/**
* 照片
* @author hanlixin
*
*/
public class Photo {
public enum Size {
Small(80, 0), /** 小列表,菜单 */
Normal(100, 1), /** profile */
Large(134, 2), /**... | tassadar2002/ouser | src/com/ouser/module/Photo.java | Java | gpl-3.0 | 3,179 |
package bdv.server;
import bdv.db.UserController;
import bdv.model.DataSet;
import bdv.util.Render;
import org.eclipse.jetty.server.Handler;
import org.eclipse.jetty.server.Request;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.handler.ContextHandlerCollection;
import org.eclipse.jetty.util.l... | hkmoon/bigdataviewer-server | src/main/java/bdv/server/UserPageHandler.java | Java | gpl-3.0 | 13,172 |
/*
* Copyright 2006, 2007 Alessandro Chiari.
*
* This file is part of BrewPlus.
*
* BrewPlus is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option)... | rekhyt75/BrewPlus-IFDB | brewplus/brewplus-ifdb/src/main/java/jmash/YeastType.java | Java | gpl-3.0 | 4,355 |
<!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>FastaPlus: Member L... | RobertBakaric/FastaPlus | doc/doxy/html/classfasta_1_1XnuScores-members.html | HTML | gpl-3.0 | 7,921 |
/*
* Copyright 2016 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "cros_gralloc_helpers.h"
#include <cstdlib>
#include <cutils/log.h>
#include <fcntl.h>
#include <xf86drm.h>
uint64_t cros_gralloc_con... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/minigbm/src/cros_gralloc/cros_gralloc_helpers.cc | C++ | gpl-3.0 | 4,210 |
// Copyright 2015, 2016 Parity Technologies (UK) Ltd.
// This file is part of Parity.
// Parity is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any la... | jesuscript/parity | js/src/views/Signer/components/TransactionPending/transactionPending.js | JavaScript | gpl-3.0 | 4,499 |
from controllers.job_ctrl import JobController
from models.job_model import JobModel
from views.job_view import JobView
class MainController(object):
def __init__(self, main_model):
self.main_view = None
self.main_model = main_model
self.main_model.begin_job_fetch.connect(self.on_begin_jo... | redline-forensics/auto-dm | controllers/main_ctrl.py | Python | gpl-3.0 | 2,757 |
<?php
namespace ModulusAcl\Form;
use ModulusForm\Form\FormDefault,
Zend\Form\Element\Select;
class Route extends FormDefault
{
public function addElements()
{
$this->add(array(
'name' => 'id',
'options' => array(
'label' => '',
),
... | ZF2-Modulus/ModulusAcl | src/ModulusAcl/Form/Route.php | PHP | gpl-3.0 | 2,291 |
package edu.stanford.nlp.mt.lm;
import java.util.concurrent.atomic.AtomicReference;
import java.util.concurrent.locks.ReentrantLock;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import edu.stanford.nlp.mt.util.IString;
import edu.stanford.nlp.mt.util.Sequence;
import edu.stanfo... | Andy-Peng/phrasal | src/edu/stanford/nlp/mt/lm/KenLanguageModel.java | Java | gpl-3.0 | 6,706 |
// Decompiled with JetBrains decompiler
// Type: System.Xml.Linq.BaseUriAnnotation
// Assembly: System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// MVID: D3650A80-743D-4EFB-8926-AE790E9DB30F
// Assembly location: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\Sys... | mater06/LEGOChimaOnlineReloaded | LoCO Client Files/Decompressed Client/Extracted DLL/System.Xml.Linq/System/Xml/Linq/BaseUriAnnotation.cs | C# | gpl-3.0 | 530 |
#!/usr/bin/python
#
# Problem: Making Chess Boards
# Language: Python
# Author: KirarinSnow
# Usage: python thisfile.py <input.in >output.out
from heapq import *
def process(r1, r2, c1, c2):
for i in range(r1, r2):
for j in range(c1, c2):
if 0 <= i < m and 0 <= j < n:
if g[i]... | KirarinSnow/Google-Code-Jam | Round 1C 2010/C.py | Python | gpl-3.0 | 1,627 |
package appalachia.rtg.world.biome.realistic.appalachia.adirondack;
import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.init.Blocks;
import net.minecraft.world.biome.Biome;
import net.minecraft.world.chunk.ChunkPrimer;
import appalachia.api.Ap... | Team-RTG/Appalachia | src/main/java/appalachia/rtg/world/biome/realistic/appalachia/adirondack/RealisticBiomeAPLAdirondackBeach.java | Java | gpl-3.0 | 4,464 |
// Decompiled with JetBrains decompiler
// Type: System.Boolean
// Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// MVID: 255ABCDF-D9D6-4E3D-BAD4-F74D4CE3D7A8
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll
using System.Runtime.InteropServices;
... | mater06/LEGOChimaOnlineReloaded | LoCO Client Files/Decompressed Client/Extracted DLL/mscorlib/System/Boolean.cs | C# | gpl-3.0 | 11,794 |
/*
* Copyright (c) 2010-2012 Matthias Klass, Johannes Leimer,
* Rico Lieback, Sebastian Gabriel, Lothar Gesslein,
* Alexander Rampp, Kai Weidner
*
* This file is part of the Physalix Enrollment System
*
* Foobar is free software: you can redistribute it and/or modify
* it under the t... | physalix-enrollment/physalix | UserGui/src/main/java/hsa/awp/usergui/EventDetailPanel.java | Java | gpl-3.0 | 6,335 |
@import url("e4_basestyle.css");
@import url("relations.css");
.MTrimmedWindow {
background-color: #E1E6F6;
}
.MPartStack {
font-size: 9;
font-family: 'Segoe UI';
swt-simple: true;
swt-mru-visible: true;
}
.MTrimBar {
background-color: #E1E6F6;
}
.MToolControl.TrimStack {
frame-image: url(./win7TSF... | aktion-hip/relations | org.elbe.relations/css/e4_default_mru_on_win7.css | CSS | gpl-3.0 | 1,254 |
/*
* AverMedia RM-KS remote controller keytable
*
* Copyright (C) 2010 Antti Palosaari <crope@iki.fi>
*
* 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 Li... | williamfdevine/PrettyLinux | drivers/media/rc/keymaps/rc-avermedia-rm-ks.c | C | gpl-3.0 | 2,710 |
// Copyright (C) 2015 xaizek <xaizek@posteo.net>
//
// This file is part of dit.
//
// dit is free software: you can redistribute it and/or modify
// it under the terms of version 3 of the GNU Affero General Public
// License as published by the Free Software Foundation.
//
// dit is distributed in the hope that it wil... | xaizek/dit | src/cmds/CompleteCmd.cpp | C++ | gpl-3.0 | 1,964 |
namespace DemoWinForm
{
partial class frmMapFinder
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | anonymouskeyboard47/Tripodmaps | ShapeFileTools/frmMapFinder.Designer.cs | C# | gpl-3.0 | 38,884 |
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | s20121035/rk3288_android5.1_repo | packages/apps/Dialer/src/com/android/dialer/calllog/CallLogListItemHelper.java | Java | gpl-3.0 | 10,890 |
#ifndef _TREENODE_H
#define _TREENODE_H
#include <stdio.h>
#include <stdbool.h>
#include <wptypes.h>
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */
typedef struct _wp_treenode wp_tree_node_t;
typedef enum _rb_wp_tree_node_cloor
{
RB_TREE_RED = 0,
RB_TREE_BLACK,
} wp_rb_tree_node_color_t;
wp_tree_node_t... | 4179e1/libwp | src/wptreenode.h | C | gpl-3.0 | 2,011 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ENetSharp
{
public class ENetList
{
public List<object> data = new List<object>();
internal int position;
}
public static class ENetListHelper
{
//... | eddy5641/ENetSharp | ENetSharp/ENetSharp/List.cs | C# | gpl-3.0 | 3,725 |
/*
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
This file is part of the FreeRTOS distribution.
FreeRTOS is free software; you can redistribute it and/or modify it under
the... | RobsonRojas/frertos-udemy | FreeRTOSv9.0.0/FreeRTOS/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/main.c | C | gpl-3.0 | 24,378 |
# Pacman
We are two people, trying to program a game with GODOT.
| MaximilianJugendForscht/Pacman | README.md | Markdown | gpl-3.0 | 66 |
# CMake generated Testfile for
# Source directory: /home/zitouni/gnuradio-3.6.1/gr-uhd/grc
# Build directory: /home/zitouni/gnuradio-3.6.1/build/gr-uhd/grc
#
# This file includes the relevent testing commands required for
# testing this directory and lists subdirectories to be tested as well.
| zitouni/gnuradio-3.6.1 | build/gr-uhd/grc/CTestTestfile.cmake | CMake | gpl-3.0 | 297 |
--
-- Fix oracle syntax for psql
--
set search_path = tm_cz, pg_catalog;
DROP FUNCTION IF EXISTS tm_cz.bio_experiment_uid(character varying);
\i ../../../ddl/postgres/tm_cz/functions/bio_experiment_uid.sql
| transmart/transmart-data | updatedb/release-16.2/postgres/update-84g-tmcz-funcmod-bioexpuid.sql | SQL | gpl-3.0 | 211 |
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <getopt.h>
#include "upgma.h"
#include "utils.h"
#include "seq_utils.h"
#include "sequence.h"
#include "seq_reader.h"
#include "node.h"
#include "tree.h"
#include "tree_utils.h"
UPGMA::UPGMA (std::istream* pios):num_taxa_(0), num_c... | FePhyFoFum/phyx | src/upgma.cpp | C++ | gpl-3.0 | 7,194 |
from .gaussian_process import RandomFeatureGaussianProcess, mean_field_logits
from .spectral_normalization import SpectralNormalization
| gagnonlg/explore-ml | sngp/tf_import/__init__.py | Python | gpl-3.0 | 136 |
/*
* IIIFProducer
* Copyright (C) 2017 Leipzig University Library <info@ub.uni-leipzig.de>
*
* 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... | ubleipzig/iiif-producer | templates/src/main/java/de/ubleipzig/iiifproducer/template/TemplateService.java | Java | gpl-3.0 | 1,444 |
/******************************************************************************
*
* Copyright 2010, Dream Chip Technologies GmbH. All rights reserved.
* No part of this work may be reproduced, modified, distributed, transmitted,
* transcribed, or translated into any language or computer format, in any form
* or by... | s20121035/rk3288_android5.1_repo | hardware/rockchip/camera/SiliconImage/include/isp_cam_api/cam_api/impexinfo.h | C | gpl-3.0 | 3,654 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using Hy.Common.Utility.Data;
using System.Data.Common;
using Hy.Check.Utility;
namespace Hy.Check.UI.UC.Sundary
{
public class ResultDbOper
{
private IDbConnection m_ResultDbConn = null;
... | hy1314200/HyDM | DataCheck/Hy.Check.UI/UC/Sundary/ResultDbOper.cs | C# | gpl-3.0 | 2,274 |
<?php
namespace MikroOdeme\Enum;
/**
* Mikro Odeme library in PHP.
*
* @package mikro-odeme
* @version 0.1.0
* @author Hüseyin Emre Özdemir <h.emre.ozdemir@gmail.com>
* @copyright Hüseyin Emre Özdemir <h.emre.ozdemir@gmail.com>
* @license http://opensource.org/licenses/GPL-3.0 GNU General Public Licen... | ozdemirr/mikro-odeme | lib/MikroOdeme/Enum/PaymentTypeId.php | PHP | gpl-3.0 | 802 |
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using System;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
namespace ChummerHub.Areas.Identity.Pages.Account.Manage
{
#pragma warning disabl... | chummer5a/chummer5a | ChummerHub/Areas/Identity/Pages/Account/Manage/DeletePersonalData.cshtml.cs | C# | gpl-3.0 | 4,994 |
namespace Grove.Artifical.TargetingRules
{
using System;
using System.Collections.Generic;
using System.Linq;
using Gameplay;
using Gameplay.Effects;
using Gameplay.Misc;
using Gameplay.Targeting;
public abstract class TargetingRule : MachinePlayRule
{
public int? TargetLimit;
public bool Co... | sorab2142/sorabpithawala-magicgrove | source/Grove/Artifical/TargetingRules/TargetingRule.cs | C# | gpl-3.0 | 8,371 |
package com.pix.mind.controllers;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input.Keys;
import com.badlogic.gdx.scenes.scene2d.InputEvent;
import com.badlogic.gdx.scenes.scene2d.InputListener;
import com.badlogic.gdx.scenes.scene2d.Stage;
import com.pix.mind.PixMindGame;
import com.pix.mind.box2d.bodies.Pix... | tuxskar/pixmind | pixmind/src/com/pix/mind/controllers/KeyboardController.java | Java | gpl-3.0 | 1,788 |
#include "buttons.c"
| jsoloPDX/Inductive-Proximity-MIDI-Controller-PSU-Capstone-Project-11 | T11-firmware/buttons.h | C | gpl-3.0 | 21 |
import unittest
from test import support
import os
import io
import socket
import urllib.request
from urllib.request import Request, OpenerDirector
# XXX
# Request
# CacheFTPHandler (hard to write)
# parse_keqv_list, parse_http_list, HTTPDigestAuthHandler
class TrivialTests(unittest.TestCase):
def test_trivial(... | mancoast/CPythonPyc_test | fail/313_test_urllib2.py | Python | gpl-3.0 | 51,087 |
package com.wongsir.newsgathering.model.commons;
import com.google.common.base.MoreObjects;
import com.google.gson.annotations.SerializedName;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import java.util.Date;
import java.util.List;
import j... | WongSir/JustGo | src/main/java/com/wongsir/newsgathering/model/commons/Webpage.java | Java | gpl-3.0 | 8,742 |
/*
* 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/point_set/include/PointSet/Points.h | C | gpl-3.0 | 5,198 |
package fr.hnit.babyname;
/*
The babyname app is free software: you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation,
either version 2 of the License, or (at your option) any
later version.
The babyname app is distributed in the hope th... | mdecorde/BABYNAME | app/src/main/java/fr/hnit/babyname/MainActivity.java | Java | gpl-3.0 | 12,172 |
import { useState } from "react";
import { PropTypes } from "prop-types";
import { SaveOutlined, WarningOutlined } from "@ant-design/icons";
import {
Button,
Col,
Form,
Input,
InputNumber,
Row,
Select,
Switch,
Typography,
Space,
} from "@nextgisweb/gui/antd";
import i18n from "@n... | nextgis/nextgisweb | nextgisweb/webmap/nodepkg/settings/SettingsForm.js | JavaScript | gpl-3.0 | 9,428 |
#!/usr/bin/env python
# File written by pyctools-editor. Do not edit.
import argparse
import logging
from pyctools.core.compound import Compound
import pyctools.components.arithmetic
import pyctools.components.qt.qtdisplay
import pyctools.components.zone.zoneplategenerator
class Network(object):
components = \
{ ... | jim-easterbrook/pyctools-demo | src/scripts/temporal_alias/stage_2.py | Python | gpl-3.0 | 2,808 |
# -*- coding: utf-8 -*-
import itertools
"""
Languages | ShortCode | Wordnet
Albanian | sq | als
Arabic | ar | arb
Bulgarian | bg | bul
Catalan | ca | cat
Chinese | zh | cmn
Chinese (... | domenicosolazzo/jroc | jroc/nlp/wordnet/WordnetManager.py | Python | gpl-3.0 | 8,043 |
package com.weatherapp.model.entities;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
public class Location implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private Stri... | VoidDragonOfMars/pixelware | instantweatherapplication/src/main/java/com/weatherapp/model/entities/Location.java | Java | gpl-3.0 | 552 |
# Courses-Pick-Helper
What this program will do is to constantly scan your shopping cart on your student centre account and help you enroll very fast !!!
Basically help you with enrolling courses in your shopping cart of your student centre account when it's "OPEN". Note that this will succeed iff there is no conflic... | MichaelGuoXY/Courses-Pick-Helper | README.md | Markdown | gpl-3.0 | 378 |
package units.interfaces;
public abstract interface Value<T> extends MyComparable<T> {
// OPERATIONS
default boolean invariant() {
return true;
}
default void checkInvariant() {
if(!invariant()) {
System.exit(-1);
}
}
public abstract T... | MesutKoc/uni-haw | 2. Semester/PR2/Aufgabe_2a_Igor/src/units/interfaces/Value.java | Java | gpl-3.0 | 686 |
#############################################################################
# $HeadURL$
#############################################################################
""" ..mod: FTSRequest
=================
Helper class to perform FTS job submission and monitoring.
"""
# # imports
import sys
import re
import... | miloszz/DIRAC | DataManagementSystem/Client/FTSRequest.py | Python | gpl-3.0 | 37,261 |
<?php
namespace de\chilan\WebsiteBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class WebsiteBundle extends Bundle
{
}
| Mirar85/chilan | src/de/chilan/WebsiteBundle/WebsiteBundle.php | PHP | gpl-3.0 | 131 |
var _ = require("lodash");
module.exports = {
// ensure client accepts json
json_request: function(req, res, next){
if(req.accepts("application/json"))
return next();
res.stash.code = 406;
_.last(req.route.stack).handle(req, res, next);
},
// init response
init... | normanjoyner/containership.plugin.navigator | lib/middleware.js | JavaScript | gpl-3.0 | 854 |
/*=========================================================================
Program: ParaView
Module: $RCSfile$
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without... | HopeFOAM/HopeFOAM | ThirdParty-0.1/ParaView-5.0.1/ParaViewCore/Animation/vtkPVKeyFrameAnimationCue.h | C | gpl-3.0 | 1,649 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../css/tupi.css">
<title></title>
</head><body class="tupi_background3">
<p class="title">Vexamos como está a que... | xtingray/tupi.win | src/components/help/help/gl/preview_time.html | HTML | gpl-3.0 | 3,499 |
// Decompiled with JetBrains decompiler
// Type: System.Web.UI.WebControls.WebParts.ProxyWebPartConnectionCollection
// Assembly: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// MVID: 7E68A73E-4066-4F24-AB0A-F147209F50EC
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.303... | mater06/LEGOChimaOnlineReloaded | LoCO Client Files/Decompressed Client/Extracted DLL/System.Web/System/Web/UI/WebControls/WebParts/ProxyWebPartConnectionCollection.cs | C# | gpl-3.0 | 8,862 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Created by GNU Texinfo 5.1, http://www.gnu.org/software/texinfo/ -->
<!-- This file redirects to the location of a node or anchor -->
<head>
<title>GNU Octave: XREFbicgstab</title>
<meta name="description... | dac922/octave-pkg-octave | doc/interpreter/octave.html/XREFbicgstab.html | HTML | gpl-3.0 | 1,952 |
// 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.UI/Refreshing/ILifetimeSubscriber.cs | C# | gpl-3.0 | 1,369 |
import sys, os, urllib, time, socket, mt, ssl
from dlmanager.NZB import NZBParser
from dlmanager.NZB.nntplib2 import NNTP_SSL,NNTPError,NNTP, NNTPReplyError
from dlmanager.NZB.Decoder import ArticleDecoder
class StatusReport(object):
def __init__(self):
self.message = "Downloading.."
self.total_byt... | andr3wmac/metaTower | packages/dlmanager/NZB/NZBClient.py | Python | gpl-3.0 | 10,499 |
"""Tests for `fix.with_fixture`."""
from __future__ import with_statement
import os
import shutil
import tempfile
from types import FunctionType
from fix import with_fixture
def test_exists():
"""`fix.with_fixture` function exists"""
assert isinstance(with_fixture, FunctionType)
def test_setup_only():
... | schesis/fix | tests/decorators/test_with_fixture.py | Python | gpl-3.0 | 3,536 |
# Copyright (C) 2012,2013
# Max Planck Institute for Polymer Research
# Copyright (C) 2008,2009,2010,2011
# Max-Planck-Institute for Polymer Research & Fraunhofer SCAI
#
# This file is part of ESPResSo++.
#
# ESPResSo++ is free software: you can redistribute it and/or modify
# it under the terms of the G... | espressopp/espressopp | src/integrator/CapForce.py | Python | gpl-3.0 | 2,764 |
#!/bin/bash
gnuplot temp/TermodinamicalStat_L=14_PP=4/*.plot
gnuplot temp/DensityStat_L=14_PP=4/*.plot
| nlare/Landau-Wang-omp | plot_graph_L=14_PP=4.sh | Shell | gpl-3.0 | 103 |
# @author Peter Kappelt
# @author Clemens Bergmann
# @version 1.16.dev-cf.9
package main;
use strict;
use warnings;
use Data::Dumper;
use JSON;
use TradfriUtils;
sub TradfriGroup_Initialize($) {
my ($hash) = @_;
$hash->{DefFn} = 'Tradfri_Define';
$hash->{UndefFn} = 'Tradfri_Undef';
$hash->{SetFn} ... | peterkappelt/Tradfri-FHEM | src/FHEM/31_TradfriGroup.pm | Perl | gpl-3.0 | 9,629 |
/* EPANET 3
*
* Copyright (c) 2016 Open Water Analytics
* Distributed under the MIT License (see the LICENSE file for details).
*
*/
#include "demandmodel.h"
#include "Elements/junction.h"
#include <cmath>
#include <algorithm>
using namespace std;
//--------------------------------------------------------------... | jeffrey-newman/ENLink | OWA_EN3/src/Models/demandmodel.cpp | C++ | gpl-3.0 | 5,340 |
// <osiris_sps_source_header>
// This file is part of Osiris Serverless Portal System.
// Copyright (C)2005-2012 Osiris Team (info@osiris-sps.org) / http://www.osiris-sps.org )
//
// Osiris Serverless Portal System is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public L... | OsirisSPS/osiris-sps | client/src/engine/idepickercomponent.h | C | gpl-3.0 | 2,053 |
class AddVersionDone < ActiveRecord::Migration
def up
add_column :versions, :is_done, :boolean
end
def down
remove_column :versions, :is_done
end
end
| nmeylan/RORganize | db/migrate/20140623191731_add_version_done.rb | Ruby | gpl-3.0 | 167 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Hometask 7-8</title>
<link rel="stylesheet" href="сss/reset.css">
<link rel="stylesheet" href="сss/style.css">
<link rel="stylesheet" media="screen and (min-width:0px) and (max-width:480px)" href="сss/style_320px.css" />
<link rel="stylesheet" ... | yassisme/Hometasks | 7-8 DZ/index.html | HTML | gpl-3.0 | 7,687 |
var struct_m_s_vehicle_1_1_lane_q =
[
[ "allowsContinuation", "d3/d89/struct_m_s_vehicle_1_1_lane_q.html#a1491a03d3e914ce9f78fe892c6f8594b", null ],
[ "bestContinuations", "d3/d89/struct_m_s_vehicle_1_1_lane_q.html#a2fc7b1df76210eff08026dbd53c13312", null ],
[ "bestLaneOffset", "d3/d89/struct_m_s_vehicle_1_... | cathyyul/sumo-0.18 | docs/doxygen/d3/d89/struct_m_s_vehicle_1_1_lane_q.js | JavaScript | gpl-3.0 | 801 |
##############################################################################
# Build global options
# NOTE: Can be overridden externally.
#
# Compiler options here.
ifeq ($(USE_OPT),)
USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16
endif
# C specific options here (added to USE_OPT).
ifeq ... | mabl/ChibiOS | testhal/STM32/STM32F37x/USB_CDC/Makefile | Makefile | gpl-3.0 | 6,386 |
/*-------------------------------------------------------------------------
*
* wparser.c
* Standard interface to word parser
*
* Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
*
*
* IDENTIFICATION
* src/backend/tsearch/wparser.c
*
*--------------------------------------------------... | robins/postgres | src/backend/tsearch/wparser.c | C | gpl-3.0 | 13,513 |
/*
* This file is part of JGCGen.
*
* JGCGen 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.
*
* JGCGen is distributed in the h... | callaa/JGCGen | src/org/luolamies/jgcgen/text/Fonts.java | Java | gpl-3.0 | 2,230 |
#!/bin/bash -f
# Vivado (TM) v2015.4.2 (64-bit)
#
# Filename : design_TEST.sh
# Simulator : Cadence Incisive Enterprise Simulator
# Description : Simulation script for compiling, elaborating and verifying the project source files.
# The script will automatically create the design libraries sub-direct... | pemsac/ANN_project | ANN_project.ip_user_files/sim_scripts/design_TEST/ies/design_TEST.sh | Shell | gpl-3.0 | 29,644 |
\subsection{Instruction Working Set Signature}
An instruction working set (IWS)~\cite{Dhodapkar:2002:MMH} is the set of instructions touched over a fixed interval of time. The relative working set distance between intervals $i$ and $i-1$ is defined as
\begin{center}
$\delta_{i,i-1} = \frac{||W_i \bigcup W_{i-1}||-||... | arcade-lab/uarch-phases | doc/paper/iws.tex | TeX | gpl-3.0 | 1,170 |
// -*- mode: csharp; encoding: utf-8; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil; -*-
// vim:set ft=cs fenc=utf-8 ts=4 sw=4 sts=4 et:
// $Id$
/* MetaTweet
* Hub system for micro-blog communication services
* SqlServerStorage
* MetaTweet Storage module which is provided by Microsoft SQL Server RDBMS.... | takeshik/metatweet-old | SqlServerStorage/StorageObjectContext.cs | C# | gpl-3.0 | 4,365 |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qpieseries.cpp -->
<title>PieSeries QML Type | Qt Charts 5.7</title>
<link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
<script type="t... | angeloprudentino/QtNets | Doc/qtcharts/qml-qtcharts-pieseries.html | HTML | gpl-3.0 | 22,505 |
# -*- coding: utf-8 -*-
"""proyectoP4 URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.8/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.h... | jesmorc/Workinout | proyectoP4/urls.py | Python | gpl-3.0 | 1,273 |
#region using directives
using POGOProtos.Enums;
using POGOProtos.Settings.Master.Pokemon;
#endregion
namespace PoGo.PokeMobBot.Logic.Event.Pokemon
{
public class BaseNewPokemonEvent : IEvent
{
public int Cp;
public ulong Uid;
public PokemonId Id;
public double Perfection;
... | Lunat1q/Catchem-PoGo | Source/PoGo.PokeMobBot.Logic/Event/Pokemon/BaseNewPokemonEvent.cs | C# | gpl-3.0 | 982 |
#!/usr/bin/python
# This programs is intended to manage patches and apply them automatically
# through email in an automated fashion.
#
# Copyright (C) 2008 Imran M Yousuf (imran@smartitengineering.com)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Pu... | imyousuf/smart-patcher | src/smart-patcher.py | Python | gpl-3.0 | 5,526 |
/*
LICENSE
-------
Copyright (C) 2007 Ray Molenkamp
This source code is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this source code or the software it produces.
Permission is granted to anyone to use th... | ciribob/DCS-SimpleRadioStandalone | NAudio/CoreAudioApi/MMDevice.cs | C# | gpl-3.0 | 9,240 |
//
// MIT License
//
// Copyright (c) Deif Lou
//
// 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, me... | DeifLou/anitools | src/plugins/imagefilter_autothreshold/filter.cpp | C++ | gpl-3.0 | 10,641 |
<!DOCTYPE html>
<html>
<head>
<title>SenseNet : modul Senzory</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./SenseNet_Files/over.css">
<link rel="stylesheet" href="https://www.w... | Labka-cz/SensorNet | Web/net.html | HTML | gpl-3.0 | 4,611 |
/*
This file is part of sudoku_systemc
Copyright (C) 2012 Julien Thevenon ( julien_thevenon at yahoo.fr )
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 ... | quicky2000/sudoku_systemc | include/sudoku_internal_state.h | C | gpl-3.0 | 3,886 |
# -*- coding: utf-8 -*-
# Generated by Django 1.10.4 on 2017-02-20 22:01
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('erudit', '0065_auto_20170202_1152'),
]
operations = [
migrations.AddField(
... | erudit/zenon | eruditorg/erudit/migrations/0066_issue_force_free_access.py | Python | gpl-3.0 | 505 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | tor4kichi/ReactiveFolder | Module/InstantAction/Views/InstantActionPage.xaml.cs | C# | gpl-3.0 | 1,475 |
package bartburg.nl.backbaseweather.provision.remote.controller;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.lang.annotation.Annotation;
import java.net.HttpURLConnection... | bartburg/backbaseweatherapp | app/src/main/java/bartburg/nl/backbaseweather/provision/remote/controller/BaseApiController.java | Java | gpl-3.0 | 3,934 |
/*****************************************************************
* This file is part of CCAFS Planning and Reporting Platform.
* CCAFS P&R 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... | CCAFS/ccafs-ap | impactPathways/src/main/java/org/cgiar/ccafs/ap/data/dao/mysql/MySQLProjectOtherContributionDAO.java | Java | gpl-3.0 | 6,952 |
<?php
// Heading
$_['heading_title'] = 'TargetPay Sofort Banking';
// Text
$_['text_payment'] = 'Betaling';
$_['text_success'] = 'Gelukt: de TargetPay instellingen zijn gewijzigd!';
$_['text_edit'] = 'Bewerk TargetPay ' . $_['heading_title'];
$_['text_sofort'] = '<a href="https://www.targetpay.com/signup?p_actiecode=Y... | robe4st/ideal-opencart | upload/admin/language/nl-nl/extension/payment/sofort.php | PHP | gpl-3.0 | 1,564 |
// ReSharper disable CheckNamespace
using System;
using System.Collections.Generic;
public class Program
{
public static void Main()
{
var people = new Dictionary<string, Person>();
string input;
while ((input = Console.ReadLine()) != "End")
{
var split = input.Spl... | martinmladenov/SoftUni-Solutions | CSharp OOP Basics/Exercises/01. Defining Classes - Exercise/Google/Program.cs | C# | gpl-3.0 | 1,441 |
<?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 ... | basdog22/Qool | lib/Zend/Form/Element/Exception.php | PHP | gpl-3.0 | 1,225 |
// +build linux
package subsystem
import (
"bufio"
"errors"
"fmt"
"io"
"os"
"os/exec"
"runtime"
"strconv"
"strings"
)
type PlatformHeader LinuxHeader
func NewPlatformHeader() *LinuxHeader {
header := new(LinuxHeader)
header.Devices = make(map[string]LinuxDevice)
header.getDevsParts()
return header
}
... | hayamiz/perfmonger | core/subsystem/perfmonger_linux.go | GO | gpl-3.0 | 10,563 |
/*
* tca6416 keypad platform support
*
* Copyright (C) 2010 Texas Instruments
*
* Author: Sriramakrishnan <srk@ti.com>
*
* 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.
*/
#... | williamfdevine/PrettyLinux | include/linux/tca6416_keypad.h | C | gpl-3.0 | 848 |
//////////
// item //
//////////
datablock ItemData(YoyoItem)
{
category = "Weapon"; // Mission editor category
className = "Weapon"; // For inventory system
// Basic Item Properties
shapeFile = "./Yoyo.dts";
rotate = false;
mass = 1;
density = 0.2;
elasticity = 0.2;
friction = 0.6;
emap = true;
//gui st... | piber20/BL-FK-GameMode | GameMode_FASTKarts/addons/novelty/Yoyo.cs | C# | gpl-3.0 | 2,759 |
/**
******************************************************************************
* @file EEPROM/EEPROM_Emulation/Inc/stm32f4xx_it.h
* @author MCD Application Team
* @version V1.3.6
* @date 17-February-2017
* @brief This file contains the headers of the interrupt handlers.
***************... | TRothfelder/Multicopter | libs/STM32Cube_FW_F4_V1.16.0/Projects/STM32F401-Discovery/Applications/EEPROM/EEPROM_Emulation/Inc/stm32f4xx_it.h | C | gpl-3.0 | 3,163 |
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "services/video_capture/device_mojo_mock_to_media_adapter.h"
#include "services/video_capture/device_client_media_to_mojo_mock_adapter.h"
names... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/services/video_capture/device_mojo_mock_to_media_adapter.cc | C++ | gpl-3.0 | 1,483 |
package com.ocams.andre;
import javax.swing.table.DefaultTableModel;
public class MasterJurnal extends javax.swing.JFrame {
public MasterJurnal() {
initComponents();
}
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The co... | benyaminl/OCAMS | src/com/ocams/andre/MasterJurnal.java | Java | gpl-3.0 | 15,559 |
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
#ifndef _DUEL_H_
#define _DUEL_H_
struct duel
{
int members_count;
int invites_count;
int max_players_limit;
};
#define MAX_DUEL 1024
extern struct duel duel_list[MAX_DUEL];
extern int duel_count;
/... | Zellukas/Radices | src/map/duel.h | C | gpl-3.0 | 939 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.