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 |
|---|---|---|---|---|---|
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// La información general de un ensamblado se controla mediante el siguiente
// conjunto de atributos. Cambie estos valores de atributo para modificar la información
// asociada con un ensamblado.
[assembly: Assembl... | Mr-Alicates/MECS | MECS/MECS.Core.Tests/Properties/AssemblyInfo.cs | C# | gpl-3.0 | 1,541 |
#!/bin/bash
function force_copy {
mkdir -p $(dirname $2)
if [ -f $2 ] && [ $1 != $2 ]; then
echo "Removing file"
rm -f $2
fi
cp $1 $2
}
if [ -d `dirname $0`/build/cluster/modules/ext ]; then
force_copy `dirname $0`/lib/ovation.jar `dirname $0`/build/cluster/modules/ext/ovation.jar
fi
force_copy `d... | physion/ovation-ui | ovation-ui/redistribute-lib-jars.sh | Shell | gpl-3.0 | 826 |
/*
* This class is an auto-generated source file for a HAPI
* HL7 v2.x standard structure class.
*
* For more information, visit: http://hl7api.sourceforge.net/
*
* The contents of this file are subject to the Mozilla Public License Version 1.1
* (the "License"); you may not use this file except in comp... | PapenfussLab/PathOS | Tools/Hl7Tools/src/main/java/org/petermac/hl7/model/v251/group/RGV_O15_PATIENT.java | Java | gpl-3.0 | 8,244 |
// FoldWatcher
// ---------------------
// Coded by Dr.K@meleon <drkameleon@hotmail.com>
//
// homepage : http://kameleon-nest.blogspot.com
// http://sourceforge.net/projects/foldwatcher/
// ============================
// Filename : preferences.cpp
// Last Update : 17/05/2008
//
// ------------------------... | drkameleon/FoldWatcher | src/preferences.cpp | C++ | gpl-3.0 | 1,771 |
/*
* Lumeer: Modern Data Definition and Processing Platform
*
* Copyright (C) since 2017 Lumeer.io, s.r.o. and/or its affiliates.
*
* 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 ... | Lumeer/web-ui | src/app/shared/blockly/blockly-editor/blocks/link-documents-return-blockly-component.ts | TypeScript | gpl-3.0 | 3,865 |
/* -*- c++ -*- */
/*
* Copyright 2011-2013,2015 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
#ifndef INCLUDED_QTGUI_TIME_SINK_C_IMPL_H
#define INCLUDED_QTGUI_TIME_SINK_C_IMPL_H
#include <gnuradio/qtgui/time_sink_c.h>
#include <gnuradio/hi... | mrjacobagilbert/gnuradio | gr-qtgui/lib/time_sink_c_impl.h | C | gpl-3.0 | 4,672 |
/*
* Copyright, ViewTouch Inc., 1995, 1996, 1997, 1998
* 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 versio... | ViewTouch/viewtouch | zone/report_zone.cc | C++ | gpl-3.0 | 38,913 |
#include "CNoiseGenerator.h"
#include "CMath.h"
#include <QDebug>
#include <QImage>
#include <QColor>
//-----------------------------------------------------------------------------------------
CNoiseGenerator1D::CNoiseGenerator1D(int iSize, int iStep, int iOctave)
: m_iSize(iSize + 1)
, m_iStep(iStep)
,... | Jbx2-0b/Humble3D | lib_math/CNoiseGenerator.cpp | C++ | gpl-3.0 | 4,783 |
/* Copyright (c) Damian Jakub Smoczyk
*
* Contact: jakub.smoczyk@gmail.com
*
* All rights reserved.
*
* This file is part of reVision Project
*
* reVision Project 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 ... | creepydragon/r2 | window/qt/QtPropertyWidget/QtArrayProperty.hpp | C++ | gpl-3.0 | 1,039 |
/*
* Panther is a program to encode your media files from one format to the other.
* Copyright (C) 2012 Sankha Narayan Guria
*
* 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, e... | sankha93/Panther | src/sngforge/panther/modules/EncoderEntry.java | Java | gpl-3.0 | 968 |
---
title: "सऊदी अरब की तेल कंपनी अरामको पर ड्रोन से हमला"
layout: item
category: ["international"]
date: 2019-09-14T06:05:24.172Z
image: 1568441124171aramco.jpg
---
<p>दुबई: सऊदी अरब की सरकारी मीडिया ने गृह मंत्रालय के हवाले से बताया कि शनिवार को सऊदी अरामको के दो तेल संयंत्रों पर ड्रोन से हमला किया गया। आधिकारिक सऊदी... | InstantKhabar/_source | _source/news/2019-09-14-aramco.html | HTML | gpl-3.0 | 3,008 |
/****************************************************************************
**
** Copyright (C) 2016 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Milian Wolff <milian.wolff@kdab.com>
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtWebChannel module of the Qt Tool... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebchannel/tests/auto/webchannel/tst_webchannel.cpp | C++ | gpl-3.0 | 28,865 |
import React from 'react'
import PropTypes from 'prop-types'
import Link from '@material-ui/core/Link'
import Dialog from '@material-ui/core/Dialog'
import IconButton from '@material-ui/core/IconButton'
import TableContainer from '@material-ui/core/TableContainer'
import Table from '@material-ui/core/Table'
import Tabl... | cloudsonic/sonic-server | ui/src/dialogs/AboutDialog.js | JavaScript | gpl-3.0 | 4,279 |
//
// ScrollPlotView.h
// iCash
//
// Created by Vitaly Merenkov on 02.03.13.
//
#import <Cocoa/Cocoa.h>
@class PlotView;
@interface ScrollPlotView : NSScrollView
@property IBOutlet PlotView *plotView;
@end
| yberdnikov/yaMK | yaMK/ScrollPlotView.h | C | gpl-3.0 | 214 |
//Exercise 7.3
class IterativePowerTen {
public static void main(String[] args) {
double x = 2.0;
int n = 10;
double y = x;
for (int i = 1; i <= n; i++) {
x = x * y;
}
System.out.println(x);
}
}
| manueleiria/exercises | think_java/chapter_7/IterativePowerTen.java | Java | gpl-3.0 | 253 |
package main
import (
"bufio"
"fmt"
"os"
"strings"
)
type animal struct {
food string
locomotion string
noise string
}
func (a *animal) Eat() {
fmt.Println(a.food)
}
func (a *animal) Move() {
fmt.Println(a.locomotion)
}
func (a *animal) Speak() {
fmt.Println(a.noise)
}
func main() {
reader :... | syhan/coursera | golang-functions-methods/Week3/animal.go | GO | gpl-3.0 | 851 |
<?php
/*
Plugin Name: Interactions
Description: People you mentioned in your posts in the last week.
When: Wednesdays for Twitter, Saturday otherwise
*/
/**
*
* ThinkUp/webapp/plugins/insightsgenerator/insights/interactions.php
*
* Copyright (c) 2013-2016 Nilaksh Das, Gina Trapani
*
* LICENSE:
*
* This fil... | ThinkUpLLC/ThinkUp | webapp/plugins/insightsgenerator/insights/retired/interactions.php | PHP | gpl-3.0 | 8,364 |
tinymce.PluginManager.add('tabpanel', function(editor, url) {
var walker = tinymce.dom.TreeWalker;
editor.ui.registry.addNestedMenuItem('tabpanel', {
//icon: 'tabpanel',
text: "Tabs",
tooltip: "Tabs",
getSubmenuItems: function () {
return [
{
... | magix-cms/magixcms-3 | admin/template/js/vendor/tiny_mce.5.8.2/plugins/tabpanel/plugin.js | JavaScript | gpl-3.0 | 2,609 |
# -*- mode: cmake; tab-width: 2; indent-tabs-mode: t; truncate-lines: t; compile-command: "cmake -Wdev" -*-
# vim: set filetype=cmake autoindent tabstop=2 shiftwidth=2 noexpandtab softtabstop=2 nowrap:
# defines that must be present in config.h for our headers
set (opm-upscaling_CONFIG_VAR
HAVE_SUPERLU
)
# dependen... | babrodtk/opm-cmake | cmake/Modules/opm-upscaling-prereqs.cmake | CMake | gpl-3.0 | 869 |
/*
* Copyright (C) 2015 Arthur Gregorio, AG.Software
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This ... | arthurgregorio/web-budget | src/main/java/br/com/webbudget/application/controller/registration/ContactBean.java | Java | gpl-3.0 | 5,250 |
<div id="commonHeaderDiv" ng-hide="hideCommonHeader">
<!-- Plan Banner -->
<ng-include
replace-include
ng-controller="PlanBannerCtrl"
src="'partials/common-header/plan-banner.html'"
></ng-include>
<!-- END Plan Banner -->
<!-- Common Header Navbar -->
<nav class="navbar navbar-default hidden-print"
ng-cl... | Rise-Vision/rise-vision-app-launcher | web/partials/common-header/common-header.html | HTML | gpl-3.0 | 5,277 |
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
ext... | ricardo7227/DAW | Cliente/Codigo fuente/my-app-apk/node_modules/ionic-angular/components/action-sheet/action-sheet-transitions.js | JavaScript | gpl-3.0 | 5,337 |
/*
* uSelect iDownload
*
* Copyright © 2011-2013 Alessandro Guido
* Copyright © 2011-2013 Marco Palumbo
*
* This file is part of uSelect iDownload.
*
* uSelect iDownload 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 So... | lasagnacode/uselect-idownload | js/background.js | JavaScript | gpl-3.0 | 2,657 |
#include "event_threads.h"
#include "psx.h"
#include <lv2/process.h>
#include <sys/file.h>
#include <ppu-lv2.h>
#include <sys/stat.h>
#include <lv2/sysfs.h>
#include <sysutil/disc.h>
#include <sys/thread.h>
#include <sys/event_queue.h>
static sys_ppu_thread_t thread_id;
static sys_event_queue_t evQ_sd;
static sys_... | stephencapes/simplicity | source/event_threads.c | C | gpl-3.0 | 1,878 |
package com.jpblo19.me.coreapp.activities;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v7.app.AlertDialog;
import android.view.View;
import android.widget.EditText;
import com.j... | carnash-oz/RoRdroid_AndroidApp | app/src/main/java/com/jpblo19/me/coreapp/activities/EndpointPostActivity.java | Java | gpl-3.0 | 7,455 |
<?php
/**
* New const visibility sniff test file
*
* @package PHPCompatibility
*/
namespace PHPCompatibility\Tests\Classes;
use PHPCompatibility\Tests\BaseSniffTest;
/**
* New const visibility sniff test file
*
* @group newConstVisibility
* @group classes
*
* @covers \PHPCompatibility\Sniffs\Classes\NewCon... | universityofglasgow/moodle | local/codechecker/PHPCompatibility/Tests/Classes/NewConstVisibilityUnitTest.php | PHP | gpl-3.0 | 2,283 |
//
// Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010,
// 2011 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 3 of the License, or
// (... | jlopez/gnash | utilities/findwebcams.cpp | C++ | gpl-3.0 | 8,729 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep t... | warmpaper/Umbrella-Revolution-Inventory-Management | html/ur_inventory/application/config/autoload.php | PHP | gpl-3.0 | 3,112 |
/*
* FinTP - Financial Transactions Processing Application
* Copyright (C) 2013 Business Information Systems (Allevo) S.R.L.
*
* 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... | FinTP/fintp_base | src/XSLT/ExtensionHash.h | C | gpl-3.0 | 2,471 |
/*
Stylom: A command line utility for stylometric text analysis
Copyright (C) 2013 Bob Mottram
fuzzgun@gmail.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version... | bashrc/stylom | src/fingerprint.c | C | gpl-3.0 | 59,994 |
package com.StaticVoidGames.games;
import org.springframework.web.multipart.MultipartFile;
/**
* Class used by the game edit pages. Forms shown to (and submitted by) the user are backed by an instance of this class, so all of the handling can be done in one place.
* @see com.StaticVoidGames.spring.controller.EditGa... | KevinWorkman/StaticVoidGames | StaticVoidGames/src/main/java/com/StaticVoidGames/games/GameForm.java | Java | gpl-3.0 | 8,299 |
#ifndef IF_ELSE_IF_TRUE_H
#define IF_ELSE_IF_TRUE_H
#include "ibp/foundation/boolean.h"
#include "ibp/foundation/integer.h"
ibp::Integer foo( ibp::Integer x,
ibp::Boolean y );
#endif
| isaac-benson-powell/ibp_software | projects/language/test/test_io/for_ag_tests/input/parse_tree_nodes/Node_Else_If_True/expect_parser_pass/if_else_if_true/expected_cpp_translation/if_else_if_true.h | C | gpl-3.0 | 207 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2012-2020 OpenFOAM Foundation
\\... | OpenFOAM/OpenFOAM-dev | src/dynamicMesh/motionSolvers/displacement/displacement/displacementMotionSolver.H | C++ | gpl-3.0 | 3,368 |
// Copyright (C) 2015 xaizek <xaizek@openmailbox.org>
//
// This plugin 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.
//
// The pl... | xaizek/gcc-plugins | inc-tree/inc-tree.cpp | C++ | gpl-3.0 | 3,636 |
<?php defined( 'ABSPATH' ) or die( header( 'HTTP/1.0 403 Forbidden' ) );
// intentionally empty!
| geminorum/gtheme_03 | amp/meta-taxonomy.php | PHP | gpl-3.0 | 98 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 1A/instances/10_1_workflow_full_10files_secondary_w1_3sh_3rs_with_annot_with_proj_3s_range/dags/ubuntu/pegasus/example_workflow/20161107T080502+0000/00/00/taskevent_1_ID0000007.sh | Shell | gpl-3.0 | 1,237 |
-----------------------------------------
-- Spell: Cure II
-- Restores target's HP.
-- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic")... | Gwynthell/FFDB | scripts/globals/spells/cure_ii.lua | Lua | gpl-3.0 | 3,693 |
/*! \file janus_rabbitmqevh.c
* \author Piter Konstantinov <pit.here@gmail.com>
* \copyright GNU General Public License v3
* \brief Janus RabbitMQEventHandler plugin
* \details This is a trivial RabbitMQ event handler plugin for Janus
*
* \ingroup eventhandlers
* \ref eventhandlers
*/
#include "eventhandle... | ploxiln/janus-gateway | events/janus_rabbitmqevh.c | C | gpl-3.0 | 20,977 |
/*
* Starving is a open source bukkit/spigot mmo game.
* Copyright (C) 2014-2015 Matej Kormuth
* This file is a part of Starving. <http://www.starving.eu>
*
* 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 Fr... | dobrakmato/mcRPG | src/main/java/eu/matejkormuth/rpgdavid/starving/StarvingLogger.java | Java | gpl-3.0 | 1,474 |
#
# Copyright 2013 by Antonio Costa (acosta@conviso.com.br)
#
# This file is part of the Drone openvas project.
# Drone Template 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,... | convisoappsec/drone_openvas | lib/output/debug.rb | Ruby | gpl-3.0 | 2,453 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | s20121035/rk3288_android5.1_repo | external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/SuperClassTest.java | Java | gpl-3.0 | 8,687 |
// Copyright 2005, Google Inc.
// 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 source code must retain the above copyright
// notice, this list of conditions ... | alemariusnexus/electronicsdb | src/googletest/googletest/test/gtest_unittest.cc | C++ | gpl-3.0 | 260,178 |
package org.jeecgframework.web.demo.service.impl.test;
import org.jeecgframework.core.util.ContextHolderUtils;
import org.jeecgframework.core.util.FileUtils;
import org.jeecgframework.core.util.ResourceUtil;
import java.util.List;
import java.util.Map;
import org.jeecgframework.web.demo.entity.test.TFinance... | shamoxiaoniqiu2008/jeecg-framework | src/main/java/org/jeecgframework/web/demo/service/impl/test/TFinanceServiceImpl.java | Java | gpl-3.0 | 2,430 |
<?php
/*
* TreeChecker: Error recognition for genealogical trees
*
* Copyright (C) 2014 Digital Humanities Lab, Faculty of Humanities, Universiteit Utrecht
* Corry Gellatly <corry.gellatly@gmail.com>
* Martijn van der Klis <M.H.vanderKlis@uu.nl>
*
* This program is free software: you can redistribute it and/or... | cgeltly/treechecker | app/controllers/ParseController.php | PHP | gpl-3.0 | 5,263 |
/************************************************************************************************************************
**
** Copyright 2015-2021 Daniel Nikpayuk, Inuit Nunangat, The Inuit Nation
**
** This file is part of nik.
**
** nik is free software: you can redistribute it and/or modify it under the terms of th... | Daniel-Nikpayuk/nik | space-symbolic/patronum-natural-kernel-typename_stem/inductor-semiotic.hpp | C++ | gpl-3.0 | 1,208 |
<?php
$url = $_GET['sayfa'] ? $_GET['sayfa'] : 'anasayfa';
$dosyaYol = "moduller/".$url.".php";
global $tema;
require_once $tema->temaAl();
if(file_exists($dosyaYol))
{
require_once $dosyaYol;
$icerik = new $url;
}
else
{
if($ayarlar->404 == true)
{
require_once('errors/404.htm')
}
else
{
requir... | MMOTutkunlari/metin2-panel | index.php | PHP | gpl-3.0 | 420 |
// Decompiled with JetBrains decompiler
// Type: System.Base64FormattingOptions
// 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
namespace System
{
/... | mater06/LEGOChimaOnlineReloaded | LoCO Client Files/Decompressed Client/Extracted DLL/mscorlib/System/Base64FormattingOptions.cs | C# | gpl-3.0 | 681 |
#ifndef _C14_re670_
#define _C14_re670_
#ifdef __cplusplus
extern "C" {
#endif
extern EIF_INTEGER_32 F298_1998(EIF_REFERENCE);
extern void EIF_Minit670(void);
extern char *(*R1751[])();
#ifdef __cplusplus
}
#endif
#endif
| evilksi/jeux-oriente-objet-2 | Test/EIFGENs/coinplumber/F_code/C14/re670.h | C | gpl-3.0 | 226 |
{% extends "base.html"%}
{% block content %}
{% include "fa-decoration.html" with title=title|default:"Turnover by Service Family" icon="fa-calculator" block="main" %}
{% include "servicefamily_report_table.html" %}
{% endblock %} | gdebure/cream | services/templates/servicefamilies_report.html | HTML | gpl-3.0 | 232 |
/*
* Bhyve host interface - VM allocation, mapping
* guest memory, populating guest register state etc
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <assert.h>
#include <sys/types.h>
#include <sys/errno.h>
#include <x86/segments.h>
#include <x86/specialreg.h>
#include ... | kmoore134/grub-bhyve | grub-core/kern/emu/bhyve_hostif.c | C | gpl-3.0 | 10,974 |
#!/bin/sh
Data='BBN'
Indir='Data/BBN'
Intermediate='Intermediate/BBN'
Outdir='Results/BBN'
### Make intermediate and output dirs
mkdir -pv $Intermediate
mkdir -pv $Outdir
### Generate features
echo 'Feature Generation...'
python DataProcessor/feature_generation.py $Data 4
echo ' '
### Train PLE
### - Wiki: -iters 50... | shanzhenren/PLE | run.sh | Shell | gpl-3.0 | 1,219 |
from yanntricks import *
def KScolorD():
pspict,fig = SinglePicture("KScolorD")
pspict.dilatation(1)
x=var('x')
C=Circle(Point(0,0),1)
N1=C.graph(90,180)
N2=C.graph(270,360)
C.parameters.color="blue"
N1.parameters.color="black"
N2.parameters.color=N1.parameters.color
N1.wave(0.... | LaurentClaessens/mazhe | src_yanntricks/yanntricksKScolorD.py | Python | gpl-3.0 | 526 |
/*
* Copyright (C) 2014 Ultramarin Design AB <dan@ultramarin.se>
*
* This file is part of uxmpp.
*
* uxmpp 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
* (a... | alfmep/uxmpp | src/uxmpp/Semaphore.cpp | C++ | gpl-3.0 | 2,339 |
# coding: utf-8
# Copyright: (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com>
# Copyright: (c) 2018, Ansible Project
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# Make coding more python3-ish
from __future__ import (absolute_import, division, print_function)
__m... | tonk/ansible | lib/ansible/plugins/action/__init__.py | Python | gpl-3.0 | 58,185 |
/*******************************************************************
Part of the Fritzing project - http://fritzing.org
Copyright (c) 2007-2011 Fachhochschule Potsdam - http://fh-potsdam.de
Fritzing is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as p... | logxen/Fritzing | src/items/tracewire.cpp | C++ | gpl-3.0 | 5,391 |
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-19924913-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js... | rasmusbergpalm/AESpad | app/webroot/js/ga.js | JavaScript | gpl-3.0 | 418 |
#include "simulation/Elements.h"
//#TPT-Directive ElementClass Element_AERO PT_AERO 186
Element_AERO::Element_AERO()
{
Identifier = "DEFAULT_PT_AERO";
Name = "AERO";
Colour = PIXPACK(0x8AA2A1);//0x8AA2A1
MenuVisible = 1;
MenuSection = SC_ALLY;
Enabled = 1;
Advection = 0.0f;
AirDrag = 0.00f * CFDS;
AirLoss = 0... | RCAProduction/The-Alliance-Toy | src/simulation/elements/AERO.cpp | C++ | gpl-3.0 | 2,075 |
package com.czw.toolkit.netty.heartbeat;
import io.netty.bootstrap.Bootstrap;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.ChannelOption;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.S... | zevichen/base | src/main/java/com/czw/toolkit/netty/heartbeat/Client.java | Java | gpl-3.0 | 1,894 |
/****************************************************************************
* VLC-Qt - Qt and libvlc connector library
* Copyright (C) 2013 Tadej Novak <tadej@tano.si>
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* ... | TripleWhy/vlc-qt | src/qml/QmlVideoPlayer.h | C | gpl-3.0 | 7,854 |
require 'spec_helper'
require 'socket'
require 'oac'
class ServerTest < OAC::Server
end
describe OAC::Server do
before do
@server = OAC::Server.new
end
after do
begin
@server.close
rescue Exception => e
puts e
end
end
describe ".listen" do
context "given port #{RSpec.configuration.test_port... | InsanityRadio/OnAirController | spec/server_spec.rb | Ruby | gpl-3.0 | 1,438 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Sun Mar 21 10:29:35 CDT 2010 -->
<TITLE>
Uses of Class cern.colt.list.tint.IntListAdapter (Parallel Colt 0.9.4 - API Specification)
</T... | Shappiro/GEOFRAME | PROJECTS/oms3.proj.richards1d/src/JAVA/ParallelColt/doc/cern/colt/list/tint/class-use/IntListAdapter.html | HTML | gpl-3.0 | 6,304 |
package net.v00d00.xr.events;
/**
* Created by ian on 11/10/14.
*/
public class StopEvent {
}
| v00d00/xr | app/src/main/java/net/v00d00/xr/events/StopEvent.java | Java | gpl-3.0 | 97 |
/*
* Copyright (C) 2012 Jason Gedge <http://www.gedge.ca>
*
* This file is part of the OpGraph project.
*
* 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,... | thegedge/opgraph | common-nodes/src/main/java/ca/gedge/opgraph/nodes/general/RangeNode.java | Java | gpl-3.0 | 2,101 |
package com.wenhaofan.common.model.base;
import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.IBean;
/**
* Generated by JFinal, do not modify this file.
*/
@SuppressWarnings("serial")
public abstract class BaseSession<M extends BaseSession<M>> extends Model<M> implements IBean... | wenhaofan/blog | src/main/java/com/wenhaofan/common/model/base/BaseSession.java | Java | gpl-3.0 | 777 |
<!DOCTYPE html>
<html>
<head>
<title>wait</title>
<link rel="stylesheet" type="text/css" href="../../../format.css" />
</head>
<body>
<h3>
wait <img src="../DPS.png" alt="[DPS]" align="middle" />
</h3>
<pre>lock condition <b>wait</b> -</pre>
<p>
releases <i>lock</i>, waits for <i>condition</i> to be notified by... | thomas-fritsch/psdt | de.tfritsch.psdt.help/html/Reference/8/2/w/wait.html | HTML | gpl-3.0 | 2,016 |
/* ---------------------------------------------------------------------------
* Programa: muestra_vector_con_indices
* Entradas: Una serie de números
* Salidas: Los elementos del vector con sus índices asociados
* --------------------------------------------------------------------------- */
#include <iostream>
... | FundamentosProgramacionUJA/Ejercicios | Tema5-Tipos de datos estructurados/muestra_vector_con_indices.cc | C++ | gpl-3.0 | 928 |
#!/usr/bin/python
from __future__ import division
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
#from matplotlib.backends.backend_pdf import PdfPages
import sys
def stats_file_as_matrix(file_name):
with open(file_name, 'r') as f:
return [ map(float,line.strip().... | yossisolomon/ITGController | plot_from_stats.py | Python | gpl-3.0 | 1,136 |
package diet;
import java.util.LinkedList;
import java.util.List;
/**
* Represent a recipe of the diet.
*
* A recipe consists of a a set of ingredients that are given amounts of raw
* materials. The overall nutritional values of a recipe can be computed on the
* basis of the ingredients' values and ar... | aerdnar/OOP | OOP_LAB_Diet/src/diet/Recipe.java | Java | gpl-3.0 | 2,629 |
/* eslint unused: 0 */
import test from 'ava';
import sortObject from 'deep-sort-object';
import {
templateAccount,
templateDeployment,
templateLambdaIntegration,
templateMethod,
templateModel,
templateResource,
templateResourceHelper,
templateRest,
templateStage,
templateCloudWatchRole,
templat... | dawson-org/dawson-cli | src/factories/cf_apig.spec.js | JavaScript | gpl-3.0 | 26,162 |
#include<bits/stdc++.h>
using namespace std;
const int maxn=233;
typedef long double LD;
const LD eps=1e-15;
LD A[maxn][maxn];
void print(int n){
for(int i=1;i<=n;i++){
for(int j=0;j<=n;j++)
printf("%.3Lf ",A[i][j]);
puts("");
}
puts("");
}
int id[maxn],pos[maxn];
void Gauss(int n){
//print(n);
... | kzoacn/Grimoire | Training/11.25/D.cpp | C++ | gpl-3.0 | 1,523 |
#ifdef EXPORT_3DS
#include "LD3dsExporter.h"
#include <LDLoader/LDLMainModel.h>
#include <LDLoader/LDLModelLine.h>
#include <LDLoader/LDLTriangleLine.h>
#include <LDLoader/LDLQuadLine.h>
#include <LDLoader/LDLPalette.h>
#include <lib3ds.h>
#if defined WIN32 && defined(_MSC_VER) && _MSC_VER >= 1400 && defined(_DEBUG)
#... | wangguojing/pokomodel | samples/LDView/LDExporter/LD3dsExporter.cpp | C++ | gpl-3.0 | 9,075 |
#ifndef VARIABLETERM_H
#define VARIABLETERM_H
#include"basicterm.h"
#include"valuebase.h"
#include"value.h"
#include<string>
#include<QString>
#include<map>
using Xeml::Document::BasicTerm;
namespace Xeml {
namespace Document{
class VariableTerm : public BasicTerm
{
private:
std::map<ValueBase*,QString> ... | cbib/XEML-Lab | Src/XemlLab/XemlCore/CoreObjects/variableterm.h | C | gpl-3.0 | 579 |
#include "insertion.h"
#include "factory.h"
#include <chrono>
#include <thread>
static registrar<insertion> r;
insertion::insertion(int d) :
sorter(d)
{
}
insertion::~insertion()
{
}
void insertion::operator()(wrapper& v) {
for (int i = 1; i < v.size(); i++) {
int j = i;
const unsigned int tmp = v[j];
wh... | dagon666/sortviz | insertion.cpp | C++ | gpl-3.0 | 651 |
package host.serenity.serenity.api.command;
import host.serenity.serenity.Serenity;
import host.serenity.serenity.api.command.parser.CommandBranch;
import host.serenity.serenity.api.command.parser.CommandContext;
import host.serenity.serenity.api.command.parser.argument.CommandArgument;
import host.serenity.serenity.a... | SerenityEnterprises/SerenityCE | src/main/java/host/serenity/serenity/api/command/Command.java | Java | gpl-3.0 | 8,132 |
/********************************************************************************/
/* 888888 888888888 88 888 88888 888 888 88888888 */
/* 8 8 8 8 8 8 8 8 8 8 */
/* 8 8 8 8 8 8 8 8 8 ... | cogenda/Genius-TCAD-Open | include/meshgen/mesh_generation_struct.h | C | gpl-3.0 | 4,117 |
package mx.edu.uam.practica4.familia;
/**
*
* @author jhernandezn
*/
public class Padre extends Familiar{
} | trainingSoapros/Java | Carlos/Practica3/src/mx/edu/uam/practica4/familia/Padre.java | Java | gpl-3.0 | 138 |
<!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 (version 1.7.0_17) on Thu Jul 18 19:11:06 EDT 2013 -->
<title>Uses of Class com.ep.ggs.world.mcmodel.Chunk</title>
<meta name="date" content="2013-07-... | hypereddie/GGS | docs/com/ep/ggs/world/mcmodel/class-use/Chunk.html | HTML | gpl-3.0 | 9,243 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Skoolify</title>
<meta name="description" content="School management and administration frontend app">
<meta name="author" content="Skoolify">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="plugins/boots... | verygreenboi/sawe | index.html | HTML | gpl-3.0 | 30,176 |
/*
===========================================================================
Copyright (c) 2010-2015 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 version 3 of ... | rpetit3/darkstar | src/map/utils/battleutils.h | C | gpl-3.0 | 11,225 |
'use strict';
angular.module('app').controller('FundraiserNavTabsController', function ($scope, $location) {
$scope.active_tab = function(name) {
if (name === 'overview' && (/^\/fundraisers\/[a-z-_0-9]+$/i).test($location.path())) { return "active"; }
if (name === 'updates' && (/^\/fundraisers\/[a-z-_0-9]+\/... | jeffrey-l-turner/frontend | app/pages/fundraisers/controllers/nav_tabs.js | JavaScript | gpl-3.0 | 743 |
<?php
/* Copyright (C) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copytight (C) 2005-2009 Regis Houssin <regis.houssin@capnetworks.com>
*
* This program i... | syrus34/dolibarr | htdocs/compta/bank/fiche.php | PHP | gpl-3.0 | 24,955 |
#pragma once
#include "../Game/Enumeration.h"
namespace ToD
{
namespace Events
{
////////////////////////////////////////////////////////////
/// \brief Declares supported render priorities.
///
////////////////////////////////////////////////////////////
class EventType :
public Enumeration<EventType>... | AndreasLang1204/TowerOfDoom | src/Engine/Events/EventType.h | C | gpl-3.0 | 7,370 |
<?php
include("config.php");
if(!isset($login_session))
{
header("location:index.php");
}
$findPriv = "select priv from login where username like '".$username."'";//echo "$findPriv";
$resPriv = mysqli_query($conn,$findPriv);
$rowPriv = mysqli_fetch_assoc($resPriv);
$prev = $rowPriv['priv'];//echo "$prev... | vinayakowndinya/-newspaper-billing-system-GECH | dayWiseReport.php | PHP | gpl-3.0 | 8,917 |
<?php
/*
WildPHP - a modular and easily extendable IRC bot written in PHP
Copyright (C) 2015 WildPHP
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... | Yoshi2889/FatalException | modules/ChannelManager/ChannelManager.php | PHP | gpl-3.0 | 3,905 |
/*
* tkButton.h --
*
* Declarations of types and functions used to implement button-like
* widgets.
*
* Copyright (c) 1996-1998 by Sun Microsystems, Inc.
*
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
#ifndef _TKBUTTON
#... | SAOImageDS9/SAOImageDS9 | tk8.6/generic/tkButton.h | C | gpl-3.0 | 12,496 |
/**
* \file IMP/isd/HybridMonteCarlo.h
* \brief A hybrid monte carlo implementation
*
* Copyright 2007-2017 IMP Inventors. All rights reserved.
*
*/
#ifndef IMPISD_HYBRID_MONTE_CARLO_H
#define IMPISD_HYBRID_MONTE_CARLO_H
#include <IMP/isd/isd_config.h>
#include <IMP/core/MonteCarlo.h>
#include <IMP/isd/Molec... | shanot/imp | modules/isd/include/HybridMonteCarlo.h | C | gpl-3.0 | 1,778 |
Milesdatas::Application.routes.draw do
devise_for :users
resources :records
authenticated :user do
root :to => "records#index"
end
namespace :api do
devise_for :users
resources :records
match '/sessions/check_auth_token_validity', :controller => 'sessions', :action => 'check_auth_token_vali... | naysayer/miles_data_rails_iphone_auth | config/routes.rb | Ruby | gpl-3.0 | 2,112 |
'use strict'
/* globals describe it spyOn expect fail */
const pupilDataService = require('../../../services/data-access/pupil.data.service')
const pupilMock = require('../mocks/pupil')
const pupilAttendanceDataService = require('../../../services/data-access/pupil-attendance.data.service')
const redisCacheService = r... | DFEAGILEDEVOPS/MTC | admin/spec/back-end/service/attendance.service.spec.js | JavaScript | gpl-3.0 | 4,062 |
// Decompiled with JetBrains decompiler
// Type: System.ComponentModel.Design.CommandID
// Assembly: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// MVID: 5ABD58FD-DF31-44FD-A492-63F2B47CC9AF
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.dll
using System;
usin... | mater06/LEGOChimaOnlineReloaded | LoCO Client Files/Decompressed Client/Extracted DLL/System/System/ComponentModel/Design/CommandID.cs | C# | gpl-3.0 | 3,701 |
/*
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... | simonrussell/libzmq-gem | libzmq/zeromq-2.1.9/src/signaler.cpp | C++ | gpl-3.0 | 9,740 |
<?php
// This file is part of CodeRunner - http://coderunner.org.nz/
//
// CodeRunner 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... | saylordotorg/Moodle_Saylor | question/type/coderunner/tests/template_test.php | PHP | gpl-3.0 | 6,184 |
/*
Copyright(C) 2020 YLoader.com
This program is free software : you can redistribute it and / or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope t... | adrianmichel/yloader | src/include/plugin.h | C | gpl-3.0 | 10,595 |
/** \file
* \brief useable example of the Modular Multilevel Mixer
*
* \author Gereon Bartel
*
* \par License:
* This file is part of the Open Graph Drawing Framework (OGDF).
*
* \par
* Copyright (C)<br>
* See README.md in the OGDF root directory for details.
*
* \par
* This program is free software; you c... | likr/emogdf | ogdf/include/ogdf/energybased/multilevel_mixer/MMMExampleNiceLayout.h | C | gpl-3.0 | 1,789 |
package uni.miskolc.ips.ilona.measurement.model.position;
import static org.junit.Assert.*;
import java.util.UUID;
import org.junit.Test;
public class PositionTest {
@Test
public void testSetParameters() {
UUID uuid= UUID.randomUUID();
Coordinate coord= new Coordinate();
Zone zone = Zone.UNKNOWN_POSITION;
... | ZsoltToth/ilona | measurement/measurement-model/src/test/java/uni/miskolc/ips/ilona/measurement/model/position/PositionTest.java | Java | gpl-3.0 | 916 |
<?php
/**
* File for responseware forms
* @author jacob
* @package mod_turningtech
* @copyright 2012 Turning Technologies
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*
*/
global $CFG;
require_once($CFG->dirroot . '/lib/formslib.php');
/**
* provides a form that allow... | lsuits/moodle | mod/turningtech/lib/forms/turningtech_responseware_form.php | PHP | gpl-3.0 | 3,063 |
#pragma once
#include <malloc.h>
#include <memory>
namespace walberla {
namespace simd {
/**
* STL-compliant allocator that allocates aligned memory.
* \tparam T Type of the element to allocate.
* \tparam Alignment Alignment of the allocation, e.g. 16.
*/
template <class T, size_t Alignment>
struct aligned_allo... | lssfau/walberla | src/simd/AlignedAllocator.h | C | gpl-3.0 | 3,023 |
#ifndef MATADOR_ADDRESS_RESOLVER_HPP
#define MATADOR_ADDRESS_RESOLVER_HPP
#ifdef _MSC_VER
#ifdef matador_net_EXPORTS
#define OOS_NET_API __declspec(dllexport)
#define EXPIMP_NET_TEMPLATE
#else
#define OOS_NET_API __declspec(dllimport)
#define EXPIMP_NET_TEMPLATE extern
#endif
#pragma warning(disable: 4251)
#else
#defi... | zussel/matador | include/matador/net/address_resolver.hpp | C++ | gpl-3.0 | 3,144 |
#funcion para separar un numero telefonico por un "-" creando una estructura similar 1-23-456-7891
function separa_numero_telefonico($numero){
$separar = 1;
$cadena = (string)$numero;
$long = strlen($cadena);
for($i=0; $i<$long; $separar++) {
if ($i==0){
$telefono= substr($cadena, $i, $separar);
}
else {
$tel... | edgarslr/scr | num_tel.php | PHP | gpl-3.0 | 417 |
namespace UnityEditor
{
using System;
using System.Collections.Generic;
using UnityEngine;
internal class ExposablePopupMenu
{
private List<ItemData> m_Items;
private float m_ItemSpacing;
private float m_MinWidthOfPopup;
private PopupButtonData m_PopupButtonData;
... | randomize/VimConfig | tags/unity5/UnityEditor/ExposablePopupMenu.cs | C# | gpl-3.0 | 5,354 |
//----------------------------------------------------------------------------
//
// Copyright (C) 2004-2015 by EMGU Corporation. All rights reserved.
//
// Vector of DMatch
//
// This file is automatically generated, do not modify.
//----------------------------------------------------------------------------
usi... | whitechoclax/IntelSocketDesocketRB | VishnuSocket/Common/EMGU/Emgu.CV/Util/VectorOfDMatch.cs | C# | gpl-3.0 | 7,964 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.