repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
gmchen/MosquitoSimulation | poi-3.8/docs/apidocs/org/apache/poi/ss/formula/functions/Count.html | 14956 | <!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_29) on Sat Mar 17 18:04:43 MSK 2012 -->
<TITLE>
Count (POI API Documentation)
</TITLE>
<META NAME="date" CONTENT="2012-03-17">
<LINK REL... | gpl-3.0 |
montimaj/ShaktiT_LLVM | llvm/lib/Target/Shakti/Shakti.h | 839 | //===-- Shakti.h - Top-level interface for Shakti representation -*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------------------------... | gpl-3.0 |
RoubyPA/Drakkar | testCgi.c | 205 | #include <stdio.h>
#include <stdlib.h>
int main()
{
printf("HTTP/1.1 200 OK\n") ;
printf("Content-type: text/plain\n") ;
printf("\r\n") ;
printf("CGI work !\n") ;
return EXIT_SUCCESS ;
}
| gpl-3.0 |
UnbDroid/robomagellan | Codigos/Raspberry/desenvolvimentoRos/devel/lib/python2.7/dist-packages/tf2_msgs/srv/_FrameGraph.py | 7187 | # This Python file uses the following encoding: utf-8
"""autogenerated by genpy from tf2_msgs/FrameGraphRequest.msg. Do not edit."""
import sys
python3 = True if sys.hexversion > 0x03000000 else False
import genpy
import struct
class FrameGraphRequest(genpy.Message):
_md5sum = "d41d8cd98f00b204e9800998ecf8427e"
_... | gpl-3.0 |
estei-master/segment_SOL | MARTIN/ihm2/ui_mainwindow.h | 15998 | /********************************************************************************
** Form generated from reading UI file 'mainwindow.ui'
**
** Created: Thu Jan 30 17:04:41 2014
** by: Qt User Interface Compiler version 4.8.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
******... | gpl-3.0 |
cedricfrancoys/tagger | src/md5.h | 1118 | /* md5.c - interface for checking and setting program environment.
This is an OpenSSL-compatible implementation of the RSA Data Security, Inc.
MD5 Message-Digest Algorithm (RFC 1321).
<http://openwall.info/wiki/people/solar/software/public-domain-source-code/md5>
Copyright (c) 2001 Alexander Peslyak <... | gpl-3.0 |
titoBouzout/ODPy | lib/ODP/categoryParser.js | 3590 | function parseCategory(aCategory, aFunction)
{
if(document.location.host == '' || document.location.host == 'localhost' )
var url = 'test.html';
else
var url = categoryGetURLPrivate(aCategory);
$.ajax({
type: "GET",
url: url,
dataType:'html',
success: function(responseText)
{
var aData... | gpl-3.0 |
bjesus/asam | app/controllers/editor_controller.rb | 1252 | # coding: utf-8
class EditorController < ApplicationController
before_filter :authenticate_user!
def index
if params.has_key? 'order'
order = params[:order]
else
order = 'name'
end
if params.has_key? 'show'
show = params[:show]
else
show = 10
end
@tex... | gpl-3.0 |
ValereVersnip/AE_VVD_MULTI | 2_Firmware/1_MultiSensor/MultiSensor_bsp/src/high_level_drivers/lum_tsl2561.h | 16388 | /* #
#@#@
@@@#@@@
@ `@@
@@ ... | gpl-3.0 |
elasticlog/elasticlog | src/agent/file_utils.cc | 1065 | /*
* file_utils.cc
* Copyright (C) 2016 elasticlog <elasticlog01@gmail.com>
*
* Distributed under terms of the GNU GENERAL PUBLIC LICENSE.
*/
#include "file_utils.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <dirent.h>
#include <errno.h>
#include <string.h>
#inc... | gpl-3.0 |
vdloo/raptiformica-map | raptiformica_map/graph.py | 1111 | import re
CJDNS_IP_REGEX = re.compile(r'^fc[0-9a-f]{2}(:[0-9a-f]{4}){7}$', re.IGNORECASE)
class Node(object):
def __init__(self, ip, version=None, label=None):
if not valid_cjdns_ip(ip):
raise ValueError('Invalid IP address')
if not valid_version(version):
raise ValueErro... | gpl-3.0 |
ConsideredHamster/YetAnotherPixelDungeon | app/src/main/java/com/consideredhamster/yetanotherpixeldungeon/levels/traps/AlarmTrap.java | 1902 | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Yet Another Pixel Dungeon
* Copyright (C) 2015-2016 Considered Hamster
*
* 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, eith... | gpl-3.0 |
veltzer/demos-javascript | src/extjs/examples/model/model_change.js | 316 | Ext.define('User', {
extend: 'Ext.data.Model',
fields: [
{name: 'name', type: 'string',
convert: function(value,record) {
return record.get('name')+' the barbarian');
}
},
{name: 'age', type: 'int'},
{name: 'phone', type: 'string'},
{name: 'alive', type: 'boolean', defaultValue: true}
],
});
| gpl-3.0 |
cpvrlab/ImagePlay | IPL/include/opencv/opencv2/stereo.hpp | 14099 | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | gpl-3.0 |
CPFDSoftware-Tony/gmv | utils/Mesa/Mesa-7.8.2/src/gallium/drivers/i915/i915_debug.c | 26242 | /**************************************************************************
*
* Copyright 2003 Tungsten Graphics, Inc., Cedar Park, Texas.
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Softwa... | gpl-3.0 |
AaronRobson/FizzBuzzHaskell | FizzBuzz.hs | 309 | module FizzBuzz where
import Control.Monad (mapM_)
fizzbuzz :: (Show a, Integral a) => a -> String
fizzbuzz n = if null s then (show n) else s
where
s = (if (n `mod` 3) == 0 then "Fizz" else "") ++ (if (n `mod` 5) == 0 then "Buzz" else "")
main :: IO ()
main = mapM_ putStrLn $ map fizzbuzz [1..100]
| gpl-3.0 |
rgujju/NexIDE | firmware.html | 7520 | <!doctype html>
<html>
<head>
<title>Firmware Builder</title>
<meta charset="utf-8" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="./ui/css/bootstrapfirm.min.css" rel="stylesheet">
<link href="./ui/fontAwesome/... | gpl-3.0 |
ricecakesoftware/CommunityMedicalLink | ricecakesoftware.communitymedicallink.hl7/src/org/hl7/v3/DataTypePointInTime.java | 786 |
package org.hl7.v3;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>DataTypePointInTimeのJavaクラス。
*
* <p>次のスキーマ・フラグメントは、このクラス内に含まれる予期されるコンテンツを指定します。
* <p>
* <pre>
* <simpleType name="DataTypePointInTime">
* <restriction base="{urn:hl7-org:v3}... | gpl-3.0 |
bmelinden/vbSPT | HMMcore/HMM_multiForwardBackward.c | 6735 | /*
* HMM_multiForwardBackward.c
* =========================================================================
*
* Copyright (C) 2014 Martin Lindén, E-mail: bmelinden@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 publishe... | gpl-3.0 |
reachwill/clipper-base | webpack/src/app/profile/profile.template.html | 113 | <h1>Profile</h1>
<img [src]="auth.user.picture">
<h2>{{auth.user.nickname}}</h2>
<span>{{auth.user.email}}</span> | gpl-3.0 |
mspublic/openair4G-mirror | openair3/EXAMPLES/CHORIST092008/TEMP/MR2_092008.sh | 3093 | Mobile Router 2 – with NAS_MPLS_PMIP working
MR2_NAS.SH
source params.sh
sysctl -w net.ipv6.conf.all.forwarding=1
$OPENAIR3_SCRIPTS_PATH/mr2_del_mpls.sh
$OPENAIR3_SCRIPTS_PATH/mr2_conf_nas.sh
#$OPENAIR3_SCRIPTS_PATH/mr2_mpls_nas.sh
#MN1MN2
$OPENAIR3_SCRIPTS_PATH/mr2_mpls_nas.sh $MR2_CH1_LABEL_IN $CH2_IN_ADDR ... | gpl-3.0 |
Rob2B/Cherry-enseirb | app/node_modules/@ionic/cli-plugin-ionic1/dist/serve/lab.js | 652 | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const path = require("path");
const cordova_config_1 = require("../utils/cordova-config");
function LabAppView(req, res) {
return res.sendFile('index.html', {
root: path.join(__dirname, '..', '..', 'lab')
});
}
exports.LabAppVi... | gpl-3.0 |
theclanks/zurmo | app/protected/modules/import/utils/analyzers/RelatedModelNameOrIdValueTypeBatchAttributeValueDataAnalyzer.php | 7298 | <?php
/*********************************************************************************
* Zurmo is a customer relationship management program developed by
* Zurmo, Inc. Copyright (C) 2012 Zurmo Inc.
*
* Zurmo is free software; you can redistribute it and/or modify it under
* the terms of t... | gpl-3.0 |
danielcaldas/carefull | public/app/modules.js | 54 | angular.module('CareFull', ['ui.router','rzModule']);
| gpl-3.0 |
RapportFraStedet/MapGuideForms | RapportFraStedet/Models/RoleModel.cs | 1318 | // Copyright 2012, MapGuideForm user group, Frederikssund Kommune and Helsingør Kommune - att. Anette Poulsen and Erling Kristensen
//
// This file is part of "RapportFraStedet".
// "RapportFraStedet" is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as publ... | gpl-3.0 |
migasfree/migasfree-launcher | migasfree_indicator/console.py | 2190 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2014-2016 Alberto Gacías <alberto@migasfree.org>
# Copyright (c) 2015-2016 Jose Antonio Chavarría <jachavar@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 publish... | gpl-3.0 |
lkerrand/opm-upscaling | examples/upscale_relperm.cpp | 43577 |
/*
Copyright 2010 Statoil ASA.
This file is part of The Open Porous Media project (OPM).
OPM 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 ... | gpl-3.0 |
knibals/djewo | README.md | 208 | # Djewo
Plateforme de "service à la personne" qui met en relation des particuliers avec des aides-ménagers indépendants.
Having fun with [Go](https://golang.org) on [Heroku](https://djewo.herokuapp.com/). | gpl-3.0 |
librenauta/lovelikeasunset | css/styles_f.css | 1866 | /*
Code Author: Mark-Anthony Karam
Host: mark-anthony.ca
*/
@import url(http://fonts.googleapis.com/css?family=Oswald);
@import url(http://fonts.googleapis.com/css?family=Muli:300);
h1
{
font-family: 'Oswald', sans-serif;
font-size: 30px;
text-transform: uppercase;
color: #FFF;
}
/* Centres the page (this could be... | gpl-3.0 |
sT4R3K/Tracker-2013 | source/tracker/helper/tracker-helper.cc | 3629 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
#include "ns3/uinteger.h"
#include "ns3/names.h"
#include "tracker-helper.h"
namespace ns3 {
TrackerHelper::TrackerHelper ()
{
m_factory.SetTypeId (Tracker::GetTypeId ());
SetAttribute ("Port", UintegerValue (9));
SetAttribute ("RemoteAddress", Ad... | gpl-3.0 |
brangerbriz/webroutes | nw-app/telegeography-data/internetexchanges/buildings/18863.js | 563 | {"exchanges":[{"info":[{"onclick":null,"link":"mailto:info@mix-it.net","value":"info@mix-it.net Monica Arensi, General Secretary"},{"onclick":null,"link":null,"value":"39 02 409 15701"},{"onclick":null,"link":"mailto:info@mix-it.net","value":"info@mix-it.net"},{"onclick":"window.open(this.href,'ix-new-window');return f... | gpl-3.0 |
carpe-diem/conectar-igualdad-server-apps | apps/src/intranet/alba/apps/principal/modules/turno/templates/_hora_inicio.php | 166 | <?php use_helper('DateForm') ?>
<?php echo select_time_tag("turno[hora_inicio]", $turno->getHoraInicio(), array('include_second' => false, '12hour_time' => true));?> | gpl-3.0 |
SaturnSDK/Saturn-SDK-IDE | src/plugins/contrib/wxSmith/wxwidgets/properties/wxsimagetreeeditordlg.cpp | 34340 | /** \file wxsimagetreeeditordlg.cpp
*
* This file is part of wxSmith plugin for Code::Blocks Studio
* Copyright (C) 2010 Gary Harris
*
* wxSmith 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... | gpl-3.0 |
Scille/parsec-gui | src/components/PersonalFiles.js | 10526 | import React, { Component } from 'react'
import PropTypes from 'prop-types'
import ModalsContainer from '../containers/ModalsContainer'
import { bytesToSize } from '../common'
const Store = window.require('electron-store')
import './ViewSwitcher.css'
class PersonalFiles extends Component {
constructor(props) {
... | gpl-3.0 |
Escapecraft/FalseBook | src/main/java/com/bukkit/gemo/FalseBook/Cart/utils/FBInventory.java | 1292 | package com.bukkit.gemo.FalseBook.Cart.utils;
import net.minecraft.server.v1_6_R3.Container;
import net.minecraft.server.v1_6_R3.EntityHuman;
import net.minecraft.server.v1_6_R3.InventoryCrafting;
import net.minecraft.server.v1_6_R3.ItemStack;
public class FBInventory extends InventoryCrafting {
private ItemStack... | gpl-3.0 |
Joshua-Barclay/wcomponents | wcomponents-core/src/main/java/com/github/bordertech/wcomponents/WVideo.java | 21133 | package com.github.bordertech.wcomponents;
import com.github.bordertech.wcomponents.util.Util;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* WVideo is used to display video content on the clie... | gpl-3.0 |
gnitnaw/stm32_linux | Middlewares/Third_Party/LwIP/src/include/lwip/apps/snmp_core.h | 14512 | /**
* @file
* Generic MIB tree structures.
*
* @todo namespace prefixes
*/
/*
* Copyright (c) 2006 Axon Digital Design B.V., The Netherlands.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are ... | gpl-3.0 |
elmarouane/CRML_UQTR_Image_Processing_Software | crml uqtr 2013 code source/zLProjet/zLProjet/GeneratedFiles/ui_zlprojet.h | 9474 | /********************************************************************************
** Form generated from reading UI file 'zlprojet.ui'
**
** Created by: Qt User Interface Compiler version 5.1.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
******************************************... | gpl-3.0 |
moltam89/OWXP | modules/micro-maintainance-outdated-task/src/main/java/com/liferay/micro/maintainance/configuration/OutdatedTaskConfiguration.java | 533 | package com.liferay.micro.maintainance.configuration;
import aQute.bnd.annotation.metatype.Meta;
/**
* @author Rimi Saadou
* @author Laszlo Hudak
*/
@Meta.OCD(
id = "com.liferay.micro.maintainance.configuration.OutdatedTaskConfiguration"
)
public interface OutdatedTaskConfiguration {
@Meta.AD(deflt = "14", requ... | gpl-3.0 |
0todd0000/spm1d | spm1d/examples/nonparam/1d/ex_cca.py | 860 |
import numpy as np
import matplotlib.pyplot as plt
import spm1d
#(0) Load dataset:
dataset = spm1d.data.mv1d.cca.Dorn2012()
y,x = dataset.get_data() #A:slow, B:fast
#(1) Conduct non-parametric test:
np.random.seed(0)
alpha = 0.05
two_tailed = False
snpm = spm1d.stats.nonparam.cca(y, x)... | gpl-3.0 |
point97/hapifis | server/apps/survey/migrations/0020_auto__add_field_question_order.py | 4857 | # -*- 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 field 'Question.order'
db.add_column(u'survey_question', 'order',
self.gf('dj... | gpl-3.0 |
robertsmieja/Gw2InfoViewer | lib/httpcomponents-client-4.2.5/javadoc/org/apache/http/client/RequestDirector.html | 12281 | <!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.5.0_22) on Fri Apr 19 18:20:47 CEST 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
RequestDirector (HttpComp... | gpl-3.0 |
vparres/Lokiwiz_0.3_MUI | Lokiwiz 0.3 MUI/home.Designer.vb | 7186 | <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class home
Inherits System.Windows.Forms.Form
'Form remplace la méthode Dispose pour nettoyer la liste des composants.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
... | gpl-3.0 |
ccrama/Slide | app/src/main/java/me/ccrama/redditslide/Activities/MakeExternal.java | 972 | package me.ccrama.redditslide.Activities;
import android.app.Activity;
import android.content.SharedPreferences;
import android.os.Bundle;
import java.net.MalformedURLException;
import java.net.URL;
import me.ccrama.redditslide.SettingValues;
/**
* Created by ccrama on 9/28/2015.
*/
public class MakeExternal exte... | gpl-3.0 |
ProgDan/maratona | SPOJ/SEGSQRSS.cpp | 3479 |
#include<bits/stdc++.h>
using namespace std;
#define pii pair<int,int>
#define pip pair<int,pii>
#define ff first
#define ss second
#define FOR(i,n) for(int i=0; i<(int)n ;i++)
#define REP(i,a,n) for(int i=a;i<(int)n;i++)
#define pb push_back
#define mp make_pair
typedef ... | gpl-3.0 |
langresser/stk | src/guiengine/widgets.hpp | 632 |
// A shortcut header to get all widgets
#include "guiengine/widgets/bubble_widget.hpp"
#include "guiengine/widgets/button_widget.hpp"
#include "guiengine/widgets/icon_button_widget.hpp"
#include "guiengine/widgets/list_widget.hpp"
#include "guiengine/widgets/dynamic_ribbon_widget.hpp"
#include "guiengine/widgets/spin... | gpl-3.0 |
KPull/Bastion | src/docs/html/header.html | 184 | <!DOCTYPE html>
<html>
<head>
<link href="css/modest.css" rel="stylesheet" type="text/css"/>
<title>Bastion User Guide (0.2-SNAPSHOT)</title>
</head>
<body> | gpl-3.0 |
giucam/orbital | src/client/services/mixer/pulseaudiomixer.cpp | 5443 | /*
* Copyright 2013-2014 Giulio Camuffo <giuliocamuffo@gmail.com>
*
* This file is part of Orbital
*
* Orbital 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 ... | gpl-3.0 |
WinXaito/zest-writer | scripts/upload_deb.sh | 433 | #!/bin/bash
if [ -z "$1" ]
then
echo "Please give us APIKEY in argument"
exit 1
fi
DEBFILE=`ls build/distributions/*.deb`
APIKEY=$1
VERSION=`cat gradle.properties | grep "version" | cut -d "=" -f2`
echo "Upload du fichier $DEBFILE ..."
curl -T "$DEBFILE" -u "firm1:$APIKEY" "https://api.bintray.com/content... | gpl-3.0 |
mihongkun/learn-c | README.md | 62 | # learn-c
* 用clion + mingw 搭建学习环境学习C语言
| gpl-3.0 |
FreedomScientific/VFO-standards-support | assets/tests/ARIAtests/test-aria.fsi.local_8080/aria_examples/CodeTalks/widgets/toolbar/CreatePage.html | 253 | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /aria_examples/codetalks/widgets/toolbar/CreatePage.html was not found on this server.</p>
</body></html>
| gpl-3.0 |
martinjlowm/gr-gsm | python/misc_utils/clock_offset_corrector.py | 4498 | #!/usr/bin/env python
##################################################
# Gnuradio Python Flow Graph
# Title: Clock offset corrector
# Author: Piotr Krysik
# Generated: Wed Nov 19 08:38:40 2014
##################################################
from gnuradio import blocks
from gnuradio import filter
from gnuradio imp... | gpl-3.0 |
lvanbever/cbgp | src/bgp/dp_rules.c | 25536 | // ==================================================================
// @(#)dp_rules.c
//
// @author Bruno Quoitin (bruno.quoitin@uclouvain.be)
// @date 13/11/2002
// $Id: dp_rules.c,v 1.23 2009-08-04 06:06:10 bqu Exp $
//
// C-BGP, BGP Routing Solver
// Copyright (C) 2002-2008 Bruno Quoitin
//
// This program is free... | gpl-3.0 |
snake/moodle | course/tests/fixtures/format_theunittest_output_course_format_invalidoutput.php | 1434 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle ... | gpl-3.0 |
dhrapson/resembleio | configure/urlPathHttpMatcher_test.go | 2225 | //Copyright (C) 2015 dhrapson
//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 hop... | gpl-3.0 |
rktrlng/rt2d | external/glm-0.9.9.2/test/gtc/gtc_noise.cpp | 1472 | #define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtc/noise.hpp>
#include <glm/gtc/type_precision.hpp>
#include <glm/gtx/raw_data.hpp>
int test_simplex()
{
int Error = 0;
glm::u8vec4 const PixelSimplex2D(glm::byte(glm::abs(glm::simplex(glm::vec2(0.f, 0.f))) * 255.f));
glm::u8vec4 const PixelSimplex3D(glm::by... | gpl-3.0 |
ccem-dev/otus-api | source/otus-persistence/src/main/java/br/org/otus/laboratory/project/builder/ExamResultQueryBuilder.java | 2339 | package br.org.otus.laboratory.project.builder;
import java.util.ArrayList;
import java.util.List;
import org.bson.Document;
import org.bson.conversions.Bson;
import com.google.gson.GsonBuilder;
public class ExamResultQueryBuilder {
private ArrayList<Bson> pipeline;
public ExamResultQueryBuilder() {
this.... | gpl-3.0 |
novayadi85/galatema | app/code/local/EM/Saleproducts/Model/Mysql4/Saleproducts.php | 306 | <?php
class EM_Saleproducts_Model_Mysql4_Saleproducts extends Mage_Core_Model_Mysql4_Abstract
{
public function _construct()
{
// Note that the saleproducts_id refers to the key field in your database table.
$this->_init('saleproducts/saleproducts', 'saleproducts_id');
}
} | gpl-3.0 |
openturns/otmixmod | lib/src/mixmod/MIXMOD/XEMOutputControler.cpp | 5794 | /***************************************************************************
SRC/MIXMOD/XEMOutputControler.cpp description
copyright : (C) MIXMOD Team - 2001-2011
email : contact@mixmod.org
******************************************************************... | gpl-3.0 |
onycom-ankus/ankus_analyzer_G | trunk_web/ankus-web-services/src/main/java/org/ankus/core/repository/PersistentRepository.java | 1895 | /**
* This file is part of ankus.
*
* ankus 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.
*
* ankus is distributed in the hop... | gpl-3.0 |
ekpyron/pentachoron | src/culling.cpp | 3808 | /*
* This file is part of Pentachoron.
*
* Pentachoron 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.
*
* Pentachoron is dis... | gpl-3.0 |
rebuild-lang/REC | src/instance.data/instance/Function.cpp | 301 | #include "Function.h"
#include "Entry.h"
namespace instance {
auto Function::lookupParameter(NameView name) const -> OptParameterView {
auto r = parameterScope[name];
if (!r.single()) return {};
return &r.frontValue().get(meta::type<Parameter>);
}
} // namespace instance
| gpl-3.0 |
icecreammatt/gopherwink | scheduler/scheduler.go | 1839 | package scheduler
import (
"fmt"
"github.com/jonaz/astrotime"
"os/exec"
"strconv"
"time"
)
func isSunset(latitude float64, longitude float64) bool {
t := astrotime.NextSunset(time.Now(), latitude, longitude)
// tzname, _ := t.Zone()
// fmt.Println(tzname)
// fmt.Printf("The next sunrise is %d:%02d %s on %d/%... | gpl-3.0 |
Greymerk/minecraft-roguelike | src/main/java/greymerk/roguelike/dungeon/settings/SettingsResolver.java | 4942 | package greymerk.roguelike.dungeon.settings;
import java.util.Collection;
import java.util.Random;
import greymerk.roguelike.config.RogueConfig;
import greymerk.roguelike.util.WeightedChoice;
import greymerk.roguelike.util.WeightedRandomizer;
import greymerk.roguelike.worldgen.Coord;
import greymerk.roguelike.worldge... | gpl-3.0 |
claesn/ir2017 | ir2017/src/main/java/de/uni_koeln/spinfo/textengineering/ir/eval/GoldStandard.java | 1252 | package de.uni_koeln.spinfo.textengineering.ir.eval;
import java.util.ArrayList;
import java.util.List;
import de.uni_koeln.spinfo.textengineering.ir.basic.Work;
import de.uni_koeln.spinfo.textengineering.ir.boole.PositionalIndex;
import de.uni_koeln.spinfo.textengineering.ir.preprocess.Preprocessor;
/*
* Erstellun... | gpl-3.0 |
lukasgartmair/3Depict_Isosurfaces | src/gui/dialogs/animateSubDialogs/choiceKeyFrameDialog.cpp | 3928 | /*
* choiceKeyFrameDialog.cpp - Keyframe selection for optioned properties
* Copyright (C) 2015, D Haley
* 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, o... | gpl-3.0 |
waterlgndx/darkstar | scripts/zones/Caedarva_Mire/mobs/Merrow_Typhoondancer.lua | 300 | -----------------------------------
-- Area: Caedarva Mire (79)
-- Mob: Merrow Typhoondancer
-- Note: Minion of Experimental Lamia
-----------------------------------
mixins = {require("scripts/mixins/job_special")}
-----------------------------------
function onMobDeath(mob, player, isKiller)
end | gpl-3.0 |
reactioncommerce/redoc | packages/redoc-core/server/methods/getDoc.js | 875 | import { check } from "meteor/check";
import processDoc from "./processDoc";
/**
* getDoc
* fetch repo profile from github and store in RepoData collection
* @param {Object} doc - mongo style selector for the doc
* @returns {undefined} returns
*/
function getDoc(options) {
check(options, Object);
// get ... | gpl-3.0 |
Juliano-rb/CrossChallenge | js/basegame/car.js | 724 | /*
Um carro, e só
*/
class Car {
constructor(posx, posy, width, height, lifeTime, color) {
this.x = posx;
this.y = posy;
this.lifeTime = lifeTime;
this.color = color;
this.width = width;
this.height = height;
this.im = new Image();
this.... | gpl-3.0 |
laktak/vanilla-chrome | src/background.html | 312 | <html>
<head>
<title>Vanilla</title>
<script src="lib/jquery-1.8.3.min.js"></script>
<script src="lib/URI.js"></script>
<script src="js/main.js"></script>
<script src="js/cookies.js"></script>
<script src="js/background.js"></script>
</head>
<body>
</body>
</html>
| gpl-3.0 |
ahmadaghazadeh/recyclerviewcardview | app/src/main/java/ahmad/aghazadeh/recyclerviewcardview/logic/BindingCustom.java | 2117 | package ahmad.aghazadeh.recyclerviewcardview.logic;
import android.databinding.BindingAdapter;
import android.databinding.BindingConversion;
import android.graphics.Bitmap;
import android.graphics.Typeface;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.os.Bui... | gpl-3.0 |
Tangerine-Community/Tangerine | phpmyadmin-start.sh | 444 |
#
# Load config.
#
source ./config.defaults.sh
if [ -f "./config.sh" ]; then
source ./config.sh
else
echo "You have no config.sh. Copy config.defaults.sh to config.sh, change the passwords and try again." && exit 1;
fi
[ "$(docker ps | grep phpmyadmin)" ] && docker stop phpmyadmin
[ "$(docker ps -a | grep phpmya... | gpl-3.0 |
dima4p/rails4_jbuilder_with_rspec_generator | jbuilder_generator.rb | 2160 | require 'rails/generators/named_base'
require 'rails/generators/resource_helpers'
module Rails
module Generators
class JbuilderGenerator < NamedBase
include Rails::Generators::ResourceHelpers
source_root File.expand_path('../templates', __FILE__)
argument :attributes, type: :array, default: [... | gpl-3.0 |
andreaslangsays/pureshop | view/languages/english/modules/shipping/usps.php | 967 | <?php
/*
$Id: usps.php,v 1.8 2003/02/14 12:54:37 dgw_ Exp $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2002 osCommerce
Released under the GNU General Public License
*/
define('MODULE_SHIPPING_USpush_TEXT_TITLE', 'United States Postal Service');
define('MODULE_SHIP... | gpl-3.0 |
jslim89/joomla-template-101-book | compile.sh | 187 | #!/bin/bash
FILES=$(find . -type f -name '*.md')
for file in $FILES
do
filename="${file%.*}"
pandoc $file -f markdown -t html5 -c assets/css/github.css -s -o $filename.html
done
| gpl-3.0 |
vybeonllc/dat_framework | V1/DataTransferObject/BaseObjectModels/Exceptions/TransportException.cs | 437 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dat.V1.Dto.Bom.Exceptions
{
public class TransportException : BomException
{
public TransportException() : base() { }
public TransportException(string message) : base(m... | gpl-3.0 |
sillychip/uva | uva_1260.cpp | 529 | #include<bits/stdc++.h>
using namespace std;
int main()
{
freopen("in.txt","r",stdin);
int tc,n;
int A[1000],B[1000];
scanf("%d",&tc);
while(tc--)
{
scanf("%d",&n);
int sum=0;
for(int i=0;i<n;i++)
{
scanf("%d",&A[i]);
int j... | gpl-3.0 |
TwinDrills/Ludo | Docs/html/_engine_core_8h.js | 209 | var _engine_core_8h =
[
[ "EngineCore", "class_ludo_1_1_engine_core.html", "class_ludo_1_1_engine_core" ],
[ "LD_EXPORT_ENGINE_CORE", "_engine_core_8h.html#a0ced60c95a44fd7969a8d0b789257241", null ]
]; | gpl-3.0 |
rockoutwill/LetsModReboot | src/main/java/com/rockoutwill/letsmodreboot/proxy/ServerProxy.java | 95 | package com.rockoutwill.letsmodreboot.proxy;
public class ServerProxy extends CommonProxy {
}
| gpl-3.0 |
indr/phundus-spa | app/modules/account/directives/is-unique-email-address.js | 796 | (function () {
'use strict';
angular.module('ph.account')
// http://bartwullems.blogspot.hu/2015/02/angular-13-pending.html
.directive("isUniqueEmailAddress", ['$q', '$http', function ($q, $http) {
return {
restrict: "A",
require: "ngModel",
link: function (scope, element, att... | gpl-3.0 |
e-gob/Consola-de-aplicaciones | resources/views/auth/register.blade.php | 3953 | @extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Register</div>
<div class="panel-body">
<form class="form... | gpl-3.0 |
wedusk101/C | fileread.c | 773 | #include <stdio.h>
#include <stdlib.h>
int main()
{
FILE *fp;
char ch, filename[50];
int c = 0, n = 0;
printf("Please enter the name of the file you wish to open.\n");
fgets(filename, 50, stdin);
fp = fopen("Hello.txt", "r"); // Opens file in read mode
if(fp == NULL)
{
perror("Error opening file... | gpl-3.0 |
ingenitor/BlockEnvy | src/main/java/com/ingenitor/blockenvy/proxy/CommonProxy.java | 203 | /**
*
*/
package com.ingenitor.blockenvy.proxy;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
/**
* @author ingenitor
*
*/
public abstract class CommonProxy implements IProxy {
}
| gpl-3.0 |
zacharyacutey/zacharyacutey.github.io | Breakout/ball.js | 216 |
function drawBall() {
ctx.beginPath();
ctx.arc(x, y, ballRadius, 0, Math.PI*2);
ctx.fillStyle = color;
ctx.strokeStyle = "#FF0000";
ctx.stroke();
ctx.fill();
ctx.closePath();
}
| gpl-3.0 |
tavomaciel/games-for-enterprise-programmers | core/src/com/gustavomaciel/enterprise/CollisionResolver.java | 1986 | package com.gustavomaciel.enterprise;
import com.badlogic.gdx.utils.Array;
import com.gustavomaciel.enterprise.CollisionGroups.CollisionGroup;
/**
* Created by Gustavo on 5/22/2016.
*/
public class CollisionResolver {
public static void checkAndResolve(Array<Entity> entities) {
for(int i = 0, s = entiti... | gpl-3.0 |
Vlasterx/nexus-framework | project/container.php | 941 | <?php defined("_LIVE_NEXUS") or die ("<h1>Direct access to this file is DENIED!</h1>");
// Dependancies
$container = $app->getContainer();
// Monolog Logger
// --------------
$container['logger'] = function($c) {
$logger = new \Monolog\Logger('my_logger');
$file_handler = new \Monolog\Handler\StreamHandler("../l... | gpl-3.0 |
vdmtools/vdmtools | code/uml/code/rationalrose.h | 185259 | /***
* * WHAT
* * This file describes the automation interface towards Rational Rose98
* * The file is automatically generated by ClassWizard (MSDEV 5.0) from
* * a type library.
* *
* *
* * FILE
* * $Source: /home/vdmtools/cvsroot/toolbox/code/uml/code/rationalrose.h,v $
* * VERSION
* * $Revi... | gpl-3.0 |
dengcj0/QCA4010 | target/demo/aj/alljoyn/applications/sample_apps/tcl/ServicesSamples/target/aj_qca4004/aj_ServiceSample/aj_ServiceSample.c | 3229 | /*
* Copyright (c) 2013 Qualcomm Atheros, Inc..
* All Rights Reserved.
* Qualcomm Atheros Confidential and Proprietary.
*/
#include "qcom_common.h"
#include "threadx/tx_api.h"
#include "qcom_cli.h"
#include "threadxdmn_api.h"
#include <aj_target.h>
#include "aj_status.h"
#include "aj_wifi_ctrl.h"
TX_THREAD ho... | gpl-3.0 |
mater06/LEGOChimaOnlineReloaded | LoCO Client Files/Decompressed Client/Extracted DLL/System.Xml/System/Xml/Serialization/CaseInsensitiveKeyComparer.cs | 975 | // Decompiled with JetBrains decompiler
// Type: System.Xml.Serialization.CaseInsensitiveKeyComparer
// Assembly: System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// MVID: 50ABAB51-7DC3-4F0A-A797-0D0C2D124D60
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Xml.dl... | gpl-3.0 |
matteoredaelli/rapidtips | README.md | 38 | rapidtips
=========
Howto and tools
| gpl-3.0 |
praaline/Praaline | svcore/base/TempDirectory.cpp | 7104 | /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
/*
Sonic Visualiser
An audio file viewer and annotation editor.
Centre for Digital Music, Queen Mary, University of London.
This file copyright 2006 Chris Cannam.
This program is free software; you can redistribute ... | gpl-3.0 |
dsokoloski/ps4-wake | cron/ps4-wake.sh | 707 | #!/bin/bash
JSON_HISTORY=120
JSON_UPDATE=/tmp/ps4-wake-$(date '+%s').json
JSON_LOG=/tmp/ps4-wake.log
rm -f /tmp/ps4-wake-*.json
ps4-wake -vP -H ps4.lan -j 2>/dev/null > $JSON_UPDATE
[ $? -ne 0 ] && exit $?
HASH_NEW=$(cat $JSON_UPDATE | sed -e 's/^.*"fingerprint":"\([0-9a-f]*\)".*$/\1/')
if [ -f $JSON_LOG ]; then
... | gpl-3.0 |
DannyHui/Article | src/service/ArticleService.java | 1058 | package service;
import java.util.List;
import java.util.Map;
import util.DataBaseUtils;
public class ArticleService {
/**
* 通过类别获取文章列表
* @param categoryId
* @param start
* @param end
*/
public List<Map<String,Object>> getArticlesByCategoryId(Integer categoryId,Integer start,Integer end)... | gpl-3.0 |
OpenBD/openbd-core | src/com/naryx/tagfusion/cfm/xml/ws/dynws/StubInfo.java | 4431 | /*
* Copyright (C) 2000 - 2008 TagServlet Ltd
*
* This file is part of Open BlueDragon (OpenBD) CFML Server Engine.
*
* OpenBD is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* Free Software Foundation,version 3.
*
* Open... | gpl-3.0 |
OSTraining/OSEmbed | src/library/mpratt/embera/src/Embera/Provider/Ludus.php | 2084 | <?php
/**
* Ludus.php
*
* @package Embera
* @author Michael Pratt <yo@michael-pratt.com>
* @link http://www.michael-pratt.com/
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Embera\Provider;
use Embera\Url;
/**
*... | gpl-3.0 |
PrestonChen/Integrated-Simulation-Platform-for-LS-MIMO-uplink-detection | source code/MMSE_SENIA_IU.h | 2566 | /*
* MMSE_SENIA_IU.h
* This routine performs MMSE detection with SENIA and IU
* Created on: Mar 16, 2016
* Author: tianpei.chen@mail.mcgill.ca
*/
#ifndef MMSE_SENIA_IU_H_
#define MMSE_SENIA_IU_H_
#include "SENIA.h"
#include "IU.h"
void MMSE_SENIA_IU(gsl_vector_complex *preceived, gsl_matrix_complex *pH,
d... | gpl-3.0 |
Blucky87/Otiose2D | src/libs/MonoGame/MonoGame.Framework/Net/NetworkMachine.cs | 3830 | #region License
// /*
// Microsoft Public License (Ms-PL)
// MonoGame - Copyright © 2009 The MonoGame Team
//
// All rights reserved.
//
// This license governs use of the accompanying software. If you use the software, you accept this license. If you do not
// accept the license, do not use the software.
//... | gpl-3.0 |
Infernalized/InfernalUtils | src/main/java/net/infernalized/infernalutils/client/gui/GuiFactory.java | 681 | package net.infernalized.infernalutils.client.gui;
import cpw.mods.fml.client.IModGuiFactory;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
import java.util.Set;
public class GuiFactory implements IModGuiFactory {
@Override
public void initialize(Minecraft minecraftInstan... | gpl-3.0 |
jrugis/cell_mesh | mesh2vtk.py | 2909 | #!/usr/bin/python
import numpy as np
mdir = "mesh3d/"
fname = "out_p6-p4-p8"
####################
print "input mesh data file"
f1 = open(mdir+fname+".mesh", 'r')
for line in f1:
if line.startswith("Vertices"): break
pcount = int(f1.next())
xyz = np.empty((pcount, 3), dtype=np.float)
for t in range(pcount):
xyz... | gpl-3.0 |
apruden/opal | opal-gwt-client/src/main/java/org/obiba/opal/web/gwt/app/client/administration/presenter/RequestAdministrationPermissionEvent.java | 1805 | /*******************************************************************************
* Copyright (c) 2012 OBiBa. All rights reserved.
*
* This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0.
*
* You should have received a copy of the GNU General Public Licen... | gpl-3.0 |