id stringlengths 64 64 | content stringlengths 500 100k | language stringclasses 29
values | path stringlengths 4 333 | repo stringlengths 5 116 | license stringclasses 15
values | size int64 500 100k | lines int64 26 8.06k | source stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|
2c701093e1963c33fa56fe5f7a694a40b9db4914884414e6461c40a4f0372c2a | <?php
namespace Anax\Tag;
/**
* A controller for votes
*
*/
class TagController implements \Anax\DI\IInjectionAware
{
use \Anax\DI\TInjectable;
/**
* View all comments.
*
* @return void
*/
public function viewAction()
{
$this->initialize();
$all = $this->tags->fi... | PHP | app/src/Tag/TagController.php | perlennartsson95/projekt | mit | 1,706 | 84 | codeparrot/github-code |
a9d4db4bb78fae823f24cd1e865749074ac41aa97cd95906b3f33932b0cdf2f7 | #ifndef METAIMAGEPLUGIN_H
#define METAIMAGEPLUGIN_H
#include <QObject>
#include "volinterface.h"
class MetaImagePlugin : public QObject, VolInterface
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "drishti.import.Plugin.VolInterface/1.0")
Q_INTERFACES(VolInterface)
public :
QStringList registerPlugin();
void init();
... | C | tools/import/plugins/metaimage/metaimageplugin.h | nci/drishti | mit | 1,367 | 71 | codeparrot/github-code |
b7cf4cdbaac5713da5d57298e4d2e1129f3b35063af042a44edeb148a0ba7e2f | <?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sylius\Bundle\CoreBundle\Form\Type\Checkout;
use Symfony\Component\Form\AbstractType;
use S... | PHP | src/Sylius/Bundle/CoreBundle/Form/Type/Checkout/AddressingStepType.php | olegfox/olere | mit | 2,096 | 79 | codeparrot/github-code |
5f5c9a26b56bf0f698651160a2bd630bdd9d15fd1dc93c4570066885327a6853 | using ElectronicObserver.Notifier;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ElectronicObserver.Window.Dialog {
/// <summary>
/// und... | C# | ElectronicObserver/Window/Dialog/DialogConfigurationNotifier.cs | brunei-admiral/ElectronicObserver | mit | 7,768 | 271 | codeparrot/github-code |
f18cc52116d8dd0d762c10012262950ddcab98cec70741c8bdaf375dd489c7c1 | package commands
import (
"github.com/spf13/cobra"
"github.com/YusukeKomatsu/honoka"
"github.com/davecgh/go-spew/spew"
)
var (
listCmd = &cobra.Command{
Use: "list",
Short: "Retrive cache index list",
Long: "Retrive cache index list (not include cache data). If you get cache... | GO | client/honoka/commands/commands_list.go | usk81/honoka | mit | 647 | 33 | codeparrot/github-code |
0fa35edcf870d4c713d043e86a456a0dfd19e7ec805dbb6ed14094a8aa33ee0e | <div class="bs-docs-section">
<h1 id="helper-classes" class="page-header">Helper classes</h1>
<h3 id="helper-classes-colors">Contextual colors</h3>
<p>Convey meaning through color with a handful of emphasis utility classes. These may also be applied to links and will darken on hover just like our default link st... | HTML | client/libraries/bootstrap-3.3.1/docs/_includes/css/helpers.html | Valchris/tdoa | mit | 8,640 | 209 | codeparrot/github-code |
2cf4f953d984e8616e4d586d6b5571e5b8715b24688531b4ef2ed6b8833027d0 | local dpdk = require "dpdk"
local memory = require "memory"
local device = require "device"
local stats = require "stats"
function master(...)
local txPort = tonumber((select(1, ...)))
local minIP = select(2, ...)
local numIPs = tonumber((select(3, ...)))
local rate = tonumber(select(4, ...))
if not txPort o... | Lua | examples/l3-tcp-syn-flood.lua | werpat/MoonGen | mit | 2,173 | 93 | codeparrot/github-code |
55831b7d60b169d09b4bd6ff5dca3c4c5f97830437fade0ee818c1e295d5aa1c | // [VexFlow](http://vexflow.com) - Copyright (c) Mohit Muthanna 2010.
//
// ## Description
// This class implements varies types of ties between contiguous notes. The
// ties include: regular ties, hammer ons, pull offs, and slides.
import { Vex } from './vex';
import { TabTie } from './tabtie';
export class TabSlide... | JavaScript | src/tabslide.js | apnerve/vexflow | mit | 2,435 | 89 | codeparrot/github-code |
b269d10e906f5ed4926d16abbf13b88ebe2b7a742ee4c97c4376311fe6cce071 | /*! lg-share - v1.2.1 - 2020-06-13
* http://sachinchoolur.github.io/lightGallery
* Copyright (c) 2020 Sachin N; Licensed GPLv3 */
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module unless amdModuleId is set
define(['jquery'], function (a0) {
... | JavaScript | lightgallery/modules/lg-share.js | cameronhirbodi/CH-Design | mit | 4,772 | 112 | codeparrot/github-code |
42f0fe479fa83172f500900c912d436ce5f1fb77267ae0bdaad4bf5a6aadb439 | // ----------------------------------------------------------------------------
// <copyright file="ServerSettingsInspector.cs" company="Exit Games GmbH">
// PhotonNetwork Framework for Unity - Copyright (C) 2016 Exit Games GmbH
// </copyright>
// <summary>
// This is a custom editor for the ServerSettings scriptab... | C# | Gloria_Huixin_Glass/Assets/Photon Unity Networking/Editor/PhotonNetwork/ServerSettingsInspector.cs | gbudiman/glass | mit | 10,603 | 257 | codeparrot/github-code |
dceda7b0daf3abd2fe863fa78546fcfd65deff64a79cc96135b359b3bddf0e3d | <div class="center">
<p>HTML:</p>
<pre class="html" ng-non-bindable>
<ya-map ya-zoom="13" ya-center="[37.435225,55.745508]" ya-after-init="route($target)"></ya-map>
<ol>
<li ng-repeat="p in path">{{ p }}</li>
</ol>
</pre>
<p>javascript:</p>
<pre class="js" ng-... | HTML | www/lib/angular-yandex-map/example/2.1/partials/route.html | kyaroslav/ionictaxiapp | mit | 2,994 | 75 | codeparrot/github-code |
043d28bc22008c07684c9b6d91efd209cca79e73a936c884dca82e0a2a4ee97a | /*-----------------------------------------------------------------------------
- Revolution Slider 4.1 Captions -
Screen Stylesheet
version: 1.4.5
date: 27/11/13
author: themepunch
email: info@themepunch.com
website: http://www.themepunch.com
----------------------------------------------------... | CSS | app/rs-plugin/css/settings.css | sontl/OAG-client | mit | 55,650 | 2,493 | codeparrot/github-code |
c703e43ca0da6c895d425f0d4c46513b2f4e0522e14818ff23494d2ff7b8b107 | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- meta -->
<meta charset="utf-8"/>
<meta name='description' content='<%= config.description %>'>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="keywords" content="<%= config.keywords %>"/>
<!-- see http:... | HTML | views/layout.html | cnodejs/nodeclub | mit | 5,116 | 159 | codeparrot/github-code |
082a2c07c4efebc6447b57e4b85d3ae9706f0f6ccd5e31a2e748e08df9ac768d | 'use strict'
const path = require('path')
const fs = require('fs-extra')
const chalk = require('chalk')
const utils = require('./utils')
const isValidPublisherName = (function () {
// MakeCert looks like it accepts RFC1779 / X.500 distinguished names
// See https://msdn.microsoft.com/en-us/library/windows/apps/b... | JavaScript | lib/sign.js | felixrieseberg/electron-windows-store | mit | 5,219 | 142 | codeparrot/github-code |
f798eb07b3ed0fd07ce77f47d907accd8e13772d3083fcf51b57361f89e43992 | /* global define */
define(['underscore', 'backbone', 'oro/translator', 'oro/datagrid/pagination-input',
'oro/datagrid/page-size', 'oro/datagrid/actions-panel'],
function(_, Backbone, __, PaginationInput, PageSize, ActionsPanel) {
'use strict';
var $ = Backbone.$;
/**
* Datagrid toolbar widget
... | JavaScript | web/bundles/orodatagrid/js/datagrid/toolbar.js | minhnguyen-balance/oro_platform | mit | 3,760 | 129 | codeparrot/github-code |
3f9c0cf5ed06bc1fcdfefa72554132e3e8ee364b6eb744f17ae31d26fadb1090 |
import logging
import sh, os, subprocess
import json
import StringIO
import traceback
import sys
import PblAnalytics
from PblCommand import PblCommand
from PblProjectCreator import requires_project_dir
from LibPebblesCommand import (NoCompilerException, BuildErrorException,
AppTooBigExc... | Python | pebble/PblBuildCommand.py | Hexxeh/libpebble | mit | 10,418 | 256 | codeparrot/github-code |
2bbed50cfa2f89d97bcaaf12407cbe6c626f1a4ae80a75efc87654fa8d234166 | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... | PHP | application/config/database.php | qdsay/cms | mit | 4,536 | 97 | codeparrot/github-code |
033da433136007cda6c88b53630472eec49120be5bd8488338509671db694c43 | package sample.ble.sensortag.dialogs;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.os.Bundle;
import sample.ble.sensortag.R;
public class ErrorDialog extends AppDialog<ErrorDialog.ErrorDialogListener> {
public static final String TAG = ErrorDia... | Java | AppSample/src/main/java/sample/ble/sensortag/dialogs/ErrorDialog.java | Sasza/MCESensorTagWorkshopFull | mit | 1,238 | 41 | codeparrot/github-code |
05ad50014119ba1e20294e65b35c4d981c6c51c1bbbfd6968c44110dbc35e9e6 | /******************************************************************************
* Copyright © 2014-2015 The SuperNET Developers. *
* *
* See the AUTHORS, DEVELOPER-AGREEMENT and LICENSE files at *
... | JavaScript | ui/spn/js/translation/en.js | Tosch110/SuperNET-Lite-3 | mit | 75,929 | 1,259 | codeparrot/github-code |
716d3d4810752e72241d569b53cc845b9fc4db1e5d1a1f1e9aacc595320d2416 | #include <limits.h>
#include <float.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "bigWig.h"
#include "bwCommon.h"
/// @cond SKIP
struct val_t {
uint32_t tid;
uint32_t start;
uint32_t nBases;
float min, max, sum, sumsq;
double scalar;
struct val_t *next;
};
/// @endcond
... | C | libBigWig/bwWrite.c | deeptools/pyBigWig | mit | 46,766 | 1,329 | codeparrot/github-code |
be5571988788de5b89af461bacc252d9f01fd89318ade4caa01c0fea0f9f9a94 | // +build linux darwin freebsd netbsd
// +build !nofuse
package readonly
import (
"fmt"
"io"
"os"
"syscall"
fuse "github.com/ipfs/go-ipfs/Godeps/_workspace/src/bazil.org/fuse"
fs "github.com/ipfs/go-ipfs/Godeps/_workspace/src/bazil.org/fuse/fs"
core "github.com/ipfs/go-ipfs/core"
mdag "github.com/ipfs/go-ipf... | GO | fuse/readonly/readonly_unix.go | Kubuxu/go-ipfs | mit | 5,656 | 224 | codeparrot/github-code |
c3a6abe6b00f16eba8af82f478c41b4fc7558a679d0b57dd3d07185c2dbc9be4 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os, subprocess, urllib, urllib2, hashlib
import alfred
alfred.setDefaultEncodingUTF8()
from app import country_currency
def setUsername():
usr = alfred.argv(2)
if not usr:
alfred.exit('no username found.')
alfred.config.set(username = usr.strip... | Python | src/app-dig/action.py | vaginessa/alfred-workflows | mit | 2,173 | 69 | codeparrot/github-code |
9e5a7fe4c98e20a9841df63c63925de7fe46d403f0856066cd773ce8f2d76655 | /**
* Copyright (c) 2014, 2016, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
"use strict";
define(['./DvtToolkit'], function(dvt) {
// Internal use only. All APIs and functionality are subject to change at any time.
var p;function aa(a,b){0==a.indexOf("dvt.")&&(a=a.subst... | JavaScript | coffe template/cafe.web/src/main/webapp/res/jet/js/libs/oj/v2.3.0/min/internal-deps/dvt/DvtAxis.js | sawbona/kfe | mit | 47,839 | 105 | codeparrot/github-code |
f146722f9c8b6ec100b8221a847c9641d85e50a699d202e7314714fe5431a2de | define(['marionette',
'templates',
'./widget/dashboardService',
'rup.dashboard','rup.button','rup.message' ], function(Marionette, App, DashboardService){
var DashboardView = Marionette.LayoutView.extend({
template: App.Templates.demo.app.dashboard.dashboardTemplate,
gridOptions: {
verticalMargin: 10,
... | JavaScript | demo/app/dashboard/dashboardView.js | UDA-EJIE/uda-rup | mit | 8,752 | 351 | codeparrot/github-code |
620eb73f2f0289846321940c0726418c6f0d83b6fe172cdd259f390e571bd7e6 | /**
*
* Sets a [cookie](https://code.google.com/p/selenium/wiki/JsonWireProtocol#Cookie_JSON_Object)
* for current page.
*
* <example>
:getCookie.js
client
.setCookie({name: 'test', value: '123'})
.getCookie(function(err, cookies) {
console.log(cookies); // outputs: [{ name: 'te... | JavaScript | lib/commands/setCookie.js | udnisap/webdriverio | mit | 1,348 | 57 | codeparrot/github-code |
9bd313b2e9b241318bb5d7198f4722d9633ee8ab45cab133107b8ea41bff01c8 | #region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
/... | C# | lib/JSON Library/Newtonsoft.Json/Converters/DataSetConverter.cs | borewik/SteamBot | mit | 3,818 | 103 | codeparrot/github-code |
3222e47d7a932d5a4b9da7c72acf03b49f275aa160f3a2308c2dc5f5746297cd | """timing.py computes timing information from a rsl output file from WRF
Usage:
python timing.py rsl_file [namelist.input]"""
import sys, os
# this is an ugly hack to do a relative import, but it works
sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'wrftools'))
import namelist as nl
import re
de... | Python | util/timing.py | samwisehawkins/wrftools | mit | 1,586 | 55 | codeparrot/github-code |
b2dadf7d54a70cf2a7217422ed3eec5d6a55a06d31e9dd730d584121000f0b51 | define([
'cdf/AddIn',
'cdf/Dashboard',
'cdf/dashboard/Utils',
'cdf/Logger',
'cdf/lib/jquery',
'amd!cdf/lib/underscore',
'cdf/lib/CCC/pvc'
],
function(AddIn, Dashboard, Utils, Logger, $, _, pvc) {
var cccChart = {
name: ... | JavaScript | UI/js/cccChart.js | TaoPengFei/DashboardUI | mit | 2,820 | 79 | codeparrot/github-code |
8c63672b8289c9bf511bc4e4d86ecc16c00e5235c9ada63bb06153220b74bbd2 | package com.codepath.googleimagesearch.models;
import java.io.Serializable;
public class ImageFilter implements Serializable{
private static final long serialVersionUID = 7251932076288855021L;
private String size = null; // (small, medium, large, extra-large)
private String color = null; // filter (black, blue, b... | Java | src/com/codepath/googleimagesearch/models/ImageFilter.java | yatrikp/GoogleImageSearch | mit | 1,079 | 50 | codeparrot/github-code |
826da92f029d24638b5b8eeefff9030782a0a0cba069079927fcd0f704e0ea47 | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Copyright (c) 2013 TangCoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license... | C++ | src/irc.cpp | TangCoin/tangcoin_src | mit | 10,623 | 399 | codeparrot/github-code |
8053badae8af000407ebeb73bc068b8c97d79b8c9f254c4b417e00b07a444ebf | # Bills actions
class BillsController < ApplicationController
before_action :set_bill, only: [:edit, :update, :destroy]
# GET /bills
def index
@bills = Bill.by_recent.page(params[:page])
end
# GET /bills/1
# GET /bills/1.pdf
def show
@bill = Bill.includes(motions: [:meeting],
... | Ruby | app/controllers/bills_controller.rb | troy-open-data/legislative_twitter | mit | 3,779 | 150 | codeparrot/github-code |
b6138989d6c8f7198bc5150b10708b5eb0fd643c85f41dbb8ed8be72a61c50f2 | @ECHO OFF
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set BUILDDIR=build
set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% source
if NOT "%PAPER%" == "" (
set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
)
if "%1" == "" goto help
if "%1" == ... | Batchfile | doc/make.bat | benoitc/dj-webmachine | mit | 4,124 | 156 | codeparrot/github-code |
7108bcd5efdcecf65bb5c4434c6269db8c03ccae43a465d3adde9d254b95eea6 | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using System.Linq;
using System.Windows.Input;
using Perspex.Input;
using Perspex.Interactivity;
using Perspex.Rendering;
using Perspex.Visu... | C# | src/Perspex.Controls/Button.cs | danwalmsley/Perspex | mit | 11,525 | 366 | codeparrot/github-code |
51f32ed14db032a43866577bcb044a514e2d18b5028ffcd9f99a1a3d5220cc21 | package mariculture.core.gui;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import mariculture.Mariculture;
import mariculture.core.gui.feature.Feature;
import mariculture.core.helpers.BlockHelper;
import mariculture.fishery.gui.RenderTankItem;
import net.minecraft.client.gui.FontRende... | Java | src/main/java/mariculture/core/gui/GuiMariculture.java | svgorbunov/Mariculture | mit | 6,373 | 210 | codeparrot/github-code |
19c766430dcbb21a6cc926c4f00eeca8113363dda63438003e62c59b0b772fd5 | require_dependency "mtwarden/application_controller"
module Mtwarden
class AccountsController < ApplicationController
def new
@account = Mtwarden::Account.new
@account.build_owner
end
def create
@account = Mtwarden::Account.create_with_owner(account_params)
if @account.valid?
force_authenticati... | Ruby | app/controllers/mtwarden/accounts_controller.rb | CoastDigitalGroup/cdg-subengine-warden | mit | 769 | 33 | codeparrot/github-code |
29f3df982e8fecebf43dc0be7152232374fd5500ebe511936c3753ab6fe623ed | # --------------------------------------------------------
# Fast R-CNN
# Copyright (c) 2015 Microsoft
# Licensed under The MIT License [see LICENSE for details]
# Written by Ross Girshick
# --------------------------------------------------------
import xml.dom.minidom as minidom
import os
import PIL
import numpy as... | Python | lib/datasets/pascal3d.py | Zardinality/TF_Deformable_Net | mit | 30,673 | 706 | codeparrot/github-code |
933cae81ed52acf5d6606f19cb930c8701eda84454d2ca51b0871e28a974a138 | """
Support for RFXtrx switches.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/switch.rfxtrx/
"""
import logging
import homeassistant.components.rfxtrx as rfxtrx
from homeassistant.components.rfxtrx import (
ATTR_FIREEVENT, ATTR_NAME, ATTR_PACKETID... | Python | homeassistant/components/switch/rfxtrx.py | justyns/home-assistant | mit | 5,695 | 164 | codeparrot/github-code |
8c7e3fc47844cccfb1631a2b5119a566deab42f227d8fdc1574854f2f8257b64 | /*
* tkGC.c --
*
* This file maintains a database of read-only graphics contexts for the
* Tk toolkit, in order to allow GC's to be shared.
*
* Copyright (c) 1990-1994 The Regents of the University of California.
* Copyright (c) 1994 Sun Microsystems, Inc.
*
* See the file "license.terms" for information on us... | C | UnrealPyEmbed/Development/Python/2015.08.07-Python2710-x64-Source-vs2015/Python27/Source/tk-8.5.2.0/generic/tkGC.c | mollstam/UnrealPy | mit | 11,300 | 407 | codeparrot/github-code |
2362421a3dfdb2c4ec1227ea737a3de1afb589ea15ba5546cdae334a0e7e36ea | const {
sequelize,
Song,
User,
Bookmark,
History
} = require('../src/models')
const Promise = require('bluebird')
const songs = require('./songs.json')
const users = require('./users.json')
const bookmarks = require('./bookmarks.json')
const histories = require('./histories.json')
sequelize.sync({force: tru... | JavaScript | server/seed/index.js | codyseibert/tab-tracker | mit | 749 | 41 | codeparrot/github-code |
9134c4130740193267df4d85bfb6522f397141e04bc43c4792229d54e8399428 | /**
* @file 计算曲线包围盒
* @author mengke01(kekee000@gmail.com)
*
* modify from:
* zrender
* https://github.com/ecomfe/zrender/blob/master/src/tool/computeBoundingBox.js
*/
define(
function (require) {
var pathIterator = require('./pathIterator');
/**
* 计算包围盒
*
* @par... | JavaScript | src/graphics/computeBoundingBox.js | darkicerain/fonteditor-core | mit | 5,524 | 200 | codeparrot/github-code |
3ef46bb010ebff3d85d5ada7f8e70e1308ffbc1afbd6eb216dab5230b7d4c2f0 | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else {
var a = factory();
for(var i in a) (typeof exports === 'object' ? exports : roo... | JavaScript | ajax/libs/vue2-filters/0.11.1/vue2-filters.js | cdnjs/cdnjs | mit | 25,199 | 847 | codeparrot/github-code |
bbb8e4823260b9ed763c8c693ab2ac9c0cee94c0d5550d8da5f9adb98a83a835 | var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] =... | JavaScript | ajax/libs/excalibur/0.25.0-alpha.6557/Label.js | cdnjs/cdnjs | mit | 12,994 | 362 | codeparrot/github-code |
43504f8d61746a48279785f2f2ebd5fda759f09f48dbba6e2155812c32b5ad31 | # Key bindings for Opus
#
# Allowable keys: (No other keys may be used!)
#
# A The A key
# ...
# Z The Z key
# 0 The 0 key
# ...
# 9 The 9 key
# + The +/= key (USA only!)
# - The -/_ key (USA only!)
# [ The [/{ key (USA only!)
# ] The [/} key (USA only!)
#
# Back Backspace key
# BS Backspace key
# Esc The Esc key
# Ret... | Batchfile | Microsoft DOS/Word 1.1a CHM Distribution/Opus/resource/keys.cmd | mindcont/OpenSource | cc0-1.0 | 6,034 | 247 | codeparrot/github-code |
43ea7b96bd88d4fad78cc7ee39bb5c419ee70644a2b21cd65183159bf6b02560 | __author__ = 'carlpearson'
import csv
def seeds():
res = []
with open("rdat.csv", newline="") as csvfile:
lines_reader = csv.reader(csvfile)
lines_reader.__next__()
for x in range(0, 5):
dat = lines_reader.__next__()
res.append(int(dat[1].strip()))
return re... | Python | disorganized/dostuff.py | AIMS-Ghana/cams | cc0-1.0 | 1,634 | 59 | codeparrot/github-code |
3f85cb251b2a7462aad12fb0d8b14c59fd8faf5fc93daa9f1d72c7637861ec86 | /*
* Copyright (c) 2013 Red Hat, Inc. and/or its affiliates.
*
* 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
* ... | Java | windup_0_7/windup-engine/src/main/java/org/jboss/windup/config/spring/namespace/WindupNamespaceHandler.java | Maarc/windup-as-a-service | epl-1.0 | 3,575 | 64 | codeparrot/github-code |
91d5147045ae55492d578948094d95c9de4dc9edf83d0cd81eec9488f2f367b6 | /*
* Copyright (c) 2013 Cisco Systems, Inc. and others. 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
*/
package org.... | Java | opendaylight/config/yang-store-impl/src/test/java/org/opendaylight/controller/config/yang/store/impl/HardcodedYangStoreService.java | xiaohanz/softcontroller | epl-1.0 | 1,929 | 52 | codeparrot/github-code |
3b1d88baed63555c19f5359c61b372eb7711727ea63f60deda7b5242f478a826 | /*******************************************************************************
* Copyright (c) 2016 Obeo.
* 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
* h... | Java | doc/example/org.obeonetwork.database.m2doc.services/src/org/obeonetwork/database/m2doc/services/TableContainerServices.java | nlepine/M2Doc | epl-1.0 | 3,270 | 99 | codeparrot/github-code |
2b6e32d075a476a174ce662e6c8dbd001a2b3694851f2faf3709117eda4db280 | /**
* Copyright (c) 2010-2020 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.... | Java | bundles/binding/org.openhab.binding.lightwaverf.test/src/test/java/org/openhab/binding/lightwaverf/internal/LightwaverfConvertorTest.java | openhab/openhab | epl-1.0 | 4,573 | 97 | codeparrot/github-code |
0260cfda94190a73df872929c7f50ec57918b48784e936958863bbbb259adf7e | /*-
*******************************************************************************
* Copyright (c) 2011, 2014 Diamond Light Source Ltd.
* 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, ... | Java | org.eclipse.dawnsci.hdf5.model.test/src/org/eclipse/dawnsci/hdf5/model/internal/HierarchicalDataModelTest.java | DawnScience/dawnsci | epl-1.0 | 5,870 | 155 | codeparrot/github-code |
e265a6c7e2f9d3a43695c7033259967b225df5e1e268bff27558c76ab8abd3c0 | /* $Id$ */
/*
Copyright (C) 2004 International Business Machines Corporation and others.
All Rights Reserved.
This code is licensed under the terms of the Eclipse Public License (EPL).
*/
#ifndef CbcModelC_H
#define CbcModelC_H
/* include all defines and ugly stuff */
#include "Coin_C_defines.h"
#include <stdde... | C | ext/cbc-wrapper/coin/Cbc_C_Interface.h | gverger/cbc-wrapper | epl-1.0 | 12,603 | 382 | codeparrot/github-code |
0ff7631e208df8d9351fcdab9ae1d9074b3b390c7973e7d41181ad10a048451d | /*
* This file is part of the Jikes RVM project (http://jikesrvm.org).
*
* This file is licensed to You under the Eclipse Public License (EPL);
* You may not use this file except in compliance with the License. You
* may obtain a copy of the License at
*
* http://www.opensource.org/licenses/eclipse-1.0.... | Java | src/org/mmtk/plan/refcount/generational/GenRCMutator.java | xjbhenry/hack_rvm | epl-1.0 | 2,445 | 94 | codeparrot/github-code |
8f9649c8ecab84d3d30e1f5917d65e35a151b7c966637f30b714ae15c35c2ba7 | /*******************************************************************************
* Copyright (c) 2017, 2019 IBM Corporation and others.
* 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, an... | Java | dev/com.ibm.ws.rest.handler.validator/src/com/ibm/ws/rest/handler/validator/internal/ValidatorRESTHandler.java | OpenLiberty/open-liberty | epl-1.0 | 21,304 | 488 | codeparrot/github-code |
2d8ed0be1e4cb66d119214ac1be264b755c1c59fc0706f1896e6a8276abdc9db | // Copyright © 2011 Syterra Software 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.
// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANT... | C# | source/fit/Service/Operators.cs | deftom/fitsharp | epl-1.0 | 1,258 | 39 | codeparrot/github-code |
d7f96efeb1da781b7742c453f584d8f456a343ce40b7322f910d9e06cca7233d | /**
* Copyright (c) 2010-2021 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.... | Java | bundles/org.openhab.binding.yamahareceiver/src/main/java/org/openhab/binding/yamahareceiver/internal/protocol/xml/ZoneBAvailableInputsXML.java | MikeJMajor/openhab2-addons-dlinksmarthome | epl-1.0 | 1,487 | 41 | codeparrot/github-code |
d323053fbc21431cd39bc522d0a83719498bd8601423c620e1bf57d36dcda47e | package seg.jUCMNav.figures;
import org.eclipse.draw2d.Connection;
import org.eclipse.draw2d.ConnectionLocator;
import org.eclipse.draw2d.IFigure;
import org.eclipse.draw2d.PolylineConnection;
import org.eclipse.draw2d.PolylineDecoration;
import org.eclipse.draw2d.RotatableDecoration;
import org.eclipse.jface.resource... | Java | src/seg/jUCMNav/figures/KPIModelLinkRefConnection.java | gmussbacher/seg.jUCMNav | epl-1.0 | 3,278 | 120 | codeparrot/github-code |
54131209aabd0dbec64e4939cefad3d3c5cbb0767e96d585358654289369dab0 | /*
* Copyright (c) 2015-2017 Red Hat, Inc.
* 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
*
* Contributors:
* Red H... | TypeScript | dashboard/src/app/organizations/create-organizations/create-organizations.controller.ts | TypeFox/che | epl-1.0 | 4,941 | 167 | codeparrot/github-code |
4584c72007ad9b11c9b2d0d32e520afc3b5c2dd69e6f334e6d8f25c78814c312 | /**
* Copyright (c) 2011, 2014 Eurotech and/or its affiliates
*
* 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.htm... | Java | kura/org.eclipse.kura.linux.net/src/main/java/org/eclipse/kura/linux/net/iptables/LinuxFirewall.java | neubatengog/kura | epl-1.0 | 35,235 | 1,056 | codeparrot/github-code |
96412f64add6a184d202b266bca4c39d7b55de37f1e2b5ed4c4eb412c93de657 | <!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8"... | HTML | resources/public/index.html | kanwei/montebot | epl-1.0 | 4,475 | 150 | codeparrot/github-code |
e23d6bc9575280d070aae27fa83673eb6964e9226df080c6f085287873e4c8ff | /**
* Copyright 2016 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Eclipse Public License version 1.0, available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.jboss.forge.addon.resource;
/**
* Represents a generic Exception thrown by the Furnace {@link Resource} API
*
* @author <... | Java | resources/api/src/main/java/org/jboss/forge/addon/resource/ResourceException.java | forge/core | epl-1.0 | 759 | 33 | codeparrot/github-code |
80feea8f1ec02809b6f0d3d17fedf8d47934f5bdef3fab9221c040fbaf1da5fc | /*******************************************************************************
* Copyright (c) 2014, 2020 IBM Corporation and others.
* 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, an... | Java | dev/com.ibm.ws.jbatch.open_fat/test-applications/batchFAT.war/src/batch/fat/artifacts/ExceptionThrowingDataInjectedReader.java | OpenLiberty/open-liberty | epl-1.0 | 4,191 | 131 | codeparrot/github-code |
dbc68a16c1649358958c047339177bdd7185d3e25258e045daeb26b067ec08d2 | /*******************************************************************************
* Copyright (c) 2010 SAP AG.
* 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:... | Java | org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/fetch/FetchGerritChangeWizard.java | jdcasey/EGit | epl-1.0 | 1,545 | 58 | codeparrot/github-code |
e805b439d90b25cf502f1fc92da2c791dd11198baf3da28d19cbf5aecd5b775e | /*******************************************************************************
* Copyright (c) 2014 IBM Corporation and others.
* 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 a... | Java | dev/com.ibm.ws.security.oauth/src/com/ibm/ws/security/oauth20/util/MediaRange.java | OpenLiberty/open-liberty | epl-1.0 | 20,477 | 511 | codeparrot/github-code |
c7a5e30c91659fe61a212a7e8bf1a7ba3f131ce2de37320da83bd9143739567a | /**
* Copyright (c) 2019 Bosch Software Innovations GmbH and others.
*
* 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
... | Java | hawkbit-repository/hawkbit-repository-api/src/main/java/org/eclipse/hawkbit/repository/SizeConversionHelper.java | eclipse/hawkbit | epl-1.0 | 1,213 | 41 | codeparrot/github-code |
5533c9d0eee079243d27eaabe074df82366e1c338a2a29f0ddd1cecfc49c0e7b | /**
* Copyright (c) 2010-2021 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.... | Java | bundles/org.openhab.binding.satel/src/main/java/org/openhab/binding/satel/internal/types/DoorState.java | paulianttila/openhab2 | epl-1.0 | 1,206 | 55 | codeparrot/github-code |
6fa4dbee9800527f627f23a8e0bb4b3d9e1f9cd859bb38c59e4e736191b34bbe | /**
* Copyright (c) 2010-2018 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
*/... | Java | addons/binding/org.openhab.binding.dsmr.test/src/test/java/org/openhab/binding/dsmr/internal/device/DSMRSerialAutoDeviceTest.java | tavalin/openhab2-addons | epl-1.0 | 7,683 | 180 | codeparrot/github-code |
7c04893b70ca210ffa942ee8db56f070db27d17ef60814aeb93fae5e669439f2 | /*******************************************************************************
* Copyright (c) 2019 IBM Corporation and others.
* 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 a... | Java | dev/com.ibm.ws.jpa_spec20_fat/test-applications/criteriaquery/src/com/ibm/ws/jpa/fvt/criteriaquery/model/Entity0013.java | kgibm/open-liberty | epl-1.0 | 6,757 | 191 | codeparrot/github-code |
b4a852e7850e734df5bbaa0b28d558171609a3a77e36112ad8860762cb37a43f | /*
* Copyright 2008-2010 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Fou... | Java | src/share/classes/com/sun/btrace/runtime/MethodReturnInstrumentor.java | haitaoyao/btrace | gpl-2.0 | 4,372 | 108 | codeparrot/github-code |
e73895614201b00c279c27cbb282740da937b827af1c4d3c12191be14d6c2c9a | # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# bu... | Python | certmaster/config.py | caglar10ur/certmaster | gpl-2.0 | 15,091 | 479 | codeparrot/github-code |
6517cabbc4bf5aa68f44872fdbbcd26d8ac01be733eb1cc93ccf2a7cf96ef2b3 | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://www.lammps.org/ Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04-9... | C | unittest/testing/core.h | ellio167/lammps | gpl-2.0 | 5,296 | 158 | codeparrot/github-code |
3e73ebcf08188665e7cce6b56501797c7e58af364e53434a733e2d7eff02340d | <?php
/**
* Joomla! Content Management System
*
* @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\CMS\Extension;
defined('JPATH_PLATFORM') or die;
/**
* Extension Helper class.
... | PHP | libraries/src/Extension/ExtensionHelper.php | LivioCavallo/joomla-cms | gpl-2.0 | 10,734 | 301 | codeparrot/github-code |
eba23b183edd6a54933573263b2ed5db0f62a4f4219c7e67290a0b10ad9640aa | /*
* jQuery SmoothDivScroll 1.2
*
* Copyright (c) 2012 Thomas Kahn
* Licensed under the GPL license.
*
* http://www.smoothdivscroll.com/
*
* Depends:
* jquery-1.7.x.min.js
Please use //ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js
* jquery.ui.widget.js
* jquery.ui.effects.min.js
Make your o... | JavaScript | sites/all/themes/corolla/js/jquery.smoothDivScroll.js | lindsaywilson/luapstudios | gpl-2.0 | 38,655 | 1,080 | codeparrot/github-code |
05d78f9ab74c8cdbf77ea4d61192e891894ee7f34d9cb42a80dd3f503a93e9de |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>API Reference — Leap Motion Objective-C SDK v2.2 documentation</title>
<link rel="stylesheet" href="../_static/basic.css" t... | HTML | patrickrampage/LeapSDK/docs/objc/api/Leap_Classes.html | AntoineGagnon/Patrick-Rampage | gpl-2.0 | 17,428 | 413 | codeparrot/github-code |
32302751870fcf44adee370abddf58a03f81b89c926a426a86267c968dbc996b | <?php
/*
Plugin Name: Carousel Government
Plugin URI: http://oakwoodworldwide.com/
Description: Declares a plugin that will create a custom post type displaying OWW carousel for the Government Page
Version: 1.0
Author: Melanie McGanney
Author URI: http://oakwoodworldwide.com/
License: GPLv2
*/
add_action( 'init', 'crea... | PHP | wp-content/plugins/Carousel-EMEA/carousel-EMEA.php | Melanie27/oakwoodww-staging | gpl-2.0 | 3,757 | 93 | codeparrot/github-code |
b5ec1047222ec0d567c2cad1b298c3608fe71470d73f62481d93f17d7769c292 | package com.ftloverdrive.model.ship;
import com.ftloverdrive.model.NamedProperties;
import com.ftloverdrive.model.ship.StationModel;
import com.ftloverdrive.util.OVDConstants;
public class DefaultStationModel implements StationModel {
protected NamedProperties stationProperties;
protected int orientation = OVDCon... | Java | engine-core/src/main/java/com/ftloverdrive/model/ship/DefaultStationModel.java | kartoFlane/OverdriveGDX | gpl-2.0 | 1,259 | 71 | codeparrot/github-code |
dc173db9dcc47eb4269819f893fede7a29f1ab071b05f7f409fc089111bb5629 | <?php
function text_phone($field_name = null, $field_value = null, $menu_array = null, $args = null)
{
$phone_output = '';
if(!is_array($field_value)) {
$field_value = array();
}
if(!is_array($args)) {
$args = array();
}
$def_args = array(
// STD Directives
'area_code' => 'area_code',
'phone' =>... | PHP | cms/template_plugins/text_phone.php | aworley/ocm | gpl-2.0 | 1,064 | 50 | codeparrot/github-code |
ce67380e5c98f73b4d9126ca8c9d271e0ab20530ed71fde16ec8836fcf1cff16 | /*
* 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")... | Java | Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/classlib/modules/swing/src/test/api/java.injected/javax/swing/text/UtilitiesTest.java | skyHALud/codenameone | gpl-2.0 | 37,532 | 983 | codeparrot/github-code |
e9689800e1d22f383ffbd9d6e5ff2b75082832635c1ec9fa4d1ec973f431b815 | // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
const Clutter = imports.gi.Clutter;
const Lang = imports.lang;
const Gtk = imports.gi.Gtk;
const Meta = imports.gi.Meta;
const St = imports.gi.St;
const Atk = imports.gi.Atk;
const DND = imports.ui.dnd;
const IconGrid = imports.ui.iconGrid;
const Main = i... | JavaScript | js/ui/searchDisplay.js | robert-ancell/gnome-shell-lightdm | gpl-2.0 | 16,179 | 446 | codeparrot/github-code |
32e6b87ac14f71c8ffc9f9d232e50afcd9d5c9189da46e2d938a451a7cdb759e | /* SPDX-License-Identifier: LGPL-2.1+ */
/***
Copyright © 2013 Intel Corporation. All rights reserved.
***/
#include <errno.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <stdio.h>
#include <sys/socket.h>
#include <unistd.h>
#include "sd-dhcp-client.h"
#include "sd-event.h"
#include "alloc-util.h"
#includ... | C | src/libsystemd-network/test-dhcp-client.c | keszybz/systemd | gpl-2.0 | 21,457 | 584 | codeparrot/github-code |
5fd95c4ff4764e6f487cad9c91c00d30f66cd99921dc013d0448ed02c61a1d10 | <?php
/**
* @copyright Copyright 2005-2009 HUBzero Foundation, LLC.
* @license http://opensource.org/licenses/MIT MIT
*
* Copyright 2005-2009 HUBzero Foundation, LLC.
* All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documen... | PHP | core/components/com_publications/site/views/view/tmpl/default.php | drewthoennes/hubzero-cms | gpl-2.0 | 7,712 | 236 | codeparrot/github-code |
ed981347c255b5b484297831f7427e6dec31fb8da149675ce1a7d35bb89e69e0 | <?php
/**
* @author Nicola Puddu
* @package userGroups
*
* This is the model class for table "usergroups_access".
*
* this model also returns the data for the permission form
* and also returns the data for the home dropDownList
*
* The followings are the available columns in table 'usergroups_access':
* @... | PHP | protected/modules/userGroups/models/UserGroupsAccess.php | snipesn/UkrYama-2 | gpl-2.0 | 10,324 | 291 | codeparrot/github-code |
2fd0e4ec8e4b87dd814b31930f9329d56be3ca3272a1eac25c99a121a2f512f4 | # -*- coding: utf-8 -*-
#
# Copyright (c) 2005,2006,2007,2008,2009 Brett Adams <brett@belizebotanic.org>
# Copyright (c) 2012-2015 Mario Frasca <mario@anche.no>
#
# This file is part of bauble.classic.
#
# bauble.classic is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Pub... | Python | bauble/meta.py | mfrasca/bauble.classic | gpl-2.0 | 2,702 | 92 | codeparrot/github-code |
b05b720445d056ef867c471369f3d5dc8d0e779e4c79f0bfbb7a8597c8639252 | /******************************************************************************
* Wormux is a convivial mass murder game.
* Copyright (C) 2001-2004 Lawrence Azzoug.
*
* 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
*... | C++ | old/wormux-0.7.9/src/graphic/font.cpp | yeKcim/warmux | gpl-2.0 | 6,062 | 216 | codeparrot/github-code |
94bd3d85ed612da4c5705ae194fed0e143091f265134fb42d412d922b6400506 | /***********************************************************************
KinectClient - Client object to implement the Kinect 3D video tele-
immersion protocol for the Vrui collaboration infrastructure.
Copyright (c) 2010-2012 Oliver Kreylos
This file is part of the Kinect 3D Video Capture Project (Kinect).
The Kinec... | C++ | src/Kinect-2.8/Plugins/KinectClient.cpp | museolab/augmented_sandbox | gpl-2.0 | 10,107 | 307 | codeparrot/github-code |
01f708312ad71ef010ef958cbd78c64c970982066cc51f4d173b643dcd0dd76f | /* -*- mode: c; c-basic-offset: 8; -*-
* vim: noexpandtab sw=8 ts=8 sts=0:
*
* dlmrecovery.c
*
* recovery stuff
*
* Copyright (C) 2004 Oracle. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published b... | C | fs/ocfs2/dlm/dlmrecovery.c | heptalium/rpi-sources-3.16 | gpl-2.0 | 88,425 | 2,926 | codeparrot/github-code |
690f2df33d3bfbb0b239b60633894c4bc39230e0174113ada025afd4a73a93cf | /*=============================================================================
Copyright (c) 2002 2004 2006Joel de Guzman
Copyright (c) 2004 Eric Niebler
http://spirit.sourceforge.net/
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file... | C++ | boost_1_49_0/tools/quickbook/src/grammar.hpp | phra/802_21 | gpl-2.0 | 2,203 | 71 | codeparrot/github-code |
4223b64b56d3232387bcdd40d5aa9aa5200173ed86ebe698a345f938c446c5ff | <?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2013 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any la... | PHP | sites/all/libraries/PHPExcel/PHPExcel/Writer/PDF/DomPDF.php | napoleon789/qlkh | gpl-2.0 | 4,354 | 121 | codeparrot/github-code |
a29280b48aff9adcee635d334acef9dda18cebf771f765ba4ee7b12823ebacc5 | <?php
/**
* Get the attributes for the code editor
* @param array $override_atts Pass an array of attributes to override the saved ones
* @param boolean $json_encode Encode the data as JSON
* @return array|string Array if $json_encode is false, JSON string if it is true
*/
function code_snippets_get_editor_atts( ... | PHP | wp-content/plugins/code-snippets/includes/editor.php | kgoedecke/kevingoedecke-blog | gpl-2.0 | 1,112 | 41 | codeparrot/github-code |
c4d535bd9a341fd4fc795ee06f13cbf4b563d986db9e272fcaaf0cb7f44a39dd | <?php
/**
* @package EasySocial
* @copyright Copyright (C) 2010 - 2014 Stack Ideas Sdn Bhd. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* EasySocial is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative... | PHP | media/com_easysocial/apps/user/feeds/feeds.php | BetterBetterBetter/WheresWalden | gpl-2.0 | 9,837 | 348 | codeparrot/github-code |
fc5da20883b9079c03b6fe1fb410b82a6d64d22b392250734700156a209a92ff | //+----------------------------------------------------------------------------+
//| Description: Magic Set Editor - Program to make Magic (tm) cards |
//| Copyright: (C) 2001 - 2012 Twan van Laarhoven and Sean Hunt |
//| License: GNU General Public License 2 or later (see file COPYING) ... | C++ | src/render/value/choice.hpp | ninzhan/MSE | gpl-2.0 | 1,339 | 33 | codeparrot/github-code |
629f1d9104aa0f3f1829a12a90aaacde8f121b9968b372343b763c803867722a | <?php
/**
* @package Freestyle Joomla
* @author Freestyle Joomla
* @copyright (C) 2013 Freestyle Joomla
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
**/
defined('_JEXEC') or die;
?>
<div class="media faq_faq faq_<?php echo $cat['id'] . "_" . $faq['id']; ?>_cont faq_<?php echo $faq['id']; ?>_cont">
... | PHP | components/com_fss/views/faq/snippet/_faq_accordian.php | vstorm83/propertease | gpl-2.0 | 1,436 | 46 | codeparrot/github-code |
95d4fc77548f4eed35f452b3f79f2170cef2284ca6073d171c7d66fbcec2a1e6 | // FibHeapEntry.cpp
// 1.0
// This file is part of OpenRedAlert.
//
// OpenRedAlert is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, version 2 of the License.
//
// OpenRedAlert is distributed... | C++ | src/game/FibHeapEntry.cpp | erikkallen/openredalert | gpl-2.0 | 1,021 | 44 | codeparrot/github-code |
0604f25ea3675e37f4909edf5bca3741a0e21e4182e16850252b8487b2d4b391 | /*
* COPYRIGHT
*
* PCB, interactive printed circuit board design
* Copyright (C) 1994,1995,1996 Thomas Nau
*
* 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 Foundatio... | C | src/move.h | bert/pcb-update | gpl-2.0 | 3,847 | 114 | codeparrot/github-code |
618a95079a85a6383f7380733af1c70dd940c2fb2044bbadc83a9ab3e0f3adb7 | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2006-2011 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2011 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | Java | opennms-services/src/main/java/org/opennms/netmgt/rtc/DataSender.java | tharindum/opennms_dashboard | gpl-2.0 | 17,086 | 461 | codeparrot/github-code |
b648d51defb4e946e9095e007336e04b629d25b7c32cfa8411d63ec235923925 | <?php
/**
* @package MijoVideos
* @copyright 2009-2014 Mijosoft LLC, mijosoft.com
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
*/
# No Permission
defined( '_JEXEC' ) or die ;
class MijovideosModelChannel extends MijovideosModel {
public function __construct() {
parent::__construct('channel', 'c... | PHP | components/com_mijovideos/models/channel.php | Sunella/VideoSharing-Joomla | gpl-2.0 | 4,695 | 133 | codeparrot/github-code |
b31f29162490bc51b8ebe2cfc4fea0d56760057cf92293ace0040894ef7ec46e | /*
* libjingle
* Copyright 2004--2005, Google Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions a... | C | kopete/protocols/jabber/jingle/libjingle/talk/p2p/base/tcpport.h | serghei/kde3-kdenetwork | gpl-2.0 | 3,928 | 117 | codeparrot/github-code |
a7e1e3c5a1f9dad8ea6073a711102a593d8265786f65f8f30f8c1f5095abee5c | /*
** Copyright 1998-2003 University of Illinois Board of Trustees
** Copyright 1998-2003 Mark D. Roth
** All rights reserved.
**
** decode.c - libtar code to decode tar header blocks
**
** Mark D. Roth <roth@uiuc.edu>
** Campus Information Technologies and Educational Services
** University of Illinois at Urban... | C | libtar/lib/decode.c | rsenn/sw-utils | gpl-2.0 | 1,955 | 121 | codeparrot/github-code |
c7bd71bb0bd8f646b94f47eb18b10f6182de18683ecb5ce50e93b236e5b10f24 | /**[txh]********************************************************************
Copyright (c) 2004 by Salvador E. Tropea.
Covered by the GPL license.
Description:
MS lib have a really useless command line. This wrapper avoids all the
complexities.
Also: I failed to create a macro that expands to something that ... | C | makes/mlink.c | descent/tvision | gpl-2.0 | 1,705 | 73 | codeparrot/github-code |
136e72068b8f6b83cb9e89fbbf74df6ff1068397b166d9ede1f9351e969ea860 | /*
* drivers/base/power/wakeup.c - System wakeup events framework
*
* Copyright (c) 2010 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
*
* This file is released under the GPLv2.
*/
#include <linux/device.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/capability.h>
#include <linux/export.h>
#i... | C | drivers/base/power/wakeup.c | kogone/android_kernel_lge_hammerhead | gpl-2.0 | 25,289 | 920 | codeparrot/github-code |
c842a6efddcbb859e92091f72d39e6dd4aafa6cd6424f74935ba2ed0df6c450f | <?php
/*
** Zabbix
** Copyright (C) 2001-2014 Zabbix SIA
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** Th... | PHP | frontends/php/adm.iconmapping.php | IsCoolEntertainment/debpkg_zabbix | gpl-2.0 | 5,817 | 201 | codeparrot/github-code |
ff0527035c1c8792577135dbc240a535b1e9ca1caf42b3688ca332d57931ec20 |
# -*- coding: utf-8 -*-
import sys
import math
from pylab import *
try:
import moose
except ImportError:
print("ERROR: Could not import moose. Please add the directory containing moose.py in your PYTHONPATH")
import sys
sys.exit(1)
from moose.utils import * # for BSplineFill
class GluSyn_STG(moose.... | Python | neuroml/lobster_pyloric/synapses/GluSyn_STG.py | BhallaLab/moose-examples | gpl-2.0 | 2,442 | 64 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.