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 |
|---|---|---|---|---|---|
# -*- coding: utf-8 -*-
from qiniu import config
from qiniu import http
class PersistentFop(object):
"""持久化处理类
该类用于主动触发异步持久化操作,具体规格参考:
http://developer.qiniu.com/docs/v6/api/reference/fop/pfop/pfop.html
Attributes:
auth: 账号管理密钥对,Auth对象
bucket: 操作资源所在空间
pipeline: ... | hotpoor-for-Liwei/hj_hackathon_201607 | vendor/qiniu/services/processing/pfop.py | Python | mit | 1,697 |
---
layout: post
date: 2005-12-27
time: "09:00:00"
authors: ["Greg Wilson"]
title: "New Year's Schedule for Software Carpentry"
category: ["Content"]
---
<p>I'm teaching a cut-down version of Software Carpentry at the IASSE in two and a half weeks. I'll have students half days for the weeks of January 16 and 23, and fu... | gvwilson/website | _posts/2005/12/2005-12-27-new-years-schedule-for-software-carpentry.html | HTML | mit | 5,102 |
const helpers = require("./global-setup");
const path = require("path");
const request = require("request");
const expect = require("chai").expect;
const describe = global.describe;
const it = global.it;
const beforeEach = global.beforeEach;
const afterEach = global.afterEach;
describe("Position of modules", functio... | morozgrafix/MagicMirror | tests/e2e/modules_position_spec.js | JavaScript | mit | 1,305 |
'use strict';
const assert = require('./../../assert');
const common = require('./../../common');
let battle;
describe(`Pursuit`, function () {
afterEach(() => battle.destroy());
it(`should execute before the target switches out and after the user mega evolves`, function () {
battle = common.createBattle();
b... | KewlStatics/Alliance | test/simulator/moves/pursuit.js | JavaScript | mit | 784 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Windows.Media;
namespace Wox.Plugin
{
public class Result
{
private string _pluginDirectory;
private string _icoPath;
public string Title { get; set; }
public string SubTitle { get; set; }
... | danisein/Wox | Wox.Plugin/Result.cs | C# | mit | 3,146 |
namespace FakeItEasy.Core
{
/// <summary>
/// Provides access to a call matcher.
/// </summary>
internal interface ICallMatcherAccessor
{
/// <summary>
/// Gets a call predicate that can be used to check if a fake object call matches
/// the specified constraint.
... | khellang/FakeItEasy | Source/FakeItEasy/Core/ICallMatcherAccessor.cs | C# | mit | 389 |
<html><!-- Created using the cpp_pretty_printer from the dlib C++ library. See http://dlib.net for updates. --><head><title>dlib C++ Library - one_vs_one_decision_function.h</title></head><body bgcolor='white'><pre>
<font color='#009900'>// Copyright (C) 2010 Davis E. King (davis@dlib.net)
</font><font color='#009900... | eldilibra/mudsling | include/dlib-18.9/docs/dlib/svm/one_vs_one_decision_function.h.html | HTML | mit | 39,691 |
survey 'LB',
:full_title => 'Lebanon',
:default_mandatory => 'false',
:status => 'alpha',
:description => '<p><strong>This has been generated based on a default and needs to be localised for Lebanon. Please help us! Contact <a href="mailto:certificate@theodi.org">certificate@theodi.org</a></strong></p><p>This s... | istvan-antal/open-data-certificate | surveys/odc_questionnaire.LB.rb | Ruby | mit | 140,400 |
#!/bin/bash
FN="BSgenome.Sscrofa.UCSC.susScr3_1.4.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.9/data/annotation/src/contrib/BSgenome.Sscrofa.UCSC.susScr3_1.4.0.tar.gz"
"https://bioarchive.galaxyproject.org/BSgenome.Sscrofa.UCSC.susScr3_1.4.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor... | jerowe/bioconda-recipes | recipes/bioconductor-bsgenome.sscrofa.ucsc.susscr3/post-link.sh | Shell | mit | 1,544 |
/***********************************
This is a our graphics core library, for all our displays.
We'll be adapting all the
existing libaries to use this core to make updating, support
and upgrading easier!
Adafruit invests time and resources providing this open source code,
please support Adafruit and open-source ha... | labfab/vitrines-io | src/bin/pixelcontroller-distribution-2.0.0/integration/ArduinoFw/stealthSpi/stealthSpiTeensy/Adafruit_GFX.cpp | C++ | cc0-1.0 | 11,161 |
/**
* Copyright (c) 2010-2019 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | computergeek1507/openhab | bundles/binding/org.openhab.binding.wemo/src/main/java/org/openhab/binding/wemo/internal/WemoActivator.java | Java | epl-1.0 | 1,514 |
/**
* Copyright (c) 2010-2019 by the respective copyright holders.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/... | idserda/openhab | bundles/action/org.openhab.action.xmpp/src/main/java/org/openhab/action/xmpp/internal/XMPP.java | Java | epl-1.0 | 7,243 |
/*
* VirtioBus
*
* Copyright (C) 2012 : GreenSocs Ltd
* http://www.greensocs.com/ , email: info@greensocs.com
*
* Developed by :
* Frederic Konrad <fred.konrad@greensocs.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licen... | BCLinux/qga-bc | qemu-master/hw/virtio/virtio-bus.c | C | gpl-2.0 | 4,926 |
/*
* Copyright 2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | cams7/gradle-samples | plugin/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/BuildableIvyArtifact.java | Java | gpl-2.0 | 1,562 |
GCC_VERSION := $(shell $(CONFIG_SHELL) $(PWD)/scripts/gcc-version.sh $(CROSS_COMPILE)gcc)
ccflags-y += -Idrivers/media/video/msm/io
ccflags-y += -Idrivers/media/video/msm/vfe
obj-$(CONFIG_MSM_CAMERA) += io/
ifeq ($(CONFIG_MSM_CAMERA_V4L2),y)
EXTRA_CFLAGS += -Idrivers/media/video/msm/csi
EXTRA_CFLAGS += -Idriv... | Dearms/android_kernel_xiaomi_msm8960 | drivers/media/video/msm/Makefile | Makefile | gpl-2.0 | 2,368 |
(function($) {
Drupal.plupload = Drupal.plupload || {};
/**
* Attaches the Plupload behavior to each FileField Sources Plupload form element.
*/
Drupal.behaviors.filefield_sources_plupload = {
attach: function (context, settings) {
$(".filefield-source-plupload .plupload-element", context).once('ffs-... | geoffreygevalt/ywp | sites/all/modules/filefield_sources_plupload/js/plupload.js | JavaScript | gpl-2.0 | 2,845 |
#!/bin/sh
TEST_SCRIPT=./VMake/executableTester.sh
until test -r ${TEST_SCRIPT} ; do
TEST_SCRIPT=../${TEST_SCRIPT}
done
. ${TEST_SCRIPT}
runAndHandleSystemTestStdLocations "testShape testSuperellipsoid.xml --dim=2" "$0" "$@"
| kelchuan/snac_thesis | StGermain/Discretisation/Shape/tests/testSuperellipsoid2D.0of1.sh | Shell | gpl-2.0 | 234 |
#ifndef CAMIF_REG_CONFIG_H_
#define CAMIF_REG_CONFIG_H_
/* If you wanna use the reg_val configuration file on board, set this value to 1 */
//#define IS_USE_REGISTER_CONFIGURE_FILE_LSI 0
#if (IS_USE_REGISTER_CONFIGURE_FILE_LSI)
#if 0
static int s5ka3dfx_make_table(void);
enum
{
REG_INIT_QCIF_SECTION,
REG_INIT_CIF_... | SerkTheTurk/android_kernel_samsung_hugo | drivers/media/video/s5ka3dfx_tune.h | C | gpl-2.0 | 155,890 |
/*
Copyright (C) 2013 - 2016 Boldizsár Lipka <lipkab@zoho.com>
Part of the Battle for Wesnoth Project http://www.wesnoth.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 vers... | suxinde2009/wesnoth | src/game_initialization/multiplayer_configure.hpp | C++ | gpl-2.0 | 3,495 |
#
# Copyright (C) 2006-2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=gst1-libav
PKG_VERSION:=1.12.4
PKG_RELEASE:=1
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org> \
Ted Hess <thess@kitsche... | Entware-for-kernel-3x/entware-packages-3x | multimedia/gst1-libav/Makefile | Makefile | gpl-2.0 | 4,262 |
/*
* Copyright (C) 2008 Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your opti... | rawoul/gst-plugins-bad | sys/wasapi/gstwasapisrc.c | C | gpl-2.0 | 12,204 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>About</title>
</head>
<body lang="EN-US">
<h2>About This Content</h2>
<p>... | heartsome/translationstudio8 | targetPlatform/plugins/org.junit_4.8.2.v4_8_2_v20110321-1705/about.html | HTML | gpl-2.0 | 5,133 |
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | apolloolive/apollo | http_core.h | C | gpl-2.0 | 24,019 |
/*****************************************************************************/
/* */
/* Copyright (c) 1990-2008 Morgan Stanley All rights reserved.*/
/* See .../src/LICENSE for terms of distribution. */
/* ... | rdm/aplus-fsf | src/cxsys/microsleep.c | C | gpl-2.0 | 833 |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'bidi', 'ka', {
ltr: 'ტექსტის მიმართულება მარცხნიდან მარჯვნივ',
rtl: 'ტექსტის მიმართულება მარჯვნიდან მარცხნივ'
} );
| jagnoha/website | profiles/varbase/profiles/varbase/modules/contrib/ckeditor_bidi/js/plugins/bidi/lang/ka.js | JavaScript | gpl-2.0 | 431 |
<!--
Copyright 2013 IBM Corp.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, soft... | Wyliodrin/streamsitems | red/logic/10-switch.html | HTML | gpl-2.0 | 9,431 |
#include "scripting/js-bindings/manual/experimental/jsb_cocos2dx_experimental_webView_manual.h"
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
#include "ui/UIWebView.h"
#include "scripting/js-bindings/manual/ScriptingCore.h"
#include "scripting/js-bindings/manual/cocos2d_spec... | zero5566/super_mahjong | mahjong/super_mahjong/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/experimental/jsb_cocos2dx_experimental_webView_manual.cpp | C++ | gpl-2.0 | 6,600 |
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/blk.h>
#include <linux/version.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/bootinfo.h>
#include <asm/amigaints.h>
#include <asm/amigahw.h>
#include <asm/zorro.h>
#include <asm/irq.h>
#include "scsi.h"
#include "hosts.h"
#include "wd33c... | carlobar/uclinux_leon3_UD | linux-2.0.x/drivers/scsi/gvp11.c | C | gpl-2.0 | 6,809 |
@import '../../components/variables.css';
.root {
padding-left: 20px;
padding-right: 20px;
}
.container {
margin: 0 auto;
padding: 0 0 40px;
max-width: var(--max-content-width);
}
| bigearth/www.clone.earth | src/routes/register/Register.css | CSS | gpl-2.0 | 193 |
require_dependency 'enum_site_setting'
class S3RegionSiteSetting < EnumSiteSetting
def self.valid_value?(val)
valid_values.include? val
end
def self.values
@values ||= valid_values.sort.map {|x| {name: x, value: x} }
end
def self.valid_values
[ '',
'us-east-1',
'us-west-1',
'u... | vasinov/discourse | app/models/s3_region_site_setting.rb | Ruby | gpl-2.0 | 452 |
/*===========================================================================
FILE:
ProtocolRequest.cpp
DESCRIPTION:
Generic protocol request/command related structures and
affliated methods, these structures are used by clients of
the protocol server to specify outgoing requests
PUBLIC CLASSES AND METHO... | E3V3A/libqmi | gobi-api/GobiAPI_2013-07-31-1347/Core/ProtocolRequest.cpp | C++ | gpl-2.0 | 8,168 |
<?php
/**
* @package Redcore
* @subpackage Fields
*
* @copyright Copyright (C) 2008 - 2016 redCOMPONENT.com. All rights reserved.
* @license GNU General Public License version 2 or later, see LICENSE.
*/
defined('JPATH_REDCORE') or die;
/**
* Bootstrap timepicker field.
*
* @package Redcore
*... | jatitoam/redCORE | extensions/libraries/redcore/form/fields/timepicker.php | PHP | gpl-2.0 | 2,532 |
/***************************************************************************
qgsannotation.h
---------------
begin : January 2017
copyright : (C) 2017 by Nyall Dawson
email : nyall dot dawson at gmail dot com
... | dwadler/QGIS | src/core/annotations/qgsannotation.h | C | gpl-2.0 | 13,452 |
/* Broadcom NetXtreme-C/E network driver.
*
* Copyright (c) 2014-2016 Broadcom Corporation
* Copyright (c) 2016-2019 Broadcom 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.
*/... | skalk/linux | drivers/net/ethernet/broadcom/bnxt/bnxt.c | C | gpl-2.0 | 329,644 |
/****************************************************************************
* Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy ... | pcengines/coreboot | payloads/libpayload/curses/form/frm_def.c | C | gpl-2.0 | 14,274 |
class AddPayloadToEventSubscriptions < ActiveRecord::Migration[6.0]
def change
add_column :event_subscriptions, :payload, :text
end
end
| M0ses/open-build-service | src/api/db/migrate/20210428132708_add_payload_to_event_subscriptions.rb | Ruby | gpl-2.0 | 144 |
#!/bin/sh
# File: iva.sh
##############################################################
# Credits:
# 2004 Hale, Cohen, with Stockwell modifications 2004.
# In su distribution directory:
# ~/su/src/demos/Velocity_Analysis/Traditional/Velan
# 2005 Seismic Processing with Seismic Un*x
# Forel, Benz, Penni... | zxtstarry/src | book/data/alaska/line31-81/iva.sh | Shell | gpl-2.0 | 11,801 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Data Storage</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="The Cacti Manual"
HREF="index.html"><LINK
REL="UP"
TITLE="Principles of Operation"
HR... | londonhackspace/hackti | docs/html/data_storage.html | HTML | gpl-2.0 | 3,059 |
/* This file is part of the ScriptDev2 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 opti... | spkansas/mangos-wotlk | src/game/AI/ScriptDevAI/scripts/eastern_kingdoms/molten_core/boss_shazzrah.cpp | C++ | gpl-2.0 | 4,409 |
/*
* Copyright (C) 2008-2010 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.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 ver... | Demonid/lazzalf-trinitycore.copy | src/server/game/Movement/Waypoints/WaypointManager.cpp | C++ | gpl-2.0 | 3,884 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>6. README_DEVELOPERS</title>
<link rel="stylesheet" type="text/css" href="vg_basic.css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Valgrind Documentation">
<lin... | acarno/slicer | valgrind/docs/html/dist.readme-developers.html | HTML | gpl-2.0 | 14,912 |
unitDef = {
unitname = [[amphcon]],
name = [[Conch]],
description = [[Amphibious Construction Bot, Builds at 7.5 m/s]],
acceleration = 0.4,
activateWhenBuilt = true,
brakeRate = 0.25,
buildCostMetal = 180,
buildDistance = 128,
builder ... | N0U/Zero-K | units/amphcon.lua | Lua | gpl-2.0 | 1,878 |
/*
Copyright (c) 2009-2014, Jack Poulson
All rights reserved.
This file is part of Elemental and is under the BSD 2-Clause License,
which can be found in the LICENSE file in the root directory, or at
http://opensource.org/licenses/BSD-2-Clause
*/
#pragma once
#ifndef ELEM_CONTROL_IMPL_HPP
#define ELEM... | kimjsung/madness-original | src/madness/external/elemental/include/elemental/control/impl.hpp | C++ | gpl-2.0 | 457 |
package edu.stanford.nlp.ie;
import edu.stanford.nlp.ie.regexp.NumberSequenceClassifier;
import edu.stanford.nlp.ling.CoreAnnotations;
import edu.stanford.nlp.ling.CoreLabel;
import edu.stanford.nlp.ling.tokensregex.Env;
import edu.stanford.nlp.ling.tokensregex.TokenSequenceMatcher;
import edu.stanford.nlp.ling.tokens... | matadorhong/CoreNLP | src/edu/stanford/nlp/ie/NumberNormalizer.java | Java | gpl-2.0 | 36,075 |
#! /bin/sh
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program ... | DDTChen/CookieVLC | vlc/extras/tools/automake/t/depcomp.sh | Shell | gpl-2.0 | 1,303 |
/*
* Ftrace trace backend
*
* Copyright (C) 2013 Hitachi, Ltd.
* Created by Eiichi Tsukata <eiichi.tsukata.xh@hitachi.com>
*
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
*/
#include "qemu/osdep.h"
#include "trace.h"
#include "trace/co... | gongleiarei/qemu | trace/ftrace.c | C | gpl-2.0 | 2,037 |
<?php
/**
* @file
* Contains \Drupal\taxonomy\Tests\VocabularyUnitTest.
*/
namespace Drupal\taxonomy\Tests;
/**
* Tests for taxonomy vocabulary functions.
*/
class VocabularyUnitTest extends TaxonomyTestBase {
/**
* Modules to enable.
*
* @var array
*/
public static $modules = array('field_test... | targoo/mariquecalcus_drupal | core/modules/taxonomy/lib/Drupal/taxonomy/Tests/VocabularyUnitTest.php | PHP | gpl-2.0 | 7,909 |
/*
* Allofthelights.js
* Version: 1.0
* http://www.megaptery.com/allofthelights/
*/
(function ($) {
$.fn.allofthelights = function (options) {
var defaults = {
'color': '#000000',
'opacity': '0.9',
'switch_id': 'switch',
'animation': 'fade',
'delay_turn_on': 400,
... | candidosales/zulk | wp-content/themes/zulk_wp_version_4.3.2/javascripts/jquery.allofthelights.js | JavaScript | gpl-2.0 | 5,393 |
<?php
namespace Yoast\WP\SEO\Generators;
use Yoast\WP\SEO\Context\Meta_Tags_Context;
use Yoast\WP\SEO\Helpers\Current_Page_Helper;
use Yoast\WP\SEO\Helpers\Options_Helper;
use Yoast\WP\SEO\Helpers\Pagination_Helper;
use Yoast\WP\SEO\Helpers\Post_Type_Helper;
use Yoast\WP\SEO\Helpers\Url_Helper;
use Yoast\WP\SEO\Model... | TheThumbsupguy/Ross-Upholstery-Inc | wp-content/plugins/wordpress-seo/src/generators/breadcrumbs-generator.php | PHP | gpl-2.0 | 11,448 |
/**
* SDHCI Controller driver for TI's OMAP SoCs
*
* Copyright (C) 2017 Texas Instruments
* Author: Kishon Vijay Abraham I <kishon@ti.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 of
* the License as published by th... | Taeung/tip | drivers/mmc/host/sdhci-omap.c | C | gpl-2.0 | 30,998 |
/*
* Universal Media Server, for streaming any medias to DLNA
* compatible renderers based on the http://www.ps3mediaserver.org.
* Copyright (C) 2012 UMS developers.
*
* This program is a free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by... | mindwarper/UniversalMediaServer | src/main/java/net/pms/util/WindowsRegistry.java | Java | gpl-2.0 | 2,782 |
<?php
/**
* @package Joomla.Platform
* @subpackage HTTP
*
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
/**
* HTTP response data object class.
*
* @pac... | tharunaredweb/redCORE | libraries/redcore/joomla/http/response.php | PHP | gpl-2.0 | 682 |
test = "test of the localtime() function"
import time
times = [ 0, 100000, int (time.time()) ]
filedata = """
{$
for (i, %(times)s) {
locals { v : localtime(i) }
print ("${v[0]} ${v[1]} ${v[2]} ${v[3]} ${v[4]} ");
}
$}
""" % { "times" : times }
# in publand, localtime(0) should give the time now... | OkCupid/okws | test/regtest/cases/98.py | Python | gpl-2.0 | 542 |
/*
* Copyright (c) 2003, 2014, 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 ... | isaacl/openjdk-jdk | src/share/classes/java/util/EnumSet.java | Java | gpl-2.0 | 19,077 |
/*
* m_police.c Parse/print policing module options.
*
* This program is free software; you can u32istribute 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.
*
* ... | wertarbyte/iproute2 | tc/m_police.c | C | gpl-2.0 | 9,241 |
/**
*
* $Id: BubbleButton.h,v 1.2 2003/12/25 06:55:07 tksoh Exp $
*
* Copyright (C) 1996 Free Software Foundation, Inc.
* Copyright © 1999-2001 by the LessTif developers.
*
* This file is part of the GNU LessTif Extension Library.
*
* This library is free software; you can redistribute it and/or
* modify it u... | fjardon/nedit | Xlt/BubbleButton.h | C | gpl-2.0 | 2,776 |
/*
* COPYRIGHT (C) 2006-2021, RT-Thread Development Team
* 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,
* ... | grissiom/rt-thread | components/net/lwip-2.1.2/src/arch/sys_arch.c | C | gpl-2.0 | 19,817 |
#!/bin/sh
# This test is a part of RPC & TI-RPC Test Suite created by Cyril LACABANNE
# (c) 2007 BULL S.A.S.
# Please refer to RPC & TI-RPC Test Suite documentation.
# More details at http://nfsv4.bullopensource.org/doc/rpc_testsuite.php
# TEST : TIRPC svcerr_systemerr basic
# creation : 2007-06-06 revision 2007-06-1... | rogerq/ltp-ddt | testcases/network/rpc/rpc-tirpc-full-test-suite/scripts/tirpc_err_svcerr_systemerr.sh | Shell | gpl-2.0 | 3,675 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ucl.physiol.neuroconstruct.simulation;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.Result;
import static ... | rgerkin/neuroConstruct | tests/ucl/physiol/neuroconstruct/simulation/SimulationDataTest.java | Java | gpl-2.0 | 4,783 |
/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
* Copyright (C) 2015 XiaoMi, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
... | zeroblade1984/Xiaomi-MSM8226 | drivers/leds/leds-qpnp.c | C | gpl-2.0 | 91,994 |
<?php
// NOTATIONS: http://www.cob.sjsu.edu/johnson_f/notation.htm
abstract class QConvertNotationBase {
public static function PrefixFromType($strType) {
switch ($strType) {
case QType::ArrayType:
return "obj";
case QType::Boolean:
return "bln";
case QType::DateTime:
return "dtt";
... | dsuess/tracmor | includes/qcodo/_core/codegen/QConvertNotationBase.class.php | PHP | gpl-2.0 | 3,376 |
/*****************************************************************************
* smb.c: SMB input module
*****************************************************************************
* Copyright (C) 2001-2009 the VideoLAN team
* $Id: c9b931477a697a5b694e9036c56f73ab34ad87a1 $
*
* Authors: Gildas Bazin <gbazin@vid... | hustcalm/vlc-player | modules/access/smb.c | C | gpl-2.0 | 11,988 |
// Copyright (C) 2004 David Griffiths <dave@pawfal.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 version 2 of the License, or
// (at your option) any later version.
//
// Thi... | nebogeo/libspiralcore | include/EventQueue.h | C | gpl-2.0 | 1,364 |
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2012 CERN.
#
# Invenio 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... | SamiHiltunen/invenio-upgrader | invenio_upgrader/upgrades/invenio_2013_06_24_new_bibsched_status_table.py | Python | gpl-2.0 | 1,112 |
/*
* (C) Copyright 2000, 2001
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* SPDX-License-Identifier: GPL-2.0+
*/
/*
* Support for read and write access to EEPROM like memory devices. This
* includes regular EEPROM as well as FRAM (ferroelectic nonvolaile RAM).
* FRAM devices read and write data ... | mdxy2010/forlinux-ok6410 | u-boot15/common/cmd_eeprom.c | C | gpl-2.0 | 11,537 |
/*
* ints.c -- 680x0 Linux general interrupt handling code
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive
* for more details.
*
* 07/03/96: Timer initialization, and thus mach_sched_init(),
* removed... | carlobar/uclinux_leon3_UD | linux-2.0.x/arch/m68k/kernel/ints.c | C | gpl-2.0 | 4,972 |
// license:BSD-3-Clause
// copyright-holders:Carl, Miodrag Milanovic
#include "emu.h"
#include "osdnet.h"
device_network_interface::device_network_interface(const machine_config &mconfig, device_t &device, float bandwidth)
: device_interface(device, "network")
{
m_promisc = false;
m_bandwidth = bandwidth;
set_mac(... | johnparker007/mame | src/emu/dinetwork.cpp | C++ | gpl-2.0 | 3,275 |
<?php
/**
* @version $Id: upload.http.html.php 1110 2010-01-11 14:02:43Z tom $
* @category DOCman
* @package DOCman15
* @copyright Copyright (C) 2003 - 2009 Johan Janssens and Mathias Verraes. All rights reserved.
* @license GNU GPLv2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
* @link http://... | kuwox/wwwfranar | tmp/install_4ec164b97d40c/components/com_docman/includes/upload.http.html.php | PHP | gpl-2.0 | 1,841 |
<?php
/**
* @file
* Contains \Drupal\file\Tests\SaveTest.
*/
namespace Drupal\file\Tests;
use Drupal\file\Entity\File;
use Drupal\Core\Entity\EntityStorageException;
use Drupal\Core\Entity\EntityStorageInterface;
use Drupal\Core\Entity\Sql\SqlEntityStorageInterface;
/**
* File saving tests.
*
* @group file
*... | cpjobling/proman-d8 | proman.swan.ac.uk/core/modules/file/src/Tests/SaveTest.php | PHP | gpl-2.0 | 3,832 |
/*
* ahci.c - AHCI SATA support
*
* Maintained by: Tejun Heo <tj@kernel.org>
* Please ALWAYS copy linux-ide@vger.kernel.org
* on emails.
*
* Copyright 2004-2005 Red Hat, Inc.
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General... | WesternStar/tilinux | drivers/ata/ahci.c | C | gpl-2.0 | 49,689 |
/*
* Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright noti... | M8s-dev/kernel_htc_msm8939 | drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessMlmReqMessages.c | C | gpl-2.0 | 180,775 |
/*
* mtrr.c: MTRR/PAT virtualization
*
* Copyright (c) 2007, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distribu... | abligh/xen4.2-minideb | xen/arch/x86/hvm/mtrr.c | C | gpl-2.0 | 21,579 |
<?php
/**
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the ... | ringiait/portal | vendor/cakephp/cakephp/tests/TestCase/Network/SessionTest.php | PHP | gpl-2.0 | 14,575 |
/*
* 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 Foundation. Oracle designates this
* particular file as subject to th... | lizhekang/TCJDK | sources/openjdk8/jdk/src/share/native/sun/font/layout/LigatureSubstProc2.cpp | C++ | gpl-2.0 | 6,152 |
/*
* linux/drivers/mmc/core/bus.c
*
* Copyright (C) 2003 Russell King, All Rights Reserved.
* Copyright (C) 2007 Pierre Ossman
*
* 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 Foundati... | Bigcountry907/kernel_htc_a32eul | drivers/mmc/core/bus.c | C | gpl-2.0 | 10,495 |
/******************************************************************************* *\
Copyright (C) 2007-2018 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 sourc... | Bl00drav3n/obs-studio | plugins/obs-qsv11/libmfx/include/msdk/include/mfxstructures.h | C | gpl-2.0 | 55,070 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | SpoonLabs/astor | examples/math_50v2/src/test/java/org/apache/commons/math/genetics/GeneticAlgorithmTestPermutations.java | Java | gpl-2.0 | 4,580 |
<?php
/**
* Kunena Component
* @package Kunena.Framework
* @subpackage Forum.Menu
*
* @copyright (C) 2008 - 2015 Kunena Team. All rights reserved.
* @copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.kunena.org
**... | albert1974/WebMatrix | libraries/kunena/menu/helper.php | PHP | gpl-2.0 | 4,272 |
/*************************************************************************
Copyright (c)
2007, Sergey Bochkanov (ALGLIB project).
1988, Pierre L'Ecuyer
>>> SOURCE LICENSE >>>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as publ... | christianurich/VIBe2GUI | src/3dparty/alglib/src/hqrnd.cpp | C++ | gpl-2.0 | 7,457 |
/**
* \file
* <!--
* This file is part of BeRTOS.
*
* Bertos 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... | mtarek/BeRTOS | boards/arduino-mega/templates/kernel/cfg/cfg_dataflash.h | C | gpl-2.0 | 1,905 |
var base = require('settings/teams/update-team-photo');
Vue.component('spark-update-team-photo', {
mixins: [base]
});
| expoteca/expoteca.com | spark/install-stubs/resources/assets/js/spark-components/settings/teams/update-team-photo.js | JavaScript | gpl-3.0 | 123 |
/* wc - print the number of lines, words, and bytes in files
Copyright (C) 1985-2016 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the... | sunny256/coreutils | src/wc.c | C | gpl-3.0 | 25,096 |
<?php
session_start();
if (empty($_POST) && !empty($_SESSION) && !isset($_REQUEST['stage'])) {
$_POST = $_SESSION;
} else {
$_SESSION = $_POST;
}
$stage = isset($_POST['stage']) ? $_POST['stage'] : 0;
// Before we do anything, if we see config.php, redirect back to the homepage.
if (file_exists('../config.php... | worton/librenms | html/install.php | PHP | gpl-3.0 | 18,848 |
#!/usr/bin/python
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
ANSIBLE_METADATA = {
'metadata_version': '1.1',
'status': ['preview'],
'supported_by': 'community'
}
DOCUM... | roadmapper/ansible | lib/ansible/modules/network/aci/aci_firmware_group_node.py | Python | gpl-3.0 | 6,497 |
-----------------------------------
-- Area: Chateau d'Oraguille
-- NPC: Halver
-- Involved in Mission 2-3, 3-3, 5-1, 5-2, 8-1
-- Involved in Quest: Lure of the Wildcat (San d'Oria)
-- !pos 2 0.1 0.1 233
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil;
-------------... | HeavensSword/darkstar | scripts/zones/Chateau_dOraguille/npcs/Halver.lua | Lua | gpl-3.0 | 9,311 |
<?php defined('BASEPATH') OR exit('No direct script access allowed');
/* ----------------------------------------------------------------------------
* Easy!Appointments - Open Source Web Scheduler
*
* @package EasyAppointments
* @author A.Tselegidis <alextselegidis@gmail.com>
* @copyright Copyright (c... | sis-direct/easyappointments | src/application/migrations/003_add_customer_notifications_setting.php | PHP | gpl-3.0 | 950 |
/*
* Yongle Lai @ Rockchip
*/
#ifndef _WIFI_VERSION_H_
#define _WIFI_VERSION_H_
/*
* Broadcom BCM4319 driver version.
*/
#define RTL8723BU_DRV_VERSION "4.39.WFD"
#endif /* WIFI_VERSION_H */
| s20121035/rk3288_android5.1_repo | kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/os_dep/linux/wifi_version.h | C | gpl-3.0 | 197 |
/*
* Open BEAGLE
* Copyright (C) 2001-2007 by Christian Gagne and Marc Parizeau
*
* 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 ... | tectronics/beagle | src/Beagle/FltVec/CrossoverSBXOp.cpp | C++ | gpl-3.0 | 6,621 |
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2009 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person ... | gorkinovich/DefendersOfMankind | dependencies/Ogre/RenderSystems/GL/src/OgreGLEngineDll.cpp | C++ | gpl-3.0 | 1,774 |
<?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 ... | southasia/moodle | tag/classes/external.php | PHP | gpl-3.0 | 10,557 |
/* Copyright 2001 by Stephen L. Moshier <moshier@na-net.ornl.gov>
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.
... | Distrotech/radius | gnulib/lib/logl.c | C | gpl-3.0 | 9,300 |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>cuon.DMS.documentTools</title>
<link rel="stylesheet" href="epydoc.css" type="text/css... | juergenhamel/cuon | www/api/public/cuon.DMS.documentTools-module.html | HTML | gpl-3.0 | 3,399 |
/************************************************************
* AP_mount -- library to control a 2 or 3 axis mount. *
* *
* Author: Joe Holdsworth; *
* Ritchie Wilson; *
* Amilcar Lucas; *
* Gregory Fletcher; *
* heavily modified by Randy Mackay ... | matternet/ardupilot | libraries/AP_Mount/AP_Mount.h | C | gpl-3.0 | 7,780 |
/*******************************************************************************
OpenAirInterface
Copyright(c) 1999 - 2014 Eurecom
OpenAirInterface 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 Foundati... | massar5289/openairinterface5G | openair-cn/TEST/oaisim_mme_test_s1c_scenario.h | C | gpl-3.0 | 2,291 |
//
// Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
#ifndef COMPILER_OUTPUTHLSL_H_
#define COMPILER_OUTPUTHLSL_H_
#include <list>
#include <set>
#include "compiler/intermediate.h"
#inc... | danialbehzadi/Nokia-RM-1013-2.0.0.11 | webkit/Source/ThirdParty/ANGLE/src/compiler/OutputHLSL.h | C | gpl-3.0 | 4,093 |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
#ifndef __IMALSE_H__
#define __IMALSE_H__
#include <stdint.h>
// #include "src/network/buffer.h"
#include "ns3/header.h"
#include "ns3/buffer.h"
namespace ns3 {
/* ... */
class ImalseHeader : public Header
{
public:
void SetData (std::str... | JBonsink/GSOC-2013 | tools/ns3-module/imalse/model/imalse.h | C | gpl-3.0 | 777 |
<?php (defined('BASEPATH')) OR exit('No direct script access allowed');
class Dashboard_Settings extends Admin_Controller {
function display() {
if (!$_POST and $this->mdl_mcb_data->setting('dashboard_total_paid_cutoff_date')) {
$this->mdl_mcb_data->set_setting('dashboard_total_paid_cutoff_date... | kwott/SimpleQuoteManager | application/modules_core/dashboard/controllers/dashboard_settings.php | PHP | gpl-3.0 | 1,973 |
<?php
namespace Illuminate\Foundation\Console;
use Illuminate\Support\Str;
use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;
class KeyGenerateCommand extends Command
{
/**
* The console command name.
*
* @var string
*/
protected $name = 'key:generate';
... | EnilPajic/CMDB | vendor/laravel/framework/src/Illuminate/Foundation/Console/KeyGenerateCommand.php | PHP | gpl-3.0 | 1,889 |
# -*- coding: utf-8 -*-
from module.plugins.internal.DeadHoster import DeadHoster, create_getInfo
class SockshareCom(DeadHoster):
__name__ = "SockshareCom"
__type__ = "hoster"
__version__ = "0.05"
__pattern__ = r'http://(?:www\.)?sockshare\.com/(mobile/)?(file|embed)/(?P<ID>\w+)'
__descri... | sebdelsol/pyload | module/plugins/hoster/SockshareCom.py | Python | gpl-3.0 | 613 |
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
* Copyright (C) 2012-2015 - Michael Lelli
*
* RetroArch 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 Found-
* ation, ... | jeapostrophe/RetroArch | audio/drivers/alsathread.c | C | gpl-3.0 | 9,534 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.