repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
cmsdaq/hltd
lib/SOAPpy-py3-0.52.24/tests/Bug916265.py
839
""" Check handing of unicode. """ import sys sys.path.insert(1, "..") from SOAPpy import * # Uncomment to see outgoing HTTP headers and SOAP and incoming #Config.debug = 1 #Config.dumpHeadersIn = 1 #Config.dumpSOAPIn = 1 #Config.dumpSOAPOut = 1 # ask for returned SOAP responses to be converted to basic python types...
lgpl-3.0
Allors/allors.testing.webforms
Allors.Testing.Webforms.Tests.WebApplication/CheckBoxListPage.aspx.designer.cs
2087
//------------------------------------------------------------------------------ // <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> //----------------------------------------...
lgpl-3.0
gchq/stroom-stats
stroom-stats-service/src/test/java/stroom/stats/schema/SerialisationTest.java
3031
/* * Copyright 2017 Crown Copyright * * This file is part of Stroom-Stats. * * Stroom-Stats 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...
lgpl-3.0
rsksmart/rskj
rskj-core/src/main/java/org/ethereum/core/BlockHeader.java
23188
/* * This file is part of RskJ * Copyright (C) 2017 RSK Labs Ltd. * (derived from ethereumJ library, Copyright (c) 2016 <ether.camp>) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundati...
lgpl-3.0
kveratis/GameCode4
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/wxLua/modules/wxlua/src/wxlcallb.cpp
13805
///////////////////////////////////////////////////////////////////////////// // Name: wxlcallb.cpp // Purpose: wxLuaEventCallback and wxLuaWinDestroyCallback // Author: Francis Irving, John Labenski // Created: 11/05/2002 // Copyright: (c) 2002 Creature Labs. All rights reserved. // Licence...
lgpl-3.0
osbitools/OsBiToolsSpringWs
OsBiWsCoreShared/src/main/java/com/osbitools/ws/core/shared/proc/DataSetProcessor.java
2968
/* * Open Source Business Intelligence Tools - http://www.osbitools.com/ * * Copyright 2014-2018 IvaLab Inc. and by respective contributors (see below). * * Released under the LGPL v3 or higher * See http://www.gnu.org/licenses/lgpl-3.0.html * * Date: 2014-11-07 * * Contributors: * * Igor Peonte <igor.1...
lgpl-3.0
dinusv/livecv
plugins/live/src/qstaticloaderproperty.cpp
1277
#include "qstaticloaderproperty.h" #include <QQmlEngine> #include <QtQml> /*! \class lcv::QStaticLoaderProperty \inmodule live_cpp \internal */ /*! \qmltype StaticLoaderProperty \instantiates lcv::QStaticLoaderProperty \inqmlmodule live \inherits QtObject \brief Stores a StaticLoader item propert...
lgpl-3.0
InfectedLan/InfectedAPI
objects/page.php
1247
<?php /** * This file is part of InfectedAPI. * * Copyright (C) 2017 Infected <http://infected.no/>. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3.0 of the ...
lgpl-3.0
laz2727/TinkersEnergistics
src/main/java/princess/tenergistics/modifiers/RTGModifier.java
942
package princess.tenergistics.modifiers; import net.minecraft.entity.LivingEntity; import net.minecraft.item.ItemStack; import net.minecraft.world.World; import princess.tenergistics.tools.PoweredTool; import slimeknights.tconstruct.library.modifiers.Modifier; import slimeknights.tconstruct.library.tools.nbt.IModifier...
lgpl-3.0
phlib/beanstalk
tests/Command/StatsTraitTest.php
2878
<?php declare(strict_types=1); namespace Phlib\Beanstalk\Command; use Phlib\Beanstalk\Exception\CommandException; use Phlib\Beanstalk\Exception\NotFoundException; use PHPUnit\Framework\MockObject\MockObject; class StatsTraitTest extends CommandTestCase { public function testWhenStatusNotFound(): void { ...
lgpl-3.0
kveratis/GameCode4
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/penlight/lua/pl/permute.lua
1654
--- Permutation operations. -- @class module -- @name pl.permute local tablex = require 'pl.tablex' local utils = require 'pl.utils' local copy = tablex.deepcopy local append = table.insert local coroutine = coroutine local resume = coroutine.resume local assert_arg = utils.assert_arg --[[ module ('pl.perm...
lgpl-3.0
icedman/kludgets
kludget.cpp
19267
#include "config.h" #include "kludget.h" #include "kclient.h" #include "kdocument.h" #include "ksettings.h" #include "kwindow.h" #include "kview.h" #include "ksystem.h" #include "knetwork.h" #include "klog.h" #include "version.h" #include "prefwindow.h" #include "installwindow.h" #include <QtXml> #inc...
lgpl-3.0
pcolby/libqtaws
src/databasemigrationservice/movereplicationtaskrequest.cpp
4049
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
lgpl-3.0
spillai/procgraph
procgraph_packages.py
8946
# Autogenerated file -- do not modify. # This file is generated by "pgindex". # It lists the default ProcGraph packages and their dependencies # so that we can warn the user if some dependency is not found at # install time. ProcGraph's policy is to be very liberal; for example, # the `procgraph_cv' package is in...
lgpl-3.0
ryanmrichard/ForceManII
Interfaces/FManIIPulsarAPI.hpp
1583
/* * Copyright (C) 2016 Ryan M. Richard <ryanmrichard1 at gmail.com>. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any ...
lgpl-3.0
SonarSource/sonarlint-visualstudio
src/Integration/ProfileConflicts/RuleSetInformation.cs
2668
/* * SonarLint for Visual Studio * Copyright (C) 2016-2022 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version ...
lgpl-3.0
pcolby/libqtaws
src/route53domains/route53domainsclient.cpp
34441
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
lgpl-3.0
hermelin/hermelin-universal
hermelin-gir/hermelin.py
14778
# -*- coding: UTF-8 -*- # vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: '''Hermelin @author: U{Shellex Wei <5h3ll3x@gmail.com>} @license: LGPLv3+ ''' import os import sys import threading import time import config import gi gi.require_version('Gtk', '3.0') gi.require_version('Gdk', '3.0') gi.require_version('G...
lgpl-3.0
Francis1993Z/UltraShooter
include/ShrapnelWeapon.hpp
341
#ifndef SHRAPNELWEAPON_HPP_INCLUDED #define SHRAPNELWEAPON_HPP_INCLUDED #include "Weapon.hpp" class ShrapnelWeapon : public Weapon { public: ShrapnelWeapon(Entity const& my_user, bool p_tirIllimity, unsigned int p_ammunitions, sf::Vector2f pos); void fire(); sf::Sprite* getSymbole(); }; #endif // SHRAPNE...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/screenplays/tasks/booto_lubble.lua
2281
booto_lubble_missions = { { missionType = "confiscate", primarySpawns = { { npcTemplate = "luhin_jinnor", planetName = "rori", npcName = "Warrant Officer Luhin Jinnor" } }, secondarySpawns = { { npcTemplate = "stormtrooper", planetName = "rori", npcName = "" }, { npcTemplate = "stormtrooper", ...
lgpl-3.0
gsauthof/libgrammar
grammar/tsort.hh
907
// Copyright 2015, Georg Sauthoff <mail@georg.so> /* {{{ LGPLv3 This file is part of libgrammar. libgrammar is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License...
lgpl-3.0
coenbijlsma/dashboard-backend
src/backend/Domain/Core/RequestScope.php
665
<?php namespace Dashboard\Backend\Domain\Core; class RequestScope { private static $instance = null; private $data; private function __construct() { $this->data = new \stdClass; } public static function instance() { if (self::$instance === null) { self::$instance = n...
lgpl-3.0
ashutoshvt/psi4
psi4/share/psi4/databases/A24.py
29689
# # @BEGIN LICENSE # # Psi4: an open-source quantum chemistry software package # # Copyright (c) 2007-2021 The Psi4 Developers. # # The copyrights for code used from other parties are included in # the corresponding files. # # This file is part of Psi4. # # Psi4 is free software; you can redistribute it and/or modify #...
lgpl-3.0
SergeR/webasyst-framework
wa-plugins/shipping/flatrate/lib/flatrateShipping.class.php
6391
<?php /** * Flat-rate shipping plugin. * * @property-read float $cost * @property-read string $currency * @property-read string $delivery * @property-read bool $prompt_address * @package wa-plugin/shipping * */ class flatrateShipping extends waShipping { /** * Main shipping rate calculation method. ...
lgpl-3.0
SAMPProjects/Open-SAMP-API
src/Open-SAMP-API/Game/GTA/World.hpp
232
#pragma once namespace Game { namespace GTA { bool ScreenToWorld(float screenX, float screenY, float &worldX, float &worldY, float &worldZ); bool WorldToScreen(float x, float y, float z, float &screenX, float &screenY); } }
lgpl-3.0
pauloremoli/terrama2
webapp/public/javascripts/angular/countries/services/countries.js
1939
define(function() { /** * It handles the available countries languages supported by TerraMA² * @param {angular.IHttp} $http - Angular HTTP module * @param {angular.IQ} $q - Angular Promiser module * @returns {Object} */ function TerraMA2Countries($http, $q) { /** * Remote host url * @t...
lgpl-3.0
BackupTheBerlios/digilib
text/src/main/java/digilib/conf/TextServletConfiguration.java
3898
package digilib.conf; /* * #%L * * TextServletConfiguration -- Holding all parameters for text servlet. * * Digital Image Library servlet components * %% * Copyright (C) 2003 - 2013 MPIWG Berlin * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Less...
lgpl-3.0
deib-polimi/SPF
framework/SPFWFDMid/src/it/polimi/deib/spf/wfd/ResponseHolder.java
1527
/* * Copyright 2014 Jacopo Aliprandi, Dario Archetti * * This file is part of SPF. * * SPF is free software: you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License as published by the Free * Software Foundation, either version 3 of the License, or (at your option)...
lgpl-3.0
mobmewireless/origami-pdf
lib/origami/graphics.rb
1115
=begin = File graphics.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume@security-labs.org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Licens...
lgpl-3.0
unajPrSwGrupo1/OrgLogist2015
basic/controllers/RrhhController.php
4152
<?php namespace app\controllers; use Yii; use app\models\Rrhh; use app\models\RrhhSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * RrhhController implements the CRUD actions for Rrhh model. */ class RrhhController extends Controller { public function behavior...
lgpl-3.0
jphuynh/Aikau
aikau/src/main/resources/alfresco/pickers/DocumentListPicker.js
13578
/** * Copyright (C) 2005-2016 Alfresco Software Limited. * * This file is part of Alfresco * * Alfresco is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at ...
lgpl-3.0
clstoulouse/motu
motu-web/src/main/java/fr/cls/atoll/motu/web/usl/wcs/request/parameter/validator/RangeSubsetHTTPParameterValidator.java
1997
package fr.cls.atoll.motu.web.usl.wcs.request.parameter.validator; import fr.cls.atoll.motu.web.common.utils.StringUtils; import fr.cls.atoll.motu.web.usl.request.parameter.exception.InvalidHTTPParameterException; import fr.cls.atoll.motu.web.usl.request.parameter.validator.AbstractHTTPParameterValidator; /** * <br>...
lgpl-3.0
twlostow/dsi-shield
hdl/rtl/fmlarb/Manifest.py
76
files = ["fmlarb_dack.v", "fmlarb.v", "fml_wb_bridge.v"];
lgpl-3.0
matthieu/go-ethereum
core/asm/asm.go
3625
// Copyright 2017 The go-ethereum Authors // This file is part of the go-ethereum library. // // The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License...
lgpl-3.0
LegumeFederation/intermine_legfed
legfed-geneticmap-file/main/src/org/intermine/bio/dataconversion/GeneticMapRecord.java
2520
package org.intermine.bio.dataconversion; /* * Copyright (C) 2015-2016 NCGR * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/les...
lgpl-3.0
Wmaxlees/jarvis-os
Documentation/html/class_catch_1_1_ptr.js
1246
var class_catch_1_1_ptr = [ [ "Ptr", "class_catch_1_1_ptr.html#a6108f0195595ee9d7a411daea810beaf", null ], [ "Ptr", "class_catch_1_1_ptr.html#aacec063a79cd142e39040a31c6b3c40b", null ], [ "Ptr", "class_catch_1_1_ptr.html#ac629dd8ebe5763a37bb89e6c1d6a1771", null ], [ "~Ptr", "class_catch_1_1_ptr.html#ac9...
lgpl-3.0
doge-search/webdoge
liqian/JHU/research/research/pipelines.py
1201
# -- coding: utf-8 -- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html import os import urllib import xml.dom.minidom as minidom class xmlPipeline(object): def __init__(self): self.fout_xml = file(...
unlicense
clilystudio/NetBook
allsrc/cn/sharesdk/wechat/utils/WXMediaMessage$a.java
2146
package cn.sharesdk.wechat.utils; import android.os.Bundle; public class WXMediaMessage$a { public static Bundle a(WXMediaMessage paramWXMediaMessage) { Bundle localBundle = new Bundle(); localBundle.putInt("_wxobject_sdkVer", paramWXMediaMessage.sdkVer); localBundle.putString("_wxobject_title", param...
unlicense
Yismen/dicenew
libraries/phpExcel/Documentation/Examples/Reader/exampleReader06.php
1406
<?php error_reporting(E_ALL); set_time_limit(0); date_default_timezone_set('Europe/London'); ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>PHPExcel Reader Example #06</title> </head> <body> <h1>PHPExcel Reader Example #06</h1> <h2>Simple File Reader Loading All Work...
unlicense
JFixby/PSDUnpacker
jfixby-tool-psd-unpacker-test/jfixby-tool-psd-unpacker-test/com/jfixby/psd/unpacker/run/UnpackExamplePSD.java
2433
package com.jfixby.psd.unpacker.run; import java.awt.image.BufferedImage; import java.io.IOException; import java.io.OutputStream; import javax.imageio.ImageIO; import com.jfixby.psd.unpacker.api.PSDFileContent; import com.jfixby.psd.unpacker.api.PSDLayer; import com.jfixby.psd.unpacker.api.PSDRaster; import com.jfi...
unlicense
WSDOT-GIS/ArcGisTileTest
SpatialReference.cs
268
using System.Runtime.Serialization; namespace ArcGisTileTest { [DataContract] public class SpatialReference { [DataMember] public int? wkid { get; set; } [DataMember] public string wkt { get; set; } } }
unlicense
ECain/ArcGISOnlineInteraction
AGORestCallTestFS/DataContractObjects/AdminLayerInfo.cs
512
using System.Runtime.Serialization; namespace AGORestCallTestFS { [DataContract] class AdminLayerInfo { [DataMember] public string TableName { get; set; } [DataMember] public GeometryField geometryField { get; set; } [DataMember] public Extent TableExtent { get; set; } ...
unlicense
cjschneider2/novluno
client/src/sdl/render/map/objects.rs
5481
use crate::core_compat::entity::rmd_type::RmdType; use crate::core_compat::entity::sprite_type::SpriteType; use crate::game::Game; use crate::geometry::point::Point; use crate::geometry::rectangle::Rectangle; use crate::resource_manager::list_manager::ListType; use crate::sdl2::rect::Rect; use crate::sdl::Sdl; use crat...
unlicense
JackSW/hasoffers-php-client
src/Api/Brand/AdManager.php
4707
<?php namespace DraperStudio\HasOffers\Api\Brand; use DraperStudio\HasOffers\Base; class AdManager extends Base { /** * API Endpoint Type. * * @var string */ protected $endpointType = 'Brand'; /** * API Endpoint Name. * * @var string */ protected $endpointName...
unlicense
ghzmdr/71pictures
src/js/lib/Region.js
1663
import { isFunction } from 'underscore'; export default class Region { constructor(selector) { this.el = document.querySelector(selector); } show(NextView, options) { options = options || {}; if (!options.forceRefresh && this._currentView && this._currentView.constructor === NextVi...
unlicense
Jesse-V/Buddhabrot
src/postprocessing/main.hpp
216
#ifndef MAIN #define MAIN #include <algorithm> #include <vector> #include <string> typedef std::vector<std::vector<unsigned long>> Matrix2D; void writeMatrixToPPM(Matrix2D& matrix, std::string filename); #endif
unlicense
yangboz/north-american-adventure
RushuPHP/example/configure.php
5509
<?php /** * @author Ligboy * @name 微信调用接口类 * @example 里面是Wechat类内所有需要的接口,都是需要按自己情况实现的方法 */ class WechatTools{ var $memcache; var $db_link = null; function __construct(){ //这里使用memcache存储cookies和token,没有该环境的用户可以自己去实现使用文件或其他方式存取 $this->memcache = new Memcache(); $this->memcache->connect("127.0.0.1", 11211...
unlicense
clilystudio/NetBook
allsrc/com/ushaqi/zhuishushenqi/widget/m(1).java
737
package com.ushaqi.zhuishushenqi.widget; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import com.ushaqi.zhuishushenqi.model.PostComment; import com.ushaqi.zhuishushenqi.ui.post.AbsPostActivity; final class m implements DialogInterface.OnClickListener { m(CommentI...
unlicense
fisherro/streams
examples/examples.cpp
8852
#include <ctime> #include <regex> #include <string> #include <fmt/time.h> #include <streams/ostream.hpp> #include <streams/istream.hpp> struct Student { std::string name; int id; float gpa; }; void write_student_binary(streams::ostream& out, const Student& student) { out.put(student.name...
unlicense
agamemnus/history-easy.js
test-more.js
2243
// (1) Define a persistent variable holding your URL GET variables. // (2) define a function for the history control to call when a page should change. The function should have two parameters: // (2a) the initial object/state. // (2b) an internal callback function call that should run once the function finishes process...
unlicense
khajehosseini/society
protected/views/cost/index.php
440
<?php $this->breadcrumbs=array( Yii::t('cost','Costs'), ); $this->menu=array( array('label'=>Yii::t('general','Create').' '.Yii::t('cost','Cost'),'url'=>array('create')), array('label'=>Yii::t('general','Manage') . ' ' . Yii::t('cost','Cost'),'url'=>array('admin')), ); ?> <h1><?php echo Yii::t('cost','Costs');?></h1...
unlicense
Arquisoft/voters_2a
src/client/js/controller.js
1109
var app = angular.module("votersModule",[]); app.config(function($httpProvider) { $httpProvider.defaults.useXDomain = true; delete $httpProvider.defaults.headers.common['X-Requested-With']; }); app.controller("votersController", function($scope, $http) { $scope.ok = false; $scope.ko = false; ...
unlicense
meecoder/web
websites/KianDustin/login/page/pageAmanda.php
265
<html> <head><?php include($_SERVER["DOCUMENT_ROOT"] . "/header.php"); ?> <title> Kian and Dustin, Logged in as Amanda </title> </head> <body bgcolor="ABC992"> <h1>Kian and Dustin</h1> <p> <b>Welcome to Kian and Dustin!</b><br> Hello, Amanda. </p> </body> </html>
unlicense
CaddyDz/Ruby
p2/ch8/times_and_dates/s1/time.rb
137
puts require 'Time' puts Time.new puts Time.at(100000000) puts Time.mktime(2007,10,3,14,3,6) puts Time.parse("March 22, 1985, 10:35 PM")
unlicense
Ackincolor/GLAS
Main/Controler/ListenerButtonLeft.java
318
package Main.Controler; import Main.View.*; import java.awt.event.*; public class ListenerButtonLeft implements ActionListener { FenetreMain fen; public ListenerButtonLeft(FenetreMain fen) { this.fen = fen; } public void actionPerformed(ActionEvent e) { //ajout ou suppression de fichier a modifier } }
unlicense
mateusfreira/material-icaro.io
lib/angular-material/modules/closure/checkbox/checkbox.js
4176
/*! * Angular Material Design * https://github.com/angular/material * @license MIT * v0.7.0-rc2-master-f71eb32 */ goog.provide('ng.material.components.checkbox'); goog.require('ng.material.core'); (function() { 'use strict'; /** * @ngdoc module * @name material.components.checkbox * @description Checkbox modul...
unlicense
ktye/editor
cmd/go/goinstall.go
676
package main import ( "bytes" "os/exec" ) func (p *program) install() error { if err := p.Forward("Write", nil); err != nil { return err } if err, errtxt := goInstall(); err != nil { return err } else if errtxt != "" { p.Name += "+Errors" p.Default = "" p.Text = errtxt p.Clean = false return nil ...
unlicense
kyorohiro/HetimaUtil
src_util/net/hetimatan/tool/WGet.java
1312
package net.hetimatan.tool; import java.io.IOException; import net.hetimatan.net.http.HttpGet; import net.hetimatan.net.http.HttpGetListener; import net.hetimatan.util.event.CloseRunnerTask; import net.hetimatan.util.event.net.KyoroSocketEventRunner; public class WGet { public static void main(String[] args) { ...
unlicense
juanpale/ObligatorioWhile
while_ut1Obligatorio/src/examples/while_ut1/ast/BExp.java
1151
package examples.while_ut1.ast; import java.util.*; /** Categoría sintáctica de las expresiones booleanas de While, las construcciones del lenguaje que evalúan a un valor de verdad (booleano). */ public abstract class BExp extends Exp{ abstract public String unparse(); @Override public abstract String toString(...
unlicense
cc14514/hq6
hq-pdk/src/main/java/org/hyperic/hq/product/util/PluginMain.java
10975
/* * NOTE: This copyright does *not* cover user programs that use HQ * program services by normal system calls through the application * program interfaces provided as part of the Hyperic Plug-in Development * Kit or the Hyperic Client Development Kit - this is merely considered * normal use of the program, and do...
unlicense
jadnohra/connect
proto_5/connect/util/print_tree.py
1304
def print_tree(root, children_func=list, name_func=str): """Pretty print a tree, in the style of gnu tree""" # prefix components: space = ' ' branch = '│ ' # pointers: tee = '├── ' last = '└── ' # Inspired by https://stackoverflow.com/questions/9727673 def tree(node, ch...
unlicense
epicagency/bubo
src/helpers/utils.js
4364
/** * Check if an element is required * * @param {Object} el DOM element * @returns {boolean} true/false */ function isRequired(el) { return el.hasAttribute('required'); } /** * Check if an element has "rules" parameters * * @param {Object} el DOM element * @returns {Array|false} valid informations */ func...
unlicense
matto483/wwjd
src/main/java/com/example/repository/UserDaoImpl.java
1275
package com.example.repository; import com.example.domain.User; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.dao.EmptyResultDataAccessException; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.stereotype.Repository; /** * Created by MattyG on...
unlicense
NxtChg/pieces
js/int64/int64.js
6785
const POW2_32 = Math.pow(2, 32); const POW2_64 = Math.pow(2, 64); /* Constructors: - Int64(123) - Int64(Int64) - Int64(hi,lo) */ function Int64(v, low) { this.hi = this.lo = 0; if(v !== undefined) this.from(v, low); }//____________________________________________________________________________ Int64.prototype....
unlicense
ArturVasilov/PracticeITcs
Course 2 practice/WpfFinalWork/WpfFinalWork/App.xaml.cs
328
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace WpfFinalWork { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { ...
unlicense
yangjun2/android
changhong/changhong_sdk/src/com/lidroid/xutils/http/client/util/URIBuilder.java
9282
/* * Copyright (c) 2013. wyouflf (wyouflf@gmail.com) * * 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 applicabl...
unlicense
Samourai-Wallet/sentinel-android
app/src/main/java/com/samourai/sentinel/util/TypefaceUtil.java
722
package com.samourai.sentinel.util; import android.content.Context; import android.graphics.Typeface; public class TypefaceUtil { public static int awesome_arrow_down = 0xf063; public static int awesome_arrow_up = 0xf062; private static Typeface awesome_font = null; private static TypefaceUtil inst...
unlicense
andreas-schluens-asdev/asdk
jms-core/src/main/java/net/as_development/asdk/jms/core/beans/JMSMessageUtils.java
4480
/** * This is free and unencumbered software released into the public domain. * * Anyone is free to copy, modify, publish, use, compile, sell, or * distribute this software, either in source code form or as a compiled * binary, for any purpose, commercial or non-commercial, and by any * means. * * In jurisdicti...
unlicense
Your-Name-Here/MyCms
model/plugin.class.php
2916
<?php class plugin { private $events = array(); private $return = array(); private $hooks = array(); private $plugins = array(); function __construct() { } public function page($id) { $this->page = $id; } public function ge...
unlicense
AnuVishu/Sparse_Matrix
main.cpp
2801
#include <bits/stdc++.h> #include <debug/debug.h> using namespace std; int main() { int row; int col; cout << "enter the row "; cin >> row; cout << endl << "enter the column "; cin >> col; cout << endl; int mat[row][col]; int cntr=0; int non_zero; cout << "enter the ele...
unlicense
dzucconi/corrasable
app/controllers/application_controller.rb
257
class ApplicationController < ActionController::Base after_action :allow_iframe def home @output = HTML.render(File.open("#{Rails.root}/README.md").read) end private def allow_iframe response.headers.except! 'X-Frame-Options' end end
unlicense
yayashanzei/iDesignFrame
Static/Jformer/js/jFormer.js
113095
/* * jFormer JavaScript Library v1.4.4 * http://jFormer.com/ * * Copyright 2011, Kirk Ouimet, Seth Zander Jensen * Dual licensed under the MIT or GPL Version 2 licenses. * http://jFormer.com/download#license * * Date: Mon Jan 10 2011 */ /** OTHER LICENSES * jquery.simpletip 1.3.1. A simple tooltip plugin * C...
unlicense
inri13666/google-api-php-client-v2
libs/Google/Service/AdSense/CustomChannelTargetingInfo.php
858
<?php namespace Google\Service\AdSense; class CustomChannelTargetingInfo extends \Google\Model { public $adsAppearOn; public $description; public $location; public $siteLanguage; public function setAdsAppearOn($adsAppearOn) { $this->adsAppearOn = $adsAppearOn; } public function getAdsAppearOn() ...
unlicense
the-ramones/jaxb
src/attribute/address/USAddress.java
1865
package attribute.address; import javax.xml.bind.annotation.XmlAttribute; public class USAddress { @XmlAttribute static final String country = "USA"; private String city; private String name; private String state; private String street; @XmlAttribute private int zip; /** * T...
unlicense
supersonic902/antivirus-beacon
database 1.c++
473
create bin scan this = ready ready scan scan this [input] database = all files line 1241 2 a 7 a 14 b 19 a 25 b 27 c 28 c 30 b 31 c 31 d <--virus1--> line 1244 1 c 2 d 9 b 12 e 15 b 16 a 18 d 21 b 24 f 25 c 26 d <--virus2--> md#2=03b880022d0300a31304b106d3e08ec0a3a47cbe007ebf0000b9000cfcf3a4ff2ea27cb80000cd13...
unlicense
DottyVinnie/PortMod
src/main/java/com/dottyvinnie/portmod/init/ModBlocks.java
1910
package com.dottyvinnie.portmod.init; import com.dottyvinnie.portmod.IConfig; import com.dottyvinnie.portmod.blocks.*; import com.dottyvinnie.portmod.lib.Reference; import cpw.mods.fml.common.registry.GameRegistry; import net.minecraft.block.Block; import net.minecraft.init.Blocks; import net.minecraft.item.ItemBlock;...
unlicense
arlm/StoryboardTables
AsyncDataDownloader.designer.cs
1529
// WARNING // // This file has been generated automatically by Xamarin Studio to store outlets and // actions made in the UI designer. If it is removed, they will be lost. // Manual changes to this file may not be handled correctly. // using MonoTouch.Foundation; using System.CodeDom.Compiler; namespace StoryboardTabl...
unlicense
clilystudio/NetBook
allsrc/com/ximalaya/ting/android/opensdk/util/XiMaDataSupport$3.java
657
package com.ximalaya.ting.android.opensdk.util; import java.util.List; import org.litepal.b.d; class XiMaDataSupport$3 extends MyAsyncTask<Void, Void, List<T>> { protected List<T> doInBackground(Void[] paramArrayOfVoid) { return d.findAll(this.val$modelClass, this.val$isEager, this.val$ids); } protected ...
unlicense
PhompAng/06016219-SOFTWARE-ENGINEERING
Singleton/src/com/company/Doubleton/Doubleton.java
951
package com.company.Doubleton; import java.util.ArrayList; import java.util.Random; /** * Created by phompang on 11/26/2016 AD. */ public class Doubleton { private static ArrayList<Doubleton> doubletonArrayList = new ArrayList<>(); private int num; private Doubleton() { this.setNum(new Random()...
unlicense
pixeltasim/IRCBot-Pixeltasim
plugins/scp.py
1594
from whiffle import wikidotapi from util import hook import re import time,threading @hook.command def scp(inp): #this is for WL use, easily adaptable to SCP ".scp <Article #> -- Will return exact match of 'SCP-Article#'" api = wikidotapi.connection() #creates API connection api.Site = "scp-wiki" pages = api.refre...
unlicense
Mugurell/Learning
C++/C++ Primer 5th ed/Ch 13 - Copy & Move Control/Simplification of a vector of strings/StrVec.cpp
14636
/****************************************************************************** ******************************************************************************* * * Author: Lingurar Petru-Mugurel * Written: 09 Jul 2015, 21:29:32:436 * Last updated: 17 Jul 2015, 16:15:34:357 * * Compilati...
unlicense
dermoumi/m2n
src/graphics/shader.hpp
1960
/* This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdict...
unlicense
GoldenR1618/SoftUni-Exercises-and-Exams
06.C#_OOP_Basics/01.DEFINING_CLASSES/EXERCISE/11. Pokemon Trainer/Properties/AssemblyInfo.cs
1409
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("11....
unlicense
fremag/Nats.Services
Nats.Services.KeyValueStoreDemo/StoreClient/StoreClientForm.cs
2758
using Nats.Services.Core; using Nats.Services.Core.DiscoveryService; using NATS.Client; using NLog; using StoreServices; using System; using System.Reflection; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace StoreClient { public partial class StoreClientForm : Form ...
unlicense
GordonCoffeeCan/Gravity_Lover_Game_Studio_II
Gravity Game/Assets/Scripts/HubTriggerManager.cs
3346
using System.Collections; using System.Collections.Generic; using UnityEngine; public class HubTriggerManager : MonoBehaviour { private bool playerPREntered = false; private bool playerJPEntered = false; // Use this for initialization void Start () { GameManager.musicSource.Music1.Trans...
unlicense
DeveloperXY/ResumeGenerator
src/com/developerxy/resume/section/acc/Accounts.java
261
package com.developerxy.resume.section.acc; import java.lang.annotation.*; /** * Created by Mohammed Aouf ZOUAG on 18/04/2017. */ @Inherited @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface Accounts { Account[] value(); }
unlicense
bansarids30/cs50
pset7/public/index.php
641
<?php // configuration require("../includes/config.php"); $rows = query("SELECT symbol, shares FROM stocks WHERE id = ?", $_SESSION["id"]); $positions = []; foreach ($rows as $row) { $stock = lookup($row["symbol"]); if ($stock !== false) { $positions[] ...
unlicense
mntamim/vending-machine-kata
vending-machine-kata/src/vending/machine/kata/Coin.java
1282
package vending.machine.kata; /** * * @author mntam */ public class Coin { private final int weightInMilligrams; /** * Constructor to create coins * @param weightInMilligrams weight of the coin being made */ public Coin(int weightInMilligrams) { this.weightInM...
unlicense
joaovfc/experimentjavaapp
src/projpackage/JanelaPrincipal.java
2341
package projpackage; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.*; public class JanelaPrincipal extends JFrame { private JButton b1 = new JButton("Button 1"), b2 = new JButton("Button 2"); private JTextField txt...
unlicense
losman333/lostkawzlifestyle_newsblog
lostkawzlifestyle1/settings.py
6697
""" Django settings for lostkawzlifestyle1 project. Generated by 'django-admin startproject' using Django 1.9.12. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ ...
unlicense
Inviz/lsd
Source/Action/Display.js
1112
/* --- script: Display.js description: Shows or hides things license: Public domain (http://unlicense.org). authors: Yaroslaff Fedin requires: - LSD.Action provides: - LSD.Action.Display - LSD.Action.Show - LSD.Action.Hide ... */ LSD.Action.Display = LSD.Action.build({ enable: function(target) {...
unlicense
SeanShubin/web-sync
domain/src/test/scala/com/seanshubin/web/sync/domain/ErrorHandlerTest.scala
795
package com.seanshubin.web.sync.domain import org.scalatest.FunSuite import org.scalatest.easymock.EasyMockSugar class ErrorHandlerTest extends FunSuite with EasyMockSugar { test("do nothing if no errors") { val errorHandler: ErrorHandler = new ErrorHandlerImpl val downloadResults: Seq[DownloadResult] = Seq...
unlicense
D-Inc/EnderIO
src/main/java/crazypants/enderio/machine/obelisk/render/ObeliskRenderManager.java
5221
package crazypants.enderio.machine.obelisk.render; import crazypants.enderio.machine.AbstractMachineEntity; import crazypants.enderio.machine.obelisk.attractor.TileAttractor; import crazypants.enderio.machine.obelisk.aversion.AversionObeliskRenderer; import crazypants.enderio.machine.obelisk.aversion.TileAversionObeli...
unlicense
onpointtech/stack-reference
src/main/webapp/scripts/app/entities/employer/employer.controller.js
1853
'use strict'; angular.module('aquilaApp') .controller('EmployerController', function ($scope, Employer, ParseLinks) { $scope.employers = []; $scope.page = 1; $scope.loadAll = function() { Employer.query({page: $scope.page, per_page: 20}, function(result, headers) { ...
apache-2.0
wwu-pi/md2-framework
de.wwu.md2.framework/src/de/wwu/md2/framework/generator/IPlatformGenerator.java
736
package de.wwu.md2.framework.generator; import org.eclipse.emf.ecore.resource.ResourceSet; import org.eclipse.xtext.generator.IGenerator; /** * Platform generator interface. */ public interface IPlatformGenerator extends IGenerator { /** * Enable code generation for multiple input models (resources). * * ...
apache-2.0
biobricks/dbos
schemas/timestamp/1.0.0.js
1259
/* Copyright 2017 The BioBricks Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
apache-2.0
wooga/airflow
airflow/utils/email.py
5000
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
apache-2.0
liqilun/iticket
src/main/java/com/iticket/util/VmBaseUtil.java
7402
package com.iticket.util; import java.io.UnsupportedEncodingException; import java.lang.reflect.Array; import java.net.URLEncoder; import java.text.DecimalFormat; import java.text.NumberFormat; import java.util.Collection; import java.util.List; import java.util.Map; import org.apache.commons.lang.StringUt...
apache-2.0
SUPERCILEX/FirebaseUI-Android
auth/src/main/java/com/firebase/ui/auth/util/data/ProviderAvailability.java
783
package com.firebase.ui.auth.util.data; import android.support.annotation.RestrictTo; @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) public final class ProviderAvailability { public static final boolean IS_FACEBOOK_AVAILABLE = exists("com.facebook.login.LoginManager"); public static final boolean IS_...
apache-2.0
GennadiyL/AppKit
Core/Consoles.GennadiyLe.Core/Validation/ValidationConsole.cs
1219
using System; using System.Collections.Generic; using FluentValidation.Results; namespace Consoles.GennadiyLe.Core.Validation { public class ValidationConsole { public void Run() { TempData data1 = new TempData() { Name = "ssss", Id = Guid.NewGuid(), Age = 15 }; ...
apache-2.0