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 |
|---|---|---|---|---|---|---|---|---|
d12468101e3483d4b8c5d46c846a1b8781fff4d7ddbdf170215fcd397bcc1eef | #ifndef SOCCER_TOURNAMENT_H
#define SOCCER_TOURNAMENT_H
#include <vector>
#include <boost/shared_ptr.hpp>
#include "common/Serialization.h"
#include "soccer/Competition.h"
#include "soccer/League.h"
#include "soccer/Cup.h"
namespace Soccer {
class StatefulTournament;
struct TeamSourceDescriptor {
unsigned int ... | C | src/soccer/Tournament.h | anttisalonen/freekick3 | gpl-3.0 | 6,408 | 211 | codeparrot/github-code |
80f6565b19a374b9af841217bace548e2564ea71ee195b36833d53bbc50f005b | /**
* Marlin 3D Printer Firmware
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | C++ | vector_3.cpp | ewanold/marlin-cnc | gpl-3.0 | 5,606 | 161 | codeparrot/github-code |
c31881435998e00940e6c2de59687e8ac6cac27464585175a5058df8fe3c65c8 | /*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2014 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* J... | Java | jasperreports-6.2.1-project/jasperreports-6.2.1/demo/samples/xlsfeatures/src/XlsFeaturesApp.java | aleatorio12/ProVentasConnector | gpl-3.0 | 6,126 | 193 | codeparrot/github-code |
50b702d1180fd6a3c9caa9745483de5619cf7156c83b425ebb653bc1975608d4 | #include "objectFactory.h"
#include "commandLineOptions.h"
#include <iostream>
ObjectFactory ObjectFactory::inst;
int ObjectFactory::Init(int argc, char *argv[])
{
commandLineParser_ = new CommandLineParser();
commandLineParser_->setVersion("0.2");
commandLineParser_->setDescription("Terminal application template... | C++ | objectFactory.cpp | ZvoneL/terminal-app-template | gpl-3.0 | 1,450 | 53 | codeparrot/github-code |
c34e391a2dc275df08c3d54d1de1377b20a4da510b92969415185822df444a0f | // Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_INTERPRETER_BYTECODE_FLAGS_H_
#define V8_INTERPRETER_BYTECODE_FLAGS_H_
#include "src/utils.h"
namespace v8 {
namespace internal {
namespace... | C | lib/node-v7.2.0/deps/v8/src/interpreter/bytecode-flags.h | TrossSoftwareAndTech/webvt | gpl-3.0 | 1,140 | 43 | codeparrot/github-code |
5670798d6d16376e29f994f81d0cf58f805fca55dc40e9fe16f6cbee9ec01d84 | namespace snowfall_outParam
{
partial class SnowfallForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | C# | Examples/snowfall-outParam/snowfall-outParam/SnowfallForm.Designer.cs | LCC-CIT/CS133nCourseMaterials | gpl-3.0 | 2,642 | 73 | codeparrot/github-code |
861474ecdf65589303bbd45c7305f489a963e49a2be9d3219a2a1faa1cc2e3a9 | <?php
/*
* Formdin Framework
* Copyright (C) 2012 Ministério do Planejamento
* ----------------------------------------------------------------------------
* This file is part of Formdin Framework.
*
* Formdin Framework is free software; you can redistribute it and/or
* modify it under the terms of the GNU Less... | PHP | appexemplo_v1.0/view/messages/exe_confirmDialog.php | bjverde/formDin | gpl-3.0 | 3,005 | 82 | codeparrot/github-code |
e7af859c794ae4d00086383cb1340ac6e68869a590de7492ae5d2df2d06f019d | ########################################################################
# #
# Cyprium is a multifunction cryptographic, steganographic and #
# cryptanalysis tool developped by members of The Hackademy. #
# French White Hat Hackers... | Python | kernel/brainfuck.py | underloki/Cyprium | gpl-3.0 | 32,215 | 861 | codeparrot/github-code |
03e7a47acdfbcac1504b9a6319c7c52f8e8fb2281e0ad0d52656320a4874b3c7 | /*
* This file is part of Laustracker.
*
* Copyright (C) 2013 Christian Jann <christian.jann@ymail.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, ... | C++ | src/liblaustracker/laustracker.cpp | christianjann/laustracker | gpl-3.0 | 15,529 | 529 | codeparrot/github-code |
2793d5d0eef586f05efd6aff66cfec287f567789ed6cea2678aadc71fb8a40b0 | <?php
/**
* TrcIMPLAN Índice Básico de Colonias
*
* Copyright (C) 2016 Guillermo Valdes Lozano
*
* 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... | PHP | lib/IBCTorreon/ExHaciendaAntiguaLosAngeles.php | TRCIMPLAN/beta | gpl-3.0 | 5,282 | 122 | codeparrot/github-code |
b71795819c2a96d5db572b539e8dd5c12824f0679fda46f5c214668ab1ebb3df | use client::{Rpc, RpcError};
use rpc::v1::types::{ConfirmationRequest, TransactionModification, U256, BlockNumber};
use serde_json::{Value as JsonValue, to_value};
use std::path::PathBuf;
use futures::{BoxFuture, Canceled};
pub struct SignerRpc {
rpc: Rpc,
}
impl SignerRpc {
pub fn new(url: &str, authfile: &PathBuf... | Rust | rpc_client/src/signer_client.rs | jesuscript/parity | gpl-3.0 | 1,209 | 43 | codeparrot/github-code |
6baaa2dd9bbde68c79eb1a544388324e090eb6531fd0a23c2149fb5d7738ae0a | # -*- coding: utf-8 -*-
import os
import urllib
import urllib2
try: import simplejson as json
except ImportError: import json
import sys
reload(sys) # Reload does the trick!
sys.setdefaultencoding('UTF8')
class PlanetDP(object):
"""
PlanetDP.org subtitle search and fetch class
"""
def __init__(s... | Python | service.py | RecNes/service.subtitles.planetdp_by_recnes | gpl-3.0 | 4,634 | 149 | codeparrot/github-code |
e8dbe35d81a0bbe9ad174432cd7966abac11d785548d94435b6864f6130fee8e | /////////////////////////////////////////////////////////////////////////////
//
// Project ProjectForge Community Edition
// www.projectforge.org
//
// Copyright (C) 2001-2013 Kai Reinhard (k.reinhard@micromata.de)
//
// ProjectForge is dual-licensed.
//
// This community edition is free software; you can redi... | Java | src/main/java/org/projectforge/plugins/teamcal/event/TeamRecurrenceEvent.java | developerleo/ProjectForge-2nd | gpl-3.0 | 3,407 | 139 | codeparrot/github-code |
cefd79c9fd8c0f476e476fd64d58f687f0535e8d53f3b90f6249fde940530b2a | #include <list>
#include <fstream>
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Polygon_2.h>
#include <CGAL/Set_movable_separability_2/Single_mold_translational_casting/top_edges.h>
typedef CGAL::Exact_predicates_exact_constructions_kernel Kernel;
typedef CGAL::Polygon_2<Kernel> ... | C++ | 3rdparty/CGAL/examples/Set_movable_separability_2/top_edges_single_mold_trans_cast.cpp | FEniCS/mshr | gpl-3.0 | 2,036 | 58 | codeparrot/github-code |
8e8063991ba9bcc71e24df666228d73f8c2c428c04622f83b8c4bb2984983418 | // Decompiled with JetBrains decompiler
// Type: System.Web.Compilation.BaseTemplateBuildProvider
// Assembly: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// MVID: 7E68A73E-4066-4F24-AB0A-F147209F50EC
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Web.dll
... | C# | LoCO Client Files/Decompressed Client/Extracted DLL/System.Web/System/Web/Compilation/BaseTemplateBuildProvider.cs | mater06/LEGOChimaOnlineReloaded | gpl-3.0 | 5,982 | 155 | codeparrot/github-code |
f4749dfb3928a2c30f918a72ba6b5fd5bfa8516ede010a36860f36365eecd6cb | (function()
{
var
mod_name = 'fb',
mod = function()
{
var loading = false;
this.is_ready = function()
{
return pwf.has('module', ['config', 'jquery']) && pwf.has('class', 'preloader');
};
this.is_loaded = function()
{
return typeof FB == 'object';
};
this.init = function(ne... | JavaScript | lib/fb.js | just-paja/pwf-compat-facebook | gpl-3.0 | 1,168 | 68 | codeparrot/github-code |
03eac37aef38a546d64f81b486fb44e0df991da4cd4a45202c0549859bc0e702 | /*
Thomas Daley
10/16/2016
server.cc
*/
#include "server.h"
#include "WinCat.h"
#include <io.h>
#include <fcntl.h>
#define DEBUG 0
int server(char *port, char *filename, int keep_listening) {
WSADATA wsaData;
int iResult;
SOCKET ListenSocket = INVALID_SOCKET;
SOCKET ClientSocke... | C++ | src/server.cc | tomdaley92/TomCat | gpl-3.0 | 3,057 | 112 | codeparrot/github-code |
381e5880ec9a93d4d1cd85a7b962daffa5a87a5cc90732fdcf471309047d82af | package gui.javafx;
import java.net.URL;
import java.util.List;
import java.util.Optional;
import java.util.ResourceBundle;
import delegate.ServicesBasicDelegate;
import domain.Court;
import javafx.beans.value.ChangeListener;
import javafx.collections.FXCollections;
import javafx.fxml.FXML;
import javafx.fxml.Initial... | Java | tft-project/tft-project-client/src/main/java/gui/javafx/CourtController.java | ZanzanaTeam/PDEV-TFT | gpl-3.0 | 6,049 | 215 | codeparrot/github-code |
5517b461ff29820cac122cbcc998ea6873aef7d47b4f8f8ddca2ca81a996e0af | /* ***** BEGIN LICENSE BLOCK *****
* Copyright (C) 2010-2011, The VNREAL Project Team.
*
* This work has been funded by the European FP7
* Network of Excellence "Euro-NF" (grant agreement no. 216366)
* through the Specific Joint Developments and Experiments Project
* "Virtual Network Resource Embedding Algorithm... | Java | alevin/src/main/java/vnreal/evaluations/metrics/RemainingLinkResource.java | liruixpc11/crucian | gpl-3.0 | 2,518 | 69 | codeparrot/github-code |
d8403ee76ee7e0089a891563789fbc9a81e1e14d899d261d6d50c34c7d486570 | /*************************************************************
*
* Copyright (c) 2009-2018 The MathJax Consortium
*
* 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://w... | TypeScript | 3rdparty/MathJax/src/ts/input/tex/base/BaseItems.ts | wereturtle/ghostwriter | gpl-3.0 | 24,966 | 1,085 | codeparrot/github-code |
86caf25594d79735c8c6f8aa68f24133a51d56d51d5e3e8edb8104cc1ba24d29 | # Copyright (c) 2014-2016 Cedric Bellegarde <cedric.bellegarde@adishatz.org>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later vers... | Python | ornek/lollypop/lollypop-0.9.229/src/widgets_indicator.py | kerimlcr/ab2017-dpyo | gpl-3.0 | 7,051 | 214 | codeparrot/github-code |
656cd99c6d414426be6d784c6a6d131aaafba9640294b89eef89c2aeb20c1409 | /*******************************************************************************************************
*
* msi.gama.metamodel.topology.grid.GamaSpatialMatrix.java, in plugin msi.gama.core, is part of the source code of the
* GAMA modeling and simulation platform (v. 1.8.1)
*
* (c) 2007-2020 UMI 209 UMMISCO IRD/S... | Java | msi.gama.core/src/msi/gama/metamodel/topology/grid/GamaSpatialMatrix.java | gama-platform/gama | gpl-3.0 | 67,752 | 2,161 | codeparrot/github-code |
b627be38e4a887106f9c6db1fc44221d2e6de4cdb11a9970bf948c87eeb45b1a |
function PCS-Confirm-pathexists
{
<#
.SYNOPSIS
Short Description
.DESCRIPTION
Detailed Description
.EXAMPLE
Confirm-pathexists
explains how to use the command
can be multiple lines
.EXAMPLE
Confirm-pathexists
another exampl... | PowerShell | PCS_SDM/func.psm1 | fredericofrazao/Main | gpl-3.0 | 2,773 | 110 | codeparrot/github-code |
a91d7e4967274659e157f8f7258a5f6e3004dd9190b9da120df29277cc87501d | # -*- coding: utf-8 -*-
# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)
# Copyright (C) 2018 lemmsh, cervinko, OzzieIsaacs
#
# 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 S... | Python | cps/fb2.py | idalin/calibre-web | gpl-3.0 | 2,739 | 82 | codeparrot/github-code |
42c123ad474e6b8d21ef655f673eee02d6e6eb73cf7ca768571e51e334f30ed2 | /**
* Copyright (C) Nick Ebbutt September 2009
*
* This file is part of ObjectDefinitions Ltd. FilterTable.
* nick@objectdefinitions.com
* http://www.objectdefinitions.com/filtertable
*
* FilterTable is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Pub... | Java | src/main/java/com/od/radixtree/MutableSequence.java | nickebbutt/od-suffixtree | gpl-3.0 | 3,637 | 128 | codeparrot/github-code |
3e512d8ee4c52bfff7381dc44cf28e83967e34a3e330de4d5748ce6ea4487aa0 | \documentclass[12pt]{article}
\usepackage{url}
\usepackage{hyperref}
\usepackage{mdframed}
\title{Zerone tutorial}
\author{Pol Cusc\'o and Guillaume Filion}
\begin{document}
\maketitle
\section{Building instructions}
Zerone is available as a Linux command line application and as an R package.
\subsection{Downloadin... | TeX | doc/tutorial.tex | nanakiksc/zerone | gpl-3.0 | 9,817 | 286 | codeparrot/github-code |
99a112fb7c091ba4a4d81fb3c60e2e4713b3599bf4bfe9a5a23a3ffd3850abd2 | /*
* Copyright (C) 2003-2008 Takahiro Hirofuchi
*
* This 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 is distribute... | C | drivers/usb/usbip/stub_rx.c | williamfdevine/PrettyLinux | gpl-3.0 | 15,129 | 706 | codeparrot/github-code |
2e3da91f2e485632416d2c70f6c0286a647dd85fa01fd99cdb1bc73974b58895 | /***************************************************************************
** **
** This file is part of SpineCreator, an easy to use GUI for **
** describing spiking neural network models. **
** Copyrigh... | C | SC_connectionmodel.h | SpineML/SpineCreator | gpl-3.0 | 2,831 | 61 | codeparrot/github-code |
041ee705641102575847abb9aa2202f41fee0d5385ef16ed01080a6ff6655da2 | package net.minecraft.src;
import java.io.File;
import java.util.List;
public class AnvilSaveHandler extends SaveHandler
{
public AnvilSaveHandler(File par1File, String par2Str, boolean par3)
{
super(par1File, par2Str, par3);
}
/**
* Returns the chunk loader with the provided world provi... | Java | mcp50/src/minecraft/net/minecraft/src/AnvilSaveHandler.java | sethten/MoDesserts | gpl-3.0 | 1,236 | 48 | codeparrot/github-code |
70072bfc7c7611899545b0797254917a2de6db4fee1c5e256df19bf98dc772fd | // Decompiled with JetBrains decompiler
// Type: MongoDB.Bson.Serialization.Serializers.ByteArraySerializer
// Assembly: MongoDB.Bson, Version=1.6.1.21837, Culture=neutral, PublicKeyToken=f686731cfb9cc103
// MVID: 93880221-3735-46FB-8891-84D897158E28
// Assembly location: C:\Users\CGA Computer\Desktop\LEGO Universe St... | C# | LoCO Client Files/Decompressed Client/Extracted DLL/MongoDB.Bson/Serialization/Serializers/ByteArraySerializer.cs | mater06/LEGOChimaOnlineReloaded | gpl-3.0 | 3,650 | 96 | codeparrot/github-code |
f87720572ab868923fc1899d7716b4c51f0fdb14b76dd1235a49789432e3d539 | package main
import (
"os"
log "github.com/Sirupsen/logrus"
"github.com/codegangsta/cli"
"github.com/mtanlee/distributionweb/controller/commands"
"github.com/mtanlee/distributionweb/version"
)
const (
STORE_KEY = "distributionweb"
)
func main() {
app := cli.NewApp()
app.Name = "distributionweb"
app.Usage =... | GO | controller/main.go | mtanlee/distributionweb | gpl-3.0 | 3,115 | 138 | codeparrot/github-code |
80c69a4647f89728302231cf2ebcd4aa53277103bd4801dcc32e71ccb097cc1d | /**
* @file aqua.css
* @copyright Copyright 2016 Clay Freeman. All rights reserved
* @license GNU General Public License v3 (GPL-3.0)
*
* Defines the look and feel of an Aqua (OS X window style) terminal window
*/
/* Import the 'Inconsolata' font from Google web fonts */
@import url(https://fonts.googleap... | CSS | app/public/css/aqua.css | pubkey-sh/pubkey.sh | gpl-3.0 | 4,784 | 150 | codeparrot/github-code |
500f6bf15afd518db33b89af73cc2f464794bfeb601092848810bb8eff191b44 | /*
* FDM - An application to list PCI and USB devices connected to a Windows computer.
* Copyright (C) 2011 Axel Rasmussen
*
* 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... | C | src/fdm/devices/PCIEntityTableModel.h | CmdrMoozy/fdm | gpl-3.0 | 1,317 | 46 | codeparrot/github-code |
f9eee927afd98ef02ca5119fdf06ea1fe1dd978c195c0c4312901964a74d9c73 | /**
* CollectorProcessDefinitionServerResource.java This file is part of WattDepot.
*
* Copyright (C) 2013 Cam Moore
*
* 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... | Java | src/main/java/org/wattdepot/server/http/api/CollectorProcessDefinitionServerResource.java | wattdepot/wattdepot | gpl-3.0 | 4,754 | 149 | codeparrot/github-code |
0aab390aeb45cbc8b93c7495cc02556e721f91870ff201bda35aeabb26cf83da |
using uint8_t = System.Byte;
using uint16_t = System.UInt16;
using uint32_t = System.UInt32;
using uint64_t = System.UInt64;
using int8_t = System.SByte;
using int16_t = System.Int16;
using int32_t = System.Int32;
using int64_t = System.Int64;
using float32 = System.Single;
using System;
using System.Runtime.Intero... | C# | ExtLibs/UAVCAN/out/src/uavcan.protocol.dynamic_node_id.server.Discovery.cs | Aeronavics/MissionPlanner | gpl-3.0 | 2,790 | 85 | codeparrot/github-code |
9d79719e869349d3becf5e70ab7490f431bf8187c1797605a1ad14de15930bec | /*
* Copyright (C) 2010 Brockmann Consult GmbH (info@brockmann-consult.de)
*
* 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 late... | Java | beam/beam-ui/src/main/java/org/esa/beam/framework/ui/application/support/DefaultToolViewPane.java | lveci/nest | gpl-3.0 | 11,302 | 266 | codeparrot/github-code |
bd2f473bb46e37e5bbc07493012dd4e1f9e4d1b2f78c0d0496360e6f46cd7d92 | /**
* Created by ilya on 10.10.2017.
*/
import express from 'express';
import * as db from '../utils/DataBaseUtils';
const router = express.Router();
router.get('/', (req, res) => {
db.listDivisions(req).then(data => res.send(data));
});
router.post('/', (req, res) => {
db.checkSession(req.session.user.id... | JavaScript | back/routes/divisions.js | SuselMan/FunFoos | gpl-3.0 | 920 | 39 | codeparrot/github-code |
50de4ab8ac524cd1cfa90caeeee0f719e5481db2148bec80825df2ad09d4fdec | /*
* Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this li... | C++ | WebKit/Source/WebCore/platform/graphics/win/FontCacheWin.cpp | cs-au-dk/Artemis | gpl-3.0 | 23,378 | 599 | codeparrot/github-code |
0808515149789457c92e10eb9298d2e51673679ab5407719e7cb38e7bf756785 | /*
* MarginBorderLayout.java
* (FScape)
*
* Copyright (c) 2001-2021 Hanns Holger Rutz. All rights reserved.
*
* This software is published under the GNU General Public License v3+
*
*
* For further information, please contact Hanns Holger Rutz at
* contact@sciss.de
*/
package de.sciss.fscape.gui;
impor... | Java | src/main/java/de/sciss/fscape/gui/MarginBorderLayout.java | Sciss/FScape | gpl-3.0 | 14,608 | 431 | codeparrot/github-code |
3e17ce8689ee3e1b2864af580cf4c315cfe3374203a5b83e3b7672ca3193e479 | /*
* linux/sound/soc/codecs/tlv320aic32x4-i2c.c
*
* Copyright 2011 NW Digital Radio
*
* Author: Jeremy McDermond <nh6z@nh6z.net>
*
* Based on sound/soc/codecs/wm8974 and TI driver for kernel 2.6.27.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Genera... | C | sound/soc/codecs/tlv320aic32x4-i2c.c | williamfdevine/PrettyLinux | gpl-3.0 | 1,977 | 78 | codeparrot/github-code |
43858bc0d3ba673c20d41acd66d4ab5d3234b104eb73b84f69ee93f321e5f3da | /*
* Copyright (c) 2016.
* Modified by Neurophobic Animal on 06/07/2016.
*/
package cm.aptoide.pt.dataprovider.ws.v7;
import android.content.SharedPreferences;
import cm.aptoide.pt.dataprovider.BuildConfig;
import cm.aptoide.pt.dataprovider.interfaces.TokenInvalidator;
import cm.aptoide.pt.dataprovider.model.v7.Li... | Java | dataprovider/src/main/java/cm/aptoide/pt/dataprovider/ws/v7/GetRecommendedRequest.java | Aptoide/aptoide-client-v8 | gpl-3.0 | 2,566 | 93 | codeparrot/github-code |
c38ff7b8df029a2a1e8abef733d01668862e2f1b7a2f915cb871a469ee5a37d6 | <?php
/**
* WooCommerce cart
*
* The WooCommerce cart class stores cart data and active coupons as well as handling customer sessions and some cart related urls.
* The cart class also has a price calculation function which calls upon other classes to calculate totals.
*
* @class WC_Cart
* @version 2.1.0
* @p... | PHP | includes/class-wc-cart.php | kaleemon/haviya | gpl-3.0 | 72,212 | 2,185 | codeparrot/github-code |
487c4b6021419ed78e12106cc9f21f2f534257c511941ac37a365254fb68d978 | using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
namespace MainSite
{
public class NailService
{
public bool IsObsolete { get; set; }
public String Abbreviation { get; set; }
public TimeSpan Duration { get; set; }
public Int16 Price { get; set... | C# | MainSite/NailService.cs | astmus/OliNails | gpl-3.0 | 842 | 34 | codeparrot/github-code |
b571e192a5cc30d3f3121e07996554c931dd743074f8f7ab3901611de0d225e8 | /*
* PinDroid - http://code.google.com/p/PinDroid/
*
* Copyright (C) 2010 Matt Schmidt
*
* PinDroid 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 you... | Java | app/src/main/java/com/pindroid/providers/BookmarkContentProvider.java | maxpower47/PinDroid | gpl-3.0 | 26,756 | 723 | codeparrot/github-code |
f9ea1e6eb3d56c8df13b34244f0cfeb9970be7f6a35798626cfae84cdb484f68 | /*
* This file is part of RawTherapee.
*
* Copyright (c) 2004-2010 Gabor Horvath <hgabor@rawtherapee.com>
*
* RawTherapee 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++ | rtengine/imagedata.cc | VonChenPlus/rawtherapee | gpl-3.0 | 16,918 | 504 | codeparrot/github-code |
1d6a2d047771f0b42b1e473a283b5c425161c08f8ec0de8953f4a1829485f468 | /************************************************************************
* rng_ref computes the range reference function used for range *
* compression of raw radar echoes *
************************************************************************/
/***************************************************************... | C | gmtsar/rng_ref.c | joa-quim/GMT5SAR | gpl-3.0 | 4,707 | 195 | codeparrot/github-code |
43301285232d46db0889511f6148f5dd88ab5ab26d3caa68b3fad0740da6ceb5 | /*
* Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Savoir-Faire Linux Inc.
* Author: Emmanuel Milou <emmanuel.milou@savoirfairelinux.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 Foun... | C++ | daemon/test/sdptest.cpp | max3903/SFLphone | gpl-3.0 | 11,799 | 317 | codeparrot/github-code |
fbe765b475601558fa94e4394c065f628214ce6702debb6a650ebe6e3b6e4885 | <!DOCTYPE html>
<html dir="ltr" lang="en">
<head>
<!-- Meta Tags -->
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<meta name="description" content="HairCare- Beauty Salon & Barber HTML5 Template for Women & Men" />
<... | HTML | templates/Original/haircare-client-html/portfolio-tiles-boxed-title-gutter-4-col.html | brandonccy/SmartNano | gpl-3.0 | 90,750 | 1,440 | codeparrot/github-code |
519dda75a57eba76d96e422293e5535e3db80c6158e89829a9e93cad83145a5a | /*
*
* * ******************************************************************************
* * Copyright (C) 2014-2019 Dennis Sheirer
* *
* * 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 Foun... | Java | src/main/java/io/github/dsheirer/module/decode/p25/phase1/message/pdu/ambtc/isp/AMBTCRoamingAddressRequest.java | ImagoTrigger/sdrtrunk | gpl-3.0 | 4,530 | 144 | codeparrot/github-code |
7f31096e1086901d808751120b3658f37e538758de7d8d26c548d77da8d2f74d | package squarefy.src.pieces;
import squarefy.src.board.Board;
import squarefy.src.board.Square;
import squarefy.src.rules.Playable;
import java.awt.*;
import java.util.ArrayList;
/**
* An out-of-range square is indicated by (' ',0)
* An invalid color is null
*/
public abstract class Piece implements Playable {
... | Java | src/pieces/Piece.java | jacobverghese/squarefy | gpl-3.0 | 2,398 | 88 | codeparrot/github-code |
a519ec5f7239442281decb6a9c07c51bb6c893fca410323f98b1d7f79be7650f | /*-------------------------------------------------------------------------
*
* explain.h
* prototypes for explain.c
*
* Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
* Portions Copyright (c) 1994-5, Regents of the University of California
*
* src/include/commands/explain.h
*
*------... | C | src/include/commands/explain.h | robins/postgres | gpl-3.0 | 4,103 | 110 | codeparrot/github-code |
79221352c21378d2063b16e006c694909d8a28317401855b60c7c6360b2d5718 | using Grasshopper.Kernel;
using System;
using System.Windows.Forms;
namespace CustomGrasshopperGUI.Menu
{
public class CustomMenuItems : GH_Component
{
public CustomMenuItems()
: base("CustomMenuItems", "CustomMenuItems",
"Example of Custom Menu Items",
"Extra", ... | C# | CustomGrasshopperGUI/Menu/CustomMenuItems.cs | ALharchi/CustomGrasshopperGUI | gpl-3.0 | 2,697 | 91 | codeparrot/github-code |
684fb3215854a9cc18142fe2368fec98feca7eeca665cbf39ab448d074ba8ec9 | #include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <string.h>
#include <sys/file.h>
#include <sys/stat.h>
#include "logger.h"
#define LOCKMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH)
static int
lockfile(int fd) {
struct flock fl;
fl.l_type = F_WRLCK;
fl.l_start ... | C | src/daemon.c | lparam/xsocks | gpl-3.0 | 1,923 | 108 | codeparrot/github-code |
0d43856c8931d3924ee441f953b6a2c57f4c45b5afa27b740aa693261d957abd | /*
* Author: Paul B. Horton
* Organization: Computational Biology Research Center, AIST, Japan
* Copyright (C) 2008, Paul B. Horton, All rights reserved.
* Creation Date: 2008.2.3
* Last Modified: $Date: 2009/05/17 11:54:23 $
*
* Description: options to use when reading fasta format sequence files
*
*/... | C++ | ematch_src/utils/sequence/readers/fasta/FastaInputOptions.hh | ewijaya/ngsfeatures | gpl-3.0 | 3,637 | 131 | codeparrot/github-code |
1d25ba61b5bda86ff735cd0de06607f76f08f06314563b24481727cd197bb376 | using System.Linq;
using System.Runtime.InteropServices;
using NLog;
using Rubberduck.Parsing.Annotations;
using Rubberduck.Parsing.Symbols;
using Rubberduck.Parsing.VBA;
using Rubberduck.UnitTesting;
using Rubberduck.VBEditor.SafeComWrappers.Abstract;
namespace Rubberduck.UI.Command
{
/// <summary>
/// A comm... | C# | RetailCoder.VBE/UI/Command/AddTestMethodExpectedErrorCommand.cs | INOPIAE/Rubberduck | gpl-3.0 | 4,307 | 116 | codeparrot/github-code |
c3c61746b8907ab5304c1e6207f6f3124d3cd205d26b451ab0431f4b16ef4e34 | /*
* Copyright (C) 2009-2018 by the geOrchestra PSC
*
* This file is part of geOrchestra.
*
* geOrchestra 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 opt... | JavaScript | analytics/src/main/webapp/js/app/controller/Base.js | landryb/georchestra | gpl-3.0 | 2,392 | 75 | codeparrot/github-code |
9ec85277b181e21046726be231f020c0e3bbde02321269a002d4126d904a92f9 | <?php
/**
* prohibit unauthorized access
*/
if(basename(__FILE__) == basename($_SERVER['PHP_SELF'])){
die ('<h2>Direct File Access Prohibited</h2>');
}
/**
* get all installed Plugins
* return as array
*/
function get_all_plugins() {
$plugins = array();
$scanned_directory = array_diff(scandir(FC_CONTENT_D... | PHP | acp/core/functions_addons.php | flatCore/flatCore-CMS | gpl-3.0 | 5,238 | 264 | codeparrot/github-code |
07382e5daa34834772e7eb731c925d5849041a27c35cdf6c19d6776c4ed41604 | /*
* 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 org.pepsoft.worldpainter.tools;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
i... | Java | org/pepsoft/worldpainter/tools/RepairHeightMap.java | nfloersch/wpgis | gpl-3.0 | 2,899 | 71 | codeparrot/github-code |
41efa929b2f9245eef57ad3df2e70310e0604448126ef59ae4fec08abcad182b | package ch08.sec14;
import java.io.*;
import java.nio.charset.*;
import java.nio.file.*;
import java.util.*;
import java.util.concurrent.atomic.*;
import java.util.stream.*;
import static java.util.stream.Collectors.*;
public class ParallelStreams {
public static void main(String[] args) throws IOException {
... | Java | Java/Core Java for the Impatient/ch08/sec14/ParallelStreams.java | seapub/SourceCode | gpl-3.0 | 2,107 | 62 | codeparrot/github-code |
25f89bc7ea1ef49f9465e553d5305ee154d44a7ba3cc3ba80d2f66fe1b0a545d | local self = {}
Gooey.ListView.ItemCollection = Gooey.MakeConstructor (self)
--[[
Events:
Cleared ()
Fired when this ItemCollection has been cleared.
ItemAdded (GListViewItem listViewItem)
Fired when a ListViewItem has been added.
ItemRemoved (GListViewItem listViewItem)
Fired when a ListView... | Lua | lua/gooey/ui/controls/listview/itemcollection.lua | notcake/gooey | gpl-3.0 | 3,830 | 152 | codeparrot/github-code |
f52477799d55997979be1124ac9a486e7c8d2764161a7c8e0a0316015c921e0a | using System;
using System.Collections.Generic;
using System.Linq;
using Shell.Common.IO;
using Shell.Common.Tasks;
using Shell.Common.Util;
namespace Shell.Common
{
public sealed class Program
{
public static ScriptTask[] Tasks { get; private set; }
public static Action<ScriptTask> HooksBefor... | C# | Shell/Shell.Common/Shell.Common/Program.cs | media-tools/shell | gpl-3.0 | 3,410 | 100 | codeparrot/github-code |
36ca7b72381c0c9531d24df938bb3c91daf48a839d551921bd66567261ed5b55 | <?PHP
/**
* Establish Server & Database Connection
*/
function connect() {
require_once 'config/config.php';
/* Server connection */
$connect_srv = mysql_connect(DB_HOST, DB_USER, DB_PASS);
if (!$connect_srv) header('Location:setup.php');
/* Database connection */
$connect_db = mysql_select_db(DB_... | PHP | functions.php | AMTECH247/mangoO | gpl-3.0 | 19,276 | 635 | codeparrot/github-code |
dbd19af3e3e24295132ac89c1fd6d6a8d53eae21b31a573d32b966365dea2f01 | =head1 NAME
Tails::RunningSystem - class that represents the running Tails system
=cut
package Tails::RunningSystem;
use 5.10.1;
use strictures 2;
use autodie qw(:all);
use Carp;
use Carp::Assert;
use Carp::Assert::More;
use Function::Parameters;
use Path::Tiny;
use Sys::Statistics::Linux::MemStats;
use Tails::Con... | Perl | config/chroot_local-includes/usr/src/perl5lib/lib/Tails/RunningSystem.pm | austin987/tails | gpl-3.0 | 9,034 | 350 | codeparrot/github-code |
f28b65d8ddbed3bc9671bb5efcf21907382bf9572810b842083014f6adb84bdf | /*
*********************************************************************
REPORT.C -- Reporting Routines for EPANET Program
AUTHOR: M. Lopez-Ibanez (M. L\'opez-Ib\'a\~nez)
Napier University, Edinburgh, UK.
$LastChangedBy: manu $ $Revision: 158 $
$LastChangedDate: 2007-12-19 13:01:00 +0100 (Wed, 19 Dec... | C | Ibanez_EN2/report.c | jeffrey-newman/ENLink | gpl-3.0 | 37,686 | 1,317 | codeparrot/github-code |
a8ea62307c3e7e735128966aaf64270df113ca53d9834589c89343b99e66b2f9 | #!/usr/bin/perl
#AUTHOR
# Rene Warren
# rwarren at bcgsc.ca
#NAME
#RAILS: Radial Assembly Improvement by Long Sequence Scaffolding
#Scaffolding and gap-closure using alignment of long sequences
#SYNOPSIS
#DOCUMENTATION
# readme.md distributed with this software
# We hope this code is useful to you -- Plea... | Perl | versions/RAILS_v1.2/cobbler.pl | warrenlr/RAILS | gpl-3.0 | 19,676 | 535 | codeparrot/github-code |
b39779345dbb381693c58db43c261eb492f0a56d32e622098ce28578c65ca149 | /**
* Renders search results list.
*/
Ext.define('Docs.view.search.Dropdown', {
extend: 'Ext.view.View',
alias: 'widget.searchdropdown',
floating: true,
autoShow: false,
autoRender: true,
toFrontOnShow: true,
focusOnToFront: false,
store: 'Search',
id: 'search-dropdown',
ove... | JavaScript | template/app/view/search/Dropdown.js | bhatfield/jsduck | gpl-3.0 | 4,224 | 143 | codeparrot/github-code |
7fd6d34c676a51b87354a075a1782a1e5d11a7bb1c1a1aa6a199eee78997cc24 | /**
*
* Copyright (c) 2014 Hea3veN
*
* This file is part of Pandora's Chest.
*
* Pandora's Chest 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... | Java | src/com/hea3ven/pandoraschest/item/ItemFluorecentTube.java | hea3ven/PandorasChest | gpl-3.0 | 4,791 | 172 | codeparrot/github-code |
dbf6a1544017b41d494864d4a4f0d1ba9d98f7fc2f4d1a6720f3a796250f2e2d | <?php
if ( !defined( 'ABSPATH' ) || preg_match(
'#' . basename( __FILE__ ) . '#',
$_SERVER['PHP_SELF']
)
) {
die( "You are not allowed to call this page directly." );
}
?>
<div id="fb-root"></div>
<script>
(function ( d, s, id ) {
var js, fjs = d.getElementsByTagName( s )[0];
if ( d.getElementById( id ) ) {
... | PHP | wp-content/plugins/post-list-featured-image/PostListFeaturedImage/View/plugin-admin-page.php | IDS-UK/genderhub | gpl-3.0 | 2,210 | 66 | codeparrot/github-code |
641bc697c939f0e609a01e54282ed2cd419dbc5c175be6e6e0178163139ba08b | /* Example stylesheet for to increase readability on websites */
/* Shameless plug, but use a font designed
for greater readability than just looking cool.
This one is designed for dyslexic readers, though
it can be useful to increase readability for anyone
else ... | CSS | accessibility.css | grh2g46/dyslexiaAssist | gpl-3.0 | 2,690 | 81 | codeparrot/github-code |
da620b65baf68625c36251e3a0310f6d6c5acbc1cf865937d87c8e0ff84fa2f1 | /*
* Java CSV is a stream based library for reading and writing
* CSV and other delimited data.
*
* Copyright (C) Bruce Dunwiddie bruce@csvreader.com
*
* 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 Fr... | Java | src/main/java/com/taobao/api/internal/tdc/parser/CsvReader.java | kuiwang/my-dev | gpl-3.0 | 61,722 | 1,637 | codeparrot/github-code |
a035f2290a33b108c886b9657a3c19d9a914ba9a6ab627e2b2a0f00df8507d3b | //-----------------------------------------------------------------------------
// runoff.c
//
// Project: EPA SWMM5
// Version: 5.1
// Date: 03/20/14 (Build 5.1.001)
// 09/15/14 (Build 5.1.007)
// 03/19/15 (Build 5.1.008)
// 08/01/16 (Build 5.1.011)
// ... | C | MatSWMM 5.1.012/source_code_DLL/runoff.c | water-systems/MatSWMM | gpl-3.0 | 18,950 | 526 | codeparrot/github-code |
4f151d63f6962eab75a6c6bc0cb35f1caff77e4bd03cb723d3e7ac16d93c9b75 | /*************************************************************************
* *
* Copyright (c) 2011 Hirokazu Odaka *
* *
* This program is f... | C++ | source/core/include/VDetectorUnitFactory.hh | odakahirokazu/ComptonSoft | gpl-3.0 | 2,341 | 55 | codeparrot/github-code |
e48551e852738a4543fbb97d2f308d60b183caca4a3704cd40bcc49b3132d1bb | <?php
/**
* Message translations for \pengboyu\yii2-admin.
*
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is ... | PHP | messages/id/rbac-admin.php | PengBoYu/yii2-admin | gpl-3.0 | 2,725 | 84 | codeparrot/github-code |
cc2537505170c33664eee5461bffd0d31ed4ec08301ce7404d1679cf712135d9 | package com.dotmarketing.cache;
import com.dotmarketing.beans.Rating;
import com.dotmarketing.business.CacheLocator;
import com.dotmarketing.business.DotCacheAdministrator;
import com.dotmarketing.business.DotCacheException;
import com.dotmarketing.factories.RatingsFactory;
import com.dotmarketing.util.Logger;
/**
*... | Java | src/com/dotmarketing/cache/RatingCache.java | ggonzales/ksl | gpl-3.0 | 2,357 | 68 | codeparrot/github-code |
1ac61fc01c7d6c522c8c52a331945d86afa78e841fc08f7d2bc788dc957bc7fa | using System;
using System.Collections.Generic;
using System.Reflection;
using ACE.Network.GameAction;
using ACE.Network.GameMessages;
using log4net;
namespace ACE.Network.Managers
{
public static class InboundMessageManager
{
private static readonly ILog log = LogManager.GetLogger(System.Reflection.... | C# | Source/ACE/Network/Managers/InboundMessageManager.cs | fantoms/ACE | gpl-3.0 | 4,287 | 116 | codeparrot/github-code |
10eefc9eaa53884cc2bc532a47e4eb79f8047714865e20f4fd376be33c15b2c9 | /* Reversed from libcoolstream.so, this comes without any warranty */
#define MODULE_LOG_PREFIX "dvbcool"
#include "globals.h"
#if defined(HAVE_DVBAPI) && defined(WITH_COOLAPI)
#include "extapi/coolapi.h"
#include "module-dvbapi.h"
#include "module-dvbapi-coolapi.h"
#include "oscam-string.h"
#define MAX_COOL_DMX ... | C | module-dvbapi-coolapi-legacy.c | zzq12345/jet | gpl-3.0 | 16,754 | 702 | codeparrot/github-code |
a011d80d9f9de8aae668295addb147f49b68996ff2718106e2f810beb902db46 | using System;
using System.Linq;
using System.Collections.Generic;
namespace RalphsDotNet.Service.Optimization.Genetic
{
public class Individual
{
public Gene[] GeneticCode { get; private set; }
public OptimizerService OptimizerService { get; private set; }
public double L... | C# | Old/RalphsDotNet.Service.Optimization/Individual.cs | RalphBariz/RalphsDotNet | gpl-3.0 | 8,234 | 232 | codeparrot/github-code |
5c1f0edb6cbdb3226385c0f8e25c1b7fee755955d43d4ed505c73fff66368b72 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <zstd.h>
#include "zstd_decompress.h"
zstdStrm *zstdStrmInit()
{
zstdStrm *s;
if ((s = (zstdStrm *)malloc(sizeof(zstdStrm))) == NULL)
return NULL;
s->back = EOF;
s->i_len = ZSTD_DStreamInSize();
s->o_len =... | C++ | zstd_decompress.cpp | BenLangmead/bowtie2 | gpl-3.0 | 3,190 | 156 | codeparrot/github-code |
4fdf6a8129e1ced28efaea23f3d96bf5cb4e4e385180421bd541fb0a69a0dbc1 | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... | C++ | src/plugins/qmakeprojectmanager/profileeditor.cpp | sailfish-sdk/sailfish-qtcreator | gpl-3.0 | 8,894 | 252 | codeparrot/github-code |
54affc547f3203bea194020ba4dd6d4b034657d066ad1ca1fc075cbeb6f24876 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExtApp.Model
{
/// <summary>
/// 登录结果模型
/// </summary>
public class LoginResult : Result
{
/// <summary>
/// 构造函数
/// </summary>
public Logi... | C# | ExtApp/ExtApp.Model/App/Result/LoginResult.cs | tengge1/ExtApp | gpl-3.0 | 1,024 | 48 | codeparrot/github-code |
0085ca62af871b4ad642de8ae4530cf5e3658fdc120ad60d6b345d27da35b99b | <?php
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
class table_forum_threadtype extends discuz_table
{
public function __construct() {
$this->_table = 'forum_threadtype';
$this->_pk = 'typeid';
parent::__construct();
}
public function fetch_all_by_typeid($arr) {
foreach(... | PHP | model/table/x25/table_forum_threadtype.php | hanpengyu/mobcent-discuz | gpl-3.0 | 719 | 32 | codeparrot/github-code |
502f620b007d6d51bbdb43e6371b8d1720fbcd327f0409a50367a41d2d948db1 | /*Loop.h
*
*
* Copyright (C) 2016 UTHealth MRI Research
*
* This file is part of the GRAPE Diagram Editor.
*
* GRAPE 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 ... | C | src/Nodes/loop.h | rgabr/grape | gpl-3.0 | 1,907 | 90 | codeparrot/github-code |
9d9f6bbd26dedc67dc2cf534fe50cd0eaed96b7ffada15a623bf8b19891cee47 | <?php
session_start();
if ($_SESSION["rol"]!='Administrador'){
session_destroy();
header("Location:../");
}
$connection = new mysqli("localhost", "root", "", "proyecto");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible"... | PHP | Proyecto/admin/edit_user/edit2.php | kramery/Zamora_Jimenez_Jesus_Proyecto_IAW | gpl-3.0 | 8,077 | 244 | codeparrot/github-code |
ffc29aa1a56fe7f3515e620ac277e2f821a18bdc1feae339f2ffdd7b7934dfc8 | /*
* Copyright (C) 2009-2011 RtcNbClient Team (http://rtcnbclient.wmi.amu.edu.pl/)
*
* This file is part of RtcNbClient.
*
* RtcNbClient 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 ... | Java | RtcNbClientWorkItems/RtcNbClientWorkItemsUI/src/main/java/pl/edu/amu/wmi/kino/rtc/client/ui/workitems/utils/StringUtils.java | RtcNbClient/RtcNbClient | gpl-3.0 | 2,143 | 79 | codeparrot/github-code |
b70e1075f7b914308a90128ceb0aa98e314609f756c4e50d4dcfb4bdbe655cc6 | Ext.ns('CMS.structureEditor');
/**
* @class CMS.structureEditor.TemplateUnitTreeNodeUI
* @extends CMS.structureEditor.UnitTreeNodeUI
* TreeNode UI for the {@link CMS.structureEditor.TemplateUnitTreePanel}
*/
CMS.structureEditor.TemplateUnitTreeNodeUI = Ext.extend(CMS.structureEditor.UnitTreeNodeUI, {
renderElemen... | JavaScript | app/js/CMS/structureEditor/TemplateUnitTreeNodeUI.js | rukzuk/rukzuk | gpl-3.0 | 1,530 | 48 | codeparrot/github-code |
6b90afb16daf351b2687b7af2114a179568a16ce219d1d9dbed35bd9cfd2c44c | #include <stdlib.h>
#include <string.h>
#include <time.h>
#include <syslog.h>
#include <sys/stat.h>
#include <unistd.h>
#include <limits.h>
#include <libgen.h>
#include "phone_manager.h"
#include "commandline.h"
#include "configfile.h"
#define AUTHTOKEN_FILE "/tmp/zrtptoken"
/**
* Delay to wait between calls to linp... | C | src/phone_manager.c | Quintus/piphoned | gpl-3.0 | 24,640 | 692 | codeparrot/github-code |
662957b652f2f25309a858660bc4a624ad8bb949b00fa7f349466856bf8e7a0c | //============== IV:Multiplayer - https://github.com/Neproify/ivmultiplayer ==============
//
// File: CIVPad.cpp
// Project: Client.Core
// Author(s): jenksta
// License: See LICENSE in root directory
//
//==============================================================================
#include "CIVPad.h"
#include "../... | C++ | Client/Core/IV/CIVPad.cpp | Neproify/ivmultiplayer | gpl-3.0 | 9,025 | 277 | codeparrot/github-code |
509f1f57864ecae57f6f735d56ff4bc56a389f82861deeb240c8ead802d38bd8 | /*
* This file is part of EchoPet.
*
* EchoPet is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EchoPet is distributed in th... | Java | modules/v1_7_R2/src/main/java/com/dsh105/echopet/compat/nms/v1_7_R2/entity/type/EntityWitherPet.java | lol768/EchoPet | gpl-3.0 | 2,423 | 75 | codeparrot/github-code |
7f3d59d536ee72527066e3772d9a7a73098417854a02119456f80febe160b02a | // Copyright 2015, 2016 Ethcore (UK) Ltd.
// This file is part of Parity.
// Parity 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.... | Rust | ethcore/src/types/receipt.rs | pdaian/parity | gpl-3.0 | 4,781 | 141 | codeparrot/github-code |
c75b96ab1b4427ba0ac4a4eea995fb1697caba1067d79c41b2880bdc675a3008 | <!doctype html>
<html lang="zh-cn">
<head>
<meta charset="UTF-8">
<title>后台管理系统--浙江飞扬国际旅游集团有限公司</title>
<link rel="shortcut icon" href="">
<meta content="后台管理系统-浙江飞扬国际旅游集团有限公司" name="keywords">
<meta content="后台管理系统-浙江飞扬国际旅游集团有限公司" name="description">
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1... | HTML | modules/grunt/source/html/orderReservation--customizedGroup.html | kaldr/nodejs-starter | gpl-3.0 | 17,374 | 381 | codeparrot/github-code |
6e7d4efd687e67e4844d45518a68bf048d397120ec826197023d21d5a2625117 | addModule('voteEnhancements', (module, moduleID) => {
module.moduleName = 'Vote Enhancements';
module.category = ['Appearance'];
module.description = 'Format or show additional information about votes on posts and comments.';
module.options = {
estimatePostScore: {
type: 'boolean',
value: false,
descript... | JavaScript | lib/modules/voteEnhancements.js | gavin19/Reddit-Enhancement-Suite | gpl-3.0 | 7,859 | 261 | codeparrot/github-code |
e462d56af6f85bfdb540f2b331e30a4deed8b1950ed35339bb557ae20c4dce6c | package de.pro_crafting.wg;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import de.pro_crafting.wg.event.DrawQuitEvent;
import de.pro_crafting.wg.event.WinQuitEvent;
import de.pro_crafting.wg.group.GroupMember;
import de.pro_crafting.wg.group.Group;
p... | Java | src/main/java/de/pro_crafting/wg/WgEconomy.java | Postremus/wg-fight-plugin | gpl-3.0 | 1,549 | 53 | codeparrot/github-code |
b5c74bbd7cb631db41c0001cf09bbf4bbe5decace6e3ae816eeb006f035817e5 | /*
* Sapronov Alexander sapronov.alexander92@gmail.com
* 2013-07-18
*/
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QDebug>
#include <QResizeEvent>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
connect( ui->pB, SIGNAL(c... | C++ | slide-panels/twoslide/src/main/mainwindow.cpp | WarmongeR1/QComponents | gpl-3.0 | 4,658 | 169 | codeparrot/github-code |
6bd9a431933d5a23fc41ae033160a019aedfd9c25ca22cf0dae918044f96e40b | /*
* Copyright (c) 2010,
* Gavriloaie Eugen-Andrei (shiretu@gmail.com)
*
* This file is part of crtmpserver.
* crtmpserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the L... | C | sources/thelib/include/protocols/encre/baseencreprotocol.h | epitech-labfree/encre-rtmpd | gpl-3.0 | 1,841 | 58 | codeparrot/github-code |
e52035ba8fad1fc4d0130f9ee44987f8fbf36293f0143a46cc56df3f1ab94a3e | using System;
using System.Windows.Input;
namespace EventMaker.Common
{
public class RelayCommand : ICommand
{
private readonly Func<bool> _canExecute;
private readonly Action _execute;
/// <summary>
/// Creates a new command that can always execute.
/// </summary>... | C# | EventMaker/EventMaker/Common/RelayCommand.cs | retroth97/EventMaker | gpl-3.0 | 2,450 | 70 | codeparrot/github-code |
50913d1d7581483f8c9ce11e7cab556abe8a69b75052d4af6dd1abb4484dd950 | (function (App) {
'use strict';
var self;
var Device = Backbone.Model.extend({
defaults: {
id: 'local',
type: 'local',
name: 'Popcorn Time'
},
play: function (streamModel) {
App.vent.trigger('stream:local', streamModel);
},
getID: function () {
return this.id;
}
});
var DeviceCollect... | JavaScript | src/app/lib/device/generic.js | beldar/popcorn-app | gpl-3.0 | 2,726 | 114 | codeparrot/github-code |
625fe610590ca9b520a7567728b11b9e811cb26226fbf55366dae816d6dc68ac | package com.dragonphase.kits.commands;
import com.dragonphase.kits.Kits;
import com.dragonphase.kits.api.Kit;
import com.dragonphase.kits.api.KitException;
import com.dragonphase.kits.permissions.Permissions;
import com.dragonphase.kits.util.FlagType;
import com.dragonphase.kits.util.Message;
import com.dragonphase.ki... | Java | src/main/java/com/dragonphase/kits/commands/KitCommandExecutor.java | AddstarMC/Kits | gpl-3.0 | 20,987 | 431 | codeparrot/github-code |
e75167b8563f6e813696eae1f66c6da0feae60d33d967318fc3a1beb406dd742 | /*
* Copyright (c) 2005, 2006 Tama Communications Corporation
*
* This file is part of GNU GLOBAL.
*
* 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
*... | C | libutil/strhash.c | chenxiemin/xgtag | gpl-3.0 | 4,914 | 220 | codeparrot/github-code |
b77b8a9b604727f8c02a6f4a70ad6c4d86cced0561e0a2a281bbc08aed1b833e | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2019 Evan Debenham
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either vers... | Java | core/src/com/shatteredpixel/shatteredpixeldungeon/items/spells/InventorySpell.java | 00-Evan/shattered-pixel-dungeon-gdx | gpl-3.0 | 2,375 | 72 | codeparrot/github-code |
4b4b317fa45fcbc5c37e7ae99888f0a7a7b0efa5bfe2774da5389c75ad42277a | """
Powershell method to inject inline shellcode
Builds a metasploit .rc resource file to psexec the powershell command easily
Original concept from Matthew Graeber:
http://www.exploit-monday.com/2011/10/exploiting-powershells-features-not.html
Note: the architecture independent invoker was developed independentl... | Python | tools/evasion/payloads/powershell/shellcode_inject/psexec_virtual.py | Veil-Framework/Veil | gpl-3.0 | 9,237 | 185 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.