repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
grevit-dev/DynamoPDF
DynamoPDF/Content/Annotation.cs
8157
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Autodesk.DesignScript.Geometry; using iTextSharp.text.pdf; using Autodesk.DesignScript.Runtime; using Autodesk.DesignScript.Geometry; namespace DynamoPDF.Content { /// <summary> /// Annota...
gpl-3.0
GustavoPB/CeCe
cece/plugins/python/Program.hpp
3507
/* ************************************************************************ */ /* Georgiev Lab (c) 2015 */ /* ************************************************************************ */ /* Department of Cybernetics */ /* F...
gpl-3.0
toxicaliens/hsmis
resources/views/layouts/wizard.blade.php
6534
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <!-- Meta, title, CSS, favicons, etc. --> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> ...
gpl-3.0
rvega/morphasynth
vendors/pd-extended-0.43.4/externals/Gem/src/Pixes/pix_a_2grey.cpp
3267
//////////////////////////////////////////////////////// // // GEM - Graphics Environment for Multimedia // // zmoelnig@iem.kug.ac.at // // Implementation file // // Copyright (c) 1997-2000 Mark Danks. // Copyright (c) Günther Geiger. // Copyright (c) 2001-2011 IOhannes m zmölnig. forum::für::umläute. IEM. zmo...
gpl-3.0
2014c2g4/2015cda0623
wsgi.py
51405
# coding=utf-8 # 上面的程式內容編碼必須在程式的第一或者第二行才會有作用 ################# (1) 模組導入區 # 導入 cherrypy 模組, 為了在 OpenShift 平台上使用 cherrypy 模組, 必須透過 setup.py 安裝 import cherrypy # 導入 Python 內建的 os 模組, 因為 os 模組為 Python 內建, 所以無需透過 setup.py 安裝 import os # 導入 random 模組 import random import math from cherrypy.lib.static import serve_file # ...
gpl-3.0
kzoacn/Grimoire
Training/10.07/C.cpp
1292
#include <bits/stdc++.h> #define __advance __attribute__((optimize("O3"))) typedef long long ll; int sgn(ll x) { return x < 0 ? -1 : x > 0; } struct vec { ll x, y; vec() {} vec(ll x, ll y): x(x), y(y) {} __advance __inline vec operator - (const vec &rhs) const { return vec(x - rhs.x, y - rhs.y); } }; __adv...
gpl-3.0
hgonzalezgaviria/diheke
resources/views/errors/error.blade.php
521
@extends('layout') @section('title', '/ Error') @section('head') <link href="https://fonts.googleapis.com/css?family=Lato:100" rel="stylesheet" type="text/css"> <style> .title { margin: 0; padding: 0; width: 100%; color: #000000; display: table; height: 100%; text-align: center; display: ta...
gpl-3.0
AtmosFOAM/AtmosFOAM
src/TurbulenceModels/thetaBuoyantKEpsilon/thetaBuoyantKEpsilon.C
5165
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2014-2018 OpenFOAM Foundation \\...
gpl-3.0
biancama/data-structures-java
src/main/java/org/biancama/algorithms/sort/MergeSort.java
1390
package org.biancama.algorithms.sort; import java.util.ArrayList; import java.util.List; /** * Created by massimo on 23/04/16. */ public class MergeSort { private MergeSort() {} /** * Algorithm InsertionSort(A): * Input: An array A of n comparable elements * Output: The array A with elements rearranged in ...
gpl-3.0
liruixpc11/crucian
alevin/src/main/java/vnreal/resources/IdResource.java
5131
/* ***** BEGIN LICENSE BLOCK ***** * Copyright (C) 2010-2011, The VNREAL Project Team. * * This work has been funded by the European FP7 * Network of Excellence "Euro-NF" (grant agreement no. 216366) * through the Specific Joint Developments and Experiments Project * "Virtual Network Resource Embedding Algorithm...
gpl-3.0
digitalshow/pcd-ddf-in-wpf
pcd-ddf-in-wpf/ChangesTracker.cs
6850
/* pcd-ddf-in-wpf: A DDF editor for PC_DIMMER, an open source light control software. Copyright (C) 2016 Ingo Koinzer 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 Licen...
gpl-3.0
leandrolanzieri/ciaabot-ide
typings/modules/closure/goog/dom/pattern/callback/test.d.ts
806
declare module goog { function require(name: 'goog.dom.pattern.callback.Test'): typeof goog.dom.pattern.callback.Test; } declare module goog.dom.pattern.callback { /** * Callback class for testing for at least one match. * @constructor * @final */ class Test { constructor(); ...
gpl-3.0
cli/sonews
sonews-modules/core/src/main/java/org/sonews/daemon/Connections.java
4653
/* * SONEWS News Server * Copyright (C) 2009-2015 Christian Lins <christian@lins.me> * * 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 * (...
gpl-3.0
glotaran/glotaran
glotaran/builtin/models/doas/test/test_doas_model.py
9452
import pytest import numpy as np import xarray as xr from glotaran import ParameterGroup from glotaran.builtin.models.doas import DOASModel from glotaran.builtin.models.doas.doas_matrix import calculate_doas_matrix class OneOscillation(): sim_model = DOASModel.from_dict({ 'oscillation': { 'os...
gpl-3.0
lejubila/piGardenWeb
vendor/caouecs/laravel-lang/src/he/validation.php
9372
<?php return [ /* |-------------------------------------------------------------------------- | Validation Language Lines |-------------------------------------------------------------------------- | | The following language lines contain the default error messages used by | the validator c...
gpl-3.0
lkdjiin/Personal-Bug-Tracker
src/desktopbugtracker/dialog/DialogChangePriority.java
8955
/* * This file is part of Personal Bug Tracker. * Copyright (C) 2009, Xavier Nayrac * * Personal Bug Tracker 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
NZMSA/2017-AdvTraining
Day 2/2.5 Integrating EasyTables with NodeJS(Post)/Project Files/controller/LuisDialog.js
4665
var builder = require('botbuilder'); var food = require("./FavouriteFoods"); // Some sections have been omitted var isAttachment = false; exports.startDialog = function (bot) { // Replace {YOUR_APP_ID_HERE} and {YOUR_KEY_HERE} with your LUIS app ID and your LUIS key, respectively. var recognizer = new builder...
gpl-3.0
guardicore/monkey
monkey/monkey_island/cc/ui/src/components/report-components/AttackReport.js
6550
import React from 'react'; import {Col, Button} from 'react-bootstrap'; import '../../styles/components/Collapse.scss'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import {faCircle} from '@fortawesome/free-solid-svg-icons/faCircle'; import {faRadiation} from '@fortawesome/free-solid-svg-icons/faRa...
gpl-3.0
psci2195/espresso-ffans
src/utils/include/utils/make_function.hpp
2317
/* * Copyright (C) 2010-2019 The ESPResSo project * * This file is part of ESPResSo. * * ESPResSo 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) ...
gpl-3.0
danielquinn/ripe-atlas-tools
ripe/atlas/tools/commands/configure.py
4276
# Copyright (c) 2015 RIPE NCC # # 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 h...
gpl-3.0
wlx65003/HZNUOJ
web/OJ/status-ajax.php
2095
<?php /** * This file is modified! * by yybird * @2015.07.02 **/ ?> <?php header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past ////////////////////////////Common head $cache_time=2; $OJ_CACHE_SHARE=false; require_...
gpl-3.0
maratgaip/MusicApp
scripts/components/MobileSongListItem.js
1065
import React, { Component, PropTypes } from 'react'; import { getImageUrl } from '../utils/SongUtils'; const propTypes = { isActive: PropTypes.bool.isRequired, playSong: PropTypes.func.isRequired, song: PropTypes.object.isRequired, user: PropTypes.object.isRequired, }; class MobileSongListItem extends Compone...
gpl-3.0
domainmod/domainmod
cron.php
6784
<?php /** * /cron.php * * This file is part of DomainMOD, an open source domain and internet asset manager. * Copyright (c) 2010-2021 Greg Chetcuti <greg@chetcuti.com> * * Project: http://domainmod.org Author: http://chetcuti.com * * DomainMOD is free software: you can redistribute it and/or modify it under t...
gpl-3.0
domcleal/smart-proxy
lib/bmc_api.rb
8026
require 'proxy/bmc' class SmartProxy < Sinatra::Base # All GET requests will only read ipmi data, no changes # All PUT requests will update information on the bmc device get "/bmc" do # return list of available options end # Returns a list of bmc providers get "/bmc/providers" do { :providers =>...
gpl-3.0
adixcompany/self
plugins/tools.lua
18274
--Tools.lua :D local function run_bash(str) local cmd = io.popen(str) local result = cmd:read('*all') return result end local function exi_file() local files = {} local pth = tcpath..'/data/document' for k, v in pairs(scandir(pth)) do if (v:match('.lua$')) then table.insert...
gpl-3.0
psychowood/ng-torrent-ui
app/scripts/directives/torrent-row.js
3822
'use strict'; /** * @ngdoc directive * @name ngTorrentUiApp.directive:torrentStatus * @description * # torrentStatus */ angular.module('ngTorrentUiApp') .directive('torrentRow', function() { return { priority: 1000, templateUrl: 'views/torrent-row.html', restrict: '...
gpl-3.0
dryabkov/activiti-modeler-experiment
editor/src/scripts/erdfparser.js
12898
/******************************************************************************* * Signavio Core Components * Copyright (C) 2012 Signavio GmbH * * 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 Founda...
gpl-3.0
erikgrinaker/BOUT-dev
tools/pylib/boututils/volume_integral.py
2172
from __future__ import print_function from __future__ import division from builtins import range from past.utils import old_div import numpy as np from boututils import * from bunch import bunchify # Integrate over a volume def volume_integral( var, g, xr=False): s = np.ndim(var) grid=bunchify(g) if s...
gpl-3.0
sherisaac/TurteTracker_APIServer
src/main/java/com/turtletracker/api/server/handlers/nest/NestNotFoundException.java
319
/* * Copyright TurtleTracker 2017 */ package com.turtletracker.api.server.handlers.nest; /** * * @author Ike [Admin@KudoDev.com] */ public class NestNotFoundException extends Exception { public NestNotFoundException(String string) { super("{\"err\":\"Nest: " + string + " not found...\"}"); } }
gpl-3.0
impomezia/screenpic
src/ShareNet.cpp
2289
/* Copyright (C) 2013-2015 Alexander Sedov <imp@schat.me> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later versio...
gpl-3.0
dgfiloso/C_IEIN
Practica4/html/navtreedata.js
1060
var NAVTREE = [ [ "Presence_Observer", "index.html", [ [ "Documentacion Proyecto Observer IEIN", "index.html", [ [ "Abstract", "index.html#Abstract", null ], [ "Descripcion del Proyect", "index.html#Desc", null ] ] ], [ "Data Structures", "annotated.html", [ [ "Data Structures", "annotat...
gpl-3.0
ciasaboark/Nodyn
app/src/main/java/io/phobotic/nodyn_app/database/audit/model/AuditDetail.java
3170
/* * Copyright (c) 2018 Jonathan Nelson <ciasaboark@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. ...
gpl-3.0
gohdan/DFC
known_files/hashes/bitrix/modules/forum/install/components/bitrix/forum.post_form/lang/en/help/.tooltips.php
61
Bitrix 16.5 Business Demo = f99a1f7c38f47c2b32733ccfa016c8f0
gpl-3.0
apruden/opal
opal-core-ws/src/main/java/org/obiba/opal/web/security/DefaultOptionsMethodExceptionMapper.java
1414
package org.obiba.opal.web.security; import java.util.Set; import javax.ws.rs.core.Response; import javax.ws.rs.core.UriInfo; import javax.ws.rs.ext.ExceptionMapper; import javax.ws.rs.ext.Provider; import org.jboss.resteasy.spi.DefaultOptionsMethodException; import org.obiba.opal.web.ws.inject.RequestAttributesProv...
gpl-3.0
zuiwuchang/king-document
data/tags/41.js
165
var __v=[ { "Id": 40, "Tag": 41, "Name": "QUnit 單元測試", "Sort": 0 }, { "Id": 41, "Tag": 41, "Name": "CryptoJS", "Sort": 0 } ]
gpl-3.0
onebone/EconomyS
EconomyAPI/src/onebone/economyapi/util/Transaction.php
1683
<?php /* * EconomyS, the massive economy plugin with many features for PocketMine-MP * Copyright (C) 2013-2021 onebone <me@onebone.me> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, e...
gpl-3.0
francescamille/VERSION_AB1L_GROUP2
search_result.php
5311
<?php session_start(); $pgsql_conn = pg_connect("dbname=postgres host=localhost user=postgres password=12345"); //real query //$query = "select * from blogs order by date_published limit 50;"; //echo $_SESSION['uname']."--,"; //$result = pg_query($pgsql_conn, $query); ?> <!DOCTYPE HTML> <html> <head> ...
gpl-3.0
pbl64k/Phorth
Phorth_Io.php
854
<?php /* Copyright 2010, 2011 Pavel Lepin This file is part of Phorth. Phorth 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
benhamidene/livingdoc-confluence
livingdoc-confluence-plugin/src/main/resources/includes/js/server-properties.js
10324
var LDProperties = Class.extend(); LDProperties.prototype = { init:function(ctx, action){ this.action = action; this._ctx = ctx; }, createParams:function(params){ return AJS.$.extend({decorator:'none', ctx:this._ctx}, params); }, getRunnersPane:function(id){ AJS.tabs.change(AJS.$('a[href=#tabs-runner]'))...
gpl-3.0
Serg-Norseman/GEDKeeper
projects/GKv3/GEDKeeper3/GKUI/Forms/PortraitSelectDlg.cs
3168
/* * "GEDKeeper", the personal genealogical database editor. * Copyright (C) 2009-2018 by Sergey V. Zhdanovskih. * * This file is part of "GEDKeeper". * * 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 * ...
gpl-3.0
gmfrasca/pointstreak-groupme
psgroupme/bots/schedule_bot.py
2722
from recleagueparser.schedules import ScheduleFactory from psgroupme.bots.base_bot import BaseBot class ScheduleBot(BaseBot): NEXTGAME_RESPONSE = 'The next game is: {0}' LASTGAME_RESPONSE = 'The last game was: {0}' SCHEDULE_RESPONSE = 'This is the current schedule:\n{0}' DEFAULT_TEAM_ID = 3367048 ...
gpl-3.0
hustr/OnlineJudge
Leetcode/019RemoveNode.java
1431
package Leetcode; /** * Created by yaning on 17-5-30. */ public class _019RemoveNode { static class ListNode { int val; ListNode next; ListNode(int x) { val = x; } } public static void main(String[] args) { ListNode n1 = new ListNode(1); ListNode n2 = new ListNode...
gpl-3.0
archmon/RandomThoughtsMod
src/main/java/net/archmon/RandomThoughtsMod/item/ItemMapleLeaf.java
680
/*removed 6/29/15 3:15pm * preparing for mod start * * package net.archmon.RandomThoughtsMod.item; //import net.archmon.RandomThoughtsMod.creativetab.CreativeTab_RTM; //example item class for item Maple Leaf public class ItemMapleLeaf extends Item_RTM{ public ItemMapleLeaf(){ super(); //pahimar says that hav...
gpl-3.0
hndgzkn/dpgame
org.dpgame/src/org/dpgame/tools/xml/XmlSections.java
2460
/* * Copyright (C) 2014 Hande Özaygen * * This file is part of dpgame. * * 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
phenix-factory/p.henix.be
plugins-dist/svp/lang/paquet-svp_pt.php
692
<?php // This is a SPIP language file -- Ceci est un fichier langue de SPIP // extrait automatiquement de https://trad.spip.net/tradlang_module/paquet-svp?lang_cible=pt // ** ne pas modifier le fichier ** if (!defined('_ECRIRE_INC_VERSION')) { return; } $GLOBALS[$GLOBALS['idx_lang']] = array( // S 'svp_descript...
gpl-3.0
behradhg/TeleNfs
plugins/report.lua
1904
do local function report(chat_id, msg_id, reporter, description) local text = _('• <b>Message reported by</b>: %s'):format(reporter) local link = redis:get('link' .. chat_id) local title = redis:get('title' .. chat_id) or 'no name' local logchat = redis:get('log' .. chat_id) if link then t...
gpl-3.0
EcrituresNumeriques/anthologie-apiLite
src/post/images/new.php
1250
<?php if(is_numeric($_POST['entity']) && !empty($_POST['url'])){ //TODO: If a file is provided, grab a copy on the server try{ $insertNewImage = $db->prepare("INSERT INTO images (user_id,group_id,URL,title,credit) VALUES (:user,:group,:url,:title,:credit)"); $insertNewImage->bindParam(":url",$_POST['url']); ...
gpl-3.0
SimonItaly/duckhunt
doc/html/game__a_8h.js
105
var game__a_8h = [ [ "GameA_MainLoop", "game__a_8h.html#ab0e0a867501ff7ebc03c03bcd378d197", null ] ];
gpl-3.0
tuliotoffolo/tup
tup/src/be/kuleuven/codes/tup/heuristic/assignment/HungarianAlgorithm.java
9438
package be.kuleuven.codes.tup.heuristic.assignment; import java.util.*; /** * An implementation of the classic hungarian algorithm for the assignment problem. * <p> * Copyright 2007 Gary Baker (GPL v3) * * @author gbaker */ public class HungarianAlgorithm implements AssignmentAlgorithm { private int[][] z...
gpl-3.0
mfalkao/SmartStoreNET
src/Tests/SmartStore.Services.Tests/Catalog/PriceCalculationServiceTests.cs
12809
using System; using SmartStore.Core; using SmartStore.Core.Domain.Catalog; using SmartStore.Core.Domain.Customers; using SmartStore.Core.Domain.Discounts; using SmartStore.Core.Domain.Orders; using SmartStore.Services.Catalog; using SmartStore.Services.Discounts; using SmartStore.Tests; using NUnit.Framework; using Rh...
gpl-3.0
moparisthebest/aptIn16
apt-mirror-api/src/main/java/com/sun/mirror/util/SimpleTypeVisitor.java
5151
/* * @(#)SimpleTypeVisitor.java 1.4 04/06/07 * * Copyright (c) 2004, Sun Microsystems, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source c...
gpl-3.0
sustmi/sus107-dt
src/ui/DebuggerView.cpp
8060
// DebuggerView.cpp // Copyright (C) 2012 Miroslav Sustek <sus107@vsb.cz> // 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
airfield/betaflight-toolbox
tabs/motors.js
19481
'use strict'; TABS.motors = { allowTestMode: false, feature3DEnabled: false, feature3DSupported: false }; TABS.motors.initialize = function (callback) { var self = this; self.armed = false; self.feature3DSupported = false; self.allowTestMode = true; if (GUI.active_tab != 'motors')...
gpl-3.0
wasare/ciaweb
app/sagu/lib/GetField.php
1183
<? /** * */ function GetField($id,$field,$table,$SaguAssert) { $sql = "select " . $field . " from " . $table . " where id = '$id'"; $conn = new Connection; $conn->Open(); $query = @$conn->CreateQuery($sql); if ( @$query->MoveNext() ) $obj = $query->GetValue(1); ...
gpl-3.0
feimermt/bountify
database/migrations/2014_10_12_000000_create_users_table.php
706
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function (Blueprint $table) { $table...
gpl-3.0
madirish/hector
app/scripts/nessus_scan/form.php
1427
<!-- nessus form --> <script type="text/javascript"> </script> <?php /** * Require the XSRF safe form */ require_once($approot . 'lib/class.Form.php'); $form = new Form(); $formname = 'add_scan_type_form'; $form->set_name($formname); $token = $form->get_token(); $form->save(); ?> <fieldset> <legend>Nessus Scan</...
gpl-3.0
qt-haiku/LibreOffice
qadevOOo/tests/java/mod/_forms/OPatternModel.java
6157
/* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following lice...
gpl-3.0
saophaisau/port
Core/AIO Ports/ReformedAIO/Champions/Xerath/Drawings/Damage/DamageDrawing.cs
1928
using EloBuddy; using LeagueSharp.Common; namespace ReformedAIO.Champions.Xerath.Drawings.Damage { using System; using System.Linq; using LeagueSharp; using LeagueSharp.Common; using ReformedAIO.Champions.Xerath.Core.Damage; using ReformedAIO.Library.Drawings; using RethoughtLib.Feature...
gpl-3.0
zerjioang/OnTheStreet
app/src/main/java/zerjioang/onthestreet/util/Util.java
823
package zerjioang.onthestreet.util; /** * Created by .local on 23/04/2017. */ public class Util { public static double getDistanceFromLatLonInKm(double lat1, double lon1, double lat2, double lon2) { int R = 6371; // Radius of the earth in km double dLat = deg2rad(lat2-lat1); // deg2rad below ...
gpl-3.0
davidam/python-examples
scikit/plot_denoise.py
3210
""" ==================== Denoising a picture ==================== In this example, we denoise a noisy version of a picture using the total variation, bilateral, and wavelet denoising filters. Total variation and bilateral algorithms typically produce "posterized" images with flat domains separated by sharp edges. It ...
gpl-3.0
kerimlcr/ab2017-dpyo
ornek/sayonara/sayonara-0.9.2/src/GUI/Playlist/Model/PlaylistItemModel.cpp
8323
/* PlaylistItemModel.cpp */ /* Copyright (C) 2011-2016 Lucio Carreras * * This file is part of sayonara player * * 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
vb2005xu/eduTrac
eduTrac/Application/Views/ftp/index.php
2164
<?php if ( ! defined('BASE_PATH') ) exit('No direct script access allowed'); /** * * FTP View * * PHP 5.4+ * * eduTrac(tm) : Student Information System (http://www.7mediaws.org/) * @copyright (c) 2013 7 Media Web Solutions, LLC * * This program is free software; you can redistribute it and/or * modify it un...
gpl-3.0
AlbRoehm/habitica-android
Habitica/src/main/java/com/habitrpg/android/habitica/ui/activities/TaskFormActivity.java
57779
package com.habitrpg.android.habitica.ui.activities; import android.app.DatePickerDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android.os.Build; import android.os.Bun...
gpl-3.0
thunder033/RMWA
pulsar/app/shared/index.js
363
/** * Created by Greg on 11/27/2016. */ 'use strict'; /** * Misc. shared utilities * @module shared */ var shared = require('angular').module('shared', []); require('./capitalize.filter'); require('./es6-warning-banner.directive'); require('./loader.directive'); require('./secondsToDate.filter'); require('./accor...
gpl-3.0
ranog/coursera_python
n_impares.py
179
#!/usr/bin/env python3 n = int(input("Digite o valor de n: ")) i = 0 #contador impar = 1 while(i < n): print(impar) impar = impar + 2 i = i + 1
gpl-3.0
jegoyalu/jariscms
modules/calendar/functions.php
19748
<?php /** * Copyright 2008, Jefferson González (JegoYalu.com) * This file is part of Jaris CMS and licensed under the GPL, * check the LICENSE.txt file for version and details or visit * https://opensource.org/licenses/GPL-3.0. * * Jaris CMS module functions file. */ Jaris\Signals\SignalHandler::listenWithParam...
gpl-3.0
wiki2014/Learning-Summary
alps/cts/hostsidetests/services/windowmanager/dndtargetappsdk23/src/android/wm/cts/dndtargetappsdk23/DropTarget.java
2737
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
gpl-3.0
infiniteautomation/BACnet4J
src/main/java/com/serotonin/bacnet4j/obj/TrendLogObject.java
36887
package com.serotonin.bacnet4j.obj; import java.util.Objects; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.TimeUnit; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.serotonin.bacnet4j.LocalDevice; import com.serotonin.bacnet4j.RemoteDevice; import com.seroto...
gpl-3.0
ska/myels
Finestra_bck.py
7314
#!/usr/bin/python import socket import time from Tkinter import * class Finestra: __f='' __s='' __StatusBar='' __ButtonAccendi='' __ButtonSpegni='' __Slider='' __APl='21' __active=FALSE __Ip='192.168.1.35' __Porta=20000 __version= '0.2b' __sliderStatus= 0 def _...
gpl-3.0
warnp/runner_game
src/engine/vertex.rs
259
#[derive(Copy, Clone, Debug)] pub struct Vertex { pub position: [f32; 3], pub normal: [f32; 3], pub color: [f32; 4], pub tex_coords: [f32; 2], pub i_tex_id: u32, } implement_vertex!(Vertex, position, normal,color, tex_coords,i_tex_id);
gpl-3.0
PlaneaSoluciones/MiniRealtime-Asterisk
panel/controller.cdr.php
959
<?php switch ($view) { default: // List showlist(); break; } function showlist(){ global $db, $module; // Getting element list $query="SELECT calldate, src, dst, duration, billsec, disposition FROM cdr order by calldate desc limit 30"; $dbdata = db::getInstance()->query($query); // Showi...
gpl-3.0
tsyw/cppprimer5eAnswers
ch9/9_8.cc
58
// list<string>::const_iterator // list<string>::iterator
gpl-3.0
iamii/MySSH
books/keepalived/installkeepalived.lua
562
require ("books/common") InstallEPEL() Cmd{ "yum install keepalived ipvsadm -y && iptables -F && iptables -Z", } local info = PLAYLISTINFO if type(info.priority) == "table" then for k, v in pairs(info.priority) do if HOST.Name == k then info.ct["vrrp_instance VI_1"].state= v.state ...
gpl-3.0
danielbonetto/twig_MVC
lang/th/block_totara_alerts.php
2100
<?php /* * This file is part of Totara LMS * * Copyright (C) 2010-2012 Totara Learning Solutions LTD * * 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...
gpl-3.0
snessygee/cheshire-cup
playoff-generator/PlayoffTree.php
2897
<?php /* * This file is part of the PHP Sports Generators (https://bitbucket.org/zdenekdrahos/php-sports-generators) * Copyright (c) 2012, 2013 Zdenek Drahos (https://bitbucket.org/zdenekdrahos) * PHP Sports Generators is free software: you can redistribute it and/or modify * it under the terms of the GNU Gene...
gpl-3.0
richrr/scripts
bash/bbtools/bbmap/current/stream/SiteScoreR.java
8335
package stream; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.List; import shared.Shared; /** * @author Brian Bushnell * @date Jul 16, 2012 * */ public final class SiteScoreR implements Comparable<SiteScoreR>{...
gpl-3.0
david-alan/wealthbot
system/Model/Pas/Transaction.php
4596
<?php namespace Model\Pas; class Transaction extends Base { const TRANSACTION_CODE_BUY = 'BUY'; const TRANSACTION_CODE_SELL = 'SELL'; const TRANSACTION_CODE_MFEE = 'MFEE'; const TRANSACTION_CODE_MF = 'IDA12'; const CLOSING_METHOD_NAME = 'None'; protected $lotId; protecte...
gpl-3.0
Neticle/lumina-php-framework
framework/system/web/session/Session.php
7332
<?php // ============================================================================= // // Copyright 2013 Neticle // http://lumina.neticle.com // // This file is part of "Lumina/PHP Framework", hereafter referred to as // "Lumina". // // Lumina is free software: you can redistribute it and/or modify it under the /...
gpl-3.0
tranleduy2000/javaide
aosp/gradle/src/main/java/com/android/build/gradle/internal/dependency/LibraryDependencyImpl.java
5033
/* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
gpl-3.0
RickyNotaro/CakePOS
tests/TestCase/Controller/TransactionsControllerTest.php
1363
<?php namespace App\Test\TestCase\Controller; use App\Controller\TransactionsController; use Cake\TestSuite\IntegrationTestCase; /** * App\Controller\TransactionsController Test Case */ class TransactionsControllerTest extends IntegrationTestCase { /** * Fixtures * * @var array */ publi...
gpl-3.0
lancelothk/BSPAT
BSPAT/test/edu/cwru/cbc/BSPAT/DataType/SequenceTest.java
3442
package edu.cwru.cbc.BSPAT.DataType; import java.lang.reflect.InvocationTargetException; import static org.testng.AssertJUnit.assertEquals; public class SequenceTest { @org.junit.Test public void testProcessSequence() throws NoSuchMethodException, InvocationTargetException, IllegalAccessException { String ref =...
gpl-3.0
Nebo15/gandalf.api
app/Listeners/EventListener.php
1982
<?php /** * Author: Paul Bardack paul.bardack@gmail.com http://paulbardack.com * Date: 08.11.15 * Time: 12:15 */ namespace App\Listeners; use App\Events\Users; use App\Events\Decisions; use App\Services\Intercom; use App\Services\Mixpanel; use Nebo15\LumenApplicationable\Models\Application; class EventListener ...
gpl-3.0
dreamer-dead/falltergeist
src/VM/Handlers/Opcode8044Handler.cpp
1618
/* * Copyright 2012-2015 Falltergeist Developers. * * This file is part of Falltergeist. * * Falltergeist 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
Ensembles/ert
python/tests/core/ecl/test_rft_statoil.py
4639
#!/usr/bin/env python # Copyright (C) 2011 Statoil ASA, Norway. # # The file 'test_rft_statoil.py' is part of ERT - Ensemble based Reservoir Tool. # # ERT 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 Fou...
gpl-3.0
patilswapnilv/shortcodely
tests/phpunit/tests/image/editor_imagick.php
14562
<?php /** * Test the WP_Image_Editor_Imagick class * * @group image * @group media * @group wp-image-editor-imagick */ require_once dirname(__FILE__) . '/base.php'; class Tests_Image_Editor_Imagick extends WP_Image_UnitTestCase { public $editor_engine = 'WP_Image_Editor_Imagick'; public function setUp...
gpl-3.0
Landric/PANFeed
panfeed/forms.py
802
from django.forms import ModelForm, RadioSelect, ChoiceField from models import Feed, FeedItem, SpecialIssue class FeedForm(ModelForm): displayAll = ChoiceField(label='Publishing options', widget=RadioSelect(), choices=[['1','Show all - show all published items and Special Issues'],['0','Show latest - only show th...
gpl-3.0
username1366/growOS
grow.py
1229
#!/usr/bin/env python from functions import * grow_day_duration = 2 grow_night_duration = 1 chronon = 60 debug = 1 init_time = init() relay_init() disable_led() disable_cool() disable_pump() if debug: diff = 0 while True: temp, hum = readDHT22() sqlite_insert_into_sensors(str(temp), str(hum)) print sqlite_retr...
gpl-3.0
wookietreiber/arpgt
src/main/scala/Character.scala
1083
package rpg /** Base class for characters. * * @tparam A the used attribute type (default attributes of skills) * @tparam S the used skill type * @tparam C the character type itself */ abstract class Character[A <: Attribute,S <: Skill[A],C <: Character[A,S,C]] { self: C with Attributes[A] with Skills[A,S...
gpl-3.0
mbarcia/drupsible-org
sites/default/files/php/twig/1#c2#1c#8a32167a12229a674921fa3b5f9c3aafdc6ed97cab7e91a92761978bf560/4bcb6d0b78b6b616d62da0f876541fdd1c0627f9eb0540d635da69d36456e0e8.php
13631
<?php /* core/themes/classy/templates/dataset/table.html.twig */ class __TwigTemplate_c21c8a32167a12229a674921fa3b5f9c3aafdc6ed97cab7e91a92761978bf560 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->...
gpl-3.0
Brazelton-Lab/bio_utils
bio_utils/verifiers/fastq.py
4694
#! /usr/bin/env python3 from __future__ import print_function """Verifies a FASTQ file Usage: fastq_verifier <FASTQ File> [--quiet] Copyright: fastq.py verify validity of a FASTQ file Copyright (C) 2015 William Brazelton, Alex Hyer This program is free software: you can redistribute it and/or mo...
gpl-3.0
chandraknight/YatriNepal
resources/views/frontend/layouts/ProductDetails/SimilarArea.blade.php
2711
<!--Similar Area Start--> <div class="similar-area section-grey section-padding"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="section-title text-center"> <div class="title-border"> <h1>Similar <span>Tri...
gpl-3.0
Graylog2/graylog2-server
full-backend-tests/src/test/java/org/graylog/elasticsearch/e2e/ElasticsearchE2EES6.java
1352
/* * Copyright (C) 2020 Graylog, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; withou...
gpl-3.0
erudit/zenon
eruditorg/erudit/test/solr.py
12135
from collections import Counter from itertools import chain from operator import attrgetter from typing import Dict, List, Tuple from luqum.tree import ( AndOperation, BaseOperation, FieldGroup, Group, OrOperation, Plus, SearchField, UnknownOperation, ) from luqum.parser import parser ...
gpl-3.0
IliaAnastassov/ProgrammingInCSharp
ProgrammingInCSharp/Chapter1_Objective2/Properties/AssemblyInfo.cs
1414
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ch...
gpl-3.0
javan-it-services/internal
app/tests/cases/models/worklog.test.php
1225
<?php /* SVN FILE: $Id$ */ /* Worklog Test cases generated on: 2009-04-07 10:04:37 : 1239075937*/ App::import('Model', 'Worklog'); class WorklogTestCase extends CakeTestCase { var $Worklog = null; var $fixtures = array('app.worklog', 'app.user'); function startTest() { $this->Worklog =& ClassRegistry::init('Wor...
gpl-3.0
gohdan/DFC
known_files/hashes/libraries/fof/table/relations.php
144
Joomla 3.3.3 = 9df39f8c2734059138c8fa8761c20577 Joomla 3.6.4 = 81a2082bc78a86c6ebab5f29c3a7455b Joomla 3.6.2 = 4d3046b42f7ae205f1986aec2ef6e74a
gpl-3.0
Rodriwp/pfat
src/Practica_1/java/Parser/AST/SentSimp2.java
142
package AST; public class SentSimp2 implements Sentencia { public final Cond cond; public SentSimp2(Cond cond) { this.cond = cond; } }
gpl-3.0
mandrakey/GradeCalc
model/worksheet.cpp
2629
/* Copyright (C) 2013 Maurice Bleuel (mandrakey@lavabit.com) * * This file is part of GradeCalc. * * GradeCalc 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
GeorgH93/Bukkit_MarriageMaster
MarriageMaster/src/at/pcgamingfreaks/MarriageMaster/Bungee/Database/Database.java
3375
/* * Copyright (C) 2020 GeorgH93 * * 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 ...
gpl-3.0
GNOME/glom
glom/utility_widgets/filechooserdialog_saveextras.cc
8437
/* Glom * * Copyright (C) 2006 Murray Cumming * * 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