code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
/*
* This file is part of l2jserver2 <l2jserver2.com>.
*
* l2jserver2 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.
*
* l2jse... | l2jserver2/l2jserver2 | l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/java/com/l2jserver/service/game/item/NonStackableItemsServiceException.java | Java | gpl-3.0 | 1,539 |
#include <Rcpp.h>
using namespace Rcpp;
// [[Rcpp::export]]
int estimateDiam(IntegerVector initial, IntegerMatrix moves){
//This function should return an upper bound on the diameter!
int diam=1000;
return diam;
}
| windisch/rrSample | src/estimateDiam.cpp | C++ | gpl-3.0 | 222 |
#include "stdafx.h"
#include "S0MeterSerial.h"
#include "../main/Logger.h"
#include "../main/Helper.h"
#include "../main/RFXtrx.h"
#include "../main/mainworker.h"
#include "P1MeterBase.h"
#include "hardwaretypes.h"
#include <string>
#include <algorithm>
#include <iostream>
#include <boost/bind.hpp>
#inclu... | ozarchie/domoticz | hardware/S0MeterSerial.cpp | C++ | gpl-3.0 | 2,962 |
require (ENV['OPERATOR_HOME'] + '/vagrant/lib/common/module/paths.rb')
include CommonPaths
eval File.read( COMMON + '/pre/0_synced.rb' )
if File.file?("synced.rb")
eval File.read("synced.rb")
end
eval File.read( COMMON + '/pre/1_init.rb' )
eval File.read( COMMON + '/pre/2_install.rb' )
eval File.read( COMMON + '/p... | valterhenrique/operator | vagrant/lib/common/provision.rb | Ruby | gpl-3.0 | 498 |
vti_encoding:SR|utf8-nl
vti_timelastmodified:TW|14 Aug 2014 12:39:17 -0000
vti_extenderversion:SR|12.0.0.0
vti_author:SR|Office-PC\\Rafael
vti_modifiedby:SR|Office-PC\\Rafael
vti_timecreated:TR|01 Nov 2014 09:09:36 -0000
vti_backlinkinfo:VX|
vti_nexttolasttimemodified:TW|14 Aug 2014 12:39:17 -0000
vti_cacheddtm:TX|03 N... | Vitronic/kaufreund.de | admin/language/english/openbay/_vti_cnf/amazonus_stockupdates.php | PHP | gpl-3.0 | 753 |
###################################################################
# $Id$
#
# Copyright (c) 2009 Aaron Turner, <aturner at synfin dot net>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
#... | synfinatic/tcpreplay | cmake/CheckTxRing.cmake | CMake | gpl-3.0 | 2,455 |
/* This is a conversion from LIB-R-MATH to Typescript/Javascript
Copyright (C) 2018 Jacob K.F. Bogers info@mail.jacob-bogers.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 ... | jacobbogers/libRmath.js | src/lib/distributions/hypergeometric/qhyper.ts | TypeScript | gpl-3.0 | 4,360 |
<!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_14) on Fri Jun 18 18:05:19 BST 2010 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
H-Index (FlexiGraph Refere... | unidesigner/pyconto | scratch/flexigraph-0.1/dist/javadoc/index-files/index-8.html | HTML | gpl-3.0 | 15,555 |
/*******************************************************************************
* LogDruid : Generate charts and reports using data gathered in log files
* Copyright (C) 2016 Frederic Valente (frederic.valente@gmail.com)
*
* This program is free software: you can redistribute it and/or modify it under the terms of... | fvalente/LogDruid | src/logdruid/ui/table/StatRecordingEditorTable.java | Java | gpl-3.0 | 11,941 |
import React from 'react';
import { connect } from 'react-redux';
import { View } from 'react-native';
import sb from 'react-native-style-block';
import { TButton, TFormGroup } from '../components/TComponent';
import { showLoading, showAlert, hideAlert } from '@shared/redux/actions/ui';
import { register } from '@share... | TRPGEngine/Client | src/app/src/screens/RegisterScreen.tsx | TypeScript | gpl-3.0 | 3,227 |
//
// _ _ ______ _ _ _ _ _ _ _
// | \ | | | ____| | (_) | (_) | | | |
// | \| | ___ | |__ __| |_| |_ _ _ __ __ _| | | |
// | . ` |/ _ \ | __| / _` | | __| | '_ \ / _` | | | |
// | |\ | (_) | | |___| (_| | | |_| | | | | (_| |_|_|_|
// |_| \_|\___/ |______\__,_|_|\... | thiagoralves/OpenPLC_v2 | dnp3/cpp/libs/src/opendnp3/gen/LinkFunction.cpp | C++ | gpl-3.0 | 2,376 |
/*
MAVLink logfile transfer functions
*/
/*
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 ... | dut09/ardupilot | libraries/DataFlash/DataFlash_MAVLinkLogTransfer.cpp | C++ | gpl-3.0 | 8,640 |
# This file helps to compute a version number in source trees obtained from
# git-archive tarball (such as those provided by githubs download-from-tag
# feature). Distribution tarballs (built by setup.py sdist) and build
# directories (produced by setup.py build) will contain a much shorter file
# that just contains t... | jacobtomlinson/datapoint-python | datapoint/_version.py | Python | gpl-3.0 | 18,444 |
<?php
class Wsu_Networksecurities_Sso_YahoologinController extends Wsu_Networksecurities_Controller_Sso_Abstract {
// url to login
public function loginAction() {
$customerHelper = Mage::helper('wsu_networksecurities/customer');
$yahoologin = Mage::getModel('wsu_networksecurities/sso_yahoologin');
$hasSes... | washingtonstateuniversity/WSUMAGE-networksecurities | app/code/local/Wsu/Networksecurities/controllers/Sso/YahoologinController.php | PHP | gpl-3.0 | 1,838 |
# -*- coding: utf-8 -*-
"""
Common structures and functions used by other scripts.
"""
from xml.etree import cElementTree as ET
str_to_entailment = {'none': 0,
'entailment': 1,
'paraphrase': 2}
entailment_to_str = {v: k for k, v in str_to_entailment.items()}
class Pair(obj... | nathanshartmann/portuguese_word_embeddings | sentence_similarity/utils/commons.py | Python | gpl-3.0 | 2,224 |
#include <iostream>
#include <vector>
#include <algorithm>
#include <numeric>
#include <map>
#include <climits>
using namespace std;
#define all(t) begin(t), end(t)
#define sp << " " <<
using ul = unsigned long;
vector<bool> X;
vector<int> sieve;
template <typename I>
void make_sieve(I MAX) {
//crea... | frits-scholer/pr | pr152/p152_v2.cpp | C++ | gpl-3.0 | 4,242 |
// Type definitions for Google Drive API v3 3.0
// Project: https://developers.google.com/drive/
// Definitions by: Bolisov Alexey <https://github.com/Bolisov>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
// IMPORTANT
// This file was generated by https://github.com/Bol... | Bludwarf/cuetube | src/@types/gapi.client.drive/index.d.ts | TypeScript | gpl-3.0 | 110,329 |
/*
* ltr501.c - Support for Lite-On LTR501 ambient light and proximity sensor
*
* Copyright 2014 Peter Meerwald <pmeerw@pmeerw.net>
*
* This file is subject to the terms and conditions of version 2 of
* the GNU General Public License. See the file COPYING in the main
* directory of this archive for more details... | williamfdevine/PrettyLinux | drivers/iio/light/ltr501.c | C | gpl-3.0 | 40,731 |
package jene.samples.surface3d;
import java.util.ArrayList;
import java.util.List;
import javax.vecmath.Point3d;
import jene.AbstractOrganism;
import jene.Mutation;
import jene.Mutator;
import jene.Node;
import jene.Organism;
import jene.Pixel;
import jene.Utils;
/**
*
* @author James Stout
*
*/
public cl... | wolfmanstout/jene | src/jene/samples/surface3d/S3DOrganism.java | Java | gpl-3.0 | 2,816 |
FROM geerlingguy/docker-centos6-ansible:latest
RUN yum install -y python-pip
RUN pip install --upgrade --ignore-installed --no-cache-dir pip
RUN pip install setuptools==33.1.1 --ignore-installed --no-cache-dir
RUN pip install python-logstash --ignore-installed --no-cache-dir
RUN yum install -y sudo curl tar wget
| pgporada/ansible-gutenberg | containers/centos6/Dockerfile | Dockerfile | gpl-3.0 | 314 |
from edges import EdgeExtractor
from extractor import Extractor
from parambfs import ParamExtractor | daajoe/trellis | trellis/extractor/__init__.py | Python | gpl-3.0 | 99 |
package com.example.androidwebsocket;
import org.json.JSONArray;
import org.json.JSONObject;
import com.loopj.android.http.AsyncHttpClient;
import com.loopj.android.http.JsonHttpResponseHandler;
import com.loopj.android.http.RequestParams;
import de.tavendo.autobahn.WebSocket;
import de.tavendo.autobahn.WebSocketCon... | xzzhuo/GitStudy | AndroidWebSocket/src/com/example/androidwebsocket/MainActivity.java | Java | gpl-3.0 | 4,172 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (1.8.0_101) on Fri Nov 25 11:47:49 CET 2016 -->
<title>Uses of Class fr.cdiEnterprise.view.MainFrame</title>
<meta name="date" content="2016-11-... | CDI-Enterprise/ecf-16035-b | doc-ecf-2/fr/cdiEnterprise/view/class-use/MainFrame.html | HTML | gpl-3.0 | 4,398 |
/***
*sys/timeb.h - definition/declarations for _ftime()
*
* Copyright (c) Microsoft Corporation. All rights reserved.
*
*Purpose:
* This file define the _ftime() function and the types it uses.
* [System V]
*
* [Public]
*
****/
#if _MSC_VER > 1000
#pragma once
#endif
#ifn... | willjoseph/cpparch | cpparch/cppparse/msvc-8.0/include/sys/timeb.h | C | gpl-3.0 | 3,340 |
/** vi:ft=cpp ts=8 et sw=4 sts=4 tw=80
* emacs: -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 8; c-file-style: "linux" -*-
*
* scan_python:
* Use external python scripts to post-process flow files
*
* 2020-09-27 - slg - removed from build because this is only Python 2.7
*/
#include "confi... | simsong/tcpflow | src/scan_python.cpp | C++ | gpl-3.0 | 8,167 |
<?php
/**
* Export the configurations by MAC address and file type
*/
$access_role = "reader";
require_once("access.php");
require_once("lib/validate.php");
Header("Content-Type: text/plain; charset=UTF-8");
if ($_GET["type"] == "sig") {
echo "voipconf\n";
exit(0);
}
if (($mac = valid_mac($_GET["mac"])) === fal... | xiaosuo/voipconf | export.php | PHP | gpl-3.0 | 1,613 |
#ifndef MANTID_CURVEFITTING_SIMPLECHEBFUNTEST_H_
#define MANTID_CURVEFITTING_SIMPLECHEBFUNTEST_H_
#include <cxxtest/TestSuite.h>
#include "MantidCurveFitting/Functions/SimpleChebfun.h"
#include <cmath>
using namespace Mantid;
using namespace Mantid::API;
using namespace Mantid::CurveFitting;
using namespace Mantid::... | ScreamingUdder/mantid | Framework/CurveFitting/test/Functions/SimpleChebfunTest.h | C | gpl-3.0 | 7,815 |
/**
* Copyright (C) 2016 Fernando Berti - Daniel Campodonico - Emiliano Gioria - Lucas Moretti - Esteban Rebechi - Andres Leonel Rico
* This file is part of Olimpo.
*
* Olimpo 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 ... | bertilxi/Olimpo | src/app/comun/FormateadorString.java | Java | gpl-3.0 | 3,019 |
if (typeof com == "undefined") {
var com = {};
}
com.sppad = com.sppad || {};
com.sppad.booky = com.sppad.booky || {};
com.sppad.booky.Groups = new function() {
var self = this;
this.bookmarkInfoMap = new com.sppad.collections.Map();
this.groupIdMap = new com.sppad.collections.Map();
this.primar... | sparhami/booky | chrome/content/groups.js | JavaScript | gpl-3.0 | 14,131 |
<!DOCTYPE html>
<html xml:lang="en-GB" lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head lang="en-GB">
<title>Ross Gammon’s Family Tree - Events</title>
<meta charset="UTF-8" />
<meta name ="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" />
<meta name ="apple-mo... | RossGammon/the-gammons.net | RossFamilyTree/evt/8/4/d15f60775485d2d2b19fcd67048.html | HTML | gpl-3.0 | 3,379 |
package net.refination.refinecraft.commands;
import net.refination.refinecraft.CommandSource;
import net.refination.refinecraft.utils.DateUtil;
import net.refination.refinecraft.utils.NumberUtil;
import org.bukkit.*;
import java.lang.management.ManagementFactory;
import java.util.List;
import java.util.logging.Level;... | HkB115/RefineCraft | RefineCraft/src/net/refination/refinecraft/commands/Commandgc.java | Java | gpl-3.0 | 2,286 |
/*****************************************************************************
*
* Copyright (C) 2016 Atmel Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redist... | Premik/pysimavr | pysimavr/swig/include/avr/iox256c3.h | C | gpl-3.0 | 281,925 |
FROM fedora:22
RUN dnf -y groupinstall 'Xfce Desktop' && \
dnf -y install \
supervisor \
xrdp \
&& dnf clean all
RUN useradd foo && \
echo foo:bar | chpasswd
# http://sigkillit.com/2013/02/26/how-to-remotely-access-linux-from-windows/
COPY etc/ /etc/
# Allow all users to connect via RDP.
RUN sed... | jumanjiman/docker-xrdp | fedora/Dockerfile | Dockerfile | gpl-3.0 | 957 |
#!/bin/bash
###############################################################################
# Build the sample Qt Widgets Application that comes with Qt Creator
###############################################################################
cd tests/QtWidgetsApplication/
if [ -e build/ ] ; then
rm -rf build/
fi
mkd... | hipersayanX/linuxdeployqt | tests/tests.sh | Shell | gpl-3.0 | 4,736 |
# eoss-catalog-theme/sass/var
This folder contains variable declaration files named by their component class.
| eoss-cloud/madxxx_catalog_client | extgui/packages/local/eoss-catalog-theme/sass/var/Readme.md | Markdown | gpl-3.0 | 111 |
[](https://waffle.io/nemestats/nemestats)
NemeStats [](https://ci.appveyor.com/project/cracker4o/nemestats) [ => {
describe('Menu.ItemLabel', () => {
it('should be: <span>OK</span>', () => {
const h = ReactDOMServer.renderToStaticMarkup(<Menu.ItemLabel label='OK' />);
h.should.be.equal(... | panlw/react-lab | src/lib/theme/pure/__tests__/Menu-test.js | JavaScript | gpl-3.0 | 5,223 |
A UDT for holding a Date and Time
| AdvancedHMI/AdvancedHMICodeSamples | EthernetIPforCLXCom/WriteUDT/DateTimeType/README.md | Markdown | gpl-3.0 | 34 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34209
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | VictorPisciotti/Asistente-Lucy | Speech Lucy/Reloj Digital/Reloj Digital/Properties/Settings.Designer.cs | C# | gpl-3.0 | 1,100 |
/*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
{
hello: "Aloha"
}
| calaos/calaos_web | dojo-0.4.1-widget/tests/i18n/nls/en-us-hawaii/salutations.js | JavaScript | gpl-3.0 | 286 |
var app = app || {};
$(function(){
"use-strict";
var ShiftGridApplication = Backbone.Marionette.Application.extend({
initialize: function(options) {
this.shiftData = new app.GridRows(options.rows);
this.shiftLayout = this.initializeLayout(options.el);
// Shift Grid
... | Apogaea/voldb | volunteer/static/js/shift-grid/app.js | JavaScript | gpl-3.0 | 1,790 |
# CORE: COde for Romps in Evolutionary data
### A mixture of scripts and libraries to help with sequence data manipulation, tree parsing, and other things.
## About
These scripts can be used for many tasks including sequence handling, tree making, and sequence alignment.
Some of these programs are mainly used as wrapp... | gwct/core | README.md | Markdown | gpl-3.0 | 994 |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Tremaine Buchanan | Resume </title>
<!-- Meta -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Tremaine Buchana... | tremainebuchanan/resume | public/index.html | HTML | gpl-3.0 | 16,823 |
using System;
using System.Windows.Forms;
using System.Threading;
using System.Diagnostics;
using System.Xml.Linq;
using System.Net;
using System.Text;
using System.IO;
using System.Security.Cryptography.X509Certificates;
using Newegg.Oversea.Framework.JobConsole.Client;
using IPPOversea.Invoicemgmt.SyncDataToFinanceP... | ZeroOne71/ql | 02_ECCentral/06_Job_Move/08_Invoice/IPP.InvoiceMgmt.SyncDataToFinancePay/SyncDataToFinancePay/SyncDataToFinancePayJob.cs | C# | gpl-3.0 | 2,297 |
/*
* PatientView
*
* Copyright (c) Worth Solutions Limited 2004-2013
*
* This file is part of PatientView.
*
* PatientView 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,... | robworth/patientview | patientview-parent/patientview/src/test/java/org/patientview/test/utils/TimestampUtilsTest.java | Java | gpl-3.0 | 4,603 |
//
//
// Generated by StarUML(tm) C++ Add-In
//
// @ Project : Untitled
// @ File Name : StaticData.h
// @ Date : 2017/9/29
// @ Author : ouo
//
//
#if !defined(_STATICDATA_H)
#define _STATICDATA_H
class StaticData {
public:
static StaticData sharedStaticData();
static viod purge();
int ... | ouopoi/StaticData | StaticData/StaticData.h | C | gpl-3.0 | 804 |
<?php
/* Copyright (C) 2002-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005 Marc Barilley / Ocebo <marc@ocebo.com>
* Copyright (C) 2005... | atm-maximep/dolibarr | htdocs/compta/facture/list.php | PHP | gpl-3.0 | 20,275 |
// Expects to be preceeded by javascript that creates a variable called selectRange that
// defines the segment to be wrapped and replaced.
// create custom range object for wrapSelection
var replaceRange = $.fn.range;
replaceRange.ClearVariables();
replaceRange.startContainer = selectRange.startContainer;
... | nemoisperfect/sigil | src/Sigil/Resource_Files/javascript/replace_wrapped.js | JavaScript | gpl-3.0 | 1,894 |
#pragma once
#include "alarmHandler.h"
#include "trans.h"
#include "file.h"
#include "time.h"
#define ALARM_NUM 6
void alarm_load()
{
for (int i = 0; i < ALARM_NUM; i++)
{
char c[] = "ALARM_0.txt";
c[6] = i + 48;
if (SD.exists(c))
{
Serial.print(c);
Serial.println(" exists.");
m... | sqyx008/SmartBelt-Microduino-Wearable | alarm.h | C | gpl-3.0 | 2,816 |
/*==================================================================*
* ___ _ _ _ _ _ *
* / __(_)_ __ ___ | |__ _ _| |_ _(_)_ __ | |_ ___ _ __ *
* / _\ | | '_ ` _ \| '_ \| | | | \ \ /\ / / | '_ \| __/ _ \ '__| *
* / / | | | | | | | |_) | |_| | |\ V V /| | | | |... | Fimbulwinter/Fimbulwinter | src/ZoneServer/PacketHandling.hpp | C++ | gpl-3.0 | 1,787 |
@echo off
if "%1"=="dbg" goto dbg
bochs -q -f set/bochsrc.bxrc
exit
:dbg
bochsdbg -q -f set/DBG_bochsrc.bxrc
exit
| LastAvenger/OS67 | script/_bochs.bat | Batchfile | gpl-3.0 | 124 |
"""
.. module: FSRStools.rraman
:platform: Windows
.. moduleauthor:: Daniel Dietze <daniel.dietze@berkeley.edu>
Resonance Raman excitation profile calculation based on the time-domain picture of resonance Raman. See Myers and Mathies in *Biological Applications of Raman Spectroscopy*, Vol. 2, pp. 1-58 (John Wi... | ddietze/FSRStools | rraman/__init__.py | Python | gpl-3.0 | 36,173 |
<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="it">
<head>
<meta http-equiv="pics-label" content="(pics-1.1 "http://www.icra.org/ratingsv02.html" l gen true for "http://www.hypertrek.info/" r (cz 1 lz 1 nz 1 oz 1 vj 1) "ht... | luigirosa/hypertrek | ultimo_sito_html/voy/voy068.html | HTML | gpl-3.0 | 10,114 |
<?php
/**
* Manager Class
*
* @package WordPress
* @subpackage Plugin
* @author Chris W. <chrisw@null.net>
* @license GNU GPLv3
* @link /LICENSE
*/
namespace MsRobotstxtManager;
if ( false === defined( 'ABSPATH' ) ) {
exit;
}
use MsRobotstxtManager\Trait_Security_Check as TraitSecurityCheck;... | tribalNerd/multisite-robotstxt-manager | inc/classes/class-do-save-sdk.php | PHP | gpl-3.0 | 2,538 |
#include <stdio.h>
#include <stdlib.h>
int count(FILE *f){
int prew, cur, inseq=0, c=0;
fscanf(f, "%d", &prew);
while(fscanf(f, "%d", &cur)==1){
if(cur>prew){
if(!inseq){
c++;
inseq=1;
}
}else{
inseq=0;
}
prew=cur;
}
return c;
}
int main(void){
char name[80];
... | micabressan/trabajo_final | codes/ef0hCTEs.C | C++ | gpl-3.0 | 456 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WpfMath
{
// Atom representing whitespace.
internal class SpaceAtom : Atom
{
// Collection of unit conversion functions.
private static UnitConversion[] unitConversions = new UnitConversion[]
... | Civa/Zenith | src/Shared/Zenith.Global/ThirdParty/SpaceAtom.cs | C# | gpl-3.0 | 3,264 |
(function () {
angular
.module('mainModule')
.controller('mainVagasController', mainVagasController);
function mainVagasController($state, $http, BASE_URL_API) {
var vm = this;
vm.vagas = [];
vm.abrirVaga = abrirVaga;
ativar();
function ativar() {
... | gabriel-society/clak.vagas | src/src/Clak.Vagas/wwwroot/app/vagas/main.vagas.controller.js | JavaScript | gpl-3.0 | 793 |
// replication-manager - Replication Manager Monitoring and CLI for MariaDB and MySQL
// Authors: Guillaume Lefranc <guillaume@signal18.io>
// Stephane Varoqui <stephane.varoqui@mariadb.com>
// This source code is licensed under the GNU General Public License, version 3.
// Redistribution/Reuse of this code i... | mysolo/replication-manager | cluster/statefile.go | GO | gpl-3.0 | 1,524 |
#include "global.h"
//ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
// Detection of available video modes
//ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
/*
struct _modos {
short ancho;
short alto;
short modo;
};
struct _modos modos[32];
int num_mo... | DIVGAMES/DIV-Games-Studio | src/det_vesa.c | C | gpl-3.0 | 1,636 |
package com.tygrewolf.randomtp.reference;
/**
* Created by TygreWolf on 4/19/2016.
*/
public class Reference {
public static final String MOD_ID = "randomtp";
public static final String MOD_NAME = "Random Teleport";
public static final String LOWERCASE_MOD_ID = MOD_ID.toLowerCase();
public static fin... | TygreWolf/RandomTP | src/main/java/com/tygrewolf/randomtp/reference/Reference.java | Java | gpl-3.0 | 854 |
#******************************************************************************
# ALX - Skies of Arcadia Legends Examiner
# Copyright (C) 2022 Marcel Renner
#
# This file is part of ALX.
#
# ALX is free software: you can redistribute it and/or modify it under the
# terms of the GNU General Public License as p... | Taikocuya/ALX | lib/alx/armor.rb | Ruby | gpl-3.0 | 3,665 |
/*
* Copyright (c) 2017 "Neo4j, Inc." <http://neo4j.com>
*
* This file is part of Neo4j Graph Algorithms <http://github.com/neo4j-contrib/neo4j-graph-algorithms>.
*
* Neo4j Graph Algorithms is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published ... | neo4j-contrib/neo4j-graph-algorithms | algo/src/main/java/org/neo4j/graphalgo/impl/louvain/Louvain.java | Java | gpl-3.0 | 12,980 |
/*
Copyright 2017 SINTEF ICT, Applied Mathematics.
Copyright 2017 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 ver... | OPM/ResInsight | ThirdParty/custom-opm-flowdiag-app/opm-flowdiagnostics-applications/tests/test_eclpvtcommon.cpp | C++ | gpl-3.0 | 17,572 |
# PTG - Project Template Generator
# Copyright (C) 2009 Mariusz Ceier
#
# 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 la... | mceier/ptg | Makefile | Makefile | gpl-3.0 | 1,691 |
/* Copyright (C) 2015 William Breathitt Gray
*
* This file is part of Mission Accomplished.
*
* Mission Accomplished 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... | vilhelmgray/MissionAccomplished | src/Texture.h | C | gpl-3.0 | 1,098 |
//namespace FDM.InputOutput
//{
// public class SGPropertyNode
// {
// private int MAX_STRING_LEN = 1024;
// // Property value types.
// enum PropertyValeType
// {
// NONE = 0,
// ALIAS,
// BOOL,
// INT,
// LONG,
// ... | roadbikeaddict/FDM | FDM/InputOutput/SGPropertyNode.cs | C# | gpl-3.0 | 59,585 |
#include <cstdio>
#include <cmath>
#include <climits>
#include <iostream>
#include <algorithm>
#include <assert.h>
#include <cstdlib>
#include <cstring>
#define CLEAR(a) memset((a),0,sizeof(a))
#define FLAG(a) memset((a) , -1 , sizeof(a))
#define varName(x) #x
#define deBug(exp) cout<< " == > " << #exp<<" : "<< (exp)... | bitwater1997/ACM | poj/poj2318/main.cpp | C++ | gpl-3.0 | 17,780 |
# Copyright (c) 2008 testtools developers. See LICENSE for details.
"""Test results and related things."""
__metaclass__ = type
__all__ = [
'ExtendedToOriginalDecorator',
'MultiTestResult',
'TestResult',
'ThreadsafeForwardingResult',
]
import datetime
import sys
import unittest
from testtools.co... | lauria/Samba4 | lib/testtools/testtools/testresult/real.py | Python | gpl-3.0 | 23,481 |
<?php
/**
* @link https://github.com/old-town/workflow-zf2
* @author Malofeykin Andrey <and-rey2@yandex.ru>
*/
namespace OldTown\Workflow\ZF2\Options\Exception;
/**
* Class InvalidManagerNameException
*
* @package OldTown\Workflow\ZF2\Options\Exception
*/
class InvalidManagerNameException extends InvalidArgu... | old-town/workflow-zf2 | src/Options/Exception/InvalidManagerNameException.php | PHP | gpl-3.0 | 338 |
/////////////////////////////////////////////////////////////////////////////
//
// Project ProjectForge Community Edition
// www.projectforge.org
//
// Copyright (C) 2001-2013 Kai Reinhard (k.reinhard@micromata.de)
//
// ProjectForge is dual-licensed.
//
// This community edition is free software; you can redi... | developerleo/ProjectForge-2nd | src/main/java/org/projectforge/web/wicket/flowlayout/DivTextPanel.java | Java | gpl-3.0 | 3,261 |
/*
* C++ Primer
* Chap. 6 Ex. 6.25
* Hao Zhang
* 2016.09.02
* main.cpp
*/
#include <iostream>
using std::cout;
using std::cerr;
using std::endl;
#include <string>
using std::string;
int main(int argc, char *argv[])
{
if (argc != 3) {
cerr << "Wrong # of arguments" << endl;
return -1;
}
... | HaoMood/cpp-primer | ch06/ex6.25/main.cpp | C++ | gpl-3.0 | 444 |
package arcadeflex.libc;
import WIP.arcadeflex.libc_v2.UBytePtr;
/**
*
* @author shadow
*/
public class cstring {
/**
* Get string length
*
* @param str
* @return
*/
public static int strlen(String str) {
return str.length();
}
/**
* memset
*
* @par... | georgemoralis/arcadeflex037b7 | emulator_complete/src/arcadeflex/libc/cstring.java | Java | gpl-3.0 | 1,767 |
#include <stack>
#include <iostream>
#include <string>
#include <deque>
#include <string.h>
#ifdef MACOSX
#include <strings.h>
#endif
#include <stdlib.h>
#include "TPTScriptInterface.h"
#include "gui/game/GameModel.h"
#include "simulation/Air.h"
TPTScriptInterface::TPTScriptInterface(GameController * c, GameModel * m)... | PraeluceantBoreus/The-Powder-Toy | src/lua/TPTScriptInterface.cpp | C++ | gpl-3.0 | 14,581 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows.Forms;
using Kontract.Interface;
namespace Kontract
{
public static class Tools
{
public static string LoadFilters(IEnumerable<IFilePlugin> plugins)
{
... | IcySon55/Kuriimu | src/Kontract/Tools.cs | C# | gpl-3.0 | 4,789 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace KitBoxAPP
{
public partial class OrderStep8 : Form
{
private DBManager mg... | jbarreravega/KitboxAppECAM | KitBoxAPP/KitBoxAPP/OrderStep8.cs | C# | gpl-3.0 | 2,285 |
class SeguridadController < ApplicationController
include AccesoHelpers
def index
session[:roles] = "root"
acceso
end
end
| wilxsv/acrasame-zp | app/controllers/seguridad_controller.rb | Ruby | gpl-3.0 | 139 |
package de.gnox.rovy.server;
import java.util.concurrent.TimeUnit;
public class RovyUtility {
public static void sleep(long millis) {
try {
TimeUnit.MILLISECONDS.sleep(millis);
} catch (InterruptedException e) {
e.printStackTrace();
}
}
}
| petlutz/rovy | rovy_server/src/de/gnox/rovy/server/RovyUtility.java | Java | gpl-3.0 | 258 |
using UnityEngine;
using System.Collections;
//TODO: Doc and change inputController to be an inputCalibratorController which takes
// care of all calibration (not game) stuff so this class only focus on transition and refresh view.
public class CalibrationController : MonoBehaviour {
public PlayerController playerC... | nicolaswenk/cf_heritage | Assets/Scripts/Controller/CalibrationController.cs | C# | gpl-3.0 | 3,788 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- $Id: htmlquickstart.kmdr 768844 2008-01-30 19:21:23Z amantia $ -->
<head>
<title>{{ page_title }}</title>
<meta name="... | tompecina/petition | petition/templates/main.html | HTML | gpl-3.0 | 2,146 |
import abc
import subprocess
import logging
from observables import BLOperator, MCObservable
from data import BLDataChannel, GIDataChannel
import util
class Channel(metaclass=abc.ABCMeta):
ISOSPIN_MAP = {
'singlet': "0",
'doublet': "1h",
'triplet': "1",
'quartet': "3h",
'quintet': "2"... | andrewhanlon/QCD_scripts | sigmond/channel.py | Python | gpl-3.0 | 7,175 |
<div class="grid-container-controls">
{{^isSidebar}}
<span class="grid-container-title">
{{title_short}}
{{#titleurl}}<span class="icon-link" title="{{titleurl}}"></span>{{/titleurl}}
{{#style}}<span class="grid-container-style">({{style_label}})</span>{{/style}}
</span>
{{#right_move}}
<span class="... | palasthotel/grid | templates/editor/ich.container.html | HTML | gpl-3.0 | 2,169 |
/* This file is part of Mumoro.
Mumoro 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.
Mumoro is distributed in the ... | Tristramg/mumoro | lib/core/graph_wrapper.cpp | C++ | gpl-3.0 | 5,281 |
package android_pmp_sandbox.photoapp;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
publi... | cfarrend/android-pmp-sandbox | photoapp/app/src/test/java/android_pmp_sandbox/photoapp/ExampleUnitTest.java | Java | gpl-3.0 | 406 |
/* This is the basic linkfollowing script.
* Its pretty stable, and you configure which keys to use for hinting
*
* TODO: Some pages mess around a lot with the zIndex which
* lets some hints in the background.
* TODO: Some positions are not calculated correctly (mostly
* because of uber-fancy-designed-webpages. B... | matthewbauer/uzbl | examples/data/scripts/follow.js | JavaScript | gpl-3.0 | 8,286 |
CREATE PROCEDURE [FAQ].[Question_Insert]
@QuestionText nvarchar(MAX),
@AuthorId int,
@AuthorName nvarchar(200),
@AuthorEmail nvarchar(200),
@RespondentId int,
@AnswerText nvarchar(MAX),
@Moderated bit
AS
INSERT INTO [FAQ].[Question] ([QuestionText], [AuthorId], [AuthorName], [AuthorEmail], [RespondentId], [AnswerText... | synweb/rocms | FAQ/RoCMS.FAQ.Database/Stored Procedures/Question_Insert.sql | SQL | gpl-3.0 | 484 |
Router.map(function() {
this.route('index.view', {
path: '/',
onBeforeAction: function () {
if (Meteor.isClient) {
Session.set('siteTitle', 'Vazco SlideDeck!');
};
this.next();
}
});
this.route('slideshow.view', {
path: '/sl... | vazco/vsd-meteor-intro | common/router/routes.js | JavaScript | gpl-3.0 | 1,287 |
<?php
/**
* @file
* Contains \Drupal\Core\Installer\InstallerServiceProvider.
*/
namespace Drupal\Core\Installer;
use Drupal\Core\DependencyInjection\ContainerBuilder;
use Drupal\Core\DependencyInjection\ServiceProviderInterface;
use Drupal\Core\DependencyInjection\ServiceModifierInterface;
use Symfony\Component\... | mbarcia/drupsible-org | core/lib/Drupal/Core/Installer/InstallerServiceProvider.php | PHP | gpl-3.0 | 3,440 |
/*
* pathfinder.h - Path finder functions
*
* Copyright (C) 2012 Jon Lund Steffensen <jonlst@gmail.com>
*
* This file is part of freeserf.
*
* freeserf 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,... | tomsoftware/freeserf | src/pathfinder.h | C | gpl-3.0 | 959 |
UnitTesterTester
================
Unit Tester Tester scripts for VPL on Moodle
Moodle is a popular LMS
VPL is an activity module for Moodle that has great out of the box support for collecting, running, and grading (I/O cases) programming assignments for a variety of languages.
This set of scritps extends the gradi... | michaelkbradshaw/UnitTesterTester | README.md | Markdown | gpl-3.0 | 883 |
# -*- coding: utf-8 -*-
# Copyright (c) 2017, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
from frappe.utils.data import flt, nowdate, getdate, cint
class MoneyTransfere... | ahmadRagheb/goldenHR | erpnext/accounts/doctype/money_transfere/money_transfere.py | Python | gpl-3.0 | 4,294 |
/*****************************************************************************
*
* Monitoring check_users plugin
*
* License: GPL
* Copyright (c) 2000-2012 Monitoring Plugins Development Team
*
* Description:
*
* This file contains the check_users plugin
*
* This plugin checks the number of users currently logged ... | dermoth/monitoring-plugins | plugins/check_users.c | C | gpl-3.0 | 6,005 |
// SPDX-License-Identifier: Apache-2.0
//
// Copyright 2008-2016 Conrad Sanderson (http://conradsanderson.id.au)
// Copyright 2008-2016 National ICT Australia (NICTA)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may ob... | TLCFEM/suanPan | Include/armadillo/armadillo_bits/op_shift_meat.hpp | C++ | gpl-3.0 | 4,804 |
import numpy as np
def min_max_model(power, use, battery_capacity):
"""
Minimal maximum battery model, obsoleted
:param power: Pandas TimeSeries, total power from renewable system
:param use: float, unit W fixed load of the power system
:param battery_capacity: float, unit Wh battery capacity
... | tsaoyu/D3HRE | D3HRE/core/battery_models.py | Python | gpl-3.0 | 18,409 |
<!DOCTYPE html>
<html>
<head>
<title>Nameaero | Buy Cheap Domain Names - Free Domain Name Register Template</title>
<meta name="description" content="Buy Cheap Domain Names - Free Domain Name Register Template">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" conte... | rudrax-khanal/nameaero | clientarea.html | HTML | gpl-3.0 | 4,064 |
IPython to Pelican Converter
============================
##### Usage as standalone
$ ipytopelican.py infile.ipynb
or
$ ipytopelican.py infile.ipynb -o outfile.md
##### Usage as library
```python
from ipytopelican import convert
convert('infile.ipynb')
```
You can set up your notebook with Pelican met... | alexbyrnes/ipython-to-pelican-converter | README.md | Markdown | gpl-3.0 | 485 |
/*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2021 Cppcheck team.
*
* 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 ... | boos/cppcheck | lib/analyzer.h | C | gpl-3.0 | 4,984 |
using CP77.CR2W.Reflection;
namespace CP77.CR2W.Types
{
[REDMeta]
public class ConsumableStartupDecisions : ConsumableTransitions
{
public ConsumableStartupDecisions(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name) { }
}
}
| Traderain/Wolven-kit | CP77.CR2W/Types/cp77/ConsumableStartupDecisions.cs | C# | gpl-3.0 | 254 |
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.34014
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'-----------... | xenon92/expunger | Expunger/My Project/Resources.Designer.vb | Visual Basic | gpl-3.0 | 2,714 |
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace UniversalDriver
{
public abstract class USBDevice : Device
{
public USBDevice ()
{
}
private USBDeviceIdentity.USBDeviceIdentityCollection mvarIdentities = new USBDeviceIdentity.USBDeviceIdentityCollection();
p... | alcexhim/UniversalDriver | UniversalDriver/USBDevice.cs | C# | gpl-3.0 | 7,464 |
package macbury.umbrella.receiver;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import macbury.umbrella.managers.IntentsManager;
import macbury.umbrella.service.CheckWeatherService;
/**
* Created by macbury on 27.08.14.
*/
public abstract class SyncStatus... | macbury/umbrella.alert | app/src/main/java/macbury/umbrella/receiver/SyncStatusBroadcastReceiver.java | Java | gpl-3.0 | 685 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.