code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2012 The PHP Group |
+--------------... | ssanglee/capstone | php-5.4.6/ext/pdo_pgsql/php_pdo_pgsql.h | C | gpl-2.0 | 1,621 |
<?php
// Jeff Hannan
include_once("TableTopics/TableTopicsSQL.php");
include_once("TableTopics/TableTopicsQueries.php");
//
// potentially one-off functions. None of these call each other, only the above functions.
//
// none of the functions in here call each other, they only call tabletopicsqueries or tabletopicsSQL... | jeffhannan/argvark | php/TableTopics/TableTopicsUtils.php | PHP | gpl-2.0 | 3,945 |
x = rand(1,14760000)
y = rand(1,14760000)
tic()
atan2(x,y)
toc()
| altieresdelsent/FSFM | src/other/testBox.jl | Julia | gpl-2.0 | 70 |
/*
* gui_flightdetail.cpp
*
* Created on: 22.02.2017
* Author: tilmann@bubecks.de
*/
#include "gui_flightdetail.h"
#include "../gui_list.h"
#include "../gui_dialog.h"
#include "../../fc/conf.h"
#include "../../fc/logger/logger.h"
uint32_t log_duration;
uint32_t log_start;
struct flight_stats_t log_stat;
... | dpsfotocestou/SkyDrop | skydrop/src/gui/settings/gui_flightdetail.cpp | C++ | gpl-2.0 | 5,162 |
<?php
/**
* @version SEBLOD 3.x Core ~ $Id: _CREDITS.php sebastienheraud $
* @package SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url http://www.seblod.com
* @editor Octopoos - www.octopoos.com
* @copyright Copyright (C) 2009 - 2016 SEBLOD. All Rights Reserved.
* @license GNU General Publi... | Silasfelipegarcia/pdvoluntario | libraries/cck/_CREDITS.php | PHP | gpl-2.0 | 3,242 |
<?php
if(!isset($_SESSION)) {
session_start();
} ;
ob_start();
include '../connectToDB.php';
$id = $_GET['id'];
if (isset($_SESSION['userid']))
{
$stmt = $db->prepare("UPDATE `orion`.`g_user_videogames` SET `completed`='1', `g_first`=now() WHERE `g_id`= :gid");
$stmt->bindParam(':gid', $id);
$result ... | ALeonard9/sandbox-src | cgi-bin/videogame/played.php | PHP | gpl-2.0 | 535 |
//Dont change it
requirejs(['ext_editor_1', 'jquery_190', 'raphael_210'],
function (ext, $, TableComponent) {
var cur_slide = {};
ext.set_start_game(function (this_e) {
});
ext.set_process_in(function (this_e, data) {
cur_slide["in"] = data[0];
});
ext... | Bryukh-Checkio-Tasks/checkio-task-8-puzzle | editor/animation/init.js | JavaScript | gpl-2.0 | 17,783 |
/*
* Copyright (C) 2001-2003 FhG Fokus
*
* This file is part of opensips, a free SIP server.
*
* opensips 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 ... | chiforbogdan/opensips | sr_module.c | C | gpl-2.0 | 18,671 |
/*
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
*
* 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
... | Aszune/TrinityCoreRP | src/server/game/Handlers/SpellHandler.cpp | C++ | gpl-2.0 | 22,993 |
#ifndef SPRITE_SET_H
#define SPRITE_SET_H
#include <vector>
#include "Shape.h"
namespace rgl {
//
// SPRITESET
//
class SpriteSet : public Shape {
private:
ARRAY<Vertex> vertex;
ARRAY<float> size;
public:
SpriteSet(Material& material, int nvertex, double* vertex, int nsize, double* size,
int ig... | trestletech/rgl | src/SpriteSet.h | C | gpl-2.0 | 1,545 |
#ifndef ECP_WII_JOINT_GENERATOR_H
#define ECP_WII_JOINT_GENERATOR_H
#include "base/ecp/ecp_generator.h"
#include "application/wii_teach/sensor/ecp_mp_s_wiimote.h"
#include "application/wii_teach/generator/ecp_g_wii.h"
namespace mrrocpp {
namespace ecp {
namespace irp6ot_m {
namespace generator {
/** @addtogroup wii_... | ptroja/mrrocpp | src/application/wii_teach/generator/ecp_g_wii_joint.h | C | gpl-2.0 | 1,023 |
<?php
/**
* 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; under version 2
* of the License (non-upgradable).
*
* This program is distributed in the hope that it will be useful,
* but WITH... | oat-sa/extension-tao-testcenter | test/unit/gui/form/TreeFormFactoryTest.php | PHP | gpl-2.0 | 3,464 |
/*------------------------------------------------------------------------------
Hello, this is the RTL version of the main WordPress admin CSS file.
All the important stuff is in here.
TABLE OF CONTENTS:
------------------
1.0 - Text Elements
2.0 - Forms
3.0 - Actions
4.0 - Notifications
5.0 - TinyMCE
6.0 -... | maintainweb/maintainweb | wp-admin/css/wp-admin-rtl.dev.css | CSS | gpl-2.0 | 47,218 |
using Artworks.Container.Interceptors.InterceptionBehaviors;
using Artworks.Log;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Artworks.Examples.Codes.Application.Code.Behaviors
{
/// <summary>
/// 日志
/// </summary>
public class LogAttribut... | cuicq/Artworks | src/Artworks.Examples/Codes/Application/Code/Behaviors/LogAttribute.cs | C# | gpl-2.0 | 1,013 |
-- DB/SPELL RANKS: Fix all errors with spell ranks on start up
-- Bear Form (Passive) rank 2 is not more need it on Cataclyms (http://www.wowhead.com/spell=1178)
-- When spell only have a rank don't need to be present on spell_ranks, so delted
DELETE FROM `spell_ranks` WHERE `first_spell_id` IN ('1178'); | avalonfr/ArkCORE-4.3.4 | sql/old_updates_406a/world/already_applied/11_12_21_04_World_spell_ranks.sql | SQL | gpl-2.0 | 305 |
import greengraph
if __name__ == '__main__':
from matplotlib import pyplot as plt
mygraph = greengraph.Greengraph('New York','Chicago')
data = mygraph.green_between(20)
plt.plot(data)
plt.show()
| padraic-padraic/MPHYSG001_CW1 | example.py | Python | gpl-2.0 | 216 |
package mg.egg.eggc.compiler.libegg.base;
import mg.egg.eggc.compiler.libegg.type.Resolveur;
public interface IAction {
// la position dans la règle
public int getPos();
public BLOC getBloc();
public String getCode();
public Resolveur getResolveur();
public void setCode(String c);
public void maj_code(Str... | arthaud/egg | src/mg/egg/eggc/compiler/libegg/base/IAction.java | Java | gpl-2.0 | 1,779 |
# daisyworld [](https://travis-ci.org/ogruen/daisyworld)
Implementation of daisyworld by Lovelock and Watson and a spatial grid based approach using C++.
### Compile and run
Clone the repo, you will find a directory code/cc with a Makefile. A gcc compiler is ... | ogruen/daisyworld | README.md | Markdown | gpl-2.0 | 2,904 |
'use strict';
const mongoose = require('mongoose');
const Promise = require('bluebird');
mongoose.Promise = Promise;
mongoose.connect('mongodb://192.168.132.129/test');
const Schema = mongoose.Schema;
const schema = new Schema({
name: { type: String },
val: {type: Number},
user: {type: String}
});
let ... | gensmusic/test | third_party/nodejs/third-party/mongoose/__v.js | JavaScript | gpl-2.0 | 806 |
/* $Id$ */
/*
* This file is part of OpenTTD.
* OpenTTD 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.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without... | shoter/N.A.S.Z-OpenTTD | src/economy.cpp | C++ | gpl-2.0 | 74,819 |
#include "ClickLabel.h"
#include "Source Files/Fonction/Fonction.h"
#include "Source Files/Application/Input/InputController.h"
ClickLabel::ClickLabel(QWidget* parent, const sf::Vector2i& range, enum_size e_size, bool auto_emit) : ViewLabel(parent, e_size) {
this->range = range;
this->auto_emit = auto_emit;
setFo... | FlorianPO/SpriteEditor | SQT/Source Files/Widget/Various/Label/ClickLabel.cpp | C++ | gpl-2.0 | 4,536 |
/* opensslconf.h */
/* WARNING: Generated automatically from opensslconf.h.in by Configure. */
#ifdef __cplusplus
extern "C" {
#endif
/* OpenSSL was configured with the following options: */
#ifndef OPENSSL_SYSNAME_iOS
# define OPENSSL_SYSNAME_iOS
#endif
#ifndef OPENSSL_DOING_MAKEDEPEND
#ifndef OPENSSL_NO_EC_NISTP_... | mkttanabe/stone-for-iOS | stone/OpenSSL/include/openssl/opensslconf.h | C | gpl-2.0 | 6,763 |
#
# some backup SW doesn't restore mountpoints properly
#
#
# create missing directories
pushd /mnt/local >&8
if [ -z "$MOUNTPOINTS_TO_RESTORE" ]; then
mkdir -p mnt proc run sys tmp dev/pts dev/shm
else
LogPrint "Restore the Mountpoints $MOUNTPOINTS_TO_RESTORE".
mkdir -p $MOUNTPOINTS_TO_RESTORE
# ensur... | rg-fine/rear | usr/share/rear/restore/default/90_create_missing_directories.sh | Shell | gpl-2.0 | 500 |
cmd_net/bluetooth/bnep/bnep.o := /home/knesi/arm-2010q1/bin/arm-none-linux-gnueabi-ld -EL -r -o net/bluetooth/bnep/bnep.o net/bluetooth/bnep/core.o net/bluetooth/bnep/sock.o net/bluetooth/bnep/netdev.o
| DrGrip/tiamat-2.6.38-LEO-Dr_Grip | net/bluetooth/bnep/.bnep.o.cmd | Batchfile | gpl-2.0 | 206 |
using System;
namespace Server.Mobiles
{
[CorpseName("a grubber corpse")]
public class Grubber : BaseCreature
{
[Constructable]
public Grubber()
: base(AIType.AI_Animal, FightMode.None, 10, 1, 0.06, 0.1)
{
Name = "a grubber";
Body = 270;
... | Argalep/ServUO | Scripts/Mobiles/Normal/Grubber.cs | C# | gpl-2.0 | 1,886 |
---
layout: post
title: Shell tools are incredibly useful
published: true
---
So this is a small post on something pretty cool I was able to do that I thought was worth sharing.
This summer I'll be doing research on speedreading as well as taking a course for school called [Cyber Physical Systems](https://classroom.u... | DavidAwad/davidawad.github.io | _posts/2019-05-9-shellparsing.md | Markdown | gpl-2.0 | 3,840 |
<?php
$GLOBALS['tstart'] = array_sum(explode(" ", microtime()));
?>
<!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>
<title><?= $title; ?></title>
<!--[if lt IE 7 ]><style type="text/css"> ... | thebananafish/gtracker-tt | themes/NB-52/header.php | PHP | gpl-2.0 | 7,623 |
__author__ = 'Andy Gallagher <andy.gallagher@theguardian.com>'
import xml.etree.ElementTree as ET
import dateutil.parser
from .vidispine_api import always_string
class VSMetadata:
def __init__(self, initial_data={}):
self.contentDict=initial_data
self.primaryGroup = None
def addValue(self,key... | fredex42/gnmvidispine | gnmvidispine/vs_metadata.py | Python | gpl-2.0 | 5,748 |
/*
* OSPF Flooding -- RFC2328 Section 13.
* Copyright (C) 1999, 2000 Toshiaki Takada
*
* This file is part of GNU Zebra.
*
* GNU Zebra 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, ... | rtrlib/frr | ospfd/ospf_flood.h | C | gpl-2.0 | 3,187 |
<?php if (count(get_included_files()) == 1) exit("Direct access not permitted.");
class Model_Navigation extends Model {
protected $data = array();
protected $statement = null;
public function Read($id) {
$prefix = Database::instance() -> table_prefix();
$query = "SELECT terms.term_id
FR... | benshez/DreamWeddingCeremomies | JsonApiApplication/server/application/classes/Model/Navigation.php | PHP | gpl-2.0 | 3,750 |
find . -name "*.pyc" -exec rm -rf {} \;
rm -rf build/
rm -rf dist/
rm src/transliterate.egg-info -rf
rm builddocs.zip | akosiaris/transliterate | scripts/clean_up.sh | Shell | gpl-2.0 | 117 |
/*
DVR Commander for TiVo allows control of a TiVo Premiere device.
Copyright (C) 2011 Anthony Lieuallen (arantius@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 ... | arantius/TiVo-Commander | src/com/arantius/tivocommander/rpc/request/SuggestionsSearch.java | Java | gpl-2.0 | 2,417 |
<!DOCTYPE html>
<html>
<head>
<title>MobiDuctor</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<h1>MobiDuctor</h1>
<script data-main="scripts/main" src="scripts/require.js" type="application/javascr... | hdvianna/webductor | www/index.html | HTML | gpl-2.0 | 355 |
#include "AirspaceClass.hpp"
#include <assert.h>
const TCHAR *
airspace_class_as_text(const AirspaceClass_t item,
const bool concise)
{
switch(item) {
case RESTRICT:
if (!concise) {
return _T("Restricted");
} else {
return _T("R"); // was LxR
}
case PROHIBITED:
... | joachimwieland/xcsoar-jwieland | src/Engine/Airspace/AirspaceClass.cpp | C++ | gpl-2.0 | 1,886 |
\documentclass[titlepage,11pt]{article}
\usepackage{pslatex}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\author{Canadian Curling Association\\
Level 4 Research Project\\
Ron Mills}
\date{September 1992}
\title{Planning Takeouts and Raises}
\newlength\leftcolumnwid % width of picture left column
\leftcolumnwid =... | mro/jcurl | science/mills/mills.tex | TeX | gpl-2.0 | 16,496 |
/****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You m... | f-giorgi/MTG | MTG/mainwindow.h | C | gpl-2.0 | 4,342 |
/*
Author: Richard McKenna
Stony Brook University
Computer Science Department
WindowsTimer.cpp
See WindowsTimer.h for a class description.
*/
#include "sssf_VS\stdafx.h"
#include "sssf\game\Game.h"
#include "sssf\platforms\Windows\WindowsTimer.h"
#include "sssf\text\TextFileWriter.h"
#include "sssf\timer\Ga... | cristianomj/LastBonfire | SimpleSideScrollerFramework/src/sssf/platforms/Windows/WindowsTimer.cpp | C++ | gpl-2.0 | 5,413 |
#ifndef _ASM_X86_PROCESSOR_H
#define _ASM_X86_PROCESSOR_H
#include <asm/processor-flags.h>
/* Forward declaration, a strange C thing */
struct task_struct;
struct mm_struct;
#include <asm/vm86.h>
#include <asm/math_emu.h>
#include <asm/segment.h>
#include <asm/types.h>
#include <asm/sigcontext.h>
#include <asm/curre... | x86-8/linux-3.2 | arch/x86/include/asm/processor.h | C | gpl-2.0 | 25,169 |
package LOOKANDFEEL;
// UIManager.put("nimbusBase", new Color(115,164,209));
// UIManager.put("nimbusBlueGrey", new Color(200,200,200));
// UIManager.put("control", new Color(140,190,234));
// JFormPrincipal.ponerLookAndFeelReal(
// JDatosGeneralesP.getDatosGenera... | Creativa3d/box3d | paquetesUtilidades/src/LOOKANDFEEL/NimbusThemeCreator.java | Java | gpl-2.0 | 117,156 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Íþº£Ô¶º½ÓÎÏ·ÖÐÐĹÙÍø½éÉÜ</title>
<meta name="keywords" content="Íþº£Ô¶º½ÓÎÏ·ÖÐÐĹٷ½ÏÂÔØ¿Í»§¶Ë£¬Íþº£Ô¶º½ÓÎÏ... | bylu/Test | wulu/2015.11.23/qipai/qipaiyouxipingtai/1143.html | HTML | gpl-2.0 | 13,516 |
/* Company : Nequeo Pty Ltd, http://www.nequeo.com.au/
* Copyright : Copyright © Nequeo Pty Ltd 2015 http://www.nequeo.com.au/
*
* File : SdpSession.h
* Purpose : SIP SdpSession class.
*
*/
/*
Permission is hereby granted, free of charge, to any person
obtaining a copy of this sof... | drazenzadravec/nequeo | Source/Components/Net/Nequeo.Sip/Nequeo.PjSip/Nequeo.PjSip/SdpSession.h | C | gpl-2.0 | 2,160 |
import "bootstrap/js/dist/button";
import "bootstrap/js/dist/collapse";
import "bootstrap/js/dist/dropdown";
import "bootstrap/js/dist/modal";
import "bootstrap/js/dist/tab";
import "bootstrap/js/dist/tooltip";
| bmybbs/bmybbs | web/src/plugins/bootstrap.js | JavaScript | gpl-2.0 | 212 |
/*****************************************************************************
Copyright (C) 2013, 2014 Facebook, Inc. All Rights Reserved.
Copyright (C) 2014, 2020, 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 publis... | tempesta-tech/mariadb | storage/innobase/include/btr0defragment.h | C | gpl-2.0 | 2,993 |
/***************************************************************************
PStartupHandler_SV.cpp
Author: Andreas Suter
e-mail: andreas.suter@psi.ch
***************************************************************************/
/***************************************************************************
* ... | zaher-salman/musrfit | src/external/libSpinValve/classes/PStartupHandler_SV.cpp | C++ | gpl-2.0 | 7,498 |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# This file is part of overview archive.
# Copyright © 2015 seamus tuohy, <stuohy@internews.org>
#
# 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... | elationfoundation/overview_archive | overview_archive/utils/identify.py | Python | gpl-2.0 | 1,836 |
//--------------------------------------------------------------------------
// Copyright (C) 2014-2016 Cisco and/or its affiliates. All rights reserved.
// Copyright (C) 2002-2013 Sourcefire, Inc.
// Copyright (C) 1998-2002 Martin Roesch <roesch@sourcefire.com>
//
// This program is free software; you can redistribute... | Ghorbani-Roozbahan-Gholipoor-Dashti/Snort | src/detection/treenodes.cc | C++ | gpl-2.0 | 3,672 |
// +------------------------------------------------------------------+
// | ____ _ _ __ __ _ __ |
// | / ___| |__ ___ ___| | __ | \/ | |/ / |
// | | | | '_ \ / _ \/ __| |/ / | |\/| | ' / |
// | | |___| | | | __... | ypid-bot/check_mk | livestatus/src/HostServiceState.h | C | gpl-2.0 | 3,701 |
//
// Copyright (C) 2011 David Eckhoff <eckhoff@cs.fau.de>
//
// Documentation for these modules is at http://veins.car2x.org/
//
// 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 versio... | mnobrega/EMoS | src/modules/phy/Decider80211p.h | C | gpl-2.0 | 3,966 |
<?php
/**
* Layout for the shopping cart
*
* @package VirtueMart
* @subpackage Cart
* @author Max Milbers
*
* @link https://virtuemart.net
* @copyright Copyright (c) 2004 - 2016 VirtueMart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @version $Id: cart.php 2551 2010-... | hoangyen201201/TrienLamOnline | components/com_virtuemart/views/cart/tmpl/default_pricelist.php | PHP | gpl-2.0 | 16,973 |
/*
* linux/include/asm-arm/arch-omap/cpu.h
*
* OMAP cpu type detection
*
* Copyright (C) 2004 Nokia Corporation
*
* Written by Tony Lindgren <tony.lindgren@nokia.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... | mozyg/kernel | include/asm-arm/arch-omap/cpu.h | C | gpl-2.0 | 10,058 |
<?php
namespace Drupal\Tests\paragraphs\Functional\Experimental;
use Drupal\Core\Entity\Entity\EntityFormDisplay;
use Drupal\Tests\paragraphs\Functional\Classic\ParagraphsTestBase;
use Drupal\Tests\paragraphs\FunctionalJavascript\ParagraphsTestBaseTrait;
/**
* Base class for tests.
*/
abstract class ParagraphsExpe... | marteenzh/d1 | modules/paragraphs/tests/src/Functional/Experimental/ParagraphsExperimentalTestBase.php | PHP | gpl-2.0 | 1,396 |
/*
* Seven Kingdoms: Ancient Adversaries
*
* Copyright 1997,1998 Enlight Software 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 2 of the License, or
* (at your op... | brianV/7kaa | src/client/OTOWNAI.cpp | C++ | gpl-2.0 | 45,862 |
//
//
// Solution: PartDesk
// Project: PartDesk.Web
// File: OrdersListModel.cs
//
// Created by: ykors_000 at 25.11.2013 15:54
//
// Property of SoftGears
//
// ========
using PartDesk.Domain.Entities;
using PartDesk.Web.Models.Manage;
namespace PartDesk.Web.Models.Orders
{
/// <summary>
/// Модель сп... | softgears/PartDesk | PartDesk.Web/Models/Orders/OrdersListModel.cs | C# | gpl-2.0 | 590 |
/*
* tcluser.c -- handles:
* Tcl stubs for the user-record-oriented commands
*/
/*
* Copyright (C) 1997 Robey Pointer
* Copyright (C) 1999 - 2016 Eggheads 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 publ... | poppabear8883/ViperBot | src/tcluser.c | C | gpl-2.0 | 16,828 |
/*
[Discuz!] (C)2001-2099 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: portal_upload.js 32590 2013-02-22 09:42:48Z monkey $
*/
var nowid = 0;
var extensions = '';
function addAttach() {
var newnode = $('upload').cloneNode(true);
var id = nowid;
var tags;
newnode.id = 'upload_' +... | Shallmay14/Qiandynasty | forum/static/js/portal_upload.js | JavaScript | gpl-2.0 | 1,782 |
/*
* linux/fs/compat.c
*
* Kernel compatibililty routines for e.g. 32 bit syscall support
* on 64 bit kernels.
*
* Copyright (C) 2002 Stephen Rothwell, IBM Corporation
* Copyright (C) 1997-2000 Jakub Jelinek (jakub@redhat.com)
* Copyright (C) 1998 Eddie C. Dost (ecd@skynet.be)
* Copyright... | jonsmirl/mpc5200 | fs/compat.c | C | gpl-2.0 | 57,092 |
<?php
/*------------------------------------------------------------------------
# com_guru
# ------------------------------------------------------------------------
# author iJoomla
# copyright Copyright (C) 2013 ijoomla.com. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
... | JozefAB/neoacu | administrator/components/com_guru/js/ajaxExercices.php | PHP | gpl-2.0 | 1,591 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Li... | nickajohnson/WinDT | WinDT/LiftSensorTest/Properties/AssemblyInfo.cs | C# | gpl-2.0 | 1,048 |
/*
* Mp3Splt -- Utility for mp3/ogg splitting without decoding
*
* Copyright (c) 2002-2004 M. Trotta - <matteo.trotta@lib.unimib.it>
*
* http://mp3splt.sourceforge.net
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as pu... | OS2World/MM-SOUND-Mp3Splt | sources/ogg.c | C | gpl-2.0 | 20,654 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
*
* Copyright (C) 2013 Richard Hughes <richard@hughsie.com>
*
* Licensed under the GNU General Public License Version 2
*
* Most of this code was taken from Zif, libzif/zif-transaction.c
*
* This program is free software; you can redistrib... | axaxs/PackageKit-0.8.17 | backends/hawkey/hif-rpmts.c | C | gpl-2.0 | 9,457 |
<?php
/**
* @package Komento
* @copyright Copyright (C) 2012 Stack Ideas Private Limited. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Komento is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works li... | atweb-project/in-case-of.com | administrator/components/com_komento/views/migrators/tmpl/default_jcomments.php | PHP | gpl-2.0 | 2,803 |
<?php echo showSectionHead($spTextKeyword['New Keyword']); ?>
<form id="newKeyword">
<input type="hidden" name="sec" value="create"/>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list">
<tr class="listHead">
<td class="left" width='30%'><?=$spTextKeyword['New Keyword']?></td>
<td class="ri... | szepeviktor/Seo-Panel | themes/szepe/views/keyword/new.ctp.php | PHP | gpl-2.0 | 3,262 |
<?php
/**
* Date: 05/02/14
* Time: 12:30
* Author: Jean-Christophe Cuvelier <jcc@morris-chapman.com>
*/
if(!cmsms()) exit;
$IP = $_SERVER['REMOTE_ADDR'];
echo IPRange::getCountryISOFromIP($IP); | atomseeds/cmsms-ip2country | action.get_country_iso.php | PHP | gpl-2.0 | 200 |
#ifndef FASTDISCRETEFOURIERTRANSFORM_HPP_INCLUDED
#define FASTDISCRETEFOURIERTRANSFORM_HPP_INCLUDED
#include <vector>
#include <complex>
template < class Type >
class FDFT {
private:
std::vector < std::complex < Type > > Signal;
std::vector < std::complex < Type > > Fourier;
Type PI(void) {
retur... | VulpesCorsac/Mathematical-Modelling-DPQE-MIPT | Task7/FastDiscreteFourierTransform.hpp | C++ | gpl-2.0 | 3,415 |
# generator-angular-ts [](https://travis-ci.org/travissimon/generator-angular-ts)
> [Yeoman](http://yeoman.io) generator
## Getting Started
### What is Yeoman?
Trick question. It's not a thing. It's this guy:
 2011 Three Legged Studio ... | rafadelahoz/pgz-engine | pgz-engine/source/src/Stamp.cpp | C++ | gpl-2.0 | 3,023 |
/*BEGIN_LEGAL
Intel Open Source License
Copyright (c) 2002-2013 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
Redistributions of source code must retain the above copyright noti... | cyjseagull/SHMA | zsim-nvmain/pin_kit/source/tools/InstLib/time_warp.H | C++ | gpl-2.0 | 5,202 |
<?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright Tech To The People http:tttp.eu (c) 2011 |
+---------------... | acappellamaniac/eva_website | sites/all/modules/civicrm/bin/csv/delete.php | PHP | gpl-2.0 | 2,032 |
/*
Copyright (C) Hongsen Liao
Institute of Computer Graphics and Computer Aided Design
School of Software, Tsinghua University
Contact: liaohs082@gmail.com
All rights reserved.
*/
#ifndef DENSITY_RENDERING_WIDGET_H_
#define DENSITY_RENDERING_WIDGET_H_
#include <vtk3DWidget.h>
#include <vector>
using namespac... | Edgar324/ScatterPointGlyph | ScatterPointGlyph/density_rendering_widget.h | C | gpl-2.0 | 1,051 |
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2014.11.06 um 0... | Team-OfferManager/ebay-jaxb-bindings | src/main/java/de/idealo/offers/imports/offermanager/ebay/api/binding/jaxb/trading/ValidateChallengeInputRequestType.java | Java | gpl-2.0 | 3,553 |
<!DOCTYPE HTML>
<html>
<head>
<title>Whose Opinion?</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="Site created to express public sentiment and the peoples voice on topics and issues today" />
<meta name="author" content="Ethan Eldridge">
<meta... | EdgeCaseBerg/whoseopinion.com | www/privacy-data-policy.html | HTML | gpl-2.0 | 3,459 |
'use strict';
var wallas = angular.module('wallasApp');
wallas.factory('PercentSpendingService', ['$http', function($http) {
var percentSpendingService = {};
percentSpendingService.getPercents = function(login, startDate, endDate) {
var startDateUTC = startDate.getUTCFullYear() + '-' + (startDate.getUTCMonth() ... | adri229/wallas | assets/js/PercentSpendingService.js | JavaScript | gpl-2.0 | 748 |
# -*- coding: utf-8 -*-
#
#
# TheVirtualBrain-Framework Package. This package holds all Data Management, and
# Web-UI helpful to run brain-simulations. To use it, you also need do download
# TheVirtualBrain-Scientific Package (for simulators). See content of the
# documentation-folder for more details. See also http:/... | rajul/tvb-framework | tvb/config/logger/cluster_handler.py | Python | gpl-2.0 | 3,331 |
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
using System.ComponentModel;
namespace CSharpWin_JD.CaptureImage
{
/* 作者:Starts_2000
* (涂剑凯修改 http://www.cnblogs.com/bdstjk/)
* 日期:2009-09-08
* 网站:http://www.csharpwin.com CS 程序... | ioilala/desktoponline | CaptureImageTool/ColorLabel.cs | C# | gpl-2.0 | 2,418 |
/****************************************************************************
** Meta object code from reading C++ file 'qlcoutplugin.h'
**
** Created: Fri Sep 2 17:15:15 2011
** by: The Qt Meta Object Compiler version 62 (Qt 4.7.4)
**
** WARNING! All changes made in this file will be lost!
***********************... | alexpaulzor/qlc | plugins/enttecdmxusbout/src/moc_qlcoutplugin.cpp | C++ | gpl-2.0 | 2,500 |
<!DOCTYPE TS><TS>
<context>
<name>Board</name>
<message>
<source>Blanks: </source>
<translation>Blanco:</translation>
</message>
<message>
<source>OK</source>
<translation>OK</translation>
</message>
<message>
<source>Cancel</source>
<translation>A... | opieproject/opie | i18n/nl/wordgame.ts | TypeScript | gpl-2.0 | 3,521 |
<?php
/**
* Class AMP_Validated_URL_Post_Type
*
* @package AMP
*/
use AmpProject\AmpWP\Admin\OptionsMenu;
use AmpProject\AmpWP\Admin\ValidationCounts;
use AmpProject\AmpWP\Icon;
use AmpProject\AmpWP\Option;
use AmpProject\AmpWP\QueryVar;
use AmpProject\AmpWP\Services;
/**
* Class AMP_Validated_URL_Post_Type
*
... | ampproject/amp-wp | includes/validation/class-amp-validated-url-post-type.php | PHP | gpl-2.0 | 119,270 |
<?php die("Access Denied"); ?>#x#a:2:{s:6:"output";s:0:"";s:6:"result";s:7:"1566593";} | jolay/ayansa | cache/mod_vvisit_counter/860aea6b5aac75573e8d7d8ebc839c97-cache-mod_vvisit_counter-e137663a3d8c1ae370185bf16afaea30.php | PHP | gpl-2.0 | 86 |
<?php
/**
* Error handler
*
* CustomException extension to the Exception classes in PHP5
*
* PHP version 5
*
* 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 th... | chisimba/chisimba | app/core_modules/errors/controller.php | PHP | gpl-2.0 | 8,815 |
<?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>ActiveRecord::Migration::CheckPending</title>
<meta http-equiv="C... | aaronfi/chess-es6-demo | doc/api/classes/ActiveRecord/Migration/CheckPending.html | HTML | gpl-2.0 | 6,347 |
<?php
use Wikimedia\IPUtils;
class SpecialCheckUserLog extends SpecialPage {
/**
* @var string
*/
protected $target;
public function __construct() {
parent::__construct( 'CheckUserLog', 'checkuser-log' );
}
public function execute( $par ) {
$this->setHeaders();
$this->addHelpLink( 'Extension:CheckUse... | skizzerz/thetestwiki-checkuser | includes/specials/SpecialCheckUserLog.php | PHP | gpl-2.0 | 4,918 |
#pragma once
// "Immediate mode"-lookalike buffered drawing. Very fast way to draw 2D.
#include <vector>
#include "base/basictypes.h"
#include "base/colorutil.h"
#include "gfx/gl_lost_manager.h"
#include "gfx/texture_atlas.h"
#include "math/geom2d.h"
#include "math/lin/matrix4x4.h"
#include "thin3d/thin3d.h"
#undef... | Orphis/ppsspp | ext/native/gfx_es2/draw_buffer.h | C | gpl-2.0 | 6,296 |
<?php
/**
* Fabrik List Template: AdminModule CSS
*
* @package Joomla
* @subpackage Fabrik
* @copyright Copyright (C) 2005-2015 fabrikar.com - All rights reserved.
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
*/
header('Content-type: text/css');
$c = $_REQUEST['c'];
echo "
#listform_$c .f... | rodhoff/cdn1 | components/com_fabrik/views/list/tmpl25/adminmodule/template_css.php | PHP | gpl-2.0 | 5,247 |
angular.module('bhima.controllers')
.controller('StockSettingsController', StockSettingsController);
StockSettingsController.$inject = [
'StockSettingsService', 'EnterpriseService', 'util', 'NotifyService', 'SessionService', 'bhConstants',
];
/**
* Stock Settings Controller
* This module is a for getting/updati... | IMA-WorldHealth/bhima | client/src/modules/stock/settings/stock-settings.js | JavaScript | gpl-2.0 | 3,282 |
/*
Copyright (C) 2003-2007 Tensilica, Inc. All Rights Reserved.
Revised to support Tensilica processors and to improve overall performance
*/
/* Front-end tree definitions for GNU compiler.
Copyright (C) 1989, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
Free Software Foundation, Inc.
This... | qiyao/xcc | g++fe/gnu/tree.h | C | gpl-2.0 | 121,863 |
/* linux/arch/arm/mach-s5pv310/bootmem-smdkv310.c
*
* Copyright (c) 2009 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* Bootmem helper functions for smdkv310
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as... | danguria/linux-kernel-study | arch/arm/mach-s5pv310/bootmem-smdkv310.c | C | gpl-2.0 | 2,892 |
/*
* Copyright (C) 2010 Pengutronix
* Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
*/
#include <linux/dma-mapping.h>
#inc... | patrikryd/kernel | arch/arm/plat-mxc/devices/platform-mxc-mmc.c | C | gpl-2.0 | 2,220 |
using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | Knight1988/SharpUtility | tests/BackgroundWorker/SharpUtility.BackgroundWorker.PCL/Properties/AssemblyInfo.cs | C# | gpl-2.0 | 1,124 |
package com.yzmoney.common.service.impl;
import com.yzmoney.common.constant.PropertyUtils;
import com.yzmoney.common.service.SaveQrcodeLogService;
import com.yzmoney.common.util.HttpClientUtil;
import com.yzmoney.common.util.JDKStackTrace;
import com.yzmoney.common.util.JsonUtils;
import net.sf.json.JSONObject;
import... | xinbaojian/wechat | src/com/yzmoney/common/service/impl/SaveQrcodeLogServiceImpl.java | Java | gpl-2.0 | 2,234 |
#!/usr/bin/env python
from distutils.core import setup
from DistUtilsExtra.command import *
import glob
import os
setup(name='unattended-upgrades', version='0.1',
scripts=['unattended-upgrade'],
data_files=[
('../etc/apt/apt.conf.d/',
["data/50unattended-upgrades"]),
... | Jimdo/unattended-upgrades | setup.py | Python | gpl-2.0 | 968 |
/*! \file
\brief Declaration of library functions
Any definitions in this file will be shared among GLUE Layer and internal Driver Stack.
*/
/*******************************************************************************
* C O M P I L E R F L A G S
******************************... | HB72K/android_kernel_lgk10_mt6582 | drivers/misc/mediatek/connectivity/conn_soc/common/mt8127/mtk_wcn_consys_hw.c | C | gpl-2.0 | 22,082 |
// --------------------------------------------------------------------------
// Name: sndpcm.cpp
// Purpose:
// Date: 08/11/1999
// Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999
// CVSID: $Id: sndpcm.cpp 35650 2005-09-23 12:56:45Z MR $
// wxWindows licence
// -----------------------------------------------------... | hajuuk/R7000 | ap/gpl/amule/wxWidgets-2.8.12/contrib/src/mmedia/sndpcm.cpp | C++ | gpl-2.0 | 2,145 |
<?php
/**
* Template Name: Page - Post - Index
* The template used for displaying page content in page.php
*
* @author Matt Peternell| http://stoemper.com
* @package stoemper 2.0
*/
//*/
?>
<?php //wp_nav_menu(); ?>
<?php get_header() ?>
<div id="container">
<div id="content" class="index bikes-bground">
... | peternem/stmpr-wp | wp-content/themes/Stoemper-autofocus-5.0/page-templates/post-index.php | PHP | gpl-2.0 | 3,019 |
# Configuration Files

These are my `.files`.
Here I will keep my favorite configurations so others can learn or tell-me how to improve my configurations too ;)
Here you will find configuration for the following:
#... | gabrsar/dotfiles | README.md | Markdown | gpl-2.0 | 827 |
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package Quail Forever
*/
?>
</div><!-- #content -->
<footer id="colophon" class="site-footer" role="contentinfo">
<div class="site-info">
<a href="<?php echo esc_url( __( 'http://wo... | mtchllbrrn/quail_forever | wp-content/themes/quail-forever/footer.php | PHP | gpl-2.0 | 751 |
/* DWARF 2 location expression support for GDB.
Copyright (C) 2003-2013 Free Software Foundation, Inc.
Contributed by Daniel Jacobowitz, MontaVista Software, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Publi... | nds32/binutils | gdb/dwarf2loc.c | C | gpl-2.0 | 123,348 |
##
# Copyright (C) 2010, Samsung Electronics Co., Ltd. All Rights Reserved.
# Written by System S/W Group, Open OS S/W R&D Team,
# Mobile Communication Division.
##
##
# Project Name : Samsung Private Third-Party Device Drivers
#
# Project Description :
#
# Comments : tabstop = 8, shiftwidth = 8, noexpandtab
##
##
... | sconosciuto/android_kernel_samsung_latona_legacy | samsung/Makefile | Makefile | gpl-2.0 | 965 |
\documentclass[a4paper,10pt]{article}
\begin{document}
\title{\textbf{Managed Execution}}
\author{Pawel Dziepak}
\date{\textit{July 16, 2008}}
\maketitle
\section{Introduction}
\paragraph{}In Quarn OS there are three basic systems that allow the whole operating system
to work. Despite many important differences, the... | pdziepak/quarnos-old2 | docs/Managed_Execution.tex | TeX | gpl-2.0 | 953 |
package code.vera.myblog.presenter.fragment.person;
import android.content.DialogInterface;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.support.v7.app.AlertDialog;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.wi... | arronvera/MyBlog | app/src/main/java/code/vera/myblog/presenter/fragment/person/TabPersonAllCircleFragment.java | Java | gpl-2.0 | 8,234 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.