code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 4 991 | language stringclasses 9
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
/*
* Copyright (C) 2011 Axel Kesseler
*
* This software is free and you can use it for any purpose. Furthermore,
* you are free to copy, to modify and/or to redistribute this software.
*
* In addition, this software is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; with... | KaustubhPatange/Resource-Hooker | src/Version 1.0/VersionInfo.cs | C# | gpl-3.0 | 51,672 |
/*
* Title: CloudSim Toolkit
* Description: CloudSim (Cloud Simulation) Toolkit for Modeling and Simulation of Clouds
* Licence: GPL - http://www.gnu.org/copyleft/gpl.html
*
* Copyright (c) 2009-2012, The University of Melbourne, Australia
*/
package org.cloudbus.cloudsim.network.datacenter;
... | thejotta/CloudSimPlusModificado | cloudsim-plus/src/main/java/org/cloudbus/cloudsim/network/datacenter/EdgeSwitch.java | Java | gpl-3.0 | 6,023 |
<?php
/*
* ©2014 Croce Rossa Italiana
*/
class Fototessera extends Entita {
protected static
$_t = 'fototessera',
$_dt = null;
use EntitaCache;
public function utente() {
return Utente::id($this->utente);
}
public function caricaFile ( $fil... | CroceRossaCatania/gaia-donazioni | core/class/Fototessera.php | PHP | gpl-3.0 | 2,561 |
/*
* This file is part of the Hybris programming language interpreter.
*
* Copyleft of Simone Margaritelli aka evilsocket <evilsocket@gmail.com>
*
* Hybris 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... | evilsocket/hybris | stdlib/std/io/console.cc | C++ | gpl-3.0 | 5,447 |
// This file has been generated by Py++.
#include "boost/python.hpp"
#include "python_CEGUI.h"
#include "UnifiedDim.pypp.hpp"
namespace bp = boost::python;
void register_UnifiedDim_class(){
{ //::CEGUI::UnifiedDim
typedef bp::class_< CEGUI::UnifiedDim, bp::bases< CEGUI::BaseDim > > UnifiedDim_exposer_t;... | cooljeanius/CEGUI | cegui/src/ScriptingModules/PythonScriptModule/bindings/output/CEGUI/UnifiedDim.pypp.cpp | C++ | gpl-3.0 | 1,210 |
/*
===========================================================================
Copyright (c) 2010-2015 Darkstar Dev Teams
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... | Kthulupwns/darkstar | src/map/utils/zoneutils.cpp | C++ | gpl-3.0 | 37,469 |
/*
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.
This is sample code and is freely distributable.
*/
using System;
using Syste... | Glain/FFTPatcher | ShishiSpriteEditor/Quantizer/Quantizer.cs | C# | gpl-3.0 | 11,830 |
'''
Created on Dec 23, 2013
@author: yusuf
'''
#list by: type, name etc.
def listFilesAndDirs(listType='a'):
from os import listdir
from os.path import isfile, join
from genericpath import isdir
mypath = "."
files = [ f for f in listdir(mypath) if isfile(join(mypath,f)) ]
directo... | yusufb/file-manager | modules/list.py | Python | gpl-3.0 | 698 |
package vn.zero.d.dzrecoder.fragments;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.Build;
import android.os.Bundle;
import android.os.IBinder;
import android.support.annotation.Nullable;
import android.... | projectDzeroab/dzRecorder | app/src/main/java/vn/zero/d/dzrecoder/fragments/SoundFragment.java | Java | gpl-3.0 | 8,292 |
<?php
/**
* 2007-2016 [PagSeguro Internet Ltda.]
*
* NOTICE OF LICENSE
*
* 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 req... | pagseguro/woocommerce | library/source/Parsers/DirectPayment/OnlineDebit/Request.php | PHP | gpl-3.0 | 4,124 |
var app = angular.module("ngApp", ["ngGrid"]);
app.controller("ngCtrl", function($scope) {
$scope.ngData = data;
$scope.gridOptions = {
data: "ngData",
plugins: [new ngGridCsvExportPlugin()],
showFooter: true,
showGroupPanel: true,
enableColumnReordering: true,
enableColumnResize: true,
showC... | FH-Complete/FHC-AddOn-Reports | include/js/nggrid.js | JavaScript | gpl-3.0 | 368 |
/*
* NMRFx Processor : A Program for Processing NMR Data
* Copyright (C) 2004-2017 One Moon Scientific, Inc., Westfield, N.J., USA
*
* 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... | onemoonsci/nmrfxprocessor | src/main/java/org/nmrfx/processor/operations/Blackman.java | Java | gpl-3.0 | 3,773 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CasparCG.Conformer.Core.Events
{
public class TranscodingChangedEventArgs : EventArgs
{
public Dictionary<string, string> Items { get; set; }
}
}
| Mistobaan/CasparCG | tools/csharp/Conformer/trunk/CasparCG.Conformer.Core/Events/TranscodingChangedEventArgs.cs | C# | gpl-3.0 | 278 |
package org.bukkit.event.server;
import org.bukkit.event.Event;
import org.bukkit.event.Event.Result;
import org.bukkit.event.HandlerList;
import org.bukkit.event.server.PluginEvent;
import org.bukkit.event.server.ServerEvent;
import org.bukkit.plugin.Plugin;
public class PluginDisableEvent extends PluginEvent {
... | deathcap/BedrockAPI | src/main/java/org/bukkit/event/server/PluginDisableEvent.java | Java | gpl-3.0 | 512 |
$(document).ready(init);
function init() {
/* Declaring Events */
attachEvents();
}
function attachEvents() {
$('.addSlo').on('click', addIdo);
$('.addIndicator').on('click', addIndicator);
$('.addTargets').on('click', addTargets);
$('.addCrossCuttingIssue').on('click', addCrossCuttingIssue);
$('.... | CCAFS/MARLO | marlo-web/src/main/webapp/global/js/superadmin/marloSLOs.js | JavaScript | gpl-3.0 | 2,668 |
import discord
from discord.ext import commands
class Helputil:
"""Shane's custom help utility for Dolores."""
def __init__(self, bot):
self.bot = bot
@commands.command(pass_context=True)
async def dolores(self, ctx):
"""Dolores command reference."""
#Adds reaction to messa... | bucklingspring/dolores | cogs/helputil/helputil.py | Python | gpl-3.0 | 3,931 |
/*
* 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 will be use... | jacob1/The-Powder-Toy | src/simulation/elements/PTCT.cpp | C++ | gpl-3.0 | 2,022 |
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'undo', 'az', {
redo: 'Təkrar et',
undo: 'İmtina et'
} );
| ernestbuffington/PHP-Nuke-Titanium | includes/wysiwyg/ckeditor/plugins/undo/lang/az.js | JavaScript | gpl-3.0 | 251 |
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'embedbase', 'es', {
pathName: 'objeto media',
title: 'Media incrustado',
button: 'Insertar Media incrustado',
unsupportedUrlGi... | ernestbuffington/PHP-Nuke-Titanium | includes/wysiwyg/ckeditor/plugins/embedbase/lang/es.js | JavaScript | gpl-3.0 | 705 |
<?php
class AnnotationComment extends Eloquent
{
protected $table = "annotation_comments";
protected $softDelete = true;
public $incrementing = false;
protected $fillable = ['id', 'user_id', 'annotation_id', 'text'];
public function annotation()
{
return $this->belongsTo('DBAnnotation'... | mxabierto/madison | app/models/AnnotationComment.php | PHP | gpl-3.0 | 729 |
package org.opensky.libadsb.msgs;
import org.opensky.libadsb.exceptions.BadFormatException;
import org.opensky.libadsb.exceptions.UnspecifiedFormatError;
import java.io.Serializable;
/*
* This file is part of org.opensky.libadsb.
*
* org.opensky.libadsb is free software: you can redistribute it and/or modify
*... | openskynetwork/java-adsb | src/main/java/org/opensky/libadsb/msgs/OperationalStatusV0Msg.java | Java | gpl-3.0 | 3,797 |
/* This file is part of the BlizzLikeCore Project. See CREDITS and LICENSE files
* 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 la... | blizzlikegroup/blizzlikecore | src/scripts/scripts/eastern_kingdoms/molten_core/boss_gehennas.cpp | C++ | gpl-3.0 | 3,848 |
//----------------------------------------------------------------------------
// Copyright (C) 2004-2017 by EMGU Corporation. All rights reserved.
//----------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;... | neutmute/emgucv | Emgu.CV.Example/XamarinForms/Core/PedestrianDetectionPage.cs | C# | gpl-3.0 | 2,048 |
package ch.cyberduck.binding;
/*
* Copyright (c) 2002-2016 iterate GmbH. All rights reserved.
* https://cyberduck.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 2 of... | iterate-ch/cyberduck | binding/src/main/java/ch/cyberduck/binding/ProxyController.java | Java | gpl-3.0 | 3,080 |
#include "sendcoinsdialog.h"
#include "ui_sendcoinsdialog.h"
#include "init.h"
#include "base58.h"
#include "walletmodel.h"
#include "addresstablemodel.h"
#include "addressbookpage.h"
#include "bitcoinunits.h"
#include "addressbookpage.h"
#include "optionsmodel.h"
#include "sendcoinsentry.h"
#include "guiutil.h"
#inc... | Golfcoin/2.0 | src/qt/sendcoinsdialog.cpp | C++ | gpl-3.0 | 17,996 |
# coding: utf-8
__author__ = 'Math'
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.animation as animation
import random
from scipy.interpolate import interp1d, PchipInterpolator, splrep, splev
import matplotlib.patches as patches
import matplotlib.path as path
import matplotlib as mpl
from mpltoo... | grupoanfi/orderbook-data-analysis | ODA/shape.py | Python | gpl-3.0 | 12,925 |
package com.amazonaws.ec2.doc._2008_12_01;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for DescribeRegionsType complex type.
*
* <p>The fol... | rforge/biocep | src_aws_client/com/amazonaws/ec2/doc/_2008_12_01/DescribeRegionsType.java | Java | gpl-3.0 | 1,630 |
#include <iostream>
#include <tuple>
/**
3 Simple C++17 Features That Will Make Your Code Simpler
https://www.fluentcpp.com/2018/06/19/3-simple-c17-features-that-will-make-your-code-simpler/
*/
using namespace std;
int main()
{
{
auto ch = '#';
auto i = 0;
auto b = true;
}
{
... | nikolaAV/Modern-Cpp | structured-bindings/direct_initialization/main.cpp | C++ | gpl-3.0 | 522 |
package com.andy.design_patterns.combining.observer;
public interface QuackObservable {
public void registerObserver(Observer observer);
public void notifyObservers();
}
| Archerpe/aries | src/main/java/com/andy/design_patterns/combining/observer/QuackObservable.java | Java | gpl-3.0 | 180 |
package eu.f1io.io.baito.socketcon.filters;
import eu.f1io.io.baito.socketcon.SocketConnectionContext;
import eu.f1io.io.baito.socketcon.SocketConnectionFilter;
import eu.f1io.io.baito.socketcon.SocketConnectionHandler;
import eu.f1io.thread.ThreadProvider;
public class ThreadedHandler extends SocketConnectionFilter ... | fikin/f1io | baito/src/main/java/eu/f1io/io/baito/socketcon/filters/ThreadedHandler.java | Java | gpl-3.0 | 763 |
#include <cstdio>
#include <cmath>
#include <vector>
#include <algorithm>
#include <string>
#include <time.h>
#include "markov_chain.h"
#include "peel_sequence_generator.h"
#include "peeler.h"
#include "locus_sampler2.h"
#include "meiosis_sampler.h"
#include "pedigree.h"
#include "genetic_map.h"
#include "descent_gra... | ajm/swiftlink | src/markov_chain.cc | C++ | gpl-3.0 | 12,000 |
var searchData=
[
['end_5ftest',['END_TEST',['../group___calls_malloc.html#gaefcd1ca1799d2395f7bbe3c50bcc8ff8',1,'unit_test.h']]],
['endgame',['endGame',['../game__state_8h.html#aeda119595fcc834db9cfec532a90cf79',1,'game_state.c']]],
['endtrial',['endTrial',['../profile_8h.html#a8aae37a7e7fa5f85958ca30807cae136',... | sherman5/MeleeModdingLibrary | docs/search/all_5.js | JavaScript | gpl-3.0 | 4,177 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// La información general de un ensamblado se controla mediante el siguiente
// conjunto de atributos. Cambie estos valores de atributo para modificar la información
// asociada con un ensamblado.
[assembly: Assembl... | Adversities/Nutdeep | ConsoleExample/Properties/AssemblyInfo.cs | C# | gpl-3.0 | 1,535 |
#include <Interface/Colors.hpp>
#include <cstdlib> // strtol()
bool Colors::hasColors = false;
bool Colors::init()
{
if (has_colors() != TRUE) /* ncurses BOOL */
{
Colors::hasColors = false;
return false;
}
Colors::hasColors = true;
start_color();
// This is a big hack to initialize all 64
// possibl... | DovydasA/nsnake | src/Interface/Colors.cpp | C++ | gpl-3.0 | 4,494 |
#ifndef QUAN_META_NUMBITS_HPP_INCLUDED
#define QUAN_META_NUMBITS_HPP_INCLUDED
/*
Copyright (c) 2003-2014 Andy Little.
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... | andrewfernie/quan-trunk | quan/meta/numbits.hpp | C++ | gpl-3.0 | 1,000 |
# -*- coding: utf-8 -*-
require 'helper.rb'
module BibTeX
class EntryTest < MiniTest::Spec
describe 'a new entry' do
it "won't be nil" do
Entry.new.wont_be_nil
end
end
describe '#add' do
it 'preserves BibTeX::Names (and other subclasses of BibTeX::Value)' do
e = Entry... | minad/bibtex-ruby | test/bibtex/test_entry.rb | Ruby | gpl-3.0 | 17,321 |
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Xml.Serialization;
namespace RDI.NFe2.Business.HWS.SVCAN.Status
{
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.1")]
[Syste... | rodrigordi/opennfe | Open NFe 3/RDI.NFe2.Business/HWS/HWS.SVCAN.Status.NfeStatusServico2.cs | C# | gpl-3.0 | 6,894 |
#include <vector>
#include <queue>
#include <cstdio>
#include <cstring>
using namespace std;
typedef vector<int> vi;
#define pb push_back
vector<vi> G;
int dist[10010];
int parent[10010];
void bfs(int n) {
queue<int> q;
q.push(n);
memset(dist, -1, sizeof(dist));
memset(dist, -1, sizeof(parent));
dist[n] = ... | jhtan/cp | teambook/algorithms/graphs/bfs.cpp | C++ | gpl-3.0 | 940 |
# -*- coding: utf-8 -*-
#------------------------------------------------------------
# streamondemand - XBMC Plugin
# Conector para tutele
# http://blog.tvalacarta.info/plugin-xbmc/pelisalacarta/
#------------------------------------------------------------
import urlparse,urllib2,urllib,re
import os
from core impor... | Zanzibar82/streamondemand.test | servers_sports/tutele.py | Python | gpl-3.0 | 3,586 |
import { registerReducer } from 'foremanReact/common/MountingService';
import { addGlobalFill } from 'foremanReact/components/common/Fill/GlobalFill';
import { registerRoutes } from 'foremanReact/routes/RoutingService';
import Routes from './src/Router/routes'
import reducers from './src/reducers';
// register reducer... | theforeman/foreman_plugin_template | webpack/global_index.js | JavaScript | gpl-3.0 | 682 |
/*
* IntelliJ IDEA plugin to support the Neos CMS.
* Copyright (C) 2016 Christian Vette
*
* 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 ... | cvette/intellij-neos | src/main/java/de/vette/idea/neos/lang/fusion/resolve/ref/FusionReference.java | Java | gpl-3.0 | 1,221 |
using System.Windows;
using JetBrains.Annotations;
using KMBEditor.PresentationLayer.Common.Behavior;
namespace KMBEditor.PresentationLayer.Common.Property
{
/// <summary>
/// コンテンツの遅延ロード用データ保持添付プロパティ
/// <see cref="TabControlLazyLoadContentAttachedBehavior"/>と組み合わせて使用する
/// </summary>
pub... | tar-bin/KMBEditor | KMBEditor/PresentationLayer/Common/Property/LazyLoadContentAttachedProperty.cs | C# | gpl-3.0 | 1,011 |
using System;
using OpenTK;
using OpenTK.Graphics.OpenGL;
using OpenTK.Audio;
using OpenTK.Audio.OpenAL;
using OpenTK.Input;
using System.Drawing;
namespace Game2DKit
{
class Game : GameWindow
{
protected ContentManager Content = new ContentManager();
/// <summary>Creates a 800x600 window wit... | BriptimusPrimus/shooter | ConsoleApplication1/Game2DKit/Game.cs | C# | gpl-3.0 | 2,917 |
package gui.menus.control;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Vector;
import javax.swing.JMenuItem;
import gui.HelpText;
import gui.control.HelpGUIControl;
import gui.menus.HelpHelpMenu;
public class HelpHelpMenuControl {
private static HelpHel... | reinerho/BRLA | BRLA/src/gui/menus/control/HelpHelpMenuControl.java | Java | gpl-3.0 | 1,394 |
namespace EventsAndAttendance.Forms
{
partial class complaintsForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposi... | rhomicom-systems-tech-gh/Rhomicom-ERP-Desktop | RhomicomERP/EventsAndAttendance/Forms/complaintsForm.designer.cs | C# | gpl-3.0 | 32,532 |
<?php
/**
* ProBIND v3 - Professional DNS management made easy.
*
* Copyright (c) 2016 by Paco Orozco <paco@pacoorozco.info>
*
* This file is part of some open source application.
*
* Licensed under GNU General Public License 3.0.
* Some rights reserved. See LICENSE, AUTHORS.
*
* @author Paco Orozco <pac... | pacoorozco/probind | app/Http/Requests/ServerCreateRequest.php | PHP | gpl-3.0 | 2,159 |
<?php
/**
* @package DPCalendar
* @copyright Copyright (C) 2019 Digital Peak GmbH. <https://www.digital-peak.com>
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
*/
defined('_JEXEC') or die();
$listOrder = $this->escape($this->state->get('list.ordering'));
$listDirn = $this->escape($this->state->g... | Digital-Peak/DPCalendar-Free | com_dpcalendar/admin/views/extcalendars/tmpl/default_calendars.php | PHP | gpl-3.0 | 4,363 |
package pt.uminho.sysbio.biosynth.integration.model;
import java.io.Serializable;
import java.util.List;
import java.util.Set;
import org.neo4j.graphdb.DynamicLabel;
import org.neo4j.graphdb.DynamicRelationshipType;
import org.neo4j.graphdb.GraphDatabaseService;
import org.neo4j.graphdb.Label;
import org.neo4j.grap... | Fxe/biosynth-framework | biosynth-integration/src/main/java/pt/uminho/sysbio/biosynth/integration/model/Neo4jGraphNormalizedGPR.java | Java | gpl-3.0 | 7,104 |
import logging
import ssl
import sys
import threading
from typing import List
import websocket
from homematicip.base.enums import *
from homematicip.base.helpers import bytes2str
from homematicip.class_maps import *
from homematicip.connection import Connection
from homematicip.device import *
from homem... | coreGreenberet/homematicip-rest-api | homematicip/home.py | Python | gpl-3.0 | 33,503 |
//
// This file was generated by the BinaryNotes compiler.
// See http://bnotes.sourceforge.net
// Any modifications to this file will be lost upon recompilation of the source ASN.1.
//
using System;
using org.bn.attributes;
using org.bn.attributes.constraints;
using org.bn.coders;
using org.bn.types;
using org.bn;... | rogerz/IEDExplorer | MMS_ASN1_Model/RemoveEventConditionListReference_Response.cs | C# | gpl-3.0 | 934 |
class MassExamsController < ApplicationController
before_filter :require_teacher
def new
@mass_exam = MassExam.new
end
def create
@mass_exam = @current_user.mass_exams.build(params[:mass_exam])
if @mass_exam.save
flash[:notice] = t("controllers.notice.mass_exam_created")
redirect_to ne... | morgoth/quiz | app/controllers/mass_exams_controller.rb | Ruby | gpl-3.0 | 382 |
package org.figis.search.service.util;
import org.apache.deltaspike.core.util.StringUtils;
import org.fao.fi.factsheetwebservice.domain.FactsheetDomain;
import org.figis.search.config.ref.FigisSearchException;
public class FactsheetId {
private FactsheetDomain domain;
private String factsheet;
private String lang... | openfigis/figis-search | figis-search-service/src/main/java/org/figis/search/service/util/FactsheetId.java | Java | gpl-3.0 | 853 |
/*
* Copyright (c) 2016 by VIAE (http///viae-it.com)
*/
package com.viae.maven.sonar.exceptions;
/**
* Exception to be thrown when something goes wrong when handling git processes.
*
* Created by Vandeperre Maarten on 05/05/2016.
*/
public class GitException extends Exception {
private static final String ... | VandeperreMaarten/sonar-maven-plugin | src/main/java/com/viae/maven/sonar/exceptions/GitException.java | Java | gpl-3.0 | 543 |
<?php
// Heading
$_['heading_title'] = 'Informações da conta';
// Text
$_['text_account'] = 'Minha conta';
$_['text_edit'] = 'Informações da conta';
$_['text_your_details'] = 'Caso deseje, modifique as informações da sua conta';
$_['text_success'] = 'As informações da sua conta foram modific... | opencartbrasil/traducao | upload/catalog/language/pt-br/account/edit.php | PHP | gpl-3.0 | 912 |
using System;
namespace Editor_Mono.Cecil.Metadata
{
internal struct TableInformation
{
public uint Offset;
public uint Length;
public uint RowSize;
}
}
| lichunlincn/cshotfix | CSHotFix_SimpleFramework/Assets/CSHotFixLibaray/Editor/Injector/MonoCecil/Mono.Cecil.Metadata/TableInformation.cs | C# | gpl-3.0 | 172 |
module Kddev
class Project
class << self
def list
`ls #{ PATH }`
end
def find(name)
project = new(name)
project.exists? ? project : nil
end
def find!(name)
project = find(name)
raise "Unknown project #{ name }" if project.nil?
proje... | atd/kddev | kddev/project.rb | Ruby | gpl-3.0 | 760 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Web;
using Questionnaires.Core.Services.Models;
using System.Text;
namespace Questionnaires.Web.Helpers
{
/// <summary>
/// This class is tightly coupled to the partial views for answeroptions as it see... | Healthlines/Healthlines-Applications | Source/ElephantParade.Web/Areas/Advisor/Helpers/QuestionReader.cs | C# | gpl-3.0 | 4,393 |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using GitCommands;
using GitExtUtils.GitUI;
using GitExtUtils.GitUI.Theming;
using GitUI.Editor.Diff;
using GitUI.Theming;
using ICSharpCode.TextEditor;
using ICSharpCode.T... | EbenZhang/gitextensions | GitUI/Editor/FileViewerInternal.cs | C# | gpl-3.0 | 28,486 |
#include "include/first.hpp"
#include "ServerMessageCenter.hpp"
#include "SocketLib/SocketServer.hpp"
#include <iostream>
using namespace std;
using namespace SocketLib;
using namespace Server;
using namespace Util;
int main(int argc, char *argv[])
{
int exit_code = EXIT_SUCCESS;
if (argc <= 1) {
cout << "u... | cmere/photona | src/Server/main.cpp | C++ | gpl-3.0 | 870 |
import {NavElement} from 'helpers/nav-element';
export class Navigation {
constructor() {
this.home = new NavElement("Home");
this.about = new NavElement("About");
this.form = new NavElement("Upload");
this._active = this.home;
}
changeActive(navElement) {
this._ac... | pbujok/workoutcombiner | src/FrontEnd/src/navigation.js | JavaScript | gpl-3.0 | 435 |
/*
* 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... | paolopavan/cfr | src/weka/classifiers/TREES/J48/C45PruneableClassifierTree.java | Java | gpl-3.0 | 8,148 |
<?php
namespace App\Http\Controllers\Seguridad;
use App\Modelos\Seguridad\Bitacora;
use App\Modelos\Seguridad\AsignacionPermisos\Rol;
use App\Modelos\Seguridad\Empleado;
use App\Utils;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Redirect;
use App\Http\Controllers\C... | rodrigoAb21/ERP3 | app/Http/Controllers/Seguridad/EmpleadoController.php | PHP | gpl-3.0 | 4,088 |
#include <opm/parser/eclipse/EclipseState/Schedule/Action/ActionValue.hpp>
#include <stdexcept>
namespace Opm {
namespace Action {
namespace {
#if 0
inline std::string tokenString(TokenType op) {
switch (op) {
case TokenType::op_eq:
return "==";
case TokenType::op_ge:
return ">=";
... | dr-robertk/opm-common | src/opm/parser/eclipse/EclipseState/Schedule/Action/ActionValue.cpp | C++ | gpl-3.0 | 3,041 |
package the.bytecode.club.bytecodeviewer.obfuscators;
import org.objectweb.asm.tree.ClassNode;
import the.bytecode.club.bytecodeviewer.BytecodeViewer;
import the.bytecode.club.bytecodeviewer.api.ASMResourceUtil;
/***************************************************************************
* Bytecode Viewer (BCV) - Ja... | Konloch/bytecode-viewer | src/main/java/the/bytecode/club/bytecodeviewer/obfuscators/RenameClasses.java | Java | gpl-3.0 | 2,070 |
package DBConnexion;
/**
* connection to SQLite database
* @author Adrián Castelló Martínez; Macarena Parrizas Siles; Benedikt Futterer; Fabian Finkbeiner
* creation 20.10.2016
* @version 18.01.2017
* @exception database connection not successful
*/
import java.sql.*;
import javax.sw... | Rinkamika/Drawing-Project | src/DBConnexion/DBConnexion.java | Java | gpl-3.0 | 1,330 |
using SmartStore.Core.Configuration;
namespace SmartStore.Core.Domain.Common
{
public class SocialSettings : ISettings
{
/// <summary>
/// Gets or sets the value that determines whether social links should be show in the footer
/// </summary>
public bool ShowSocialLinksInFooter... | smartstoreag/SmartStoreNET | src/Libraries/SmartStore.Core/Domain/Common/SocialSettings.cs | C# | gpl-3.0 | 1,077 |
package com.mylovemhz.floordoorrecords.net;
import org.json.JSONException;
import org.json.JSONObject;
public class DownloadResponse {
private boolean isSuccess = false;
public DownloadResponse(String response){
try {
JSONObject data = new JSONObject(response);
isSuccess = da... | allanpichardo/Floordoor-Records-Android | app/src/main/java/com/mylovemhz/floordoorrecords/net/DownloadResponse.java | Java | gpl-3.0 | 499 |
package validatorStrategies
import (
"encoding/json"
"fmt"
_ "reflect"
"strconv"
"strings"
_ "github.com/ethereum/go-ethereum/common"
ethTypes "github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/logger/glog"
"github.com/tendermint/abci/types... | wangluinc/ethermint | strategies/validators/tx_based.go | GO | gpl-3.0 | 2,129 |
/*
* Copyright (c) Ashar Khan 2017. <ashar786khan@gmail.com>
* This file is part of Google Developer Group's Android Application.
* Google Developer Group 's Android Application is free software : you can redistribute it and/or modify
* it under the terms of GNU General Public License as published by the Free... | coder3101/gdgApp | gdg/src/main/java/com/softminds/gdg/fragments/Notify.java | Java | gpl-3.0 | 5,130 |
<?php
uses('de.moonbird.common.registry.Registry');
abstract class Request extends Registry
{
/**
* Initialise request class
* @return void
*/
public static function init()
{
$querystring= $_SERVER["QUERY_STRING"];
if (strpos($querystring, "&")>-1) {
$querystring= substr($querystring, 0, ... | Moonbird-IT/mbframework | src/de/moonbird/web/Request.class.php | PHP | gpl-3.0 | 1,791 |
module Msf::Module::Author
#
# Attributes
#
# @!attribute author
# The array of zero or more authors.
attr_reader :author
#
# Instance Methods
#
#
# Return a comma separated list of author for this module.
#
def author_to_s
author.collect { |author| author.to_s }.join(", ")
end
... | cSploit/android.MSF | lib/msf/core/module/author.rb | Ruby | gpl-3.0 | 501 |
/*!
* \file
* \brief
* \author Armin Schmidt
*
* ----------------------------------------------------------------------------
*
* PlugBoard - A versatile communication simulation framework
* Copyright (C) 2007-2008 Armin Schmidt
*
* This file is part of PlugBoard.
*
* PlugBoard is free software: you can re... | Dunkelschorsch/plugboard | types/vectors.hpp | C++ | gpl-3.0 | 1,451 |
<?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
*/
namespace phpbb\extension;
use phpbb\exc... | javiexin/extdepend | phpbb3200/phpbb/extension/manager.php | PHP | gpl-3.0 | 17,960 |
#define BROKEN_WEAPON(weaponName) \
class weaponName; \
class broken_##weaponName : weaponName { \
scope = public; \
};
BROKEN_WEAPON(launch_RPG7_F)
BROKEN_WEAPON(CUP_launch_RPG7V)
BROKEN_WEAPON(CUP_launch_RPG7V_NSPU)
BROKEN_WEAPON(CUP_launch_RPG7V_PGO7V)
BROKEN_WEAPON(CUP_launch_RPG7V_PGO7V2)
BROKEN_WEAPON(CUP_launc... | finesseseth/SOCOMD | modsets/socomd_content/configs/weapons/override/malfunctions.hpp | C++ | gpl-3.0 | 367 |
package mobop.booklist.app.data.database;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.support.annotation.NonNull;
import android.text.TextUtils;
import mobop.booklist.app.adapter.BookAdapter;
import... | JoeButikofer/BookList | app/src/main/java/mobop/booklist/app/data/database/BookManager.java | Java | gpl-3.0 | 10,081 |
<?php
class ControllerCommonCurrency extends Controller {
public function index() {
$this->load->language('common/currency');
$data['action'] = $this->url->link('common/currency/currency', '');
$data['code'] = $this->session->data['currency'];
$this->load->model('localisation/currency');
$data['cur... | lucasjkr/opencommerce | public_html/catalog/controller/common/currency.php | PHP | gpl-3.0 | 1,616 |
// besmellahe rahmane rahim
// Allahomma ajjel le-valiyek al-faraj
namespace IRI.Ket.Geometry
{
public enum PointPolygonRelation
{
In,
On,
Out
}
}
| hosseinnarimanirad/IRI.Japey | IRI.Sta/IRI.Sta.Geometry/Relation/PointPolygonRelation.cs | C# | gpl-3.0 | 187 |
package com.google.common.collect;
import com.google.common.annotations.GwtCompatible;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import javax.annotation.Nullable;
@GwtCompatible
public abstract interface ListMultimap<K, V> extends Multimap<K, V>
{
public abstract Map<K, Collection<V>... | zhangjianying/12306-android-Decompile | src/com/google/common/collect/ListMultimap.java | Java | gpl-3.0 | 778 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MyP... | bandaca/MyPets | MyPets/Properties/AssemblyInfo.cs | C# | gpl-3.0 | 1,361 |
<?php
namespace PJM\AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
use Symfony\Component\Validator\Constraints as Assert;
/**
* Responsabilite.
*
* @ORM\Table()
* @ORM\Entity(repositoryClass="PJM\AppBundle\Entity\ResponsabiliteRepository")
* @U... | Minishlink/physbook | src/PJM/AppBundle/Entity/Responsabilite.php | PHP | gpl-3.0 | 4,507 |
#!/usr/bin/python
version=1.0
# orangen.py: simplified default pin generator for livebox 2.1 and livebox next
# usage: python orangen.py <4 last digits from wan mac> <4 last digits from serial>
# It will just return the PIN
# Algorithm and vulnerability by wifi-libre. For more details check https://www.wifi-libre.com... | kcdtv/nmk | orangen.py | Python | gpl-3.0 | 1,843 |
notes = ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"]
def chords(root):
n = notes + notes
i = n.index(root)
return [[n[i], n[i + 4], n[i + 7]], [n[i], n[i + 3], n[i + 7]]]
| VladKha/CodeWars | 7 kyu/Chords/solve.py | Python | gpl-3.0 | 206 |
// Copyright 2012 The Gorilla 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 sessions
import (
"encoding/gob"
"fmt"
"net/http"
"time"
"github.com/gorilla/context"
)
// Default flashes key.
const flashesKey = "_flash"... | tanji/replication-manager | vendor/github.com/gorilla/sessions/sessions.go | GO | gpl-3.0 | 6,457 |
/*
* WANDORA
* Knowledge Extraction, Management, and Publishing Application
* http://wandora.org
*
* Copyright (C) 2004-2015 Wandora Team
*
* 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 Softwar... | Anisorf/ENCODE | encode/src/org/wandora/application/tools/statistics/AverageClusteringCoefficient.java | Java | gpl-3.0 | 5,374 |
<?php
/* ----------------------------------------------------------------------
* app/lib/pawtucket/BaseMultiSearchController.php :
* ----------------------------------------------------------------------
* CollectiveAccess
* Open-source collections management software
* ------------------------------------------... | libis/pa_cct | app/lib/pawtucket/BaseMultiSearchController.php | PHP | gpl-3.0 | 6,189 |
// __
// ____ ___ ___ ____ ___ ____ / /__ __
// / __ `__ \/ _ \/ __ `__ \/ __ \ / __/ | / /
// / / / / / / __/ / / / / / /_/ // /_ | |/ /
// /_/ /_/ /_/\___/_/ /_/ /_/\____(_)__/ |___/
//
//
// Created by Memo Akten, www.memo.tv
//
// ofxMSAControlFreak
//
#inc... | memo/VolumeRunner | addons/ofxMSAControlFreak/src/Parameter.cpp | C++ | gpl-3.0 | 4,844 |
//Game.cpp
#include "Game.h"
#include "Load.h"
#include <sound.hpp>
#include <report.hpp>
extern int stateID;
extern int nextState;
extern std::vector<Texture*>textureList;
extern AudioEngine *audio;
extern AudioSoundFX *snd_bonusget, *snd_hit, *snd_pow;
extern AudioMusic *audio_music;
extern GLFT_Font font;
extern GL... | duganet/arkilloid | src/Game.cpp | C++ | gpl-3.0 | 5,836 |
/**
* Copyright (C) 2017 Order of the Bee
*
* This file is part of Community Support Tools
*
* Community Support Tools 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 Lice... | Vitezslav-Sliz/tieto-alfresco-repository_monitor | health-monitor-repo/src/main/resources/alfresco/extension/templates/webscripts/com/tieto/healthy-addon/admin/healthy-repo-addon/sites.lib.js | JavaScript | gpl-3.0 | 1,177 |
package mathe.strukturen;
import java.io.Serializable;
public interface Kategorie<OBJ extends Serializable, MOR extends Serializable> {
Menge<OBJ> objecte();
Menge<MOR> morphismen(OBJ from, OBJ to);
}
| ThoNill/Mathe | Mathe/src/mathe/strukturen/Kategorie.java | Java | gpl-3.0 | 213 |
/*
TrafficSim is simulation of road traffic
Copyright (C) 2009 Mariusz Ceier, Adam Rutkowski
This file is part of TrafficSim
TrafficSim 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, ei... | mceier/trafficsim | simulation/src/trafficsim/Car.java | Java | gpl-3.0 | 16,937 |
//
// Vivado(TM)
// rundef.js: a Vivado-generated Runs Script for WSH 5.1/5.6
// Copyright 1986-2017 Xilinx, Inc. All Rights Reserved.
//
var WshShell = new ActiveXObject( "WScript.Shell" );
var ProcEnv = WshShell.Environment( "Process" );
var PathVal = ProcEnv("PATH");
if ( PathVal.length == 0 ) {
PathVal = "C:/Xil... | rongcuid/lots-of-subleq-cpus | Subleq V2/SubLEQV2Viv/SubLEQV2Viv.runs/synth_1/rundef.js | JavaScript | gpl-3.0 | 1,239 |
from opc.colormap import Colormap
from opc.colors import BLACK, BLUE, YELLOW, RED, GREEN
from .baseclasses.diamondsquare import DiamondSquare
class Art(DiamondSquare):
description = "Thin plasma using DiamondSquare and colormap rotation"
def __init__(self, matrix, config):
super(Art, self).__init__... | ak15199/rop | art/plasma2.py | Python | gpl-3.0 | 861 |
<?php
/**
* Customizer functionality for the Slider section.
*
* @package Hestia
* @since Hestia 1.0
*/
/**
* Hook controls for Slider section to Customizer.
*
* @since Hestia 1.0
* @modified 1.1.30
*/
function hestia_big_title_customize_register( $wp_customize ) {
$selective_refresh = isset( $wp_customize... | fletch0098/TripToGo | wp-content/themes/hestia-pro/inc/features/feature-big-title-section.php | PHP | gpl-3.0 | 6,140 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="fr_FR">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>BcdDate</name>
<message>
<source>encodedDate</source>
<translation>Date</translation>
</message>
</context>
<context>
<name>BcdMonthYear</name>
... | roidelapluie/readesm | ressources/translations/readesm_fr.ts | TypeScript | gpl-3.0 | 72,763 |
from django.conf.urls.defaults import *
urlpatterns = patterns('imaging.views',
(r'^iframe_form/$', 'iframe_form'),
(r'^ajax_delete/$', 'ajax_image_removal'),
)
| pielgrzym/django-minishop | imaging/urls.py | Python | gpl-3.0 | 174 |
#include <cstdlib>
#include "CCDB/Helpers/PathUtils.h"
using namespace std;
using namespace ccdb;
//______________________________________________________________________________
string ccdb::PathUtils::ExtractDirectory( const string& path )
{
return path.substr( 0, path.find_last_of( '/' ) ); //will get... | JeffersonLab/clas12-ccdb | ext/ccdb_1.05/src/Library/Helpers/PathUtils.cc | C++ | gpl-3.0 | 13,177 |
package be.mira.jongeren.administration.controllers;
import be.mira.jongeren.administration.domain.Event;
import be.mira.jongeren.administration.domain.Partaking;
import be.mira.jongeren.administration.repository.PartakingRepository;
import be.mira.jongeren.administration.util.GenderOptions;
import be.mira.jongeren.ad... | deVinnnie/magic-membership-management | src/main/java/be/mira/jongeren/administration/controllers/PersonController.java | Java | gpl-3.0 | 3,323 |
<?php
/*
OpenSensorData.net
OpenSensorData.net is a free (as in freedom) online database and
API to store sensor data.
Copyright (C) 2013 Sony Computer Science Laboratory Paris
Author: Peter Hanappe
This program is free software: you can redistribute it and/or modify
it under the term... | hanappe/opensensordata.net | processdata.php | PHP | gpl-3.0 | 7,528 |
// $Id: RosFill.hpp 1186 2019-07-12 17:49:59Z mueller $
// SPDX-License-Identifier: GPL-3.0-or-later
// Copyright 2000-2011 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
//
// Revision History:
// Date Rev Version Comment
// 2011-02-25 364 1.1 Support << also to string
// 2011-01-30 359 1.0 Ado... | wfjm/w11 | tools/src/librtools/RosFill.hpp | C++ | gpl-3.0 | 1,106 |
#ifndef QUAN_CAPACITANCE_HPP_INCLUDED
#define QUAN_CAPACITANCE_HPP_INCLUDED
#if (defined _MSC_VER) && (_MSC_VER >= 1200)
# pragma once
#endif
/*
Copyright (c) 2003-2014 Andy Little.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as pu... | andrewfernie/quan-trunk | quan/capacitance.hpp | C++ | gpl-3.0 | 5,850 |