code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
package com.bright_side_it.fliesenui.base.model; import java.util.List; import com.bright_side_it.fliesenui.dto.model.DTODefinition; import com.bright_side_it.fliesenui.project.model.AssistValue; import com.bright_side_it.fliesenui.project.model.Project; import com.bright_side_it.fliesenui.project.model.ResourceDefin...
FliesenUI/FliesenUI
src/com/bright_side_it/fliesenui/base/model/AssistValueList.java
Java
apache-2.0
794
<template name="NonCasLogin"> <div class="ui container raised padded text segment"> {{> atForm }} </div> </template>
henricasanova/databet_meteor
databet/client/templates/login/NonCasLogin.html
HTML
apache-2.0
133
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.compiler.server; import com.intellij.compiler.CompilerMessageImpl; import com.intellij.compiler.ProblemsView; import com.intellij.compiler.impl.CompileDriver...
leafclick/intellij-community
java/compiler/impl/src/com/intellij/compiler/server/AutoMakeMessageHandler.java
Java
apache-2.0
8,799
# # Cookbook Name:: atig # Recipe:: default # # Copyright 2014, YOUR_COMPANY_NAME # # All rights reserved - Do Not Redistribute # %w(ruby ruby-all-dev build-essential libsqlite3-dev ca-certificates).each do|name| package name do action :install end end gem_package "atig" do action :install end
mzp/chef-repo
cookbooks/atig/recipes/default.rb
Ruby
apache-2.0
306
/* * Copyright 2017 Young Digital Planet S.A. * * 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...
YoungDigitalPlanet/empiria.player
src/main/java/eu/ydp/empiria/player/client/controller/extensions/internal/modules/LinkModuleConnectorExtension.java
Java
apache-2.0
2,143
using System; using System.Collections.Generic; using System.Linq; using Couchbase.Core; using Couchbase.Linq.UnitTests.Documents; using Moq; using Newtonsoft.Json.Serialization; using NUnit.Framework; using Couchbase.Linq.Extensions; namespace Couchbase.Linq.UnitTests.QueryGeneration { [TestFixture] public c...
brantburnett/Linq2Couchbase
Src/Couchbase.Linq.UnitTests/QueryGeneration/ArrayOperatorTests.cs
C#
apache-2.0
4,549
<header id="casmgmt-header"> <nav class="navbar navbar-default"> <div class="container-fluid"> <div class="navbar-header"> <a href="manage.html" target="_self" id="homepageUrlLink"> <div class="navbar-brand"> <img th:src="@{/images/log...
Unicon/cas
webapp-mgmt/cas-management-webapp/src/main/resources/templates/fragments/header.html
HTML
apache-2.0
1,784
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <title>KCoreMain - ONJAG documentation - it.unipi.thesis.andrea.esposito.onjag.test.KCoreMain</title> <meta name="description" content="KCore...
roy20021/ONJAG
doc/it/unipi/thesis/andrea/esposito/onjag/test/KCoreMain$.html
HTML
apache-2.0
25,559
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.remote; import com.google.common.base.Joiner; import com.google.common.collect.Lists; import com.intellij.util.AbstractPathMapper; import com.intellij.util.A...
leafclick/intellij-community
platform/platform-impl/src/com/intellij/remote/RemoteProcessUtil.java
Java
apache-2.0
1,582
require 'spec_helper' describe 'neutron::designate' do let :req_params do { :password => 'secret', :url => 'http://ip/designate' } end shared_examples 'neutron designate' do context 'with default parameters' do let :params do req_params end it 'configures designate ...
openstack/puppet-neutron
spec/classes/neutron_designate_spec.rb
Ruby
apache-2.0
4,751
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2015 clowwindy # # 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 b...
meowlab/shadowsocks-comment
shadowsocks/lru_cache.py
Python
apache-2.0
4,886
<div ng-controller="LoginCtrl"> <span> <h5>Veuillez vous connectez</h5> </span> <span> <button id="button-google" ng-click="connectGoogle()">Connexion avec Google</button> </span> </div>
Thomas55170/Mess
www/template/main.html
HTML
apache-2.0
218
div { border: 5px solid #EDF3F3; border-radius: 1em; text-align: center; } span { display: inline-block; font-size: 10px; } .inner { margin: 5px; padding: 5px; } .outer { width: 400px; }
katonap/ng2-test-seed
src/app/border-component.css
CSS
apache-2.0
197
package ca.uhn.fhir.jpa.dao.data; import ca.uhn.fhir.jpa.model.entity.ResourceTable; import ca.uhn.fhir.jpa.model.entity.SearchParamPresent; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; impo...
SingingTree/hapi-fhir
hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/data/ISearchParamPresentDao.java
Java
apache-2.0
1,455
package it.unibz.inf.ontop.protege.panels; /* * #%L * ontop-protege4 * %% * Copyright (C) 2009 - 2013 KRDB Research Centre. Free University of Bozen Bolzano. * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtai...
srapisarda/ontop
ontop-protege/src/main/java/it/unibz/inf/ontop/protege/panels/SavedQueriesPanel.java
Java
apache-2.0
16,188
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.editorconfig.configmanagement.extended; import com.intellij.application.options.CodeStyle; import com.intellij.application.options.codeStyle.properties.*; import com....
leafclick/intellij-community
plugins/editorconfig/src/org/editorconfig/configmanagement/extended/IntellijConfigOptionDescriptorProvider.java
Java
apache-2.0
4,255
package com.crawler.autowereld; import java.io.File; import java.io.FileNotFoundException; import com.crawler.autowereld.export.CrawlerExportException; import com.crawler.autowereld.export.serialization.SerializationException; public class Main { public static void main(String[] args) { try { checkAndDoExport...
tomasz-galuszka/HttpCrawlers
autowereld/AutoWereldOfferrsCrawler/src/com/crawler/autowereld/Main.java
Java
apache-2.0
1,265
function New-VSS3Object { <# .SYNOPSIS Uploads an object to S3 .PARAMETER BucketName The name of the bucket to contain the object. .PARAMETER CannedACL The canned access control list (CACL) to apply to the object. Valid options are: "NoACL","Private","PublicRead","PublicReadWrite","Authent...
scrthq/Vaporshell
VaporShell/Public/SDK Wrappers/S3/New-VSS3Object.ps1
PowerShell
apache-2.0
3,259
package com.jiakaiyang.androider.web.bbs.base; import com.google.gson.Gson; import com.jiakaiyang.androider.web.common.convert.JsonConverter; import spark.ResponseTransformer; import java.util.Map; /** * 把返回值处理成json格式的字符串 */ public class JsonTransformer implements ResponseTransformer { @Override public S...
kaiyangjia/androider-web
bbs/src/main/java/com/jiakaiyang/androider/web/bbs/base/JsonTransformer.java
Java
artistic-2.0
602
/** * PokemonController * * @description :: Server-side logic for managing Pokemons * @help :: See http://sailsjs.org/#!/documentation/concepts/Controllers */ module.exports = { hola: function (req, res) { return res.send("Hola desde el controlador pokemon"); }, adios...
adrianeguez/PruebaWeb
Pokedex/api/controllers/PokemonController.js
JavaScript
artistic-2.0
437
package Mojo::EventEmitter; use Mojo::Base -base; use Scalar::Util qw(blessed weaken); use constant DEBUG => $ENV{MOJO_EVENTEMITTER_DEBUG} || 0; sub catch { $_[0]->on(error => $_[1]) and return $_[0] } sub emit { my ($self, $name) = (shift, shift); if (my $s = $self->{events}{$name}) { warn "-- Emit $name ...
polettix/mojo
lib/Mojo/EventEmitter.pm
Perl
artistic-2.0
3,461
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_292) on Fri Jul 02 16:35:40 UTC 2021 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Interface com.destr...
GlowstoneMC/glowstonemc.github.io
content/jd/glowkit/1.16/com/destroystokyo/paper/event/executor/asm/class-use/ClassDefiner.html
HTML
artistic-2.0
8,497
/* This file was autogenerated by tags.py */ #import "GCEventDetailAttribute.h" /** */ @interface GCPhoneNumberAttribute : GCEventDetailAttribute // Methods: /// @name Initializing /** Initializes and returns a phoneNumber. @return A new phoneNumber. */ +(instancetype)phoneNumber; /// @name Initializing ...
mikkelee/Gedcom-Framework
Gedcom/_Generated/generated_headers/GCPhoneNumberAttribute.h
C
artistic-2.0
724
package Map::Tube; $Map::Tube::VERSION = '3.12'; $Map::Tube::AUTHORITY = 'cpan:MANWAR'; =head1 NAME Map::Tube - Core library as Role (Moo) to process map data. =head1 VERSION Version 3.12 =cut use 5.006; use XML::Twig; use Data::Dumper; use Map::Tube::Node; use Map::Tube::Line; use Map::Tube::Table; use Map::T...
tupinek/Map-Tube
lib/Map/Tube.pm
Perl
artistic-2.0
29,817
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_292) on Fri Jul 02 16:35:39 UTC 2021 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class org.bukkit.ev...
GlowstoneMC/glowstonemc.github.io
content/jd/glowkit/1.16/org/bukkit/event/player/class-use/PlayerInteractAtEntityEvent.html
HTML
artistic-2.0
4,744
package pTracker::Domain::Project::Test; use strict; use warnings; =head1 NAME pTracker::Domain::Project::Test =head1 SYNOPSIS =head1 METHODS =over =cut use pTracker::Domain::Project; use pTracker::Domain::Project::Category; use pTracker::Domain::Project::EditLock; use pTracker::Domain::Project::File; use pTrack...
gsiems/pTracker
application/lib/pTracker/Domain/Project/Test.pm
Perl
artistic-2.0
18,105
use v6; use GGE::Match; class CodeString { has Str $!contents = ''; my $counter = 0; method emit($string, *@args, *%kwargs) { $!contents ~= $string\ .subst(/\%(\d)/, { @args[$0] // '...' }, :g)\ .subst(/\%(\w)/, { %kwargs{$0} // '...' }, :g); }...
masak/gge
lib/GGE/Exp.pm
Perl
artistic-2.0
25,424
//#import <UIKit/UIKit.h> #import "ZMBaseViewController.h" #import "JHPopoverViewController.h" #import "UIExpandingTextView.h" @interface ZMMdlBbsVCtrl : ZMBaseViewController<UITableViewDataSource,UITableViewDelegate,UITextViewDelegate> { UIExpandingTextView * TV_Draft_Content ; UIScrollView * forumTitle...
licongdashen/ZMducation
ZMEducation20140304-4/ZMEducation/ViewController/ZMMdlBbsVCtrl.h
C
artistic-2.0
1,158
#if !defined(AFX_PCXEXPORT_H__083C40D4_C400_4AAD_B145_5178DFACB86E__INCLUDED_) #define AFX_PCXEXPORT_H__083C40D4_C400_4AAD_B145_5178DFACB86E__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++ // NOTE: Do not modify the...
ChIna-king-Arthur/MFC
cow2/TeeChartAPI/pcxexport.h
C
artistic-2.0
1,244
#!/usr/bin/env python def run_test(n, m, power, bullet): prev_dict = {} cur_dict = {} for i in xrange(n): ri = n-1-i for j in xrange(m): if i == 0: cur_dict[power[ri][j]] = power[ri][j] else: new_k = power[ri][j] for k...
SwordYoung/cutprob
hackerrank/contest/w13/a-super-hero/a.py
Python
artistic-2.0
1,849
# Makefile to build our databases db: armour-db.tex armour-db.tex: armour.db db2tex ./db2tex < $< > $@
JohnL4/diaspora-srd
latex/db/Makefile
Makefile
artistic-2.0
108
Simple application to act as an OAuth2 server for testing.
sdeeg-pivotal/spring-polymer-demo
auth-server/README.md
Markdown
artistic-2.0
58
package Static::Issue; use Pony::Object qw/Static::Base/; protected 'title'; protected 'description'; protected static 'close_type_list' => { 'closed' => 1, 'resolved' => 2, 'won\'t fix' => 3, }; protected 'close_type'; sub set_close_type : Public { my $this = shift; my $ty...
gitpan/Pony-Object
t/Static/Issue.pm
Perl
artistic-2.0
752
#region Math.NET Iridium (LGPL) by Ruegg // Math.NET Iridium, part of the Math.NET Project // http://mathnet.opensourcedotnet.info // // Copyright (c) 2002-2008, Christoph Rüegg, http://christoph.ruegg.name // // This program is free software; you can redistribute it and/or modify // it under the terms of the GN...
tylermenezes/Hunt-the-Wumpus-2010
src/MathNet.Iridium-2008.8.16.470/Sources/Library/Tuple.cs
C#
artistic-2.0
2,577
# testgitflow # testgitflow # testgitflow
Eisekson/testgitflow
README.md
Markdown
artistic-2.0
42
<?php /** * The template for displaying search form */ ?> <?php global $s; ?> <form class="search" method="get" id="searchform" action="<?php echo home_url(); ?>"> <input type="text" value="<?php echo esc_html($s, 1); ?>" name="s" id="s" size="15" /> <div class="magn_glass"> <i class="icon-se...
carlagiannina/cg
wp-content/themes/penandpaper_WP_1.0.1/searchform.php
PHP
artistic-2.0
362
FROM frolvlad/alpine-scala LABEL maintainer="JJ Merelo <jjmerelo@GMail.com>" WORKDIR /root CMD ["/usr/local/bin/sbt"] ARG SBT_VERSION=1.4.2 RUN apk update && apk upgrade && apk add curl \ && curl -sL "https://github.com/sbt/sbt/releases/download/v${SBT_VERSION}/sbt-${SBT_VERSION}.tgz" -o /usr/local/sbt.tgz \ &...
JJ/CC
ejemplos/Scala/Dockerfile
Dockerfile
artistic-2.0
459
package Site::Pages::AJAJ::Logout; use strictures 1; use base qw/ Site::Pages::JSON /; sub handle_POST { my ( $self ) = @_; my ( $uid ) = $self->unroll_session(); # just remove the key from the session DB if (my $session = $self->schema->resultset('Session')->find({uid=>$uid})) { $session->delete(); ...
simcop2387/TDL
lib/Site/Pages/AJAJ/Logout.pm
Perl
artistic-2.0
397
# enum Bool declared in BOOTSTRAP BEGIN { Bool.^add_method('Bool', my proto method Bool(|) {*}); Bool.^add_method('gist', my proto method gist(|) {*}); Bool.^add_method('Numeric', my proto method Numeric(|) {*}); Bool.^add_method('Int', my proto method Int(|) {*}); Bool.^add_meth...
awwaiid/rakudo
src/core/Bool.pm
Perl
artistic-2.0
6,047
<?php /** * Unit Test File * * @license Artistic License 2.0 * * This file is part of Round Eights. * * Round Eights is free software: you can redistribute it and/or modify * it under the terms of the Artistic License as published by * the Open Source Initiative, either version 2.0 of the License, or * (at yo...
Nycto/Round-Eights
tests/classes/CLI/Option.php
PHP
artistic-2.0
7,081
-- Convert schema '/home/jjohnston/sites/Xqursion/share/migrations/_source/deploy/22/001-auto.yml' to '/home/jjohnston/sites/Xqursion/share/migrations/_source/deploy/21/001-auto.yml':; ; -- No differences found;
taskboy3000/Xqursion
share/migrations/SQLite/downgrade/22-21/001-auto.sql
SQL
artistic-2.0
214
<!DOCTYPE HTML> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (16) on Fri Jul 02 03:26:51 UTC 2021 --> <title>ConsoleMessages.Warn.Block (Glowstone 2021.7.1-SNAPSHOT API)</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Type" content="text/html;...
GlowstoneMC/glowstonemc.github.io
content/jd/glowstone/1.17/net/glowstone/i18n/ConsoleMessages.Warn.Block.html
HTML
artistic-2.0
7,186
package CDN::Edgecast::Client::auto::Administration::Element::CustomerOriginUpdateResponse; BEGIN { $CDN::Edgecast::Client::auto::Administration::Element::CustomerOriginUpdateResponse::VERSION = '0.01.00'; } use strict; use warnings; { # BLOCK to scope variables sub get_xmlns { 'EC:WebServices' } __PACKAGE__->__s...
gitpan/CDN-Edgecast-Client
lib/CDN/Edgecast/Client/auto/Administration/Element/CustomerOriginUpdateResponse.pm
Perl
artistic-2.0
3,624
## Upgrade notes ### v6.0.0 #### Backwards incompatible changes ##### Usage of `map.forEachLayerAtPixel` Due to performance considerations, the layers in a map will sometimes be rendered into one single canvas instead of separate elements. This means `map.forEachLayerAtPixel` will bring up false positives. The eas...
bjornharrtell/ol3
changelog/upgrade-notes.md
Markdown
bsd-2-clause
69,452
import ptypes, pecoff from ptypes import * from . import error, ldrtypes, rtltypes, umtypes, ketypes, Ntddk, heaptypes, sdkddkver from .datatypes import * class PEB_FREE_BLOCK(pstruct.type): pass class PPEB_FREE_BLOCK(P(PEB_FREE_BLOCK)): pass PEB_FREE_BLOCK._fields_ = [(PPEB_FREE_BLOCK, 'Next'), (ULONG, 'Size')] cla...
arizvisa/syringe
lib/ndk/pstypes.py
Python
bsd-2-clause
57,087
// <file> // <copyright see="prj:///doc/copyright.txt"/> // <license see="prj:///doc/license.txt"/> // <author name="Daniel Grunwald"/> // <version>$Revision: 5572 $</version> // </file> using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnos...
tltjr/Wish
ICSharpCode.AvalonEdit/Highlighting/HighlightingManager.cs
C#
bsd-2-clause
9,909
package main import ( "flag" "io" "log" "os" "os/signal" "syscall" ) func init() { log.SetFlags(0) log.SetOutput(os.Stderr) } func main() { var ( flags int = (os.O_WRONLY | os.O_CREATE) exitval int files []io.Writer = []io.Writer{os.Stdout} ) appendFlag := flag.Bool("a", false, "Append the outp...
sternix/commands
tee.go
GO
bsd-2-clause
1,055
Rails.application.routes.draw do get 'currents/labels' => 'currents#labels', as: :labels resources :currents resources :art_pieces resources :art_pieces resources :artists # The priority is based upon order of creation: first created -> highest priority. # See how all your routes lay out with "rake routes...
colin-gerety/art
config/routes.rb
Ruby
bsd-2-clause
1,749
/* newmail, version 1.0 ©2006 Robert Lillack, burningsoda.com */ #include <dirent.h> #include <getopt.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <strings.h> #include <sys/param.h> #include <sys/stat.h> #include <sys/types.h> #ifdef HAVE_NAMLEN #define NAMLEN(x) x->d_namlen #...
roblillack/newmail
newmail.c
C
bsd-2-clause
6,035
#ifndef __MONO_NATIVE_MSCORLIB_SYSTEM_RUNTIMEFIELDHANDLE_H #define __MONO_NATIVE_MSCORLIB_SYSTEM_RUNTIMEFIELDHANDLE_H #include <mscorlib/System/mscorlib_System_ValueType.h> #include <mscorlib/System/Runtime/Serialization/mscorlib_System_Runtime_Serialization_ISerializable.h> #include <mscorlib/System/mscorlib_System_O...
brunolauze/MonoNative
MonoNative/mscorlib/System/mscorlib_System_RuntimeFieldHandle.h
C
bsd-2-clause
2,295
import ConfigParser from .settings import SECTIONS, CONFIG config = ConfigParser.ConfigParser() config.read(CONFIG) if not config.has_section(SECTIONS['INCREMENTS']): config.add_section(SECTIONS['INCREMENTS']) with open(CONFIG, 'w') as f: config.write(f) def read_since_ids(users): """ Read ...
wenli810620/twitter-photos
twphotos/increment.py
Python
bsd-2-clause
1,165
using System; using System.IO; using System.Reflection; using System.Diagnostics; namespace TeamNote { class Debug { private static StreamWriter m_sLogWriter = null; public static void Setup(string filename = "") { m_sLogWriter = new StreamWriter(filename, true); WriteLog("S", "Starting a...
TomiCode/TeamNote
TeamNote_Server/Debug.cs
C#
bsd-2-clause
1,556
#include <sys/stat.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> #include <errno.h> #include <assert.h> #include <dirent.h> #include <cstdint> #include <math.h> #include <map> #include <queue> #include <set> #include <limits> #include <unistd.h> #include <unordered_set> #include <uno...
endplay/omniplay
test/mkpartition_utils.h
C
bsd-2-clause
5,216
/* * Copyright (C) 2001-2003 by egnite Software GmbH. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, thi...
Astralix/ethernut32
nut/crt/sprintf.c
C
bsd-2-clause
2,538
/* jshint indent:4 */ /* * Copyright 2011-2013 Jiří Janoušek <janousek.jiri@gmail.com> * Copyright 2014 Jan Vlnas <pgp@jan.vlnas.cz> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of sourc...
jnv/nuvolaplayer-thisismyjam
integration.js
JavaScript
bsd-2-clause
6,875
package org.mapfish.print.config.access; import org.json.JSONException; import org.json.JSONObject; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; /** * Class for marshalling and unmarshalling AccessAssertionObjects to and from JSON. */ public f...
Galigeo/mapfish-print
core/src/main/java/org/mapfish/print/config/access/AccessAssertionPersister.java
Java
bsd-2-clause
2,159
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net) * Copyright (C) 2010 Daniel Bates (dbates@intudata.com) * * T...
applesrc/WebCore
rendering/RenderListMarker.cpp
C++
bsd-2-clause
65,800
import { helper } from '@ember/component/helper'; export function fooBar(params) { if (params[0]) { let penaltyMap = { 30: 'Repeating Substantial Portions of a Song', 32: 'Instrumental Accompaniment', 34: 'Chorus Exceeding 4-Part Texture', 36: 'Excessive Melody Not in Inner Part', 3...
barberscore/barberscore-web
app/helpers/map-penalty.js
JavaScript
bsd-2-clause
590
/** * pims-web org.pimslims.presentation LabBookEntryDAO.java * * @author Marc Savitsky * @date 8 Sep 2008 * * Protein Information Management System * @version: 2.2 * * Copyright (c) 2008 Marc Savitsky The copyright holder has licenced the STFC to redistribute this software */ package org.pimsli...
homiak/pims-lims
src/presentation/org/pimslims/presentation/LabBookEntryDAO.java
Java
bsd-2-clause
2,350
--- src/rpcserver.cpp.orig 2017-07-10 14:23:31 UTC +++ src/rpcserver.cpp @@ -469,8 +469,8 @@ private: void ServiceConnection(AcceptedConnection *conn); //! Forward declaration required for RPCListen -template <typename Protocol, typename SocketAcceptorService> -static void RPCAcceptHandler(boost::shared_ptr< basic_...
tuaris/FreeBSD-Coin-Ports
net-p2p/unbreakablecoin/files/patch-src_rpcserver.cpp
C++
bsd-2-clause
2,990
use strict; use warnings; package Grace::Toolset; use File::Spec; use Carp; use Grace::Util; my %_drivers; sub register ($$$) { my ($drv, $chn, $new) = @_; my $old; if ($old = $_drivers{$drv}{toolchain}{$chn}) { carp(__PACKAGE__.": Driver '$drv' already registered '$chn'"); carp(__PAC...
coreybrenner/grace
Grace/Toolset.pm
Perl
bsd-2-clause
2,965
namespace Core.Framework.Permissions.Models { public enum PermissionArea { Portal, Applications, ControlPanel, Content, Plugin } }
coreframework/Core-Framework
Source/Core.Framework.Permissions/Models/PermissionArea.cs
C#
bsd-2-clause
190
#!/usr/bin/env python3 # # This file is part of LiteX-Boards. # # Copyright (c) 2020 Antmicro <www.antmicro.com> # Copyright (c) 2019 David Shah <dave@ds0.me> # SPDX-License-Identifier: BSD-2-Clause import os import argparse from migen import * from migen.genlib.resetsync import AsyncResetSynchronizer from litex_bo...
litex-hub/litex-boards
litex_boards/targets/xilinx_zcu104.py
Python
bsd-2-clause
4,423
#!/bin/bash set -e export GOPWT_DEBUG=1 ORIGINAL_GOPATH=${GOPATH:-$HOME/go} # dep is not working with _ prefiexed ( like a `_integrationtest` ) dir workspace="/tmp/gopath-gopwt-integrationtest-$$/src" mkdir -p "$workspace" cp -r "$(cd "$(dirname "$0")"; pwd)"/* "$workspace/" GOPATH=$(dirname $workspace):$GOPATH ex...
ToQoz/gopwt
_integrationtest/test.sh
Shell
bsd-2-clause
1,290
/* Copyright (c) 2017, Palo Alto Research Center All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of...
mmosko/Folio
test/test_folio_LinkedList.c
C
bsd-2-clause
3,567
--- category: dashboards parent_category: user-guide helpscout_url: https://help.redash.io/article/61-creating-a-dashboard title: Creating and Editing Dashboards slug: dashboard-editing toc: true --- # Creating a Dashboard A dashboard lets you combine visualizations and text boxes that provide context with your data....
getredash/website
src/pages/kb/user-guide/dashboards/dashboard-editing.md
Markdown
bsd-2-clause
5,302
package org.javafunk.funk.predicates; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.javafunk.funk.functors.Predicate; /** * {@code InstanceOfPredicate} is a {@code Predicate} implementation that * is constructed with a {@code Class} instan...
javafunk/funk
funk-core/src/main/java/org/javafunk/funk/predicates/InstanceOfPredicate.java
Java
bsd-2-clause
2,911
<html> <head> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> <link href="../css/help.css" rel="stylesheet" media="all"> <title>The Source Code</title> <meta name="copyright" content="Copyright 2004, 2005, 2007 Henry Weiss"> <meta name="description" content="Get your hands on CocoaPad's source ...
henrybw/CocoaPad
English.lproj/CocoaPad Help/about/opensource.html
HTML
bsd-2-clause
2,162
from JumpScale import j from GitFactory import GitFactory j.base.loader.makeAvailable(j, 'clients') j.clients.git = GitFactory()
Jumpscale/jumpscale6_core
lib/JumpScale/baselib/git/__init__.py
Python
bsd-2-clause
131
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #pragma once #if STATS class FAsyncStatsWrite; /** * Magic numbers for stats streams, this is for the first version. */ enum EStatMagicNoHeader : uint32 { MAGIC_NO_HEADER = 0x7E1B83C1, MAGIC_NO_HEADER_SWAPPED = 0xC1831B7E, NO_VERSION = 0, }; /** * Ma...
PopCap/GameIdea
Engine/Source/Runtime/Core/Public/Stats/StatsFile.h
C
bsd-2-clause
29,968
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #pragma once #include "ActorFactories/ActorFactory.h" #include "ActorFactoryEmitter.generated.h" UCLASS(MinimalAPI, config=Editor, collapsecategories, hidecategories=Object) class UActorFactoryEmitter : public UActorFactory { GENERATED_UCLASS_BODY() // ...
PopCap/GameIdea
Engine/Source/Editor/UnrealEd/Classes/ActorFactories/ActorFactoryEmitter.h
C
bsd-2-clause
709
def fat(n): result = 1 while n > 0: result = result * n n = n - 1 return result # testes print("Fatorial de 3: ", fat(3));
Gigers/data-struct
algoritimos/Python/fatorial-while.py
Python
bsd-2-clause
158
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package dae.prefabs.standard; import com.jme3.scene.Node; import com.jme3.scene.Spatial; import dae.animation.rig.PrefabPlaceHolderCallback; import dae.prefabs.Prefab; /** * This prefab is a place holder that can be ...
samynk/DArtE
src/dae/prefabs/standard/PrefabPlaceHolder.java
Java
bsd-2-clause
2,572
class Pyqt < Formula desc "Python bindings for v5 of Qt" homepage "https://www.riverbankcomputing.com/software/pyqt/download5" url "https://files.pythonhosted.org/packages/8c/90/82c62bbbadcca98e8c6fa84f1a638de1ed1c89e85368241e9cc43fcbc320/PyQt5-5.15.0.tar.gz" sha256 "c6f75488ffd5365a65893bc64ea82a6957db126fbfe3...
rwhogg/homebrew-core
Formula/pyqt.rb
Ruby
bsd-2-clause
2,159
namespace SharpLang.CompilerServices { public sealed partial class Compiler { private bool charUsesUtf8 = false; private bool stringSliceable = false; /// <summary> /// Gets or sets a value indicating whether char and string types uses UTF8 or UTF16. /// </summary> ...
xen2/SharpLang
src/SharpLang.Compiler/Compiler.Options.cs
C#
bsd-2-clause
744
@page @section FindFile Class The @code{FindFile} class is designed to provide a portable means of enumerating over the file names contained within a particular file system directory. Currently, this class has only been ported to the DOS and all Windows environments. There is no current support for Unix or Macintosh...
blakemcbride/Dynace
manual/FindFile.tex
TeX
bsd-2-clause
6,300
import Controller (withOR) import System.IO (hPutStrLn, stderr) import Network.Wai.Middleware.Debug (debug) import Network.Wai.Handler.Warp (run) main :: IO () main = do let port = 3000 hPutStrLn stderr $ "Application launched, listening on port " ++ show port withOR $ run port . debug
snoyberg/orangeroster
test.hs
Haskell
bsd-2-clause
300
#ifndef _TINYSRV_CONNECTION_H #define _TINYSRV_CONNECTION_H #include "project.h" #include "config.h" #include "http.h" struct ts_connection { const char *str; int length; int filefd; ps_http_request_header_t *request; ps_http_response_header_t *response; }; typedef struct ts_connection ps_connection_t; st...
jaka/tinysrv
src/connection.h
C
bsd-2-clause
1,175
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
valvy/BlockSnake
doc/html/globals_enum.html
HTML
bsd-2-clause
4,017
<html> <body> <p><b>The <i>ejbPostCreate()</i> method's <i>return</i> type must be <i>void</i>.</b></p> <p>see REFERENCEs.</p> <p><b>REFERENCE</b></p> <p>"Enterprise JavaBeans Developer's Guide".<br> http://java.sun.com/j2ee/j2sdkee/techdocs/guides/ejb/html/Entity.fm.html</p> </body> </html>
kit-transue/software-emancipation-discover
Docs/QARules4Java/description/EJBRTPCV/EJBRTPCV.html
HTML
bsd-2-clause
297
#include <mscorlib/System/Reflection/Emit/mscorlib_System_Reflection_Emit_ModuleBuilder.h> #include <mscorlib/System/mscorlib_System_String.h> #include <mscorlib/System/Reflection/Emit/mscorlib_System_Reflection_Emit_FieldBuilder.h> #include <mscorlib/System/mscorlib_System_Byte.h> #include <mscorlib/System/Reflection/...
brunolauze/MonoNative
MonoNative/mscorlib/System/Reflection/Emit/mscorlib_System_Reflection_Emit_ModuleBuilder.cpp
C++
bsd-2-clause
95,331
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_02) on Tue Apr 29 11:29:42 CEST 2014 --> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <title>PlatformConfigurab...
Pushjet/Pushjet-Android
gradle/wrapper/dists/gradle-1.12-all/4ff8jj5a73a7zgj5nnzv1ubq0/gradle-1.12/docs/javadoc/org/gradle/nativebinaries/toolchain/PlatformConfigurableToolChain.html
HTML
bsd-2-clause
13,990
/** * anothergltry - Another GL try * Copyright (c) 2015, Matej Kormuth <http://www.github.com/dobrakmato> * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source ...
dobrakmato/jge
src/main/java/eu/matejkormuth/jge/scripting/BaseScript.java
Java
bsd-2-clause
1,696
import warnings class DeprecatedCallableStr(str): do_no_call_in_templates = True def __new__(cls, value, *args, **kwargs): return super(DeprecatedCallableStr, cls).__new__(cls, value) def __init__(self, value, warning, warning_cls): self.warning, self.warning_cls = warning, warning_cls ...
takeflight/wagtailnews
wagtailnews/deprecation.py
Python
bsd-2-clause
609
var searchData= [ ['datetime',['datetime',['../structdatetime.html',1,'']]] ];
bplainia/galaxyLightingSystem
doxygen/html/search/classes_2.js
JavaScript
bsd-2-clause
81
<?php /** * 通用控制器基类 */ class Controller_Base extends Controller_Abstract { /** * 提示信息类型:信息 */ const MESSAGE_INFO = 1; /** * 提示信息类型:警告 */ const MESSAGE_WARNING = 2; /** * 提示信息类型:错误 */ const MESSAGE_ERROR = 3; /** * 提示信息类型:成功 */ const MESSAGE_...
dingusxp/vframework
app-demo/src/Controller/Base.php
PHP
bsd-2-clause
4,584
<script id="expinfo-template" type="x-template"> <div class="row"> <div class="col-lg-4 col-lg-push-4 text-center well"> <p> <strong>{{ gettext("Experiment:") }}</strong> {{ experiment["name"] }} </p> <p> <strong>{{ gettext("Category:") }}...
zstars/weblabdeusto
server/src/weblab/core/templates/webclient_web/apps/lab/expinfo/expinfo.template.html
HTML
bsd-2-clause
412
#include "default_room.h" #include "movable.h" #include "illegal_move_exception.h" namespace qungeon { default_room::default_room(const std::string &description) : description{ description } {} void default_room::set_north(qungeon::room* room) { north_room = room; } void default_room::set_south(qungeon::room* ro...
quintalion/qungeon
src/qungeon/default_room.cpp
C++
bsd-2-clause
1,695
package tinker.net.dongliu.apk.parser.struct.resource; /** * used by resource Type. * * @author dongliu */ public class ResTableConfig { private byte[] array; // Number of bytes in this structure. uint32_t private int size; // Mobile country code (from SIM). 0 means "any". uint16_t private sh...
shwenzhang/apk-parser
apk-parser-lib/src/main/java/tinker/net/dongliu/apk/parser/struct/resource/ResTableConfig.java
Java
bsd-2-clause
5,544
<?php namespace Ace\ProjectBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Response; use Ace\ProjectBundle\Entity\Project as Project; use Doctrine\ORM\EntityManager; use Ace\ProjectBundle\Controller\MongoFilesController; class ProjectController extend...
abhshkrv/Wiselib-Online
Symfony/src/Ace/ProjectBundle/Controller/ProjectController.php
PHP
bsd-2-clause
10,290
package fr.laas.fape.graph.core.impl import fr.laas.fape.graph.core.{LabeledEdge, LabeledGraph, MultiGraph} import scala.collection.mutable import scala.collection.mutable.ArrayBuffer class MultiLabeledUndirectedAdjacencyList[V, EdgeLabel](mEdges : mutable.ArrayBuffer[List[LabeledEdge[V, EdgeLabel]]], ...
athy/fape
structures/src/main/scala/fr/laas/fape/graph/core/impl/ConcreteUndirectedAdjacencyLists.scala
Scala
bsd-2-clause
922
`date` ====== {% raw %} Converts an argument to a date to allow date comparison: ````twig {% if date(user.created_at) < date('-2days') %} {# do something #} {% endif %} ```` You can pass a timezone as the second argument: ````twig {% if date(user.created_at) < date('-2days', 'Europe/Paris') %} {# do somethi...
ericmorand/twing
docs/language-reference/functions/date.md
Markdown
bsd-2-clause
655
/* * This file is part of the WebKit open source project. * This file has been generated by generate-bindings.pl. DO NOT MODIFY! * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundati...
applesrc/WebCore
bindings/scripts/test/GObject/WebKitDOMInterfaceName.cpp
C++
bsd-2-clause
3,862
export default { "type": "Program", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 19 } }, "range": [ 0, 19 ], "body": [ { "type": "ExportNamedDeclarat...
eslint/espree
tests/fixtures/ecma-version/6/modules-and-blockBindings/export-let-number.result.js
JavaScript
bsd-2-clause
5,832
# -------------------------------------------------------- # TensorFlow for Dragon # Copyright(c) 2017 SeetaTech # Written by Ting Pan # --------------------------------------------------------
neopenx/Dragon
Dragon/python/dragon/vm/tensorflow/training/__init__.py
Python
bsd-2-clause
193
java-check-certs ================ This is a simple utility written in Java to check the validity and expiration dates of SSL certificates for a given host. Each certificate in the host's certificate chain is checked. By default, it will warn you if a certificate is going to expire within 30 days. Usage looks someth...
timewasted/java-check-certs
README.md
Markdown
bsd-2-clause
1,824
package Tapper::Schema::TestrunDB::ResultSet::Precondition; BEGIN { $Tapper::Schema::TestrunDB::ResultSet::Precondition::AUTHORITY = 'cpan:TAPPER'; } { $Tapper::Schema::TestrunDB::ResultSet::Precondition::VERSION = '4.1.3'; } use strict; use warnings; use parent 'DBIx::Class::ResultSet'; use YAML::Syck; sub add...
gitpan/Tapper-Schema
lib/Tapper/Schema/TestrunDB/ResultSet/Precondition.pm
Perl
bsd-2-clause
1,625
package org.hisrc.jsonix.analysis; import org.apache.commons.lang3.Validate; import org.jvnet.jaxb2_commons.xml.bind.model.MBuiltinLeafInfo; import org.jvnet.jaxb2_commons.xml.bind.model.MClassInfo; import org.jvnet.jaxb2_commons.xml.bind.model.MClassRef; import org.jvnet.jaxb2_commons.xml.bind.model.MEnumLeafInfo; im...
highsource/jsonix-schema-compiler
compiler/src/main/java/org/hisrc/jsonix/analysis/TypeInfoGraphBuilder.java
Java
bsd-2-clause
5,652
var readFile = require('graceful-fs').readFile var resolve = require('path').resolve var spawn = require('win-spawn') module.exports = function () { return { getStatement: function getStatement (callback) { readFile( resolve(__dirname, './problem.txt'), {encoding: 'utf-8'}, callback...
othiym23/bug-clinic
problems/node-debug/index.js
JavaScript
bsd-2-clause
1,860
cask 'font-material-icons' do version '2.2.3' sha256 'c68797889b285abe51898defa209d1a1bd1d959c9f20e5ef486c1d3f0e08eac2' # github.com/google/material-design-icons was verified as official when first introduced to the cask url "https://github.com/google/material-design-icons/archive/#{version}.zip" appcast 'ht...
victorpopkov/homebrew-fonts
Casks/font-material-icons.rb
Ruby
bsd-2-clause
652