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 |
|---|---|---|---|---|---|
# promise-tracker-client
WebApp Client that works with https://github.com/jfresco/promise-tracker-api
| mjlescano/promise-tracker-client | README.md | Markdown | gpl-2.0 | 102 |
package com.coffee.finder.util.locationmanager;
import android.app.AlertDialog;
import android.content.Context;
import android.content.Intent;
import android.location.*;
import android.net.Uri;
import android.util.Log;
import android.view.Menu;
import com.coffee.finder.HomeActivity;
import com.coffee.finder.R;
import ... | jbright927/CoffeeFinder | src/com/coffee/finder/util/locationmanager/CurrentLocationManager.java | Java | gpl-2.0 | 6,496 |
<?php
class JConfig {
public $offline = '0';
public $offline_message = 'This site is down for maintenance.<br /> Please check back again soon.';
public $display_offline_message = '1';
public $offline_image = 'images/maintenance.jpg';
public $sitename = 'Astro Isha';
public $editor = 'none';
public $captcha = 're... | luffy22/jvidya | configuration.php | PHP | gpl-2.0 | 2,400 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<title>Source code</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<div class="sourceContainer">
<pre><span class="sourceLineNo... | Mr-Steve/LTSpice_Library_Manager | libs/jfreechart-1.0.16/javadoc/src-html/org/jfree/chart/labels/IntervalXYItemLabelGenerator.html | HTML | gpl-2.0 | 25,793 |
mui.init();
var postInfo = { 'page': 1 };
var activityUl = document.getElementById("activityUl");
var addActivityList = function(data) {
var li = document.createElement('li');
li.className = "mui-table-view-cell";
data.explain = imgTools.getDtlContent(data.explain);
li.innerHTML = template('... | 243756501/zcx-social.zjc | activity/view/js/activity-main.js | JavaScript | gpl-2.0 | 1,952 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META name="GENERATOR" content="hevea 1.10">
<LINK rel="stylesheet" type="text/css" href="cascmd_fr.css">
<TITLE>Le ve... | hiplayer/giac | giac/giac-1.2.3/doc/fr/cascmd_fr/cascmd_fr1019.html | HTML | gpl-2.0 | 2,980 |
using System;
using GalaSoft.MvvmLight;
namespace CSGO_Demos_Manager.Models
{
public class Suspect : ObservableObject
{
#region Properties
/// <summary>
/// 64bit SteamID of the user
/// </summary>
private string _steamId;
/// <summary>
/// This represents whether the profile is visible or not, and ... | LoveDuckie/CSGO-Demos-Manager | src/Models/Suspect.cs | C# | gpl-2.0 | 5,758 |
/********************************************************************************
** Form generated from reading UI file 'catalogocontable.ui'
**
** Created: Thu Apr 21 08:48:21 2011
** by: Qt User Interface Compiler version 4.7.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
... | bagonzalez/SI-BCUES | bin/SIBCUES-GUI/ui_catalogocontable.h | C | gpl-2.0 | 10,442 |
/**
* @file
* Right to left menu and navigational styles.
*/
/**
* @file
* Styles for a hierarchical menu as generated by theme_menu_tree().
*/
@media -sass-debug-info{filename{font-family:file\:\/\/\/Applications\/mampstack-5\.4\.40-0\/apache2\/htdocs\/drupalcl\/sites\/all\/themes\/omega\/omega\/sass\/modules\/s... | DrupalChile/drupalcl | sites/all/themes/omega/omega/css/modules/system/system.menus.theme-rtl.css | CSS | gpl-2.0 | 1,176 |
#!/usr/bin/env python
from setuptools import setup, find_packages
from os import path
# www.pythonhosted.org/setuptools/setuptools.html
setup(
name="lines",
version="1.4.0",
description="Program for plotting powder diffraction patterns and background subtraction",
author="Stef Smeets",
author_em... | stefsmeets/lines | setup.py | Python | gpl-2.0 | 911 |
<?php
namespace OAuth;
interface Exception {}
class LogicException extends \LogicException implements Exception {}
class InvalidArgumentException extends \InvalidArgumentException implements Exception {}
class UnexpectedValueException extends \UnexpectedValueException implements Exception {}
class OutOfRangeException e... | performics/ga-cli-api | src/OAuth/Exception.class.php | PHP | gpl-2.0 | 665 |
<?php
/**
*
* Auto Groups extension for the phpBB Forum Software package.
*
* @copyright (c) 2015 phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/
namespace phpbb\autogroups\conditions\type;
/**
* Auto Groups conditions type helper class
*/
class helper
{
/** @v... | VSEphpbb/autogroups | conditions/type/helper.php | PHP | gpl-2.0 | 3,779 |
package mbs2.pr20.bean;
import javax.annotation.Resource;
import javax.ejb.Local;
import javax.ejb.Remote;
import javax.ejb.Stateless;
import javax.ejb.TransactionManagement;
import javax.transaction.UserTransaction;
import mbs2.pr20.CreditCard;
import static javax.ejb.TransactionManagementType.BEAN;
@Stateless(nam... | mbranko/mbs2 | src/mbs2/pr20/bean/PaymentBean.java | Java | gpl-2.0 | 858 |
/*
* kernel/sched/core.c
*
* Kernel scheduler and related syscalls
*
* Copyright (C) 1991-2002 Linus Torvalds
*
* 1996-12-23 Modified by Dave Grothe to fix bugs in semaphores and
* make semaphores SMP safe
* 1998-11-19 Implemented schedule_timeout() and related stuff
* by Andrea Arcangeli
* 2002-01... | major91/Zeta_Chromium-L | kernel/sched/core.c | C | gpl-2.0 | 213,228 |
<?php
/*
Copyright (C) 2007 Stephane Graber <stgraber@ubuntu.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 2
of the License, or (at your option) any later version.
This program... | pirata-cat/ideatorrent | qawebsite/qawebsite.block.php | PHP | gpl-2.0 | 6,549 |
/*
* Copyright (C) 2011, 2015 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | teamfx/openjfx-8u-dev-rt | modules/web/src/main/native/Source/WebCore/page/SecurityOriginData.cpp | C++ | gpl-2.0 | 5,213 |
/**
*
*/
package org.cuatrovientos.struts;
import java.util.ArrayList;
import java.util.List;
import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;
/**
* Main simple sample Struts2 action
* @author Pello Altadill
*
*/
public class Main extends ActionSuppor... | pxai/struts2-spring-hibernate | Struts2HibernateTemplate/src/org/cuatrovientos/struts/Main.java | Java | gpl-2.0 | 2,099 |
//
// LinkedResourceTest.cs - NUnit Test Cases for System.Net.MailAddress.LinkedResource
//
// Authors:
// John Luke (john.luke@gmail.com)
//
// (C) 2005 John Luke
//
using NUnit.Framework;
using System;
using System.IO;
using System.Net.Mail;
using System.Net.Mime;
namespace MonoTests.System.Net.Mail
{
[TestFixtur... | hardvain/mono-compiler | class/System/Test/System.Net.Mail/LinkedResourceTest.cs | C# | gpl-2.0 | 979 |
/*
* u-boot/include/linux/mtd/nand_ids.h
*
* Copyright (c) 2000 David Woodhouse <dwmw2@mvhi.com>
* Steven J. Hill <sjhill@cotw.com>
*
* $Id: nand_ids.h,v 1.1 2000/10/13 16:16:26 mdeans Exp $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of t... | michalliu/u-boot-1.2.0 | include/linux/mtd/nand_ids.h | C | gpl-2.0 | 2,853 |
<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>dune-istl: Dune::Am... | akva2/dune-istl | doc/doxygen/html/a00205.html | HTML | gpl-2.0 | 55,970 |
<?php
namespace Drupal\content_entity_example\Entity;
use Drupal\Core\Entity\EntityStorageInterface;
use Drupal\Core\Field\BaseFieldDefinition;
use Drupal\Core\Entity\ContentEntityBase;
use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\content_entity_example\ContactInterface;
use Drupal\user\UserInterface;
use D... | evasmidt/allsafe-drupal | modules/content_entity_example/src/Entity/Contact.php | PHP | gpl-2.0 | 11,324 |
<?php
/*
A simple RESTful webservices base class
Use this as a template and build upon it
*/
class SimpleRest {
private $httpVersion = "HTTP/1.1";
public function setHttpHeaders($statusCode){
$statusMessage = $this -> getHttpStatusMessage($statusCode);
header($this->httpVersion. " ". $statusCode ."... | HansellKopp/Deutsch-NotePad | php-backend/SimpleRest.php | PHP | gpl-2.0 | 1,834 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
[tests/stdlib/test_help.py]
Test the help command.
"""
import unittest
#import os
#from ergonomica import ergo, ENV
class TestHelp(unittest.TestCase):
"""Tests the 'help' command."""
def test_list_commands(self):
"""
Tests listing all comma... | ergonomica/ergonomica | tests/stdlib/test_help.py | Python | gpl-2.0 | 375 |
package control;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.Objects;
import javax.annotation.Resource;
import javax.faces.application.FacesMessage;
import javax.faces.bean.ManagedBean;
import java.util.Collection;
import javax.enterprise.context.RequestSc... | matthew-morgan/PPIL | src/java/control/ChatBean.java | Java | gpl-2.0 | 10,922 |
<?php
/*
* You may not change or alter any portion of this comment or credits
* of supporting developers from this source code or any supporting source code
* which is considered copyrighted (c) material of the original comment or credit authors.
*
* This program is distributed in the hope that it will be useful,... | mambax7/uhq_radio | footer.php | PHP | gpl-2.0 | 773 |
#!/usr/bin/env php
<?
// Copyright(c)2005-(c)2015 Internet Archive. Software license GPL version 2.
/* require_once '/petabox/setup.inc'; */
require_once '/home/ximm/petabox/setup.inc'; // must use schema in petabox/etc/solr/conf with our fields!!!
require_once 'Console/CommandLine.php'; // um, pa... | ximm/listerine | es_indexer.php | PHP | gpl-2.0 | 12,421 |
<?php
/**
* @package phpBB to WP connector
* @version $Id: 1.5.0
* @copyright (c) 2013-2014 danielx64.com
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @author Danielx64
* @based off: phpBB 3.0.9 :: BRIDGE phpBB & WordPress -> WordPress root/wp-content/themes/phpBB/includes
* @org... | Danielx64/WP-phpbb-bridge | phpBB-WordPress-bridge/wordpress plugin/phpbb-to-wp-connector/functions/wp_phpbb_bridge_core.php | PHP | gpl-2.0 | 38,385 |
/* Copyright (C) 2007 The SpringLobby Team. All rights reserved. */
//
// Class: Battle
//
#include "battle.h"
#include "ui.h"
#include "springunitsync.h"
#include "server.h"
#include "user.h"
#include "utils/misc.h"
#include "utils/debug.h"
#include "utils/conversion.h"
#include "utils/math.h"
#include "utils/uievents... | N2maniac/springlobby-join-fork | src/battle.cpp | C++ | gpl-2.0 | 36,385 |
<?hh
namespace Pi\Interfaces;
interface IServiceExecute {
public function execute(IRequest $context, $instance, $request);
} | guilhermegeek/communia | src/Pi-Interfaces/IServiceExecute.php | PHP | gpl-2.0 | 127 |
/*
Theme Name: FlatOn
Theme URI: http://www.webulousthemes.com/flaton/
Author: N. Venkat Raj
Author URI: http://www.webulousthemes.com/
Description: FlatOn is inspired by flat design trend and comes with modern and responsive design. Also has two different color schemes. It uses skeleton framework for grids which keeps... | Tamiiy/spartan-english | wp-content/themes/flaton/style.css | CSS | gpl-2.0 | 65,339 |
<?php
/*
* Admin Page Framework v3.9.0 by Michael Uno
* Compiled with Admin Page Framework Compiler <https://github.com/michaeluno/amazon-auto-links-compiler>
* <https://en.michaeluno.jp/amazon-auto-links>
* Copyright (c) 2013-2022, Michael Uno; Licensed under MIT <https://opensource.org/licenses/MIT>
*/
abstract... | michaeluno/amazon-auto-links | include/library/apf/factory/post_type/AdminPageFramework_PostType_Model.php | PHP | gpl-2.0 | 4,203 |
/* $Id: thread-r0drv-freebsd.c 56290 2015-06-09 14:01:31Z vboxsync $ */
/** @file
* IPRT - Threads (Part 1), Ring-0 Driver, FreeBSD.
*/
/*
* Copyright (C) 2007-2015 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free s... | carmark/vbox | src/VBox/Runtime/r0drv/freebsd/thread-r0drv-freebsd.c | C | gpl-2.0 | 4,634 |
/*
* Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Fou... | TheTypoMaster/Scaper | openjdk/jaxws/drop_included/jaxws_src/src/com/sun/xml/internal/rngom/parse/host/ScopeHost.java | Java | gpl-2.0 | 2,549 |
#!/usr/bin/perl
use strict;
use warnings;
use RPi::I2C;
package Rrdpi::Gas;
sub new
{
my ($class, $conf) = @_;
my $self = {conf => $conf};
bless( $self, $class );
$self->{rrdParams} = $self->getRrdParams();
return $self;
}
sub getRrdParams
{
my ($self) = @_;
return {
name => 'gas',
datafiles => [$self-... | asmirn01/rrdpi | Rrdpi/Gas.pm | Perl | gpl-2.0 | 1,124 |
/*
* Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | FauxFaux/jdk9-jdk | test/sun/security/tools/jarsigner/TimestampCheck.java | Java | gpl-2.0 | 15,695 |
class AddDeprecatableToStep < ActiveRecord::Migration
def change
add_column :steps, :superceded_by_id, :integer
end
end
| emrojo/samples_extraction | db/migrate/20170226142235_add_deprecatable_to_step.rb | Ruby | gpl-2.0 | 128 |
package de.l3s.ppt.peertrustparser;
public class Constants {
public static final String ISSUER_CHAR = "@";
public static final String REQUESTER_CHAR = "$";
public static final String OPENING_BRACKET = "(";
public static final String CLOSING_BRACKET = ")";
public static final String OPENING_SQUARE_BRACKET =... | elitak/peertrust | src/de/l3s/ppt/peertrustparser/Constants.java | Java | gpl-2.0 | 627 |
/*************************************************************************************
begin : Sun Feb 29 2004
copyright : (C) 2004 by Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)
*************************************************************************************/
/***************... | puneetsl/Mikhail | src/convert.cpp | C++ | gpl-2.0 | 7,123 |
/*
*
* Iter Vehemens ad Necem (IVAN)
* Copyright (C) Timo Kiviluoto
* Released under the GNU General
* Public License
*
* See LICENSING which should be included
* along with this file for more details
*
*/
#include <cmath>
#include <ctime>
#include "bitmap.h"
#include "graphics.h"
#include "save.h"
#i... | emlai/ivan | FeLib/Source/bitmap.cpp | C++ | gpl-2.0 | 53,098 |
/*
* 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 es.us.isa.sedl.module.sedl4people;
import es.us.isa.sedl.module.SEDLModule;
import es.us.isa.sedl.module.SEDLModuleRegistry;... | isa-group/SEDL | modules/SEDLModuleManager/src/main/java/es/us/isa/sedl/module/sedl4people/SEDL4PeopleExtensionPointsUnmarshallerImplementation.java | Java | gpl-2.0 | 2,316 |
<div class="announce instapaper_body md" data-path="README.md" id="readme"><article class="markdown-body entry-content" itemprop="mainContentOfPage"><h1>
<a name="user-content-legacy-cc" class="anchor" href="#legacy-cc" aria-hidden="true"><span class="octicon octicon-link"></span></a>legacy-cc</h1>
<p>The earliest ver... | lalo/readme-fads | readme_files/c/52-readme.html | HTML | gpl-2.0 | 1,134 |
/**************************************************************************
desktop.cpp - KPager's desktop
Copyright (C) 2000 Antonio Larrosa Jimenez
Matthias Ettrich
Matthias Elter
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Publ... | Fat-Zer/tdebase | kpager/desktop.cpp | C++ | gpl-2.0 | 18,847 |
//------------------------------------------------------------------------------
// <auto-generated>
// Este código fue generado por una herramienta.
// Versión de runtime:4.0.30319.18449
//
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
// se vuelve a gener... | EDBP/contasoft | Conta/contabilidad/contabilidad/Properties/Settings.Designer.cs | C# | gpl-2.0 | 1,113 |
#pragma once
#include "Mat.h"
#include <vector>
#include "general.h"
using namespace std;
//#define MAX_MATSTACK (20)
class MatStack
{
private:
struct MatEntry {
MatEntry() : msg(nullptr) {}
MatEntry(const Mat4 _m, const char* _msg) : m(_m), msg(_msg) {}
Mat4 m;
cons... | shooshx/happysolver | src/MatStack.h | C | gpl-2.0 | 1,647 |
//
// RIPEMD160ManagedTest.cs - NUnit Test Cases for RIPEMD160
// http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html
//
// Author:
// Sebastien Pouliot (sebastien@ximian.com)
//
// (C) 2003 Motus Technologies Inc. (http://www.motus.com)
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
// Permission is ... | hardvain/mono-compiler | class/corlib/Test/System.Security.Cryptography/RIPEMD160ManagedTest.cs | C# | gpl-2.0 | 1,762 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace PhotoBookmart.Areas.Administration.Models
{
public class ListModel
{
public string Id { get; set; }
public string Name { get; set; }
}
public class GoogleAnalyticResultModel
{
pu... | dvchinh/HTQLNHCS | PhotoBookmart/Areas/Administration/Models/CommonModel.cs | C# | gpl-2.0 | 1,125 |
/*
* Copyright (c) 2015. Marvin Hofmann <marvin@marv-productions.de>
*
* 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 ver... | yabon-dev/yabon-java | src/java/de/marvprod/yabon/token/BigIntToken.java | Java | gpl-2.0 | 2,603 |
//
// System.Drawing.PreviewPrintController.cs
//
// Author:
// Dennis Hayes (dennish@Raytek.com)
//
// (C) 2002 Ximian, Inc
//
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentat... | hardvain/mono-compiler | class/System.Drawing/System.Drawing.Printing/PreviewPrintController.cs | C# | gpl-2.0 | 3,048 |
/**
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
*
* This library 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... | iucn-whp/world-heritage-outlook | portlets/iucn-dbservice-portlet/docroot/WEB-INF/src/com/iucn/whp/dbservice/service/base/threat_summary_potentialLocalServiceClpInvoker.java | Java | gpl-2.0 | 9,477 |
---
title: Using the Rcpp sugar function clamp
author: Dirk Eddelbuettel
license: GPL (>= 2)
tags: sugar benchmark featured
summary: This post illustrates the sugar function clamp
layout: post
src: 2013-01-07-sugar-function-clamp.cpp
---
Since the 0.10.* release series, Rcpp contains a new sugar function `clamp`
which ... | davharris/rcpp-gallery | _posts/2013-01-07-sugar-function-clamp.md | Markdown | gpl-2.0 | 2,471 |
// _________ __ __
// / _____// |_____________ _/ |______ ____ __ __ ______
// \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
// / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ |
// /_______ /|__| |__| (____ /__| (____ /\___ /|____//... | realhidden/stratagus | src/ui/uibuttons_proc.cpp | C++ | gpl-2.0 | 4,392 |
/*
* Copyright (C) 2014 AChep@xda <artemchep@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 2
* of the License, or (at your option) any later version.
*
* Th... | AChep/AcDisplay | project/app/src/main/java/com/achep/acdisplay/utils/PendingIntentUtils.java | Java | gpl-2.0 | 2,491 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Source : Les recettes Python de Tyrtamos
http://python.jpvweb.com/mesrecettespython/doku.php?id=date_de_paques
"""
class jourferie:
def datepaques(self,an):
"""Calcule la date de Pâques d'une année donnée an (=nombre entier)"""
a=an//100
b=a... | guiguiabloc/api-domogeek | Holiday.py | Python | gpl-2.0 | 6,861 |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify ... | taylor-project/taylor-picketlink-2.0.3 | federation/picketlink-web/src/main/java/org/picketlink/identity/federation/web/interfaces/ILoginHandler.java | Java | gpl-2.0 | 1,536 |
#pragma once
#include "Scene.h"
#include "Woman.h"
#include "ReaZyu.h"
#include "Botch.h"
#include "Sweats.h"
#include "CharaButton.h"
#include "Button.h"
#include <list>
class GameScene :
public Scene
{
public:
GameScene(GameModes* gameMode, BasicInput* input);
~GameScene();
void init();
void update();
float tim... | LimeStreem/UNITUS_Hackerson_1 | UNITUS_Hackerson_1/GameScene.h | C | gpl-2.0 | 595 |
# 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.
"""Make osversion.osmajor_id non-NULLable
Revision ID: 5ab66e956c6b
Re... | beaker-project/beaker | Server/bkr/server/alembic/versions/5ab66e956c6b_osversion_osmajor_id_non_nullable.py | Python | gpl-2.0 | 743 |
/*
* linux/net/sunrpc/sysctl.c
*
* Sysctl interface to sunrpc module.
*
* I would prefer to register the sunrpc table below sys/net, but that's
* impossible at the moment.
*/
#include <linux/types.h>
#include <linux/linkage.h>
#include <linux/ctype.h>
#include <linux/fs.h>
#include <linux/sysctl.h>
#include <li... | evolver56k/xpenology | net/sunrpc/sysctl.c | C | gpl-2.0 | 3,637 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle... | ajv/Offline-Caching | lib/javascript-mod.php | PHP | gpl-2.0 | 1,892 |
/*=============================================================================
//
// This software has been released under the terms of the GNU General Public
// license. See http://www.gnu.org/copyleft/gpl.html for details.
//
// Copyright 2001 Anders Johansson ajh@atri.curtin.edu.au
//
//========================... | scs/uclinux | user/blkfin-apps/mplayer/mplayer-svn-25211/libaf/af_equalizer.c | C | gpl-2.0 | 6,456 |
"""
Functions performing URL trimming and cleaning
"""
## This file is available from https://github.com/adbar/courlan
## under GNU GPL v3 license
import logging
import re
from collections import OrderedDict
from urllib.parse import parse_qs, urlencode, urlparse, ParseResult
from .filters import validate_url
from .... | adbar/url-tools | courlan/clean.py | Python | gpl-2.0 | 5,520 |
'use strict';
angular.module('tpjpaApp')
.config(function ($stateProvider) {
$stateProvider
.state('metrics', {
parent: 'admin',
url: '/metrics',
data: {
roles: ['ROLE_ADMIN'],
pageTitle: 'metrics.title'
... | CherifAbdoul/TpSirM1MIAGE_Ierlomenko-Kinfack-Haidara | tpJpa/src/main/webapp/scripts/app/admin/metrics/metrics.js | JavaScript | gpl-2.0 | 919 |
<?php
/**
* @file
* Returns the HTML for a single Drupal page.
*
* Complete documentation for this file is available online.
* @see https://drupal.org/node/1728148
*/
?>
<div class="container">
<header id="header">
<div class="logo">
<a href="/" title="Home" rel="home" id="logo">
</a>
</di... | targoo/mariquecalcus_drupal_demo | sites/all/themes/custom/prius/templates/page.tpl.php | PHP | gpl-2.0 | 4,587 |
#include <iostream>
#include <pthread.h>
#include <vector>
#include "time_wrap.h"
using namespace time_wrap;
//-----------------------------------------------------------------------------
// Data structure to be modified by nthreads
//-----------------------------------------------------------------------------
tem... | jrrpanix/CPPCode | panix/atomic_tst.cpp | C++ | gpl-2.0 | 7,057 |
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
* All rights reserved
* Versions of malloc and friends that check their results, and never return
* failure (they call fatal if they encounter an error).
*
* As far as I am concerned, the... | eroullit/net-toolbox | netcore-ng/xmalloc.c | C | gpl-2.0 | 2,750 |
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta name="HandheldFriendly" content="true"/>
<meta name="MobileOptimized" content="320"/>
<title>Hello H5+</title>
<script type="text/javascript" src="../js/commo... | NSStringDong/XlvrenCharge | XlvrenProject_Html/XlvrenCharge/plus/runtime.html | HTML | gpl-2.0 | 4,446 |
<?php
/**
* @version SVN $Id: default.php 1630 2013-08-15 09:50:14Z dhorsfall $
* @package hwdMediaShare
* @copyright Copyright (C) 2011 Highwood Design Limited. All rights reserved.
* @license GNU General Public License http://www.gnu.org/copyleft/gpl.html
* @author Dave Horsfall
* @since 14-N... | Jbouska419/craftsman | templates/hybrid/html/com_hwdmediashare/src/users/default.php | PHP | gpl-2.0 | 5,891 |
<?php
/**
* @file
* Unit testing.
*/
require_once "../../../unit-testing/boleto.test.php";
class TestOf341 extends BoletoTestCase{
protected $mockingArguments;
function mockingArguments() {
$this->mockingArguments = array(
array(
'bank_code' => '341',
'agencia' => 1234,
'carteir... | glauberportella/Boleto | bancos/341/unit-testing/simpletest.php | PHP | gpl-2.0 | 355 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# vim: ts=4:sw=4:expandtab:
# Copyright 2008 Mark Mitchell
# License: see __license__ below.
__doc__ = """
Reads a GraphicsMagick source file and parses the specially formatted
comment blocks which precede each function and writes the information
obtained from the commen... | kazuyaujihara/osra_vs | GraphicsMagick/scripts/format_c_api_doc.py | Python | gpl-2.0 | 21,967 |
showWord(["n.","pwèl. Cheve tou kout ki sou po , anbabra epi sou pibis moun. Gason gen pwal sou lestomak yo men fi pa genyen."
]) | georgejhunt/HaitiDictionary.activity | data/words/pwal.js | JavaScript | gpl-2.0 | 130 |
import sys
def bye():
sys.exit(40) # Crucial error: abort now!
try:
bye()
except Exception:
print('got it') # Oops--we ignored the exit
print('continuing...')
| simontakite/sysadmin | pythonscripts/learningPython/exiter2.py | Python | gpl-2.0 | 208 |
<?php
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// import the Joomla modellist library
jimport('joomla.application.component.modeladmin');
/**
* HelloWorldList Model
*/
class RealEstateModelPayment extends JModelAdmin
{
/*
* param JForm $form The JForm instance for the vie... | adster101/French-Connections- | administrator/components/com_realestate/models/payment.php | PHP | gpl-2.0 | 3,928 |
package com.neusoft.pm.model;
import java.sql.Date;
public class Lib {
private int id;
private String name;
private String sex;
private String birthday;
private String idcard;
private String politics;
private String nation;
private String phone;
private String email;
private String height;
private String b... | treejames/HRS | src/com/neusoft/pm/model/Lib.java | Java | gpl-2.0 | 3,748 |
<?php return
[
/*
|--------------------------------------------------------------------------
| Head Page
|--------------------------------------------------------------------------
|
| It is specified in which view the html codes in the [head] tags will be
| placed.
|
*/
'head... | SAFAKAYDIN/DenemeSafak | Config/Masterpage.php | PHP | gpl-2.0 | 3,903 |
/**
* Name: base.css
*
* T.O.C
*
* #CssReset
* #Typography
* #Links
* #Lists
* #Images
* #Tables
* #Forms
* #Misc
*/
/* ==========================================================================
#CssReset
========================================================================== */
html, b... | olabimaker/siteolabi | doc/themeforest/pearl/01.html-website/_layout/css/base.css | CSS | gpl-2.0 | 7,876 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="x-ua-compatible" content="IE=edge,chrome=1">
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta na... | benshez/DreamWeddingCeremomies | JsonApiApplication/server/application/views/Welcome.php | PHP | gpl-2.0 | 1,934 |
<?php
/**
*
* info_acp_donation.php [French]
*
* @package PayPal Donation MOD
* @copyright (c) 2013 Skouat
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
// DEVE... | Skouat/mod_paypal_donation | root/language/fr/mods/info_acp_donation.php | PHP | gpl-2.0 | 9,873 |
class AddIssueStatusPosition < ActiveRecord::Migration
def self.up
add_column :issue_statuses, :position, :integer, :default => 1
IssueStatus.all.each_with_index {|status, i| status.update_attribute(:position, i+1)}
end
def self.down
remove_column :issue_statuses, :position
end
end
| alejandrok5/Redmine-for-heroku | db/migrate/019_add_issue_status_position.rb | Ruby | gpl-2.0 | 314 |
#
# Makefile for the kernel block device drivers.
#
# 12 June 2000, Christoph Hellwig <hch@infradead.org>
# Rewritten to use lists instead of if-statements.
#
obj-$(CONFIG_MAC_FLOPPY) += swim3.o
obj-$(CONFIG_BLK_DEV_SWIM) += swim_mod.o
obj-$(CONFIG_BLK_DEV_FD) += floppy.o
obj-$(CONFIG_AMIGA_FLOPPY) += amiflop.o
obj-$... | crowell/gbadev.kernel | drivers/block/Makefile | Makefile | gpl-2.0 | 1,623 |
<!-- saved from url=(0107)https://www.naylornetwork.com/absolutebm/abmw_ssl.aspx?a=ASQ-WEB-VerticalBanner03&K=Sub%20Page&isframe=true -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Advertisement</title>
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
<style>img{max-width: 10... | bladerunner92/web-tutorial | spc/Statistical Process Control and Process Control Tools ASQ_files/abmw_ssl(1).html | HTML | gpl-2.0 | 841 |
#!/usr/bin/env python
################################################################################
#
# Project Euler - Problem 6
#
# The sum of the squares of the first ten natural numbers is,
#
# 1^2 + 2^2 + ... + 10^2 = 385
# The square of the sum of the first ten natural numbers is,
#
# (1 + 2 + ... + 10)^2 = 5... | carrdelling/project_euler | problem6.py | Python | gpl-2.0 | 996 |
<?php
session_start();
require($_SERVER['DOCUMENT_ROOT'] . '/auth/config.php');
require($_SERVER['DOCUMENT_ROOT'] . '/content/functions.php');
$outp = '[{}]';
if (isset($_SESSION["id"])) {
$snmp_storage_row = '';
#
$snmp_storage_query = "
SELECT a.rdate,
a.idate,
a.Serial_Number,
... | jawug/wugms | web/ms/content/snmp_storage_data2.php | PHP | gpl-2.0 | 1,586 |
/***************************************************************************
sndhrdw/sblaster.c
Soundblaster code
****************************************************************************/
#include "includes/sblaster.h"
#include "sound/dac.h"
/* operation modes
0x10 output 8 bit direct
0x14 output 8 ... | scs/uclinux | user/games/xmame/xmame-0.106/mess/sndhrdw/sblaster.c | C | gpl-2.0 | 3,607 |
---
layout: post
title: One paper got accepted at Conference on Neural Information Processing Systems (NeurIPS), 2021.
date: 2021-09-29 16:11:00-0400
inline: true
selected: true
---
One paper got accepted in Conference on Neural Information Processing Systems - [NeurIPS, 2021](https://nips.cc/).
| awaisrauf/awaisrauf.github.io | _news/news_12.md | Markdown | gpl-2.0 | 301 |
<?php
/*
* @package MijoShop
* @copyright 2009-2013 Miwisoft LLC, miwisoft.com
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
* @license GNU/GPL based on AceShop www.joomace.net
*/
// No Permission
defined('_JEXEC') or die('Restricted access');
class Template {
public $data = array();
public function ... | eugeneuskov/modna | components/com_mijoshop/opencart/system/library/template.php | PHP | gpl-2.0 | 689 |
/*
* Defs.h
*
* Created on: 2014-10-21
* Author: Etienne Dupéré Larivière
*/
#ifndef DEFS_H_INCLUDED
#define DEFS_H_INCLUDED
#include "Util/EnumString.h"
// note: all times are in milliseconds
static const int deviceAckTimeout = 4000; // timeout to receive expected ACK reply from a device
... | EtienneDupereLariviere/OpenInsteon | src/Defs.h | C | gpl-2.0 | 9,354 |
var std = std || {};
std.vm = function () {
var studies = ko.observableArray([]),
defaultStudyId = 0,
studyitem = ko.observable(),
getstudies = function () {
$.ajax({
url: "/Json/GetStudies",
dataType: 'json',
cache: false,
success: function (d) {
studies([]);
$.each(d, function (i... | odesuk/clires | src/Tateeda.Clires/Tateeda.Clires/Scripts/app/Admin/Study/study.js | JavaScript | gpl-2.0 | 4,243 |
/***************************************************************************
* 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 you... | Elv13/Umbrello-ng2 | umbrello/codeimport/adaimport.cpp | C++ | gpl-2.0 | 22,908 |
/* Copyright (c) 2000, 2011, Oracle and/or its affiliates.
Copyright (c) 2008, 2017, MariaDB Corporation.
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; version 2 of the License.
Thi... | ottok/mariadb | sql/opt_sum.cc | C++ | gpl-2.0 | 37,064 |
# enw
| nicofisch5/enw | README.md | Markdown | gpl-2.0 | 6 |
<?php
/*
You may not change or alter any portion of this comment or credits
of supporting developers from this source code or any supporting source code
which is considered copyrighted (c) material of the original comment or credit authors.
This program is distributed in the hope that it will be useful,
but WITH... | mambax7/randomquote | category.php | PHP | gpl-2.0 | 3,246 |
package testcases.postgresql;
import org.junit.Test;
import constants.DatabaseName;
import databases.PostgreSQLDatabase;
public class PostgreSqlToMySqlTest {
@Test
public void test() {
PostgreSQLDatabase postgres = new PostgreSQLDatabase();
postgres.parse(DatabaseName.MY_SQL, "");
}
}
| luanamartins/ConvertQueries | ConvertQueries/test/testcases/postgresql/PostgreSqlToMySqlTest.java | Java | gpl-2.0 | 297 |
<?php
/*
Plugin Name: mywidget
Plugin URI: localhost
Description:
Author: April Hodge Silver
Version: 1.0
Author URI: localhost
*/
class Posts_From_Category extends WP_Widget {
function Posts_From_Category() {
$widget_ops = array(
'classname' => 'postsfromcat',
'description' => 'Allows you to display a lis... | daitran1104/wordpress | wp-content/plugins/ahswidget_postfromcat.php | PHP | gpl-2.0 | 3,426 |
#include "botpch.h"
#include "../../playerbot.h"
#include "EmoteAction.h"
using namespace ai;
map<string, uint32> EmoteAction::emotes;
bool EmoteAction::Execute(Event event)
{
if (emotes.empty())
{
InitEmotes();
}
uint32 emote = 0;
string param = event.getParam();
if (param.empty() ... | mangoszero/server | src/modules/Bots/playerbot/strategy/actions/EmoteAction.cpp | C++ | gpl-2.0 | 3,205 |
!
! Copyright (C) 2009 A. Smogunov
! This file is distributed under the terms of the
! GNU General Public License. See the file `License'
! in the root directory of the present distribution,
! or http://www.gnu.org/copyleft/gpl.txt .
!
!
MODULE realus_scatt
!
! Some extra subroutines to the module realus
! needed for t... | dceresoli/ce-espresso | PWCOND/src/realus_scatt.f90 | FORTRAN | gpl-2.0 | 4,755 |
#
# Cookbook Name:: lxc_manage
# Providers:: manage_node
#
# Copyright (C) 2015 Chris Hammer <chris@thezengarden.net>
#
# 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 ... | jchristianh/lxc_manage | providers/node.rb | Ruby | gpl-2.0 | 6,746 |
#!/bin/bash
##
## Time-stamp: <2017-06-13 22:44:11 katsu>
##
## Some program were needed for this script
## "curl"
## "jq or python"
## "base64"
#DEBUG="on"
DEBUG="off"
#CURL="curl -s -x http://your.proxy:80"
CURL="curl -s"
#JQ="jq . "
JQ="python -m json.tool "
##
## parameters
##
ADJ_TIME=9000
DIRNAME=`dirname ... | kkoj/oracle_cloud | opc_compute.sh | Shell | gpl-2.0 | 49,837 |
/**
* @file
* Menu Link Weight Javascript functionality.
*/
(function ($) {
/**
* Automatically update the current link title in the menu link weight list.
*/
Drupal.behaviors.menuLinkWeightAutomaticTitle = {
attach: function (context) {
$('fieldset.menu-link-form', context).each(function () {
... | andrysobolev/Drupal-Base | sites/all/modules/contrib/menu_link_weight/js/menu_link_weight.js | JavaScript | gpl-2.0 | 1,218 |
data: The server time is: Fri, 23 Jan 2015 02:20:56 -0500
| platinhom/ManualHom | Coding/W3School/W3Schools_Offline_2015/www.w3schools.com/html/demo_sse.php | PHP | gpl-2.0 | 59 |
/*
* A simple reboot and halt
*/
#include <stdio.h>
#include <string.h>
#include <unistd.h>
int main(int argc, char *argv[])
{
char *p = strchr(argv[0], '/');
if (p)
p++;
else
p = argv[0];
if (strcmp(p, "halt") == 0)
uadmin(A_SHUTDOWN,0,0);
else
uadmin(A_REBOOT,0,0);
/* If we get here th... | geijoenr/FUZIX | Applications/util/reboot.c | C | gpl-2.0 | 361 |
// main48.cc is a part of the PYTHIA event generator.
// Copyright (C) 2020 Torbjorn Sjostrand.
// PYTHIA is licenced under the GNU GPL v2 or later, see COPYING for details.
// Please respect the MCnet Guidelines, see GUIDELINES for details.
// Authors: Philip Ilten <philten@cern.ch>.
// Keywords: B decays; external ... | alisw/pythia8 | examples/main48.cc | C++ | gpl-2.0 | 4,310 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.