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 |
|---|---|---|---|---|---|
package com.thundergemios10.survivalgames.util;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.block.Action;
import org.bukkit.event.player.PlayerInteract... | ThunderGemios10/Survival-Games | src/main/java/com/thundergemios10/survivalgames/util/ThirstManager.java | Java | gpl-3.0 | 1,766 |
<!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_65) on Tue Apr 08 03:36:46 MDT 2014 -->
<TITLE>
SortingControllerTest
</TITLE>
<META NAME="date" CONTENT="2014-04-08">
<LINK REL ="stylesheet" TYPE... | cntnboys/CMPUT301W14T09-GPSForm | CMPUT301W14T09Test/doc/ca/cmput301w14t09/test/SortingControllerTest.html | HTML | gpl-3.0 | 10,991 |
<div class="cover header">
<div class="navbar navbar-cover navbar-material-blue-700 ">
<div class="container-fluid">
<span>
<a href="#/">
<img src="img/logo-icon.jpg" style="height:80; float:left">
<span class="lokayat-title" s... | atulkhairnar/libre | scripts/directives/headpanel.html | HTML | gpl-3.0 | 1,225 |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateContentsTable extends Migration {
public function up()
{
Schema::create('contents', function(Blueprint $table) {
$table->increments('id');
$table->timestamp('created_at')->default(DB::raw('CURRENT_TIME... | RobinMarechal/Kine | database/migrations/2017_07_12_011701_create_contents_table.php | PHP | gpl-3.0 | 657 |
/* global sch, sb, map */
function AnimationManager () {
this.bkgStep = 150
this.bkgPosition = 0
this.setAnimationSpeed = (speed) => {
document.body.style.setProperty('--animation-pace', speed)
}
this.stopRunning = () => {
sch.setPace(750)
this.getLight().style.setProperty('transform', `scale(1... | lopis/hoosdere | src/animation.js | JavaScript | gpl-3.0 | 2,247 |
package com.bukkit.gemo.FalseBook.Block.commands;
import com.bukkit.gemo.FalseBook.Block.FalseBookBlockCore;
import com.bukkit.gemo.FalseBook.Block.Areas.Area;
import com.bukkit.gemo.FalseBook.Block.Areas.AreaSelection;
import com.bukkit.gemo.FalseBook.Block.Mechanics.MechanicArea;
import com.bukkit.gemo.commands.Comm... | Escapecraft/FalseBook | src/main/java/com/bukkit/gemo/FalseBook/Block/commands/cmdFArea.java | Java | gpl-3.0 | 3,199 |
//
// some mobile-oriented app config overrides
//
if(typeof(config) == 'undefined') config = {};
Object.merge(config, {
api_url: 'https://api.turtl.it/v2',
client: 'mobile-ubuntu',
version: cordova_app_version,
cookie_login: true,
base_url: window.location.toString().replace(/\/(index\.html)?$/, '/app'),
has_au... | cibersheep/turtl-ut | www/config.js | JavaScript | gpl-3.0 | 339 |
package com.goltzkiste.guessaday;
/**
* Created by mo on 3/6/16. see http://stackoverflow.com/questions/4216082
*/
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.TimeZone;
import android.content.Context;
import android.content.SharedPreferences;
im... | mo271/guessaday | app/src/main/java/com/goltzkiste/guessaday/DatePreference.java | Java | gpl-3.0 | 5,318 |
#region License
/*
Copyright 2014 - 2015 Nikita Bernthaler
Update.cs is part of SFXWallJumpSpot.
SFXWallJumpSpot 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... | Lizzaran/LeagueSharp-Standalones | SFXUtility/SFXWallJumpSpot/Library/Update.cs | C# | gpl-3.0 | 2,931 |
<p>List group items may be buttons instead of list items (that also means a parent <code><div></code> instead of an <code><ul></code>). No need for individual parents around each element. <strong class="text-danger">Don't use the standard <code>.btn</code> classes here.</strong></p>
<div class="bs-example... | grvpanchal/bootstrap-essentials | docs/_includes/fulldocs/components/list-group/list-group-buttons.html | HTML | gpl-3.0 | 1,265 |
/* Copyright (c) 2012-2015 Todd Freed <todd.freed@gmail.com>
This file is part of fab.
fab 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... | hossbeast/fab | liblogger/filter/filter.internal.h | C | gpl-3.0 | 1,809 |
/**
* This file is part of ankus.
*
* ankus is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ankus is distributed in the hop... | onycom-ankus/ankus_analyzer_G | trunk_web/ankus-web-services/src/main/java/org/ankus/model/workflow/Shell.java | Java | gpl-3.0 | 5,280 |
// Source Code Begins Here
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<time.h>
void Initial(char board[3][3]){ // Function to Initialize board with value 1,2,3....9
int i,j,k = 1;
for(i=0;i<3;i++){
for(j=0;j<3;j++){
board[i][j] = '0'+k;
k++;
}
}
}
void View(char board[3][3]){ // Fun... | s4kibs4mi/CnCPP | tik_tok_toe_rebuild.cpp | C++ | gpl-3.0 | 3,963 |
// Copyright 2010-2011 Dmitri Nikulin, Enzo Reyes.
//
// This file is part of clamity.
//
// clamity 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) an... | dnikulin/clamity | ClamityMath/Arithmetic.cc | C++ | gpl-3.0 | 16,234 |
import latinize from 'latinize';
export function urlify(m) {
return m.toLowerCase().replace(/[^a-z0-9]/g, '');
}
// remove all html tags
export function textify(m) {
return m.replace(/<\/?[^>]+(>|$)/g, '').replace(/\s{2,}/g, ' ');
}
export function sanitize(str) {
return textify(latinize(str.toLowerCase()));
}... | pzhine/derribase | src/lib/_helpers.js | JavaScript | gpl-3.0 | 682 |
<?php
/*
# Copyright (C) 2002 <Gregory Hinton Nietsky>
# Copyright (C) 2005 <ZA Telecomunications>
#
# 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 Lice... | Distrotech/distrotech-core | sysroot/var/spool/apache/htdocs/reception/sdial.php | PHP | gpl-3.0 | 3,350 |
'
' * Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
' * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
'
Namespace javax.swing.event
''' <summary>
''' ListDataListener
'''
''' @auth... | amethyst-asuka/java_dotnet | javax/swing/event/ListDataListener.vb | Visual Basic | gpl-3.0 | 1,571 |
<?php
/**
* Settings > Tools view
*
* @package ConvertKit
* @author ConvertKit
*/
?>
<div class="metabox-holder">
<div class="postbox">
<h3><span><?php esc_html_e( 'Debug Log', 'convertkit' ); ?></span></h3>
<div class="inside">
<p class="description">
<?php esc_html_e( 'Use this tool to help debug ... | ConvertKit/ConvertKit-WordPress | views/backend/settings/tools.php | PHP | gpl-3.0 | 2,096 |
package com.taobao.api.request;
import java.util.Date;
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.InventoryOccupyAdjustRespon... | kuiwang/my-dev | src/main/java/com/taobao/api/request/InventoryOccupyAdjustRequest.java | Java | gpl-3.0 | 3,664 |
Given
an
arbitrary
ransom
note
string
and
another
string
containing
letters from
all
the
magazines,
write
a
function
that
will
return
true
if
the
ransom
note
can
be
constructed
from
the
magazines ;
otherwise,
it
will
return
false.
Each
letter
in
the
magazine
string
can
onl... | zqfan/leetcode | algorithms/383. Ransom Note/readme.md | Markdown | gpl-3.0 | 646 |
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2016 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* J... | MHTaleb/Encologim | lib/JasperReport/src/net/sf/jasperreports/engine/design/DesignExpressionReturnValue.java | Java | gpl-3.0 | 2,583 |
package io.github.thebusybiscuit.slimefun4.core.guide;
import java.util.ArrayList;
import java.util.List;
import org.bukkit.ChatColor;
import org.bukkit.GameMode;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import io.github.thebusybiscuit.cscorelib2.chat.ChatCo... | AlexLander123/Slimefun4 | src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/BookSlimefunGuide.java | Java | gpl-3.0 | 10,060 |
Nautilus
==================
Nautilus is a console tool to store informations about a (source) server in a database.
[](https://badge.fury.io/ph/undeadbrains%2Fnautilus)
[](http... | UndeadbrainsDE/nautilus | readme.md | Markdown | gpl-3.0 | 672 |
<?php
/**
* br – line break.
*
* The br element represents a line break.
*
* @author Sergey Baigudin, baigudin@mail.ru
* @copyright 2012-2016 Sergey Baigudin
* @license http://baigudin.software/license/
* @link http://baigudin.software
* @see https://www.w3.org/TR/html-markup/br.html
*/
names... | baigudin/PhpDomBuilder.revision.2 | DomBuilder/Element/Br.php | PHP | gpl-3.0 | 520 |
// ****************************************************************************************
/*
iDisk - Intel-Hex Disk image Loader - S250317
Disk images loader for the Z80-MBC (HW ref: A041116)
NOTE 1: Required IOS S221116 R180217 (or following until otherwise stated)
NOTE 2: Required Virtual Disk Module (... | SuperFabius/Z80-MBC | iDisk - S250317.c | C | gpl-3.0 | 18,728 |
package cc.lovesq.controller;
import cc.lovesq.query.PagerQuery;
/**
* @author YHJ create at 2014年3月4日 上午11:08:08
* @Described:基础控制层
* @ClassNmae com.aliyun.houyi.compass.v2.core.controller.BaseController
*/
public class BaseController {
protected int totalCounts;//总记录条数
protected int pageS... | shuqin/ALLIN | src/main/java/cc/lovesq/controller/BaseController.java | Java | gpl-3.0 | 3,155 |
# Copyright (C) 2001 Steve Howell
# You must read the file called INFO.txt before distributing this code.
# ---
# Worlds for Karel are defined with simple text files that we parse out
# in this module. See the worlds folder for examples.
from world import NORTH,SOUTH,EAST,WEST
from utils import trace_error
import ... | cristian99garcia/guido-van-robot-activity | worldMap.py | Python | gpl-3.0 | 5,535 |
/*
Grammatical Evolution in Java
Release: GEVA-v1.2.zip
Copyright (C) 2008 Michael O'Neill, Erik Hemberg, Anthony Brabazon, Conor Gilligan
Contributors Patrick Middleburgh, Eliott Bartley, Jonathan Hugosson, Jeff Wrigh
Separate licences for asm, bsf, antlr, groovy, jscheme, commons-logging, jsci is included in the l... | cdorrat/geva-clj | geva-core/src/test/java/geva/FitnessEvaluation/SantaFeAntTrail/SantaFeAntTrailInterpreterTest.java | Java | gpl-3.0 | 7,485 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PracticeConsole
{
public class InternalClass
{
internal int owais;
void functionname ()
{ }
}
public class owaisshahab
{
static v... | owaisshahab1/Practice | PracticeConsole/General Concepts/Internal.cs | C# | gpl-3.0 | 381 |
#include "common.h"
#define DEBUG_FLAG SEAFILE_DEBUG_HTTP
#include "log.h"
#include <getopt.h>
#include <fcntl.h>
#include <event.h>
#include <evhtp.h>
#include <json-glib/json-glib.h>
#include <pthread.h>
#include <ccnet.h>
#include "seafile-object.h"
#include "seafile.h"
#include "utils.h"
#include "seafile-... | utlemming/seafile | httpserver/upload-file.c | C | gpl-3.0 | 37,321 |
# Prism for Mega Drive
Collection of useful routines for use in Mega Drive assembly development.
For use, include `wrapper.asm` at the beginning of your project.
Does basic setup and jumps to a `__main` label, which is where your game should start.
Expects a file called `header.asm` where the Mega Drive file header... | CaptainDreamcast/libtari | other/md/README.md | Markdown | gpl-3.0 | 1,056 |
using System.Web;
using System.Web.Mvc;
namespace ProjetoRole
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
}
}
}
| mariofraga84/ProjetoRole | ProjetoRole/ProjetoRole/App_Start/FilterConfig.cs | C# | gpl-3.0 | 266 |
package l2s.gameserver.model.entity.events.impl;
import l2s.commons.collections.MultiValueSet;
import l2s.gameserver.model.entity.events.objects.SiegeClanObject;
import l2s.gameserver.model.entity.residence.ClanHall;
import l2s.gameserver.model.pledge.Clan;
import l2s.gameserver.network.l2.components.SystemMsg;
import... | pantelis60/L2Scripts_Underground | gameserver/src/main/java/l2s/gameserver/model/entity/events/impl/ClanHallNpcSiegeEvent.java | Java | gpl-3.0 | 1,993 |
/*
** Copyright 2013-2021 Double Precision, Inc.
** See COPYING for distribution information.
*/
#ifndef x_tls_sessioncacheobj_H
#define x_tls_sessioncacheobj_H
#include <x/namespace.h>
#include <x/obj.H>
#include <x/exception.H>
#include <x/gnutls/datumwrapper.H>
#include <x/gnutls/init.H>
#include <x/logger.H>
nam... | svarshavchik/libcxx | includes/x/gnutls/sessioncacheobj.H | C++ | gpl-3.0 | 1,871 |
/**
*/
package io.getgauge.spec.util;
import io.getgauge.spec.*;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.Switch;
/**
* <!-- begin-user-doc -->
* The <b>Switch</b> for the model's inheritance hierarchy.
* It supports the call {@link #doSwitch... | getgauge/Gauge-Eclipse | io.getgauge/src-gen/io/getgauge/spec/util/SpecSwitch.java | Java | gpl-3.0 | 12,786 |
from aquarius.objects.Book import Book
class GetBookByTitleAndAuthor(object):
def __init__(self, connection):
self.__connection = connection
def execute(self, book):
b = Book()
sql = "SELECT Id, Title, Author FROM Book WHERE Title=? AND Author=?"
r = list(self.__connection.ex... | jeroanan/Aquarius | aquarius/persistence/sqlitepersistence/GetBookByTitleAndAuthor.py | Python | gpl-3.0 | 634 |
from django.contrib import admin
from comments.models import Comment
# Register your models here.
admin.site.register(Comment)
| awwong1/CMPUT410-Project | dogenode/comments/admin.py | Python | gpl-3.0 | 130 |
<?php
function nxs_webmethod_geturl()
{
extract($_REQUEST);
$result = array();
if ($destination == "")
{
nxs_webmethod_return_nack("destination niet meegegeven");
}
if ($destination == "header")
{
if ($nxsrefurlspecial == "")
{
nxs_webmethod_return_nack("nxsrefurlspecial niet meegegeve... | nexusthemes/nexusframework | nexusframework/nexuscore/webservices/webmethods/geturl/geturl_webmethod.php | PHP | gpl-3.0 | 2,345 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
ExEmbedAtom (POI API Documentation)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function... | jmemmons/university-assignments | CSC 445 WebCentric Programming/Final Project/poi-3.14/docs/apidocs/org/apache/poi/hslf/record/ExEmbedAtom.html | HTML | gpl-3.0 | 23,583 |
# -*- coding: utf-8 -*-
"""
Created on Tue Dec 08 13:25:40 2015
@author: J. Alejandro Cardona
"""
from Board import *
import pygame
UP, LEFT, DOWN, RIGHT = 1, 2, 3, 4
juego = Board()
_2 = pygame.image.load("2.jpg"); _2re = _2.get_rect()
_4 = pygame.image.load("4.jpg"); _4re = _4.get_rect()
_8 = pygam... | Alecardv/College-projects | 2048/Control.py | Python | gpl-3.0 | 1,336 |
<?php
/**
* The template for displaying all pages.
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site will use a
* different template.
*
* @package _tk
*/
get_header(); ?>
<?php while ( have... | thomas-gordon/troiano-wordpress-theme | page.php | PHP | gpl-3.0 | 491 |
---
layout: politician2
title: tariq mirza
profile:
party: RPI
constituency: Chandni Chowk
state: National Capital Territory Of Delhi
education:
level: 8th Pass
details: 7th std.
photo:
sex:
caste:
religion:
current-office-title:
crime-accusation-instances: 0
date-of-birth: 1986
p... | vaibhavb/wisevoter | site/politicians/_posts/2014-04-09-tariq-mirza.md | Markdown | gpl-3.0 | 1,135 |
from __future__ import division
import numpy as np
import argparse
import matplotlib.pyplot as plt
from matplotlib.colors import colorConverter
from mpl_toolkits.axes_grid1 import ImageGrid
import matplotlib.cm as cm
from amitgroup.stats import bernoullimm
def main(args):
means = np.load('%s_means.npy' % args.sav... | markstoehr/spectral_features | local/display_bernoulli_model.py | Python | gpl-3.0 | 2,936 |
```
______ _____ ______ __
| ____| | __ \| _ \ \ / /
| |__ _ __ ___ ___| |__) | |_) \ V /
| __| '__/ _ \/ _ \ ___/| _ < > <
| | | | | __/ __/ | | |_) / . \
|_| |_| \___|\___|_| |____/_/ \_\
Your Open Source Asterisk PBX GUI Solution
```
### What?
donotdisturb
This is a module... | FreePBX/donotdisturb | README.md | Markdown | gpl-3.0 | 1,653 |
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "PMCPDLCAPDUsVersion1"
* found in "../../../dumpvdl2.asn1/atn-b1_cpdlc-v1.asn1"
* `asn1c -fcompound-names -fincludes-quoted -gen-PER`
*/
#include "CPDLCMessage.h"
int
CPDLCMessage_constraint(asn_TYPE_descriptor_t *td, const void *spt... | szpajder/dumpvdl2 | src/asn1/CPDLCMessage.c | C | gpl-3.0 | 4,445 |
/*
***************************************************************************
*
* Author: Teunis van Beelen
*
* Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 Teunis van Beelen
*
* Email: teuniz@gmail.com
*
***************************************************************************
*
* ... | Teuniz/EDFbrowser | print_to_edf.h | C | gpl-3.0 | 1,579 |
<!-- Header -->
<div id="header-wrapper">
<div id="header">
<!-- Logo -->
<a href="/"><img style="margin-bottom:20px;" src="/theme/images/logo.png"/></a>
<!-- Nav -->
<nav id="nav">
<ul>
<!-- <li {% if output_file == 'index.html' %}class="current"{% endif %}><a href="/">Home</a></li>-->
... | ubrew-it/ubrew-site | themes/dopetrope/templates/header.html | HTML | gpl-3.0 | 1,159 |
<!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... | ojrosten/sequoia | docs/html/d0/d90/structsequoia_1_1testing_1_1detailed__equality__checker_3_01maths_1_1heterogeneous__static__grapad2ef5d4b25a83120c3272a44fd7117f.html | HTML | gpl-3.0 | 8,768 |
# Owade Reborn
[](https://app.fossa.io/projects/git%2Bgithub.com%2FCarlosLannister%2FOwadeReborn?ref=badge_shield)
* carlos.cilleruelo@edu.uah.es
* david.martinb@edu.uah.es
* alvaro.schuller@edu.uah.es
*... | CarlosLannister/OwadeReborn | README.md | Markdown | gpl-3.0 | 1,551 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.uks.tickets.service;
import com.uks.tickets.model.Event;
import com.uks.tickets.model.Order1;
import com.uks.tickets.model.User;
import javax.mail.MessagingException;
import javax.naming.NamingException;
/*... | bostefan/ticket-guru | src/main/java/com/uks/tickets/service/EmailService.java | Java | gpl-3.0 | 817 |
import os
from django import template
from django.conf import settings
from django.utils.safestring import mark_safe
register = template.Library()
@register.simple_tag()
def custom_css():
theme_path = os.path.join(
settings.MEDIA_ROOT,
"overrides.css"
)
if os.path.exists(theme_path):
... | danielquinn/paperless | src/documents/templatetags/customisation.py | Python | gpl-3.0 | 865 |
#include <stdio.h>
int main ()
{
int arr[1000] = {0}, p, i, j, count;
for (i = 2; i * i < 1000; i++)
if (!arr[i])
for (j = i * 2; j < 1000; j += i)
arr[j] = 1;
printf ("The prime numbers between 1 and 999 are:\n");
for (i = 2, count = 0; i < 1000; i++)
if (!arr[i])
{
printf ("%d", i);
count+... | BOT-Man-JL/BUPT-Projects | 1-1-Introduction-to-Computing/6-15-8/6-15-8-2.c | C | gpl-3.0 | 399 |
##
## This file is part of ACADO Toolkit.
##
## ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
## Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven.
## Developed within the Optimization in Engineering Center (OPTEC) under
## supervision of Moritz Die... | rtkg/acado | examples/my_examples/Makefile | Makefile | gpl-3.0 | 2,278 |
/*
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 usefu... | sharescience/ardupilot | libraries/APM_Control/AR_AttitudeControl.cpp | C++ | gpl-3.0 | 19,898 |
/**
* TrackerMap
*
* @author Alexey Grebenshchikov
* @copyright (c) 2008, by Alexey Grebenshchikov
* @date 14 october 2010
* @version 0.1
*
* @license login.js is licensed under the terms of the Open Source
* LGPL 3.0 license. Commercial use is permitted to the extent that the
* code/component(s) do... | LiveStalker/phermes | tracker/media/js/Application.TrackerMap.js | JavaScript | gpl-3.0 | 3,922 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Watts</title>
<!-- Latest compiled and minified CSS -->
{{ Html::style('css/bootstrap.min.css') }}
<!-- jQuery... | warezjack/Watts | resources/views/login.blade.php | PHP | gpl-3.0 | 2,590 |
/*
* Process Hacker -
* Process properties: Token page
*
* Copyright (C) 2009-2016 wj32
*
* This file is part of Process Hacker.
*
* Process Hacker 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... | Ritan/processhacker2 | ProcessHacker/prpgtok.c | C | gpl-3.0 | 4,407 |
/*
* Copyright (C) 2015 Aaron Lucia
*
* 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 distri... | engineal/FileSync | src/filesync/engine/SyncEvent.java | Java | gpl-3.0 | 1,460 |
NODE_ENV=production ./node_modules/.bin/browserify -t [ babelify --presets [ react es2015 ] ] main.jsx | ./node_modules/uglifyify/node_modules/.bin/uglifyjs -c > bundle.js | vipoo/iRacingReplayOverlay.net | DeploymentSite/build-prod.sh | Shell | gpl-3.0 | 173 |
# Be sure to restart your server when you modify this file.
Rails.application.config.session_store :cookie_store, key: '_todolists_ap_session'
| eddygarcas/ruby_course | first_app/todolists_ap/config/initializers/session_store.rb | Ruby | gpl-3.0 | 144 |
FROM alpine:latest
MAINTAINER ClusterboxCloud <clusterbox@clusterboxcloud.com>
# global environment settings
ENV RCLONE_VERSION="current"
ENV PLATFORM_ARCH="amd64"
# s6 environment settings
ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2
ENV S6_KEEP_ENV=1
# install packages
RUN \
apk update && \
apk add --no-cache \
ca-certif... | clusterbox/docker-rclone | Dockerfile | Dockerfile | gpl-3.0 | 1,372 |
/*
* Copyright (C) 2010-2012 Taylor Leese (tleese22@gmail.com)
*
* This file is part of jappstart.
*
* jappstart 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 Software Foundation, either version 3 of the Licen... | igloooooo/asset-manager | src/main/java/com/assetmanager/form/package-info.java | Java | gpl-3.0 | 905 |
CREATE TABLE "table_3_fy2013_percent_change_in_base_operating_drg_payment_amount" (
"change_in_medicare_payments" text,
"number_of_hospitals_receiving_this_change" real
);
| talos/docker4data | data/socrata/data.medicare.gov/table_3_fy2013_percent_change_in_base_operating_drg_payment_amount/schema.sql | SQL | gpl-3.0 | 174 |
package com.idkjava.thelements;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.view.View;
import android.widget.Button;
import android.widget.Edit... | Keerthanava/The-Elements | TheElements-dev/src/com/idkjava/thelements/Register.java | Java | gpl-3.0 | 1,927 |
<!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_65) on Thu Feb 05 20:10:23 EST 2015 -->
<title>cpw.mods.fml.relauncher (Forge API)</title>
<meta name="date" content="2015-02-05">
<lin... | Foghrye4/ihl | javadoc/cpw/mods/fml/relauncher/package-frame.html | HTML | gpl-3.0 | 4,428 |
<?php
session_start();
$selectedPage="layout";
include "class/db.class.php";
if(isset($_POST) && isset($_FILES['userfile']) && $_FILES['userfile'])
{
include "class/upload.fn.php";
$filename = basename($_FILES['userfile']['name']);
$ext = substr($filename, strrpos($filename, '.') + 1);
$ext = s... | jifilis/racksmith | roomlayout.php | PHP | gpl-3.0 | 20,849 |
---
layout: politician2
title: pillelli sunil
profile:
party: BSP
constituency: Eluru
state: Andhra Pradesh
education:
level:
details: not given
photo:
sex:
caste:
religion:
current-office-title:
crime-accusation-instances: 0
date-of-birth: 1975
profession:
networth:
asse... | vaibhavb/wisevoter | site/politicians/_posts/2013-12-18-pillelli-sunil.md | Markdown | gpl-3.0 | 1,143 |
Bitrix 16.5 Business Demo = 227cf5da6708ef97f99b7b2feb22d99b
| gohdan/DFC | known_files/hashes/bitrix/modules/main/install/components/bitrix/menu/templates/tree/style.css | CSS | gpl-3.0 | 61 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
CTScale2D (POI API Documentation)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
functio... | jmemmons/university-assignments | CSC 445 WebCentric Programming/Final Project/poi-3.14/docs/apidocs/org/apache/poi/sl/draw/binding/CTScale2D.html | HTML | gpl-3.0 | 17,325 |
"""
Given a 2D grid, each cell is either a wall 'W',
an enemy 'E' or empty '0' (the number zero),
return the maximum enemies you can kill using one bomb.
The bomb kills all the enemies in the same row and column from
the planted point until it hits the wall since the wall is too strong
to be destroyed.
Note that you ca... | marcosfede/algorithms | matrix/bomb_enemy.py | Python | gpl-3.0 | 2,524 |
package com.bendude56.bencmd.advanced;
import org.bukkit.*;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.craftbukkit.entity.CraftPlayer;
import org.bukkit.entity.Player;
import com.bendude56.bencmd.BenCmd;
import com.bendude56.bencmd.Commands;
import com.bendude56.benc... | BenCmd/BenCmd | src/com/bendude56/bencmd/advanced/AdvancedCommands.java | Java | gpl-3.0 | 2,794 |
<?php
//http://php.net/manual/fr/language.variables.superglobals.php
//TODO must be completed
namespace framework\utility;
class Superglobals {
const GLOBALS = 0; // all superglobals
const SERVER = 1;
const GET = 2;
const POST = 3;
const FILES = 4;
const COOKIE = 5;
const ... | eric-burel/twentyparts | framework/utility/Superglobals.class.php | PHP | gpl-3.0 | 387 |
/*
Copyright (C) 2014 Andrew Pratt
View the README
*/
#pragma once
#include "quadcore.h"
void clear_correction(struct quad_state *curr);
void accel_correction(struct quad_state *curr, struct quad_state *past, struct quad_static *stat);
void mag_correction(struct quad_state *curr, struct quad_state *past, struct quad... | andrewdipper/quadrotor_v1 | quadcore/correct.h | C | gpl-3.0 | 336 |
/**
******************************************************************************
* @file Examples_MIX/DMA/DMA_FLASHToRAM/Inc/stm32f0xx_it.h
* @author MCD Application Team
* @brief This file contains the headers of the interrupt handlers.
****************************************************************... | Fdepraetre/Handmouse | Software/Handmouse_STM/Lib_DL/STM32Cube_FW_F0_V1.8.0/Projects/STM32F072RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Inc/stm32f0xx_it.h | C | gpl-3.0 | 2,967 |
require 'package'
class Libxdmcp < Package
description 'The libXdmcp package contains a library implementing the X Display Manager Control Protocol.'
homepage 'http://www.x.org'
@_ver = '1.1.3'
version "#{@_ver}-2"
license 'MIT'
compatibility 'all'
source_url 'https://gitlab.freedesktop.org/xorg/lib/libx... | skycocker/chromebrew | packages/libxdmcp.rb | Ruby | gpl-3.0 | 1,505 |
from distutils.core import setup
# Dummy setup.py to install libtorrent for python 2.7 using pip
setup(
name='libtorrent',
version='1.0.9',
packages=['libtorrent',],
data_files=[('Lib', ['libtorrent/libtorrent.pyd']),],
)
# Install in "editable mode" for development:
# pip install -e .
| overfl0/Bulletproof-Arma-Launcher | dependencies/libtorrent/setup.py | Python | gpl-3.0 | 303 |
{"address":["NLix (Hilversum, Netherlands)","Sumatralaan 45","Hilversum, Netherlands"],"buildings":[{"latitude":"52.2351344","longitude":"5.1726535","address":["Sumatralaan 45","Hilversum, Netherlands"],"offset":"background:url('images/markers.png') no-repeat -22px 0;","id":15145}],"name":"NLix (Hilversum, Netherlands)... | brangerbriz/webroutes | nw-app/telegeography-data/internetexchanges/internet-exchanges/nlix-hilversum-netherlands.js | JavaScript | gpl-3.0 | 681 |
/*******************************************************************************
* This file is part of RedReader.
*
* RedReader 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 Lic... | derekwang2012/rrr | src/main/java/org/lol/reddit/common/UniqueSynchronizedQueue.java | Java | gpl-3.0 | 1,403 |
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Tree View</title>
<link rel="stylesheet" href=" ../../../Styles/commonLibs/bootstrap/v3.3.7/bootstrap.min.css">
<!-- <link href="./css/bootstrap-treeview.css" rel="stylesheet"> -->
</head>
<body>
<div class="container">
<h1>Bootstrap Tree View</h1... | alexperusso/Screen | WebContent/Scripts/common/bootstrap-treeview/Bootstrap Tree View.html | HTML | gpl-3.0 | 29,915 |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateIgnoreListTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('ignore_list'... | jcsston/CosmoMongerPHP | database/migrations/2019_08_31_035424_create_ignore_list_table.php | PHP | gpl-3.0 | 764 |
from pyFTS.common import FuzzySet, Membership
import numpy as np
from scipy.spatial import KDTree
import matplotlib.pylab as plt
import logging
class Partitioner(object):
"""
Universe of Discourse partitioner. Split data on several fuzzy sets
"""
def __init__(self, **kwargs):
"""
Univ... | petroniocandido/pyFTS | pyFTS/partitioners/partitioner.py | Python | gpl-3.0 | 12,188 |
( function( window ) {
"use strict";
window.innerWidth = 600;
window.innerHeight = 400;
window.gadget = window.gadget || {};
window.gadget.settings = {
"params": {},
"additionalParams": {
"interactivity": {
"interactive": false,
"scrollbars": false
},
"refresh": 0,
... | Rise-Vision/widget-web-page | test/data/webpage-unload.js | JavaScript | gpl-3.0 | 532 |
package wire
import (
"bytes"
"fmt"
"reflect"
"testing"
"time"
. "github.com/eris-ltd/mint-client/Godeps/_workspace/src/github.com/tendermint/tendermint/common"
)
type SimpleStruct struct {
String string
Bytes []byte
Time time.Time
}
type Animal interface{}
const (
AnimalTypeCat = byte(0x01)
Animal... | alist/mint-client | Godeps/_workspace/src/github.com/tendermint/tendermint/wire/reflect_test.go | GO | gpl-3.0 | 12,198 |
/* Traverse a file hierarchy.
Copyright (C) 2004-2009 Free Software Foundation, Inc.
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 optio... | hpc/Parallel-coreutils | lib/fts.c | C | gpl-3.0 | 56,570 |
/*
* COPYRIGHT (C) 2017-2021, zhllxt
*
* author : zhllxt
* email : 37792738@qq.com
*
* Distributed under the GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
* (See accompanying file LICENSE or see <http://www.gnu.org/licenses/>)
*/
/*
Perfect capture in C++20
template <typename ... Args>
auto f(Args&... | zhllxt/asio2 | asio2/rpc/component/rpc_call_cp.hpp | C++ | gpl-3.0 | 25,540 |
/*
Winegame - small utility to prepare Wine and install win32 apps in it.
Copyright (C) 2010 Pavel Zinin <pzinin@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 ... | pashazz/winegame | src/about.cpp | C++ | gpl-3.0 | 1,378 |
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class AIbehaviorComparisonExpressionDefinition : AIbehaviorPassiveExpressionDefinition
{
[Ordinal(0)] [RED("leftHandSide")] public CHandle<AIbehaviorExpressionSocket> LeftHandSide { get; ... | Traderain/Wolven-kit | CP77.CR2W/Types/cp77/AIbehaviorComparisonExpressionDefinition.cs | C# | gpl-3.0 | 655 |
/*
* Copyright (C) 2017 i.leontyev81@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.
*
* This progr... | ileontyev81/admin_atc_zk | src/main/java/atc/gui/admin/zk/viewmodel/UsersVM.java | Java | gpl-3.0 | 2,201 |
// staff-global.js
if ( KOHA === undefined ) var KOHA = {};
function _(s) { return s; } // dummy function for gettext
// http://stackoverflow.com/questions/1038746/equivalent-of-string-format-in-jquery/5341855#5341855
String.prototype.format = function() { return formatstr(this, arguments) }
function formatstr(str, c... | misilot/Koha | koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js | JavaScript | gpl-3.0 | 4,787 |
'''
command_line.py
Utility functions for reading command line arguments.
Author:
Martin Norbury
Novemeber 2013
'''
import inspect
import argparse
def command_line(fn):
'''
A decorator for functions intented to be run from the command line.
This decorator introspects the method signature of the ... | mnorbury/scriptutil | src/scriptutil/command_line.py | Python | gpl-3.0 | 2,055 |
// Copyright (c) The University of Dundee 2018-2019
// This file is part of the Research Data Management Platform (RDMP).
// RDMP 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... | HicServices/RDMP | Rdmp.Core/CommandExecution/ICommandExecution.cs | C# | gpl-3.0 | 2,687 |
package com.abstractedsheep.shuttletracker;
public class FavoriteStop {
public final String stopId;
public final int routeId;
public FavoriteStop(int routeId, String stopId) {
this.routeId = routeId;
this.stopId = stopId;
}
public String getUniqueId() {
return stopId + String.valueOf(routeId);
}
@Ov... | AbstractedSheep/Shuttle-Tracker | android/shuttle-tracker-android/src/com/abstractedsheep/shuttletracker/FavoriteStop.java | Java | gpl-3.0 | 701 |
/**
* Copyright Intermesh
*
* This file is part of Group-Office. You should have received a copy of the
* Group-Office license along with Group-Office. See the file /LICENSE.TXT
*
* If you have questions write an e-mail to info@intermesh.nl
*
* @version $Id: EventPanel.js 22112 2018-01-12 07:59:41Z mschering $
... | deependhulla/powermail-debian9 | files/rootdir/usr/local/src/groupoffice-6.3/modules/calendar/EventPanel.js | JavaScript | gpl-3.0 | 1,612 |
#!/usr/bin/perl
#
# Make a crude tally of main courses in a specified meal.
#
# [created. -- rgr, 14-Dec-19.]
#
use strict;
use warnings;
use Getopt::Long;
use lib '.';
use Food::Meal;
my $recipe_file_name = 'recipes.text';
my $meal_name = 'dinner';
GetOptions('meal=s' => \$meal_name,
'recipe-file=s' => \$re... | rgrjr/meals | tally-meals.pl | Perl | gpl-3.0 | 1,265 |
#include <QDebug>
#include <QPointer>
#include <QtPlugin>
#include <QIcon>
#include <QApplication>
#include <QWidget>
#include <ExtensionSystemConstants>
#include "PraalineCore/Corpus/Corpus.h"
#include "PraalineCore/Datastore/CorpusRepository.h"
#include "PraalineCore/Datastore/AnnotationDatastore.h"
#include "Analy... | praaline/Praaline | app/statistics/disfluencies/StatisticsPluginDisfluencies.cpp | C++ | gpl-3.0 | 3,190 |
/*
Minetest
Copyright (C) 2013 sapier, <sapier AT gmx DOT net>
This program 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 Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
This p... | dicebox/minetest-france | minetest/src/script/cpp_api/s_async.h | C | gpl-3.0 | 4,053 |
<!DOCTYPE html>
<html>
<head>
<title>Financial Table Widget</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8" />
<link rel="stylesheet" href="css/widget.min.css"/>
</head>
<body>
<div id="container">
</div>
<script src="//ajax.googleapis.com/ajax/libs/jqu... | Rise-Vision/widget-financial-table | dist/widget.html | HTML | gpl-3.0 | 1,221 |
/*! \brief The view controller for the crossword entry table.
*/
#pragma once
#include <QModelIndex>
#include <QTableView>
namespace ui {
class CrosswordEntryTableViewController : public QTableView {
Q_OBJECT
public:
explicit CrosswordEntryTableViewController(QWidget* parent = 0);
void sortEntriesBy... | Tw1ddle/Blind-Crossword-3D | sources/ui/crosswordentrytableviewcontroller.h | C | gpl-3.0 | 1,450 |
from django.http import HttpResponseRedirect, JsonResponse
from django.views.generic import CreateView, UpdateView
from django.contrib.messages.views import SuccessMessageMixin
from .models import HistoriaClinica, Patologia
from .forms import HistoriaClinicaForms
from apps.afiliados.models import Titular, Adherente
f... | montenegroariel/sigos | apps/historias_clinicas/views.py | Python | gpl-3.0 | 4,039 |
/*
File: expreval.c
Auth: Brian Allen Vanderburg II
Date: Wednesday, April 30, 2003
Desc: Evaluation routines for the ExprEval library
This file is part of ExprEval.
*/
/* Includes */
#include "exprincl.h"
#include "exprpriv.h"
/* Defines for error checking */
#include <errno.h>
#if (EXPR_ERROR... | satishagrwal/Assignment | freeswitch_git/mod/applications/mod_expr/expreval.c | C | gpl-3.0 | 4,838 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.