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 |
|---|---|---|---|---|---|---|---|---|
4464b57088f4475dd465a19f9215c038c8ca46376dc56fd9c15febc93ea4dbe3 | ////////////////////////////////////////////////////////////////////////////////
//
// (C) Andy Thomason 2012-2014
//
// Modular Framework for OpenGLES2 rendering on multiple platforms.
//
// mouse ball for rotating cameras around points of interest.
namespace octet { namespace helpers {
/// Class for picking object... | C | octet/src/helpers/object_picker.h | Maths-Assignment2/RaceTrack | gpl-3.0 | 1,366 | 49 | codeparrot/github-code |
09343dfab65469261de29640d380d8c0a6811216cd2cd816a31931664edc4be3 | import requests
import xml.etree.ElementTree as ET
from time import sleep
class QualysAPI:
"""Class to simplify the making and handling of API calls to the Qualys platform
Class Members
=============
server : String : The FQDN of the API server (with https:// prefix)
user : S... | Python | scan-blackout/QualysAPI.py | Qualys/community | gpl-3.0 | 8,803 | 187 | codeparrot/github-code |
6bde38db06b7c5c25f5b9032eaff7177941be9332ea1ada3b5061b99c6752099 | /*!
* jQuery ScotiaVideo Plugin
* TODO
*/
// IE fix for origin
if (!window.location.origin) {
window.location.origin = window.location.protocol + "//" + window.location.hostname + (window.location.port ? ':' + window.location.port: '');
}
(function($, window, document, _config){
'use strict';
// set... | JavaScript | example/scotia-video.1.0.0.js | dahukish/bns_yt_handler | gpl-3.0 | 25,892 | 723 | codeparrot/github-code |
925c84eca5bdfc50a63aebfd2c18499dbd6b68074447437a47bde5301200a3b8 | # -*- coding: utf-8 -*-
__author__ = 'Patrick Michl'
__email__ = 'frootlab@gmail.com'
__license__ = 'GPLv3'
import nemoa
import numpy
class Links:
"""Class to unify common ann link attributes."""
params = {}
def __init__(self): pass
@staticmethod
def energy(dSrc, dTgt, src, tgt, links, calc = ... | Python | nemoa/system/commons/links.py | fishroot/nemoa | gpl-3.0 | 1,111 | 43 | codeparrot/github-code |
1e2468e7909b9d9a1a08a2ea3e76f84431570976fbd68622f4638436e3082901 | #!/usr/bin/python
import glob
import os.path
import re
import hashlib
from bs4 import BeautifulSoup
from subprocess import call, Popen, PIPE, STDOUT
root = "/home/alex/tidalcycles.github.io/_site/"
dnmatcher = re.compile(r'^\s*d[0-9]\s*(\$\s*)?')
crmatcherpre = re.compile(r'^[\s\n\r]*')
crmatcherpost = re.compile(r'[... | Python | bin/build_examples.py | tidalcycles/tidalcycles.github.io | gpl-3.0 | 1,514 | 47 | codeparrot/github-code |
c07515b38cdc3cc6bf5899039d2bbf7716d5ccfed3b0fb73fe5a9e8c8b7e5194 | /*
* fsarchiver: Filesystem Archiver
*
* Copyright (C) 2008-2017 Francois Dupoux. 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 v2 as published by the Free Software Foundation.
*
* This program is distrib... | C | qt5-fsarchiver/src/fs_ntfs.c | Rudlandh/qt-fasarchiver | gpl-3.0 | 9,852 | 293 | codeparrot/github-code |
a5ca2cb7958cb031cae4cf0425a2f431843728b85447e053a1664f929d4e21ce |
/*
* Copyright 2013 Google Inc.
*
* 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... | Java | src/main/java/com/google/android/apps/dashclock/ui/SwipeDismissGridViewTouchListener.java | PhaniGaddipati/Stacks-Flashcards | gpl-3.0 | 14,664 | 373 | codeparrot/github-code |
07446f33d2e4c40c69b0e2f4c191186712a0fb70a060ff90303d220afe4b278f | /*
Unix SMB/CIFS implementation.
RAW_OPEN_* individual test suite
Copyright (C) Andrew Tridgell 2003
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 Lice... | C | source4/torture/raw/open.c | hef/samba | gpl-3.0 | 73,716 | 2,149 | codeparrot/github-code |
3dc1e5c14ed5c8c0b2ec18c602d44a111910ccd974ae454f91ee43179d3f437d | /***************************************************************************
* Copyright (C) 2010 by Gregor Kališnik <gregor@unimatrix-one.org> *
* *
* This program is free software; you can redistribute it and/or modify *
* it unde... | C++ | bge/test/particle/explosions.cpp | MasterMind2k/ufb | gpl-3.0 | 1,450 | 41 | codeparrot/github-code |
fbce81478bf1ad5771d6d31039166911960cc8a7caec3adc4fb9346466308f65 | // Copyright (C) Explorer++ Project
// SPDX-License-Identifier: GPL-3.0-only
// See LICENSE in the top level directory
#pragma once
#include "HardwareChangeNotifier.h"
#include "Navigation.h"
#include "../Helper/BaseWindow.h"
#include "../Helper/FileContextMenuManager.h"
#include "../Helper/WindowSubclassWr... | C | Explorer++/Explorer++/DrivesToolbar.h | derceg/explorerplusplus | gpl-3.0 | 3,028 | 100 | codeparrot/github-code |
c3ee0c016225324475dd0636d508d9635f5b7a306a1f7bb712ed5e8c39d6dc1e | #include "lexan.h"
int main(int argc, char *argv[]) {
// We only allow 1 file to be compiled for now
if (argc != 2) {
printf("Usage: %s filename\n", argv[0]);
return 1;
}
char *filename = argv[1];
FILE *file;
// Check if the file is readable
if ((file = fopen(filename, "r")) == NULL) {
... | C | fuc.c | Gargamel1989/Fuc-Compiler | gpl-3.0 | 736 | 40 | codeparrot/github-code |
aa5d513749e04b06ddbbb506eb4db05a1ab77cc13b73f48a3536490e1004bd13 | package main
import (
"flag"
"fmt"
"os"
"os/user"
"path/filepath"
"github.com/gen2brain/gsmgo"
)
func main() {
cfg := flag.String("config", "", "Config file")
debug := flag.Bool("debug", false, "Enable debugging")
text := flag.String("text", "", "Text Message")
number := flag.String("number", "", "Phone Nu... | GO | example/main.go | gen2brain/gsmgo | gpl-3.0 | 1,564 | 82 | codeparrot/github-code |
63c31863d2d3fa7c2b7b92cf958beb577dc23f7151c87a47cd471afe1bfe302b | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- This manual is for GNU Texinfo (version 4.2, 28 March 2002),
a documentation system that can produce both online information and a
printed manual from a single source.
Copyright (C) 1988, 90, 91, 92, 93, ... | HTML | texi2html/test/manuals/res/texinfo_nodes/Short-Sample-Texinfo-File.html | cgwalters/texinfo-git-mirror | gpl-3.0 | 7,068 | 182 | codeparrot/github-code |
65947d6e0de9dedf0eea1fc65d61a284818d5424174ca546845381600a3e675a | /* libpalattice expamle program: Lattice access, editing & import
* create a lattice and print some output, import a lattice from madx or elegant
*
* Copyright (C) 2016 Jan Felix Schmidt <janschmidt@mailbox.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of th... | C++ | programs/lattice.cpp | janfschmidt/palattice | gpl-3.0 | 4,812 | 135 | codeparrot/github-code |
0e73c6569d92ff3cabab09a3a6adf02c91d4326fce36761b8e5a782b91289f04 |
/*
This file is part of TSLoad.
Copyright 2012-2014, Sergey Klyaus, ITMO University
TSLoad 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 3.
TSLoad is distributed in the hope tha... | C | agent/include/tsload/atomic.h | myaut/tsload | gpl-3.0 | 4,353 | 174 | codeparrot/github-code |
a27d861020aded928805e9fa2ecc2dcb34bc7300df5ab20678bdbb59a1627f45 | // Copyright (c) The University of Dundee 2018-2019
// This file is part of the Research Data Management Platform (RDMP).
// RDMP 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... | C# | Rdmp.UI/CommandExecution/AtomicCommands/ExecuteCommandOpenExtractionDirectory.cs | HicServices/RDMP | gpl-3.0 | 4,396 | 103 | codeparrot/github-code |
387535825eed85d876051e60f271e1419eba5c6b2f928cb129b6be3f0c000bcc | /*************************************************************************
Copyright (C) 2009 Grandite
This file is part of Open ModelSphere.
Open ModelSphere is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundat... | Java | org.modelsphere.jack/src/org/modelsphere/jack/baseDb/assistant/JHtmlBallonHelp.java | DarioGT/OMS-PluginXML | gpl-3.0 | 31,986 | 821 | codeparrot/github-code |
3113a92d742df0800639f5bf3e5570e92072fafe2df12cd126574b7abf8fc30e | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.payfact.modelo.persistencia.entidades;
import java.io.Serializable;
import java.util.List;
import javax.persistence.Basic;... | Java | src/main/java/com/payfact/modelo/persistencia/entidades/Tipocobranza.java | GoFact-AAL/PayFact | gpl-3.0 | 3,180 | 112 | codeparrot/github-code |
880b4ccf0bc206968d49bb98b713f61e15729b3e5e573a42b7f633124b749240 | /***************************************************************************
* Copyright (C) 1998-2010 by authors (see AUTHORS.txt ) *
* *
* This file is part of LuxRays. *
* ... | C++ | samples/smallluxgpu4/bidirvmcpu/hashgrid.cpp | marwan-abdellah/luxrender-luxrays | gpl-3.0 | 6,184 | 165 | codeparrot/github-code |
70275d8c4bd446dea2e0d6247a2e1f2781c4449b74bba5191c49878ea42e67ae | package com.neoteric.starter.request.sort;
import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
public class SortOperatorTest {
@Test
public void shouldCreateSortOperatorForProperName() {
SortOperator sortOperator = SortOperator.fromString("$order");
assertThat(So... | Java | request-parameters/src/test/java/com/neoteric/starter/request/sort/SortOperatorTest.java | rychu777/neo-starters | gpl-3.0 | 1,058 | 36 | codeparrot/github-code |
f04596899b87b8d49c4d74d08162799824d697e8cd469ed8025a06fae8e8f20c | # -*- coding: utf-8 -*-
# Copyright © 2014-2018 GWHAT Project Contributors
# https://github.com/jnsebgosselin/gwhat
#
# This file is part of GWHAT (Ground-Water Hydrograph Analysis Toolbox).
# Licensed under the terms of the GNU General Public License.
# Standard library imports :
import platform
# Third party impo... | Python | gwhat/common/styles.py | jnsebgosselin/WHAT | gpl-3.0 | 1,791 | 68 | codeparrot/github-code |
91709ff7e4376670eea5ccb8e92c616cb4a54c5857bc2885ea7b316826344c66 | require 'uuid'
require 'sinatra'
require 'network-projector/vnc/client'
module NetworkProjector
class NPConnection
attr_reader :host, :port, :passwd, :id, :client, :label
def initialize options = {}
@id = UUID.generate
@label = options[:label]
@host = options[:host]
@port = options[:port]
@pa... | Ruby | lib/network-projector/server/app.rb | simkim/network-projector | gpl-3.0 | 2,862 | 148 | codeparrot/github-code |
ebbdfd2a302f7b15f49043a7e2406fca11ce6ae01849326e7f9909d317ac3cfe | ###
# Copyright (c) 2004-2005, Kevin Murphy
# 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 notice,
# this list of condit... | Python | plugins/UrbanDict/plugin.py | kg-bot/SupyBot | gpl-3.0 | 4,100 | 98 | codeparrot/github-code |
e8f431112f17568fd4341e96eba61cbb11cf01351ae76b69d27c9d94b406e114 | """
"""
from DIRAC import S_OK, S_ERROR
from DIRAC.Core.Utilities.CFG import CFG
from DIRAC.Core.Utilities import List
from DIRAC.ConfigurationSystem.Client.Helpers.Operations import Operations
from DIRAC.Core.Utilities.JDL import loadJDLAsCFG, dumpCFGAsJDL
from DIRAC.WorkloadManagementSystem.Agent.SiteDirector import... | Python | WorkloadManagementSystem/Client/JobState/JobManifest.py | andresailer/DIRAC | gpl-3.0 | 8,502 | 279 | codeparrot/github-code |
f9d35d43ac2a2f7cece9d762e92a9e2b1dfb127846c455873d2dde9a31ec940b | /* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nsc/gfx/tv_1200.c,v 1.1 2002/12/10 15:12:27 alanh Exp $ */
/*
* $Workfile: tv_1200.c $
*
* This file contains routines to control the SC1200 TVOUT and TV encoder.
*
* NSC_LIC_ALTERNATIVE_PREAMBLE
*
* Revision 1.0
*
* National Semiconductor Alternative GPL-BSD... | C | QMOLEDEV/vnc-4_1_3-unixsrc/unix/xc/programs/Xserver/hw/xfree86/drivers/nsc/gfx/tv_1200.c | chriskmanx/qmole | gpl-3.0 | 36,975 | 1,114 | codeparrot/github-code |
521367be24c0a65abe1ef012370072983645ceb8f938c1c7e2c027575b7463a5 | #
# The Character class represents a non-player character.
#
class Character < GameComponent
include Uses_Weapons
include Handles_YAML_Files
include Has_Events
include Has_Traits
attr_accessor :location, :gender, :aggression, \
:mobility, :exchanges, :discusses, :mutters, :mutter_probability, :hostile... | Ruby | engine/class/character.class.rb | mcantelon/fashion-quest | gpl-3.0 | 5,852 | 273 | codeparrot/github-code |
1d8b653f0a4977d25f3c18b921a0ab11bafaa1b21e38e7c8981035a226169ec1 | /*
* This file is part of the L2J Global project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This p... | Java | java/com/l2jglobal/gameserver/model/actor/status/SiegeFlagStatus.java | rubenswagner/L2J-Global | gpl-3.0 | 1,539 | 51 | codeparrot/github-code |
2898e67806a13bf1ac898f5732cd342fd8ea267a53296a12980a369b353eefeb | 'use strict'
// const foo = (msg) => { // Função anónima... MAS o this tem outro significado
// const foo = function(msg) { // Função anónima
function foo(msg) {
// if(msg == undefined) return console.log('Empty msg')
if(!msg) return console.log('Empty msg')
let str = ''
for(let i = 0; i < argumen... | JavaScript | aula02-functions-and-objects/app02-functions.js | isel-leic-pi/1617v-LI51N | gpl-3.0 | 864 | 38 | codeparrot/github-code |
aaaa718cd102ffb1e64a6410d516daf5254b9a39458dd551a8ab3dbbfd6b27fc | /**
* @plugin.js
* @App Options Dependency Manager Plugin JS
*
* @License: http://www.siteeditor.org/license
* @Contributing: http://www.siteeditor.org/contributing
*/
/*global siteEditor:true */
(function( exports, $ ){
var api = sedApp.editor;
api.pageConditions = api.pageConditions || {};... | JavaScript | editor/extensions/options-engine/assets/js/dependency-plugin.js | SiteEditor/editor | gpl-3.0 | 17,291 | 677 | codeparrot/github-code |
eda28e596315834e46ec12c938f6aff63bfbb0e66f6c1d3c14db38de93f8df43 | /*
Copyright (C) 2014 Koichiro Yamaguchi
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program... | C++ | spsstereo_main.cpp | vbodlloyd/StereoSegmentation | gpl-3.0 | 17,680 | 538 | codeparrot/github-code |
24be0b680abb5820cfd9c074c90abe32a5726c0079f1af589f999965411e8020 | /*
===============================================================================
FILE: lasignore.cpp
CONTENTS:
see corresponding header file
PROGRAMMERS:
martin.isenburg@rapidlasso.com - http://rapidlasso.com
COPYRIGHT:
(c) 2007-2019, martin isenburg, rapidlasso - fast tools ... | C++ | src/LASlib/lasignore.cpp | Jean-Romain/rlas | gpl-3.0 | 10,829 | 403 | codeparrot/github-code |
d00f4e937b203d2f93bcae5dc2be9375724f561f0c57196fbbfa0ee974dff84b | /**
* This file is part of scleaner project.
* Copyright (C) 2007 FROUIN Jean-Michel
* 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... | C++ | src/morgue/testtar.cpp | jmfrouin/gnulinux-scleaner | gpl-3.0 | 1,171 | 47 | codeparrot/github-code |
f6a4359914ed7e705e01cf9595e05690efe736d34e3f7f2f47cec992a4c576a2 | # Hyper-V lab script (Windows Server 2016 Tech Preview 5)
# Copyright (C) 2016 Torsten Enderling <carfesh@gmx.net>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the... | PowerShell | HV2016.ps1 | carfesh/AutomatedLab-Scripts | gpl-3.0 | 11,175 | 225 | codeparrot/github-code |
c0bdf66a50c45da9fea573fb92e9173260dca24e654666bc8ab9c5884306000e | import os
import argparse
from logger import HoneyHornetLogger
from threading import BoundedSemaphore
import threading
import logging
from datetime import date, datetime
from termcolor import colored
import http.client
import re
import time
class ViewChecker(HoneyHornetLogger):
def __init__(self, config=None):
... | Python | honeyhornet/viewchecker.py | ajackal/honey-hornet | gpl-3.0 | 5,097 | 113 | codeparrot/github-code |
484f67cfc91cfe094f5ca036bf4c819930e1fc4b93dfd755b7bfeae307e91fde | /*********************************************************************
*
* Filename: irttp.c
* Version: 1.2
* Description: Tiny Transport Protocol (TTP) implementation
* Status: Stable
* Author: Dag Brattli <dagb@cs.uit.no>
* Created at: Sun Aug 31 20:14:31 1997
* Modified at: We... | C | net/irda/irttp.c | williamfdevine/PrettyLinux | gpl-3.0 | 51,769 | 2,089 | codeparrot/github-code |
0e801f5a82025aaf49976e23c2d8b79c606dff931da93ef2b636aba9facdd622 | # Copyright (C) 2016 The BET Development Team
# -*- coding: utf-8 -*-
# This demonstrates how to use BET in serial to sample a serial external model.
# run by calling "python serial_serial.py"
import os
import subprocess
import scipy.io as sio
import bet.sampling.basicSampling as bsam
def lb_model(input_data):
... | Python | examples/parallel_and_serial_sampling/serial_serial.py | smattis/BET-1 | gpl-3.0 | 927 | 34 | codeparrot/github-code |
f09c1d065e0536b7968f4aa70f1850987e641f2ea66819459a62bf61ebbf262e | #
# Copyright (c) 2009, 2011, 2012 Tom Keffer <tkeffer@gmail.com>
#
# See the file LICENSE.txt for your full rights.
#
# $Revision: 1046 $
# $Author: tkeffer $
# $Date: 2013-02-21 06:38:26 -0800 (Thu, 21 Feb 2013) $
#
"""Almanac data
This module can optionally use PyEphem, which offers high quality
astr... | Python | bin/weewx/almanac.py | hoevenvd/weewx_poller | gpl-3.0 | 17,450 | 375 | codeparrot/github-code |
6b23312e8562c53011fb2571103dd297b9cf3e7fb29f17718d181148994ee340 | using System;
using System.Windows.Forms;
namespace PhotoMover
{
public partial class EditDataGrid : DataGridView
{
#region Constructor
public EditDataGrid()
{
InitializeComponent();
}
#endregion
#region Overrides
protected override void OnLeave(EventArgs e)
{
base.OnLeave(e);
this.Cle... | C# | PhotoMover/EditDataGrid.cs | jonashertzman/PhotoMover | gpl-3.0 | 963 | 58 | codeparrot/github-code |
fcc081076f77db631b5305f4807716b2e807820d741503316075a1ae9184b2c4 | /**
* @package HikaShop for Joomla!
* @version 2.3.0
* @author hikashop.com
* @copyright (C) 2010-2014 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
function tableOrdering( order, dir, task ) {
var form = document.adminForm;
form.filter_ord... | JavaScript | htdocs/media/com_hikashop/js/hikashop.js | traintoproclaim/ttp-web | gpl-3.0 | 24,511 | 797 | codeparrot/github-code |
7030c42fecbb76a40ae722cd266037233c5f0cbed8d613fcfa391f59c64c65b1 | #include <include/generated/autoconf.h>
#ifdef CONFIG_MCUAL_GPIO
#include "../arm/gpio.c"
/*
#include <mcual.h>
#include <stm32l4xx_hal.h>
static mcual_gpio_interrupt_handler_t _itr_handlers[16];
static GPIO_TypeDef * mcual_gpio_get_register(mcual_gpio_port_t port)
{
switch(port)
{
case MCUAL_GPIOA:
r... | C | ausbee-packages/mcual/src/halibaba/gpio.c | cocobot/eurobot-base | gpl-3.0 | 5,305 | 275 | codeparrot/github-code |
33bde851a94118e446f569330a166f25db842f0703588b0b2a615b425e37e249 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package drawing.persistency;
import drawing.domain.Drawing;
import java.io.File;
import java.io.FileInputStream;
import java... | Java | Opdracht1/src/drawing/persistency/SerializationMediator.java | Isylwin/JCCa | gpl-3.0 | 2,349 | 79 | codeparrot/github-code |
ff8732dc56f219b02908e45767425c159155ddd079d77e1e1e278dd8e14e6915 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace IPPOversea.Invoicemgmt.SyncCommissionSettlement.Model
{
/// <summary>
/// 财务应付对账 Root 节点
/// </summary>
[XmlRoot("root")]
public class FincialPayReportRoot
{
... | C# | 02_ECCentral/06_Job_Move/10_CPS/IPP.CPSMgmt.SyncCommissionSettlement/Model/XmlReportTemplate.cs | ZeroOne71/ql | gpl-3.0 | 1,221 | 56 | codeparrot/github-code |
a4c0f5acfc4cd114fc52294235a51fb0577a7a7abc582aa107cb84707336f208 | <?php
/**
* Piwik - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
*/
namespace Piwik\Scheduler\Schedule;
class SpecificTime extends Schedule
{
/**
* @var int
*/
private $scheduledTime;
public function __con... | PHP | core/Scheduler/Schedule/SpecificTime.php | piwik/piwik | gpl-3.0 | 588 | 33 | codeparrot/github-code |
46feb665b42be83568fc13b34132a2e7864db8443851710ccaeacec8f8d2e34b | <?php
/**
* Copyright (c) 2016. Spirit-Dev
* Licensed under GPLv3 GNU License - http://www.gnu.org/licenses/gpl-3.0.html
* _ _
* /_`_ ._._/___/ | _
* . _//_//// / /_.'/_'|/
* /
*
* Since 2K10 until today
*
* Hex 53 70 69 72 69 74 2d 44 65 76
*
* By Jean Bordat
... | PHP | API/RedmineAPICore.php | spirit-dev/dbox-portal | gpl-3.0 | 6,840 | 251 | codeparrot/github-code |
1101320f92baa6e652988f11ba5f3e1c1ce0e861b69cf74cc397fed2cd1d1256 | ////////////////////////////////////////////////////////////////////////////
// Created : 27.05.2010
// Author : Sergey Chechin
// Copyright (C) GSC Game World - 2010
////////////////////////////////////////////////////////////////////////////
#ifndef XRAY_RESOURCES_CALLBACKS_H_INCLUDED
#define XRAY_RESOURCES_CALLBA... | C | xray/resources_callbacks.h | hpl1nk/nonamegame | gpl-3.0 | 1,177 | 33 | codeparrot/github-code |
dd1abd8cd152727651d07cf2a1124a2dd0f014aa050f814cfe04accc9fc9de04 | #pragma once
#include "SDK.h"
#include "CEntity.h"
// takes an index and sees if it relates to anyone on their friends list
// TODO: maybe cache results for later use in order to speed up stuff
inline bool isPlayerOnFriendsList(int index)
{
player_info_t pInfo;
if(!gInts.Engine->GetPlayerInfo(index, &pInfo))
ret... | C | src/Util.h | GravelPootis1/nope | gpl-3.0 | 13,771 | 522 | codeparrot/github-code |
ebd22ec96bdeea525cbc8cf2915ae3638e3220da17c8f01686b2c275d5401126 | # -*- coding: UTF-8 -*-
#auther mengskysama
import tornado.httpserver
import tornado.ioloop
import tornado.options
import tornado.web
import tornado.httpclient
import lcs
from urllib import quote
from urllib import unquote
from tornado import gen
import ttlrcdump
listen_port = 38439
def ChooiseItem(xml, artist):
... | Python | lrcserv.py | mengskysama/FoobarTTLyric | gpl-3.0 | 8,786 | 243 | codeparrot/github-code |
2ab35d7dbbfa85b2710a869d3c43416fb3f6f29ced6b78d6c6513b4651e26ac9 | <?php
/**
* Contains Pootle_Page_Builder_Admin_UI class
* @author pootlepress
* @since 0.1.0
*/
/**
* Class Pootle_Page_Builder_Admin_UI
* Renders pootle page builder user interface
* @since 0.1.0
*/
final class Pootle_Page_Builder_Admin_UI {
/**
* @var Pootle_Page_Builder_Admin_UI Instance
* @access prot... | PHP | inc/class-panels-ui.php | pootlepress/pootle-page-builder | gpl-3.0 | 9,450 | 299 | codeparrot/github-code |
110693571052e894b6019da11bbeaf9c6ff21013d38e9581836a43639b06adaa | <h1>Our Family Photo</h1>
<br />
<div style="background-color:black;padding:10px;">
<!-- Nav tabs -->
<ul class="nav nav-stackedtabs" role="tablist" style="float:right;width:20%;">
{% for item in site.data.photos %}
<li role="presentation" {% if forloop.first %}class="active"{% endif %}><... | HTML | _includes/photo.html | mattrude/therudes.com | gpl-3.0 | 1,256 | 34 | codeparrot/github-code |
216ac2256f06da6ed5b6a68848426545326a677b4033ee8a9fb024ebd308969e | /*
* File: RmDirState.h
* Author: radek
*
* Created on 27 July 2013, 13:20
*/
#ifndef RMDIRSTATE_H
#define RMDIRSTATE_H
using namespace std;
#include "../State.h"
#include "../../../Functions.h"
#include "../../LfcRmDirCommand.h"
class RmDirState : public State {
public:
RmDirState();
virtual ~RmDir... | C | analyzer2/states/lfc_rm_dir/RmDirState.h | radekludacka/lfc-analyzer | gpl-3.0 | 538 | 33 | codeparrot/github-code |
59b4d6268b4896421b46fa6a0ea8a45b349046dcc84a7eddf1102e3e2f2c2c0e | #ifndef WEIGHTEDITOR_H
#define WEIGHTEDITOR_H
#include <QDialog>
#include <vector>
#include "src/cubemapeditorimage.h"
namespace Ui {
class weighteditor;
}
class weighteditor : public QDialog
{
Q_OBJECT
public:
explicit weighteditor(QWidget *parent = 0);
~weighteditor();
void loadImage (CubeMapEdito... | C | src/weighteditor.h | cricketspike/3D-Model-Generator | gpl-3.0 | 679 | 33 | codeparrot/github-code |
508ee70d65cbe05be3dbcbbb363c34289871f0f46f464a8a962f57b9e8ea5071 | // DiskArcher.
// Interface of CMyListView class.
// (C) Marat Mirgaleev, 2002-2003.
// Created 03.03.2002.
// Modifications:
// (2) 02.09.2002. IsAnythingSelected() added.
// (3) 16.01.2003. EraseList() added.
// Typical behaviour of ShowPopupMenu implemented;
// m_nMenuID and SetPopupMenu() added.
//========... | C | CMyListView.h | MaratMir/DiskArcher-backup-utility | gpl-3.0 | 1,825 | 67 | codeparrot/github-code |
deabecaf800fca642e530a1d3ec74e8991b783e1a6f6426c55efd6b8bc525f46 | /*! \file
\brief Declaration of the bt_utmsg_punavail_wikidbg_t
*/
#ifndef __NEOIP_BT_UTMSG_PUNAVAIL_WIKIDBG_HPP__
#define __NEOIP_BT_UTMSG_PUNAVAIL_WIKIDBG_HPP__
/* system include */
/* local include */
#include "neoip_namespace.hpp"
// list of include which are almost always needed when using this one
#incl... | C++ | src/neoip_bt_plugin/utmsg/impl/punavail/base/wikidbg/neoip_bt_utmsg_punavail_wikidbg.hpp | jeromeetienne/neoip | gpl-3.0 | 647 | 31 | codeparrot/github-code |
3bdab8d5234f1429a5929e1a94a1045209b11d84976096b181fcd19fe613db8b | //------------------------------------------------------------------------------
// Copyright (C) 2016 Josi Coder
// 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 Lic... | C# | Library/TestConsole/Samples/DummyConnectionSignalGeneratorSamples.cs | JosiCoder/CtLab | gpl-3.0 | 4,738 | 100 | codeparrot/github-code |
5a6ea9e27d95f8e0d26085c551465a8e9cf34a2147bb0f2087406f6ee1459a56 | #!/usr/bin/python
# -*- coding: utf-8 -*-
from edu.umd.rhsmith.diads.tools.sentiment import ISentimentAnalyzer
import pickle
import re
import os
import sys
import time
import traceback
import nltk
from nltk.corpus import stopwords
class SentimentAnalyzerP(ISentimentAnalyzer, object):
''' Sentiment Analyzer Utility ... | Python | py/SentimentAnalyzerP.py | rmachedo/MEater | gpl-3.0 | 5,709 | 155 | codeparrot/github-code |
a59fb367fda5b75ab97328545a61d508bc4a1f7cd41807d43d38f732475db6d8 | 'use strict';
var app = angular.module('exemplo', []).controller('clienteController', function($scope, $http){
$scope.mensagem_erro = '';
$scope.resultado = '';
$scope.novoCliente = {};
$scope.carregarClientes = function() {
var url = 'http://localhost:8080/clientes/';
$http.get(url... | JavaScript | web-app/js/app-exemplo/clienteController.js | lucasmauricio/web-downsizing-paper-sample | gpl-3.0 | 3,702 | 99 | codeparrot/github-code |
f1e83fce579ec592df1f56a4bedf22e0490305d51dba38ff978beddcb56862ef | /*
BodySlide and Outfit Studio
See the included LICENSE file
*/
#pragma once
#include "../render/GLSurface.h"
/*
Class for managing offscreen rendering buffers.
Allows more than one buffer to be created, and automatically cycled for a multipass rendering chain
Enables exporting buffers to disk files
*/
class GLOffS... | C | src/render/GLOffscreenBuffer.h | silentdark/BodySlide-and-Outfit-Studio | gpl-3.0 | 1,541 | 60 | codeparrot/github-code |
d6b25bdf8123fc7801f062314bdba395f802ad3bbc0c8e071caba1db21c5ba3a | <!-- written by Maximilian Langewort -->
<!DOCTYPE html>
<!--Caution! This code was written to show the usage of a map in OpenLayers 3 with Django/Python + MongoDB in a very simple way for easier understanding. Hence, the code has nearly no security-mechanisms and should NOT BE USED UNMODIFIED in a real project!-->
<... | HTML | map/mapsite/templates/mapsite/header.html | Merithios/DjangoMap | gpl-3.0 | 11,486 | 379 | codeparrot/github-code |
482a92e30aaed06ca1d3b14ed5aef27e8d215470ed66951388d432a5396cfc62 | /*
* MCBackend.h
*
* Created on: 25/nov/2010
* Author: lorenzo
*/
#ifndef MCBACKEND_H_
#define MCBACKEND_H_
#define MC_ENSEMBLE_NVT 0
#define MC_ENSEMBLE_NPT 1
#define MC_MOVES 3
#define MC_MOVE_TRANSLATION 0
#define MC_MOVE_ROTATION 1
#define MC_MOVE_VOLUME 2
#include "SimBackend.h"
template<typename n... | C | GMIN/source/OXDNAinterface/MCBackend.h | marktoakley/LamarckiAnt | gpl-3.0 | 981 | 49 | codeparrot/github-code |
cca94878c31228e635474928dc564d7a99ee10dcb0d22c9242a7257ecca56223 | /*
** Taiga
** Copyright (C) 2010-2017, Eren Okka
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** This pr... | C++ | src/ui/list.cpp | wenbei999/taiga | gpl-3.0 | 12,659 | 410 | codeparrot/github-code |
73ad7dbe7de71a3278efe6affcbed9aa540fac1b5ec1421f309d5de5c69d39e1 | <?php
/**
* Classes for dealing with devices
*
* PHP Version 5
*
* <pre>
* HUGnetLib is a library of HUGnet code
* Copyright (C) 2014 Hunt Utilities Group, LLC
*
* 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... | PHP | src/php/devices/roles/TesterKnownGood.php | hugllc/HUGnetLib | gpl-3.0 | 6,965 | 216 | codeparrot/github-code |
d18de4159e9175b05506aea84293ecd3ce64065f26b0aee8a6b3efa3f2336244 | /**
* Copyright (c) 2012 Todoroo Inc
*
* See the file "LICENSE" for the full license governing this code.
*/
package com.todoroo.astrid.activity;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.app.ActionBar;
import android.support.v7.widget.Toolbar;
import android.view.... | Java | src/main/java/com/todoroo/astrid/activity/TaskEditActivity.java | xVir/tasks | gpl-3.0 | 2,124 | 75 | codeparrot/github-code |
3b1f896877677128d0aea00bf798b9889c218469f67b68f4eef8d2e03584eeb2 | /*
* Copyright (C) 2015 Federico Iosue (federico.iosue@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 3 of the License, or
* (at your option) any later version... | Java | omniNotes/src/main/java/it/feio/android/omninotes/ShortcutActivity.java | jfreax/Omni-Notes | gpl-3.0 | 1,592 | 45 | codeparrot/github-code |
ebb454781ea1deda0de66fc291b5a68249a811bc57505e54733740b6000cbc2e | (function ($) {
"use strict";
/**
* Constructor
* @constructor
*/
$.MicaTimeline = function (dtoParser, popupIdFormatter, useBootstrapTooltip) {
this.parser = dtoParser;
this.popupIdFormatter = popupIdFormatter;
this.useBootstrapTooltip = useBootstrapTooltip;
};
/**
* Class method d... | JavaScript | mica-webapp/src/main/webapp/bower_components/mica-study-timeline/src/mica-study-timeline.js | apruden/mica2 | gpl-3.0 | 3,187 | 111 | codeparrot/github-code |
1476fa30539dddb7c04370ec1cc83f60d24dbc9aa46940fa59503962c5712328 | use std::fmt::{Formatter,Display,Error};
#[derive(Clone,Debug,PartialEq,Eq,Hash,RustcEncodable,RustcDecodable)]
pub enum Endianess {
Little,
Big,
}
#[derive(Clone,Debug,PartialEq,Eq,Hash,RustcEncodable,RustcDecodable)]
pub enum Rvalue {
Constant(u64),
Undefined,
Variable{ width: u16, name: String,... | Rust | lib/src/value.rs | Liamsi/panopticon | gpl-3.0 | 5,264 | 155 | codeparrot/github-code |
bd2695b70b7519507e4afb2baac6346aca580ed17231afd47cba29409adb341c | /*****************************************************************************
* Copyright (c) 2014-2019 OpenRCT2 developers
*
* For a complete list of all authors, please refer to contributors.md
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
*
* OpenRCT2 is licensed under the GNU Gener... | C++ | src/openrct2/management/NewsItem.cpp | SijmenSchoon/OpenRCT2 | gpl-3.0 | 13,089 | 469 | codeparrot/github-code |
bd847cab648d83dfc49970fe1c3b45deec82f9ad649bb2220b438bed5921c38f | ###
# Copyright 2016 - 2022 Green River Data Analysis, LLC
#
# License detail: https://github.com/greenriver/hmis-warehouse/blob/production/LICENSE.md
###
# A wrapper around Services form changes to ease Qualifying Activities creation
module Health
class DmeSaver
def initialize user:, equipment: Health::Equipme... | Ruby | app/models/health/dme_saver.rb | greenriver/hmis-warehouse | gpl-3.0 | 1,283 | 49 | codeparrot/github-code |
656f0f66dc3b21a39bb406d2c19cb16806df0a554062a54daf411bf9663edcae | <?php
/**
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @link https://github.com/bderidder/ldm-guild-website
*/
namespace LaDanse\DomainBundle\Entity\CharacterOrigin;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
* @ORM\Table(name="CharacterSyncSession", options={"coll... | PHP | src/LaDanse/DomainBundle/Entity/CharacterOrigin/CharacterSyncSession.php | bderidder/ldm-guild-website | gpl-3.0 | 2,958 | 144 | codeparrot/github-code |
58aac73a29b8809af95f72adca233748ef734c8c8a10bd46b99409fedb5b6e90 | <?php
include_once("helper.php");
if ( isset($_POST['user']) && !empty($_POST['user']) ) {
$username = $_POST['user'];
if ( isset($_POST['source']) && isset($_POST['relations']) ) {
$triples = make_triples($_POST['source'], $_POST['relations']);
add_relations($username, $triples);
}
}
// $triples... | PHP | addrelations.php | aprilush/usewod-prov | gpl-3.0 | 6,111 | 162 | codeparrot/github-code |
c2c93f52337d1932cfa70399a11f9e13b3ea8e53609fd367c197ce554a40da30 | /*
* Copyright (C) 2015 hu
*
* 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 ... | Java | src/main/java/cn/edu/hfut/dmic/webcollector/model/CrawlDatum.java | CrawlScript/WebCollector | gpl-3.0 | 8,053 | 331 | codeparrot/github-code |
4a0e2d7128a2ccbb7bac8750477f2ed9e42a4bbc3c06b06312411b331e811481 | /*******************************************************************
* File: GammaRng.cpp
* Description:
* Author: Subhasis Ray
* E-mail: ray.subhasis@gmail.com
* Created: 2007-11-08 11:56:00
********************************************************************/
/**************... | C++ | randnum/GammaRng.cpp | dharmasam9/moose-core | gpl-3.0 | 3,477 | 140 | codeparrot/github-code |
0325ccd977ad7c5a3214a757091bb6dbbe75a203a41c197bc848c2404eda071e | /**
Copyright (c) 2015 MidAir Technology, LLC. All rights reserved.
This program 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 3 of the License, or (at your option) any later versio... | C | hal/src/bluz-gw/pinmap_hal.c | bluzDK/bluzDK-firmware | gpl-3.0 | 2,058 | 61 | codeparrot/github-code |
932d56ace268f05b0e3fa890fd34eea2d9bc4027dc7eb64d2feb9065f06229ab | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Use, modification and distribution is subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifnd... | C++ | 3rd-party/ggl/boost/geometry/extensions/gis/geographic/strategies/vincenty.hpp | ulrichard/flightpred | gpl-3.0 | 8,927 | 263 | codeparrot/github-code |
78f38cdd31b9f8dc5c45909616d4a305f456efd3b25ab72325e750aa9f9d9fda | /*
Copyright (c) 2013-2015, Tomas Podermanski
This file is part of libnf.net project.
Libnf 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... | C | src/libnf.c | ImoStocky/libnf | gpl-3.0 | 38,557 | 1,482 | codeparrot/github-code |
f1d96c8c2dbbba3a0760c4aac697d36a59bc7b7c0c33ee59108dc9f8230c5809 | /*
* Copyright (c) 2018, Intel Corporation
*
* 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 notice,
* this list of conditions and the follow... | C++ | 3rdparty/hyperscan/unit/chimera/scan.cpp | variar/klogg | gpl-3.0 | 17,811 | 552 | codeparrot/github-code |
bdc4819900c20899e0c860e26b15b1db4a88baa2bf63c02f1e5cc3c2218e1922 | /**************************************************************************
* Copyright (C) 2008 - 2010 by Simon Qian *
* SimonQian@SimonQian.com *
* *
* Project: ... | C | dongle/firmware/USB_TO_XXX/USB_TO_JTAG_LL.c | versaloon/versaloon | gpl-3.0 | 3,493 | 125 | codeparrot/github-code |
046336fbe3e54ff2e5701bb0afa2b0a77fcfb721a0dfbcedef184b7e927f0f18 | /******************************************************************************
* Copyright (C) 2016 Felix Rohrbach <kde@fxrh.de>
*
* 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; ei... | C | lib/Matrix/models/roomlistmodel.h | delijati/uMatriks | gpl-3.0 | 2,059 | 61 | codeparrot/github-code |
420c7bc7bd55d82733f3dd0e49421f6f64ecff94db6edec11f8c1ec074edf31e | #ifndef __FC_SKIP_LIST__
#define __FC_SKIP_LIST__
////////////////////////////////////////////////////////////////////////////////
// File : FCSkipList.h
// Author : Jonathan Eastep email: jonathan.eastep@gmail.com
// Ms.Moran Tzafrir email: morantza@gmail.com
// Written : 16 February 2011, 27 October... | C | data_structures/FCSkipList.h | manishm/Smart-Data-Structures | gpl-3.0 | 16,678 | 400 | codeparrot/github-code |
27d3b7e212d6055386386c02fb7dbebdef662d266bfc43d83f0afaca6b618af6 | package osh.mgmt.localcontroller.ipp;
import java.util.Arrays;
import java.util.UUID;
import osh.datatypes.ea.interfaces.ISolution;
/**
*
* @author Ingo Mauser
*
*/
public class GenericApplianceSolution implements ISolution {
public UUID acpUUID;
public long[] startingTimes;
public int profileId;
/**... | Java | source/osh_driver_appliance/src/osh/mgmt/localcontroller/ipp/GenericApplianceSolution.java | organicsmarthome/OSHv4 | gpl-3.0 | 2,241 | 102 | codeparrot/github-code |
527d5f29c37552ba20129dcd9df80a57147a4b1bc699b4359ff08904f4f34903 | // $Id: AssociationRoleNotationUml.java 127 2010-09-25 22:23:13Z marcusvnac $
// Copyright (c) 2006-2009 The Regents of the University of California. All
// Rights Reserved. Permission to use, copy, modify, and distribute this
// software and its documentation without fee, and without a written
// agreement is here... | Java | workspace/argouml_critics/argouml-app/src/org/argouml/notation/providers/uml/AssociationRoleNotationUml.java | ckaestne/LEADT | gpl-3.0 | 9,087 | 235 | codeparrot/github-code |
e68f0c8e4dc6e48e8f7cba389f879ce34c12d0bb40e548a3a28054fee2a47def | package org.kei.android.phone.cellhistory.towers;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
/**
*******************************************************************************
* @file SignalStrengthReflect.java
* @author Keidan
* @date 04/12/2015
* @par Project CellHis... | Java | src/org/kei/android/phone/cellhistory/towers/SignalStrengthReflect.java | Keidan/CellHistory | gpl-3.0 | 2,796 | 90 | codeparrot/github-code |
79ece98fd07b64ea9a2bb9d98d7878dbf7c22ce2cb4ffc8f16117b58cdfe71e5 | /*****************************************************************************
* Copyright (c) 2014-2020 OpenRCT2 developers
*
* For a complete list of all authors, please refer to contributors.md
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
*
* OpenRCT2 is licensed under the GNU Gener... | C++ | src/openrct2/actions/LandSetHeightAction.hpp | AaronVanGeffen/OpenRCT2 | gpl-3.0 | 14,549 | 416 | codeparrot/github-code |
ff454ac7f4e0de1e0cb9cca33ee80419b7430b09f6ac0ab45173cbbeeb99a70d | import mongoose, { Schema } from 'mongoose'
import auditingSchema from '../../core/base.model'
import mongoosePaginate from 'mongoose-paginate'
import uniqueValidator from 'mongoose-unique-validator'
const ClassifiedReleaseOrderSchema = new auditingSchema({
publicationId: {
type: Schema.ObjectId,
ref: 'Publi... | JavaScript | src/modules/classifieds/ClassifiedReleaseOrders/classifiedReleaseOrder.model.js | costaivo/ClientManager | gpl-3.0 | 990 | 44 | codeparrot/github-code |
0abef12ad68ba4a1901a49a0ee564b82195a48556799187a05db93ef10af7f04 | <?php
require (dirname(__FILE__) . "/inc/config.inc.php");
?>
<!DOCTYPE html>
<html>
<head>
<title>Tales Against Humanity</title>
<link href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.6/slate/bootstrap.min.css" rel="stylesheet" integrity="sha384-X9JiR5BtXUXiV6R3XuMyVGefFyy+18PHpBwaMfteb/vd2RrK6Gt4KPenk... | PHP | web/index.php | Chraya/HackYourselfAStory | gpl-3.0 | 11,503 | 353 | codeparrot/github-code |
1715dd553afe03df1e59142b7e5e7f2d35389ab17f8cdbe3f4bd6fca4b55cf92 | package br.com.marks.brinquedoteca.a.fragment;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import br.com.marks.brinquedoteca.R;
/**
* A simple {@link Fragment} subclass.
*/
public class TelaContatoFr... | Java | app/src/main/java/br/com/marks/brinquedoteca/a/fragment/TelaContatoFragment.java | marks5/Brinquedoteca | gpl-3.0 | 723 | 31 | codeparrot/github-code |
de1fe0a232ff8ef922fbe6dce816190926dcec08c444c984839bac7b1b1518e3 | /*
* This file is part of the Trickl Open Source Libraries.
*
* Trickl Open Source Libraries - http://open.trickl.com/
*
* Copyright (C) 2011 Tim Gee.
*
* Trickl Open Source Libraries are free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
... | Java | src/main/java/com/trickl/graph/planar/xml/XmlDoublyConnectedEdgeListAdapter.java | trickl/trickl-graph | gpl-3.0 | 4,135 | 100 | codeparrot/github-code |
d494baf2a2d75b5eb2eea14914bb5d8097eef15d1b651e23455091268d82a0ae |
<form name="editForm" role="form" novalidate ng-submit="save()">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"
ng-click="clear()">×</button>
<h4 class="modal-title" id="myStageLabel" translate="backendApp.stage.home.cre... | HTML | src/main/webapp/scripts/app/entities/stage/stage-dialog.html | jbernach/transandalus-backend | gpl-3.0 | 11,029 | 187 | codeparrot/github-code |
9937bd6802f0e57576e41f4f73fe433621b4fab0444eac4b79a445e387491bfb | """
Root finding methods
====================
Routines in this module:
bisection(f, a, b, eps=1e-5)
newton1(f, df, eps=1e-5)
newtonn(f, J, x0, eps=1e-5)
secant(f, x0, x1, eps=1e-5)
inv_cuadratic_interp(f, a, b, c, eps=1e-5)
lin_fracc_interp(f, a, b, c, eps=1e-5)
broyden(f, x0, B0, eps=1e-5)
"""
import numpy as np
'... | Python | scicomp/rootfind/rootfindpack.py | carlosb/scicomp | gpl-3.0 | 11,013 | 483 | codeparrot/github-code |
9b219beae40183d1115dc7091d189eac0374c92573c558deb06b6ea0dbb48e8d | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using FalconSoft.Data.Management.Common;
using FalconSoft.Data.Management.Common.Metadata;
using Newtonsoft.Json;
namespace FalconSoft.Data.Server.EDI.Feeds
{
... | C# | Src/Data-Server/DataSources/EDI/EDIProviderCatalog.cs | flyingliang/Data-Management-Suite | gpl-3.0 | 3,583 | 100 | codeparrot/github-code |
4105b81de5e6a50876d9ec3063564b9662c9b076f64799648b42d6f8924031a5 | /* Contains definitions for functions used to test correctness of components of the program. */
#include <iostream>
#include <cstdio>
#include <cmath>
#include "test.h"
#include "color.h"
#include "sceneobject.h"
#include "geometry.h"
#include "raytrace.h"
#include "lowlevel.h"
#include "vector.h"
using namespace st... | C++ | src/test.cpp | russelljahn/Raytracer | gpl-3.0 | 8,525 | 273 | codeparrot/github-code |
1b5e6b95aaeb0bff8905bd3c6342a9fe11a0e06389b0286aa7299d2624fa4a96 | //This program 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 3 of the License, or
//(at your option) any later version.
//This program is distributed in the hope that it will be useful... | C++ | src/huggle_ui/scripting/scriptform.hpp | huggle/huggle3-qt-lx | gpl-3.0 | 1,289 | 50 | codeparrot/github-code |
419ac53af3a18fb1bde32aa431a22387534b09791110c86a09cad3fa1a407b63 | #!/usr/bin/env python
'''
Copyright (C) 2014 Janina Mass
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is dist... | Python | Pysickle/pysickle/pysickle.py | gglyptodon/tmp | gpl-3.0 | 24,572 | 573 | codeparrot/github-code |
e3fb4bfea8a9c0d65db2322ec3e3096c7f0072295f24fd173d05284e32b6ed6c | <?php session_start(); ?>
<?php include('php/db.php'); ?>
<!DOCTYPE html>
<html>
<head>
<title>To Do - Paperclip</title>
<meta name="robots" content="noindex, nofollow">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel='stylesheet' href='https://maxcdn.b... | PHP | demo/todo.php | SamNaughtonB/paperclip | gpl-3.0 | 18,516 | 245 | codeparrot/github-code |
6f323de2d973f82044cb1c33ad9cc52c178656332a76adca82c091d88441cb2b | from emburse.resource import (
EmburseObject,
Account,
Allowance,
Card,
Category,
Company,
Department,
Label,
Location,
Member,
SharedLink,
Statement,
Transaction
)
class Client(EmburseObject):
"""
Emburse API Client
API enables for the creation of ... | Python | emburse/client.py | MarcFord/Emburse-python | gpl-3.0 | 4,177 | 154 | codeparrot/github-code |
965745ef178800657b2081d631fcbd7be7d40d5180b0ce98702c105117bfdcad | /*
Copyright (c) 2016 David Wagg
This program is released under the "GNU GPL v3" License
Please see the file License in this distribution for license terms
*/
package basic;
import java.util.ArrayList;
import java.util.Random;
import org.la4j.Vector;
import org.la4j.matrix.sparse.CRSMatrix;
import or... | Java | GeNN/src/basic/Layer.java | onironaut/GeNN | gpl-3.0 | 5,100 | 223 | codeparrot/github-code |
8f550f622e2d84f88a5474b2a4a9f84c183e9937b78019ccfa877dde29cd321e | /////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2011-2012 Statoil ASA, Ceetron AS
//
// ResInsight 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, e... | C++ | ApplicationCode/ProjectDataModel/RimCellFilter.cpp | iLoop2/ResInsight | gpl-3.0 | 3,532 | 116 | codeparrot/github-code |
074b96232fb0bb49254b6ffd2b30186a91f812504a14811355cafef67f7acfc3 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package engine.detector;
import engine.model.state.Keyword;
import engine.utils.Response;
import engine.functions.Function;
... | Java | src/engine/detector/TopicDetector.java | ersh112356/ConversationEngine | gpl-3.0 | 5,414 | 174 | codeparrot/github-code |
70fbc663f2910b7040671db59c00423b00734b5a433997b09f5284cbbce8b213 | //
// DO NOT MODIFY!!! This file was machine generated. DO NOT MODIFY!!!
//
// Copyright (c) 2014 Vincent W. Chen.
//
// This file is part of XJavaB.
//
// XJavaB 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 Softwar... | Java | xjavab-ext/src/main/java/com/noodlewiz/xjavab/ext/dri2/internal/ReplyDispatcher.java | noodlewiz/xjavab | gpl-3.0 | 2,264 | 64 | codeparrot/github-code |
95fb63ab8cbeb4816709966e24edf08aa78b20b0d36b3c2a6f967a71480fb7c8 | using JuliusSweetland.OptiKey.Models;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using JuliusSweetland.OptiKey.Extensions;
using log4net;
namespace JuliusSweetland.OptiKey.Services.AutoComplete
{
/// <summary>
/// An auto suggest class using... | C# | src/JuliusSweetland.OptiKey/Services/AutoComplete/NGramAutoComplete.cs | EddPorter/OptiKey | gpl-3.0 | 6,976 | 163 | codeparrot/github-code |
89333f218b3d778bf8742d4a30097b3da46e5032f9e8767e0fec870d5d90764a | -- utils
smbx_utils = require("utils/smbx_utils")
-- Item Types (Is coin, shell, radish, fire plant, etc.) Checker
itemTypes = require("utils/item_types")
-- P-Switch implementation
pSwitch = require("utils/p-switch")
-- ID's of switches
GREEN_SW = 1
RED_SW = 2
BLUE_SW = 3
YELLOW_SW = 4
-- Incr... | Lua | Content/configs/SMBX/script/main_level.lua | jpmac26/PGE-Project | gpl-3.0 | 8,079 | 241 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.