repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
brandl-muc/containers | README.md | 12 | # containers | gpl-3.0 |
jesusc/eclectic | plugins/org.eclectic.frontend.syntax/src-gen/org/eclectic/frontend/parser/antlr/TaoParser.java | 1041 | /*
* generated by Xtext
*/
package org.eclectic.frontend.parser.antlr;
import com.google.inject.Inject;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.eclectic.frontend.services.TaoGrammarAccess;
public class TaoParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
@Inject
priva... | gpl-3.0 |
redeecologica/pedidos | estoque_pre.php | 19108 | <?php
require "common.inc.php";
verifica_seguranca($_SESSION[PAP_RESP_MUTIRAO]);
top();
?>
<?php
$action = request_get("action",-1);
if($action==-1) $action=ACAO_EXIBIR_LEITURA;
$est_cha=request_get("est_cha",-1);
if($est_cha==-1)
{
if(isset($_SESSION['cha_id_pref']))
{
$est_cha=$_... | gpl-3.0 |
vietnamframework/vietnamframework | app/view/newstreecolumn/js/jquery.flexslider.init.js | 414 | jQuery(document).ready(function($) {
$('#slide-left').flexslider({
animation: "slide",
controlNav: "thumbnails",
start: function(slider) {
$('ol.flex-control-thumbs li img.flex-active').parent('li').addClass('active');
}
});
});
jQuery(document).ready(function($) {
$('#slide')... | gpl-3.0 |
espena/sosicon | src/converter_sosi2tsv.cpp | 877 | /*
* This file is part of the command-line tool sosicon.
* Copyright (C) 2014 Espen Andersen, Norwegian Broadcast Corporation (NRK)
*
* This 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 v... | gpl-3.0 |
codewiz/mandelwow | bounding_box.rs | 2271 | use crate::cube::Cube;
use glium;
use glium::{Display, Program, Surface, implement_vertex};
use glium::index::{IndexBuffer, PrimitiveType};
use std::rc::Rc;
pub fn solid_fill_program(display: &Display) -> Program {
let vertex_shader_src = include_str!("shaders/solid.vert");
let fragment_shader_src = include_st... | gpl-3.0 |
Xahlicem/DrakSolz | Projectiles/ChickenEgg.cs | 1089 | using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace DrakSolz.Projectiles {
public class ChickenEgg : ModProjectile {
public override string Texture { get { return "Terraria/Projectile_318"; } }
public override void SetStaticDefaults() {
DisplayName.SetDefault("Chicke... | gpl-3.0 |
chrisburnell/chrisburnell.github.io | src/posts/beer/2020-01-07-852755619.md | 391 | ---
date: 2020-01-07T17:53:33+0000
title: "Hazy State"
authors: "Collective Arts Brewing"
rating: 3.5
drink_of: https://untappd.com/b/collective-arts-brewing-hazy-state/3104704
checkin:
title: The Griffin
lat: 51.525
long: -0.082
weather:
summary: Overcast
temperature: 11.5
badges:
- title: I Believe in IPA... | gpl-3.0 |
webSPELL/webSPELL-4.2.3SE | admin/gallery.php | 27665 | <?php
/*
##########################################################################
# #
# Version 4 / / / #
# -----------__---/__---__------__----__---/---/- #
# ... | gpl-3.0 |
LindaLS/Sausage_Biscuits | architecture/tests/2_test/train.py | 4265 | # Example implementing 5 layer encoder
# Original code taken from
# https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/3_NeuralNetworks/autoencoder.py
# The model trained here is restored in load.py
from __future__ import division, print_function, absolute_import
# Import MNIST data
# from tens... | gpl-3.0 |
mdsimmo/cake-dungeon | java/com/github/mdsimmo/pixeldungeon/levels/painters/TreasuryPainter.java | 2296 | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* 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.
*
* T... | gpl-3.0 |
drnp/bsp | src/lib/bsp-core/object.c | 53620 | /*
* object.c
*
* Copyright (C) 2012 - Dr.NP
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This progra... | gpl-3.0 |
psipika/lxweather | src/location.h | 2872 | /**
* Copyright (c) 2012-2015 Piotr Sipika; see the AUTHORS file for more.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any late... | gpl-3.0 |
pasoev/dungeons | src/util.c | 1578 | /*
Copyright (C) 2016 Sergo Pasoevi.
This pragram 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 d... | gpl-3.0 |
likev/CImg-docs | FAQ-Frequently-Asked-Questions.md | 9558 | # FAQ Summary
1. General information and availability
1. What is the CImg Library ?
2. What platforms are supported ?
3. How is CImg distributed ?
4. What kind of people are concerned by CImg ?
5. What are the specificities of the CeCILL license ?
6. Who is behind CImg ?
2. C++ related question... | gpl-3.0 |
erudit/zenon | eruditorg/templates/userspace/journal/subscription/base.html | 1281 | {% extends "userspace/journal/base.html" %}
{% load i18n rules %}
{% block title %}{{ block.super }}{% endblock title %}
{% block breadcrumb %}{{ block.super }}
<li><a href="{% url 'userspace:journal:subscription:list' scope_current_journal.pk %}">{% trans "Abonnements" %}</a></li>
{% endblock breadcrumb %}
{% block... | gpl-3.0 |
covertress/go-krypton | trie/trie.go | 13056 | // Copyright 2014 The go-krypton Authors
// This file is part of the go-krypton library.
//
// The go-krypton library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, o... | gpl-3.0 |
blurock/REACT | programs/scripts/readsubs.sh | 1817 | #!/bin/csh
# ---------------------------------------------------------------------------
#
# Script to Read in a new substructure file to the database
#
# ---------------------------------------------------------------------------
#set verbose on
if ( $#argv != 1 ) then
echo "Usage: $0 FileRoot"
echo " FileROOT... | gpl-3.0 |
zemli/Cpp-Tutorial | algorithm/string/Add Binary-optimized.cpp | 1206 | class Solution {
public:
string addBinary(string a, string b) {
string sum = "";
int carry = 0;
for (int i = a.size() - 1, j = b.size() - 1; i >= 0 || j >= 0; i--, j--) {
int m = (i >= 0 && a[i] == '1');
int n = (j >... | gpl-3.0 |
InstantKhabar/_source | _source/news/2019-04-07-congress (1).html | 3103 | ---
title: "कांग्रेस का नया नारा 'अब होगा NYAY', चुनावी कैम्पेन लांच"
layout: item
category: ["politics"]
date: 2019-04-07T08:05:44.259Z
image: 1554624344259congress.jpg
---
<p>नई दिल्ली: कांग्रेस लोकसभा चुनाव के लिए रविवार को अपने प्रचार अभियान की औपचारिक रूप से शुरुआत की। इस अभियान के तहत पार्टी ने प्रिंट, इलेक्ट्रॉन... | gpl-3.0 |
gleachkr/Carnap | Carnap-GHCJS/src/Carnap/GHCJS/Action/TreeDeductionCheck.hs | 15280 | {-# LANGUAGE FlexibleContexts, CPP, JavaScriptFFI #-}
module Carnap.GHCJS.Action.TreeDeductionCheck (treeDeductionCheckAction) where
import Lib hiding (content)
import Data.Tree
import Data.Either
import Data.Map as M (lookup,Map, toList)
import Data.IORef (IORef, readIORef, newIORef, writeIORef)
import Data.Typeable ... | gpl-3.0 |
deremix/darmixcore | src/game/ObjectAccessor.h | 7431 | /*
* Darmix-Core Copyright (C) 2013 Deremix
* Integrated Files: CREDITS.md and LICENSE.md
*/
#ifndef BLIZZLIKE_OBJECTACCESSOR_H
#define BLIZZLIKE_OBJECTACCESSOR_H
#include "Platform/Define.h"
#include "Policies/Singleton.h"
#include <ace/Thread_Mutex.h>
#include "Utilities/UnorderedMap.h"
#include "Policies/Threa... | gpl-3.0 |
tschroedter/cpp_examples | vs2015/Katas/KataPacMan/PacMan.Logic.Tests/MonsterHeadingCalculator.Tests.cpp | 4978 | #include "stdafx.h"
#include <gtest/gtest.h>
#include "MonsterHeadingCalculator.h"
namespace PacMan
{
namespace Logic
{
namespace Tests
{
using namespace Logic;
void test_calculate_sets_heading (
Row monster_row,
Column monster_column,
... | gpl-3.0 |
sajinia/UVa-Online-Judge | Volume-11/1180-(2 numbery).cpp | 437 | /** Author: Sharmin Akter **/
/** Created at: 4/30/2012 12:07:26 AM **/
#include<stdio.h>
int main()
{
int i,j,k,p,m,n,t;
while(scanf("%d",&t)==1)
{
for(i=1;i<=t;i++)
{
scanf("%d",&p);
if(p==2||p==3||p==5||p==7||p==13||p==17)
printf("... | gpl-3.0 |
SpaceGroupUCL/qgisSpaceSyntaxToolkit | esstoolkit/external/networkx/algorithms/centrality/tests/test_closeness_centrality.py | 10220 | """
Tests for closeness centrality.
"""
import pytest
import networkx as nx
from networkx.testing import almost_equal
class TestClosenessCentrality:
@classmethod
def setup_class(cls):
cls.K = nx.krackhardt_kite_graph()
cls.P3 = nx.path_graph(3)
cls.P4 = nx.path_graph(4)
cls.K5 ... | gpl-3.0 |
TrentHouliston/JsonFL | src/main/java/au/com/houliston/jsonfl/InvalidJsonFLException.java | 1371 | /**
* This file is part of JsonFL.
*
* JsonFL is free software: you can redistribute it and/or modify it under the
* terms of the Lesser GNU General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later version.
*
* JsonFL is distributed ... | gpl-3.0 |
Bundeswahlrechner/Bundeswahlrechner | mandatsverteilung/src/main/java/edu/kit/iti/formal/mandatsverteilung/generierer/SitzzahlEinschraenkung.java | 934 | package edu.kit.iti.formal.mandatsverteilung.generierer;
import edu.kit.iti.formal.mandatsverteilung.datenhaltung.Bundestagswahl;
/**
* Modelliert eine Einschränkung an das Ergebnis des Generierers, dass der
* Bundestag eine bestimmte Größe haben soll.
*
* @author Jan
*
*/
public class SitzzahlEinschraenkung ... | gpl-3.0 |
hpfem/hermes-tutorial | F-trilinos/03-trilinos-timedep/definitions.cpp | 3694 | #include "definitions.h"
CustomWeakForm::CustomWeakForm(std::vector<std::string> newton_boundaries, double heatcap, double rho, double tau,
double lambda, double alpha, double temp_ext, MeshFunctionSharedPtr<double> sln_prev_time, bool JFNK) : WeakForm<double>(1, JFNK)
{
this->set_ext(sln_prev_time);
// Jacobia... | gpl-3.0 |
nilovna/EnceFAL | project/encefal/migrations/0003_auto__add_unique_vendeur_code_permanent.py | 8651 | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding unique constraint on 'Vendeur', fields ['code_permanent']
db.create_unique(u'encefal_vendeur', ['co... | gpl-3.0 |
sai9/weewx-gitsvn | bin/weewx/drivers/ws28xx.py | 174398 | # $Id$
# Copyright 2013 Matthew Wall
# See the file LICENSE.txt for your full rights.
#
# Thanks to Eddie De Pieri for the first Python implementation for WS-28xx.
# Eddie did the difficult work of decompiling HeavyWeather then converting
# and reverse engineering into a functional Python implementation. Eddie's
# wor... | gpl-3.0 |
UpshiftOne/upshift | spec/models/shared_examples/vcs/having_remote.rb | 1792 | # frozen_string_literal: true
RSpec.shared_examples 'vcs: having remote' do
describe '#remote' do
it 'sets @remote' do
object.remote = 'some-value'
expect(object.instance_variable_get(:@remote)).to eq 'some-value'
end
end
describe '#remote' do
subject(:remote) { object.remote }
let(... | gpl-3.0 |
nbuechler/nb.com-v8 | js/directives/language-container-directive.js | 3501 | // NOTE: nbApp is defined in app.js
nbApp.directive("languageContainerDirective", function() {
return {
restrict : 'E',
templateUrl : 'js/templates/language-container.html',
scope: {
color: "@",
language: "@",
reading: "@",
writing: "@",
list... | gpl-3.0 |
j-otsuki/SpM | thirdparty/cpplapack/include/_dsymatrix-/_dsymatrix-calc.hpp | 2027 | //=============================================================================
/*! return transposed _dsymatrix */
inline _dsymatrix t(const _dsymatrix& mat)
{CPPL_VERBOSE_REPORT;
#ifdef CPPL_DEBUG
WARNING_REPORT;
std::cerr << "This function call has no effect since the matrix is symmetric." << std::endl;
#endif/... | gpl-3.0 |
yparsak/JWC | src/main/java/name/parsak/controller/WebController.java | 10545 | package name.parsak.controller;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springfram... | gpl-3.0 |
bailey-lab/bibseq | src/njhseq/alignment/alnCache/alnInfoHolder.hpp | 2293 | #pragma once
//
// njhseq - A library for analyzing sequence data
// Copyright (C) 2012-2018 Nicholas Hathaway <nicholas.hathaway@umassmed.edu>,
//
// This file is part of njhseq.
//
// njhseq is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by... | gpl-3.0 |
yyang-even/algorithms | mathematics/arithmetics/sum/closest_sum_pair_to_x.cpp | 4582 | #include "common_header.h"
namespace {
using ArrayType = std::vector<int>;
/** Given a sorted array and a number x, find the pair in array whose sum is closest to x
*
* @reference https://www.geeksforgeeks.org/given-sorted-array-number-x-find-pair-array-whose-sum-closest-x/
*
* Given a sorted array and a numb... | gpl-3.0 |
jm33-m0/jm33_m0 | category/misc13.html | 32413 | <!DOCTYPE html>
<html lang="en" prefix="og: http://ogp.me/ns# fb: https://www.facebook.com/2008/fbml" >
<head>
<title>misc - jm33_ng</title>
<!-- Using the latest rendering mode for IE -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<meta name="viewport" content="w... | gpl-3.0 |
fcla/xmlresolution | lib/xmlresolution/exceptions.rb | 7177 | module XmlResolution
# Most named exceptions in the XmlResolution service we subclass here
# to one of the HTTP classes. Libraries are designed specifically
# to be unaware of this mapping: they only use their specific low level
# exceptions classes.
#
# In general, if we catch an HttpError at our top lev... | gpl-3.0 |
manchicken/libqapt | src/package.cpp | 40648 | /***************************************************************************
* Copyright © 2010-2011 Jonathan Thomas <echidnaman@kubuntu.org> *
* Heavily inspired by Synaptic library code ;-) *
* *
* This pr... | gpl-3.0 |
DTasev/rnd | rust/guessing-game/src/main.rs | 827 | extern crate rand;
use std::io;
use rand::Rng;
use std::cmp::Ordering;
fn main() {
println!("Guess the number!");
let secret_number = rand::thread_rng().gen_range(1, 101);
loop {
println!("Please input your guess.");
let mut guess = String::new();
io::stdin()
.read_li... | gpl-3.0 |
murilocosta/huitzilopochtli | app/Contact.php | 744 | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
final class Contact extends Model
{
const PHONE = 'phone';
const ADDRESS = 'address';
const ADDRESS_COMPLEMENT = 'address_complement';
const POSTAL_CODE = 'postal_code';
const CITY = 'city';
const REGION = 'region';
const C... | gpl-3.0 |
mizhgun/HTResearch | HTResearch/Utilities/logutil.py | 1640 | #
# logutil.py
# A module containing means of interacting with log files.
#
import logging
import logging.handlers
import os
import time
from data_structures import enum
from config import get_config_value
LoggingSection = enum(
'CLIENT',
'CRAWLER',
'DATA',
'FRONTIER',
'TEST',
'UTILITIES',
)... | gpl-3.0 |
shomy4/GeoStitcher | geostitcher/src/geostitcher/views/templates/gallery.html | 1056 | {% extends "geostitcher/views/templates/base.html" %}
{% block content %}
<div class="gallery">
<div id="error"></div>
<script src="{{context}}/js/gallery.js" type="text/javascript"></script>
<div>
{% for pic in pictures %}
<div class="thumbnail">
<a class={{pic.name}} href="{{con... | gpl-3.0 |
hypertable/hypertable | src/cc/Hypertable/RangeServer/UpdatePipeline.cc | 32361 | /* -*- c++ -*-
* Copyright (C) 2007-2016 Hypertable, Inc.
*
* This file is part of Hypertable.
*
* Hypertable 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 l... | gpl-3.0 |
juswilliams/bioscripts | CpG_by_feature/cpg_gene.py | 3970 | #!/usr/bin/env python
'''
Purpose:
This script, using default values, determines and plots the CpG islands in
relation to a given feature "type" (e.g. "gene" or "mRNA") from a GFF file
which corresponds to the user-provided fasta file.
Note:
CpG Islands are determined by ObEx = (Observed CpG) / (Expected CpG) ,
def... | gpl-3.0 |
jantman/python-obd | elmscan-linux/scantool_114/globals.h | 1292 | #ifndef GLOBALS_H
#define GLOBALS_H
#include <stdio.h>
#include <allegro.h>
#include "resource.h"
//#define LOG_COMMS // Uncomment this line to enable serial comm logging
// system_of_measurements
#define METRIC 0
#define IMPERIAL 1
// Display mode flags
#define FULL_SCREEN_MODE 0
#define WINDOW... | gpl-3.0 |
lefant/kurt | src/Kurt/GoEngine.hs | 11157 | -- Move generator logic
module Kurt.GoEngine ( genMove
, simulatePlayout
, EngineState(..)
, newEngineState
, updateEngineState
, newUctTree
) where
import Control.Arrow ... | gpl-3.0 |
k0nsl/k0nsl_blog | README.md | 62 | # k0nsl's blog
mirrored blog posts from my personal platform.
| gpl-3.0 |
DusterTheFirst/mechan.js | docs/docs/files/CommandBuilder.md | 7458 | # CommandBuilder <span style="font-weight:normal; font-size:.5em">extends [Command](#Command)</span>
## Constructor
```js
new Mechan.CommandBuilder(name);
```
| Parameter | Type | Optional | Default | Description ... | gpl-3.0 |
nrizzio/Signal-Desktop | ts/components/LightboxGallery.stories.tsx | 2482 | // Copyright 2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react';
import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import { number } from '@storybook/addon-knobs';
import { LightboxGallery, Props } from './LightboxGallery... | gpl-3.0 |
alexkademan/solful-2016-wp | _assets/js/views/photo_grid.js | 4143 | // app.photoGrid
var Backbone = require("backbone");
// var _ = require("underscore");
var $ = require("jquery");
var ImageGridFuncs = require("./photo_grid_functions");
var ImageCollection = require("../models/photo_grid_image_collection");
var ImageView = require("./photo_grid_image");
module.exports = Backbone.Vi... | gpl-3.0 |
Shurgent/TFCTech | src/main/java/ua/pp/shurgent/tfctech/integration/bc/blocks/pipes/transport/PipeItemsSterlingSilver.java | 1104 | package ua.pp.shurgent.tfctech.integration.bc.blocks.pipes.transport;
import net.minecraft.item.Item;
import net.minecraftforge.common.util.ForgeDirection;
import ua.pp.shurgent.tfctech.integration.bc.BCStuff;
import ua.pp.shurgent.tfctech.integration.bc.ModPipeIconProvider;
import ua.pp.shurgent.tfctech.integration.b... | gpl-3.0 |
footoflove/android | crazy_android/04/4.1/StartActivity/src/org/crazyit/activity/StartActivity.java | 1081 | package org.crazyit.activity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
/**
* Description:
* <br/>site: <a href="http://www.crazyit.org">crazyit.org</a>
* <br/>Copyright (C... | gpl-3.0 |
SCABER-Dev-Team/SCABER | client-service/js/user_defined_operator.js | 177 | // Remove the particular item
function removeArr(arr , removeItem){
if(arr.indexOf(removeItem) > -1){
arr.splice(arr.indexOf(removeItem),1);
}
return arr;
}
| gpl-3.0 |
CodiePP/libmoltalk | Code/Cpp/MTMatrix_ctor.cpp.md | 1160 |
declared in [MTMatrix](MTMatrix.hpp.md)
~~~ { .cpp }
MTMatrix::MTMatrix(int rows, int cols)
{
//std::clog << "MTMatrix(" << rows << ", " << cols << ")" << std::endl;
if (cols > 0 && rows > 0) {
_rows = rows;
_cols = cols;
_elements = new double[_rows * _cols];
for (int i=0; i<_rows*_cols; i++) {
_ele... | gpl-3.0 |
active-citizen/android.java | app/src/main/java/ru/mos/polls/ourapps/ui/adapter/OurAppsAdapter.java | 625 | package ru.mos.polls.ourapps.ui.adapter;
import java.util.ArrayList;
import java.util.List;
import ru.mos.polls.base.BaseRecyclerAdapter;
import ru.mos.polls.base.RecyclerBaseViewModel;
import ru.mos.polls.ourapps.model.OurApplication;
import ru.mos.polls.ourapps.vm.item.OurApplicationVM;
public class OurAppsAdapte... | gpl-3.0 |
kkurapaty/SourceCodeCounter | SourceCodeCounter/Core/InvalidArgumentException.cs | 1037 | using System;
namespace SourceCodeCounter.Core
{
/// <summary>
/// The exception that is thrown when a command-line argument is invalid.
/// </summary>
internal class InvalidArgumentException : Exception
{
readonly string _argument;
public InvalidArgumentException(strin... | gpl-3.0 |
HuubMons/HuMo-gen | styles/Clear_White.css | 3030 | html{
margin:0 auto;
}
body {
background:url(images_white/background.gif) repeat-y top center #fff;
color:#404040;
/* font:76% Verdana,Tahoma,Arial,sans-serif; */
line-height:1.3em;
margin:0 auto;
padding:0;
}
/* Menu */
#top_menu {
position:relative;
/* color: #6666aa; */
/* background-color: #aaccee; */
... | gpl-3.0 |
lubosz/liblub | src/Load/AssimpSceneLoader.h | 694 | #ifndef AssimpSceneLoader_H
#define AssimpSceneLoader_H
#include <string>
#include <assimp/scene.h>
#include <assimp/postprocess.h>
#include <assimp/Importer.hpp>
#include "Common/Singleton.h"
#include "Mesh/Mesh.h"
#include "Shader/ShaderProgram.h"
#include "Scene/Material.h"
using std::string;
class AssimpSceneL... | gpl-3.0 |
Solutions4U-NI/CDTSA | Facturacion/Facturacion/Reporte/rptAnalisisVencimiento.Designer.vb | 70535 | <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Public Class rptAnalisisVencimiento
Inherits DevExpress.XtraReports.UI.XtraReport
'XtraReport overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByV... | gpl-3.0 |
wellingtonfds/cms | app/Http/Controllers/HomeController.php | 524 | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('auth');
}
/**
* Show the application dashbo... | gpl-3.0 |
KSG-IT/ksg-nett | economy/templates/economy/economy_lefmenu.html | 734 | {# The template expects one input parameter: `active`, which determines what link we are currently at #}
{% load i18n %}
<div class="economy__leftmenu">
<a class="economy__leftbutton resetlink {% if filter is None %}active{% endif %}"
href="{% url 'economy_soci_sessions' %}">{% trans 'X-lists' %}</a>
<a ... | gpl-3.0 |
Klanly/klanly.github.io | imh/az60.js | 1322 | const gal=[//731-62
'1@001/b4avsq1y2i',
'1@002/50uvpeo7tb',
'1@002/0ypu4wgjxm',
'1@002/b61d80e9pf',
'1@002/f1kb57t4ul',
'1@002/swq38v49nz',
'1@002/zeak367fw1',
'1@003/nx1ld4j9pe',
'1@003/yh0ub5rank',
'1@004/j29uftobmh',
'1@005/0asu1qo75n',
'1@005/4c7bn1q5mx',
'1@005/le3vrzbwfs',
'1@006/ek0tq9wvny',
'1@00... | gpl-3.0 |
rsta2/circle | lib/sched/semaphore.cpp | 1721 | //
// semaphore.cpp
//
// Circle - A C++ bare metal environment for Raspberry Pi
// Copyright (C) 2021 R. Stange <rsta2@o2online.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... | gpl-3.0 |
vdrhtc/Measurement-automation | resonator_tools/resonator_tools/calibration.py | 4324 |
import numpy as np
from scipy import sparse
from scipy.interpolate import interp1d
class calibration(object):
'''
some useful tools for manual calibration
'''
def normalize_zdata(self,z_data,cal_z_data):
return z_data/cal_z_data
def normalize_amplitude(self,z_data,cal_ampdata):
return z_data/cal_ampdata
... | gpl-3.0 |
forio/julia-studio | share/julia-studio/qml/qmljsdebugger/editor/liverubberbandselectionmanipulator.h | 2719 | /****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | gpl-3.0 |
amnesty/dataquality | test/javascript/iban.js | 2366 | QUnit.test( "testGetIbanCheckDigits", function( assert ) {
assert.equal(getIBANCheckDigits( 'GB00WEST12345698765432' ), '82', 'Get check digits of an IBAN' );
assert.equal(getIBANCheckDigits( '1234567890' ), '', 'If string isn\'t an IBAN, returns empty' );
assert.equal(getIBANCheckDigits( '' ), '', 'If st... | gpl-3.0 |
AquaCore/AquaCore | lib/Aqua/SQL/Search.php | 2598 | <?php
namespace Aqua\SQL;
class Search
extends Select
{
/**
* @var array
*/
public $whereOptions = array();
/**
* @var array
*/
public $havingOptions = array();
/**
* @param array $where
* @param bool $merge
* @return static
*/
public function whereOptions(array $where, $merge = true)
{
if($... | gpl-3.0 |
donpillou/MegucoData | Src/DataProtocol.h | 2403 |
#pragma once
#include <nstd/Base.h>
class DataProtocol
{
public:
enum MessageType
{
errorResponse,
subscribeRequest,
subscribeResponse,
unsubscribeRequest,
unsubscribeResponse,
tradeRequest,
tradeResponse,
registerSourceRequest,
registerSourceResponse,
registerSinkRequest,... | gpl-3.0 |
InstantKhabar/_source | _source/news/2019-10-24-hariyana-jjp-congress-bjp-hung-assembly.html | 2560 | ---
title: "हरियाणा में सभी पार्टियां बहुमत से दूर"
layout: item
category: ["politics"]
date: 2019-10-24T11:42:44.692Z
image: 1571917364691hariyana-jjp-congress-bjp-hung-assembly.jpg
---
<p>नई दिल्ली: हरियाणा चुनाव के नतीजे काफी दिलचस्प हो गए हैं। अब तक के रुझान में भाजपा यहां आगे जरूर चल रही है, लेकिन बहुमत का आंकड़ा ... | gpl-3.0 |
active-citizen/shop.1c | www/local/.migrations/migs/sql/optimize_patch.sql | 6255 | ALTER TABLE `b_iblock_element` ADD KEY `TIMESTAMP_X` (`TIMESTAMP_X`);
ALTER TABLE `b_iblock_element` ADD KEY `IBLOCK_ID` (`IBLOCK_ID`);
ALTER TABLE `b_iblock_element` ADD KEY `XML_ID` (`XML_ID`);
ALTER TABLE `b_iblock_element` ADD KEY `WF_PARENT_ELEMENT_ID` (`WF_PARENT_ELEMENT_ID`);
ALTER TABLE `b_iblock_element` ADD K... | gpl-3.0 |
paulgriffiths/general_ledger | lib/database/mysql/db_mysql_list_entities_report_sql.c | 652 | /*!
* \file db_mysql_list_entities_report_sql.c
* \brief Returns MYSQL SQL query to create list entities report.
* \author Paul Griffiths
* \copyright Copyright 2014 Paul Griffiths. Distributed under the terms
* of the GNU General Public License. <http://www.gnu.org/licenses/>
... | gpl-3.0 |
gammalgris/jmul | Utilities/Transformation-XML/src/jmul/transformation/xml/rules/xml2object/Xml2ClassRule.java | 5570 | /*
* SPDX-License-Identifier: GPL-3.0
*
*
* (J)ava (M)iscellaneous (U)tilities (L)ibrary
*
* JMUL is a central repository for utilities which are used in my
* other public and private repositories.
*
* Copyright (C) 2013 Kristian Kutin
*
* This program is free software: you can redistribute it and/or modify... | gpl-3.0 |
gohdan/DFC | known_files/hashes/bitrix/modules/main/install/js/main/amcharts/3.11/lang/hr.min.js | 61 | Bitrix 16.5 Business Demo = bf14f0c5bad016e66d0ed2d224b15630
| gpl-3.0 |
Camano/convertlit | lib/litinternal.h | 2631 | /*--[litinternal.h]------------------------------------------------------------
| Copyright (C) 2002 Dan A. Jackson
|
| This file is part of the "openclit" library for processing .LIT files.
|
| "Openclit" is free software; you can redistribute it and/or modify
| it under the terms of the GNU General Public Lice... | gpl-3.0 |
xulesc/spellchecker | impl1.py | 1898 | ## mostly copied from: http://norvig.com/spell-correct.html
import sys, random
import re, collections, time
TXT_FILE='';
BUF_DIR='';
NWORDS=None;
def words(text): return re.findall('[a-z]+', text)
def train(features):
model = collections.defaultdict(lambda: 1)
for f in features:
model[f] += 1
r... | gpl-3.0 |
umibulle/romette | plugins/magusine-portage2/squelettes/blocs/sommaire/derniers-forums.html | 467 | <B_lastforums><div id="derniers-forums" class="listagebloc">
<h2><:derniers_forums:></h2>
<ul class="listageconteneur">
<BOUCLE_lastforums(FORUMS){!par date}{0,#ENV{parametre}}{plat}>
<li>
<h4 class="listagetitre"><a href="#URL_ARTICLE#forums">#TITRE</a></h4>
<div class="listageinfo">[(#DATE|affdate)][, <:par_auteur:> ... | gpl-3.0 |
belangeo/cecilia4csound | Resources/html/sensekey.html | 18219 | <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!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/html; charset=UTF-8" />
<title>sense... | gpl-3.0 |
Niky4000/UsefulUtils | projects/tutorials-master/tutorials-master/spring-5-reactive-security/src/main/java/com/baeldung/webflux/EmployeeWebSocketHandler.java | 1272 | package com.baeldung.webflux;
import static java.time.LocalDateTime.now;
import static java.util.UUID.randomUUID;
import java.time.Duration;
import org.springframework.stereotype.Component;
import org.springframework.web.reactive.socket.WebSocketHandler;
import org.springframework.web.reactive.socket.WebSocketSessio... | gpl-3.0 |
Extant-1/ThieVR | game/MultiStateMover.h | 4866 | /*****************************************************************************
The Dark Mod GPL Source Code
This file is part of the The Dark Mod Source Code, originally based
on the Doom 3 GPL Source Code as published in 2011.
The Dark Mod Source Code is free software: you can redistribute ... | gpl-3.0 |
public-accountability/littlesis-rails | spec/controllers/search_controller_spec.rb | 1540 | describe SearchController, type: :controller do
it { is_expected.to route(:get, '/search').to(action: :basic) }
it { is_expected.to route(:get, '/search/entity').to(action: :entity_search) }
describe "GET #entity_search" do
login_user
let(:org) { build(:org) }
def search_service_double
instanc... | gpl-3.0 |
mikegioia/libremail | webmail/src/Model/Account.php | 4773 | <?php
namespace App\Model;
use PDO;
use Exception;
use App\Model;
use App\Config;
use App\Exceptions\ServerException;
use App\Exceptions\DatabaseInsertException;
class Account extends Model
{
public $id;
public $name;
public $email;
public $service;
public $password;
public $is_active;
pu... | gpl-3.0 |
241180/Oryx | v-guice-example-master/src/main/java/org/vaadin/addons/guice/server/ExampleGuiceServletModule.java | 383 | package org.vaadin.addons.guice.server;
import org.vaadin.addons.guice.servlet.VGuiceApplicationServlet;
import com.google.inject.servlet.ServletModule;
/**
*
* @author Will Temperley
*
*/
public class ExampleGuiceServletModule extends ServletModule {
@Override
protected void configureServlets() {
... | gpl-3.0 |
Rockhount/ArmA3_Event_TheOutbreak | The_Outbreak2.Altis/Ammo/dialogs.hpp | 1558 | class Global_var_WeaponGUI
{
idd=-1;
movingenable=false;
class controls
{
class Global_var_WeaponGUI_Frame: RscFrame
{
idc = -1;
x = 0.365937 * safezoneW + safezoneX;
y = 0.379 * safezoneH + safezoneY;
w = 0.170156 * safezoneW;
h = 0.143 * safezoneH;
};
class Global_var_WeaponGUI_Background: ... | gpl-3.0 |
talos/docker4data | data/socrata/data.sunlightlabs.com/new_american_city_inc_donors/schema.sql | 97 | CREATE TABLE "new_american_city_inc_donors" (
"contributor" text,
"aggregate_donation" text
);
| gpl-3.0 |
Traderain/Wolven-kit | CP77.CR2W/Types/cp77/inkMenuAccountLogicController.cs | 733 | using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class inkMenuAccountLogicController : inkWidgetLogicController
{
[Ordinal(1)] [RED("playerId")] public inkTextWidgetReference PlayerId { get; set; }
[Ordinal(2)] [RED("changeAccountLabe... | gpl-3.0 |
will-bainbridge/OpenFOAM-dev | applications/utilities/mesh/manipulation/mirrorMesh/mirrorMesh.C | 4304 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\... | gpl-3.0 |
CodeForAfrica/WAZImap.Kenya | hurumap_tz/sql/own_television.sql | 3358 | --
-- PostgreSQL database dump
--
-- Dumped from database version 10.6
-- Dumped by pg_dump version 10.6
SET statement_timeout = 0;
SET lock_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET c... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c21520110.lua | 1588 | --玄星曜兽-女土蝠
function c21520110.initial_effect(c)
--summon & set with no tribute
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(21520110,0))
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SUMMON_PROC)
e1:SetCondition(c21520110.ntco... | gpl-3.0 |
TUD-OS/OdroidReader | Data/datadescriptor.cpp | 1161 | #include "Data/datadescriptor.h"
#include <type_traits>
#include <QDebug>
unsigned int DataDescriptor::_uid_ctr = 0;
DataDescriptor::DataDescriptor(QString name, QString unit, double factor, Type t) :
_name(name), _unit(unit), _factor(factor), _type(t)
{
_uuid = getUUID();
}
DataDescriptor::DataDescriptor(const QJ... | gpl-3.0 |
mohamedadaly/trex | src/CudaEMAlgorithm.cpp | 2709 | /*
-----------------------------------------------------------------------
Copyright: 2010-2015, iMinds-Vision Lab, University of Antwerp
2014-2015, CWI, Amsterdam
Contact: astra@uantwerpen.be
Website: http://sf.net/projects/astra-toolbox
This file is part of the ASTRA Toolbox.
The ASTRA Toolbox is free ... | gpl-3.0 |
gnagel/backtrader | backtrader/broker.py | 13299 | #!/usr/bin/env python
# -*- coding: utf-8; py-indent-offset:4 -*-
###############################################################################
#
# Copyright (C) 2015 Daniel Rodriguez
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as pub... | gpl-3.0 |
mariotaku/twidere.j2me | src/org/mariotaku/twidere/util/http/UnsafeSSLConnection.java | 2116 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.mariotaku.twidere.util.http;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import javax.microedition.io... | gpl-3.0 |
atiq-cs/Problem-Solving | algo/Graph/02_DFS_AllPossiblePaths.cs | 4531 | /***************************************************************************
* Title : Find all possible paths from Source to Destination
* URL :
* Date : 2018-02-23
* Author: Atiq Rahman
* Comp : O(V+E)
* Status: Demo
* Notes : comments inline, input sample at '01_BFS_SP.cs'
* meta : tag-graph-dfs, tag-re... | gpl-3.0 |
SCI2SUGR/KEEL | src/keel/Algorithms/RE_SL_Methods/LEL_TSK/Simplif.java | 10008 | /***********************************************************************
This file is part of KEEL-software, the Data Mining tool for regression,
classification, clustering, pattern mining and so on.
Copyright (C) 2004-2010
F. Herrera (herrera@decsai.ugr.es)
L. Sánchez (luciano@uniovi.es)
J. A... | gpl-3.0 |
Orcinuss/ReinforcedTools | src/main/java/com/orcinuss/reinforcedtools/item/tools/ItemRTMHarvester.java | 803 | package com.orcinuss.reinforcedtools.item.tools;
import com.google.common.collect.Sets;
import net.minecraft.block.Block;
import net.minecraft.init.Blocks;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemTool;
import java.util.Se... | gpl-3.0 |
mapaction/legacy-tools | v1.0/dataNameTools/cli/maDataNameChecker.vb | 9062 | '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
''Copyright (C) 2010 MapAction UK Charity No. 1075977
''
''www.mapaction.org
''
''This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eithe... | gpl-3.0 |
KevinEsquivel21/iHMW | Admin/Admin/Models/FacilityClient.cs | 3799 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Net;
using System.Net.Http;
using System.Net.Http.Formatting;
namespace Admin.Models
{
public class FacilityClient
{
//private string BASE_URL = "http://ihmwcore.azurewebsites.net/api/";
private s... | gpl-3.0 |
darlinghq/darling | src/frameworks/ModelIO/include/ModelIO/MDLMemoryMappedData.h | 765 | /*
This file is part of Darling.
Copyright (C) 2019 Lubos Dolezel
Darling 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.
Darling i... | gpl-3.0 |
mate-desktop/mate-character-map | mucharmap/mucharmap-search-dialog.h | 2795 | /*
* Copyright © 2004 Noah Levitt
*
* 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 distribu... | gpl-3.0 |