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 |
|---|---|---|---|---|---|
/*
Playdar - music content resolver
Copyright (C) 2009 Richard Jones
Copyright (C) 2009 Last.fm Ltd.
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 ... | RJ/playdar | resolvers/local/resolved_item_builder.hpp | C++ | gpl-3.0 | 2,176 |
#region License
//
// GroupableTest.cs
//
// Copyright (C) 2009-2013 Alex Taylor. All Rights Reserved.
//
// This file is part of Digitalis.LDTools.DOM.UnitTests.dll
//
// Digitalis.LDTools.DOM.UnitTests.dll is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Pu... | alex-taylor/Digitalis.LDTools.DOM | UnitTests/GroupableTest.cs | C# | gpl-3.0 | 3,733 |
use std::collections::HashMap;
use std::rc::Rc;
use serde::de::{Deserialize, Deserializer};
use serde_derive::Deserialize;
use toml::value;
use crate::errors;
use crate::icons::Icons;
use crate::protocol::i3bar_event::MouseButton;
use crate::themes::Theme;
#[derive(Debug)]
pub struct SharedConfig {
pub theme: Rc... | greshake/i3status-rust | src/config.rs | Rust | gpl-3.0 | 4,609 |
/*
* WANDORA
* Knowledge Extraction, Management, and Publishing Application
* http://wandora.org
*
* Copyright (C) 2004-2016 Wandora Team
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundat... | wandora-team/wandora | src/org/wandora/query/JoinDirective.java | Java | gpl-3.0 | 3,327 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "//www.w3.org/TR/html4/strict.dtd">
<HTML style="overflow:auto;">
<HEAD>
<meta name="generator" content="JDiff v1.1.0">
<!-- Generated by the JDiff Javadoc doclet -->
<!-- (http://www.jdiff.org) -->
<meta name="description" content="JDiff is a Javadoc doclet which gener... | s20121035/rk3288_android5.1_repo | frameworks/base/docs/html/sdk/api_diff/preview-21/changes/android.transition.AutoTransition.html | HTML | gpl-3.0 | 4,850 |
<?php
// Heading
$_['heading_title'] = 'Εγγραφή';
// Text
$_['text_account'] = 'Λογαριασμός';
$_['text_register'] = 'Εγγραφή';
$_['text_account_already'] = 'Εάν έχετε ήδη λογαριασμό, εισέλθετε από <a href="%s">εδώ</a>.';
$_['text_your_details'] = 'Προσωπικά Στοιχεία';
$_['text_your_address'] ... | lathan/opencart-greek | catalog/language/greek/account/register.php | PHP | gpl-3.0 | 3,384 |
# -*- coding: utf-8 -*-
# Generated by Django 1.10.3 on 2016-11-03 08:56
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_depende... | DomDomPow/snapventure | snapventure-backend/snapventure/migrations/0005_auto_20161103_0856.py | Python | gpl-3.0 | 1,892 |
//
// CreditsViewController.h
// P5P
//
// Created by CNPP on 25.2.2011.
// Copyright Beat Raess 2011. All rights reserved.
//
// This file is part of P5P.
//
// P5P 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... | braess/p5p | Classes/CreditsViewController.h | C | gpl-3.0 | 1,526 |
#ifndef CONFIGURATION_H
#define CONFIGURATION_H
#include <QObject>
#include <qsettings.h>
class Configuration
{
public:
Configuration();
QString Hostname;
QString Username;
QString AutoLogin;
QString SaveDir;
int ConcurrentDownloads;
bool UseSSL;
QSettings *settings;
void Load... | eternalvr/qtmultidl | src/configuration.h | C | gpl-3.0 | 371 |
Note: This is not the [authoritative source](https://www.comlaw.gov.au/Details/C2012C00832) for this act, and likely contains errors
# Australian Transaction Reports and Analysis Centre Supervisory Cost Recovery Levy (Consequential Amendments) Act 2011
##### Act No. 56 of 2011 as amended
##### This compilation was p... | xlfe/gitlaw-au | acts/current/a/australian transaction reports and analysis centre supervisory cost recovery levy (consequential amendments) act 2011.md | Markdown | gpl-3.0 | 16,763 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Data;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
namespace SO.SilList.Manager.Mod... | SilverObject/SilList | SO.SilList.Manager/Models/ValueObjects/JobTypeVo.cs | C# | gpl-3.0 | 1,430 |
/****************************************************************************
**
** Copyright (C) 2014-2015 Dinu SV.
** (contact: mail@dinusv.com)
** This file is part of C++ Snippet Assist application.
**
** GNU General Public License Usage
**
** This file may be used under the terms of the GNU General Public License... | dinusv/cpp-snippet-assist | modules/csa-lib/codebase/QSourceLocation.hpp | C++ | gpl-3.0 | 2,242 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------... | Rapster/handling-simulation | trunk/handling_simulation_1.1/CentralAirportSupervision/Properties/Settings.Designer.cs | C# | gpl-3.0 | 1,088 |
{% load fiber_tags imagekit %}
<div>
{% thumbnail '150x150' product.image %}
<div>
{{ product.text|safe }}
<span class="product-name">
{{ product.name }}
</span>
</div>
<div class="paypal-button">
{{ product.paypal_button|safe }}
</div>
</div>
{% if '... | ebrelsford/growing_cities | growing_cities/templates/products/_product_detail.html | HTML | gpl-3.0 | 454 |
package cat.foixench.test.parcelable;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
publi... | gothalo/Android-2017 | 014-Parcelable/app/src/test/java/cat/foixench/test/parcelable/ExampleUnitTest.java | Java | gpl-3.0 | 406 |
package com.acgmodcrew.kip.tileentity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
/**
* Created by Malec on 05/03/2015.
*/
public class TileEntityRepositry extends TileEntity implements ... | ACGModCrew/kip | src/main/java/com/acgmodcrew/kip/tileentity/TileEntityRepositry.java | Java | gpl-3.0 | 2,563 |
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="report.css" type="text/css"/>
<title></title>
<script type="text/javascript" src="report.js"></script>
<script type="text/javascript" src="link_popup.js"></script>
<script type="text/javascript" src="too... | jpdms/snDiscovery | Modele/Consultation/content/ProjectFillColorModel_5TXSTsKAUChCqAHD.html | HTML | gpl-3.0 | 5,311 |
import os
import re
import subprocess
# Copied from Trojita
"""Fetch the .po files from KDE's SVN for GCompris
Run me from GCompris's top-level directory.
"""
SVN_PATH = "svn://anonsvn.kde.org/home/kde/trunk/l10n-kf5/"
SOURCE_PO_PATH = "/messages/kdereview/gcompris_qt.po"
OUTPUT_PO_PATH = "./po/"
OUTPUT_PO_PATTERN ... | siddhism/GCompris-qt | tools/l10n-fetch-po-files.py | Python | gpl-3.0 | 1,862 |
#include <includes.h>
#include <utils.h>
#include <methnum.h>
#include "s_param.h"
#include "integral.h"
double Ivac ( Param * P , double m )
{
double m2 = m*m ;
double LE = sqrt ( m2 + P->L2 );
return 0.5 * ONE_OVER_8PI_2 * ( P->L * LE * ( m2 + 2*P->L ) + m2*m2 * log ( m/(P->L + LE) ) ) ;
}
double dm_Iva... | AlexandreBiguet/NJLlikeModels | legacy/programs/njl-0/njl1-b/integral.c | C | gpl-3.0 | 2,487 |
#include "Scene.h"
#include "Screen.h"
Scene::Scene()
{
}
void Scene::Update()
{
Object::AddPreparedObjects();
for (Object* obj : Object::objects)
{
if (obj->IsActive())
obj->Update();
}
for (auto iter = Object::objects.begin(); iter != Object::objects.end(); iter++)
{
if (!(*iter)->IsActive())
{
... | TrinityLab/MagicEdge | MagicEdge/Scene.cpp | C++ | gpl-3.0 | 1,367 |
package com.simplecity.amp_library.playback;
import android.annotation.SuppressLint;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
import android.media.... | timusus/Shuttle | app/src/main/java/com/simplecity/amp_library/playback/MediaSessionManager.java | Java | gpl-3.0 | 15,327 |
#!/usr/bin/env perl
use strict;
use warnings;
@ARGV >= 1 or die "Usage: \n\tperl $0 event1 event2 ... eventn\n\tperl $0 events.info\n";
my @events;
if (@ARGV == 1 and -f $ARGV[0]) {
open(IN, "< $ARGV[0]");
foreach (<IN>) {
my ($event) = split /\s+/;
push @events, $event;
}
close(IN);
... | wangliang1989/oh-my-cap | example/process.pl | Perl | gpl-3.0 | 610 |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
(function(){var l={_attachScript:function(e,c){var d=new CKEDITOR.dom.element("script");d.setAttribute("src",e);d.on("error",c);CKEDITOR.document.getBody().append(d);return d}... | Daniel-KM/Omeka-S | application/asset/vendor/ckeditor/plugins/embedbase/plugin.js | JavaScript | gpl-3.0 | 3,601 |
<?php require_once 'header.php';?>
<div class="page-header">
<h1><?=APP_NAME ?></h1>
</div>
<a href="auth">auth</a>
<!--echo "role=".<?=$role ?>; -->
<?php
$app = \Slim\Slim::getInstance();
// echo "user->role=".$app->user->role;
?>
<?php require_once 'footer.php';?> | winguse/GithubApp | assets/index.php | PHP | gpl-3.0 | 279 |
/**
* Copyright 2017 Kaloyan Raev
*
* This file is part of chitanka4kindle.
*
* chitanka4kindle 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) ... | kaloyan-raev/chitanka4kindle | src/main/java/name/raev/kaloyan/kindle/chitanka/model/search/label/Label.java | Java | gpl-3.0 | 1,251 |
export class GameId {
constructor(
public game_id: string) {
}
}
| mkokotovich/play_smear | front_end/src/app/model/game-id.ts | TypeScript | gpl-3.0 | 81 |
namespace Net.Demandware.Ocapi.Resources.Data
{
class Coupons
{
}
}
| CoderHead/DemandwareDotNet | Net.Demandware.Ocapi/Resources/Data/Coupons.cs | C# | gpl-3.0 | 89 |
/** File errors.cc author Vladislav Tcendrovskii
* Copyright (c) 2013
* This source subjected to the Gnu General Public License v3 or later (see LICENSE)
* All other rights reserved
* THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY
* OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
* INCLUDING B... | vladtcvs/geodesic | src/errors.cc | C++ | gpl-3.0 | 987 |
#! /usr/bin/python
from xml.sax.saxutils import escape
import re
def ConvertDiagnosticLineToSonqarqube(item):
try:
id, line, message, source_file = GetDiagnosticFieldsFromDiagnosticLine(item)
WriteDiagnosticFieldsToFile(id, line, message, source_file)
except:
print 'Cant parse line {}'... | deadloko/ClangCompilerWarningsToSonarQubeRules | report_converter.py | Python | gpl-3.0 | 1,862 |
/* Coolors Exported Palette - coolors.co/393d3f-437f97-f2bb05-ff8552-071e22
*
* Black Olive
* rgba(57, 61, 63, 1)
* Queen Blue
* rgba(67, 127, 151, 1)
* Selective Yellow
* rgba(242, 187, 5, 1)
* Coral
* rgba(255, 133, 82, 1)
* Dark Jungle Green
* rgba(7, 30, 34, 1)
*
*/
html {
backgroun... | Seetee/floss.design | css/main.css | CSS | gpl-3.0 | 743 |
#!/usr/bin/env python
import os
import tempfile
import pipes
import subprocess
import time
import random
import shutil
try:
from wand.image import Image
from wand.display import display
except ImportError as e:
# cd /usr/lib/
# ln -s libMagickWand-6.Q16.so libMagickWand.so
print("Couldn't import Wand packag... | wazari972/WebAlbums | WebAlbums-FS/WebAlbums-Utils/Photowall/photowall.py | Python | gpl-3.0 | 15,846 |
/*
* Copyright (C) 2019 phramusca ( https://github.com/phramusca/ )
*
* 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 versi... | phramusca/JaMuz | test/jamuz/process/book/TableModelBookTest.java | Java | gpl-3.0 | 7,906 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<style>
table.head, table.foot { width: 100%; }
td.head-rtitle, td.foot-os { text-align: right; }
td.head-vol { text-align: center; }
table.foot td { width: 50%; }
table.head td { width: 33%; }
div.spacer { margin: 1em 0; }
</style>
<title>
LNSTAT(8)</title>
</head>... | fusion809/fusion809.github.io-old | man/lnstat.8.html | HTML | gpl-3.0 | 3,538 |
#!/bin/sh
#
# Build and test mocpy in a 32-bit environment with python3
#
# Usage:
# testing_py3_ubuntu32.sh
#
# Update packages to the latest available versions
linux32 --32bit i386 sh -c '
apt update > /dev/null &&
apt install -y curl pkg-config libfreetype6-dev \
python3 python3-pip >/dev/null &&
# S... | tboch/mocpy | travis/testing_i686.sh | Shell | gpl-3.0 | 1,050 |
<?PHP
class ftp {
/**
* @var string FTP Host
*/
private $_host;
/**
* @var string FTP Port
*/
private $_port;
/**
* @var string FTP User
*/
private $_user;
/**
* @var string FTP Passwort
*/
private $_password;
/**
* @var ressource FTP Verbindung
*/
private $_connection;
/**
* @var bool ... | extremmichi/Litotex-0.7 | setup/ftp_class.php | PHP | gpl-3.0 | 9,941 |
<head><title>Popular Baby Names</title>
<meta name="dc.language" scheme="ISO639-2" content="eng">
<meta name="dc.creator" content="OACT">
<meta name="lead_content_manager" content="JeffK">
<meta name="coder" content="JeffK">
<meta name="dc.date.reviewed" scheme="ISO8601" content="2005-12-30">
<link rel="stylesheet" hre... | guydavis/babynamemap | stats/usa/AR/1981.html | HTML | gpl-3.0 | 20,463 |
#ifndef RESIDUAL_H
#define RESIDUAL_H
#include "base.h"
#include "peak_detection.h"
#include "partial_tracking.h"
#include "synthesis.h"
extern "C" {
#include "sms.h"
}
using namespace std;
namespace simpl
{
// ---------------------------------------------------------------------------
// Residual
//
// Calcu... | johnglover/simpl | src/simpl/residual.h | C | gpl-3.0 | 2,081 |
<!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"/>
<meta name="generator" con... | nsol-nmsu/ndnSIM | docs/icens/html/dir_5d6f6271b0ce2ddab294170ccac04363.html | HTML | gpl-3.0 | 3,033 |
/*
* 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... | Borlea/EchoPet | modules/v1_14_R1/src/com/dsh105/echopet/compat/nms/v1_14_R1/entity/type/EntityGiantPet.java | Java | gpl-3.0 | 1,596 |
<?php
namespace GO\Base\Fs;
class MemoryFile extends File{
private $_data;
public function __construct($filename, $data) {
$this->_data = $data;
return parent::__construct($filename);
}
public function getContents() {
return $this->_data;
}
public function contents() {
return $this->_dat... | deependhulla/powermail-debian9 | files/rootdir/usr/local/src/groupoffice-6.3/go/base/fs/MemoryFile.php | PHP | gpl-3.0 | 2,677 |
<!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"/>
<meta name="generator" con... | nikolausfurian/HCDESLib | API/class_sample_hospital_model_1_1_visualization_1_1_w_p_f_visualization_engine_outpatient_department.html | HTML | gpl-3.0 | 44,934 |
<?PHP
require_once("./include/membersite_config.php");
if(isset($_POST['submitted']))
{
if($fgmembersite->RegisterUser())
{
require_once("config.php");
mkdir($dataDir);
mkdir($dataDir."CLASSTéléversés");
$fgmembersite->RedirectToURL("thank-you.html");
... | LaboManu/bloc-notes | app/register.php | PHP | gpl-3.0 | 3,638 |
/*
* Copyright (C) 2006-2008 Alfresco Software Limited.
*
* 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... | arcusys/Liferay-CIFS | source/java/org/alfresco/jlan/server/filesys/TransactionalFilesystemInterface.java | Java | gpl-3.0 | 1,957 |
//
// ECCardView.h
// Beacon
//
// Created by 段昊宇 on 2017/5/29.
// Copyright © 2017年 Echo. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "CCDraggableCardView.h"
#import "ECReturningVideo.h"
@interface ECCardView : CCDraggableCardView
- (void)initialData:(ECReturningVideo *)video;
- (void)addLiked;
- (... | SeaHub/Beacon | Beacon/Beacon/ECCardView.h | C | gpl-3.0 | 350 |
-- >> INVENTORY <<
DROP TABLE Items CASCADE;
DROP TABLE contient;
DROP TRIGGER IF EXISTS delcharacter ON Characterr;
CREATE TABLE public.Items(
id_inventory INT,
item_name VARCHAR(100),
qte INT CONSTRAINT item_qte_null NOT NULL CONSTRAINT item_qte_check CHECK (qte > 0) ,
weight F... | ttgc/TtgcBot | database-scripts/jdr_rewrite.sql | SQL | gpl-3.0 | 5,931 |
#PASTOR: Code generated by XML::Pastor/1.0.4 at 'Sun Jun 28 20:44:47 2015'
use utf8;
use strict;
use warnings;
no warnings qw(uninitialized);
use XML::Pastor;
#================================================================
package SAN::Cat::Type::catRecord;
use SAN::Cat::Type::catRecordBody;
use SAN::Cat::Typ... | pro-memoria/caHarvester | lib/SAN/Cat/Type/catRecord.pm | Perl | gpl-3.0 | 3,566 |
/*
* This file is part of InTEL, the Interactive Toolkit for Engineering Learning.
* http://intel.gatech.edu
*
* InTEL 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 L... | jogjayr/InTEL-Project | exercises/Keyboard/src/keyboard/KeyboardExercise.java | Java | gpl-3.0 | 12,512 |
<?php
/**
* Online Course Resources [Pre-Clerkship]
* Module: Courses
* Area: Admin
* @author Unit: Medical Education Technology Unit
* @author Director: Dr. Benjamin Chen <bhc@post.queensu.ca>
* @author Developer: James Ellis <james.ellis@queensu.ca>
* @version 0.8.3
* @copyright Copyright 2009 Queen's Univers... | EntradaProject/entrada-1x | www-root/api/fetchobjectives.api.php | PHP | gpl-3.0 | 4,728 |
/*
* Transportr
*
* Copyright (c) 2013 - 2021 Torsten Grote
*
* 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... | grote/Transportr | app/src/androidTest/java/de/grobox/transportr/data/locations/FavoriteLocationTest.java | Java | gpl-3.0 | 9,335 |
import time
from datetime import datetime
from pydoc import locate
from unittest import SkipTest
from countries_plus.models import Country
from django.conf import settings
from django.contrib.auth import get_user_model
from django.contrib.auth.models import Permission
from django.test import override_settings, tag
fro... | ESSolutions/ESSArch_Core | ESSArch_Core/tags/tests/test_search.py | Python | gpl-3.0 | 22,665 |
<?xml version="1.0" encoding="utf-8"?>
<!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" xml:lang="en" lang="en">
<head>
<title>ActionView::Helpers::NumberHelper::InvalidNumberError</title>
<me... | rafaellc28/Portfolio | doc/api/classes/ActionView/Helpers/NumberHelper/InvalidNumberError.html | HTML | gpl-3.0 | 4,256 |
here is some text followed by \mycommand
{here is some text \textbf
{bold tex
}
after text
}
{and some \emph
{emphacised
}
text
}
[and finally some \itshape
{italicized
}
]
and
some more text \textbf
{bold text
}
and here is another command \cmh
[optional
]
{mandatory
}
after text \f... | cmhughes/latexindent.pl | test-cases/commands/commands-nested-multiple-mod47.tex | TeX | gpl-3.0 | 1,091 |
/**
* Bukkit plugin which moves the mobs closer to the players.
* Copyright (C) 2016 Jakub "Co0sh" Sapalski
*
* 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 Licen... | Co0sh/Hordes | src/main/java/pl/betoncraft/hordes/Blocker.java | Java | gpl-3.0 | 2,168 |
<!DOCTYPE HTML>
<html lang="zh-hans" >
<!-- Start book Unity Source Book -->
<head>
<!-- head:start -->
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Transform | Unity Source Book</title>
<meta content="text/html; charset=utf-8" htt... | li-kang/unity-concise-course | UnityClass/transform.html | HTML | gpl-3.0 | 31,642 |
<?php
include(__DIR__ . '/http_move.php');
include(__DIR__ . '/security_arguments.php');
// this is it
| wooygcom/mapc.me | web/mapc-system/library/_library.php | PHP | gpl-3.0 | 104 |
/*
* RenderRasterize_Shader.h
* Created by Clemens Unterkofler on 1/20/09.
* for Aleph One
*
* http://www.gnu.org/licenses/gpl.html
*/
#ifndef _RENDERRASTERIZE_SHADER__H
#define _RENDERRASTERIZE_SHADER__H
#include "cseries.h"
#include "map.h"
#include "RenderRasterize.h"
#include "OGL_FBO.h"
#include "OGL_... | MaddTheSane/alephone | Source_Files/RenderMain/RenderRasterize_Shader.h | C | gpl-3.0 | 1,903 |
#include <QtGui>
#include <QTcpSocket>
#include "phonecall.h"
#include "dcc.h"
DCCDialog::DCCDialog(QWidget *parent)
: QDialog(parent)
{
QStringList list;
QVBoxLayout* mainLayout = new QVBoxLayout(this);
table = new QTableWidget(this);
table->setColumnCount(8);
list << tr("Status") << tr("Fi... | korbatit/qtchat | dcc.cpp | C++ | gpl-3.0 | 5,563 |
package cn.com.jautoitx;
import org.apache.commons.lang3.StringUtils;
import com.sun.jna.platform.win32.WinDef.HWND;
/**
* Build window title base on Advanced Window Descriptions.
*
* @author zhengbo.wang
*/
public class TitleBuilder {
/**
* Build window title base on Advanced Window Descriptions.
*
* @... | Pheelbert/twitchplayclient | src/cn/com/jautoitx/TitleBuilder.java | Java | gpl-3.0 | 12,238 |
\begin{lstlisting}[caption=RoR installation]
# install ruby
sudo apt-get install ruby ruby-dev
# install sqllite
sudo apt-get install sqlite3 libsqlite3-dev
# install postgresql
sudo apt-get install postgresql
# install java script
sudo apt-get install nodejs
#
# download and cd to gems di... | michaelthe/web_chatting | doc/Chapters/appendix/RoRinstallation.tex | TeX | gpl-3.0 | 941 |
package me.vadik.instaclimb.view.adapter;
import android.content.Context;
import android.databinding.ViewDataBinding;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import me.vadik.instaclimb.databinding.RowLayoutRouteBinding;
import me.vadik.instaclimb.databinding.UserCardBinding;
import me.vadik... | sirekanyan/instaclimb | app/src/main/java/me/vadik/instaclimb/view/adapter/UserRecyclerViewAdapter.java | Java | gpl-3.0 | 1,531 |
Ext.define('Omni.view.sizes.Explorer', {
extend: 'Buildit.ux.explorer.Panel',
alias: 'widget.omni-sizes-Explorer',
initComponent: function() {
var me = this;
// EXPLORER INIT (Start) ===============================================================
Ext.apply(this, {
allowFind: true,
s... | tunacasserole/omni | app/assets/javascripts/omni/view/sizes/Explorer.js | JavaScript | gpl-3.0 | 2,541 |
# Copyright (C) 2012 Statoil ASA, Norway.
#
# The file 'enkf_node.py' is part of ERT - Ensemble based Reservoir Tool.
#
# ERT 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... | iLoop2/ResInsight | ThirdParty/Ert/devel/python/python/ert/enkf/data/enkf_node.py | Python | gpl-3.0 | 3,730 |
package task_config
import (
"github.com/sonm-io/core/proto"
"github.com/sonm-io/core/util/config"
)
func LoadConfig(path string) (*sonm.TaskSpec, error) {
// Manual renaming from snake_case to lowercase fields here to be able to
// load them directly in the protobuf.
cfg := &sonm.TaskSpec{}
if err := config.Lo... | sonm-io/core | cmd/cli/task_config/config.go | GO | gpl-3.0 | 476 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Web;
using System.Xml;
using System.Xml.XPath;
using System.IO;
using LyricsFetcher;
using iTunesLib;
using WMPLib;
using WMFSDKWrapper;
public class TestSong : Song
{... | mattshall/lyricsfetcher | CommandLine/Program.cs | C# | gpl-3.0 | 14,295 |
#!/bin/sh
# AwesomeTTS text-to-speech add-on for Anki
# Copyright (C) 2010-Present Anki AwesomeTTS Development Team
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the Li... | AwesomeTTS/awesometts-anki-addon | tools/symlink.sh | Shell | gpl-3.0 | 2,285 |
#pragma once
#ifndef HPTT_PARAM_PARAMETER_TRANS_H_
#define HPTT_PARAM_PARAMETER_TRANS_H_
#include <array>
#include <utility>
#include <unordered_map>
#include <unordered_set>
#include <algorithm>
#include <hptt/types.h>
#include <hptt/tensor.h>
#include <hptt/arch/compat.h>
#include <hptt/util/util_trans.h>
#include ... | tongsucn/hptt | inc/hptt/param/parameter_trans.h | C | gpl-3.0 | 2,854 |
package tencentcloud.constant;
/**
* @author fanwh
* @version v1.0
* @decription
* @create on 2017/11/10 16:09
*/
public class RegionConstants {
/**
* 北京
*/
public static final String PEKING = "ap-beijing";
/**
* 上海
*/
public static final String SHANGHAI = "ap-shanghai";
/... | ghforlang/Working | Test/src/main/java/tencentcloud/constant/RegionConstants.java | Java | gpl-3.0 | 1,002 |
/* The following code was generated by JFlex 1.6.1 */
package com.jim_project.interprete.parser.previo;
import com.jim_project.interprete.parser.AnalizadorLexico;
/**
* This class is a scanner generated by
* <a href="http://www.jflex.de/">JFlex</a> 1.6.1
* from the specification file <tt>C:/Users/alber_000/Docu... | alberh/JIM | jim/src/main/java/com/jim_project/interprete/parser/previo/PrevioLex.java | Java | gpl-3.0 | 20,877 |
#include "cdi.h"
#include "mds_reader.h"
#include "common.h"
SessionInfo mds_ses;
TocInfo mds_toc;
DiscType mds_Disctype=CdRom;
struct file_TrackInfo
{
u32 FAD;
u32 Offset;
u32 SectorSize;
};
file_TrackInfo mds_Track[101];
FILE* fp_mdf=0;
u8 mds_SecTemp[5120];
u32 mds_TrackCount;
u32 mds_ReadSSect(u8* p_out,u32... | workhorsy/nulldc-linux | nulldc/plugins/ImgReader/mds.cpp | C++ | gpl-3.0 | 7,400 |
<!DOCTYPE html>
<html>
<head>
<title></title>
<!--Import Google Icon Font-->
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projecti... | jinoantony/Trax-it_V_1.0.7 | traxit/hi.html | HTML | gpl-3.0 | 919 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ksana Humanity Platform</title>
<!--<script src="../node_webkit/jslib/ksanajslib.min.js"></script>//-->
<script src="../node_webkit/jslib/require.js" data-main="../node_webkit/jslib/ksanajslib"></script>
<link rel="stylesheet" href="../node_w... | ksanaforge/khp_aura | index.html | HTML | gpl-3.0 | 743 |
package visGrid.diagram.edit.parts;
import java.io.File;
import java.util.Collections;
import java.util.List;
import org.eclipse.draw2d.IFigure;
import org.eclipse.draw2d.Label;
import org.eclipse.draw2d.geometry.Dimension;
import org.eclipse.draw2d.geometry.Point;
import org.eclipse.draw2d.geometry.Rectangle;
im... | mikesligo/visGrid | ie.tcd.gmf.visGrid.diagram/src/visGrid/diagram/edit/parts/Series_reactorNameEditPart.java | Java | gpl-3.0 | 16,066 |
#include "mainwindow.h"
#include <exception>
#include <QMessageBox>
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
{
//setWindowFlags(Qt::CustomizeWindowHint);
menuBar()->close();
setStyleSheet("QPushButton{"
"background-color:gray;"
"colo... | Zix777/Complex-mathematical-expressions | Calculator/mainwindow.cpp | C++ | gpl-3.0 | 10,051 |
/**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Thu Sep 20 14:23:56 GMT 2018
*/
package uk.ac.sanger.artemis;
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;... | sanger-pathogens/Artemis | src/test/evosuite/uk/ac/sanger/artemis/EntryChangeEvent_ESTest_scaffolding.java | Java | gpl-3.0 | 7,735 |
// Copyright 2017 Ryan Wick (rrwick@gmail.com)
// https://github.com/rrwick/Unicycler
// This file is part of Unicycler. Unicycler 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... | rrwick/Unicycler | unicycler/src/overlap_align.cpp | C++ | gpl-3.0 | 3,185 |
package me.anthonybruno.soccerSim.reader;
import org.apache.pdfbox.io.RandomAccessFile;
import org.apache.pdfbox.pdfparser.PDFParser;
import org.apache.pdfbox.text.PDFTextStripperByArea;
import java.awt.geom.Rectangle2D;
import java.io.File;
import java.io.IOException;
/**
* A class that parsers team PDF files in... | AussieGuy0/soccerSim | src/main/java/me/anthonybruno/soccerSim/reader/TeamPdfReader.java | Java | gpl-3.0 | 9,771 |
module TransactionChains
class Lifetimes::ExpirationWarning < ::TransactionChain
label 'Expiration'
allow_empty
def link_chain(klass, q)
q.each do |obj|
user = if obj.is_a?(::User)
obj
elsif obj.respond_to?(:user)
obj.user
else... | vpsfreecz/vpsadmin-webui | api/models/transaction_chains/lifetimes/expiration_warning.rb | Ruby | gpl-3.0 | 792 |
---
---
InternalResource provides access to static resources in the class path.
## Related components
* [AudioResource](AudioResource.html)
* [ImageResource](ImageResource.html)
* [VideoResource](VideoResource.html)
* [WImage](WImage.html)
* [WApplication](WApplication.html)
* [WContent](WContent.html)
* [WImage](WIm... | marksreeves/faff | docs/wiki/InternalResource.md | Markdown | gpl-3.0 | 552 |
#pragma once
#include <vector>
#include <boost/thread.hpp>
#include <boost/thread/condition_variable.hpp>
#include <boost/bind.hpp>
#include <boost/version.hpp>
#include <boost/function.hpp>
#include <boost/interprocess/detail/atomic.hpp>
#if (BOOST_VERSION < 104800)
using boost::interprocess::detail::atomic_inc32;... | marwan-abdellah/luxrender-lux | core/scheduler.h | C | gpl-3.0 | 2,656 |
// This file belongs to the "MiniCore" game engine.
// Copyright (C) 2012 Jussi Lind <jussi.lind@iki.fi>
//
// 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,... | juzzlin/DustRacing2D | src/game/MiniCore/src/Core/mclogger.hh | C++ | gpl-3.0 | 2,473 |
//
// tcpconnection.cpp
//
// This implements RFC 793 with some changes in RFC 1122 and RFC 6298.
//
// Non-implemented features:
// dynamic receive window
// URG flag and urgent pointer
// delayed ACK
// queueing out-of-order TCP segments
// security/compartment
// precedence
// user timeout
//
// Circle - A C++ bare ... | rsta2/circle | lib/net/tcpconnection.cpp | C++ | gpl-3.0 | 34,730 |
# Controller generated by Typus, use it to extend admin functionality.
class Admin::UserInterestsController < Admin::MasterController
=begin
##
# You can overwrite and extend Admin::MasterController with your methods.
#
# Actions have to be defined in <tt>config/typus/application.yml</tt>:
#
# UserInter... | adamklawonn/CityCircles | app/controllers/admin/user_interests_controller.rb | Ruby | gpl-3.0 | 802 |
#include "template_components.h"
#include <QtGui/QSpacerItem>
TemplateComponents::TemplateComponents(const QSharedPointer<const Template>& templ,
QWidget *parent)
: QWidget(parent), templ(templ)
{
ui.setupUi(this);
QList<FoodComponent> components = templ->getComponen... | tylermchenry/nutrition_tracker | application/src/widgets/template_components.cpp | C++ | gpl-3.0 | 3,460 |
/*
* Copyright (c) 2014-2016 Alex Spataru <alex_spataru@outlook.com>
*
* This file is part of the QSimpleUpdater library, which is released under
* the DBAD license, you can read a copy of it below:
*
* DON'T BE A DICK PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING,
* DISTRIBUTION AND MODIFICATION:
*
... | cbpeckles/PXMessenger | include/QSimpleUpdater/include/QSimpleUpdater.h | C | gpl-3.0 | 4,307 |
/*
-------------------------------------------------------------------------------
This file is part of the weather information collector.
Copyright (C) 2018, 2019, 2020, 2021 Dirk Stolle
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public... | striezel/weather-information-collector | src/synchronizer/main.cpp | C++ | gpl-3.0 | 19,214 |
#define BOOST_TEST_MODULE segmentize tests
#include <boost/test/unit_test.hpp>
#include <ostream>
#include "segmentize.hpp"
#include "bg_operators.hpp"
using namespace std;
BOOST_AUTO_TEST_SUITE(segmentize_tests)
void print_result(const vector<std::pair<linestring_type_fp, bool>>& result) {
cout << result;
}
BOO... | pcb2gcode/pcb2gcode | segmentize_tests.cpp | C++ | gpl-3.0 | 2,382 |
<?php
/**
* Simple product add to cart
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.1.0
*/
global $woocommerce, $product;
if ( ! $product->is_purchasable() ) return;
?>
<?php
// Availability
$availability = $product->get_availability();
if ($availability['availability']) :
ec... | zgomotos/Bazar | woocommerce/single-product/add-to-cart/simple.php | PHP | gpl-3.0 | 1,617 |
#include <stdio.h>
#include "aeb.h"
#include <string.h>
#include <math.h>
int main() {
Aeb * raiz, *esq, * dir;
Aeb * arvore;
double r;
char s[127];
/*arvore = criaRaiz('*');
esq = criaFolha(10.0);
dir = criaFolha(7.0);
conectaNodos(arvore, esq, dir);
raiz = criaRaiz('+');
dir = criaFolha(8.0);
... | EltonBroering/Programacao_C | Projeto7/teste.c | C | gpl-3.0 | 636 |
/**
* dfs 找 LCA. 只有一次查询,所以不需要 tarjan 或者 rmq
* 个人感觉 rmq 好理解一些,dfs标号一下然后转化成区间最小值。( u v 之间最短路径上深度最小的节点)
*/
using namespace std;
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* ... | ShengRang/c4f | leetcode/lowest-common-ancestor-of-a-binary-tree.cc | C++ | gpl-3.0 | 998 |
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using NFluent;
using SmallWorld.BusinessEntities.Football.DeedDetectors;
using SmallWorld.BusinessEntities.Interfaces.Football.Agents;
namespace SmallWorld.BusinessEntities.UnitTests.Football.DeedDetectors
{
[TestClas... | cerobe/SmallWorld | Tests/SmallWorld.BusinessEntities.UnitTests/Football/DeedDetectors/MoveDetectorTest.cs | C# | gpl-3.0 | 1,136 |
/*
* Symphony - A modern community (forum/SNS/blog) platform written in Java.
* Copyright (C) 2012-2017, b3log.org & hacpai.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 ve... | gaozhenhong/symphony | src/main/java/org/b3log/symphony/service/CommentMgmtService.java | Java | gpl-3.0 | 22,223 |
static inline struct pthread *__pthread_self()
{
struct pthread *self;
__asm__ ("mov %%fs:0,%0" : "=r" (self) );
return self;
}
#define TP_ADJ(p) (p)
#define MC_PC gregs[REG_RIP]
| jalembke/ProxyFS | musl/arch/x86_64/pthread_arch.h | C | gpl-3.0 | 184 |
/*
* Copyright (C) 2010-2019 The ESPResSo project
*
* This file is part of ESPResSo.
*
* ESPResSo 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) ... | fweik/espresso | src/core/grid_based_algorithms/lbgpu.hpp | C++ | gpl-3.0 | 7,560 |
/*
* Copyright (C) 2000 - 2011 TagServlet Ltd
*
* This file is part of Open BlueDragon (OpenBD) CFML Server Engine.
*
* OpenBD is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* Free Software Foundation,version 3.
*
* Open... | OpenBD/openbd-core | src/org/alanwilliamson/openbd/plugin/crontab/CronSetDirectory.java | Java | gpl-3.0 | 2,444 |
package com.gentasaurus.ubahfood.inventory;
import com.gentasaurus.ubahfood.init.ModBlocks;
import com.gentasaurus.ubahfood.item.crafting.SCMCraftingManager;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.inven... | gentasaurus/UbahFood | src/main/java/com/gentasaurus/ubahfood/inventory/ContainerSCM.java | Java | gpl-3.0 | 3,263 |
#ifndef __MACROS_H__
#define __MACROS_H__
#include "config.h"
#define __KERNELNAME__ "code0"
/*
* This file is automatically included before the first line of any
* source file, using gcc's -imacro command line option. Only macro
* definitions will be extracted.
*/
#define INC_ARCH(x) <l4/arch/__AR... | freecores/c0or1k | include/l4/macros.h | C | gpl-3.0 | 3,725 |
#include "prism/animation.h"
#include <stdlib.h>
#include "prism/log.h"
#include "prism/datastructures.h"
#include "prism/memoryhandler.h"
#include "prism/system.h"
#include "prism/timer.h"
#include "prism/stlutil.h"
using namespace std;
static struct {
int mIsPaused;
} gPrismAnimationData;
int getDurationInFra... | CaptainDreamcast/libtari | animation.cpp | C++ | gpl-3.0 | 13,226 |
/*
* Copyright (c) 2011-2013 Lp digital system
*
* This file is part of BackBee.
*
* BackBee 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 l... | ndufreche/BbCoreJs | src/tb/component/formbuilder/form/element/views/form.element.view.hidden.js | JavaScript | gpl-3.0 | 2,067 |
/*
RWImporter
Copyright (C) 2017 Martin Smith
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 t... | farling42/csv2rw | rw_snippet.cpp | C++ | gpl-3.0 | 17,289 |
#include "podcastclient.h"
QStringList PodcastClient::getFeedsFromSettings()
{
QStringList resultList = settings.value("feeds").toStringList();
if(resultList.isEmpty())
{
QString string = settings.value("feeds").toString();
if(!string.isEmpty())
resultList.push_back(string);
}
return resultList... | R-Rudolph/minicatcher | podcastclient.cpp | C++ | gpl-3.0 | 4,030 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.