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 |
|---|---|---|---|---|---|
<?php
namespace App\Controller;
use App\Controller\AppController;
/**
* Menus Controller
*
* @property \App\Model\Table\MenusTable $Menus
*/
class MenusController extends AppController
{
/**
* Index method
*
* @return \Cake\Network\Response|null
*/
public function index()
{
... | osaboyac/frisko | src/Controller/MenusController.php | PHP | gpl-3.0 | 3,209 |
<?php
/**
* @link http://www.yincart.com/
* @copyright Copyright (c) 2014 Yincart
* @license http://www.yincart.com/license/
*/
namespace common;
use yincart\Yincart;
class YincartAnnotation
{
public static function generateAnnotation()
{
$classes = array_merge(Yincart::$classMap['singleton'], Yi... | yinheark/yincart2-apps-advanced | common/YincartAnnotation.php | PHP | gpl-3.0 | 4,293 |
<div class="leftpanel">
<div class="leftmenu">
<ul class="nav nav-tabs nav-stacked">
<li class="nav-header">Menu</li>
<?php
$consulta_modulos = $empresas->consulta("SELECT modulos.id, modulos.nome, modulos.url FROM empresa_modulos
INNER JOIN modulos O... | uemersonsantana/OpenAdmin | sistema/paginas/admin/includes/leftpainel.php | PHP | gpl-3.0 | 2,257 |
/*
* This file is part of the Factbook Generator.
*
* The Factbook Generator 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.
*
* The ... | ProjectMoon/fbg | src/edu/uara/parser/integrated/ParseableFile.java | Java | gpl-3.0 | 1,578 |
HostCMS 6.7 = ec096e370b748b9f343847853499fc13
| gohdan/DFC | known_files/hashes/modules/core/hash/sha1.php | PHP | gpl-3.0 | 47 |
EMACS ?= emacs
IPYTHON = env/ipy.$(IPY_VERSION)/bin/ipython
IPY_VERSION = 0.13.0
TESTEIN = tools/testein.py
TESTEIN_OPTS =
PKG_INFO = \
grep '^Version' \
env/ipy.$(IPY_VERSION)/lib/python*/site-packages/*.egg-info/PKG-INFO \
| sed -r 's%.*/site-packages/(.*)-py.*\.egg-info/.*:Version: (.*)$$%\1\t\2%'
testein: test-req... | tkf/emacs-ipython-notebook | Makefile | Makefile | gpl-3.0 | 1,588 |
<!DOCTYPE html>
<html manifest="hotel.appcache">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Evaluate Thy Hotel</title>
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
<link href="css/jquery.multitouch.css" rel="stylesheet">
<script src="... | bvancea/webeng-2014 | exercise-1-1/weekly.html | HTML | gpl-3.0 | 4,707 |
/* Keyboard and mouse input; editor command loop.
Copyright (C) 1985-1989, 1993-1997, 1999-2021 Free Software Foundation,
Inc.
This file is part of GNU Emacs.
GNU Emacs 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 Found... | 0xAX/emacs | src/keyboard.c | C | gpl-3.0 | 395,380 |
///
/// WSView.h
/// PowerPlot
///
/// Basic view class which uses the simple versioning mechanism
/// (optional).
///
///
/// Created by Wolfram Schroers on 03/15/10.
/// Copyright 2010 Numerik & Analyse Schroers. All rights reserved.
///
#import <UIKit/UIKit.h>
#import "WSVersion.h"
#import "WSVersionDelegate.... | jonguan/PowerPlotTest | PowerPlotLib/PowerPlotLib/PowerPlot_lib/lib/WSView.h | C | gpl-3.0 | 401 |
<HTML>
<BODY BGCOLOR="white">
<PRE>
<FONT color="green">001</FONT> /*<a name="line.1"></a>
<FONT color="green">002</FONT> * Licensed to the Apache Software Foundation (ASF) under one or more<a name="line.2"></a>
<FONT color="green">003</FONT> * contributor license agreements. See the NOTICE file distri... | msf-ch/msf-malnutrition | msf-malnutrition/lib/commons-net-3.1/apidocs/src-html/org/apache/commons/net/ftp/parser/RegexFTPFileEntryParserImpl.html | HTML | gpl-3.0 | 14,079 |
<?php
/**
* This is part of rampage.php
* Copyright (c) 2012 Axel Helmert
*
* 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 late... | tux-rampage/rampage-php | library/rampage/core/resources/UrlLocator.php | PHP | gpl-3.0 | 4,840 |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Terraria
{
public static class Utils
{
public static Dictionary<SpriteFont, float[]> charLengths = new Dictionary<SpriteFont, float[]>();
... | NyxStudios/ModBox | Terraria/Terraria/Utils.cs | C# | gpl-3.0 | 8,832 |
package ru.cft.chuldrenofcorn.cornchat;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
... | ChildrenOfCorn/CornChat | app/src/test/java/ru/cft/chuldrenofcorn/cornchat/ExampleUnitTest.java | Java | gpl-3.0 | 323 |
<?php
/**
* This file is part of OXID eShop Community Edition.
*
* OXID eShop Community Edition 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 yo... | NikolayPetrenko/oxid | core/smarty/plugins/function.oxid_include_widget.php | PHP | gpl-3.0 | 2,031 |
module.exports = function(grunt) {
grunt.initConfig({
// !! This is the name of the task 'requirejs' (grunt-contrib-requirejs module)
requirejs: {
dist: {
// !! You can drop your app.build.js config wholesale into 'options'
options: {
appDir: "bl_scoreboard/static",
... | olegvg/scoreboard | Gruntfile.js | JavaScript | gpl-3.0 | 3,304 |
/*
Unix SMB/CIFS implementation.
VFS wrapper macros
Copyright (C) Stefan (metze) Metzmacher 2003
Copyright (C) Volker Lendecke 2009
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 Foundatio... | amitay/samba | source3/include/vfs_macros.h | C | gpl-3.0 | 29,525 |
package com.example.jyheo.threadex;
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
public ... | jyheo/AndroidTutorial | ThreadEx/app/src/test/java/com/example/jyheo/threadex/ExampleUnitTest.java | Java | gpl-3.0 | 404 |
/**
* [remove: removes an object from the DOM tree]
*/
Element.prototype.remove = function () {
this.parentNode.removeChild(this)
}
/**
* [remove: removes a series of objects from the DOM tree]
*/
NodeList.prototype.remove = HTMLCollection.prototype.remove = function () {
for (var i = this.length - 1; i >= 0; i... | CMDA/Frontend-2 | example/week4/main.js | JavaScript | gpl-3.0 | 1,862 |
/*
* Kendo UI Web v2013.1.319 (http://kendoui.com)
* Copyright 2013 Telerik AD. All rights reserved.
*
* Kendo UI Web commercial licenses may be obtained at
* https://www.kendoui.com/purchase/license-agreement/kendo-ui-web-commercial.aspx
* If you do not own a commercial license, this file shall be governed by th... | tatamizzz/kendoui.ext | src/js/cultures/kendo.culture.yo-NG.js | JavaScript | gpl-3.0 | 2,671 |
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Side } from '../common/side';
@Component({
selector: 'ls-button',
template: `
<button
[attr.type]="type"
[class]="class"
[style]="style"
[disabled]="disabled"
(click)="onClick.emit($event)"
... | Lusey77/finance-app-ui | src/app/button/button.component.ts | TypeScript | gpl-3.0 | 1,190 |
<!DOCTYPE html>
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width">
<title>Acidentes em Rodovia... | matheus-fonseca/acidentes-em-rodovias | acidentes_em_rodovias/app/views/header.html | HTML | gpl-3.0 | 4,756 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_25) on Wed Apr 30 15:42:11 EDT 2014 -->
<title>D-Index</title>
<meta name="date" content="2014-04-30">
<link rel="stylesheet" ty... | guyfleeman/rayburn | javadoc/index-files/index-4.html | HTML | gpl-3.0 | 65,716 |
/*
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 hope that it will be useful,
but WITHOUT ... | MatthieuPinard/LayeredHashMap | ThreadManager/AtomicLock.h | C | gpl-3.0 | 3,788 |
<body id="home">
<div ng-bind-html="head"></div>
<button ng-click="publish()">Publish</button>
<button ng-click="edit()">Edit</button>
<div id="Container" ></div>
<div>_________________________________________________________________________________</div>
<script type="text/javascript">
//.ready(function(){
... | thoma5B/Django-Wiki | wiki/static/templates/article_view.html | HTML | gpl-3.0 | 674 |
/*
* 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... | paolopavan/cfr | src/weka/core/converters/Loader.java | Java | gpl-3.0 | 6,624 |
// uvscpd - Minimalist VSCP Daemon
// Copyright (C) 2019 Maarten Zanders
//
// 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 v... | mzanders/uvscpd | src/tcpserver_commands.c | C | gpl-3.0 | 12,485 |
<?php
class Activity extends ActionHandler {
protected $requireLogin = true;
public function indexHandler() {
$this->output("activity/list");
}
} | vavrecan/groups-social-network | www/app/include/actions/activity.php | PHP | gpl-3.0 | 167 |
/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance wit... | frostasm/qt-creator | share/qtcreator/qml/qmlpuppet/commands/changeauxiliarycommand.cpp | C++ | gpl-3.0 | 2,106 |
package cn.nukkit.event.player;
import cn.nukkit.AdventureSettings;
import cn.nukkit.Player;
import cn.nukkit.event.Cancellable;
import cn.nukkit.event.HandlerList;
public class PlayerGameModeChangeEvent extends PlayerEvent implements Cancellable {
private static final HandlerList handlers = new HandlerList();
... | boy0001/Nukkit | src/main/java/cn/nukkit/event/player/PlayerGameModeChangeEvent.java | Java | gpl-3.0 | 1,138 |
"""
Decode all-call reply messages, with downlink format 11
"""
from pyModeS import common
def _checkdf(func):
"""Ensure downlink format is 11."""
def wrapper(msg):
df = common.df(msg)
if df != 11:
raise RuntimeError(
"Incorrect downlink format, expect 11, got {}"... | junzis/pyModeS | pyModeS/decoder/allcall.py | Python | gpl-3.0 | 1,888 |
// Cytosim was created by Francois Nedelec. Copyright 2007-2017 EMBL.
#include "bicgstab.h"
/**
Here is defined which norm is used to measure the residual
*/
bool Solver::Monitor::finished(const unsigned int size, const real * x)
{
#if ( 0 )
// this is the standard Euclidian norm
mResid = blas_xnrm2(size, ... | nedelec/cytosim | src/math/bicgstab.cc | C++ | gpl-3.0 | 1,236 |
from typing import List
class Message(object):
class Origin(object):
servername: str
nickname: str
username: str
hostname: str
command: str
origin: Origin
params: List[str]
| LastAvenger/labots | labots/common/message.py | Python | gpl-3.0 | 223 |
#include <iostream>
#include <fstream>
#include <cstring>
#include <math.h>
using namespace std;
#include "glob.cpp"
#include "schnibbler.cpp"
void help()
{
printf("Syntax: time ./mesyread FILE.mdat 100");
}
int main(int argc, char** argv) {
char outputfile_trunc[512];
unsigned char byte;
... | jonasstein/qm | mesycut/mesycut.cpp | C++ | gpl-3.0 | 881 |
/*
Copyright (C) 2017 docwho
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 hope that it w... | tetravalence/essential-script | css/essentialscript-admin.css | CSS | gpl-3.0 | 1,172 |
<?php
/**
* @package Arastta eCommerce
* @copyright Copyright (C) 2015 Arastta Association. All rights reserved. (arastta.org)
* @license GNU General Public License version 3; see LICENSE.txt
*/
// Heading
$_['heading_title'] = 'Trên mỗi sản phẩm';
// Text
$_['text_shipping'] = 'vận chuyển';
$_['text_suc... | interspiresource/interspire | admin/language/vi-VN/shipping/item.php | PHP | gpl-3.0 | 855 |
#ifndef SHARK_LINALG_BLAS_VECTOR_EXPRESSION_HPP
#define SHARK_LINALG_BLAS_VECTOR_EXPRESSION_HPP
#include <boost/type_traits/is_convertible.hpp>
#include "vector_proxy.hpp"
#include "kernels/dot.hpp"
namespace shark {
namespace blas {
/// \brief Vector expression representing a constant valued vector.
template<clas... | CptCapy/Programming_Shark | include/shark/LinAlg/BLAS/vector_expression.hpp | C++ | gpl-3.0 | 15,033 |
<?php
require './cssmin-v3.0.1-minified.php';
$host = $_SERVER['HTTP_HOST'];
/* your css files */
echo CssMin::minify(file_get_contents("./font-awesome/css/font-awesome.min.tree.css"));
echo CssMin::minify(file_get_contents('./css/allfonts.css'));
echo CssMin::minify(file_get_contents("./css/bootstrap.min.css"));
ec... | mcvela/miguelangelalacio | css/mcvela_css_inline_mini.php | PHP | gpl-3.0 | 1,037 |
/* MD5
converted to C++ class by Frank Thilo (thilo@unix-ag.org)
for bzflag (http://www.bzflag.org)
based on:
md5.h and md5.c
reference implementation of RFC 1321
Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
rights reserved.
License to copy and use this software is granted provided ... | Fimbulwinter/Fimbulwinter | src/Common/md5.hpp | C++ | gpl-3.0 | 3,207 |
--[[
MISSION: Hot dogs from space
DESCRIPTION: An old man who owns a hot dog factory wants to go to space
The old man has elevated pressure in his cochlea so he can't go to space.
He's getting old and wants to go to space before he dies. He owns a hot dog
factory and will pay you in hot dogs (fo... | Mutos/StarsOfCall-NAEV | dat/missions/neutral/reynir.lua | Lua | gpl-3.0 | 5,317 |
using UnityEngine;
using System.Collections;
public class CSol : MonoBehaviour {
float m_fScale = 100.0f;
// Use this for initialization
void Start ()
{
float fWidth = gameObject.renderer.material.GetTexture("_MainTex").width;
float fHeight = gameObject.renderer.material.GetTexture("_MainTex").height;
fl... | Khoyo/mini_ld_48 | Assets/Code/CSol.cs | C# | gpl-3.0 | 603 |
"""pybackup - Backup Plugin for MySQL Database
"""
import os
from pybackup import errors
from pybackup import utils
from pybackup.logmgr import logger
from pybackup.plugins import BackupPluginBase
from pysysinfo.mysql import MySQLinfo
__author__ = "Ali Onur Uyar"
__copyright__ = "Copyright 2011, Ali Onur Uyar"
__cr... | aouyar/pybackup | pybackup/plugins/mysql.py | Python | gpl-3.0 | 4,714 |
/******************************************************************************
* *
* This file is part of Virtual Chess Clock, a chess clock software *
* *
... | yo35/vcc | src/gui/widgets/bitimerwidget.h | C | gpl-3.0 | 5,221 |
SUBROUTINE RDKEYM(KFILDO,KFILX,JREC,NOPREC,KEYREC,NWDS,NW,
1 KSIZE,CFROM,IER)
C
C NOVEMBER 1996 GLAHN TDL MOS-2000
C JANUARY 1997 GLAHN ADDED NW TO CALL TO CHECK RECORD SIZE
C AUGUST 1998 GLAHN CHANGED LOOP AT STATEMENT 136;
C ... | eengl/pytdlpack | tdlpack/rdkeym.f | FORTRAN | gpl-3.0 | 6,499 |
/*
* Copyright 2007-2014 Katholieke Universiteit Leuven
*
* Use of this software is governed by the GNU LGPLv3.0 license
*
* Written by Broes De Cat and Maarten Marien, K.U.Leuven, Departement
* Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
*/
#include "external/ConstraintVisitor.hpp"
#incl... | broesdecat/Minisatid | src/constraintvisitors/ConstraintVisitor.cpp | C++ | gpl-3.0 | 803 |
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004 - 2009 SugarCRM Inc.
*
* This program is free ... | mitani/dashlet-subpanels | modules/DynamicFields/Save.php | PHP | gpl-3.0 | 3,204 |
# How to build and run CoCeSo using docker
This is a guide to waive the installation of dependencies and using docker instead.
Inspect the scripts in this directory for the actual shell commands. Later,
let's use docker compose.
## Requirements
* Server
* Docker engine
* Client
* Web Browser (full features onl... | wrk-fmd/CoCeSo | docker/README.md | Markdown | gpl-3.0 | 1,544 |
Steps to build
1. Install node
2. Install python 2.7
3. `npm install -g node-gyp`
4. `npm install`
5. Run this to download node-gyp dist for electron (ignore errors due to the missing binding.gyp file)
`node-gyp configure --target=0.33.7 --arch=x64 --dist-url=https://atom.io/download/atom-shell`
6. Set "ElectronGypHom... | Volodymyr-K/Skwarka | Source/NodeAPI/readme.md | Markdown | gpl-3.0 | 477 |
package greymerk.roguelike.treasure.loot;
import java.util.HashMap;
import java.util.Map;
import greymerk.roguelike.util.IWeighted;
import net.minecraft.item.ItemStack;
public class LootProvider implements ILoot {
Map<Integer, LootSettings> loot;
public LootProvider(){
loot = new HashMap<Integer, LootSettings... | Greymerk/minecraft-roguelike | src/main/java/greymerk/roguelike/treasure/loot/LootProvider.java | Java | gpl-3.0 | 614 |
.importListExclusion {
display: flex;
align-items: stretch;
margin-bottom: 10px;
height: 30px;
border-bottom: 1px solid $borderColor;
line-height: 30px;
}
.artistName {
flex: 0 0 300px;
}
.foreignId {
flex: 0 0 400px;
}
.actions {
display: flex;
justify-content: flex-end;
flex: 1 0 auto;
padd... | lidarr/Lidarr | frontend/src/Settings/ImportLists/ImportListExclusions/ImportListExclusion.css | CSS | gpl-3.0 | 339 |
package com.lawek;
public class Copain {
public String name;
public String ip;
}
| mlkdru/nyloc | src/main/java/com/lawek/Copain.java | Java | gpl-3.0 | 85 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.269
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----... | rhysthomas250/Automate | Automate/Properties/Resources.Designer.cs | C# | gpl-3.0 | 2,773 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... | MikeMatt16/Abide | Abide Halo Library/Abide.HaloLibrary/Halo2/Retail/Tag/Generated/EnvironmentObjectNodes.Generated.cs | C# | gpl-3.0 | 2,287 |
/*
* OpenSplice DDS
*
* This software and documentation are Copyright 2006 to 2013 PrismTech
* Limited and its licensees. All rights reserved. See file:
*
* $OSPL_HOME/LICENSE
*
* for full copyright notice and license terms.
*
*/
package org.opensplice.cm.qo... | SanderMertens/opensplice | src/api/cm/java/code/org/opensplice/cm/qos/MessageQoS.java | Java | gpl-3.0 | 4,095 |
/**
* This file is part of alf.io.
*
* alf.io 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.
*
* alf.io is distributed in the ... | exteso/alf.io | src/main/java/alfio/manager/support/CheckInStatistics.java | Java | gpl-3.0 | 1,327 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
Uses of Package com.google.gwt.core.linker (Google Web Toolkit Javadoc)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCR... | dandrocec/PaaSInterop | SemanticCloudClient/build/web/WEB-INF/lib/doc/javadoc/com/google/gwt/core/linker/package-use.html | HTML | gpl-3.0 | 6,892 |
<!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 - HODGETTS, Henry (Tim)</title>
<meta charset="UTF-8" />
<meta name ="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" />
<meta ... | RossGammon/the-gammons.net | RossFamilyTree/ppl/f/9/d15f5fffefb433a2f839ba27f9f.html | HTML | gpl-3.0 | 19,115 |
package cn.nukkit.item;
/**
* author: MagicDroidX
* Nukkit Project
*/
public class StonePickaxe extends Tool {
public StonePickaxe() {
this(0, 1);
}
public StonePickaxe(Integer meta) {
this(meta, 1);
}
public StonePickaxe(Integer meta, int count) {
super(STONE_PICKAXE,... | LinEvil/Nukkit | src/main/java/cn/nukkit/item/StonePickaxe.java | Java | gpl-3.0 | 610 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>F-Spot Cloud Java Edition 0.12-alpha-02 Reference Package fspotcloud.shared.photo</title>
<link rel="st... | slspeek/FSpotCloudSite | xref/fspotcloud/shared/photo/package-summary.html | HTML | gpl-3.0 | 2,093 |
<?php
namespace App\Api\V1\Transformers;
use App\Api\V1\Models\Sleep;
use League\Fractal\TransformerAbstract;
class SleepTransformer extends TransformerAbstract
{
public function transform(Sleep $sleep)
{
return [
'id' => (int) $sleep->id,
'date' => $sleep->date,
'... | ChibangLW/traindb-api | app/Api/V1/Transformers/SleepTransformer.php | PHP | gpl-3.0 | 556 |
<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
<head>
<title></title>
<meta charset="utf-8">
<meta name="viewport"
content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-sca... | Jerryisokay/enduranceDev | phone/html/PatientDetail.html | HTML | gpl-3.0 | 2,783 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("PureCms.Services")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: A... | feilingdeng/PureCms | Libraries/PureCms.Services/Properties/AssemblyInfo.cs | C# | gpl-3.0 | 1,320 |
/*
Copyright 2014 Ilya Zhuravlev
This file is part of Acquisition.
Acquisition 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 lat... | thild42/acquisition | src/util.cpp | C++ | gpl-3.0 | 7,487 |
// Copied from https://github.com/PointCloudLibrary/pcl/blob/master/tools/pcd2ply.cpp
/*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2011-2012, Willow Garage, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary for... | kuri-kustar/nbv_exploration | src/utilities/pcd2ply.cpp | C++ | gpl-3.0 | 4,418 |
/******************************************************************************
* Filename: hal_spi_rf_trx.h
*
* Description: Implementation file for common spi access with the CCxxxx
* transceiver radios using trxeb. Supports CC1101/CC112X radios
*
* Copyright (C) 2013 Texas Instruments In... | Appiko/nrf5x-firmware | codebase/ti_radio_lib/hal_spi_rf.h | C | gpl-3.0 | 3,221 |
package edu.stanford.rsl.conrad.metric;
public class RootMeanSquareErrorMetric extends MeanSquareErrorMetric {
/**
*
*/
private static final long serialVersionUID = 332165924495213426L;
@Override
public double evaluate() {
return Math.sqrt(computeMeanSquareError());
}
@Override
public String toString... | YixingHuang/CONRAD | src/edu/stanford/rsl/conrad/metric/RootMeanSquareErrorMetric.java | Java | gpl-3.0 | 509 |
/*
* jack_daemons.c
*
* Copyright 2020, Simon Price - simon@prichy.net
*
* This file is part of SoundDesk.
*
* SoundDesk 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... | Prichy/SoundDesk | src/jack_daemons.c | C | gpl-3.0 | 13,126 |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "S1AP-PDU-Contents"
* found in "../support/s1ap-r16.1.0/36413-g10.asn"
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps`
*/
#include "S1AP_DownlinkUEAssociatedLPPaTransport.h"
asn_TYPE_member_t asn_MBR_S1AP_Down... | acetcom/cellwire | lib/asn1c/s1ap/S1AP_DownlinkUEAssociatedLPPaTransport.c | C | gpl-3.0 | 2,105 |
package com.taobao.api.request;
import java.util.Map;
import com.taobao.api.ApiRuleException;
import com.taobao.api.TaobaoRequest;
import com.taobao.api.internal.util.RequestCheckUtils;
import com.taobao.api.internal.util.TaobaoHashMap;
import com.taobao.api.response.LogisticsOrderShengxianConfirmResponse;
/**
* TO... | kuiwang/my-dev | src/main/java/com/taobao/api/request/LogisticsOrderShengxianConfirmRequest.java | Java | gpl-3.0 | 5,323 |
\chapter{Constraints}\label{chapter.constraints}
\section{Motivation}
\subsection{Equality}
In Chapter~\ref{chapter.fol}, terms are only considered equal if they
are syntactically equal. The question arises,
how can we reason in axiomatic theories. The most natural example
is first-order logic with equality, axiom... | seanmcl/thesis | thesis.old/old/constr2.tex | TeX | gpl-3.0 | 27,872 |
/* GCompris - tangram.js
*
* Copyright (C) 2016 Bruno Coudoin <bruno.coudoin@gcompris.net>
*
* Authors:
* Yves Combe / Philippe Banwarth (GTK+ version)
* Bruno Coudoin <bruno.coudoin@gcompris.net> (Qt Quick port)
*
* This program is free software; you can redistribute it and/or modify
* it under the te... | bdoin/GCompris-qt | src/activities/tangram/tangram.js | JavaScript | gpl-3.0 | 5,852 |
/*
* Copyright 2015 (C) Karlsruhe Institute of Technology (KIT)
* Marc Rittinghaus
*
* Simutrace Client Library (libsimutrace) is part of Simutrace.
*
* libsimutrace is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free S... | simutrace/simutrace | simutrace/libsimutrace/DynamicStream.cpp | C++ | gpl-3.0 | 7,023 |
# Proxy-Checker
INSTALLER: setup.exe
INSTRUCTIONS: Download and follow on-screen prompts. Application will automatically update periodically.
Multi-threaded open source batch proxy checker.

Created by Eric904P
| Eric904P/Proxy-Checker | publish/README.md | Markdown | gpl-3.0 | 259 |
ModX Revolution 2.5.0 = 0e30bc951e5d219ec9f147da8e179542
| gohdan/DFC | known_files/hashes/core/model/modx/sqlsrv/modworkspace.map.inc.php | PHP | gpl-3.0 | 57 |
/*
* =====================================================================================
*
* Filename: dict.c
*
* Description: A Dict for me.
*
* Version: 1.0
* Created: 12/23/2015 01:47:17 PM
* Revision: none
* Compiler: gcc
*
* Author: Lee Sheen (leeshee... | leesheen/dict-c | src/dict.c | C | gpl-3.0 | 5,412 |
#ifndef __ENVIRONMENT_H
#define __ENVIRONMENT_H
#include <string>
#include <map>
#include "Selection.h"
#include "Vec3D.h"
class Environment
{
public:
static Environment* getInstance();
nameEntry get_clipboard();
void set_clipboard(nameEntry* entry);
bool view_holelines;
// values for areaID painting
int sele... | axelsheva/noggit | src/Environment.h | C | gpl-3.0 | 810 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (1.8.0_92) on Tue Feb 28 05:24:56 CET 2017 -->
<title>MySQLConnection</title>
<meta name="date" content="2017-02-28">
<link rel="stylesheet" ty... | Blair79/ArduCopterGUI | ArduCopterGUI/doc/mysql/DBM/MySQLConnection.html | HTML | gpl-3.0 | 9,779 |
"use strict";
//Singleton pattern for things context
exports.emitter = (function () {
// Instance stores a reference to the Singleton
var instance;
function init() {
// Singleton
// Private methods and variables
var EventEmitter = require('events').EventEmitter;
var eventEmitter = new E... | famargon/ubiquitous-things | ubiquitous-things/core/eventsEngine/eventSingelton.js | JavaScript | gpl-3.0 | 715 |
Install dependencies:
conda create -n debuggee -c dfroger python=3.5 cython debug
conda create -n debugger -c dfroger python=2.7 cython gdb
Get debugger path:
source activate debugger
DEBUGGER_PATH=$CONDA_PREFIX/bin
Build extension to debug and test:
source activate debuggee
make ext
ma... | dfroger/quickstart | cython/debug/README.md | Markdown | gpl-3.0 | 399 |
/*******************************************************************************
* Goggles Audio Player Library *
********************************************************************************
* Copyright (C) 2010-2021 by Sander Jansen. All Rights Reserved ... | gogglesmm/gogglesmm | gap/ap_packet.h | C | gpl-3.0 | 3,089 |
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero Genera... | am910021/YuriMS | src/server/MapleTrade.java | Java | gpl-3.0 | 10,325 |
/*
This file is part of Darling.
Copyright (C) 2021 Lubos Dolezel
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling i... | darlinghq/darling | src/private-frameworks/AuthKitUI/include/AuthKitUI/AKWebKitControllerDelegate.h | C | gpl-3.0 | 760 |
window.utils = window.utils || {};
window.utils.files = (function() {
function getSize(size) {
var quantity, unit;
if (size < Math.pow(1024, 2)) {
quantity = size / 1024;
unit = "KB";
} else if (size < Math.pow(1024, 3)) {
quantity = size / Math.pow(1024, 2);
unit = "MB";
} else {
quantity ... | FabianOvrWrt/files | js/files.js | JavaScript | gpl-3.0 | 22,469 |
{% extends "common/base.html" %}
{% load static from staticfiles %}
{% block title %}
Articles
{% endblock %}
{% block content %}
<script type="text/javascript">
$(document).ready(function() {
var minDate = new Date({{ dateRange.minDate.year }}, {{ dateRange.minDate.month }} - 1, {{ dateRange.minDate... | meshulam/chicago-justice | cjp/templates/newsarticles/articleList.html | HTML | gpl-3.0 | 4,406 |
using Client.Logic.Attributes;
using Client.Logic.Resources;
namespace Client.Logic.Enums
{
public enum CardStat
{
[LocalizedDescription(nameof(Texts.Defense))]
Defense = 1,
[LocalizedDescription(nameof(Texts.Damage))]
Damage,
[LocalizedDescription(nameof(Texts.Health... | Arcidev/Card-Game | Client.Logic/Enums/CardStats.cs | C# | gpl-3.0 | 415 |
// Copyright (C) 2006-2007 Regis COSNIER
//
// 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.
//
// ... | takyonxxx/Capture-DVB | Turkay_DTV/PSI.cs | C# | gpl-3.0 | 24,015 |
local ADDON_NAME, ADDON = ...
ADDON:RegisterUISetting('showShopButton', true, ADDON.L.SETTING_SHOP_BUTTON)
local function ToggleShopButton()
if (MountJournal) then
local frame = MountJournal.MountDisplay.InfoButton.Shop
if (frame) then
if (ADDON.settings.ui.showShopButton and MountJour... | exochron/mount-journal-enhanced | UI/ShopButton.lua | Lua | gpl-3.0 | 1,489 |
package silhouette
trait SecuredUser extends com.mohiva.play.silhouette.api.Identity
| fredericoramos78/play-scala-angularjs | app/silhouette/SecuredUser.scala | Scala | gpl-3.0 | 86 |
#!/usr/bin/python
import os
import glob
import cgi
import PrintPages_test as pt
address = cgi.escape(os.environ["REMOTE_ADDR"])
script = "Main Model Form"
pt.write_log_entry(script, address)
pt.print_header('GrowChinook', 'Std')
pt.print_full_form(None, None, 'in', 'RunModel.py')
extension = 'csv'
os.chdir('uploads')... | ReservoirWebs/GrowChinook | Test_test.py | Python | gpl-3.0 | 429 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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" co... | firetools/blenderfds | docs/html/classblenderfds28x_1_1lang_1_1_s_p__config__default__voxel__size.html | HTML | gpl-3.0 | 34,988 |
package com.mari;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
public class ChallengeDemoApp {
public static void main(String[] args) {
AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(ChallengeConfig.class);
Coach theCoach = ... | rejmar/Java | Spring/SpringAnnotations/src/com/mari/ChallengeDemoApp.java | Java | gpl-3.0 | 519 |
/*
Copyright (C) 2012 Harald Klein <hari@vt100.at>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
of MERCHA... | mce35/agocontrol | devices/kwikwai/kwikwai.cpp | C++ | gpl-3.0 | 2,855 |
<?php
/**
* Default configuration for Xhgui
*/
return array(
'debug' => false,
'mode' => 'development',
// Can be either mongodb or file.
//'save.handler' => 'file',
//'save.handler.filename' => dirname(__DIR__) . '/cache/' . 'xhgui.data.' . microtime(true) . '_' . substr(md5($... | n0v3xx/docker-ubuntu-nginx-php7 | docker/ubuntu/template/xhgui/xhgui.config.php | PHP | gpl-3.0 | 1,321 |
package com.linux.sudoku.fx;
import java.util.HashSet;
import java.util.Set;
/**
* This is copied verbatim from http://stackoverflow.com/questions/15690254/how-to-generate-a-complete-sudoku-board-algorithm-error
*
* @author Guruprasad Kulkarni <guru@linux.com>
*/
public class SudokuCell {
private int value;
... | comdotlinux/SudokuFX | src/main/java/com/linux/sudoku/fx/SudokuCell.java | Java | gpl-3.0 | 1,244 |
<!-- APP MAIN ==========-->
<main id="app-main" class="app-main">
<div class="wrap">
<section class="app-content">
<div class="row">
<?php
if($_SESSION["systemSucces"]<>""){
?>
<div class="alert alert-success" role="alert">
<strong><i class="fa fa-check"></i></strong>
<span><?=$_SESSI... | brandonccy/SmartNano | admincp/modules/sliders/index.php | PHP | gpl-3.0 | 1,416 |
package com.Soro300.lets_mod.reference;
public class Reference {
public static final String MOD_ID = "Lets_Mod";
public static final String MOD_NAME = "Lets Mod";
public static final String VERSION = "1.7.10-1.0";
public static final String CLIENT_PROXY_CLASS = "com.Soro300.lets_mod.proxy.ClientProxy";
public st... | Soro300/Lets_Mod | src/main/java/com/Soro300/lets_mod/reference/Reference.java | Java | gpl-3.0 | 497 |
package edu.berkeley.nlp.util;
import java.util.Collection;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import fig.basic.Pair;
//import fig.basic.Pair;
/**
* Maintains counts of (key, value) pairs. The map is structured so that for
* every key, one can get a... | timfeu/berkeleycoref-bansalklein | code/edu/berkeley/nlp/util/CounterMap.java | Java | gpl-3.0 | 11,359 |
# coding: utf-8
class Solution(object):
@staticmethod
def dfs(candidates, target, vis, res, cur_idx, sum):
if sum > target:
return
if sum == target:
ans = [candidates[i] for i in cur_idx if i >= 0]
res.append(ans)
return
if sum < target:
... | ShengRang/c4f | leetcode/combination-sum-ii.py | Python | gpl-3.0 | 1,342 |
package sortingalgorithms;
public class Introsort {
/*this method should be called first*/
public static void sort(int[] arr) {
final int maxDepth = 2 * (int)Math.floor(Math.log(arr.length) / Math.log(2));
introsort(arr, 0, arr.length - 1, maxDepth);
}
/*main loop of intros... | readysetlearn/Sorting-Algorithms | Introsort.java | Java | gpl-3.0 | 3,371 |
AAScriptCompiler.exe S102.SRC S102.SRP | cabbruzzese/AmuletsAndArmorUserMaps | l102/buildscript.bat | Batchfile | gpl-3.0 | 38 |
export class MapPort {
adapterNumber: number;
linkType: string;
name: string;
portNumber: number;
shortName: string;
}
| GNS3/gns3-web-ui | src/app/cartography/models/map/map-port.ts | TypeScript | gpl-3.0 | 129 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.