repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
DanielPollithy/bluetooth_drone
drone.py
284
from multiprocessing import Process import client import drone_poller def run(): p = Process(target=drone_poller.run) p.start() client.run() p.join() if __name__ == '__main__': try: run() except KeyboardInterrupt: print('[x] quitting...')
gpl-3.0
xushiwei/fibjs
vender/src/v8/src/compiler/js-generic-lowering.cc
20876
// Copyright 2014 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. #include "src/code-stubs.h" #include "src/compiler/common-operator.h" #include "src/compiler/graph-inl.h" #include "src/compiler/js-generic-lowering.h" ...
gpl-3.0
blueboxgroup/ansible-modules-core
cloud/docker/docker.py
74584
#!/usr/bin/python # (c) 2013, Cove Schneider # (c) 2014, Joshua Conner <joshua.conner@gmail.com> # (c) 2014, Pavel Antonov <antonov@adwz.ru> # # This file is part of Ansible, # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the...
gpl-3.0
robmyers/like-that-generally
processing-projects/neoplastic_circle_triangle_square_grow_2d_sequential/applet/neoplastic_circle_triangle_square_grow_2d_sequential.java
7514
import processing.core.*; import processing.candy.*; import processing.xml.*; import java.applet.*; import java.awt.*; import java.awt.image.*; import java.awt.event.*; import java.io.*; import java.net.*; import java.text.*; import java.util.*; import java.util.zip.*; import javax.sound.midi.*; import javax.sound.midi...
gpl-3.0
manisandro/gImageReader
gtk/src/main.cc
3677
/* -*- Mode: C++; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */ /* * main.cc * Copyright (C) 2013-2022 Sandro Mani <manisandro@gmail.com> * * gImageReader 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 Softwa...
gpl-3.0
ursfassler/rizzly
src/ast/pass/linker/SubLinker.java
2021
/** * This file is part of Rizzly. * * Rizzly 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. * * Rizzly is distributed i...
gpl-3.0
MyCoRe-Org/mycore
mycore-wfc/src/main/java/org/mycore/wfc/actionmapping/MCRDecision.java
1865
/* * This file is part of *** M y C o R e *** * See http://www.mycore.de/ for details. * * MyCoRe 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)...
gpl-3.0
SamuelGjk/GComic
app/src/main/java/moe/yukinoneko/gcomic/module/download/tasks/DownloadTasksActivity.java
7185
/* * Copyright (C) 2016 SamuelGjk <samuel.alva@outlook.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * ...
gpl-3.0
sungju/pycrashext
source/lockup.py
8689
""" Written by Daniel Sungju Kwon """ from __future__ import print_function from __future__ import division from pykdump.API import * from LinuxDump import Tasks from LinuxDump.trees import * import crashcolor import sys def getKey(rqobj): return rqobj.Timestamp def getDelayKey(taskobj): return tasko...
gpl-3.0
btamilselvan/tamils
ndbweb/src/app/country/country.component.ts
1337
import {Component, OnInit} from '@angular/core'; import {Country} from './country'; import {CountryService} from './country.service'; import {Location} from '@angular/common'; import {FormsModule} from '@angular/forms'; import {CountryFilterPipe} from './country-filter.pipe'; import 'rxjs/add/operator/switchMap'; impor...
gpl-3.0
CCChapel/ccchapel.com
CMS/Old_App_Code/CMSModules/ContactManagement/Extenders/ContactGroupGeneralExtender.cs
6162
using System; using System.Linq; using System.Threading.Tasks; using System.Web.UI; using CMS; using CMS.Base; using CMS.ExtendedControls; using CMS.ExtendedControls.ActionsConfig; using CMS.FormControls; using CMS.Helpers; using CMS.OnlineMarketing; using CMS.UIControls; [assembly: RegisterCustomClass("ContactGroup...
gpl-3.0
VertigeASBL/genrespluriels
ecrire/configuration/logos.php
2379
<?php /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * * Copyright (c) 2001-2013 * * ...
gpl-3.0
tagoonp/rmis
secretary/menu_user.php
1170
<? session_start(); if($_SESSION['id'] == ""){ header("location:../index.php"); exit(); }else if ($_SESSION['status_name'] != "Secretary"){ echo "Secretary!"; exit(); } require "config.inc.php"; $sql_ec = "SELECT * FROM officer as r inner join prefix as p on p.id_prefix =r.id_prefix WHERE id_off = '".$_SESSION['id']....
gpl-3.0
dscafati/unicen-promoting
src/main/java/com/unicen/app/ahp/Decision.java
1181
package com.unicen.app.ahp; public class Decision implements Comparable<Decision> { private String schoolName; private String cityName; private Integer schoolId; private double probability; public Decision (Integer schoolId, String schoolName, String cityName, double probability) { this.setSchoolId(schoolId)...
gpl-3.0
mborho/rem
main.go
842
// rem - A tool to remember things on the command line. // Copyright (C) 2015 Martin Borho (martin@borho.net) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Licens...
gpl-3.0
Wolframe/Wolframe
src/provider/AAAAproviderImpl.hpp
5755
/************************************************************************ Copyright (C) 2011 - 2014 Project Wolframe. All rights reserved. This file is part of Project Wolframe. Commercial Usage Licensees holding valid Project Wolframe Commercial licenses may use this file in accordance with the Project ...
gpl-3.0
qtproject/qt-labs-vstools
src/qtwizard/Wizards/ProjectWizard/Console/ConsoleWizard.cs
3819
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt VS Tools. ** ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ ** Commercial License Usage ** Licensees holding valid commercial Qt license...
gpl-3.0
kiwi3685/kiwitrees
library/KT/Census/CensusOfFrance1896.php
1778
<?php /** * Kiwitrees: Web based Family History software * Copyright (C) 2012 to 2022 kiwitrees.net * * Derived from webtrees (www.webtrees.net) * Copyright (C) 2010 to 2012 webtrees development team * * Derived from PhpGedView (phpgedview.sourceforge.net) * Copyright (C) 2002 to 2010 PGV Development Team * ...
gpl-3.0
Alberto-Beralix/Beralix
i386-squashfs-root/usr/share/pyshared/orca/scripts/apps/notify-osd/script.py
3625
# Orca # # Copyright 2009 Eitan Isaacson # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This library is ...
gpl-3.0
jrialland/parserjunior
old/parser/src/main/java/net/jr/parser/impl/ActionTable.java
27818
package net.jr.parser.impl; import net.jr.common.Symbol; import net.jr.lexer.Lexemes; import net.jr.marshalling.MarshallingCapable; import net.jr.marshalling.MarshallingUtil; import net.jr.parser.Grammar; import net.jr.parser.Rule; import net.jr.util.StringUtil; import net.jr.util.table.AsciiTableView; import net.jr.u...
gpl-3.0
boviq/boviq
database/migrations/2016_05_01_083758_create_attachments_table.php
711
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateAttachmentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('attachments', function (Blueprint $table) { ...
gpl-3.0
arktools/ardupilotone
Tools/ArdupilotMegaPlanner/Log.cs
39678
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Reflection; using System.Text; using System.Windows.Forms; using System.IO.Ports; using System.IO; using System.Text.RegularExpressions; using KMLib; using KMLib.Feature; usin...
gpl-3.0
gohdan/DFC
known_files/hashes/bitrix/modules/statistic/lang/ru/admin/event_dynamic_list.php
61
Bitrix 16.5 Business Demo = 2177877d6c25bfa279a0b4021b4f23b3
gpl-3.0
masterucm1617/botzzaroni
BotzzaroniDev/src/icaro/aplicaciones/informacion/gestionPizzeria/CalendarUtil.java
21074
package icaro.aplicaciones.informacion.gestionPizzeria; /* * net/balusc/util/CalendarUtil.java * * Copyright (C) 2007 BalusC * * This program is free software: you can redistribute it and/or modify it under the terms of the * GNU Lesser General Public License as published by the Free Software Foundation, eithe...
gpl-3.0
astra-toolbox/astra-toolbox
python/astra/plugins/__init__.py
1086
# ----------------------------------------------------------------------- # Copyright: 2010-2022, imec Vision Lab, University of Antwerp # 2013-2022, CWI, Amsterdam # # Contact: astra@astra-toolbox.com # Website: http://www.astra-toolbox.com/ # # This file is part of the ASTRA Toolbox. # # # The ASTRA Toolbo...
gpl-3.0
projectestac/intraweb
intranet/modules/Content/lib/Content/ContentType/PageNavigation.php
2241
<?php /** * Content prev- & next-page plugin * * @copyright (C) 2010 - 2011 Sven Strickroth * @link http://github.com/zikula-modules/Content * @version $Id$ * @license See license.txt */ class Content_ContentType_PageNavigation extends Content_AbstractContentType { function getTitle() { return $...
gpl-3.0
ryanbaw/yetris2
src/Engine/InputManager.hpp
1628
#ifndef INPUTMANAGER_H_DEFINED #define INPUTMANAGER_H_DEFINED #include <string> #include <map> /// namespace InputManager { /// Attaches #name to #key. void bind(std::string name, int key); /// Removes all keybindings for #name. void unbind(std::string name); /// Tells if there's a #name bound to a key. bool ...
gpl-3.0
EasterTheBunny/ourdistrict
Gruntfile.js
4357
var pkgjson = require("./package.json") var config = { pkg: pkgjson, app: 'bower_components', dist: 'src/main/webapp/static', src: 'src/main/webapp/assets' } module.exports = function(grunt) { // Configuration grunt.initConfig({ config: config, pkg: config.pkg, bower: grunt.file.readJSON("./.bowerrc"), ...
gpl-3.0
ClassicRockFan/ShockWave-Engine
src/com/ClassicRockFan/ShockWave/engine/entities/entityComponent/rendering/SmartMove.java
2084
package com.ClassicRockFan.ShockWave.engine.entities.entityComponent.rendering; import com.ClassicRockFan.ShockWave.engine.core.Input; import com.ClassicRockFan.ShockWave.engine.core.math.Vector3f; import com.ClassicRockFan.ShockWave.engine.entities.entityComponent.EntityComponent; import org.lwjgl.input.Keyboard; p...
gpl-3.0
vsetchinfc/envman
EnvMan/EnvMan/VersionManager/FrmVersionInfo.cs
3127
//------------------------------------------------------------------------ // <copyright file="FrmVersionInfo.cs" company="SETCHIN Freelance Consulting"> // Copyright (C) 2006-2015 SETCHIN Freelance Consulting // </copyright> // <author> // Vlad Setchin // </author> //---------------------------------------------------...
gpl-3.0
sonertari/PFRE
src/Model/lib/Blank.php
1129
<?php /* * Copyright (C) 2004-2021 Soner Tari * * This file is part of PFRE. * * PFRE 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 ve...
gpl-3.0
AquaCore/AquaCore
application/themes/default/partial/header.php
2081
<?php use Aqua\Core\App; if(App::user()->loggedIn()) : ?> <div class="ac-header-user"> <span><?php echo __('account', 'welcome', htmlspecialchars(App::user()->account->displayName))?></span> <ul class="ac-user-options"> <li> <a href="<?php echo ac_build_url(array('path' => array( 'account' )))?>"> <?php echo...
gpl-3.0
wwwouaiebe/leaflet.TravelNotes
src/coreLib/GpxFactory.js
5677
/* Copyright - 2017 2021 - wwwouaiebe - Contact: https://www.ouaie.be/ 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 any later version. This program is distrib...
gpl-3.0
ntenhoeve/Introspect-Apps
FolderSynch/src/main/java/nth/foldersynch/dom/device/DeviceService.java
666
package nth.foldersynch.dom.device; import java.util.List; import nth.reflect.fw.layer5provider.reflection.behavior.parameterfactory.ParameterFactory; public class DeviceService { private DeviceRepository deviceRepository; public DeviceService(DeviceRepository deviceRepository) { this.deviceReposito...
gpl-3.0
barotto/IBMulator
src/hardware/devices/dma.cpp
22320
/* * Copyright (C) 2002-2014 The Bochs Project * Copyright (C) 2015-2020 Marco Bortolin * * This file is part of IBMulator. * * IBMulator 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 versio...
gpl-3.0
mchaffotte/geo-application
buildSrc/src/main/java/fr/chaffotm/data/io/validation/AlreadyUsed.java
639
package fr.chaffotm.data.io.validation; import javax.validation.Constraint; import javax.validation.Payload; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.*; import static java.lang.annotation.Retention...
gpl-3.0
TeamLocker/Server
TeamLocker_Server/protobufs/Libsodium_pb2.py
3197
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: protobufs/Libsodium.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflecti...
gpl-3.0
marxoft/cutetube2
app/src/maemo5/dailymotion/dailymotioncommentdialog.cpp
2910
/* * Copyright (C) 2016 Stuart Howarth <showarth@marxoft.co.uk> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be use...
gpl-3.0
sosilent/euca
clc/modules/msgs/src/main/java/com/eucalyptus/bootstrap/Provides.java
3915
/******************************************************************************* *Copyright (c) 2009 Eucalyptus Systems, 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, only ver...
gpl-3.0
SoapboxRaceWorld/soapbox-race-core
src/main/java/com/soapboxrace/jaxb/http/UserSettings.java
7531
/* * This file is part of the Soapbox Race World core source code. * If you use any of this code for third-party purposes, please provide attribution. * Copyright (c) 2020. */ package com.soapboxrace.jaxb.http; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; impo...
gpl-3.0
luisgustavossdd/TBD
framework/PodSixNet/Server.py
3815
#!/usr/bin/python # -*- coding: utf-8 -*- import socket import sys from async import poll, asyncore from Channel import Channel class Server(asyncore.dispatcher): channelClass = Channel def __init__(self, channelClass=None, localaddr=("127.0.0.1", 31425), listeners=15): if channel...
gpl-3.0
robottitto/lab
js/jsdoc/js/main.js
674
'use strict'; /** Class representing a point. */ class Point { /** * Create a point. * @param {number} x - The x value. * @param {number} y - The y value. */ constructor (x, y) { this.x = x; this.y = y; } /** * Get the x value. * @return {number} The x value. */ getX () { //...
gpl-3.0
randomize/VimConfig
tags/unity5/UnityEditor/GizmoType.cs
512
namespace UnityEditor { using System; public enum GizmoType { Active = 8, InSelectionHierarchy = 0x10, NonSelected = 0x20, NotInSelectionHierarchy = 2, [Obsolete("Use NotInSelectionHierarchy instead (UnityUpgradable) -> NotInSelectionHierarchy")] NotSelected...
gpl-3.0
ojengwa/ThinkUp
webapp/plugins/facebook/model/class.FacebookPlugin.php
14729
<?php /** * * ThinkUp/webapp/plugins/facebook/model/class.FacebookPlugin.php * * Copyright (c) 2009-2013 Gina Trapani, Mark Wilkie * * LICENSE: * * This file is part of ThinkUp (http://thinkup.com). * * ThinkUp is free software: you can redistribute it and/or modify it under the terms of the GNU General Publi...
gpl-3.0
Archerpe/aries
src/main/java/com/andy/design_patterns/command/remote/CeilingFanOffCommand.java
297
package com.andy.design_patterns.command.remote; public class CeilingFanOffCommand implements Command { CeilingFan ceilingFan; public CeilingFanOffCommand(CeilingFan ceilingFan) { this.ceilingFan = ceilingFan; } public void execute() { ceilingFan.off(); } }
gpl-3.0
EXEM-OSS/Flamingo2
flamingo2-web/src/main/webapp/resources/app/view/designer/canvas/events/onCanvasRender.js
8007
/* * Copyright (C) 2011 Flamingo Project (http://www.cloudine.io). * * 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 versio...
gpl-3.0
tuttarealstep/MyCMS
src/App/Content/Theme/simple/languages/en_US.php
5461
<?php /* *\ | MyCMS | \* */ //LINGUA : ENGLISH $language = [ 'Lorem ipsum' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercita...
gpl-3.0
RomanaBW/BwPostman
src/administrator/components/com_bwpostman/src/View/Mailinglist/HtmlView.php
6681
<?php /** * BwPostman Newsletter Component * * BwPostman single mailinglists view for backend. * * @version %%version_number%% * @package BwPostman-Admin * @author Romana Boldt * @copyright (C) %%copyright_year%% Boldt Webservice <forum@boldt-webservice.de> * @support https://www.boldt-webservice.de/en/forum-e...
gpl-3.0
dtu-dsp/Robochameleon
doc/user manual/html/search/variables_4.js
1299
var searchData= [ ['e',['E',['../classsignal__interface.html#a6a513c589314f0508d9264b8830b477a',1,'signal_interface']]], ['edfagain',['EDFAGain',['../class_nonlinear_channel__v1.html#a7eb0c971c743a0546551abef0b20d007',1,'NonlinearChannel_v1']]], ['edfanf',['EDFANF',['../class_nonlinear_channel__v1.html#a9f4114dab...
gpl-3.0
Reaktoro/Reaktoro
Reaktoro/Thermodynamics/Models/ThermoModel.cpp
2803
// Reaktoro is a unified framework for modeling chemically reactive systems. // // Copyright (C) 2014-2018 Allan Leal // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // versi...
gpl-3.0
lingcarzy/v5cart
catalog/controller/affiliate/register.php
7325
<?php class ControllerAffiliateRegister extends Controller { public function index() { if ($this->affiliate->isLogged()) { $this->redirect(U('affiliate/account', '', 'SSL')); } $this->language->load('affiliate/register'); $this->document->setTitle(L('heading_title')); M('affiliate/affiliate...
gpl-3.0
CapsAdmin/goluwa
game/lua/libraries/gmod/sv_exported.lua
134254
return { enums = { SCHED_MOVE_AWAY = 68, ACT_RUN_SCARED = 111, ACT_VM_IDLE_DEPLOYED_5 = 538, TYPE_NIL = 0, ACT_MP_PRIMARY_GRENADE1_IDLE = 1278, ACT_DOD_SPRINT_IDLE_PSCHRECK = 793, ACT_MP_RELOAD_SWIM = 1031, ACT_TURN_RIGHT = 44, KEY_APP = 87, ACT_HL2MP_SWIM_AR2 = 1816, ACT_SLAM_DETONATOR_STICKWALL...
gpl-3.0
RolandKujundzic/rkphplib
test/StringHelper/in/t1.php
82
<?php global $html; print \rkphplib\StringHelper::removeHtmlWhiteSpace($html);
gpl-3.0
AlbertHambardzumyan/Codeforces
problems/src/problem_591/Problem_591A.java
421
package problem_591; import java.util.Scanner; /** * @author Albert Hambardzumyan */ public class Problem_591A { public static void main(String[] args) { Scanner in = new Scanner(System.in); int length = in.nextInt(); int speed1 = in.nextInt(); int speed2 = in.nextInt(); ...
gpl-3.0
alexei38/gshell
src/config.py
8810
# -*- coding: utf-8 -*- import os import uuid import gconf import shutil import base64 from Crypto import Random from AESCipher import AESCipher from ConfigParser import ConfigParser from ConfigParser import NoOptionError DEFAULTS = { 'allow_bold' : True, 'background_color' : '#000000', 'b...
gpl-3.0
libre/webexploitscan
wes/data/rules/fullscan/10092019-MS-PHP-Antimalware-Scanner-260-malware_signature.php
2660
<?php /** * WES WebExploitScan Web GPLv4 http://github.com/libre/webexploitscan * * The PHP page that serves all page requests on WebExploitScan installation. * * The routines here dispatch control to the appropriate handler, which then * prints the appropriate page. * * All WebExploitScan code is released unde...
gpl-3.0
jd-lang/betaexpansion
betaexpansion/net/minecraft/src/TileEntityRendererTable.java
1567
// 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 package net.minecraft.src; import net.minecraft.client.Minecraft; import org.lwjgl.opengl.GL11; // Referenced classes of package net.minecraft...
gpl-3.0
CeusMedia/Common
src/Net/XMPP/XMPPHP/Roster.php
4600
<?php /** * XMPPHP: The PHP XMPP Library * Copyright (C) 2008 Nathanael C. Fritz * This file is part of SleekXMPP. * * XMPPHP 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...
gpl-3.0
hunger/cleanroom
cleanroom/exceptions.py
1561
# -*- coding: utf-8 -*- """Exceptions used in cleanroom. @author: Tobias Hunger <tobias.hunger@gmail.com> """ from .location import Location import typing class CleanRoomError(Exception): """Base class for all cleanroom Exceptions.""" def __init__( self, *args: typing.Any, locatio...
gpl-3.0
concko/PortAIO
Libraries/ValvraveSharp/Evade/EvadeSpellData.cs
5178
namespace Valvrave_Sharp.Evade { #region using LeagueSharp; #endregion using EloBuddy; using EloBuddy.SDK.Menu.Values; using EloBuddy.SDK.Menu; public enum SpellValidTargets { AllyMinions, EnemyMinions, AllyWards, EnemyWards, AllyChampions, ...
gpl-3.0
mundane799699/ExamAssistant
app/src/main/java/com/mundane/examassistant/db/MyOpenHelper.java
556
package com.mundane.examassistant.db; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import com.mundane.examassistant.db.entity.DaoMaster; /** * @author : mundane * @time : 2017/4/14 11:43 * @description : * @file : MyOpenHelper.java */ public class MyOpenHelper extends DaoMast...
gpl-3.0
Alberto-Beralix/Beralix
i386-squashfs-root/usr/share/system-config-printer/troubleshoot/Shrug.py
3447
#!/usr/bin/python ## Printing troubleshooter ## Copyright (C) 2008, 2009, 2010 Red Hat, Inc. ## Author: Tim Waugh <twaugh@redhat.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...
gpl-3.0
cjparsons74/kupfer
kupfer/plugin_support.py
5558
import gobject try: import keyring except ImportError: keyring = None from kupfer import pretty from kupfer import config from kupfer.core import settings __all__ = [ "UserNamePassword", "PluginSettings", "check_dbus_connection", ] def _is_core_setting(key): return key.startswith("kupfer_") class PluginSett...
gpl-3.0
wakdev/slash-cms
core/plugins/kcfinder/config.php
2458
<?php /** This file is part of KCFinder project * * @desc Base configuration file * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 * @license h...
gpl-3.0
lem9/weblate
weblate/accounts/tests/test_utils.py
1617
# -*- coding: utf-8 -*- # # Copyright © 2012 - 2017 Michal Čihař <michal@cihar.com> # # This file is part of Weblate <https://weblate.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, eith...
gpl-3.0
EPSZ-DAW2/daw2-2016-actividades-y-eventos
basic/controllers/EtiquetasController.php
8112
<?php namespace app\controllers; use Yii; use app\models\Actividades; use app\models\Etiquetas; use app\models\EtiquetasSearch; use app\models\ActividadEtiquetas; use app\models\ActividadetiquetasSearch; use app\models\Usuarios; use app\models\UsuarioAvisos; use yii\web\Controller; use yii\web\NotFoundHttpException; ...
gpl-3.0
maslick/klassy
src/main/java/com/maslick/ai/klassy/classifier/AbstractClassifier.java
3066
package com.maslick.ai.klassy.classifier; import com.maslick.ai.klassy.io.IFileLoader; import com.maslick.ai.klassy.io.IModelLoader; import com.maslick.ai.klassy.io.ModelLoader; import weka.classifiers.Classifier; import weka.core.Attribute; import weka.core.Instance; import weka.core.Instances; import java.io.IOExce...
gpl-3.0
GordonDiggs/relax
lib/client/stores/menus.js
1292
import {ClientStore} from 'relax-framework'; import MenusCollection from '../collections/menus'; import menuActions from '../actions/menu'; import $ from 'jquery'; import Q from 'q'; class MenusStore extends ClientStore { constructor () { super(); } init () { if (this.isClient()) { this.listenTo(m...
gpl-3.0
jogacommuri/ReactShoppingCart
models/books.js
260
"use strict" var mongoose = require('mongoose'); var Schema = mongoose.Schema; var booksSchema = new Schema({ title:String, description: String, images: String, price: Number }); var Books = mongoose.model('Books',booksSchema); module.exports = Books;
gpl-3.0
IntellectualCrafters/PlotSquared
Core/src/main/java/com/plotsquared/core/PlotSquared.java
65931
/* * _____ _ _ _____ _ * | __ \| | | | / ____| | | * | |__) | | ___ | |_| (___ __ _ _ _ __ _ _ __ ___ __| | * | ___/| |/ _ \| __|\___ \ / _` | | | |/ _` | '__/ _ \/ _` | * | | | | (_) | |_ ____) | (_| | ...
gpl-3.0
a1exsh/yapet
app/helpers/in_place_editing_grid_helper.rb
5562
# TODO: Beware, people are likely to kill those who name functions # like that! # module InPlaceEditingGridHelper include InPlaceMacrosHelper include InPlaceCompleterHelper include AutoCompleteMacrosHelper def self.included(target) target.alias_method_chain(:in_place_editor_field, ...
gpl-3.0
chipaca/snappy
overlord/devicestate/firstboot_test.go
55411
// -*- Mode: Go; indent-tabs-mode: t -*- /* * Copyright (C) 2015-2019 Canonical Ltd * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as * published by the Free Software Foundation. * * This program is distributed in the hop...
gpl-3.0
pts-eduardoacuna/pachy-learning
vendor/gonum.org/v1/gonum/mat/eigen_test.go
3852
// Copyright ©2013 The gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package mat import ( "math/rand" "testing" "gonum.org/v1/gonum/floats" ) func TestEigen(t *testing.T) { for i, test := range []struct { a *Dense ...
gpl-3.0
kebechsenuef/borrow_land
_06_objekteSuche-3-1.inc.php
7042
<? session_start(); //Funktionen ///////////////////////////////////////////// $includeName="_00_basic_func.inc.php"; if (file_exists($includeName)) { require($includeName); } else { echo '<br><br><div class="meldung_fehler"><img src="BL_BILDER/Meldungen_Warning.png"> <br>FU_ALL_LOAD_01</div><br><br>'; exit(); }...
gpl-3.0
preea/apericraft
Common/net/preea/apericraft/blocks/Titanium_Block.java
785
package net.preea.apericraft.blocks; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IIconRegister; import net.preea.apericraft.declarations.ACreativeTabs; import n...
gpl-3.0
piracarter/radiognu
src/org/radiognu/radiognu/serviceplayerstreaming.java
4872
package org.radiognu.radiognu; import java.io.IOException; import android.app.ProgressDialog; import android.app.Service; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.media.MediaPlayer; import android.media....
gpl-3.0
bowhan/piPipes
misc_tools/include/thread.hpp
2698
/* # Copyright (C) 2014 Bo Han, Wei Wang, Zhiping Weng, Phillip Zamore # # 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 v...
gpl-3.0
RedFantom/GSF-Parser
frames/chat.py
6693
""" Author: RedFantom License: GNU GPLv3 Copyright (c) 2018 RedFantom """ # Standard Library from datetime import datetime from multiprocessing import Pipe from six import reraise from typing import List, Tuple # UI Libraries from tkinter import messagebox import tkinter as tk from tkinter import ttk # Project Modules ...
gpl-3.0
rudametw/rudametw.github.io.backup-repo
src/_plugins/gallery_generator.rb
5149
require 'rubygems' require 'exifr' require 'RMagick' include Magick include FileUtils $image_extensions = [".png", ".jpg", ".jpeg", ".gif"] module Jekyll class GalleryFile < StaticFile def write(dest) return false end end class GalleryIndex < Page def initialize(site, base, dir, galleries) ...
gpl-3.0
gaborfeher/grantmaster
grantmaster/src/test/java/com/github/gaborfeher/grantmaster/logic/wrappers/ProjectExpenseWrapperTest.java
26647
package com.github.gaborfeher.grantmaster.logic.wrappers; import com.github.gaborfeher.grantmaster.framework.base.RowEditState; import com.github.gaborfeher.grantmaster.framework.utils.DatabaseSingleton; import com.github.gaborfeher.grantmaster.framework.utils.Utils; import com.github.gaborfeher.grantmaster.logic.enti...
gpl-3.0
sapia-oss/corus
samples/corus_sample_jetty/src/main/java/org/sapia/corus/sample/jetty/session/SessionServer.java
509
package org.sapia.corus.sample.jetty.session; import java.io.File; public class SessionServer { public static void main(String[] args) throws Exception{ File configFile = new File( System.getProperty("user.dir")+ File.separator+ "etc/ehcache.xml" ); SessionCa...
gpl-3.0
unicesi/academ
ACADEM-EJBClient/ejbModule/co/edu/icesi/academ/evaluaciones/EvaluacionBeanRemote.java
5888
/** * Copyright © 2013 Universidad Icesi * * This file is part of ACADEM. * * ACADEM 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. ...
gpl-3.0
654955321/HY_Recommend
功能脚本/【红叶推介】Ev躲避/SpellDatabase.cs
151544
// Copyright 2014 - 2014 Esk0r // SpellDatabase.cs is part of Evade. // // Evade 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. //...
gpl-3.0
jzebedee/ttwinstaller
Installer/Patching/IBsaDiff.cs
380
using System.Collections.Generic; using BSAsharp; namespace TaleOfTwoWastelands.Patching { public interface IBsaDiff { bool PatchBsa(CompressionOptions bsaOptions, string oldBSA, string newBSA, bool simulate = false); bool PatchBsaFile(BSAFile bsaFile, PatchInfo patch, FileValidation targetChk); void RenameFi...
gpl-3.0
libeastwood/main
python/src/pypalfile.cpp
3569
// TODO: This is *very* crude for now, need to figure out some neat way for // python to deal with C++ streams ... #include <istream> #include <fstream> #include <sstream> #include "pyeastwood.h" #include "eastwood/PalFile.h" #include "eastwood/StdDef.h" #include "pypalfile.h" #include "pypalette.h" using namespac...
gpl-3.0
KamranMackey/Buildcraft-Additions
src/main/java/buildcraftAdditions/blocks/BlockBasicDuster.java
2211
package buildcraftAdditions.blocks; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.entity.Entity; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.IIcon; import net.minecraft.world.World; import cpw.mods.fml.relaun...
gpl-3.0
pojome/elementor
assets/dev/js/editor/elements/views/base.js
19419
import environment from 'elementor-common/utils/environment'; import DocumentUtils from 'elementor-document/utils/helpers'; var ControlsCSSParser = require( 'elementor-editor-utils/controls-css-parser' ), Validator = require( 'elementor-validator/base' ), BaseContainer = require( 'elementor-views/base-container' ), ...
gpl-3.0
ranjitjc/ticket-system
client/src/app/status/detail/status.detail.component.ts
8962
import { Component, OnInit, AfterViewInit, OnDestroy, ViewChildren, ElementRef, ViewContainerRef } from '@angular/core'; import { FormBuilder, FormGroup, FormControl, FormArray, Validators, FormControlName } from '@angular/forms'; import { Router, ActivatedRoute } from '@angular/router'; import {MdSnackBar, MdSnackBarC...
gpl-3.0
AshtreeCC/Ashtree
Javascript/jquery.anymenu.js
1181
/* * jQuery Any Menu * @version 1.0 (2012-20-20) * @requires jQuery 1.4+ * @author andrew.nash */ (function($) { $.fn.anymenu = function(user_options) { var options = $.extend({ 'data' : false, 'type' : 'dropdown' }, user_options); $(this).each(function(){ var UL = $(this); // Prepa...
gpl-3.0
rohitink/subsimple
sidebar.php
858
<?php /** * The Sidebar containing the main widget areas. * * @package subsimple */ ?> <div id="secondary" class="widget-area" role="complementary"> <?php do_action( 'before_sidebar' ); ?> <?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?> <aside id="search" class="widget widget_search"> <?php get_sear...
gpl-3.0
GARUMFundatio/Bazar
app/models/pais.rb
509
class Pais < ActiveRecord::Base has_many :ciudades default_scope :order => 'descripcion' has_friendly_id :descripcion , :use_slug => true, :strip_non_ascii => true def to_s;self.descripcion;end def self.paisestocsv csv = "country_code,value\\n" max = Pais.count_by_sql("select max(total_empresas_me...
gpl-3.0
mrtrizer/LispSSS
src/functions/func_func.cpp
1139
#include "func_func.h" #include "atomnildata.h" #include "funcdata.h" #include "lispfunction.h" #include "lispnode.h" #include "listdata.h" #include "atomdata.h" Result Func_func::run_(const Arguments & arguments, Memory *stack) const { (void) stack; (void) arguments; //return Result(new AtomNilData()); ...
gpl-3.0
run2fail/locker
locker/container.py
39471
''' This module provides an extended lxc container class. ''' import logging import os import re import shutil import time from collections import OrderedDict from functools import wraps import iptc import locker.project import lxc import netaddr from colorama import Fore from locker.etchosts import Hosts from locker...
gpl-3.0
cocodedesigns/green-lily
single-event.php
4957
<?php get_header(); $startdate = get_post_meta( get_the_ID(), 'lvk_events_startdate', true ); $startdate = explode( '-', $startdate ); $eventallday = get_post_meta( get_the_ID(), 'lvk_events_allday', true ); if ( $eventallday == '1' ) { $starthour = '00'; $startmin = '00'; } else { $starthour = ...
gpl-3.0
Arp-/curse_impact
renderer/inc/pixel_info.hpp
470
#ifndef CURSE_IMPACT_RENDERER_PIXEL_INFO_HPP #define CURSE_IMPACT_RENDERER_PIXEL_INFO_HPP namespace renderer { struct pixel_info { enum class axis { X_EQ_0, // - Y_EQ_0, // | X_EQ_MINUS_X, // backslash X_EQ_PLUS_X, // / }; enum class side { LEFT, RIGHT, }; axis axis; sid...
gpl-3.0
Vrend/JBot
src/main/java/JBOT/Commands/list.java
998
package JBOT.Commands; import JBOT.Util.BadCommandException; import JBOT.Util.Command; import JBOT.Util.IO; import net.dv8tion.jda.core.events.message.MessageReceivedEvent; import java.util.HashMap; public class list implements Command { @Override public void run(MessageReceivedEvent e, String[] args) throws...
gpl-3.0
Narfinger/qamster
go-appengine/main.go
2191
package qamster import ( "bytes" "encoding/json" "net/http" "net/url" "strings" "time" // "html/template" ) //json function func js_timetable(w http.ResponseWriter, r *http.Request) { tasks := make([]Task, 0) ds_getTasks(&tasks, r) json.NewEncoder(w).Encode(tasks) } //json function func js_running(w http...
gpl-3.0
Artur-Biniek/TBX32
src/Simulator/Memory.cs
767
using System.Collections.Generic; namespace ArturBiniek.Tbx32.Simulator { public class Memory { Dictionary<uint, int> _ram = new Dictionary<uint, int>(); public int UsedCellsCount { get { return _ram.Keys.Count; } } ...
gpl-3.0
ShapeChange/ShapeChange
src/main/java/de/interactive_instruments/ShapeChange/Transformation/Profiling/ProfileLoaderConfigurationValidator.java
5944
/** * ShapeChange - processing application schemas for geographic information * * This file is part of ShapeChange. ShapeChange takes a ISO 19109 * Application Schema from a UML model and translates it into a * GML Application Schema or other implementation representations. * * Additional information about the...
gpl-3.0
danyalzia/ShortestPath
src/GraphHopperAPI.java
3023
import com.graphhopper.GHRequest; import com.graphhopper.GHResponse; import com.graphhopper.GraphHopper; import com.graphhopper.routing.util.EncodingManager; import com.graphhopper.util.GPXEntry; import com.graphhopper.util.Instruction; import com.graphhopper.util.InstructionList; import com.graphhopper.util.PointList...
gpl-3.0