repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
zhangjianying/12306-android-Decompile
src/org/apache/commons/codec/binary/BinaryCodec.java
5027
package org.apache.commons.codec.binary; import org.apache.commons.codec.BinaryDecoder; import org.apache.commons.codec.BinaryEncoder; import org.apache.commons.codec.DecoderException; import org.apache.commons.codec.EncoderException; public class BinaryCodec implements BinaryDecoder, BinaryEncoder { private stat...
gpl-3.0
sjholden/traveller-universe
travelleruniverse/world/world.py
1259
''' Created on May 30, 2017 @author: Sam Holden <sholden@holden.id.au> ''' class World(object): ''' classdocs ''' def __init__(self, port, size, atmo, hydro, pop, govt, law, tech, bases=None, extra=None): ''' Constructor ''' self._port = port ...
gpl-3.0
piwik/piwik
plugins/Tour/Engagement/Challenge.php
4123
<?php /** * Matomo - free/libre analytics platform * * @link https://matomo.org * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later * */ namespace Piwik\Plugins\Tour\Engagement; use Piwik\Piwik; use Piwik\Settings\Storage\Backend\PluginSettingsTable; /** * Defines a new challenge which a super...
gpl-3.0
donatellosantoro/Llunatic
LunaticGUI/gui/src/it/unibas/lunatic/gui/window/db/actions/ActionFirstPage.java
1059
package it.unibas.lunatic.gui.window.db.actions; import it.unibas.lunatic.gui.window.db.TablePaginationSupport; import it.unibas.lunatic.gui.window.db.PagedTableView; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import static javax.swing.Action.SMALL_ICON; import org.openide.util.ImageUtilitie...
gpl-3.0
sonidosmutantes/apicultor
apicultor/tests/Test_API.py
6785
#!/usr/bin/python2 # -*- coding: UTF-8 -*- import unittest import urllib.request, urllib.error, urllib.parse URL_BASE = "http://127.0.0.1:5000" #TODO: get from a config file # URL_BASE = "http://api.redpanal.org.ar" def count_response_lines(response): count = 0 for line in response.split('\n'): coun...
gpl-3.0
mgshk0712/bon
config.php
2911
<?php define('ROOT_BON_FOLDER', 'projects/bon/'); // HTTP define('HTTP_SERVER', 'http://localhost/'.ROOT_BON_FOLDER);//http://192.168.0.25 // HTTPS define('HTTPS_SERVER', 'http://localhost/'.ROOT_BON_FOLDER); // DIR define('DIR_APPLICATION', $_SERVER['DOCUMENT_ROOT'].'/'.ROOT_BON_FOLDER.'catalog/'); define('DIR_SYSTE...
gpl-3.0
glouis/Laima-Discord-Bot
laima/model.py
12691
""" This file is part of Laima Discord Bot. Copyright 2017 glouis Laima Discord Bot 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. Laima ...
gpl-3.0
potty-dzmeia/db4o
src/db4oj.tests/src/com/db4o/db4ounit/common/foundation/Path4TestCase.java
1076
/* This file is part of the db4o object database http://www.db4o.com Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com db4o is free software; you can redistribute it and/or modify it under the terms of version 3 of the GNU General Public License as published by the Free Software Foundation. db4o ...
gpl-3.0
408657544/springbank
springbank-dao/src/main/java/com/springbank/dao/generate/mapper/ScheduledjobMapper.java
3196
package com.springbank.dao.generate.mapper; import com.springbank.dao.generate.model.Scheduledjob; import com.springbank.dao.generate.model.ScheduledjobExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface ScheduledjobMapper { /** * This method was generated by...
gpl-3.0
andrewseward/Cronosync
node_modules/passport-oauth2-refresh/lib/refresh.js
2965
'use strict'; var AuthTokenRefresh = {}; AuthTokenRefresh._strategies = {}; /** * Register a passport strategy so it can refresh an access token, * with optional `name`, overridding the strategy's default name. * * Examples: * * refresh.use(strategy); * refresh.use('facebook', strategy); * * @param ...
gpl-3.0
DarioGT/OMS-PluginXML
org.modelsphere.jack/src/org/modelsphere/jack/srtool/graphic/ApplicationDiagram.java
12805
/************************************************************************* Copyright (C) 2009 Grandite This file is part of Open ModelSphere. Open ModelSphere is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundat...
gpl-3.0
vymio/vym-chrome-extension
app/scripts.babel/vym_api.js
1096
import {get} from 'request'; const endpoint = '__VYM_HOST__/api/v1'; export default { /** * options {Object} * options.ownerName {String} * options.repoName {String} * options.prNumber {String} * options.vymToken {String} - used to authorize user */ getSlideDeck(options, done) { let url = ...
gpl-3.0
ricargoes/Roguey
src/ResourceManager.cpp
11870
/* * ResourceManager.cpp * * Created on: Feb 3, 2015 * Author: elgatil */ #include "ResourceManager.h" ResourceManager::ResourceManager() { //Start up SDL and create window if ( !init() ){ printf( "Failed to initialize!\n" ); success = false; return; } //Load media if ( !loadMedia() ){ prin...
gpl-3.0
byrokrat/accounting
src/Template/Translator.php
2003
<?php /** * This file is part of byrokrat/accounting. * * byrokrat/accounting 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
valmynd/MediaFetcher
src/plugins/youtube_dl/youtube_dl/extractor/servingsys.py
1873
from __future__ import unicode_literals from .common import InfoExtractor from ..utils import ( int_or_none, ) class ServingSysIE(InfoExtractor): _VALID_URL = r'https?://(?:[^.]+\.)?serving-sys\.com/BurstingPipe/adServer\.bs\?.*?&pli=(?P<id>[0-9]+)' _TEST = { 'url': 'http://bs.serving-sys.com/BurstingPipe/adSe...
gpl-3.0
rcbrgs/tuna
tuna/test/unit/unit_io/unit_test_io_adhoc.py
1907
__version__ = "0.1.1" __changelog = { "0.1.1": {"Tuna": "0.16.5", "Change": "PEP8 and PEP 257 compliance."}, "0.1.0": {"Tuna": "0.13.0", "Change": "Updated test_wrong_dimension to use "\ "newly protected method _discover_adhoc_type of tuna.io.adhoc."} } import logging import os import tuna import...
gpl-3.0
tristanklempka/TerrainGenerator
source/display.cpp
932
#include "display.hpp" #include <iostream> Display::Display(int width, int height, const std::string& title): m_window(sf::VideoMode(width, height), title, sf::Style::Default, sf::ContextSettings(24, 8, 4, 3, 0)) { m_window.setVerticalSyncEnabled(true); GLenum res = glewInit(); if(res != GLEW_OK) { ...
gpl-3.0
bencesomogyi/pyCFD
pyCFD_mesh/patch.py
5840
""" module for patches """ __author__ = "Bence Somogyi" __copyright__ = "Copyright 2014" __version__ = "0.1" __maintainer__ = "Bence Somogyi" __email__ = "bencesomogyi@ivt.tugraz.at" __status__ = "Prototype" import sys import numpy class Patch: """ class for geometric patches """ def __init__(self, fa...
gpl-3.0
ftninformatika/bisis-v5
bisis-swing-client/src/main/java/com/ftninformatika/utils/sort/Sorter.java
3922
package com.ftninformatika.utils.sort; import com.ftninformatika.utils.string.StringUtils; import java.util.Vector; /** * Created by Petar on 8/7/2017. */ public class Sorter { public Sorter() {} public static String qsort(String s) { byte[] b = StringUtils.getLowerBytes(s); qsort(0, b...
gpl-3.0
JacobCZ/GitHub-Monitor
jHUB/Loggator.Designer.cs
2935
namespace jHUB { partial class Loggator { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name...
gpl-3.0
AmazingCow-Game/Game_BowAndArrow
project/Game/Enemies/Fireball.cs
6977
//----------------------------------------------------------------------------// // █ █ // // ████████ // // ██ ██ ...
gpl-3.0
Unofficial-Extend-Project-Mirror/foam-extend-foam-extend-3.2
src/finiteVolume/fields/fvPatchFields/derived/partialSlip/partialSlipFvPatchField.H
6369
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | foam-extend: Open Source CFD \\ / O peration | Version: 3.2 \\ / A nd | Web: http://www.foam-extend.org \\/ M anipulation | For ...
gpl-3.0
mc-suchecki/MSc
scripts/display_photos.py
559
from PIL import Image # settings PHOTOS_LOCATION = '../data/train/' PHOTOS_LIST_FILE = PHOTOS_LOCATION + 'list.txt' with open(PHOTOS_LIST_FILE) as photos_list_file: photos_list = photos_list_file.readlines() for line in photos_list: photo_metadata_list = line.split(',') photo_id = str(photo_metadata_list...
gpl-3.0
mscg82/Slide
app/src/main/java/me/ccrama/redditslide/Fragments/SubmissionsView.java
33202
package me.ccrama.redditslide.Fragments; import android.app.Activity; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.res.Configuration; import android.graphics.Color; import android.os.Build; import android.os.Bundle; import android.os.Hand...
gpl-3.0
waikato-datamining/adams-base
adams-core/src/main/java/adams/gui/visualization/core/plot/HitDetectorSupporter.java
1208
/* * 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 distributed in the hope that it w...
gpl-3.0
wallet77/tinydailytaskmanager
serverSide/resources/RootGroup.php
960
<?php use Tonic\Resource, Tonic\Response, Tonic\ConditionException; /** * This resource handles root group access * @uri /project/:projectid/root */ class RootGroup extends Resource { /** * Retrieve a root group * * * @method GET * @accepts application/json * ...
gpl-3.0
schleuder/schleuder3
lib/schleuder/errors/too_many_keys.rb
209
module Schleuder module Errors class TooManyKeys < Base def initialize(listdir, listname) super t('errors.too_many_keys', listdir: listdir, listname: listname) end end end end
gpl-3.0
nt001-01/Practicas
Clinic/src/main/java/com/unsis/clinic/service/PrescriptionServiceImpl.java
697
package com.unsis.clinic.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import com.unsis.clinic.dao.PrescriptionDao; import com.unsis.clinic.model.Prescription; public class PrescriptionServiceImpl implements PrescriptionService{ @Autowired private PrescriptionDao ...
gpl-3.0
LinearSoft/entrust-cli
src/Commands/PermCreate.php
1488
<?php /** * Created by PhpStorm. * User: meej * Date: 6/1/2016 * Time: 8:00 PM */ namespace LinearSoft\EntrustCli\Commands; use LinearSoft\EntrustCli\Models\Permission; class PermCreate extends BaseCommand { /** * The name and signature of the console command. * * @var string */ prot...
gpl-3.0
gohdan/DFC
known_files/hashes/bitrix/wizards/bitrix/demo/modules/form_feedback/data/form.php
61
Bitrix 16.5 Business Demo = 4597e62a0bd305ea73a7556a347a329c
gpl-3.0
cams7/erp
freedom-fw1/src/main/java/org/freedom/library/swing/component/JRadioGroup.java
7243
/** * @version 23/01/2003 <BR> * @author Setpoint Informática Ltda./Fernando Oliveira da Silva <BR> * * Projeto: Freedom <BR> * Pacote: org.freedom.componentes <BR> * Classe: * @(#)JMenuItemPad.java <BR> * * Este arquivo é parte do sistema Freedom-ERP, o Freedom-ERP é um software livre; você pode redistribui...
gpl-3.0
meisamhe/GPLshared
Programming/MPI — AMath 483 583, Spring 2013 1.0 documentation_files/DeletionList.java
511
// @author Andrey Pavlov public class DeletionList { // @include // Assumes nodeToDelete is not tail. public static void deletionFromList(ListNode<Integer> nodeToDelete) { nodeToDelete.data = nodeToDelete.next.data; nodeToDelete.next = nodeToDelete.next.next; } // @exclude public static void main...
gpl-3.0
lsuits/OBSOLETE--DO-NOT-USE--gradebook_moodle
grade/report/grader/index.php
6455
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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. // // Moodle ...
gpl-3.0
Chrogeek/chrogeek-noi
BZOJ 2811 [Apio2012]Guard/bzoj2811.cpp
2243
#include <cstdio> #include <algorithm> using namespace std; struct interval { int l, r; bool operator<(const interval &b) const { if (l == b.l) return r < b.r; return l < b.l; } }; const int inf = 999999999; const int maxn = 100005; int n, k, m; interval ints[maxn], outs[maxn]; int tot, to2; int cnt[maxn]; i...
gpl-3.0
intoxicatedpenguin/DiscordGUI
src/main/bot/commands/Command.java
262
package main.bot.commands; import main.bot.commands.CommandInterpret.CommandContainer; /** * Created by Adair on 03/16/17. */ public interface Command { boolean safe(CommandContainer info); void action(CommandContainer info); String help(); }
gpl-3.0
WilderPereira/Reciclo
app/src/main/java/com/wilderpereira/reciclo/fragments/ListFragment.java
5313
package com.wilderpereira.reciclo.fragments; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutInflater; im...
gpl-3.0
wiki2014/Learning-Summary
alps/cts/tests/tests/view/src/android/view/cts/ViewTestCtsActivity.java
2391
/* * Copyright (C) 2008 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...
gpl-3.0
CeutecIngDeSoftware/PropuestasInformatica
app/helpers/requests_closures_helper.rb
34
module RequestsClosuresHelper end
gpl-3.0
matriphe/laravel-linfo
tests/TestCase.php
733
<?php use Linfo\Laravel\LinfoServiceProvider; use Linfo\Laravel\Models\Linfo as LinfoModel; use Orchestra\Testbench\TestCase as OrchestraTestCase; abstract class TestCase extends OrchestraTestCase { /** * @param \Illuminate\Foundation\Application $app * @return array */ protected function getPa...
gpl-3.0
niklasf/jumpnevolve
src/com/googlecode/jumpnevolve/graphics/gui/objects/InterfaceCheckbox.java
1998
package com.googlecode.jumpnevolve.graphics.gui.objects; import java.util.ArrayList; import org.newdawn.slick.Graphics; import org.newdawn.slick.Input; import com.googlecode.jumpnevolve.graphics.GraphicUtils; import com.googlecode.jumpnevolve.graphics.gui.ContentListener; import com.googlecode.jumpnevolve.graphics.g...
gpl-3.0
revelator/MHDoom
neo/libs/jpeg9a/jquant2.cpp
48791
/* * jquant2.c * * Copyright (C) 1991-1996, Thomas G. Lane. * Modified 2011 by Guido Vollbeding. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains 2-pass color quantization (color mapping) routines. *...
gpl-3.0
wrobell/btzen
btzen/service.py
2651
# # BTZen - library to asynchronously access Bluetooth devices. # # Copyright (C) 2015-2021 by Artur Wroblewski <wrobell@riseup.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 vers...
gpl-3.0
Nimoab/DQN-Deepmind-NIPS-2013
doc/html/search/functions_6.js
540
var searchData= [ ['gameover',['gameOver',['../classDQN-Deepmind-NIPS-2013_1_1GameEnv_1_1GameEnv.html#a1ccc35e029e05910c3c25ffa602e442b',1,'DQN-Deepmind-NIPS-2013::GameEnv::GameEnv']]], ['getscreen',['getScreen',['../classDQN-Deepmind-NIPS-2013_1_1GameEnv_1_1GameEnv.html#a37712548267b91afddb6866fddf22b94',1,'DQN-De...
gpl-3.0
Yonjuni/ExaltedDicer
app/src/main/java/de/pinyto/exalteddicer/dicing/Dicer.java
1645
package de.pinyto.exalteddicer.dicing; public class Dicer { public int targetNumber = 7; // Default public int poolSize; public void setPoolSize(int poolSize) { this.poolSize = poolSize; } // For Special-Charms and Artifacts public void setTargetNumber(int targetNumber) { thi...
gpl-3.0
tectronics/quicktools
quickLoad/XPExplorerBar_src_v3_3_VS2005/XPExplorerBar VS2005/Expando.cs
149705
/* * Copyright © 2004-2005, Mathew Hall * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, * thi...
gpl-3.0
kempj/OpenFOAM-win
src/meshTools/AMIInterpolation/patches/cyclic/cyclicAMIPointPatchField/cyclicAMIPointPatchField.H
7317
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\/ M anipulation | -------------...
gpl-3.0
kempj/OpenFOAM-win
src/OpenFOAM/db/Time/Time.H
17518
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\/ M anipulation | -------------...
gpl-3.0
dedefajriansyah/jibas
akademik/presensi/lap_kelas_cetak.php
7652
<? /**[N]** * JIBAS Education Community * Jaringan Informasi Bersama Antar Sekolah * * @version: 3.8 (January 25, 2016) * @notes: JIBAS Education Community will be managed by Yayasan Indonesia Membaca (http://www.indonesiamembaca.net) * * Copyright (C) 2009 Yayasan Indonesia Membaca (http://www.indones...
gpl-3.0
DarkXipher/WoWCombatParser
test/src/CombatParser/beans/event/swing/SwingEvent.java
133
package CombatParser.beans.event.swing; import CombatParser.beans.event.Event; public abstract class SwingEvent extends Event { }
gpl-3.0
c0c0n3/omero-ms-queue
components/util/src/test/java/util/io/StreamOpsReadLinesIntoStringTest.java
1430
package util.io; import static java.util.stream.Collectors.joining; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import static util.sequence.Arrayz.array; import static util.io.StreamOps.readLinesIntoString; import org.junit.experimental.theories.DataPoints; import org.junit....
gpl-3.0
Demorde/openmw-android
apps/openmw/mwgui/mapwindow.cpp
24257
#include "mapwindow.hpp" #include <boost/lexical_cast.hpp> #include <OgreSceneNode.h> #include <OgreVector2.h> #include "../mwbase/windowmanager.hpp" #include "../mwbase/world.hpp" #include "../mwbase/environment.hpp" #include "../mwworld/player.hpp" #include "../mwworld/cellstore.hpp" #include "../mwrender/global...
gpl-3.0
UpperSetting/DotNetOpenServerSDK
Protocols/Hello/Windows/HelloProtocolShared/HelloProtocol.cs
1687
/* Copyright 2015-2016 Upper Setting Corporation This file is part of DotNetOpenServer SDK. DotNetOpenServer SDK 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...
gpl-3.0
drkpkg/artemisa
db/migrate/20151026024705_create_servicios.rb
316
class CreateServicios < ActiveRecord::Migration def change create_table :servicios do |t| t.string :nombre_servicio t.string :descripcion_servicio t.references :@cliente, "empleado_id", index: true t.references :@cliente, "vendedor_id", index: true t.timestamps end end end
gpl-3.0
Cbsoftware/pressureNETServer-Java
src/ca/cumulonimbus/barometer/Unit.java
1320
package ca.cumulonimbus.barometer; /* * Units * Millibars (mbar) Hectopascals (hPa) Standard Atmosphere (atm) Millimeteres of Mercury (mmHg) */ public class Unit { double valueInMb; String abbrev; // Conversion factors from http://www.csgnetwork.com/meteorologyconvtbl.html public double convertT...
gpl-3.0
channainfo/reminder
vendor/assets/javascripts/angular-toggle-switch.js
2996
angular.module('toggle-switch', ['ng']).directive('toggleSwitch', function($compile) { return { restrict: 'EA', replace: true, scope: { model: '=', disabled: '@', onLabel: '@', offLabel: '@', knobLabel: '@', html: '=', ...
gpl-3.0
MatiRg/colobot
src/object/object_manager.cpp
14250
/* * This file is part of the Colobot: Gold Edition source code * Copyright (C) 2001-2016, Daniel Roux, EPSITEC SA & TerranovaTeam * http://epsitec.ch; http://colobot.info; http://github.com/colobot * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Pu...
gpl-3.0
JoyTeam/metagam
mg/core/nginx.py
3971
#!/usr/bin/python2.6 # This file is a part of Metagam project. # # Metagam 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. # # Metagam is distributed ...
gpl-3.0
SivilTaram/MyFlask
API/WeChatUtil/WeChat.py
12748
# -*- coding:utf-8 -*- """ 微信企业号消息接口封装模块 封装了多媒体消息接口以及普通文本消息接口 """ import os import sys import time import copy import json import logging import tempfile import mimetypes import flask import requests import MyFlask.API.WeChatUtil.CryptoUtil as utils ''' 企业号请求URL ''' WEIXIN_URL = 'https://qyapi.weixin.qq.com' clas...
gpl-3.0
peijen/TravelExpense
src/ca/ualberta/cs/peijen_travelexpense/ExpenseList.java
2348
/* Travel Expense: travel expense tracking application Copyright (C) 2015 Chris Lin peijen@ualberta.ca This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the Lic...
gpl-3.0
BukkitDocChinese/BukkitAPI
src/main/java/org/bukkit/BanList.java
1887
package org.bukkit; import java.util.Date; import java.util.Set; /** * 一个ban列表,包含一些 {@link Type} 类型的ban。 */ public interface BanList { /** * 表示一个ban-type 使得 {@link BanList} 可追踪. */ public enum Type { /** * 被ban玩家名字 */ NAME, /** * 被ban的IP地址 ...
gpl-3.0
mscuthbert/abjad
abjad/tools/developerscripttools/get_developer_script_classes.py
1011
# -*- encoding: utf-8 -*- import inspect from abjad.tools import documentationtools def get_developer_script_classes(): r'''Returns a list of all developer script classes. ''' from abjad.tools import abjadbooktools from abjad.tools import developerscripttools tools_package_paths = [] tools_pac...
gpl-3.0
vmware/vco-powershel-plugin
powershell/o11nplugin-powershell-core/src/main/java/com/vmware/o11n/plugin/powershell/util/ssh/SSHException.java
1253
/* * Copyright (c) 2011-2012 VMware, Inc. * * This file is part of the vCO PowerShell Plug-in. * * The vCO PowerShell Plug-in 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 and no later v...
gpl-3.0
competitive-programming-itb/contests
JOINTS2021/final/H-ItbNoFukkatsu.cpp
1268
/** * Contest : Joints 2021 Final * Team : ItbNoFukkatsu * Author : Muhammad Kamal Shafi * Problem : H */ #include <bits/stdc++.h> #define fi first #define se second #define pb(a) push_back(a) #define mp(a, b) make_pair(a, b) #define el '\n' using namespace std; using ll = long long; using pii = pair<...
gpl-3.0
Hunsu/L3Project
L3Project/DoxyGen-Doc/interfaceindividu_1_1_i_element.js
648
var interfaceindividu_1_1_i_element = [ [ "ajouterConnu", "interfaceindividu_1_1_i_element.html#a8c265785d6fb0f25cc54ec5850c602d3", null ], [ "getElementsConnus", "interfaceindividu_1_1_i_element.html#abb2ad9e31a3500c3c4deaaf58f9e01c9", null ], [ "getNom", "interfaceindividu_1_1_i_element.html#a7783ed1b115d...
gpl-3.0
sebcourtois/pypeline-tool-devkit
pytaya/core/modeling.py
4276
import maya.cmds as mc import pymel.core as pm from pytd.util.logutils import logMsg from pytaya.core.general import lsNodes from pytaya.util.sysutils import withSelectionRestored from pytaya.util import apiutils as myapi @withSelectionRestored def bakeDiffuseToVertexColor(**kwargs): bOnRefs = kwargs.pop("onRef...
gpl-3.0
aubzen/sheltermanager
src/db.py
19630
#!/usr/bin/python import al import cache import datetime import hashlib import i18n import sys from sitedefs import ASM3_DBTYPE, ASM3_DBHOST, ASM3_DBPORT, ASM3_DBUSERNAME, ASM3_DBPASSWORD, ASM3_DBNAME, ASM3_HAS_ASM2_PK_TABLE, ASM3_PK_STRATEGY, CACHE_COMMON_QUERIES, MULTIPLE_DATABASES_MAP try: import MySQLdb excep...
gpl-3.0
albz/Architect
utils/python_utils/architect_graphycal_unit/architect_read_section_bin.py
17931
#!/usr/bin/python ###################################################################### # Name: read_Architect_bin_section.py # Author: A. Marocchino (last version: I have made the mess with double precision) and F. Massimo # Date: 2016-11-10 # Purpose: read Binary Sections # Source: Pytho...
gpl-3.0
gkrintir/topskim
makeEMuSkim_OnBatch2.C
14020
#include "TFile.h" #include "TDatime.h" #include "TNamed.h" #include "TMath.h" #include "TLorentzVector.h" #include "EMuSkimTree.h" #include <string> #include <vector> const Bool_t isDebug = false; const Float_t jetPtCut = 25.; const Float_t lepPtCut = 15; const Float_t muEtaCut = 2.4; const Float_t muPtCut = 15; ...
gpl-3.0
deesoft/yii2-tools
Bootstrap.php
427
<?php namespace dee\tools; use Yii; use yii\base\BootstrapInterface; /** * Description of Bootstrap * * @author Misbahul D Munir <misbahuldmunir@gmail.com> * @since 1.0 */ class Bootstrap implements BootstrapInterface { public function bootstrap($app) { Yii::$container->set('yii\caching\DbCache...
gpl-3.0
home-climate-control/dz
dz3-servomaster/src/main/java/net/sf/dz3/device/actuator/servomaster/DamperFactory.java
3913
package net.sf.dz3.device.actuator.servomaster; import java.io.IOException; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.ThreadContext; import net.sf.dz3.device.actuator.Damper; import net.sf.servomaster.device.model.ServoController; /** * * @...
gpl-3.0
kylethayer/bioladder
wiki/includes/revisiondelete/RevDelRevisionItem.php
5825
<?php /** * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will...
gpl-3.0
valmynd/MediaFetcher
src/plugins/youtube_dl/youtube_dl/extractor/hketv.py
5645
# coding: utf-8 from __future__ import unicode_literals from .common import InfoExtractor from ..compat import compat_str from ..utils import ( clean_html, ExtractorError, int_or_none, merge_dicts, parse_count, str_or_none, try_get, unified_strdate, urlencode_postdata, urljoin, ) class HKETVIE(InfoExtracto...
gpl-3.0
fjn2/one4all
server/enums/status.js
44
module.exports = { PLAY: 1, STOP: 0, };
gpl-3.0
rmichela/GiantTrees
src/arbaro/java/net/sourceforge/arbaro/tree/StemTraversal.java
1888
/* * This copy of Arbaro is redistributed to you under GPLv3 or (at your option) * any later version. The original copyright notice is retained below. */ // #************************************************************************** // # // # Copyright (C) 2003-2006 Wolfram Diestel // # // # This program...
gpl-3.0
j1fig/nespera
nespera/models/page.py
309
from sqlalchemy import Column, Integer, String, ForeignKey, DateTime from models import db class Page(db.Base): __tablename__ = 'page' id = Column(Integer, primary_key=True) site_id = Column(ForeignKey) url = Column(String) created = Column(DateTime) last_parse = Column(DateTime)
gpl-3.0
Gepardec/Hogarama
Hogajama/hogajama-interfaces/hogajama-interfaces-rs/src/main/java/com/gepardec/hogarama/rest/unitmanagement/dto/BaseDto.java
320
package com.gepardec.hogarama.rest.unitmanagement.dto; public abstract class BaseDto { protected Long id; public BaseDto() { } protected BaseDto(Long id) { this.id = id; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } }
gpl-3.0
gohdan/DFC
known_files/hashes/bitrix/modules/vote/install/components/bitrix/voting.uf/templates/.default/edit.php
63
Bitrix 17.0.9 Business Demo = 4bc0f494c3d12da20ee5252dc0e5680a
gpl-3.0
lcg833/Trebuchet
Trebuchet/src/main/java/com/android/launcher3/stats/util/Logger.java
1575
/* * Copyright (c) 2015. The CyanogenMod 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 appl...
gpl-3.0
bigace/bigace3
library/Bigace/Search/Engine/Item.php
7649
<?php /** * Bigace - a PHP and MySQL based Web CMS. * * LICENSE * * This source file is subject to the new GNU General Public License * that is bundled with this package in the file LICENSE. * It is also available through the world-wide-web at this URL: * http://www.bigace.de/license.html * * Bigace is distri...
gpl-3.0
openskip/skip
features/step_definitions/bookmark_steps.rb
1365
Given /^ブックマークレットのページをURL"(.*)"で表示する$/ do |url| visit url_for(:controller => "bookmark", :action => "new", :url => url) end Given /^ブックマークの詳細ページをURL"(.*)"で表示する$/ do |url| visit url_for(:controller => "bookmark", :action => "show", :url => url) end Given /^URLが"(.*)"で文字列が"(.*)"のリンクが存在すること$/ do |url, title| Nokog...
gpl-3.0
Juraji/Biliomi
core/src/main/java/nl/juraji/biliomi/io/api/twitch/v5/model/TwitchCommunity.java
2879
package nl.juraji.biliomi.io.api.twitch.v5.model; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; /** * Created by Juraji on 8-9-2017. * Biliomi v3 */ @XmlRootElement(name...
gpl-3.0
Eartz/kml-polygon-to-svg
dist/index.js
12247
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = function (kml, options) { var view = { minX: false, maxX: false, minY: false, maxY: false }; var updateView = function updateView(point) { // Store the smallest and bi...
gpl-3.0
KevinKazama/game
jeutennis/migrations/0025_auto_20151212_2244.py
1069
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('jeutennis', '0024_auto_20151209_1357'), ] operations = [ migrations.CreateModel( name='table_tournoi', ...
gpl-3.0
shajoezhu/REMOVEplot
test_figure.cpp
2084
/* * hybrid-Lambda is used to simulate gene trees given species network under * coalescent process. * * Copyright (C) 2010 -- 2014 Sha (Joe) Zhu * * This file is part of hybrid-Lambda. * * hybrid-Lambda is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public L...
gpl-3.0
ajdiaz/mole
mole/output/serialize.py
537
#! /usr/bin/env python # -*- encoding: utf-8 -*- # vim:fenc=utf-8: from mole.event import Event from mole.output import Output from mole.helper.netstring import NetString try: import cPickle as pickle except ImportError: import pickle class OutputSerialize(Output): def __call__(self, pipeline, heads=Non...
gpl-3.0
estaban/pyload
module/plugins/crypter/C1neonCom.py
386
# -*- coding: utf-8 -*- from module.plugins.internal.DeadCrypter import DeadCrypter class C1neonCom(DeadCrypter): __name__ = "C1neonCom" __version__ = "0.05" __type__ = "crypter" __pattern__ = r'http://(?:www\.)?c1neon.com/.*?' __description__ = """C1neon.com decrypter plugin""" __author_na...
gpl-3.0
macleginn/poetic-formula-extractor-python
src/PoeticAnalysisNew.py
11087
from DataStructures import LinkedList from UsefulData import russianStopList as stopList from UsefulData import russianAlphabet as alphabet import math # A bunch of helper methods. def mean(valueList): """ Computes the mean from a list of numbers. """ return sum(valueList) / len(valueList) def sd(val...
gpl-3.0
KurzonDax/nZEDbetter
misc/testing/Dev_testing/clean_nzbs.php
1419
<?php define('FS_ROOT', realpath(dirname(__FILE__))); require_once(FS_ROOT."/../../../www/config.php"); require_once(WWW_DIR."lib/site.php"); require_once(WWW_DIR."lib/nzb.php"); $s = new Sites(); $site = $s->get(); $db = new DB(); $nzb = new NZB(true); // // This script removes all nzbs not found in the db. // if ...
gpl-3.0
zzzzzzzzzzz0/zhscript
gjke4/new.cpp
626
/* * new.cpp * * Created on: 2010-7-13 * Author: zzzzzzzzzzz */ #include "gjke.h" #include "string.h" #include "for_arg_.h" dlle___ char* dlln___(new__)(int siz){ char* mem=new char[siz]; if(mem) memset(mem,0,siz); return mem; } dlle___ void dlln___(delete__)(int argc,...){ _for_args( argc ) delet...
gpl-3.0
TheComet93/ponyban
dependencies/SFML-2.1-source/src/SFML/Window/Linux/InputImpl.cpp
12325
//////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library // Copyright (C) 2007-2013 Laurent Gomila (laurent.gom@gmail.com) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages ...
gpl-3.0
simonpatrick/stepbystep-java
hedwig-ut/src/main/java/com/hedwig/ut/samples/asserts/Transaction.java
607
package com.hedwig.ut.samples.asserts; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; public class Transaction { private final Date date; private final int quantity; public Transaction(String date, int quantity) throws ParseException { this.date = new SimpleDateForma...
gpl-3.0
drkpkg/artemisa
app/controllers/horario_controller.rb
1223
class HorarioController < ApplicationController def list_all @horarios = Horario.all end def create horario = Horario.new horario.horario_entrada = params[:hora_entrada] horario.horario_salida = params[:hora_salida] if horario.valid? horario.save() respond('200', 'En hora buena', ...
gpl-3.0
mpg2899/csc202
csc202/bookfiles/bookFiles/ch03/ReverseStrings.java
929
//---------------------------------------------------------------------- // ReverseStrings.java by Dale/Joyce/Weems Chapter 3 // // Sample use of stack. Outputs strings in reverse order of entry. //---------------------------------------------------------------------- import ch03.stacks.*;...
gpl-3.0
estebansapiens/samplephpapp
views/forms/testimonial/update.php
351
<?php // Settings Start $dirname = "/views/forms/testimonial/"; $settingsfile = dirname(__FILE__).$dirname."config.php"; $settingscodehandle = fopen($settingsfile, "r"); $settingsdata = @fread($settingscodehandle, filesize($settingsfile)); eval(' ?>'.$settingsdata.'<?php '); // Settings End include_once('./views/forms/...
gpl-3.0
colearnr/discuss
public/src/modules/composer.js
12961
define(['taskbar'], function(taskbar) { var composer = { initialized: false, active: undefined, taskbar: taskbar, posts: {}, postContainer: undefined, }; var uploadsInProgress = []; var needToConfirm = false; var lastUUID = null; var anchor = null; //window.onbeforeunload = confirmExit; if ($.receiv...
gpl-3.0
WhisperSystems/Signal-Android
libsignal/service/src/main/java/org/whispersystems/signalservice/api/messages/SignalServiceContent.java
68993
/* * Copyright (C) 2014-2016 Open Whisper Systems * * Licensed according to the LICENSE file in this repository. */ package org.whispersystems.signalservice.api.messages; import com.google.protobuf.ByteString; import com.google.protobuf.InvalidProtocolBufferException; import org.signal.libsignal.metadata.Protoco...
gpl-3.0
lrleon/Aleph-w
tpl_tree_node.H
35892
/* This file is part of Aleph-w library Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 Leandro Rabindranath Leon / Alejandro Mujica This program is free software: you can redistribute it and/or modify it under the terms of...
gpl-3.0
HellionCommunity/HellionExtendedServer
HellionExtendedServer/HESGui.cs
20413
using HellionExtendedServer.Common; using HellionExtendedServer.GUI.Objects; using HellionExtendedServer.Managers; using HellionExtendedServer.Modules; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Windows.Forms; using ZeroGravity.Network; using ZeroGravit...
gpl-3.0
sklarman/grakn
grakn-test/src/test/java/ai/grakn/factory/GraknSessionMock.java
1520
/* * Grakn - A Distributed Semantic Database * Copyright (C) 2016 Grakn Labs Limited * * Grakn 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...
gpl-3.0
nickkolok/chas-ege
zdn/misc_log/M2/main.js
101
window.nomer=sl(1,14); window.comment='Дробные и отрицательные степени';
gpl-3.0