repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
sangaline/dodona
core/src/InputModels/SimpleGaussianModel.cpp
4337
#include "InputModels/SimpleGaussianModel.h" #include "Keyboard.h" #include "Polygon.h" #include "math.h" #include <cctype> #include <boost/random.hpp> #include <boost/random/normal_distribution.hpp> using namespace std; SimpleGaussianModel::SimpleGaussianModel(double xscale, double yscale, double corr) { ysigm...
gpl-3.0
iansealy/projecteuler
optimal/9.js
1296
#!/usr/bin/env node // Special Pythagorean triplet var SUM = 1000; var triplet = get_pythagorean_triplet_by_sum(SUM); console.log(triplet[0] * triplet[1] * triplet[2]); function get_pythagorean_triplet_by_sum(s) { var s2 = Math.floor(SUM / 2); var mlimit = Math.ceil(Math.sqrt(s2)) - 1; for (var m = 2; ...
gpl-3.0
Aredhele/FreakyMonsters
client/src/Reseaux/RequetePartie/RequetePartie.cpp
215
#include "Reseaux/RequetePartie/RequetePartie.hpp" RequetePartie::RequetePartie(int tailleRequete, int numeroRequete) : Requete(tailleRequete, 0) { numeroRequete = numeroRequete << 3; data[0] = numeroRequete; }
gpl-3.0
allejo/bzion
migrations/20160212221926_nullable_invitation_from.php
396
<?php use Phinx\Migration\AbstractMigration; class NullableInvitationFrom extends AbstractMigration { /** * Migrate Up. */ public function up() { $this->execute("ALTER TABLE invitations MODIFY sent_by INT(10) UNSIGNED DEFAULT NULL COMMENT 'The player who sent the invitation'"); } ...
gpl-3.0
fritsche/curso-cuda
labs/netpbm/converter/ppm/ppmtompeg/Makefile
4089
ifeq ($(SRCDIR)x,x) SRCDIR = $(CURDIR)/../../.. BUILDDIR = $(SRCDIR) endif SUBDIR = converter/ppm/ppmtompeg VPATH=.:$(SRCDIR)/$(SUBDIR) include $(BUILDDIR)/config.mk ifeq ($(JPEGLIB),NONE) # 'nojpeg' is a module that implements all the jpeg access routines as # error messages that tell you we don't have jpeg ...
gpl-3.0
popstarfreas/PhaseClient
app/node_modules/phasecore/messagetypes/deephistorynewer.ts
199
import ChatMessage from "phasecore/messagetypes/chatmessage"; interface DeepHistoryNewer { discID: number; messages: ChatMessage[]; newestID: number; } export default DeepHistoryNewer;
gpl-3.0
irares/WirelessHart-Field-Device
source_files/WirelessHart/ApplicationLayer/Model/DataLinkLayerCommands.h
18118
/* * Copyright (C) 2013 Nivis LLC. * Email: opensource@nivis.com * Website: http://www.nivis.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, version 3 of the License. * * Redis...
gpl-3.0
scratchduino/sdlab-frontend
app/views/sensors/view.all.tpl.php
2954
<div class="col-md-12"> <div class="row"> <div class="col-md-6"> <h1><?php echo L('sensor_LIST'); ?></h1> </div> </div> <div class="row"> <?php if($this->session()->getUserLevel() == 3) : ?> <div class="col-md-4 text-left"> <a href="javascript:void(0)" id="sensors_rescan" class="btn btn-primary"> <...
gpl-3.0
chrislit/abydos
tests/distance/test_distance_ncd_bwtrle.py
2159
# Copyright 2014-2020 by Christopher C. Little. # This file is part of Abydos. # # Abydos 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...
gpl-3.0
Bootz/multicore-opimization
llvm/tools/clang/www/hacking.html
13107
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!-- Material used from: HTML 4.01 specs: http://www.w3.org/TR/html401/ --> <html> <head> <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>Hacking on clang</title> <link type="text...
gpl-3.0
evilsocket/BBFlux
parsers/IconParser.py
2214
# -*- coding: utf-8 -*- # This file is part of BBFlux (BackBox XFCE -> FluxBox Menu Automatic Update Daemon). # # Copyright(c) 2010-2011 Simone Margaritelli # evilsocket@gmail.com - evilsocket@backbox.org # http://www.evilsocket.net # http://www.backbox.org # # This file may be licensed under the terms of of the # GNU ...
gpl-3.0
ruckert/web_audio_experiments
synth007/events.js
534
// Events document.onkeypress = function (e) { e = e || window.event; var key = e.key; return keymap[key](); }; // Mouse events document.onmousemove = function (e) { e = e || window.event; lfo.frequency.value = e.clientX; main_osc.frequency.value = e.clientY / 10; changeBackgroundColor(lfo...
gpl-3.0
JodusNodus/syncthing-tray
app/main/menu/index.js
1367
import { Menu } from 'electron' import menuActions from './actions' import deviceItems from './devices' import folderItems from './folders' import { getDevicesWithConnections } from '../reducers/devices' import { getFoldersWithStatus } from '../reducers/folders' import { name, version } from '../../../package.json' ...
gpl-3.0
timtammittee/thorns
tests/test_waves.py
1056
#!/usr/bin/env python # -*- coding: utf-8 -*- """Test thorns.waves module. """ from __future__ import division, absolute_import, print_function __author__ = "Marek Rudnicki" import numpy as np from numpy.testing import assert_equal import thorns.waves as wv def test_electrical_pulse_charge(): durations = ...
gpl-3.0
E-IS/ucoinj
ucoinj-ui-wicket/src/main/java/io/ucoin/ucoinj/web/pages/registry/CurrencyRegistryPage.html
1721
<!-- #%L UCoin Java Client :: Web %% Copyright (C) 2014 - 2015 EIS %% 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 ...
gpl-3.0
yuhuei/REHUNT
REHUNT_v1.2_doc/bio/rehunt/rebase/class-use/REBASE.html
4265
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="zh"> <head> <!-- Generated by javadoc (1.8.0_144) on Sat Oct 14 12:47:35 CST 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class bio.rehunt.re...
gpl-3.0
sidtechnical/ALTwitter
pages/LilianaMEP.html
64619
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Liliana Rodrigues</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="Description" lang="en" content="Haukna Metadata (2):...
gpl-3.0
biomathman/cellerator
cellzilla/html/Centeroid.html
3080
<html> <head> <meta name="generator" content="Bluefish 2.2.2" > <meta name="generator" content="Bluefish 2.2.2" > <meta name="generator" content="Bluefish 2.2.2" > <meta name="generator" content="Bluefish 2.2.2" > <link rel="STYLESHEET" href="main.css" type="text/css"> <title>Centeroid</title> </head> <bo...
gpl-3.0
otsaloma/gaupol
gaupol/dialogs/test/test_position_transform.py
1527
# -*- coding: utf-8 -*- # Copyright (C) 2005 Osmo Salomaa # # 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 pr...
gpl-3.0
kinztechcom/OSRS-Server
src/com/kinztech/os/network/codec/game/decode/DecodedPacket.java
382
package com.kinztech.os.network.codec.game.decode; import com.kinztech.os.game.node.entity.player.Player; import com.kinztech.os.network.protocol.PacketDefinition; import com.kinztech.os.utilities.RSBuffer; /** * Created by Allen Kinzalow on 5/25/2015. */ public interface DecodedPacket { void decode(Player pla...
gpl-3.0
ChawalitK/odoo
addons/website_event_sale/tests/test_ui.py
731
import odoo.tests @odoo.tests.common.at_install(False) @odoo.tests.common.post_install(True) class TestUi(odoo.tests.HttpCase): def test_admin(self): self.phantom_js("/", "odoo.__DEBUG__.services['web.Tour'].run('event_buy_tickets', 'test')", "odoo.__DEBUG__.services['web.Tour'].tours.event_buy_tickets", ...
gpl-3.0
fwahyudi17/ofiskita
pos/application/language/en/config_lang.php
8009
<?php $lang["config_address"] = "Company Address"; $lang["config_address_required"] = "Company address is a required field"; $lang["config_backup_button"] = "Backup"; $lang["config_backup_database"] = "Backup Database"; $lang["config_barcode_company"] = "Company Name"; $lang["config_barcode_configuration"] = "Barcode...
gpl-3.0
dvigal/sparta
include/convert.h
298
#ifndef CONVERT_H #define CONVERT_H #include "types.h" void convert(int32_t value, uint8_t *string, uint8_t base); void int_to_binary_string(int64_t value, uint8_t *buffer); void int_to_hex_string(int64_t value, uint8_t *buffer); void int_to_dec_string(int32_t value, uint8_t *buffer); #endif
gpl-3.0
davidrohr/hpl-gpu
include/hpl_ptest.h
5676
/* * -- High Performance Computing Linpack Benchmark (HPL-GPU) * HPL-GPU - 2.0 - 2015 * * David Rohr * Matthias Kretz * Matthias Bach * Goethe Universität, Frankfurt am Main * Frankfurt Institute for Advanced Studies * (C) Copyright 2010 All Rights Reserved * * Antoine P. Pet...
gpl-3.0
AtDinesh/Arduino_progs
Arduino_STM32/STM32F1/variants/nucleo_f103rb/board.cpp
11487
/****************************************************************************** * The MIT License * * Copyright (c) 2011 LeafLabs, LLC. * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Softwar...
gpl-3.0
hgrall/merite
src/communication/v0/typeScript/build/tchat/commun/chat.js
4687
"use strict"; 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)...
gpl-3.0
remspoor/openLRSng-configurator
js/data_storage.js
6310
'use strict'; var CONFIGURATOR = { 'releaseDate': 1456739663000, // 2016.02.29 - new Date().getTime() or "date +%s"000 'firmwareVersionEmbedded': [3, 8, 8], // version of firmware that ships with the app, dont forget to also update initialize_configuration_objects switch ! 'firmwareVersionLiv...
gpl-3.0
cSploit/android.MSF
modules/payloads/singles/windows/x64/meterpreter_reverse_http.rb
2014
## # This module requires Metasploit: http://metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## require 'msf/core' require 'msf/core/payload/transport_config' require 'msf/core/handler/reverse_http' require 'msf/core/payload/windows/x64/meterpreter_loader' require 'msf/base/ses...
gpl-3.0
mikel-egana-aranguren/SADI-Galaxy-Docker
galaxy-dist/static/style/Gruntfile.js
2103
/* jshint node: true */ module.exports = function(grunt) { "use strict"; var theme = grunt.option( 'theme', 'blue' ); var out = 'blue'; var lessFiles = [ 'base', 'autocomplete_tagging', 'embed_item', 'iphone', 'masthead', 'library', 'trackster', 'circster', 'jstree' ];...
gpl-3.0
HabitatMap/AirCastingAndroidClient
src/main/java/pl/llp/aircasting/screens/common/base/ActivityWithProgress.java
394
package pl.llp.aircasting.screens.common.base; import android.app.ProgressDialog; /** * Created by IntelliJ IDEA. * User: obrok * Date: 1/16/12 * Time: 12:03 PM */ public interface ActivityWithProgress { public static final int SPINNER_DIALOG = 6355; public ProgressDialog showProgressDialog(int progress...
gpl-3.0
MythTV-Clients/MythTV-Android-Frontend
src/org/mythtv/client/ui/preferences/PlaybackProfileEditor.java
9195
/** * This file is part of MythTV Android Frontend * * MythTV Android Frontend 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. *...
gpl-3.0
DeadPixelsSociety/SonOfMars
src/local/Hud.cc
4307
/* * Son of Mars * * Copyright (c) 2015-2016, Team Son of Mars * * 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....
gpl-3.0
Lujeni/ansible
lib/ansible/modules/cloud/docker/docker_container.py
143393
#!/usr/bin/python # # Copyright 2016 Red Hat | Ansible # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['prev...
gpl-3.0
ngot/nightly-test
fibjs/src/websocket/WebSocketMessage.cpp
14485
/* * WebSocketMessage.cpp * * Created on: Sep 10, 2015 * Author: lion */ #include "object.h" #include "ifs/io.h" #include "WebSocketMessage.h" #include "Buffer.h" #include "MemoryStream.h" namespace fibjs { result_t WebSocketMessage_base::_new(int32_t type, bool masked, int32_t maxSize, obj_ptr<WebSoc...
gpl-3.0
WarriorIng64/GxSubOS
indicatortray.py
4871
# This file is part of GxSubOS. # Copyright (C) 2014 Christopher Kyle Horton <christhehorton@gmail.com> # GxSubOS 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...
gpl-3.0
pgillet/Glue
glue-feed/src/main/java/com/glue/feed/youtube/YoutubeRequester.java
6629
package com.glue.feed.youtube; import java.io.IOException; import java.io.InputStream; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.List; import java.util.Properties; import java.util.TimeZone; import org.slf4j.Logger; import o...
gpl-3.0
ADEPT-Informatique/LanAdept
LanAdeptData/Model/Users/User.cs
1133
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Identity.EntityFramework; using System.Security.Claims; using Microsoft.AspNet.Identity; namespace LanAdeptData.Model { public class User : IdentityUser { [Requ...
gpl-3.0
qha98/BallisticCalculator
BalisticCalculator/BallisticCalculator/to/oa/qha98/ballisticCalculator/test/VectorDefaultConstructorTest.java
298
package to.oa.qha98.ballisticCalculator.test; import static org.junit.Assert.*; import org.bukkit.util.Vector; import org.junit.Test; public class VectorDefaultConstructorTest { @Test public void test() { Vector v=new Vector(); assertEquals(0d, v.length(), 0.0000001d); } }
gpl-3.0
acidopal/crud_phalcon
public/index.php
740
<?php use Phalcon\Di\FactoryDefault; error_reporting(E_ALL); define('APP_PATH', realpath('..')); try { /** * The FactoryDefault Dependency Injector automatically register the right services providing a full stack framework */ $di = new FactoryDefault(); /** * Read services */ in...
gpl-3.0
evangreen/hardware
audidash/README.md
6462
# Audidash Audidash is a project I started in 2017 to connect the instrument cluster of a 1998 Audi A4 to my PC. The various indicators and gauges correspond to stats of my machine. For instance, the speed gauge correllates to my words per minute of typing, and the RPM gauge corresponds to my mousing rate. The left an...
gpl-3.0
tumi8/sKnock
server/version.py
1225
# Copyright (C) 2015-2016 Daniel Sel # # 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 i...
gpl-3.0
swiftmade/ssas-core
tests/Feature/OpenRosaTest.php
4413
<?php namespace Tests\Feature; use stdClass; use Tests\TestCase; use App\Models\Submission; use App\Events\SubmissionCreated; use App\Events\SubmissionUpdated; use Illuminate\Http\UploadedFile; use Illuminate\Support\Facades\Event; use App\Core\Connect\ConnectorsRepository; use App\Core\Connect\Connectors\SubmissionsC...
gpl-3.0
chris-penny/cleanflight
lib/main/CMSIS/CM3/DeviceSupport/ST/STM32F10x/system_stm32f10x.c
6130
#include <stdbool.h> #include "stm32f10x.h" #define SYSCLK_FREQ_72MHz 72000000 uint32_t SystemCoreClock = SYSCLK_FREQ_72MHz; /*!< System Clock Frequency (Core Clock) */ __I uint8_t AHBPrescTable[16] = { 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9 }; uint32_t hse_value = 8000000; void SystemInit(void) { /...
gpl-3.0
majestic53/nomic-alpha
src/uuid/manager_type.h
2282
/** * Nomic * Copyright (C) 2017 David Jolly * * Nomic 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. * * Nomic is distribute...
gpl-3.0
yukao/Porphyrograph
LYM-sources/SourcesBerfore18/Porphyrograph-geneMuse-src/pg-draw.cpp
147112
//////////////////////////////////////////////////////////////////// // // // Part of this source file is taken from Virtual Choreographer // http://virchor.sourceforge.net/ // // File pg-draw.cpp // // // This program is free software; you can redistribute it and/or // modify it under the terms of the ...
gpl-3.0
oliverlee/ChibiOS
demos/STM32/CMSIS-STM32F407-DISCOVERY/chconf.h
17081
/* ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless requi...
gpl-3.0
klauer/hkl
contrib/Hkl/Source.hs
589
{- Copyright : Copyright (C) 2014-2015 Synchrotron Soleil License : GPL3+ Maintainer : picca@synchrotron-soleil.fr Stability : Experimental Portability: GHC only? -} module Hkl.Source ( ki ) where import Prelude hiding ((/)) import Numeric.LinearAlgebra (Vector, fromList) import Nume...
gpl-3.0
sumnercreations/ceilings
src/app/quantity/remove-quantity/remove-quantity.component.ts
598
import { Component, OnInit, Inject } from '@angular/core'; import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; @Component({ selector: 'app-remove-quantity', templateUrl: './remove-quantity.component.html', styleUrls: ['./remove-quantity.component.css'] }) export class RemoveQuantityComponent imple...
gpl-3.0
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtandroidextras/tests/auto/qandroidjniobject/tst_qandroidjniobject.cpp
43144
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ ** Commercial License Usage ** Licensees holding valid comm...
gpl-3.0
rsieger/PanXML
trunk/Sources/ApplicationCreateMenu.cpp
7803
// *********************************************************************************************** // * * // * createMenu.cpp - creates application menus * // * ...
gpl-3.0
pantelis60/L2Scripts_Underground
gameserver/src/main/java/l2s/gameserver/network/l2/s2c/ChangeWaitTypePacket.java
890
package l2s.gameserver.network.l2.s2c; import l2s.gameserver.model.Creature; /** * 0000: 3f 2a 89 00 4c 01 00 00 00 0a 15 00 00 66 fe 00 ?*..L........f.. * 0010: 00 7c f1 ff ff .|... * * format dd ddd */ public class ChangeWaitTypePacket extends L2GameServerPacket { priv...
gpl-3.0
ddoyaguez/librdt
inc/hashtable.h
746
/* --- Copyright 2017 David Doyaguez Sanchez (daviddoyaguez@gmail.com) --- This file is part of LibRDT. LibRDT 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 (...
gpl-3.0
TcM1911/clinote
write_test.go
4176
/* * 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 program is distributed in the hope that it will be use...
gpl-3.0
dbunibas/spicy
spicyEngine/misc/resources/egds/05doubleJoin/doubleJoin-source-instance.sql
701
CREATE TABLE "public"."employee"( "ssn" varchar(255) , "name" varchar(255) , "company" varchar(255), "vid" varchar(255) ) WITHOUT OIDS; CREATE TABLE "public"."vehicle"( "vid" varchar(255) , "carplate" varchar(255) ) WITHOUT OIDS; -- ---------------------------- -- Records -- ---------------------...
gpl-3.0
meathill-lecture/about-me
slides/index.html
1737
<!DOCTYPE html> <html lang="zh-cmn-Hans"> <head> <meta charset="UTF-8"> <title>{{title}}</title> <meta name="description" content="{{description}}"> <meta name="keywords" content="教程,前端,前端教程,在线教程,{{keywords}}"> <meta name="author" content="Meathill, meathill@gmail.com"> <meta name="thumbnail" content="{{thu...
gpl-3.0
jmenashe/person-reidentification
reidentifier/include/Svm.h
366
#ifndef SVM_H #define SVM_H #include <boost/foreach.hpp> #include <stdio.h> #include "Util.h" #include "Typedefs.h" class Svm { public: virtual void train(const std::vector<PidMat>&,const std::vector<int>&) = 0; virtual float predict(const PidMat& feature) = 0; virtual void save(std::string) = 0; ...
gpl-3.0
166MMX/OpenRA
OpenRA.Mods.RA/AI/HackyAI.cs
30524
#region Copyright & License Information /* * Copyright 2007-2014 The OpenRA Developers (see AUTHORS) * This file is part of OpenRA, which is free software. It is made * available to you under the terms of the GNU General Public License * as published by the Free Software Foundation. For more information, * see COP...
gpl-3.0
uliss/pddoc
pddoc/pdpainter.py
2655
#!/usr/bin/env python # coding=utf-8 # Copyright (C) 2014 by Serge Poltavski # # serge.poltavski@gmail.com # # # # This program is free software; you can redistribute...
gpl-3.0
openlab-aux/golableuchtung
serialcli/leucht.go
784
package main import ( "io/ioutil" "log" "os" "strconv" "time" "github.com/openlab-aux/golableuchtung" serial "github.com/huin/goserial" ) func main() { if len(os.Args) != 5 { log.Fatal("invalid number of arguments") } leucht := lableuchtung.LabLeucht{} c := &serial.Config{ Name: "/dev/ttyACM0", ...
gpl-3.0
maandree/slibc
src/string/str/strtok.c
1692
/** * slibc — Yet another C library * Copyright © 2015, 2016 Mattias Andrée (maandree@member.fsf.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, either version 3 of the License, o...
gpl-3.0
MailCleaner/MailCleaner
www/classes/view/graphics/Pie.php
4573
<? /** * @license http://www.mailcleaner.net/open/licence_en.html Mailcleaner Public License * @package mailcleaner * @author Olivier Diserens * @copyright 2006, Olivier Diserens */ /** * needs some defaults */ require_once ("system/SystemConfig.php"); class Pie { /** * file name * @var string *...
gpl-3.0
flippym/toolbox
ssh-streaming.py
1573
# SSH proxy forward and remote shell __author__ = "Frederico Martins" __license__ = "GPLv3" __version__ = 1 from getpass import getpass from paramiko import AutoAddPolicy, SSHClient, ssh_exception class SSH(object): proxy = None def __init__(self, host, user, password=None, port=22): self.host = ...
gpl-3.0
enabrintain/MiscellaneousParts
README.md
20
# MiscellaneousParts
gpl-3.0
PyrousNET/TorchFramework
reports/users.php
276
<?php // Define queries inside of the reports array. // !! IMPORTANT: Make sure queries do not have a semicolon ';' at the end so the pagination will work. $reports = array(); $reports['default'] = "SELECT username,full_name,email,date_created,active,login_date from users";
gpl-3.0
makseq/testarium
testarium/filedb.py
6170
import os, json, random from utils import * import collections class FileDataBaseException(Exception): pass def update_dict_recursively(d, u): for k, v in u.iteritems(): if isinstance(v, collections.Mapping): r = update_dict_recursively(d.get(k, {}), v) d[k] = r else: ...
gpl-3.0
SnakeSVx/ev3
Lejos/src/main/java/lejos/utility/DebugMessages.java
2602
package lejos.utility; import lejos.hardware.LCD; /** * This class has been developed to use it in case of you have * to tests leJOS programs and you need to show in NXT Display data * but you don't need to design a User Interface. * * This class is very useful to debug algorithms in your NXT brick. * ...
gpl-3.0
grglucastr/matheus
css/contato.css
392
body{ background-color: #151212; color: #FFFFFF; } .contato-frase{ font-family: 'GOTHAM-LIGHT'; letter-spacing: 3px; margin-top: 50px; padding: 0 90px; text-align: justify; } #form_contato label{ font-family: 'GOTHAM-LIGHT'; } #lnk_enviar{ font-family: 'GOTHAM-LIGHT'; color: #bebebe; width: 13%...
gpl-3.0
bderidder/ldm-guild-website
src/LaDanse/RestBundle/Controller/GameData/RealmResource.php
1963
<?php /** * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @link https://github.com/bderidder/ldm-guild-website */ namespace LaDanse\RestBundle\Controller\GameData; use LaDanse\RestBundle\Common\AbstractRestController; use LaDanse\RestBundle\Common\JsonResponse; use LaDanse\RestB...
gpl-3.0
AndreasLang1204/TowerOfDoom
src/Engine/Components/GameComponentType.h
3835
#pragma once #include "../Game/Enumeration.h" namespace ToD { namespace Components { //////////////////////////////////////////////////////////// /// \brief Declares supported game component types. /// //////////////////////////////////////////////////////////// class GameComponentType : public Enumera...
gpl-3.0
maxux/rtinfo
rtinfod/rtinfod_network.c
3168
/* * rtinfod is the daemon monitoring rtinfo remote clients * Copyright (C) 2012 DANIEL Maxime <root@maxux.net> * * 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 L...
gpl-3.0
gLENTNER/KernelFit
Source/Makefile
1329
# Copyright (c) Geoffrey Lentner 2015. All Rights Reserved. # See LICENSE file (GPLv3) # KernelSmoother/Source/Makefile # Makefile for building the KernelSmoother source (otherwise, just add the # KernelSmoother.hh and KernelSmoother.cc files to your project as you like). ccflags = -std=c++11 -fopenmp inc = . # ...
gpl-3.0
phun-ky/heritage
node_modules/neo4j/node_modules/streamline/lib/compiler/underscored.js
7491
"use strict"; var path = require("path"); var fs = require("fs"); var sourceMap = require('source-map'); var sourceMaps = {}; var coffeeMaps = {}; var registered = false; function registerErrorHandler() { if (registered) return; registered = true; function mungeStackFrame(frame) { if (frame.isNative()) return; ...
gpl-3.0
doooby/admission
spec/unit/status_spec.rb
2166
RSpec.describe Admission::Status do def privilege context @fake_privilege_klass ||= Struct.new(:context, :inherited) @fake_privilege_klass.new context end describe '#new' do it 'sets privileges to nil' do instance = Admission::Status.new :person, nil, :rules, :arbiter expect(instance).t...
gpl-3.0
dinoweb/lead_store
local/admin/controller/setting/setting.php
47643
<?php class ControllerSettingSetting extends Controller { private $error = array(); public function index() { $this->load->language('setting/setting'); $this->document->setTitle($this->language->get('heading_title')); $this->load->model('setting/setting'); if (($this->request->server['REQ...
gpl-3.0
Sanguinik/sea
src/test/java/com/wordpress/marleneknoche/sea/logic/NucleobaseCounterTest.java
1956
package com.wordpress.marleneknoche.sea.logic; import static org.junit.Assert.assertEquals; import static org.junit.Assert.*; import java.util.HashMap; import java.util.Map; import org.junit.Before; import org.junit.Test; public class NucleobaseCounterTest { private NucleobaseCounter nucleobaseCounter; private s...
gpl-3.0
gavinflud/edumate
src/com/gavinflood/edumate/Assignments.java
15858
package com.gavinflood.edumate; import java.util.ArrayList; import java.util.List; import java.util.Vector; import android.app.Activity; import android.app.Dialog; import android.app.ListActivity; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android...
gpl-3.0
g2p/kyototycoon
doc/api/namespacekyototycoon.html
71825
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>Kyoto Tycoon: kyototycoon Namespace Reference</title> <link href="tabs....
gpl-3.0
ram-on/SkyTube
app/src/main/java/free/rm/skytube/businessobjects/YouTube/POJOs/YouTubeAPI.java
2605
/* * SkyTube * Copyright (C) 2018 Ramon Mifsud * * 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 (version 3 of the License). * * This program is distributed in the hope that it will be u...
gpl-3.0
HuygensING/visitei
src/main/java/nl/knaw/huygens/tei/Entities.java
1302
package nl.knaw.huygens.tei; /* * #%L * VisiTEI * ======= * Copyright (C) 2011 - 2017 Huygens ING * ======= * 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 * Li...
gpl-3.0
hollaus/TinyPlanetMaker
app/src/main/java/org/hofapps/tinyplanet/RangeSeekBar.java
1322
package org.hofapps.tinyplanet; import android.content.Context; import android.util.AttributeSet; /** * Created by fabian on 02.11.2015. */ public class RangeSeekBar extends android.support.v7.widget.AppCompatSeekBar { private static final int ARRAY_MIN_POS = 0; private static final int ARRAY_MAX_POS = 1;...
gpl-3.0
Sch-Tomi/light-breaker
dev_js/blocks/checkpoint.js
326
class CheckPoint extends MasterBlock { constructor(heading, x, y, moving, rotating) { super("img/blocks/ellenorzo.png", heading, x, y, moving, rotating) this._hit = false } get_newDir(dir) { this._hit = true return [dir] } hitStatus() { return this._hit ...
gpl-3.0
ymmer/docker_apache-php
README.md
312
# docker container for apache2php7 small docker container using supervisord to test-run php apps. no db link yet. ## usage to build: `docker build -t ymmer/apache2php7:1.0 .` to run: `docker run -p 8000:80 -m 512m --name="myApp" -d ymmer/apache2php7:1.0` restart apache: `supervisorctl restart apache2`
gpl-3.0
goodfornothing/goodfornothing
app/controllers/colophon_controller.rb
3394
class ColophonController < ApplicationController def chapter @chapters = Chapter.order("title ASC").all end def who @all_chapters = Chapter.order("title ASC").all end def how end def funding end def highlights end def community @social = Social.where('start_time > ?',Time.now).first @gi...
gpl-3.0
cstrouse/chromebrew
packages/a2png.rb
1586
require 'package' class A2png < Package description 'Converts plain ASCII text into PNG bitmap images.' homepage 'https://sourceforge.net/projects/a2png/' version '0.1.5-1' compatibility 'all' source_url 'https://sourceforge.net/projects/a2png/files/a2png/0.1.5/a2png-0.1.5.tar.bz2' source_sha256 'd3ae1c771...
gpl-3.0
matfish2/vue-tables-2
compiled/filters/format-date.js
206
"use strict"; var validMoment = require('../helpers/is-valid-moment-object'); module.exports = function (value, dateFormat) { if (!validMoment(value)) return value; return value.format(dateFormat); };
gpl-3.0
map0logo/saisho
slides/formulas/html/._formulas-plain006.html
9419
<!-- Automatically generated HTML file from DocOnce source (https://github.com/hplgit/doconce/) --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="DocOnce: https://github.com/hplgit/doconce/" /> <meta name="description" content="Ch.1: Computing with f...
gpl-3.0
sdc/xerte
index.php
11968
<?php // Load the plugin files and fire a startup action require_once(dirname(__FILE__) . "/plugins.php"); startup(); require_once(dirname(__FILE__) . "/config.php"); _load_language_file("/index.inc"); /** * * Login page, self posts to become management page * * @author Patrick Lockley * @version 1.0 * @cop...
gpl-3.0
Alkalinee/Hurricane
Hurricane/Music/Data/TrackPlaylistPair.cs
397
using Hurricane.Music.Playlist; using Hurricane.Music.Track; namespace Hurricane.Music.Data { public class TrackPlaylistPair { public PlayableBase Track { get; set; } public IPlaylist Playlist { get; set; } public TrackPlaylistPair(PlayableBase track, IPlaylist playlist) { ...
gpl-3.0
Fossa/teleprescence
source/OTMixerMgr.cc
3445
/* * Copyright (C) 2013 Mamadou DIOP * Copyright (C) 2013 Doubango Telecom <http://www.doubango.org> * License: GPLv3 * This file is part of the open source SIP TelePresence system <https://code.google.com/p/telepresence/> */ #include "opentelepresence/OTMixerMgr.h" #include "opentelepresence/OTMixerMgrAudio.h" ...
gpl-3.0
toshiya44/simple-sample-epub
Stylesheets/toc-style.css
737
* { overflow-wrap: break-word; } h1, h2 { text-align: center; font-weight: bold; margin: 5% 0; } h3, h4, h5, h6 { text-align: center; font-weight: bold; margin: 4% 0 8% 0; } ol, ul { padding-left: 3em; padding-bottom: 0.4em; } ul.level1 > li { padding-bottom: 0.4em; list-style-type: square; } ul.l...
gpl-3.0
stephane-caron/dynamic-walking
wpg/com_control/__init__.py
1231
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) 2015-2017 Stephane Caron <stephane.caron@normalesup.org> # # This file is part of fip-walkgen # <https://github.com/stephane-caron/fip-walkgen>. # # fip-walkgen is free software: you can redistribute it and/or modify it under # the terms of the GNU General...
gpl-3.0
P3D-Legacy/P3D-Legacy-CSharp
2.5DHero/2.5DHero/Pokemon/Attacks/Normal/Protect.vb
3489
Imports P3D.Legacy.Core Imports P3D.Legacy.Core.Pokemon Imports P3D.Legacy.Core.Screens Namespace BattleSystem.Moves.Normal Public Class Protect Inherits Attack Public Sub New() '#Definitions Me.Type = New Element(Element.Types.Normal) Me.ID = 182 ...
gpl-3.0
sapia-oss/corus
modules/client/src/main/java/org/sapia/corus/client/services/deployer/dist/BaseJavaStarter.java
10837
package org.sapia.corus.client.services.deployer.dist; import static org.sapia.corus.client.services.deployer.dist.ConfigAssertions.attributeNotNullOrEmpty; import java.io.File; import java.io.Serializable; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import ja...
gpl-3.0
konrad-jamrozik/droidmate
dev/droidmate/scripts/decode_apk.sh
142
#!/bin/bash java -jar c:/my/local/repos/chair/droidmate/dev/droidmate/projects/core/src/main/resources/apktool.jar decode --no-src --force $1
gpl-3.0
sgsinclair/trombone
src/test/java/org/voyanttools/trombone/tool/corpus/DocumentTokensTest.java
3879
package org.voyanttools.trombone.tool.corpus; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.util.List; import org.junit.Test; import org.voyanttools.trombone.model.DocumentToken; import org.voyanttools.trombone.storage.Storage; import ...
gpl-3.0
beia/beialand
projects/solomon/Android/Solomon/app/src/main/java/com/example/solomon/MainActivity.java
13065
package com.example.solomon; import android.annotation.SuppressLint; import android.graphics.Color; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.widget.TextView; import com.estimote.mustard.rx_goodness.rx_requirements_wizard.Requirement; import com...
gpl-3.0
halfa/taiga
src/ui/dlg/dlg_about.cpp
6076
/* ** Taiga ** Copyright (C) 2010-2014, Eren Okka ** ** 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 pr...
gpl-3.0
sal3/a1cms
plugins/images/index.php
2918
<?php define('a1cms', 'energy', true); define('akina', 'photohost', true); define('root', substr(dirname( __FILE__ ), 0, -14)); if (!$_COOKIE['PHPSESSID'] or preg_match('/^[a-z0-9]{26}$/', $_COOKIE['PHPSESSID']))//если куки нет совсем или идентификатор нормальный session_start(); include_once root.'sys/config.p...
gpl-3.0
urjaman/carlcdp
tui-other.c
12204
#include "main.h" #include "backlight.h" #include "timer.h" #include "tui.h" #include "lcd.h" #include "lib.h" #include "buttons.h" #include "dallas.h" #include "rtc.h" #include "adc.h" #include "i2c.h" #include "i2c-uart.h" #include "cron.h" // I2C UART test menu start const unsigned char tui_um_s2[] PROGMEM = "INIT...
gpl-3.0
Hao-Xu/Omega
docs/html/classtask_manager.html
6667
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
gpl-3.0