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 |
|---|---|---|---|---|---|---|---|---|
2e2ca1370d134786e3aec84d24091fde420cfc53d405509b0dcf6ccb8387970c | #ifndef MUSICWEBDJRADIOCATEGORYWIDGET_H
#define MUSICWEBDJRADIOCATEGORYWIDGET_H
/***************************************************************************
* This file is part of the TTK Music Player project
* Copyright (C) 2015 - 2022 Greedysky Studio
* This program is free software; you can redistribute it and/... | C | TTKModule/TTKWidget/musicToolsKits/musicwebdjradiocategorywidget.h | Greedysky/TTKMusicplayer | gpl-3.0 | 3,019 | 113 | codeparrot/github-code |
e87a8536a8ed07fc7bc25db5a4133567c0498a21e23798374899d56ff44cc518 | module MLSB.Eval where
import qualified Data.Map as Map
import Data.Functor.Foldable (Fix(..), Recursive(..), Corecursive(..))
import Data.Monoid((<>))
import Data.Map (Map, (!))
import MLSB.Types
data Val =
ValC Const
| ValFn (Val -> Val)
printVal :: Val -> String
printVal val =
case val of
ValC c ->... | Haskell | src/MLSB/Eval.hs | grwlf/ml-df | gpl-3.0 | 1,867 | 72 | codeparrot/github-code |
9b8d83d693342a7235ef2f9a49967a988b392688b6f3e1d5b3161e73d5789c8b |
/*
* This file is part of pcb2gcode.
*
* Copyright (C) 2009, 2010 Patrick Birnzain <pbirnzain@users.sourceforge.net>
*
* pcb2gcode 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 ... | C++ | drill.hpp | bkubicek/pcb2gcode | gpl-3.0 | 2,860 | 111 | codeparrot/github-code |
3e5e9bac94ae4ab08b6783bcf01c0b89d84adaae469bdad11702c9ef7c199231 | /*
* 08/11/2009
*
* DocumentRange.java - A range of text in a document.
*
* This library is distributed under a modified BSD license. See the included
* RSyntaxTextArea.License.txt file for details.
*/
package com.fr.design.gui.syntax.ui.rsyntaxtextarea;
/**
* A range of text in a document.
*
... | Java | designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/DocumentRange.java | fanruan/finereport-design | gpl-3.0 | 3,450 | 153 | codeparrot/github-code |
5d52df604487f49fcba009adc955f7eaf16576365ba6eeaa50a02d5495c046ed | package mobile.listaacessivel.fafica.listaacessvel.entidades;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
/**
* Created by ivan on 01/04/15.
*/
public class Lista {
private int id_lista;
private String descricao;
private String situacao;
private String data_cria... | Java | app/src/main/java/mobile/listaacessivel/fafica/listaacessvel/entidades/Lista.java | lw4z/ListaAcessivel | gpl-3.0 | 3,685 | 140 | codeparrot/github-code |
3755ffc995b4f87995169a3903c4399439c89360d48b6a9bb700aa2f03465e78 | <?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/**
* Contains information for a SOAP fault.
* Mainly used for returning faults from deployed functions
* in a server instance.
* @author Dietrich Ayala <dietrich@ganx4.com>
* @access public
*/
class soap_fault extends nusoap_base {
... | PHP | include/nusoap/class.soap_fault.php | mitani/dashlet-subpanels | gpl-3.0 | 2,120 | 88 | codeparrot/github-code |
98ca19f257bba8ee86f4b1d1630fc3f0c2255b482b1683a44dac1417691b62b1 | <?PHP
session_start();
if (!(isset($_SESSION['SESS_MEMBER_ID']) && $_SESSION['SESS_MEMBER_ID'] != '')) {
header("Location: login.php");
} else {
if ($_SESSION['SESS_MEMBER_ROLE'] != "admin") {
header("Location: index.php");
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "htt... | PHP | edituser.php | HaxxonHax/formsbuilder | gpl-3.0 | 5,801 | 130 | codeparrot/github-code |
a89c61333c927d9519bb2f3fb5982d86d8d70ebb7d35f95218c319d205454676 | /**
* LifterLMS Checkout Screen related events and interactions
*
* @package LifterLMS/Scripts
*
* @since 3.0.0
* @version 3.34.5
*/
( function( $ ) {
var llms_checkout = function() {
/**
* Array of validation functions to call on form submission
*
* @type array
* @since 3.0.0
* @vers... | JavaScript | assets/js/llms-form-checkout.js | gocodebox/lifterlms | gpl-3.0 | 12,594 | 578 | codeparrot/github-code |
68ee7eb8f949bda5afee23c4f420f142aec28a602c801fd31072d03dd90a3547 | /* xoreos - A reimplementation of BioWare's Aurora engine
*
* xoreos is the legal property of its developers, whose names
* can be found in the AUTHORS file distributed with this source
* distribution.
*
* xoreos is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Publ... | C++ | src/aurora/nwscript/variable.cpp | Supermanu/xoreos | gpl-3.0 | 9,699 | 428 | codeparrot/github-code |
53e9038266de8812bc63397e43a98fe99a93c1df92770bea49655470cf8c5363 | package projApp.formDTO;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.springframework.web.multipart.MultipartFile;
import projApp.model.event.Event;
/**
* @authors Pawe³ Miszkiel & Rafa³ Teodorowski
*
* PW, Wydzia³ Elektryczny - Informatyka - semestr VI
*
... | Java | AppProjZesp/src/main/java/projApp/formDTO/EventDocumentDTO.java | komet22/proj_zesp_sem5 | gpl-3.0 | 1,531 | 77 | codeparrot/github-code |
fb495dd05de735bf6ba066557722ceb5f0a2fa6183dec1cf755edc168d10e1e2 | // Copyright (C) 2001 - 2013 Rob Caelers & Raymond Penners
// All rights reserved.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) a... | C++ | ui/app/toolkits/gtkmm/widgets/TimerBoxGtkView.hh | rcaelers/workrave | gpl-3.0 | 3,343 | 140 | codeparrot/github-code |
51a54d34c70813867b4e5fcbfd11c196e42c3bc760baa9c18b0edcc13a1bd563 | package com.bioxx.tfc.Items.Tools;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.item.ItemStack;
import net.minecraft.util.MathHelper;
import net.minecraft.wor... | Java | src/Common/com/bioxx/tfc/Items/Tools/ItemSteelBucketRed.java | raymondbh/TFCraft | gpl-3.0 | 1,461 | 51 | codeparrot/github-code |
5f935622ac19e9f0985f6aaca47a6fb82d0fb899601e2b7fa764a7b35dd233e4 | # encoding: utf-8
class Article::Attribute < ActiveRecord::Base
include Sys::Model::Base
include Cms::Model::Base::Page
include Cms::Model::Base::Page::Publisher
include Cms::Model::Base::Page::TalkTask
include Sys::Model::Rel::Unid
include Sys::Model::Rel::Creator
include Cms::Model::Rel::Concept
inclu... | Ruby | app/models/article/attribute.rb | pingwei/CMS | gpl-3.0 | 1,229 | 45 | codeparrot/github-code |
5d74b26f5c6cdde0a0c0ae56c34570ab801a8d85a382258413a7b6b3a1f73408 | import discord
from discord.ext import commands
from .utils.chat_formatting import escape_mass_mentions, italics, pagify
from random import randint
from random import choice
from enum import Enum
from urllib.parse import quote_plus
import datetime
import time
import aiohttp
import asyncio
settings = {"POLL... | Python | cogs/general.py | jicruz/heroku-bot | gpl-3.0 | 17,117 | 434 | codeparrot/github-code |
79f257ec2c1548b501353044cf59168ff1d44bc95b258628f8604287c0ddc92c | #!/usr/bin/python3
import _thread
import RPi.GPIO as GPIO
import socket
import time
from time import sleep
from sys import exit
import datetime
#import MySQLdb
# Start task command
# sleep 30 && python /home/pi/Scripts/Sprinkler/Sprinkler.py > /home/pi/Scripts/Sprinkler/log.txt 2>&1
# Set GPIO output poi... | Python | server.py | Makerblaker/Sprinkler | gpl-3.0 | 4,160 | 193 | codeparrot/github-code |
34515dfa6fb2a77c623b182069c878f01194879d85e7995bbc64b325b4b69c0e | /*
* linklist.c - linked lists
*
* This file is part of zsh, the Z shell.
*
* Copyright (c) 1992-1997 Paul Falstad
* All rights reserved.
*
* Permission is hereby granted, without written agreement and without
* license or royalty fees, to use, copy, modify, and distribute this
* software and to distribute mo... | C | Sources/zsh-5.4.2/Src/linklist.c | mgood7123/UPM | gpl-3.0 | 10,837 | 460 | codeparrot/github-code |
e3a2aac44ca1b32849b9bf3ee1d77bd3d3a4ab58ce8b226205363535ca30b7eb | /* This file is part of Clementine.
Copyright 2010, David Sansome <me@davidsansome.com>
Clementine 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 optio... | C++ | src/internet/internetservice.cpp | Shedward/Clementine-copy | gpl-3.0 | 4,262 | 121 | codeparrot/github-code |
2e8d6ad6c50caf36c5166378920d29e4917c274a38b718df93c24dadd42930c7 | 'use strict';
angular.module('tucha')
.controller('GridCtrl', function ($rootScope, $scope, $location, $http, $timeout, states, columns) {
var stateName = $location.path().split('/')[1];
for (var i = 0; i < states.length; i++) {
if (states[i].name === stateName) {
$scop... | JavaScript | client/app/scripts/controllers/grid.js | aurhe/tucha | gpl-3.0 | 3,120 | 83 | codeparrot/github-code |
e6785508d656ed8153fd364e67524f01107c113a859c7396dd5b2efa15ad1c75 | // Copyright © 2014 Terry Mao, LiuDing All rights reserved.
// This file is part of gopush-cluster.
// gopush-cluster 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
// (... | GO | message/storage.go | Terry-Mao/gopush-cluster | gpl-3.0 | 1,903 | 62 | codeparrot/github-code |
2ede04bf196e0ae7bf052a0fb25e6099eec568f7595294a01efcba1a965025ec | /*
* Copyright (c) 2010 Red Hat, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is di... | Java | api/src/main/java/org/commonjava/sjbi/model/ArtifactRef.java | jdcasey/sjbi | gpl-3.0 | 3,538 | 153 | codeparrot/github-code |
beaca388c7cfe561947ba7099992a94deb4b4e4f217702a307db05896a624e2f | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; ch... | PHP | science3point0/science3point0 Plugins/buddypress/bp-themes/bp-default/header.php | figshare/science3point0 | gpl-3.0 | 5,113 | 108 | codeparrot/github-code |
1d69c6d38f1ba21fd0dce397b1ff3f25a25e42a78980adea9ca7557f30419940 | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strlcat.c :+: :+: :+: ... | C | j05/ex15/ft_strlcat.c | randrini/42Pool | gpl-3.0 | 1,402 | 51 | codeparrot/github-code |
b53fca22b72edacea932b5efc8e56c0abda1ff9a7ffdf6dcc8e57d0b22062eff | /**
* This file is part of OCPsoft SocialPM: Agile Project Management Tools (SocialPM)
*
* Copyright (c)2011 Lincoln Baxter, III <lincoln@ocpsoft.com> (OCPsoft)
* Copyright (c)2011 OCPsoft.com (http://ocpsoft.com)
*
* If you are developing and distributing open source applications under
* the GNU General Publ... | Java | services/src/main/java/com/ocpsoft/socialpm/util/crypt/MD5PasswordEncryptor.java | ocpsoft/socialpm | gpl-3.0 | 2,588 | 73 | codeparrot/github-code |
7942f6945b67210823243cdcc26cf94f5316a56afe8278e08168d04b2afb0fe5 |
#ifndef STL_XSPDEQUE_H_
#define STL_XSPDEQUE_H_
#include<semaphore.h>
#include<errno.h>
#include"thread/XSPMutex.h"
#include<bits/local_lim.h>
#include<stl/xdeque.h>
#include<thread/XSPTime.h>
#ifndef errno
extern int errno;
#endif
template<class V, class MUTEX=THREAD_MUTEX>
class CXSPDeque
{
public:
CXSPDeque(con... | C | stl/src/XSPDeque.h | dx01259/libxsp | gpl-3.0 | 5,523 | 326 | codeparrot/github-code |
d570b28200e57e396884858874887d7185a2c5b8616a3be2814035a47cd2aa61 | <!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<!-- ===================================================================================================
Instituto Municipal de Planeación y Competitividad (IMPLAN) de Torreón.
3er. generación de la Plataforma del Conocimiento
De... | HTML | indicadores-lerdo/sociedad-espacios-culturales-segun-imco.html | TRCIMPLAN/trcimplan.github.io | gpl-3.0 | 35,102 | 492 | codeparrot/github-code |
52d6062f915b88abdfcb36b8afc68f9813b3eeebff6361e86159f9a386eb09fc | package main
import (
"fmt"
)
/*767. Reorganize String
https://leetcode.com/problems/reorganize-string/description/
Given a string `S`, check if the letters can be rearranged so that two
characters that are adjacent to each other are not the same.
If possible, output any possible result. If not possible, retur... | GO | leetcode/golang/lc767-reorganize-string.go | openqt/algorithms | gpl-3.0 | 812 | 48 | codeparrot/github-code |
669a2c5640f27ebfe350259a96d4cf52720463caf9a826316d962e99c8b66800 | package com.idega.idegaweb.egov.bpm.presentation;
import is.idega.idegaweb.egov.bpm.IWBundleStarter;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Auto... | Java | src/java/com/idega/idegaweb/egov/bpm/presentation/DefaultCasesListCustomizer.java | idega/is.idega.idegaweb.egov.bpm | gpl-3.0 | 6,949 | 215 | codeparrot/github-code |
3e1cc704fdc2234c616db953319ffa9e5521fc55f3cb2b6013150317bbe85d27 | <?php
/**
* TrcIMPLAN - SMI Indicadores Matamoros Sociedad Rezago Educativo (Creado por Central:SmiLanzadera)
*
* Copyright (C) 2015 Guillermo Valdés 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 S... | PHP | lib/SMIIndicadoresMatamoros/SociedadRezagoEducativo.php | TRCIMPLAN/beta | gpl-3.0 | 9,780 | 266 | codeparrot/github-code |
e5435022542c64c9cac221a59b7e86b25733bf1e62ddec644517a9dad2b3af4c | package com.zhonghuasheng.basic.runner.commandline;
import com.itextpdf.text.BaseColor;
import com.itextpdf.text.DocumentException;
import com.itextpdf.text.Element;
import com.itextpdf.text.Rectangle;
import com.itextpdf.text.pdf.*;
import fr.opensagres.poi.xwpf.converter.pdf.PdfConverter;
import fr.opensagres.poi.xw... | Java | springboot/springboot-basic/src/main/java/com/zhonghuasheng/basic/runner/commandline/FirstCommandLineRunner.java | zhonghuasheng/JAVA | gpl-3.0 | 6,395 | 144 | codeparrot/github-code |
03a9b7d57d068da46ca796dc50ce743c28ff25d78e5de04768a94e2a40f70aa2 | // This file is part of Gate.
// Copyright (C) 2012-2015 Cyril Adrian <cyril.adrian@gmail.com>
//
// Gate 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 of the License.
//
// Gate is distributed i... | GO | src/gate/main/console/main.go | cadrian/gate | gpl-3.0 | 914 | 39 | codeparrot/github-code |
491b817d5e151facb6794d0c142aa89dccf1146337bf7c6d3eaf5ae1741cf9df | #pragma once
#include <mutex>
#include <condition_variable>
#include <queue>
#include <memory>
namespace messaging
{
struct message_base
{
message_base()
{
msgid = -1;
};
int msgid;
virtual ~message_base()
{}
};
template<typename Msg>
struct wrapped_message:
message_base
... | C | ILlib/src/messaging/include/guarded_queue.h | keesvp/OpenIL | gpl-3.0 | 5,117 | 247 | codeparrot/github-code |
40d201f021bbc8606d596eb6d02907fb215217f906179b64d47de66ac86a8c2d | module.exports = {
//---------------------------------------------------------------------
// Action Name
//
// This is the name of the action displayed in the editor.
//---------------------------------------------------------------------
name: "Run Script",
//-------------------------------------------------------... | JavaScript | actions/run_script.js | Bourbbbon/PickleRi6 | gpl-3.0 | 5,145 | 154 | codeparrot/github-code |
1ab412c8994867205e277399fccf8a3c48a03a61d96dd70a7b841b924c19736d | <?php
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
* Copyright (c) 2001-2014 *
* ... | PHP | ecrire/inc/rubriques.php | umibulle/romette | gpl-3.0 | 18,738 | 480 | codeparrot/github-code |
7b0e9fbe9ef2eecdec289e1abaf60accda661d42009bc3b9253415e9df47b265 | /****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtSystems module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licens... | C | actions/system/src/systeminfo/qnetworkinfo.h | Jmgr/actiona | gpl-3.0 | 5,368 | 145 | codeparrot/github-code |
be7e231202246a19b217cb8ffe231721f53ab2902e7eef637bd8c4763fc4e541 | /*
* #%~
* org.overture.ide.vdmpp.ui
* %%
* Copyright (C) 2008 - 2014 Overture
* %%
* 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... | Java | ide/vdmpp/ui/src/main/java/org/overture/ide/vdmpp/ui/wizard/VdmPpNewClassWizard.java | overturetool/overture | gpl-3.0 | 1,752 | 60 | codeparrot/github-code |
f0b63f1a2bde7d490f756f7e571ac004b1be0afa28538e03568d1e57dd408629 | package ch.judos.generic.games.navigation.model;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Point;
import ch.judos.generic.games.pathsearch.SimpleWayPoint;
import ch.judos.generic.games.pathsearch.WayPoint;
import ch.judos.generic.games.unitCoordination.ReservingUnitCoordination;
/**
* @author... | Java | test/ch/judos/generic/games/navigation/model/SpaceUnit.java | WaDosCh/WaDosUtil | gpl-3.0 | 1,958 | 77 | codeparrot/github-code |
ba565ec9f46ffabd5f6caffd09ca5df31b127bfcd3d9b9e0810e2b10ec04e84f | package eu.lausek.brainfaq;
import java.io.*;
/**
*
* @author lausek
*
*/
public class Main {
public static void main(String[] args) {
Program program = null;
String path = null;
if (args.length == 0) {
Logger.error("No file specified");
}
path = args[0];
try {
... | Java | src/eu/lausek/brainfaq/Main.java | lausek/brainfaq | gpl-3.0 | 716 | 42 | codeparrot/github-code |
82ba3414b5c0d594bb90f78edf3c076f2f07a8e01a121c14e3d6dadc0a9d34d1 | import { Plugin } from "../Plugin";
import { CommandHandler } from "../../matrix/CommandHandler";
import { PointsTracker } from "../../points/PointsTracker";
import { LogService, MatrixClient } from "matrix-bot-sdk";
/**
* Plugin for tracking an arbitrary number of points
*/
export class PointsPlugin implements Plug... | TypeScript | src/plugin/impl/PointsPlugin.ts | ENTS-Source/rocket-sheep | gpl-3.0 | 3,013 | 76 | codeparrot/github-code |
51df4ccb4fb805e6df3ecf24135b4bbeda119bed28d247a92b7d4dcd4385714f | #!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Created on 2013-10-11
#
# @author: Bartosz Nowak sztosz@gmail.com
#
# This file is licensed GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
from __future__ import unicode_literals
import unicodecsv
from datetime import datetime, timedelta
from pytz import timezone
from... | Python | DamageReports/views.py | sztosz/neonet | gpl-3.0 | 4,756 | 142 | codeparrot/github-code |
5c399518c37aae995afcd681e36da0565383378fa4e8c190b0f639c93e4ee463 | package com.humbertdany.tpproject.test;
import com.humbertdany.tpproject.util.binarystack.v1.BinaryStack;
import com.humbertdany.tpproject.util.binarystack.v1.Node;
import com.humbertdany.tpproject.util.binarystack.v2.TasBinaire;
import com.humbertdany.tpproject.util.factory.ArrayFactory;
import java.util.Arra... | Java | src/test/java/com/humbertdany/tpproject/test/TestBinaryStack.java | Humbertda/TP-AG51 | gpl-3.0 | 2,351 | 94 | codeparrot/github-code |
1b05be469ff4fadcd4b87e5d40bd825c33acae1d741d60ac67789c787d919be6 | '''
Scheduler essential class
'''
import types, socket
# vim: ft=python ts=4 sw=4 sta et sts=4 ai:
job_state = ['waiting','running','error','finished']
queue_state = ['active', 'hold']
host_state = ['up', 'down', 'error']
class BaseScheduler(object) :
'''
Base scheduler class
'''
def __init__(self, c... | Python | rocks_solid/scheduler/__init__.py | somsak/rocks-solid | gpl-3.0 | 6,356 | 201 | codeparrot/github-code |
3588dd63ba571332616249680e17cb1cf4ba3b7eb68c13e69ddb6b3ce9677280 | <?php
/*
CODICI DI ERRORE DELLA VALIDAZIONE
"1" ERRORE NELLA QUERY
-2 NESSUN UTENTE CON QUESTA PASSWORD
-3 UTENTE DISATTIVATO
-4 NESSUN GRUPPO ASSEGNATO A QUESTO UTENTE
"1"01 ERRORE NELLA CODIFICA DEI DATI (HACKING)
"1"02 FILTRO VALIDAZIONE ERRATO (HACKING)
"1"03 SESSIONE SCADUTA
*/
require_once ROOT_PATH."lib/user.ab... | PHP | config/users/user.Plone4.class.php | gisweb/GisClient-3 | gpl-3.0 | 10,698 | 301 | codeparrot/github-code |
609bb696c97a295bfa1185f519d2c7160c889e9b28b66390e6a9ef04d07fa51c | /*----------------------------------------------------------------------------/
/ Petit FatFs - FAT file system module R0.02a (C)ChaN, 2010
/-----------------------------------------------------------------------------/
/ Petit FatFs module is an open source software to implement FAT file system to
... | C | classes.old/PFatFs/utility/pff.c | jgvinholi/Amas | gpl-3.0 | 46,633 | 1,210 | codeparrot/github-code |
07164aab11b828bd6d7b079eb67efd0d6e6dcbdf9b3add12473b8c9e55ac5eb3 | package com.provence.web.dto;
public class NewsInfoDTO {
private Long idNsi;
private String titleNsi;
private String contentNsi;
private String path;
private String dateCreateNsi;
public Long getIdNsi() {
return idNsi;
}
public void setIdNsi(Long idNsi) {
this.idNsi = idNsi;
}
public String getTitleNsi... | Java | src/com/provence/web/dto/NewsInfoDTO.java | lhebj/provence | gpl-3.0 | 830 | 44 | codeparrot/github-code |
2736fd8b36d12816befe09ddb9bc7d346f745a96be8ee09b15c9d40375b4bcd7 | # Copyright 2016 The TensorFlow Authors. All Rights Reserved.
#
# 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 ... | Python | preprocessing/cifarnet_preprocessing.py | MingLin-home/Ming_slim | gpl-3.0 | 4,252 | 119 | codeparrot/github-code |
690677ed90e86c0e503af15bfe234ea56413ab257c17385eae894a54ecda20f3 | package de.wwu.muggl.instructions.bytecode;
import java.util.Stack;
import de.wwu.muggl.instructions.interfaces.Instruction;
import de.wwu.muggl.vm.Frame;
import de.wwu.muggl.vm.classfile.ClassFile;
import de.wwu.muggl.vm.exceptions.ExceptionHandler;
import de.wwu.muggl.vm.exceptions.NoExceptionHandlerFoundEx... | Java | muggl-core/src/de/wwu/muggl/instructions/bytecode/Athrow.java | wwu-pi/muggl | gpl-3.0 | 5,780 | 157 | codeparrot/github-code |
f042ff4cc35102ecc7c5c5e3aef77d650daf6a827a0e3e07e06b5924f94fa299 | <?php
/**
* Class to send recommendation e-mails
*
* @author A.G. Gideonse
* @version 1.6
* @copyright XirtCMS 2010 - 2012
* @package XirtCMS
*/
class Mail {
/**
* Creates a new recommendation mail for the given item
*
* @param $item The Content for the e-mail
*/
function __con... | PHP | components/com_content/helpers/Mail.php | Xirt/XirtCMS_1.6 | gpl-3.0 | 2,739 | 117 | codeparrot/github-code |
14ab9604504f81dee1df9c88000229be9f806929ed8f6e48d71f6d145aa8eadb | /*
===========================================================================
Doom 3 BFG Edition GPL Source Code
Copyright (C) 1993-2012 id Software LLC, a ZeniMax Media company.
This file is part of the Doom 3 BFG Edition GPL Source Code ("Doom 3 BFG Edition Source Code").
Doom 3 BFG Edition Source Code is free... | C++ | neo/sys/sys_local.cpp | DustinHLand/vkDOOM3 | gpl-3.0 | 7,351 | 271 | codeparrot/github-code |
1a35f3841ebb592bc59c7d9fd2a90fb89a79033db6c8f26f68fc166a19a2fd0b | package com.learn.springboot.validusername.strategies.impl;
import java.util.Arrays;
import java.util.Collection;
import com.learn.springboot.validusername.strategies.SuggestedWordsStrategy;
/**
*
* @author felipe
*
*/
public class RandomSuggestionSuggestedWordsStrategy implements SuggestedWordsStrategy {
... | Java | validusername/src/main/java/com/learn/springboot/validusername/strategies/impl/RandomSuggestionSuggestedWordsStrategy.java | nipanga/learn-validusername | gpl-3.0 | 688 | 36 | codeparrot/github-code |
43487e220f835461a7fdcf1ce4bb9b16ab2dc23b7bf3a31709fbd57c59365c7e | /*
* Copyright (C) 2016, Mike Walters <mike@flomp.net>
*
* This file is part of inspectrum.
*
* 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 | cursor.h | dominicgs/inspectrum | gpl-3.0 | 1,257 | 48 | codeparrot/github-code |
636c0318cf2e6b129e45f69fd3d6a197c07f2b54be198bb7689f53aaf2047a12 | # Copyright (c) 2007 RADLogic
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distr... | Python | lettuce_bunch/rad_util.py | griddynamics/bunch | gpl-3.0 | 26,792 | 909 | codeparrot/github-code |
dec7fb4f6fa811e05663a93e39e92c83a745758673f10072e0d595088921f1d2 | """
Copyright 2017 Ryan Wick (rrwick@gmail.com)
https://github.com/rrwick/Unicycler
This module contains functions relating to BLAST, which Unicycler uses to rotate completed circular
replicons to a standard starting point.
This file is part of Unicycler. Unicycler is free software: you can redistribute it and/or mod... | Python | unicycler/blast_func.py | rrwick/Unicycler | gpl-3.0 | 5,533 | 135 | codeparrot/github-code |
446d89088ad070fd56d3cc67224b5a5f8b82c81ff8e638c0e4b07a1a6b87d479 | /* ide-clang-private.h
*
* Copyright © 2015 Christian Hergert <christian@hergert.me>
*
* 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 optio... | C | src/plugins/clang/ide-clang-private.h | chergert/gnome-builder | gpl-3.0 | 2,573 | 53 | codeparrot/github-code |
cbdf8a82d2422d8b1ad11888b1d14fdc89919ccbed1fa63ed788013f105b9dd0 | /**
* Mandelbulber v2, a 3D fractal generator ,=#MKNmMMKmmßMNWy,
* ,B" ]L,,p%%%,,,§;, "K
* Copyright (C) 2017-18 Mandelbulber Team §R-==%w["'~5]m%=L.=~5N
* ,=mm=§M ]=4 yJKA"/-Nsaj "Bw,==,,
* This file is part of Mandelbul... | C | mandelbulber2/src/opencl_engine.h | rikardfalkeborn/mandelbulber2 | gpl-3.0 | 5,076 | 159 | codeparrot/github-code |
3bc1e18a9bb0e358bf69e59a668693a7afda5bd616f67537535aadad1954bad4 | using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
namespace Nepy.Core
{
//[TypeConverter(typeof(EnumToStringUsingDescription))]
/// <summary>
/// Part of Speech enums
/// </summary>
[Flags]
public enum POSType : int
{
/// <summary>... | C# | Nepy.Core/POSType.cs | tonyqus/nepy | gpl-3.0 | 4,636 | 220 | codeparrot/github-code |
2dcedc5670e637b9ebfb61e53db9116c8e63fca55c257917837e26206d1199c9 | /*
* Copyright (C) 2014 The Android Open Source Project
*
* 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 app... | Java | frameworks/base/services/core/java/com/android/server/net/DelayedDiskWrite.java | s20121035/rk3288_android5.1_repo | gpl-3.0 | 2,931 | 93 | codeparrot/github-code |
559655e61539643f7a32a8b66e13711405052bfbe22eb3d6b3152164d0298eea | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
/**
* Created by kib357 on 22/01/16.
*/
class copy {
static arrayStructure(target, source, exclude) {
if (!Array.isArray(target) || !Array.isArray(source)) {
throw new TypeError('copy.arrayStructure cannot be ca... | JavaScript | lib/blank-js-core/utils/copy.js | getblank/blank-node-worker | gpl-3.0 | 1,810 | 56 | codeparrot/github-code |
989c9b4d5140f96910502dfe629ef648f2c1851e141e11fe9676d235d99c35ab | package com.ouser.logic;
import java.util.ArrayList;
import java.util.List;
import android.graphics.Bitmap;
import android.os.AsyncTask;
import com.ouser.cache.Cache;
import com.ouser.event.EventArgs;
import com.ouser.event.EventCenter;
import com.ouser.event.EventId;
import com.ouser.event.EventListener... | Java | src/com/ouser/logic/ChatLogic.java | tassadar2002/ouser | gpl-3.0 | 16,112 | 546 | codeparrot/github-code |
60996f22cb428a5098ca3def4c25ff4d40790171df73f417fde17ea2ad1a7869 | /*******************************************************************************
* Copyright (C) 2017-2022 Theodore Chang
*
* 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 ... | C++ | Constraint/Constraint.cpp | TLCFEM/suanPan | gpl-3.0 | 1,976 | 47 | codeparrot/github-code |
f1b25269cf7fbe54ecfcc0ecd79a6e96874f614692db58d9db13d925141a861b |
#pragma warning disable 1587
using EloBuddy;
using LeagueSharp.SDK;
namespace ExorAIO.Champions.Sona
{
using System;
using System.Linq;
using ExorAIO.Utilities;
using LeagueSharp;
using LeagueSharp.SDK;
using LeagueSharp.SDK.UI;
using LeagueSharp.SDK.Utils;
/// <summary>
///... | C# | Core/SDK Ports/ExorAIO/AIO/Champions/Sona/Properties/Modes/PvP/Killsteal.cs | eliteironlix/portaio2 | gpl-3.0 | 2,150 | 65 | codeparrot/github-code |
d528626511ea36360a6378d80c9e0497578110ced7274cfbb01bc5be17547124 | import sys
import os
import re
def human_size_to_byte(number):
"""
Convert number of these units to bytes, ignore case:
b : 512
kB : 1000
K : 1024
mB : 1000*1000
m : 1024*1024
MB : 1000*1000
M : 1024*1024
GB : 1000*1000*1000
G : 1024*1024*1024
TB : 1000*... | Python | lib.py | iesugrace/pycmd | gpl-3.0 | 24,434 | 867 | codeparrot/github-code |
a35ca3fd8891ecb83d74927d3d80a2bd3a6c42582542cd10235f9d967d0507b1 | /**
* This file is part of the "clip" project
* Copyright (c) 2018 Paul Asmuth
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the ... | C++ | src/graphics/draw_cmd.cc | paulasmuth/fnordmetric | gpl-3.0 | 4,047 | 156 | codeparrot/github-code |
c43c84dfdc6b6421a6b691aca1c46668f70cf25bed0a89e604b06c47ce4602ca | /*
* clprover
* Copyright (C) 2009 Lucas Moauro
*
* 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 di... | C++ | gui/dialogsimplificacion.cpp | lagenar/clprover | gpl-3.0 | 1,966 | 65 | codeparrot/github-code |
ced1fc0dc276fd77dfd5a25cbbe210e9dd09f91f99762968bd141deefe3a8d9c | #!/bin/bash
# Author: Bruno Queiros (bqueiros@gmail.com)
# Version: 1.0
# Date: 05/03/2017
# Notes: Simple script that allows to choose the type of keyboard to use, and mounts the 2 NAS
#--bg-center bg-fill bg-max --bg-scale --bg-title
#feh --bg-fill /home/bruno/Dropbox/Pessoal/Wallpapers/404_wallpaper.png
#/usr/X11... | Shell | scripts/autostart.sh | lnxslck/home | gpl-3.0 | 1,495 | 53 | codeparrot/github-code |
7195ff3989349f59e37241e9efd9ad79e18bbf537a6da699e0a625f239e2c873 | /*
* 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.spacecard.dao;
import com.spacecard.image.Image;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util... | Java | src/java/com/spacecard/dao/ImageDAO.java | oyekunlei/spacecard | gpl-3.0 | 1,685 | 61 | codeparrot/github-code |
8649dfde61f014b0ea8893847cda7239368e66ddbfe998934534df5b2dc97319 | /*
* NET4: Implementation of BSD Unix domain sockets.
*
* Authors: Alan Cox, <alan@lxorguk.ukuu.org.uk>
*
* 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 Li... | C | net/unix/af_unix.c | Demicro/SM-J510FN_KERNEL | gpl-3.0 | 62,981 | 2,653 | codeparrot/github-code |
8fbcac6ff6946158596c42860b3c6413112deec5cb1b11f29748bafb733957bf | /*
* Copyright 2010 Harvard University Library
*
* This file is part of OTS-Schemas.
*
* OTS-Schemas 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/edu/harvard/hul/ois/ots/schemas/pds/PdsDate.java | opf-labs/ots-schema | gpl-3.0 | 2,400 | 92 | codeparrot/github-code |
1b981f4dc2f8e7c84dd7a7c6d84c58f6160b8edad52c463da0599977589c9f71 | package top.trumeet.common.event.type;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import top.trumeet.common.R;
import top.trumeet.common.event.Event;
/**
* 对应 {@link top.trumeet.common.event.Event.Type#SendMessage}
*
* Created by Trumeet ... | Java | common/src/main/java/top/trumeet/common/event/type/NotificationType.java | Trumeet/MiPushFramework | gpl-3.0 | 1,574 | 57 | codeparrot/github-code |
29c3520bf3cbe5ac5a6655cd0ad158fda92569a6eeb39af0f9ea0f07986f5e0c | /*
* 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 classmap;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import javafx.application.Application... | Java | ClassMap2/src/classmap/ClassMap.java | jacob-novosad/eHacks_2017_SIUEMAP | gpl-3.0 | 7,547 | 191 | codeparrot/github-code |
d791ad1f2561699fdd1847acc301ab86200e1f5aadc510d3faed71fbef9e9300 | /*
// Buildbot Instance Manager
// Copyright (c) 2014, Adam Rehn
//
// ---
//
// Base class for classes representing buildbot instances.
//
// ---
//
// This file is part of Buildbot Instance Manager.
//
// Buildbot Instance Manager is free software: you can redistribute it and/or
// modify it under the terms o... | C++ | BuildbotInstance.cpp | adamrehn/buildbot-instance-manager | gpl-3.0 | 7,210 | 239 | codeparrot/github-code |
f8916c9992032c6b00836df75626de6777426e094b9569aaabe830c2f7bbc40b | /* libmemdisc.c: discovery of a unique malloc call
*
* Copyright (c) 2012..2018 Sebastian Parschauer <s.parschauer@gmx.de>
*
* This file may be used subject to the terms and conditions of the
* GNU General Public License Version 3, or any later version
* at your option, as published by the Free Software Founda... | C | src/linuxhooking/libmemdisc.c | ugtrain/ugtrain | gpl-3.0 | 19,997 | 791 | codeparrot/github-code |
832181dc403649f3f8a8ac7b3badf3694ae10f46b78dde0952c9326b6b000257 | import logging
from mimeprovider.documenttype import get_default_document_types
from mimeprovider.client import get_default_client
from mimeprovider.exceptions import MimeException
from mimeprovider.exceptions import MimeBadRequest
from mimeprovider.mimerenderer import MimeRenderer
from mimeprovider.validators impor... | Python | mimeprovider/__init__.py | udoprog/mimeprovider | gpl-3.0 | 5,322 | 175 | codeparrot/github-code |
6a4e4fc217c57606b9177b227adfff6a5069948d499fef638bde497992b99350 | local function delmsg (arg,data)
for k,v in pairs(data.messages_) do
tdcli.deleteMessages(v.chat_id_,{[0] = v.id_})
end
end
local function run(msg, matches)
if matches[1] == 'del' then
if msg.chat_id_:match("^-100") then
if is_owner(msg) or is_mod(msg) then
if tonumber(matches[2]) > 10... | Lua | plugins/del.lua | alireza784/permag.ir | gpl-3.0 | 1,102 | 38 | codeparrot/github-code |
94ffe1441dc687c7386a1d20348e62e51affdfd62b114c26f81a1baa334d5b4d | import zmq
from crpropa import Module
class SendCandidateProperties( Module ):
""" Sends candidate proporties given by the function
```extract_func( candidate )``` over the network
to the server on ```ip_port```
"""
def __init__( self, ip_port, extract_func ):
Module.__init__( self... | Python | python_modules/network.py | adundovi/CRPropa3-scripts | gpl-3.0 | 1,236 | 44 | codeparrot/github-code |
fec164647b6029d6440d7a1fb64c6cfbcbca1a648a6e1c4b3420d5b054afb4ae | /*
Copyright (C) 2012 Jon Macey
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 distribu... | C | include/EGLWindow.h | julitopower/openGlProjectTemplate | gpl-3.0 | 4,318 | 136 | codeparrot/github-code |
6a7c5ff8b90e60f71d907fc2177d9da92e85146ea46fa84862b608e3aea019fd | <?php
/**
* Debug auto logging class (destructor-based)
*
* @author Yuriy Nasretdinov <nasretdinov@gmail.com>
* @copyright Copyright (c) 2013 Christopher Han
* @package GitPHP
*/
class GitPHP_DebugAutoLog
{
private $name;
public function __construct($name = null)
{
if (is_null($name)) {
if (PHP_VERSION_I... | PHP | BoxonGit/include/DebugAutoLog.class.php | Boxon-/bxn-site | gpl-3.0 | 915 | 34 | codeparrot/github-code |
e0f11f522c0d324307171d1d99b735819210a1a91396b039bc0a357729058321 | // This file is part of MuMax, a high-performance micromagnetic simulator.
// Copyright 2011 Arne Vansteenkiste and Ben Van de Wiele.
// Use of this source code is governed by the GNU General Public License version 3
// (as published by the Free Software Foundation) that can be found in the license.txt file.
// N... | GO | src/hotspin-core/common/strconv.go | godsic/hotspin | gpl-3.0 | 1,423 | 61 | codeparrot/github-code |
7bec0755458a2a08adc2924e9e159b6097ca98f4c0fb789672806df561f6ad86 | /*
* Dmaengine driver base library for DMA controllers, found on SH-based SoCs
*
* extracted from shdma.c and headers
*
* Copyright (C) 2011-2012 Guennadi Liakhovetski <g.liakhovetski@gmx.de>
* Copyright (C) 2009 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
* Copyright (C) 2009 Renesas Solutions, Inc. All r... | C | include/linux/shdma-base.h | williamfdevine/PrettyLinux | gpl-3.0 | 4,522 | 144 | codeparrot/github-code |
64d1caef7f41a5b03c1e6911e556d05d2be8cb5cac967e5f2c155c41bfdd3b05 | // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) braces deadcode fieldsfirst
package net.minecraft.src;
// Referenced classes of package net.minecraft.src:
// EntityAIBase, EntityTameable, PathNavigate, En... | Java | mcp50/temp/src/minecraft_server/net/minecraft/src/EntityAIFollowOwner.java | sethten/MoDesserts | gpl-3.0 | 3,605 | 115 | codeparrot/github-code |
0092ff3eeffdbf43df466e9095443fff664f9d11141f9241a059dc5d8c3bc199 | package nl.steenbrink.kaasmod.fluid;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.IIcon;
import net.minecraftforge.fluids.Fluid;
import net.minecraftforge.fluids.FluidStack;
import nl.steenbrink.kaasmod.init.ModFluids;
public class FluidCrafting extends Fluid {
public FluidCrafting(String fl... | Java | src/main/java/nl/steenbrink/kaasmod/fluid/FluidCrafting.java | STEENBRINK/Kaasmod-2-1.7.10 | gpl-3.0 | 3,230 | 68 | codeparrot/github-code |
1029b17d9e17af2e5e7dc2db29400acd4da065dcac2f6eb6bf0db7b620f69367 | var http = require('supertest');
var shared = require('../shared');
var server = require('../app');
var app;
describe('v2 user#page', function () {
before(function (done) {
server(function (data) {
app = data;
done();
});
});
it('should show user index', function (done) {
var req = http(a... | JavaScript | test/v2/user/page.js | calidion/server.xiv.im | gpl-3.0 | 695 | 32 | codeparrot/github-code |
2ff0021a6ee85c221eb91f2f4925bd97113427dab5fb19362199969349fff7bd | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- xml-patterns.qdoc -->
<title>XQuery | Qt XML Patterns 5.7</title>
<link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
<script type="text... | HTML | Doc/qtxmlpatterns/xmlprocessing.html | angeloprudentino/QtNets | gpl-3.0 | 54,104 | 487 | codeparrot/github-code |
85729d63e968aeaf2cd24bce775da9c730de67c82854e61cb54f4867b8f6c14f | #!/usr/bin/python2
import threading
from systemd import journal
from threading import Thread
import smtplib
import email.utils
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
class Mailer(threading.Thread):
"""
Mailer
:desc: Class that sends an email
Extends Thread
... | Python | denotify/mailer.py | gkarakou/systemd-denotify | gpl-3.0 | 8,509 | 172 | codeparrot/github-code |
a91906fabfa95450947dc105ea688dfb30b5873486a248e29c1214c05bf16cdd | /*=========================================================================
Program: ParaView
Module: pqFileDialogEventTranslator.h
Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under the terms ... | C | ThirdParty-0.1/ParaView-5.0.1/Qt/Core/pqFileDialogEventTranslator.h | HopeFOAM/HopeFOAM | gpl-3.0 | 2,235 | 71 | codeparrot/github-code |
f9d5fd28088fc736fb5bcfd395bf114edc644c77444df3bb6f8a3baed81dc52b | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
import java.util.ArrayList;
/**
* Created by kaaml on 03.03.16.
*/
//package ClientServiceThread;
public class ClientServiceThread extends Thread {
//Thread activeThread = null;
Socket client... | Java | src/ClientServiceThread.java | Kaaml/laboratoria | gpl-3.0 | 4,680 | 147 | codeparrot/github-code |
286a14d027c07ef51beed2c6224dafa637b1d7845066ab5a53248f967a73d71f | /*
* PCBIT-D device driver definitions
*
* Copyright (C) 1996 Universidade de Lisboa
*
* Written by Pedro Roque Marques (roque@di.fc.ul.pt)
*
* This software may be used and distributed according to the terms of
* the GNU General Public License, incorporated herein by reference.
*/
#ifndef PCBIT_H
#define PCB... | C | drivers/staging/i4l/pcbit/pcbit.h | williamfdevine/PrettyLinux | gpl-3.0 | 4,456 | 184 | codeparrot/github-code |
0630ac33dc334a4420580eb22ad8cc5651f6a99d2ea5c5a17559bd2f24ea8e37 | /*
* Samba Unix/Linux SMB client library
*
* Copyright (C) Gregor Beck 2011
*
* 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 l... | C | source3/utils/net_registry_check.c | kernevil/samba | gpl-3.0 | 31,613 | 1,325 | codeparrot/github-code |
0b0a356281b56b95e4e5645c684e35808f6b0c9670d5b0c36abc8859f2af9055 | package tr.com.arf.toys.view.converter.system;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.FacesConverter;
import tr.com.arf.framework.view.converter._base.BaseConverter;
import tr.com.arf.toys.db.model.system.Demirbas;
import tr.com.arf.toys.service... | Java | Toys/JavaSource/tr/com/arf/toys/view/converter/system/DemirbasConverter.java | TMMOB-BMO/TOYS | gpl-3.0 | 1,343 | 47 | codeparrot/github-code |
5ce91c42dca6dfded3bd8366b07dd07ea32971ab98c4a3d6a78eaa77aec5fad3 | //
// Stingray Software Extension Classes
// Copyright (C) 1997 Steve Schauer
// Copyright (C) 1997 Stingray Software Inc.
// All Rights Reserved.
//
// This source code is only intended as a supplement to the
// Stingray Extension Class product.
// See the SEC help files for detailed information
// regardin... | C++ | src/COM/softing/fc/CE/oe/EditPaste.cpp | MECTsrl/ATCMcontrol_Engineering | gpl-3.0 | 6,854 | 261 | codeparrot/github-code |
e30de9532930f254f772ddb1e1c5d1aa1febe626f8267998cab2c64cc37ec31f | #include <wx/wx.h>
#include <wx/statline.h>
#include <wx/event.h>
#include <wx/control.h>
#include <wx/combobox.h>
#include <wx/radiobut.h>
#include <wx/spinctrl.h>
#include "core/instance.hpp"
#include "core/moviedata.hpp"
#include "core/memorywatch.hpp"
#include "core/memorymanip.hpp"
#include "core/ui-services.hpp"... | C++ | src/platform/wxwidgets/editor-memorywatch.cpp | bentley/lsnes | gpl-3.0 | 23,930 | 722 | codeparrot/github-code |
4af295871a69611f0a2615c79f5a51037f284bf2213cb3f7690740df3e926dd9 | # frozen_string_literal: true
# Copyright 2018 Tristan Robert
# This file is part of Fog::Proxmox.
# Fog::Proxmox 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 yo... | Ruby | lib/fog/identity/proxmox/models/pools.rb | tristanrobert/fog-proxmox | gpl-3.0 | 1,214 | 45 | codeparrot/github-code |
39119ae1a8321e79ab02a9e97a42246eccd0bb8081e1dd476405bed7053e63b0 | /*
* Copyright 2012 Red Hat Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, d... | C | drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gk104.c | williamfdevine/PrettyLinux | gpl-3.0 | 2,660 | 90 | codeparrot/github-code |
80de83890c0ad94f93223735522a2a3dcc97be87c8d73e24df30395ec0824797 | // $Id$
/*
* CraftBook Copyright (C) 2010 sk89q <http://www.sk89q.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 late... | Java | src/main/java/com/sk89q/craftbook/mech/LightSwitch.java | wizjany/craftbook | gpl-3.0 | 7,493 | 196 | codeparrot/github-code |
b4d82c30ae6167502243d43cc55388fc2ceb2a8993b9b9428f185d3959b6cfae | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
namespace Debugging
{
/// <summary>
/// A debug logger
/// </summary>
public class Logger : TraceListener
{
/// <summary>
/// Gets or set the extension of the files created
/// </summary>
public string Extension { ... | C# | Debugging/Logger.cs | karv/Art-of-Meow | gpl-3.0 | 3,643 | 146 | codeparrot/github-code |
ee4a0cf5bc4f507d9192f0af2f1bcae901efb9c71f4e771fb3af7ffcdad76a4b | /*eslint-env browser */
// main dannybot script
const mail = require('./mail');
const storage = require('electron-json-storage');
const fs = require('fs');
const q = require('q');
var readFile = q.nbind(fs.readFile);
/* Function to run when DOM loaded */
function ready() {
init_tab_handler();
show_counts();... | JavaScript | src/dannybot.js | dannyob/dannybot | gpl-3.0 | 4,042 | 137 | codeparrot/github-code |
be062d267eac0c12bb6845b48341528c0f7dff468ff09b8e6b093db95b546af5 | --Begin Utils.lua By #syteam :)
function serialize_to_file(data, file, uglify)
file = io.open(file, 'w+')
local serialized
if not uglify then
serialized = serpent.block(data, {
comment = false,
name = '_'
})
else
serialized = serpent.dump(data)
end
file:write(serialized)
file... | Lua | bot/utils.lua | Startg/security | gpl-3.0 | 16,037 | 674 | codeparrot/github-code |
5118525971de38b97512725d9f2441e07af9e060f539f51b5ec53e027b81547a | <?php
/**
* This is the model class for table "scenes".
*
* The followings are the available columns in table 'scenes':
* @property string $id
* @property boolean $enabled
* @property string $name
* @property boolean $log
* @property string $firstrun
* @property string $lastrun
* @property string $comments
... | PHP | domotiyii/protected/models/Scenes.php | DomotiGa/DomotiYii | gpl-3.0 | 5,382 | 180 | codeparrot/github-code |
f3c2301e18217b0fe2154fad31e4a1dc844bd55b045074802c11e1cc30aa13fc | <?php
include 'vars.php';
include 'verifysession.php';
if ($SessionIsVerified == "1") {
include 'connect2db.php';
include 'functions.php';
// Do actions here.
$OldSMBPassword = $link->real_escape_string(trim($_REQUEST['OldSMBPassword']));
$NewSMBPassword = $link->real_escape_string(trim($_REQUEST['NewSMBPassword'... | PHP | jane/ChangeSMBPassword.php | wayneworkman/jane | gpl-3.0 | 1,710 | 63 | codeparrot/github-code |
26872dcd6b864a5308972afc9cd245b5bcc8d6625b14d485662b7042453e2b10 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Javascript on Fibe... | HTML | html/d2/de9/interfaceSslServer-members.html | verdantyang/fibjs_docs | gpl-3.0 | 9,739 | 147 | codeparrot/github-code |
740227d835b9bb18cb564e2dfbb12f877e3787d603ec020261c34b7a558108ce | // XTPShortcutBarPopup.h interface for the CXTPShortcutBarPopup class.
//
// This file is a part of the XTREME SHORTCUTBAR MFC class library.
// (c)1998-2012 Codejock Software, All Rights Reserved.
//
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
// RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WIT... | C | PMEditor/libs/Xtreme_ToolkitPro_v15.3.1/Source/ShortcutBar/XTPShortcutBarPopup.h | atlaser/Tools | gpl-3.0 | 1,818 | 66 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.