repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
gohdan/DFC
known_files/hashes/core/model/modx/mail/phpmailer/language/phpmailer.lang-fa.php
114
ModX Revolution 2.5.0 = 71a9a71365fbadabd3c026814147a5ee ModX Revolution 2.3.3 = 8f4246cdb74b6ff5b2557a1cbbc1657b
gpl-3.0
lichunlincn/cshotfix
CSHotFix_SimpleFramework/Assets/CSHotFixLibaray/Editor/Injector/MonoCecil/Mono.Cecil/DeferredModuleReader.cs
486
using Editor_Mono.Cecil.PE; using System; namespace Editor_Mono.Cecil { internal sealed class DeferredModuleReader : ModuleReader { public DeferredModuleReader(Image image) : base(image, ReadingMode.Deferred) { } protected override void ReadModule() { this.module.Read<ModuleDefinition, ModuleD...
gpl-3.0
UMN-Hydro/GSFLOW_pre-processor
python_scripts/MODFLOW_scripts/MODFLOW_NWT_lib_test.py
76197
# -*- coding: utf-8 -*- """ Created on Sun Sep 17 22:34:30 2017 MODFLOW_NWT_lib This library includes all the separate matlab functions for writing the different MODFLOW input files @author: gcng """ import numpy as np import pandas as pd # for data structures and reading in data from text file import matplotlib.py...
gpl-3.0
t-wissmann/qutebrowser
qutebrowser/utils/qtutils.py
13083
# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: # Copyright 2014-2020 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. # # qutebrowser is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free S...
gpl-3.0
stan-dev/pystan
tests/test_sample_exceptions.py
593
"""Tests for sampling related exceptions.""" import pytest import stan # program code designed to generate initialization failed error program_code = "parameters { real y; } model { y ~ uniform(10, 20); }" "" def test_initialization_failed(): posterior = stan.build(program_code, random_seed=1) with pytest.r...
gpl-3.0
apelttom/AlgoritmosDeOrdenamiento
sorting/algs/impl/TopDownMergeSorter.java
1253
package pe.edu.pucp.algorithms.sorting.algs.impl; /** * Implementation of Top-Down Merge Sort algorithm. Based on the implementation * described in Robert Sedgewick's Algorithm book. * * @author Carlos Gavidia (cgavidia@acm.org) * * @param <T> * Type of the array to be sorted */ public ...
gpl-3.0
mywot/firefox
data/settings.js
7558
/* content/settings.js Copyright © 2009 - 2012 WOT Services Oy <info@mywot.com> This file is part of WOT. WOT 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 ...
gpl-3.0
thumty/thumty
thumty-server/src/test/java/org/eightlog/thumty/server/params/ThumbTrimTest.java
2704
package org.eightlog.thumty.server.params; import org.junit.Test; import static org.fest.assertions.api.Assertions.assertThat; /** * @author Iliya Grushevskiy <iliya.gr@gmail.com> */ public class ThumbTrimTest { @Test public void shouldCheckCanParse() throws Exception { assertThat(ThumbTrim.canPar...
gpl-3.0
TomasTomecek/dockpulp
dockpulp/imgutils.py
5479
# This file is part of dockpulp. # # dockpulp 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. # # dockpulp is distributed in the hope t...
gpl-3.0
idega/platform2
src/com/idega/core/component/data/ICObjectBMPBean.java
12077
//idega 2001 - Tryggvi Larusson /* *Copyright 2001 idega.is All Rights Reserved. */ package com.idega.core.component.data; //import java.util.*; import java.sql.SQLException; import java.text.Collator; import java.util.Collection; import java.util.List; import java.util.Vector; import javax.ejb.FinderException; imp...
gpl-3.0
iptux/DroidUi
examples/intent.py
4234
# -*- coding: utf-8 -*- # # intent.py # extract intent constants from android.content.Intent # # Copyright (C) 2012-2015 Tommy Alex. All Rights Reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Fo...
gpl-3.0
davqvist/CustomAchievements
src/main/java/com/davqvist/customachievements/block/BlockTrophy.java
7196
package com.davqvist.customachievements.block; import com.davqvist.customachievements.material.MaterialStandard; import com.davqvist.customachievements.reference.Reference; import com.davqvist.customachievements.tileentity.TileEntityTrophy; import com.davqvist.customachievements.utility.LogHelper; import net.minecraft...
gpl-3.0
tech-team/case-finder
src/main/java/proxy/ProxyInfo.java
2711
package proxy; public class ProxyInfo implements Comparable<ProxyInfo> { private String ip; private int port; private String country = ""; private int rating = 0; private int workingPerc = 0; private int responseTimePerc = 0; private int downloadSpeedPerc = 0; private int unreliability...
gpl-3.0
muziekklas/TfsMigrationUtility
TFSMigrationUtility/TFSMigrationUtility.Core.Test/Properties/AssemblyInfo.cs
1434
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("TF...
gpl-3.0
brainly/ui-components
components/card-deck/src/js/vendor/closest-polyfil.js
290
// IE/Edge/OperaMini do not support Node.closest yet function closest(el, sel) { do { if ((el.matches && el.matches(sel)) || (el.matchesSelector && el.matchesSelector(sel))) { return el; } el = el.parentElement; } while (el); return null; } export default closest;
gpl-3.0
waikato-datamining/adams-base
adams-core/src/main/java/adams/flow/processor/GraphicalOutputProducingProcessor.java
1486
/* * 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
WorldGrower/WorldGrower
src/org/worldgrower/gui/ImageListRenderer.java
1955
/******************************************************************************* * 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...
gpl-3.0
demisang/yii2-dropbox-backup
BackupController.php
6449
<?php /** * @copyright Copyright (c) 2020 Ivan Orlov * @license https://github.com/demisang/yii2-dropbox-backup/blob/master/LICENSE * @link https://github.com/demisang/yii2-dropbox-backup#readme * @author Ivan Orlov <gnasimed@gmail.com> */ namespace demi\backup\dropbox; use Yii; use yii\helpers\Console...
gpl-3.0
maxammann/SimpleClans2
SimpleClans2/src/main/java/com/p000ison/dev/simpleclans2/converter/ConvertedClanPlayer.java
1173
/* * This file is part of SimpleClans2 (2012). * * SimpleClans2 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
CryptoExperts/wb_contest_submission_server
services/web-dev/static/js/flot.js
2249
$(function() { var programs = getProgramsToPlot(); function dataGrowth(start, end, factor) { var minutes = Math.floor((end-start)/60); return [...Array(minutes+1).keys()].map(i => [start*1000 + i*60000, factor*Math.pow(i/1440,2)]); } function dataDecrease(start, peak, end, factor) { ...
gpl-3.0
rafa1231518/CommunityBot
lib/xml2js-req/xmlbuilder/lodash/_baseLt.js
379
'use strict'; /** * The base implementation of `_.lt` which doesn't coerce arguments to numbers. * * @private * @param {*} value The value to compare. * @param {*} other The other value to compare. * @returns {boolean} Returns `true` if `value` is less than `other`, * else `false`. */ function baseLt(value, ot...
gpl-3.0
NablaWebkom/django-wiki
wiki/plugins/links/mdx/djangowikilinks.py
4454
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Wikipath Extension for Python-Markdown ====================================== Converts [Link Name](wiki:ArticleName) to relative links pointing to article. Requires Python-Markdown 2.0+ Basic usage: >>> import markdown >>> text = "Some text with a [Link Nam...
gpl-3.0
WEEE-Open/weeelab-telegram-bot
variables.py
2913
import os # system library needed to read the environment variables def __unpack_wol(wol): wol = wol.split('|') result = {} for machine in wol: machine = machine.split(':', 1) result[machine[0]] = machine[1] return result # get environment variables OC_URL = os.environ....
gpl-3.0
mater06/LEGOChimaOnlineReloaded
LoCO Client Files/Decompressed Client/Extracted DLL/System.Xml/MS/Internal/Xml/XPath/NumberFunctions.cs
4136
// Decompiled with JetBrains decompiler // Type: MS.Internal.Xml.XPath.NumberFunctions // Assembly: System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // MVID: 50ABAB51-7DC3-4F0A-A797-0D0C2D124D60 // Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Xml.dll using Syste...
gpl-3.0
zhonghuasheng/JAVA
basic/src/main/java/com/zhonghuasheng/basic/java/thread/thread/DaemonThreadExample.java
1208
package com.zhonghuasheng.basic.java.thread.thread; public class DaemonThreadExample { public static void main(String[] args) { System.out.println("main thread begin"); Thread thread1 = new Thread(new Runnable() { @Override public void run() { // 这是...
gpl-3.0
letsgoING/ArduBlock
Source/ardublock-master/ardublock-master/java/com/ardublock/translator/block/letsgoING/AndroidRemoteBlock1.java
1269
package com.ardublock.translator.block.letsgoING; import com.ardublock.translator.Translator; import com.ardublock.translator.block.TranslatorBlock; import com.ardublock.translator.block.exception.SocketNullException; import com.ardublock.translator.block.exception.SubroutineNotDeclaredException; public class An...
gpl-3.0
IotaMyriad/SmartMirror
Widgets/InstalledWidgets/ExampleWidget2/ExampleExpandedWidget2.py
552
# -*- coding: utf-8 -*- from PyQt5.QtWidgets import * from Widgets.ExpandedWidget import ExpandedWidget class ExampleExpandedWidget2(ExpandedWidget): def __init__(self): super(ExampleExpandedWidget2, self).__init__() self.initUI() def initUI(self): self.layout = QVBoxLayout() ...
gpl-3.0
miro-e25/Bandika
bandika/web/static-content/ckeditor/plugins/widget/lang/en.js
258
/* Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang("widget","en",{move:"Click and drag to move",label:"%1 widget"});
gpl-3.0
manojdjoshi/dnSpy
dnSpy/dnSpy/Output/ThemeFontSettingsDefinitions.cs
1131
/* Copyright (C) 2014-2019 de4dot@gmail.com This file is part of dnSpy dnSpy 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...
gpl-3.0
rgugliel/CoxIter
docs/search/all_15.js
368
var searchData= [ ['weightsdotted_426',['weightsDotted',['../class_cox_iter.html#a5b524ed0a5abfadc4fa2a7ddf061ce85',1,'CoxIter']]], ['writegraph_427',['writeGraph',['../class_cox_iter.html#a46a591ed26ccbdd6480093fe69262b94',1,'CoxIter']]], ['writegraphtodraw_428',['writeGraphToDraw',['../class_cox_iter.html#a5d9f...
gpl-3.0
MitosEHR/MitosEHR-Official
app/view/fees/PaymentEntryWindow.js
5578
//****************************************************************************** // new.ejs.php // New Patient Entry Form // v0.0.1 // // Author: Ernest Rodriguez // Modified: GI Technologies, 2011 // // MitosEHR (Electronic Health Records) 2011 //************************************************************************...
gpl-3.0
bhermansyah/DRR-datacenter
scripts/misc-boedy1996/test_chart.py
3094
import os os.environ.setdefault("DJANGO_SETTINGS_MODULE","geonode.settings") from netCDF4 import Dataset, num2date import numpy as np import matplotlib.mlab as mlab import matplotlib.pyplot as plt import matplotlib.ticker as ticker def get_month_name(monthNo): if monthNo==1: return 'January' elif monthNo==2: ...
gpl-3.0
Toukibi/ToSAddon
BetterPickQueue/src/betterpickqueue.lua
63402
local addonName = "BetterPickQueue"; local verText = "1.18"; local autherName = "TOUKIBI"; local addonNameLower = string.lower(addonName); local SlashCommandList = {"/pickq", "/pickqueue"} -- {"/コマンド1", "/コマンド2", .......}; local CommandParamList = { reset = {jp = "計測リセット", en = "Reset Session."}, resetpos = {jp = "位置...
gpl-3.0
NideXTC/formations
PHP/Exercices/login/connect.php
745
<?php error_reporting(E_ALL); ini_set("display_errors", 1); /* * DOC : pdo.__construct() * Connexion à la BDD * Wrap try/catch * Jeter des exceptions */ try { $db = new PDO('mysql:host=localhost;port=3306;dbname=test;charset=utf8', 'root', 'root'); $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTIO...
gpl-3.0
sosilent/euca
clc/modules/www/src/main/java/com/eucalyptus/webui/client/service/AwsServiceAsync.java
4494
package com.eucalyptus.webui.client.service; import java.util.ArrayList; import java.util.List; import com.eucalyptus.webui.client.session.Session; import com.eucalyptus.webui.shared.aws.ImageType; import com.google.gwt.user.client.rpc.AsyncCallback; public interface AwsServiceAsync { void lookupInstance(Session s...
gpl-3.0
jobbrIO/jobbr-execution-forked
source/Jobbr.Server.ForkedExecution/Execution/ServiceMessaging/ProgressServiceMessage.cs
340
namespace Jobbr.Server.ForkedExecution.Execution.ServiceMessaging { /// <summary> /// The progress service message. /// </summary> public class ProgressServiceMessage : ServiceMessage { /// <summary> /// Gets or sets the percent. /// </summary> public double Percent {...
gpl-3.0
Warren-GH/emgucv
Emgu.CV.Cuda/CudaImage.cs
15359
//---------------------------------------------------------------------------- // Copyright (C) 2004-2015 by EMGU Corporation. All rights reserved. //---------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Drawing; using System.R...
gpl-3.0
7starsea/libqxt-for-qt5
libqxt/src/core/qxtfilelock_win.cpp
2878
/**************************************************************************** ** ** Copyright (C) Qxt Foundation. Some rights reserved. ** ** This file is part of the QxtCore module of the Qxt library. ** ** This library is free software; you can redistribute it and/or modify it ** under the terms of the Common ...
gpl-3.0
papedaniel/oioioi
oioioi/scoresreveal/migrations/0001_initial.py
1584
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('contests', '0001_initial'), ('problems', '0001_initial'), ] operations = [ migrations.CreateModel( name=...
gpl-3.0
s20121035/rk3288_android5.1_repo
external/proguard/src/proguard/ant/ProGuardTask.java
9417
/* * ProGuard -- shrinking, optimization, obfuscation, and preverification * of Java bytecode. * * Copyright (c) 2002-2013 Eric Lafortune (eric@graphics.cornell.edu) * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as publ...
gpl-3.0
stephaneeybert/learnintouch
index.php
1150
<?php /* This file is part of LearnInTouch. LearnInTouch 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. LearnInTouch is distributed in t...
gpl-3.0
yp/ZRHCstar
include/expr_tree.hpp
2535
/** * * ZRHC-* * Zero-Recombinant Haplotype Configuration with missing genotypes * * Copyright (C) 2010 Yuri Pirola <yuri.pirola(-at-)gmail.com> * * Distributed under the terms of the GNU General Public License (GPL) * * * This file is part of ZRHC-* (ZRHCstar). * * ZRHC-* is f...
gpl-3.0
r0balo/pelisalacarta
python/main-classic/channels/pornhub.py
4557
# -*- coding: utf-8 -*- #------------------------------------------------------------ # pelisalacarta - XBMC Plugin # Canal para pornhub # http://blog.tvalacarta.info/plugin-xbmc/pelisalacarta/ #------------------------------------------------------------ import re import urlparse from core import config from core im...
gpl-3.0
4FortyTwo2/sources
javascript/core/src/state/modules/credits.js
124
const credits = { state: { count: 0, info: '' }, actions: { }, mutations: { } };
gpl-3.0
kelsos/mra-net-sharp
mraSharp/Forms/UrlEditorWindow.Designer.cs
3640
namespace mraNet.Forms { partial class UrlEditorWindow { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
gpl-3.0
Bombe/Sone
src/main/java/net/pterodactylus/sone/freenet/wot/OwnIdentity.java
1216
/* * Sone - OwnIdentity.java - Copyright © 2010–2020 David Roden * * 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
TecMunky/xDrip
app/src/main/java/com/eveningoutpost/dexdrip/Models/Sensor.java
10196
package com.eveningoutpost.dexdrip.Models; import android.provider.BaseColumns; import com.activeandroid.Model; import com.activeandroid.annotation.Column; import com.activeandroid.annotation.Table; import com.activeandroid.query.Select; import com.eveningoutpost.dexdrip.GcmActivity; import com.eveningoutpost.dexdrip...
gpl-3.0
timebath/storybook
templates/single-thumbnail.php
2937
<?php /** * Template Name: Single Thumbnail Section * Description: Used as a page template to show page contents, followed by a loop through a CPT archive */ ?> <?php ///////////////////// # Post Thumbnail ///////////////////// # Grab the thumbnail src if(!isset($thumbnail_src)){ if( is_home() || is_front_page...
gpl-3.0
pinky39/grove
source/Grove/Core/AI/CombatRules/CombatRules.cs
1153
namespace Grove.AI.CombatRules { using System; using System.Collections.Generic; using Infrastructure; public class CombatRules : GameObject, ICopyContributor { private readonly CardBase _cardBase; private readonly Characteristic<List<CombatRule>> _rules; private CombatRules() {} ...
gpl-3.0
DISID/disid-proofs
spring-mvc-restful/src/main/java/com/disid/restful/repository/CustomerOrderRepository.java
1087
package com.disid.restful.repository; import com.disid.restful.model.Customer; import com.disid.restful.model.CustomerOrder; import com.disid.restful.model.OrderDetail; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.stereo...
gpl-3.0
GeographicaGS/Erosion
www/application/config/constants.php
3465
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | File and Directory Modes |-------------------------------------------------------------------------- | | These prefs are used when checking and setting modes when...
gpl-3.0
arielk/elementor
core/app/assets/js/ui/molecules/inline-link.js
1825
import { Link, LocationProvider } from '@reach/router'; import router from '@elementor/router'; import { arrayToClassName } from 'elementor-app/utils/utils.js'; import './inline-link.scss'; export default function InlineLink( props ) { const baseClassName = 'eps-inline-link', colorClassName = `${ baseClassName }-...
gpl-3.0
edwardwkrohne/satcolors
test/gridtest.cpp
3020
// -*- Mode: C++ -*- //////////////////////////////////////////////////////////////////////////// // // satcolors -- for writably and readably building problems for SAT-solving // Copyright (C) 2014 Edward W. Krohne III // // The research that led to this product was partially supported by the // U.S. NSF grants DM...
gpl-3.0
viridian1138/SimpleAlgebra_V2
src/simplealgebra/symbolic/SymbolicElem.java
11377
//$$strtCprt /** * Simple Algebra * * Copyright (C) 2014 Thornton Green * * 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 ver...
gpl-3.0
CARTAvis/carta
carta/cpp/core/Shape/ShapePolygon.cpp
4454
#include "ShapePolygon.h" #include "ControlPointEditable.h" #include "CartaLib/VectorGraphics/VGList.h" #include "CartaLib/Regions/IRegion.h" namespace Carta { namespace Shape { ShapePolygon::ShapePolygon( ): m_polygonRegion( new Carta::Lib::Regions::Polygon() ){ } void ShapePolygon::_controlPointCB( int index, boo...
gpl-3.0
hlin09/renjin
tools/gcc-bridge/src/main/java/org/renjin/gcc/gimple/type/GimpleFunctionType.java
922
package org.renjin.gcc.gimple.type; import java.util.List; import com.google.common.collect.Lists; import org.renjin.gcc.translate.type.ImPrimitiveType; public class GimpleFunctionType extends AbstractGimpleType { private GimpleType returnType; private int size; private List<GimpleType> argumentTypes = Lists.n...
gpl-3.0
CIFASIS/qss-solver
src/mmoc/util/compile_flags.cpp
4259
/***************************************************************************** This file is part of QSS Solver. QSS Solver 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 ...
gpl-3.0
do-android/do_Album
doExt_do_Album/src/doext/implement/ConstantValue.java
129
package doext.implement; public class ConstantValue { public static int MAX_COUNT = 0; public static boolean ISCUT = false; }
gpl-3.0
lligen/rgbdslam_v2_2kinect
src/graph_mgr_io.cpp
49821
/* This file is part of RGBDSLAM. * * RGBDSLAM 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. * * RGBDSLAM is distributed in ...
gpl-3.0
christosk92/Facts
Facts/obj/x86/Debug/XamlTypeInfo.g.cs
49285
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-----------------------------------------...
gpl-3.0
Wildhaus/DewRecode
ChatPlugin/ModuleVoIP.cpp
8988
#include "ModuleVoIP.hpp" #include "TeamspeakClient.hpp" #include "TeamspeakServer.hpp" #include <teamspeak/public_definitions.h> #include <teamspeak/public_errors.h> #include <teamspeak/clientlib_publicdefinitions.h> #include <teamspeak/clientlib.h> Modules::ModuleVoIP VoipModule; namespace { bool VariablePushToTal...
gpl-3.0
sdemingo/chex
model/answers/answer.go
5331
package answers import ( "errors" "html/template" "strconv" "time" "appengine/data" "appengine/srv" ) const ( TYPE_TESTSINGLE = iota + 1 TYPE_TESTMULTIPLE = iota + 1 ERR_ANSWERNOTFOUND = "Respuesta no encontrada" ERR_BADRENDEREDANSWER = "Respuesta renderizada erroneamente" ERR_ANSWERWITHOUTBODY = "R...
gpl-3.0
sg-s/xolotl
c++/conductances/morris-lecar/CaCurrent.hpp
1240
// _ _ ____ _ ____ ___ _ // \/ | | | | | | | // _/\_ |__| |___ |__| | |___ // // component source [Morris & Lecar]() // component info: Morris & Lecar Calcium conductance #pragma once //inherit conductance class spec class CaCurrent: public conductance { public: double V1 = 0; double V2 = 1...
gpl-3.0
ratmandu/HappyMapper
outwindow.cpp
772
#include "outwindow.h" #include "ui_outwindow.h" OutWindow::OutWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::OutWindow) { ui->setupUi(this); connect(ui->widget, SIGNAL(outputResized(QSize)), this, SLOT(outSizeChanged(QSize))); } OutWindow::~OutWindow() { delete ui; } QSize OutWindow::getSize() ...
gpl-3.0
elaeon/dsignature
creacion_firma/management/commands/sign.py
2874
# -*- coding: utf-8 -*- from django.core.management.base import BaseCommand from django.conf import settings from creacion_firma.views import id_generator, SIZE_NAME from creacion_firma.classes import DigitalSign, tmp_dir_o_file, tmp_prefix from creacion_firma.models import UserDocumentSign from creacion_firma.utils i...
gpl-3.0
albertoriva/bioscripts
methylfilter.py
11767
#!/usr/bin/env python ## (c) 2014-2017, Alberto Riva (ariva@ufl.edu) ## DiBiG, ICBR Bioinformatics, University of Florida import sys from Bio import SeqIO import Script # Script class def usage(): sys.stderr.write("""methylfilter.py - Separate sequences by average methylation. Usage: methylfilter.py input.fa ...
gpl-3.0
graeme-lockley/mn-workspace
Data/Integer.js
1247
//- The following interface represents all numbers that can be expressed without a fractional component. //- //-```haskell //- interface Integer a extends Number a, Ordered a //- (/), mod :: a -> Maybe a //- divMod :: a -> Maybe (a * a) //- divMod y = //- this.(/)(y).reduce(() => Nothing)(q => thi...
gpl-3.0
OSTraining/OSEmbed
src/library/mpratt/embera/src/Embera/Provider/Slideshare.php
1198
<?php /** * Slideshare.php * * @package Embera * @author Michael Pratt <yo@michael-pratt.com> * @link http://www.michael-pratt.com/ * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Embera\Provider; use Embera\Url; /...
gpl-3.0
MrBigBoy/BestilNemt
BestilNemt/WcfService/Properties/AssemblyInfo.cs
1357
using System.Reflection; 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("WcfService")] [assembly: AssemblyDescript...
gpl-3.0
VKsai/Java-Experiments
LongestSubstring.java
1369
import java.util.*; import java.lang.*; public class LongestSubstring { static int minus = 0; public static int lengthOfLongestSubstring(String s) { if(s.length() == 0) return 0; Hashtable<Integer, Character> ht = new Hashtable<Integer, Character>(); int start = 0; int result = subStr...
gpl-3.0
fabrimaciel/colosoft
Web/Colosoft.Web.Mvc/XmlNodeChildElementAccessExpressionBuilder.cs
2139
/* * Colosoft Framework - generic framework to assist in development on the .NET platform * Copyright (C) 2013 <http://www.colosoft.com.br/framework> - support@colosoft.com.br * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as publ...
gpl-3.0
moodlehq/totara
totara/core/js/icon.preview.js
336
$(function() { // Handle icon change preview $('#id_icon').change(function() { var selected = $(this); var src = $('#icon_preview').attr('src'); src = src.replace(/image=(.*?)icons%2F(.*?)(&.*?){0,1}$/, 'image=$1'+'icons%2F'+selected.val()+'$3'); $('#icon_preview').attr('src', sr...
gpl-3.0
alevinval/gop
example/glass_actions.go
1232
package main import ( "fmt" "github.com/alevinval/gop" ) const ( EMPTY_GLASS action = iota FILL_GLASS ) type action byte func (a action) PreConditions(world gop.World) []gop.State { switch a { case EMPTY_GLASS: return []gop.State{GLASS_IS_FULL} case FILL_GLASS: return []gop.State{GLASS_IS_EMPTY} defaul...
gpl-3.0
PeerioTechnologies/peerio-client
application/js/peerio/ui/UI.newGhost.js
8230
Peerio.UI.controller('newGhost', function ($scope) { 'use strict'; var g = $scope.newGhost = { recipient: '', selectedFiles: [], sending: false }; g.selectedLocale = null; g.languages = Peerio.PhraseGenerator.languages; g.expiration = 7; $scope.$on('newMessageReset'...
gpl-3.0
joomlatools/joomlatools-framework
code/libraries/joomlatools/library/object/interface.php
2011
<?php /** * Joomlatools Framework - https://www.joomlatools.com/developer/framework/ * * @copyright Copyright (C) 2007 Johan Janssens and Timble CVBA. (http://www.timble.net) * @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> * @link https://github.com/joomlatools/joomlatools-framework for th...
gpl-3.0
mariniere/nanahira
jpnum.py
901
#jpnum.py v0.01 NUMS = { 1: u"一",2: u"二",3: u"三",4: u"四",5: u"五",6: u"六",7: u"七",8: u"八",9: u"九",10: u"十", 100: u"百",1000: u"千",10000: u"万" } def convert(string): block = False for i in str(string): try: int(i) except Exception as e: block = True rai...
gpl-3.0
wolfbane8653/fogproject
packages/web/lib/fog/ScheduledTaskManager.class.php
66
<?php class ScheduledTaskManager extends FOGManagerController { }
gpl-3.0
goday-org/learnPython
src/Numbers.py
136
# -*- coding: utf-8 -*- ''' Created on May 3, 2014 @author: andy ''' #int long float bool complex if __name__ == '__main__': pass
gpl-3.0
tukusejssirs/eSpievatko
spievatko/espievatko/prtbl/srv/new/php-5.2.5/ext/standard/tests/file/stat_error-win32.phpt
1333
--TEST-- Test stat() function: error conditions --SKIPIF-- <?php if (substr(PHP_OS, 0, 3) != 'WIN') { die('skip.. only for Windows'); } ?> --FILE-- <?php /* Prototype: array stat ( string $filename ); Description: Gives information about a file */ $file_path = dirname(__FILE__); $arr = array(__FILE__); ech...
gpl-3.0
tomarch/librenms
html/legacy_api_v0.php
13343
<?php /* * LibreNMS * * Copyright (c) 2014 Neil Lathwood <https://github.com/laf/ http://www.lathwood.co.uk/fa> * * 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 ...
gpl-3.0
gabrielfalcao/carpentry
tests/functional/test_api.py
15018
#!/usr/bin/env python # -*- coding: utf-8 -*- # import httpretty import uuid import json from carpentry.models import Builder, CarpentryPreference, Build from .helpers import api @api def test_create_builder(context): ('POST to /api/builder should create a builder') context.github.on_post( path='/r...
gpl-3.0
sio2project/oioioi
oioioi/participants/apps.py
109
from django.apps import AppConfig class ParticipantsAppConfig(AppConfig): name = "oioioi.participants"
gpl-3.0
Angerona/angerona-framework
simple/src/main/java/com/github/angerona/fw/simple/operators/ExecuteOperator.java
2060
package com.github.angerona.fw.simple.operators; import java.util.List; import com.github.angerona.fw.Action; import com.github.angerona.fw.Agent; import com.github.angerona.fw.Intention; import com.github.angerona.fw.PlanElement; import com.github.angerona.fw.Subgoal; import com.github.angerona.fw.am.secrecy.operato...
gpl-3.0
monocasual/giada-www
src/forum/vendor/s9e/text-formatter/src/Plugins/Litedown/Parser/ParsedText.php
4683
<?php /** * @package s9e\TextFormatter * @copyright Copyright (c) 2010-2019 The s9e Authors * @license http://www.opensource.org/licenses/mit-license.php The MIT License */ namespace s9e\TextFormatter\Plugins\Litedown\Parser; class ParsedText { /** * @var bool Whether to decode HTML entities when decoding text ...
gpl-3.0
wvangeit/AllenSDK
doc_template/examples/data_api_client_ex2.py
197
from gene_acronym_query import GeneAcronymQuery query = GeneAcronymQuery() gene_info = query.get_data('ABAT') for gene in gene_info: print "%s (%s)" % (gene['name'], gene['organism']['name'])
gpl-3.0
thecreamedcorn/city-scape
src/View/RenderLine.java
2709
/* city-scape: a 3d scene of a city soft rendered in java Copyright (C) 2017 Wil Gaboury 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 ...
gpl-3.0
matxin/matxin-lineariser
matxin_lineariser/utlgrammars/word.py
2589
from .printing import Printing class Word: def __init__(self, upostag): self.upostag = upostag self.feats = frozenset({}) self.lemma = None def add_lemma(self, lemma): self.lemma = lemma @classmethod def deserialise(cls, node_etree): upostag = node_etree.get('...
gpl-3.0
kareem2048/ADwytee
Code/Application/reservation.php
933
<?php class reservation{ private $file_name= '../../Database/reservation.php'; private $reservation; function __construct() { try { include_once $this->file_name ; } catch (Exception $e) { echo "error"; } $this->reservation = new reservation_Query(); } public function add(...
gpl-3.0
hamptus/mftpy
mftpy/mft.2.7/tests/old.gui.py
1581
from wsgiref.util import request_uri, application_uri, shift_path_info from wsgiref.simple_server import make_server import datetime from urlparse import parse_qs from paste import httpserver from webob import Request, Response from mbr import Mbr class RequestHandler(object): template = None def __init__(s...
gpl-3.0
LatvianModder/Silicio
src/main/java/com/latmod/silicio/api_impl/SilCaps.java
1673
package com.latmod.silicio.api_impl; import com.feed_the_beast.ftbl.lib.EmptyCapStorage; import com.latmod.silicio.api.module.IModuleContainer; import com.latmod.silicio.api.pipes.IPipe; import com.latmod.silicio.api.pipes.IPipeConnection; import com.latmod.silicio.api.tile.ISilNetTile; import com.latmod.silicio.api.t...
gpl-3.0
gouchangjiang/opengeoda
Regression/SparseVector.cpp
5017
/** * OpenGeoDa TM, Copyright (C) 2011 by Luc Anselin - all rights reserved * * This file is part of OpenGeoDa. * * OpenGeoDa 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
beelancer/beelancer-api
lib/routes/task-create.js
2860
/* ** beelancer-api ** author: gordon hall ** ** create-task endpoint */ var endpoint = require('../classes/endpoint.js'); module.exports = endpoint({ method : 'POST', path : '/projects/:projectId/tasks', handler : createTask, params : [ { name : 'title', type : 'string', requir...
gpl-3.0
deependhulla/powermail-debian9
files/rootdir/var/www/html/archivesearch/view_archive_mail.php
5092
<?php $smtphost="127.0.0.1"; $smtpport="2525"; $enkey="getkeynowxyz"; function encode($string,$key) { $j=0; $key = sha1($key); $strLen = strlen($string); $keyLen = strlen($key); for ($i = 0; $i < $strLen; $i++) { $ordStr = ord(substr($string,$i,1)); if ($j == $keyLen) { $j = 0; } $ordKey = ord(substr($key,$j,1)); $...
gpl-3.0
GH1995/tools
archives/cpp-primer-5th/VisualStudio2012/4/sizeof_pgm.cpp
2980
/* * This file contains code from "C++ Primer, Fifth Edition", by Stanley B. * Lippman, Josee Lajoie, and Barbara E. Moo, and is covered under the * copyright and warranty notices given in that book: * * "Copyright (c) 2013 by Objectwrite, Inc., Josee Lajoie, and Barbara E. Moo." * * * "The authors and publi...
gpl-3.0
cSploit/android.MSF
modules/auxiliary/scanner/http/rewrite_proxy_bypass.rb
3587
## # This module requires Metasploit: http://metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## require 'msf/core' class Metasploit4 < Msf::Auxiliary include Msf::Exploit::Remote::HttpClient include Msf::Auxiliary::Scanner def initialize super( 'Name' =...
gpl-3.0
fikrimuhal/kmlk
web-app/common/theme/scripts/demo/image_crop.js
2024
/* ========================================================== * FLAT KIT v1.2.0 * image_crop.js * * http://www.mosaicpro.biz * Copyright MosaicPro * * Built exclusively for sale @Envato Marketplaces * ========================================================== */ $(function() { $('#jcrop-target-1...
gpl-3.0
jonjahren/unity8
tests/mocks/IntegratedLightDM/MockUsersModel.cpp
1307
/* * Copyright (C) 2014 Canonical, Ltd. * * 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; version 3. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY...
gpl-3.0
rabbie/syslogagent
SyslogAgentConfig/NTSyslogCtrlDlg.cpp
35428
// NTSyslogCtrlDlg.cpp : implementation file // #include "..\Syslogserver\common_stdafx.h" //#include "stdafx.h" #include "NTSyslogCtrl.h" #include "NTService.h" #include "NTSyslogCtrlDlg.h" #include "ConfAppl.h" #include "ConfigLogging.h" #include "process.h" #include <shlobj.h> #include "..\Syslogage...
gpl-3.0
spbond/language-game
QTGameEditor/GameEditor/mainwindow.cpp
21817
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QFileDialog> #include <QString> #include <QGraphicsScene> #include <QPixmap> #include <QFileInfo> #include <QInputDialog> #include <QColorDialog> #include <QCheckBox> #include "FileManager.h" #include <QStringListModel> #include <QDebug> #include <QActionGrou...
gpl-3.0
ryuuken00/Yui
twitch.js
1954
var request = require('request'); const channels = require('./logs/channels.json').channels; const config = require('./config.json'); const embed = require('./logs/embeds.json').twitch; const chalk = require('chalk'); const erroR = chalk.red.bold; const greetings = chalk.cyan.bold; const warning = chalk.yellow; var yui...
gpl-3.0