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 |
|---|---|---|---|---|---|
/*
* Phamhilator. A .Net based bot network catching spam/low quality posts for Stack Exchange.
* Copyright © 2015, ArcticEcho.
*
* 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 ver... | ArcticEcho/Phamhilator | Updater/Version.cs | C# | gpl-3.0 | 2,956 |
<html>
<head>
<meta charset="utf-8"/>
</head>
<body>
<textarea rows="4" cols="50" id="textbox">314,west 34 street,manhattan</textarea>
<button type="button" id="my-button">Geocode!</button>
<script type="text/javascript" src="out/main.js"></script>
</body>
</html
| aepyornis/nyc-geocoder | index.html | HTML | gpl-3.0 | 303 |
package org.exreco.liff.core;
import java.util.LinkedList;
import java.util.List;
public class Cell {
private List<Replicator> replicators = new LinkedList<Replicator>();
public List<Replicator> getReplicators() {
return replicators;
}
public void setReplicators(List<Replicator> replicators) {
this.repl... | bekisz/exreco | src/main/java/org/exreco/liff/core/Cell.java | Java | gpl-3.0 | 349 |
/***********************************************************************
Copyright (c) 2012 "Marco Gulino <marco.gulino@gmail.com>"
This file is part of Touché: https://github.com/rockman81/Touche
Touché is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as pu... | GuLinux/Touche | GUI/EditProfiles.cpp | C++ | gpl-3.0 | 2,382 |
# -*-coding: utf-8-*-
import logging
from pyramid.view import view_config, view_defaults
from pyramid.httpexceptions import HTTPFound
from . import BaseView
from ..models import DBSession
from ..models.account_item import AccountItem
from ..lib.bl.subscriptions import subscribe_resource
from ..lib.utils.common_utils... | mazvv/travelcrm | travelcrm/views/accounts_items.py | Python | gpl-3.0 | 6,534 |
<?php
if(!isset($nojs) || !$nojs) require('funcwm.php');
if(!$is_connected)
exit('<div id=notcon>Vous devez être connecté pour accéder au contenu de cette page</div>');
?>
<div id=ctn-trade>
<h1><i class="fa fa-building"></i> Bureau des échanges</h1>
<h4><i class="fa fa-exchange"></i> Consultez la <a class="fa... | Anyon3/ninjacms | php/trade.php | PHP | gpl-3.0 | 1,697 |
/*
* File: app/view/createBucketWindow.js
*
* This file was generated by Sencha Architect version 3.0.4.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.2.x library, under independent license.
* License of Sencha Architect does not include license for Ext JS 4.2.x. For more... | OpenSourceConsulting/athena-peacock | console/app/view/createBucketWindow.js | JavaScript | gpl-3.0 | 4,523 |
<?php defined('SYSPATH') OR die('No direct access allowed.');
// DO NOT EDIT
// This file is automatically generated from the matching PO file
// Updates should be made through Transifex
// I18n generated at: 2013-06-27 06:19+0000
// PO revision date: 2013-06-26 08:07+0000
$lang = array(
'incident_id' => array(
're... | deyperez/ati | application/i18n/nl_NL/reports.php | PHP | gpl-3.0 | 894 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package gumga.framework.domain.domains;
import java.util.Objects;
/**
* Representa um CNPJ
*
* @author munif
*/
public class Gumg... | GUMGA/framework-backend | gumga-domain/src/main/java/gumga/framework/domain/domains/GumgaCNPJ.java | Java | gpl-3.0 | 1,331 |
/*
* Copyright (c) 2012 Nicholas Okunew
* All rights reserved.
*
* This file is part of the com.atomicleopard.expressive library
*
* The com.atomicleopard.expressive library is free software: you
* can redistribute it and/or modify it under the terms of the GNU
* Lesser General Public License... | atomicleopard/Expressive | src/main/java/com/atomicleopard/expressive/collection/Pair.java | Java | gpl-3.0 | 2,369 |
<HTML >
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252" />
<TITLE>InvY Attribute</TITLE>
<LINK REL="stylesheet" TYPE="text/css" HREF="../common/ie4.css" />
<LINK REL="stylesheet" TYPE="text/css" HREF="../common/ie5.css" />
<style>
BODY
{
font-family:verdana,arial,helvetica;
margin:0;
}... | gucong3000/handbook | dhtml/DHTML/DHTMLref/vml/hand_invy.html | HTML | gpl-3.0 | 3,715 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<META http-equiv="Content-Language" content="zh-cn">
<TITLE>STRIKE ÔªËØ | strike</TITLE>
<STYLE TYPE="text/css">
@import url("../common/common.css");
</style>
<SCRIPT TYPE="t... | gucong3000/handbook | dhtml/DHTML/DHTMLref/objects/STRIKE.html | HTML | gpl-3.0 | 63,833 |
package uk.co.nickthecoder.itchy.remote;
import java.io.File;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import uk.co.nickthecoder.itchy.Itchy;
import uk.co.nickthecoder.itchy.Resources;
import uk.co.nickthecoder.itchy.SimpleFrameRate;
import uk.co.nickthecoder.itchy.StandardSou... | nickthecoder/itchy | src/main/java/uk/co/nickthecoder/itchy/remote/Server.java | Java | gpl-3.0 | 5,020 |
//
// Generated By:JAX-WS RI IBM 2.2.1-11/28/2011 08:28 AM(foreman)- (JAXB RI IBM 2.2.3-11/28/2011 06:21 AM(foreman)-)
//
package com.gisnet.cancelacion.wsclient.pms;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaT... | tazvoit/ARPP | cancelacion/cancelacion-web/src/main/java/com/gisnet/cancelacion/wsclient/pms/ValidarCredito.java | Java | gpl-3.0 | 6,433 |
namespace Ladybugs
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Start
{
public static int arraySize = 0;
public static void Main()
{
arraySize = int.Parse(Console.ReadLine());
int[] arr = new int[arraySize];
... | PlamenHP/Softuni | Programing Fundamentals/Programming Fundamentals Exam - Part 1 - 23 October 2016/Ladybugs/Start.cs | C# | gpl-3.0 | 3,769 |
subroutine writefits(nxmax,nymax,parray,fileout,time)
!Jason Rowe 2015 - jasonfrowe@gmail.com
use precision
implicit none
integer :: nxmax,nymax,nkeys,nstep,status,blocksize,bitpix,naxis,funit, &
npixels,group,firstpix,nbuf,i,j,nbuffer
integer, dimension(2) :: naxes
integer, dimension(4) :: nr
real(double) :: time
r... | jasonfrowe/jwst | specgen/utils/writefits.f90 | FORTRAN | gpl-3.0 | 5,513 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>AFL Match Statistics : West Coast defeats Essendon at Domain Stadium Round 15 Thursday, 30th June 2016</TITLE>
<meta NAME="description" CONTENT="West Coast defeats Essendon at Domain Stadium Round 15 Thursday, 30th June 2016 AFL m... | criffy/aflengine | matchfiles/footywire_adv/footywire_adv6292.html | HTML | gpl-3.0 | 148,281 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<titl... | libcrosswind/libcrosswind | platform/windows/support/cmake/doc/cmake/html/manual/cmake-gui.1.html | HTML | gpl-3.0 | 19,477 |
package cn.nukkit.item;
/**
* author: MagicDroidX
* Nukkit Project
*/
public class Clay extends Item {
public Clay() {
this(0, 1);
}
public Clay(Integer meta) {
this(meta, 1);
}
public Clay(Integer meta, int count) {
super(CLAY, meta, count, "Clay");
}
}
| LinEvil/Nukkit | src/main/java/cn/nukkit/item/Clay.java | Java | gpl-3.0 | 310 |
# -*- coding: utf-8 -*-
import classes.level_controller as lc
import classes.game_driver as gd
import classes.extras as ex
import classes.board
import random
import pygame
class Board(gd.BoardGame):
def __init__(self, mainloop, speaker, config, screen_w, screen_h):
self.level = lc.Level(self,mainloop,5,... | OriHoch/pysiogame | game_boards/game070.py | Python | gpl-3.0 | 12,968 |
<?php
return array (
'Find documents that include...' => 'Trova documenti che contengono…',
'Only search in the current folder' => 'Cerca solo nella cartella corrente',
'All these words' => 'Tutte queste parole',
'Exact wording or phrase' => 'Testo uguale',
'Filename like' => 'Come nome file',
'One or more ... | deependhulla/powermail-debian9 | files/rootdir/usr/local/src/groupoffice-6.3/modules/filesearch/language/it.php | PHP | gpl-3.0 | 1,747 |
package tsdb.util.gui;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.io.OutputStream;
public interface PureImage {
BufferedImage getBufferedImage();
void writeJpeg(OutputStream out, float quality) throws IOException;
}
| environmentalinformatics-marburg/tubedb | src/tsdb/util/gui/PureImage.java | Java | gpl-3.0 | 269 |
<!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 -->
<title>Handler_metadata (TubeDB)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type=... | environmentalinformatics-marburg/tubedb | docs/javadoc/tsdb/web/api/Handler_metadata.html | HTML | gpl-3.0 | 11,871 |
<?php
session_start();
error_reporting(0);
require '../lib/Medoo.php';
use Medoo\Medoo;
require '../lib/Spyc/Spyc.php';
require '../config.php';
if(is_file(FC_CONTENT_DIR.'/config.php')) {
include FC_CONTENT_DIR.'/config.php';
}
if(is_file(FC_CONTENT_DIR.'/config_smtp.php')) {
include FC_CONTENT_DIR.'/config_smtp.... | flatCore/flatCore-CMS | acp/acp.php | PHP | gpl-3.0 | 15,464 |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
// Include a header file from your module to test.
#include "ns3/plc-fd.h"
// An essential include is test.h
#include "ns3/test.h"
// Do not put your test classes in namespace ns3. You may find it useful
// to use the using directive to access the ns... | tsokalo/ghn-plc | plc-fd/test/plc-fd-test-suite.cc | C++ | gpl-3.0 | 1,846 |
#!/bin/sh
rm -f wdbc-test.ds
# creates training dataset for nntool
./dstool -create wdbc-test.ds
./dstool -create:30:input wdbc-test.ds
./dstool -create:1:output wdbc-test.ds
./dstool -list wdbc-test.ds
./dstool -import:0 wdbc-test.ds wdbc.in
./dstool -import:1 wdbc-test.ds wdbc.out
./dstool -padd:0:meanvar wdbc-tes... | cslr/dinrhiw2 | tools/test_data2_bayes.sh | Shell | gpl-3.0 | 986 |
<?php
/**
* Single Student View: Memberships Tab
*
* @package LifterLMS/Templates/Admin
*
* @since Unknown
* @version Unknown
*/
defined( 'ABSPATH' ) || exit;
if ( ! is_admin() ) {
exit;
}
$table = new LLMS_Table_Student_Memberships();
$table->get_results(
array(
'student' => $student,
)
);
echo $table->... | gocodebox/lifterlms | templates/admin/reporting/tabs/students/memberships.php | PHP | gpl-3.0 | 338 |
{% extends "base.html" %}
{% block title %}Dishonesty Case for {{case.student.name}}: New File{% endblock %}
{% block h1 %}Dishonesty Case for {{case.student.name}}: New File{% endblock %}
{% block subbreadcrumbs %}<li><a href="{% url "offering:course_info" course_slug=course.slug %}">{{ course.name }}</a></li><li><a ... | sfu-fas/coursys | templates/discipline/new_file.html | HTML | gpl-3.0 | 1,541 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>HLC: C:/Users/Jaime/Documents/My Dropbox/project/arduino/hlc_v0_4/meshN... | jaimeyu/QuadRotor | Capstone-Doc/HLC/html/mesh_network_8h_source.html | HTML | gpl-3.0 | 20,814 |
/*
* Copyright (C) 2010-2012 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2005-2012 MaNGOS <http://www.getmangos.com/>
* Copyright (C) 2008-2012 Trinity <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Genera... | SkyFireArchives/SkyFireEMU_420 | src/server/scripts/Outland/boss_doomlord_kazzak.cpp | C++ | gpl-3.0 | 5,868 |
#!/usr/bin/env python3
# - coding: utf-8 -
# Copyright (C) 2010 Matías Ribecky <matias at mribecky.com.ar>
# Copyright (C) 2010-2012 Toms Bauģis <toms.baugis@gmail.com>
# Copyright (C) 2012 Ted Smith <tedks at cs.umd.edu>
# This file is part of Project Hamster.
# Project Hamster is free software: you can redistribut... | projecthamster/hamster | src/hamster-cli.py | Python | gpl-3.0 | 18,772 |
var subdomain = require('express-subdomain');
var express = require('express');
var app = express();
var router = express.Router();
var moment = require('moment');
var time = moment();
var timeFormat = time.format('HH:mm:ss');
app.get('/', function(req, res) {
res.sendFile(__dirname + '/index.html');
});
app.listen(3... | ricven/qwns.org | app.js | JavaScript | gpl-3.0 | 369 |
package com.github.epd.sprout.actors.buffs;
import com.github.epd.sprout.actors.blobs.Blob;
import com.github.epd.sprout.actors.blobs.ToxicGas;
import com.github.epd.sprout.messages.Messages;
import com.github.epd.sprout.scenes.GameScene;
import com.github.epd.sprout.ui.BuffIndicator;
import com.watabou.utils.Bundle;
... | G2159687/espd | app/src/main/java/com/github/epd/sprout/actors/buffs/ToxicImbue.java | Java | gpl-3.0 | 1,277 |
/*
* Copyright (C) 2020 GeorgH93
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program ... | GeorgH93/Bukkit_Bungee_PluginLib | pcgf_pluginlib-common/src/at/pcgamingfreaks/Database/Cache/ICacheablePlayer.java | Java | gpl-3.0 | 1,275 |
/*******************************************************************************
**
** Monte Carlo eXtreme (MCX) - GPU accelerated Monte Carlo 3D photon migration
** Author: Qianqian Fang <q.fang at neu.edu>
**
** Reference (Fang2009):
** Qianqian Fang and David A. Boas, "Monte Carlo Simulation of Photon
**... | fninaparavecino/mcx | src/tictoc.c | C | gpl-3.0 | 4,199 |
package com.pk.controller.admin;
import com.pk.framework.vo.Result;
import com.pk.model.admin.SysTree;
import com.pk.service.admin.SysTreeService;
import com.pk.vo.admin.SysTreeSearchVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springfr... | jakey766/web_base | src/main/java/com/pk/controller/admin/SysTreeController.java | Java | gpl-3.0 | 2,156 |
package org.pwr.transporter.server.web.services.sales;
import java.util.List;
import java.util.Map;
import org.pwr.transporter.entity.sales.SalesOrder;
import org.pwr.transporter.server.business.sales.SalesOrderLogic;
import org.pwr.transporter.server.core.hb.criteria.Criteria;
import org.pwr.transporter.server.web.... | InfWGospodarce/projekt | transporter-server/src/org/pwr/transporter/server/web/services/sales/SalesOrderService.java | Java | gpl-3.0 | 1,984 |
/////////////////////////////////////////////////////////////////////////////
//
// Project ProjectForge Community Edition
// www.projectforge.org
//
// Copyright (C) 2001-2022 Micromata GmbH, Germany (www.micromata.com)
//
// ProjectForge is dual-licensed.
//
// This community edition is free software; you can... | micromata/projectforge | projectforge-business/src/main/java/org/projectforge/business/humanresources/HRPlanningEntryDao.java | Java | gpl-3.0 | 9,163 |
/***************************************************************************************
* *
* Copyright (c) 2012 Norbert Nagold <norbert.nagold@gmail.com> *
* ... | stockcode/vicky-learn | src/main/java/com/ichi2/anki/CardEditor.java | Java | gpl-3.0 | 61,360 |
/**
* BNField2.java
*
* Arithmetic in the finite extension field GF(p^2) with p = 3 (mod 4) and p = 4 (mod 9).
*
* Copyright (C) Paulo S. L. M. Barreto and Pedro d'Aquino F. F. de Sa' Barbuda.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Genera... | credentials/bouncycastle-ext | src/org/bouncycastle/math/ec/bncurves/BNField2.java | Java | gpl-3.0 | 10,192 |
package gmm.service.data.xstream;
import org.springframework.stereotype.Service;
import com.thoughtworks.xstream.converters.Converter;
import com.thoughtworks.xstream.converters.MarshallingContext;
import com.thoughtworks.xstream.converters.UnmarshallingContext;
import com.thoughtworks.xstream.io.HierarchicalStreamRe... | Katharsas/GMM | src/main/java/gmm/service/data/xstream/IdReferenceConverter.java | Java | gpl-3.0 | 1,221 |
'use strict';
module.exports = function() {
// Occupy the global variable of Chart, and create a simple base class
var Chart = function(item, config) {
this.construct(item, config);
return this;
};
// Globally expose the defaults to allow for user updating/changing
Chart.defaults = {
global: {
responsi... | danilor/DigitalKataclysm | web/assets/chartsjs/unkown/core/core.js | JavaScript | gpl-3.0 | 1,556 |
# FindMATIO
#
# Try to find MATIO library
#
# Once done this will define:
#
# MATIO_FOUND - True if MATIO found.
# MATIO_LIBRARIES - MATIO libraries.
# MATIO_INCLUDE_DIRS - where to find matio.h, etc..
# MATIO_VERSION_STRING - version number as a string (e.g.: "1.3.4")
#
#=========================================... | luis-esteve/gnss-sdr | cmake/Modules/FindMATIO.cmake | CMake | gpl-3.0 | 3,807 |
package lumaceon.mods.clockworkphase2.handler;
import lumaceon.mods.clockworkphase2.api.item.IToolUpgrade;
import lumaceon.mods.clockworkphase2.capabilities.coordinate.ICoordinateHandler;
import lumaceon.mods.clockworkphase2.config.ConfigValues;
import lumaceon.mods.clockworkphase2.init.ModBiomes;
import lumaceon.mods... | Lumaceon/ClockworkPhase2 | src/main/java/lumaceon/mods/clockworkphase2/handler/WorldHandler.java | Java | gpl-3.0 | 14,057 |
{% load i18n %}
{% load staticfiles %}
{% load format %}
<!DOCTYPE html>
<html lang="{{ LANGUAGE_CODE|default:"en" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
<head>
{% include 'user/layout.head.html' %}
</head>
<body>
{% block after_body %}
{% endblock %}
<div class="navbar navbar-inverse" role="navigation"... | KenanBek/django-template | app/files/templates/user/layout.html | HTML | gpl-3.0 | 2,909 |
---
layout: politician2
title: suresh kumar shetkar
profile:
party: INC
constituency: Zahirabad
state: Andhra Pradesh
education:
level: Graduate
details: b.sc.(agri) in 1982-83 from maralwada agriculture university,parbhani,maharashtra
photo:
sex:
caste:
religion:
current-office-title: M... | vaibhavb/wisevoter | site/politicians/_posts/2013-12-18-suresh-kumar-shetkar.md | Markdown | gpl-3.0 | 1,696 |
#!/bin/bash
# scrub.sh uses the autopep8 tool to clean up whitespace and other small bits
# E261 = double space before inline comment
# E501 = don't squeeze lines to fix max length
# E302 = don't go crazy with the double whitespace between funcs
# E401 = don't put imports on separate lines
# E309 = don't put a blank l... | gnott/bot-lax-adaptor | .scrub.sh | Shell | gpl-3.0 | 474 |
ThrowCraft
==========
| aggurai/ThrowCraft | README.md | Markdown | gpl-3.0 | 22 |
/* -*- mode: c; c-basic-offset: 2; indent-tabs-mode: nil; -*- */
// Copyright © 2016 Associated Universities, Inc. Washington DC, USA.
//
// This file is part of vysmaw.
//
// vysmaw 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 ... | mpokorny/vysmaw | src/spectrum_reader.h | C | gpl-3.0 | 1,212 |
<?php
namespace Faid\Dispatcher {
use Faid\Request\Request;
use \Faid\StaticObservable;
use \Faid\Request\HttpRequest;
class Dispatcher extends StaticObservable
{
/**
* @var array
*/
protected $routes = array();
/**
* @var Route
... | Gudwin/faid | src/Dispatcher/Dispatcher.php | PHP | gpl-3.0 | 2,217 |
package sync
import (
"testing"
"time"
. "github.com/franela/goblin"
)
func TestOnce(t *testing.T) {
g := Goblin(t)
g.Describe("#Once", func() {
g.It("should return nil only once for one id", func() {
var id = "1"
g.Assert(Once(id) == nil).IsTrue()
g.Assert(Once(id) == nil).IsFalse()
g.Assert(Once... | getblank/blank-sr | sync/oncer_test.go | GO | gpl-3.0 | 689 |
require 'package'
class Gdal < Package
description 'The Geospatial Data Abstraction Library is a translator for raster and vector geospatial data formats.'
homepage 'http://www.gdal.org/'
version '1.11.5'
source_url 'http://download.osgeo.org/gdal/1.11.5/gdal-1.11.5.tar.xz'
source_sha256 'd4fdc3e987b9926545f... | richard-fisher/chromebrew | packages/gdal.rb | Ruby | gpl-3.0 | 891 |
//------------------------------------------------------------------------------
// <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>
//--... | seanfdnn/CaptainSonarRadioOp | CaptainSonarAi/Properties/Settings.Designer.cs | C# | gpl-3.0 | 1,071 |
#import <Foundation/Foundation.h>
@interface NameFormatter : NSObject
@property (copy, nonatomic) NSString *title;
@property (copy, nonatomic) NSString *subtitle;
- (id)initWithName:(NSString *)name;
@end
| tatey/NextStop | NextStop/NameFormatter.h | C | gpl-3.0 | 209 |
#include <iostream>
#include <iomanip>
#include <random>
using namespace std;
// ºìºÚÊ÷µÄÐÔÖÊ
// 1 ÿ¸ö½ÚµãҪôÊǺìµÄ£¬ÒªÃ´ÊǺڵÄ
// 2 ¸ù½ÚµãÊǺڵÄ
// 3 Èç¹ûÒ»¸ö½ÚµãÊǺìµÄ£¬ÔòËüµÄÁ½¸ö¶ù×Ó¶¼ÊǺڵÄ
// 4 ¶Ôÿ¸ö½Úµã£¬´Ó¸Ã½Úµãµ½Æä×ÓËï½ÚµãµÄËùÓз¾¶Éϰüº¬ÏàͬÊýÄ¿µÄºÚ½Úµã
class RedBlackTree {
public:
RedBlackTree() {
ni... | Yoleimei/SourceCodeRepo | DataStructure_Algorithm/DataStructure/Tree/RedBlackTree/RedBlackTree.cpp | C++ | gpl-3.0 | 8,403 |
/*****************************************************************
* This file is part of Managing Agricultural Research for Learning &
* Outcomes Platform (MARLO).
* MARLO 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 Soft... | CCAFS/MARLO | marlo-web/src/main/java/org/cgiar/ccafs/marlo/action/json/project/DeliverableMetadataByWOS.java | Java | gpl-3.0 | 26,925 |
#include<iostream>
using namespace std;
int main(){
int t, a, b;
cin >> t;
while(t--){
cin >> a >> b;
cout << ((a%b == 0)? "YES\n" : "NO\n");
}
}
| tadvent/OnlineJudgeSolutions-Cpp | HDOJ/2075_A%B?/2075_A%B?/main.cpp | C++ | gpl-3.0 | 178 |
( function ( mw, $ ) {
/**
* LoginForm
* TODO: .js dédié à l'authentificatioin ...
*/
if ( mw.config.get('wgTitle') == 'Connexion' && $('.mgw-alert').length ) {
$('.mgw-alert').css({'margin':'0 0 1em 0', 'padding':'0.5em', 'width':'275px'});
$('.mgw-alert i').css({'margin-left':'0'});
$('#userloginForm .... | WikiValley/MGWiki | resources/ext.mgwiki.js | JavaScript | gpl-3.0 | 11,908 |
# encoding=utf-8
from gi.repository import Gtk
from .i18n import _
class AboutDialog(Gtk.AboutDialog):
def __init__(self, parent):
super(AboutDialog, self).__init__(title=_('About'), parent=parent)
self.set_modal(True)
self.set_program_name('Ydict')
self.set_authors(['Wiky L<wiii... | wiiiky/ydict | pydict/about.py | Python | gpl-3.0 | 743 |
/**
******************************************************************************
* @file DMA2D/DMA2D_MemToMemWithLCD/Inc/stm32f4xx_it.h
* @author MCD Application Team
* @version V1.1.0
* @date 17-February-2017
* @brief This file contains the headers of the interrupt handlers.
**********... | TRothfelder/Multicopter | libs/STM32Cube_FW_F4_V1.16.0/Projects/STM32469I_EVAL/Examples/DMA2D/DMA2D_MemToMemWithLCD/Inc/stm32f4xx_it.h | C | gpl-3.0 | 3,268 |
/*
LogMyNight - Android app for logging night activities.
Copyright (c) 2010 Michael Greifeneder <mikegr@gmx.net>, Oliver Selinger <oliver.selinger@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 ... | mikegr/aLogMyNight | src/at/madexperts/logmynight/HistoryActivity.java | Java | gpl-3.0 | 11,055 |
package com.github.lazylazuli.lib.common.block.state;
import mcp.MethodsReturnNonnullByDefault;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.EnumBlockRenderType;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import javax.annotation.ParametersAreNonnullByDefault;
... | lazylazuli/LazyLazuliLib | src/main/java/com/github/lazylazuli/lib/common/block/state/BlockStateTile.java | Java | gpl-3.0 | 730 |
#region Copyright & License Information
/*
* Copyright 2007-2013 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
* see COP... | TiriliPiitPiit/OpenRA | OpenRA.FileFormats/WVec.cs | C# | gpl-3.0 | 3,550 |
package com.abm.mainet.rnl.service;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.List;
import javax.annotation.Resource;
import org.apache.commons.lang.StringUtils;
import org.apache.l... | abmindiarepomanager/ABMOpenMainet | Mainet1.1/MainetServiceParent/MainetServiceRnL/src/main/java/com/abm/mainet/rnl/service/EstateBookingServiceImpl.java | Java | gpl-3.0 | 21,560 |
// Cekirdekler API: a C# explicit multi-device load-balancer opencl wrapper
// Copyright(C) 2017 Hüseyin Tuğrul BÜYÜKIŞIK
// 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, ... | tugrul512bit/Cekirdekler | Cekirdekler/Cekirdekler/ClPlatform.cs | C# | gpl-3.0 | 7,121 |
// CANAPE Network Testing Tool
// Copyright (C) 2014 Context Information Security
//
// 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
// (... | ctxis/canape | CANAPE.Documents/Net/Factories/ProxyFilterFactory.cs | C# | gpl-3.0 | 2,613 |
package de.rohmio.lol.api.endpoint.staticdata;
import java.lang.reflect.Type;
import java.util.Locale;
import de.rohmio.lol.api.endpoint.constant.RuneData;
import de.rohmio.lol.api.model.Rune;
public class RuneRequest extends AbstractRequest<Rune> {
public RuneRequest(int id) {
super("/lol/static-data/v3/runes/"... | SuppenNudel/RiotGamesApi | RiotGamesApi/src/de/rohmio/lol/api/endpoint/staticdata/RuneRequest.java | Java | gpl-3.0 | 662 |
package Coinbase::TransactionSend;
use base qw(Coinbase::Request);
use strict;
use constant URL => 'https://coinbase.com/api/v1/transactions/send_money';
use constant ATTRIBUTES => qw(account_id transaction);
sub token_id { my $self = shift; $self->get_set(@_) }
sub attributes { ATTRIBUTES }
sub url {... | peawormsworth/perl-api-coinbase | Coinbase/TransactionSend.pm | Perl | gpl-3.0 | 513 |
package fi.dy.masa.enderutilities.tileentity;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.UUID;
import javax.annotation.Nullable;
import net.minecraft.entity.player.EntityPlayer;
import net.mi... | maruohon/enderutilities | src/main/java/fi/dy/masa/enderutilities/tileentity/TileEntityCreationStation.java | Java | gpl-3.0 | 44,775 |
/* This file is part of Dilay
* Copyright © 2015 Alexander Bau
* Use and redistribute under the terms of the GNU General Public License
*/
#ifndef DILAY_PARTIAL_ACTION_TRIANGULATE_QUAD
#define DILAY_PARTIAL_ACTION_TRIANGULATE_QUAD
class WingedMesh;
class WingedFace;
class AffectedFaces;
namespace PartialAction {
... | UIKit0/dilay | lib/src/partial-action/triangulate-quad.hpp | C++ | gpl-3.0 | 574 |
// Openbravo POS is a point of sales application designed for touch screens.
// Copyright (C) 2007-2009 Openbravo, S.L.
// http://www.openbravo.com/product/pos
//
// This file is part of Openbravo POS.
//
// Openbravo POS is free software: you can redistribute it and/or modify
// it under the terms of... | nordpos-mobi/nordpos-device | src/main/java/com/nordpos/device/display/DeviceDisplay.java | Java | gpl-3.0 | 1,269 |
package com.sk89q.worldedit.command.tool;
import com.boydti.fawe.Fawe;
import com.boydti.fawe.FaweCache;
import com.boydti.fawe.config.BBC;
import com.boydti.fawe.object.FawePlayer;
import com.boydti.fawe.object.RunnableVal;
import com.boydti.fawe.object.brush.BrushSettings;
import com.boydti.fawe.object.brush.Movable... | DarkFort/FastAsyncWorldedit-rus-by-DarkFort | core/src/main/java/com/sk89q/worldedit/command/tool/BrushTool.java | Java | gpl-3.0 | 20,974 |
/// <reference path="/Content/base/ro/js/rocms.helpers.js" />
/// <reference path="base.js" />
function mapCategoriesToIds(categories) {
var result = $(categories).map(function () {
return {
heartId: this.heartId,
childrenCategories: this.childrenCategories ? mapCategoriesToIds(thi... | synweb/rocms | Shop/RoCMS.Shop.Web/Content/admin/shop/js/category.js | JavaScript | gpl-3.0 | 16,969 |
package CGI::Cookie;
use strict;
use warnings;
use if $] >= 5.019, 'deprecate';
our $VERSION='4.38';
use CGI::Util qw(rearrange unescape escape);
use overload '""' => \&as_string, 'cmp' => \&compare, 'fallback' => 1;
my $PERLEX = 0;
# Turn on special checking for ActiveState's PerlEx
$PERLEX++ if defined($ENV{'GAT... | kiamazi/mira | local/lib/perl5/CGI/Cookie.pm | Perl | gpl-3.0 | 17,503 |
/********************************************************************
** Nulloy Music Player, http://nulloy.com
** Copyright (C) 2010-2014 Sergey Vlasov <sergey@vlasov.me>
**
** This program can be distributed under the terms of the GNU
** General Public License version 3.0 as published by the Free
** Software Fou... | 0pq76r/nulloy | src/aboutDialog.cpp | C++ | gpl-3.0 | 7,011 |
#ifndef PLUGINSSOURCELOADER_P_H
#define PLUGINSSOURCELOADER_P_H
#include <QObject>
#include <QStringList>
#include <QHash>
#include <QPair>
#include <QNetworkReply>
class Widget_PluginsSourceLoader;
class QNetworkAccessManager;
class QListWidgetItem;
class Dialog_NewPlugins;
class PluginsSourceLoader_P : public QO... | Eveler/libs | __tests__/DBCatalog/Configuration/PluginsSourceLoader/pluginssourceloader_p.h | C | gpl-3.0 | 1,342 |
#!/usr/bin/env bash
set -e
if [ -z "$1" ]; then
echo "*** Please specify branch name to release Medcryptor Staging build from it."
exit 1
fi
read -p "Confirm releasing MedCryptor STAGING build from $1 branch? (y/n)" choice
case "$choice" in
y|Y ) echo "yes";;
n|N ) exit;;
* ) exit;;
esac
export NODE_E... | PeerioTechnologies/peerio-desktop | scripts/deploy-medcryptor-staging.sh | Shell | gpl-3.0 | 790 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd">
<html>
<head>
<title>planes.gui.tmb : API documentation</title>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
<link href="apidocs.css" type="text/css" r... | flberger/planes | doc/planes.gui.tmb.html | HTML | gpl-3.0 | 3,544 |
/*
* This file is part of muCommander, http://www.mucommander.com
* Copyright (C) 2002-2012 Maxence Bernard
*
* muCommander 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... | Keltek/mucommander | src/main/com/mucommander/ui/popup/MuActionsPopupMenu.java | Java | gpl-3.0 | 1,962 |
from ._costs import *
| csxeba/ReSkiv | brainforge/costs/__init__.py | Python | gpl-3.0 | 22 |
package org.maxgamer.rs.model.entity.mob.combat.mage;
import co.paralleluniverse.fibers.SuspendExecution;
import org.maxgamer.rs.model.action.Action;
import org.maxgamer.rs.model.entity.mob.Mob;
import org.maxgamer.rs.model.entity.mob.persona.Persona;
import org.maxgamer.rs.model.entity.mob.persona.player.Player... | netherfoam/Titan | src/main/java/org/maxgamer/rs/model/entity/mob/combat/mage/AlchemySpell.java | Java | gpl-3.0 | 3,779 |
(function(){
var getDataBtn = document.getElementById('btn-getdata');
var content = document.getElementById('content');
getDataBtn.addEventListener('click',getCourseData);
function getCourseData(){
datacontext().getCourseSessions(function(courseSessions){
renderView(courseSessions);
});
}
function render... | filinils/FrontEndSeries | testApp/app/view.js | JavaScript | gpl-3.0 | 396 |
<?php
/*
#module_name,Admin
#module_description,Administrative Core
#module_req,1
#module_id,2
*/
$self=$_GET['module'];
$module_public='./?module=admin';
$module_admin='./?module=admin';
$module_data='./?module=data&part=admin';
$array= array('Admin'=>
array(),
'Public'=>
array()
);
?> | CraXyOW3/eve_cms | modules/admin/config.php | PHP | gpl-3.0 | 288 |
/*!
* Bootstrap v2.0.4
*
* Copyright 2012 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
d... | teleyinex/t4t-app | www/css/bootstrap.css | CSS | gpl-3.0 | 90,331 |
package cz.neumimto.spongejs;
import jdk.internal.dynalink.beans.StaticClass;
import org.objectweb.asm.*;
import org.spongepowered.api.event.Event;
import java.lang.reflect.Field;
import java.lang.reflect.ParameterizedType;
import java.util.List;
import java.util.Map;
import java.util.function.Consumer;
import java.... | NeumimTo/SpongeJS | src/main/java/cz/neumimto/spongejs/ClassGenerator.java | Java | gpl-3.0 | 8,649 |
$(function () {
var setupNavbar = function () {
$('a').each(function(){
if ($(this).prop('href') == window.location.href) {
$(this).parents('li').addClass('active');
}
});
var login = $('ul.nav a[href="login"]').parent();
var alert = $('#alerts');
var ... | cjdellomes/OrgSoft | static/js/navbar.js | JavaScript | gpl-3.0 | 1,267 |
Penlight Lua Libraries
1. Why a new set of libraries?
Penlight brings together a set of generally useful pure Lua modules,
focussing on input data handling (such as reading configuration files),
functional programming (such as map, reduce, placeholder expressions,etc),
and OS path management. Much of the func... | gutenye/tagen.lua | README.md | Markdown | gpl-3.0 | 6,787 |
<?php
namespace Sle\Accommodation\Domain\Repository;
/***************************************************************
*
* Copyright notice
*
* (c) 2016 Steve Lenz <kontakt@steve-lenz.de>
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
* free software; you can re... | hirnsturm/accommodation | Classes/Domain/Repository/SalutationRepository.php | PHP | gpl-3.0 | 1,139 |
package main;
public class ArithmeticSequenceDiv1 {
public int findMinCost(int[] x) {
int MAXD = 102;
int minCost = Integer.MAX_VALUE;
for (int i = 0; i < x.length; ++i) {
for (int d = -MAXD; d <= +MAXD; ++d) {
int cost = 0;
for (int j = 0; j < x.... | hack1nt0/AC | archive/unsorted/2018.06/2018.06.03 - 2018 TopCoder Open Algorithm/ArithmeticSequenceDiv1.java | Java | gpl-3.0 | 556 |
/*******************************************************************************
File: test.cpp
Project: OpenSonATA
Authors: The OpenSonATA code is the result of many programmers
over many years
Copyright 2011 The SETI Institute
OpenSonATA is free software: you can redistribute it and/or modify
it... | jonr925/SonATA | sig-pkg/dx/test/test.cpp | C++ | gpl-3.0 | 16,216 |
/*
* This file is part of EchoPet.
*
* EchoPet 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.
*
* EchoPet is distributed in th... | lol768/EchoPet | modules/EchoPet/src/main/java/com/dsh105/echopet/api/pet/type/HorsePet.java | Java | gpl-3.0 | 2,940 |
<?php
class NotificationText extends Text {
}
?> | ncantu/socialNetWork | lib/_toDelete/NotificationText.php | PHP | gpl-3.0 | 55 |
# -*- coding: utf8 -*-
import argparse
import logging
import pytest
import SMSShell
import SMSShell.commands
def test_abstract_init():
"""Test abstract init methods
"""
abs = SMSShell.commands.AbstractCommand(logging.getLogger(),
object(),
... | Turgon37/SMSShell | tests/test_smsshell_commands.py | Python | gpl-3.0 | 2,388 |
/*
* This file is part of eBlast Project.
*
* Copyright (c) 2011 eBlast
*
* eBlast 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 versi... | ThmX/epfl-ba2-ITP-eBlast | src/eblast/gui/TorrentListPanel.java | Java | gpl-3.0 | 6,350 |
package com.github.lake54.groupsio.api.util;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.JavaType;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.type.TypeFactory;
imp... | linuxfoundation/groupsio-api-java | src/main/java/com/github/lake54/groupsio/api/util/JacksonUtils.java | Java | gpl-3.0 | 2,617 |
/**
* Plugin: "disable_options" (selectize.js)
* Copyright (c) 2013 Mondo Robot & contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the License at:
* http://www.apache.org/licenses/LICENSE-2.... | JonnyWong16/plexpy | data/interfaces/default/js/selectize.plugin.disable-options.js | JavaScript | gpl-3.0 | 2,444 |
<?php namespace Orchestra\Support\Facades;
use Illuminate\Support\Facades\Facade;
class Memory extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor()
{
return 'orchestra.memory';
}
}
| oliveiraped/Reportula | vendor/orchestra/support/src/Orchestra/Support/Facades/Memory.php | PHP | gpl-3.0 | 307 |
package com.circletech.smartconnect;
import com.circletech.smartconnect.config.CustomConfig;
import com.circletech.smartconnect.util.ConstantUtil;
import com.circletech.smartconnect.util.LoggerUtil;
import com.circletech.smartconnect.util.MonitorWatcher;
import com.circletech.smartconnect.util.ThreadPoolUtil;
import ... | unrealinux/DataProcessPlatform | src/main/java/com/circletech/smartconnect/DataProcessMonitor.java | Java | gpl-3.0 | 3,901 |
<?php
/** Freesewing\Patterns\Core\WahidWaistcoat class */
namespace Freesewing\Patterns\Core;
/**
* The Wahid Waistcoat pattern
*
* @author Joost De Cock <joost@decock.org>
* @copyright 2016 Joost De Cock
* @license http://opensource.org/licenses/GPL-3.0 GNU General Public License, Version 3
*/
class WahidWaist... | freesewing/core | patterns/Core/WahidWaistcoat/WahidWaistcoat.php | PHP | gpl-3.0 | 46,039 |
# pylint: disable = too-many-lines, invalid-name, line-too-long, too-many-instance-attributes,
# pylint: disable = too-many-branches,too-many-locals, too-many-nested-blocks
from __future__ import (absolute_import, division, print_function)
try:
from mantidplot import *
except ImportError:
canMantidPlot = False... | dymkowsk/mantid | scripts/Interface/ui/reflectometer/refl_gui.py | Python | gpl-3.0 | 64,194 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.