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
class Lsof < Formula desc "Utility to list open files" homepage "https://people.freebsd.org/~abe/" url "https://github.com/lsof-org/lsof/archive/4.94.0.tar.gz" sha256 "a9865eeb581c3abaac7426962ddb112ecfd86a5ae93086eb4581ce100f8fa8f4" license "Zlib" bottle do sha256 cellar: :any_skip_relocation, arm64_b...
JCount/homebrew-core
Formula/lsof.rb
Ruby
bsd-2-clause
1,621
<div class="modal fade" id="add_query_dialog"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" ng-disabled="saveInProgress" aria-hidden="true">&times;</button> <h4 class="mo...
jmvasquez/redashtest
rd_ui/app/views/new_widget_form.html
HTML
bsd-2-clause
3,996
cask "font-rasa" do version :latest sha256 :no_check url "https://github.com/google/fonts/trunk/ofl/rasa", verified: "github.com/google/fonts/", using: :svn, trust_cert: true name "Rasa" homepage "https://fonts.google.com/specimen/Rasa" font "Rasa-Bold.ttf" font "Rasa-Light.ttf"...
alerque/homebrew-fonts
Casks/font-rasa.rb
Ruby
bsd-2-clause
403
import sympy.core.cache # Why doesn't it work to use "import sympy.core.compatibility" and call "with_metaclass" as "sympy.core.compatibility.with_metaclass"? from sympy.core.compatibility import with_metaclass from sympy.core.function import AppliedUndef, FunctionClass from sympy.core.core import BasicMeta from sympy...
LindaLinsefors/EinSumConv
EinSumConv/tensor.py
Python
bsd-2-clause
6,432
/** * @file log.c Logging * * Copyright (C) 2010 Creytiv.com */ #include <re.h> #include <restund.h> static struct { struct list logl; bool debug; bool stder; } lg = { .logl = LIST_INIT, .debug = false, .stder = true }; void restund_log_register_handler(struct restund_log *log) { if (!log) return; ...
ph4r05/restund
src/log.c
C
bsd-2-clause
1,718
<?php // Load init.php require(dirname(__FILE__).'/init.php'); // Return a Response instance return new Response(new Headers(), new Cookies()); ?>
Falc/Aluminium
aluminium/components/response/instance.php
PHP
bsd-2-clause
150
using System.Diagnostics; using Xamarin.Forms; using Xamarin.Forms.Platform.UWP; [assembly: ExportRenderer(typeof(WebView), typeof(HikingPathFinder.App.UWP.UwpWebViewRenderer))] namespace HikingPathFinder.App.UWP { /// <summary> /// UWP custom WebView renderer /// See https://xamarinhelp.com/webview-rend...
vividos/HikingPathFinder
src/Frontend/App/UWP/UwpWebViewRenderer.cs
C#
bsd-2-clause
1,782
# # Sending emails in combination # with Motion surveillance software # # (c) Dr. Yves J. Hilpisch # The Python Quants GmbH # import smtplib from datetime import datetime from email.MIMEMultipart import MIMEMultipart from email.MIMEText import MIMEText def prompt(prompt): return raw_input(prompt).strip() fromad...
yhilpisch/rpi
doc/_store/mail.py
Python
bsd-2-clause
1,304
package org.laladev.moneyjinn.server.controller.report; import java.sql.Date; import java.time.LocalDate; import java.time.Month; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import javax.inject.Inject; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; i...
OlliL/moneyjinn-server
moneyjinn-server/src/test/java/org/laladev/moneyjinn/server/controller/report/ShowTrendsGraphTest.java
Java
bsd-2-clause
12,714
from actstream.models import Action from django.test import TestCase from cyidentity.cyfullcontact.tests.util import create_sample_contact_info class FullContactActivityStreamTestCase(TestCase): def test_contact_create(self): contact_info = create_sample_contact_info() action = Action.objects.acto...
shawnhermans/cyborgcrm
cyidentity/cyfullcontact/tests/test_activity_stream.py
Python
bsd-2-clause
433
#!/usr/bin/env ruby # Basic File Inclusion #class String #def vowels #self.scan(/[aeiou]/i) #end #end require './string_extension' puts "This is a sentencE".vowels.join('-') require_relative 'string_extension' puts "This is a sentencE".vowels.join('-')
sharkspeed/dororis
languages/ruby/beginning-ruby/7-chapter/1-projects.rb
Ruby
bsd-2-clause
273
/*** * \file InversePerspectiveMapping.cc * \author Mohamed Aly <malaa@caltech.edu> * \date 11/29/2006 */ #include "InversePerspectiveMapping.hh" #include "CameraInfoOpt.h" #include <iostream> #include <math.h> #include <assert.h> #include <list> using namespace std; #include <cv.h> #include <highgui.h> namesp...
rajnikant1010/EVAutomation
computer_vision/focus_lane_detection/InversePerspectiveMapping.cc
C++
bsd-2-clause
20,248
/* Strike by Appiphony Version: 1.0.0 Website: http://www.lightningstrike.io GitHub: https://github.com/appiphony/Strike-Components License: BSD 3-Clause License */ ({ afterRender: function(component, helper) { this.superAfterRender(); helper.selectRadioButtonFromValue(component, helper); } }) /* ...
appiphony/Strike-Components
aura/strike_radioGroup/strike_radioGroupRenderer.js
JavaScript
bsd-2-clause
1,789
//================================================================================================= /*! // \file blaze/math/constraints/DeclHermExpr.h // \brief Constraint on the data type // // Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved // // This file is part of the Blaze library. You can redis...
Kolkir/blaze-nn
third-party/blaze/include/blaze/math/constraints/DeclHermExpr.h
C
bsd-2-clause
4,114
class Ldc < Formula desc "Portable D programming language compiler" homepage "http://wiki.dlang.org/LDC" url "https://github.com/ldc-developers/ldc/releases/download/v0.17.0/ldc-0.17.0-src.tar.gz" sha256 "6c80086174ca87281413d7510641caf99dc630e6cf228a619d0d989bbf53bdd2" head "https://github.com/ldc-developer...
ebouaziz/linuxbrew
Library/Formula/ldc.rb
Ruby
bsd-2-clause
1,379
var EIDSS = { BvMessages: { 'bntHideSearch': 'Hide Search', 'bntShowSearch': 'Show Search', 'btnClear': 'Clear the field contents', 'btnHideErrDetail': 'Hide Details', 'btnSelect': 'Select', 'btnShowErrDetail': 'Show Details', 'btnView': 'View', 'strSave_Id': 'Save', 'tooltipSave_Id': 'Save', 's...
EIDSS/EIDSS-Legacy
EIDSS v6/eidss.webclient/Scripts/Messages/EIDSS.BvMessages.en-US.js
JavaScript
bsd-2-clause
10,573
# VStripe Ever heard of synchroballistic photography? VStripe renders pictures from videos that look very much like their analog counterparts of the 1980s. For details see [issue 16/11 of the German computer magazine c't](http://heise.de/-1281476).
ola-ct/vstripe
README.md
Markdown
bsd-2-clause
250
package com.agiledropzone.batchtester; import java.io.IOException; import com.agiledropzone.batchtester.tools.ScenarioSyntaxException; /** * Classe de lancement de BatchTester. <br> * */ public class BatchTester { private static String syntaxe = "Syntaxe d'appel :\njava -jar batchtester.jar <Nom...
AgileDropZone/batchtester
src/com/agiledropzone/batchtester/BatchTester.java
Java
bsd-2-clause
1,134
// Copyright (c) Zhirnov Andrey. For more information see 'LICENSE.txt' #pragma once #if 0 #include "Core/STL/Files/SubFile.h" #include "Core/STL/Containers/StaticArray.h" namespace GX_STL { namespace GXFile { // // Simple File Crypt Algorithm // template <uint Size> struct SimpleFileCryptAlgorithm { // t...
azhirnov/GraphicsGenFramework-modular
Core/STL/Files/CryptFile.h
C
bsd-2-clause
4,286
#!/bin/bash MODULE_NAME="vdphci" DEVICE_NAME="vdphcidev" DEVICE_LOWER=0 DEVICE_UPPER=10 sudo insmod ./$MODULE_NAME.ko $* || exit 1 # Retrieve major number DEVICE_MAJOR=`awk "\\$2==\"$MODULE_NAME\" {print \\$1}" /proc/devices` sudo rm -f /dev/${DEVICE_NAME}* for (( I=$DEVICE_LOWER; I<=$DEVICE_UPPER; I++ )) do su...
Sheph/vdp
modules/vdphci/vdphci-load.sh
Shell
bsd-2-clause
421
<?php class Kwc_Root_TrlRoot_Slave_Component extends Kwc_Root_TrlRoot_Chained_Component { public static function getSettings($masterComponentClass = null) { $ret = parent::getSettings($masterComponentClass); $ret['generators']['page']['class'] = 'Kwc_Root_Category_Trl_Generator'; $ret['g...
koala-framework/koala-framework
tests/Kwc/Root/TrlRoot/Slave/Component.php
PHP
bsd-2-clause
412
cask "pdfsam-basic" do version "4.2.3" sha256 "7018ddb963c6a7e7782ddba77776de488bdfdacfdb3212702afda0c4f5cb2475" url "https://github.com/torakiki/pdfsam/releases/download/v#{version}/PDFsam-#{version}.dmg", verified: "github.com/torakiki/pdfsam/" name "PDFsam Basic" desc "Extractas pages, splits, merge...
renaudguerin/homebrew-cask
Casks/pdfsam-basic.rb
Ruby
bsd-2-clause
661
/** @file Copyright (c) 2015, Linaro Limited. All rights reserved. Copyright (c) 2015, Hisilicon Limited. All rights reserved. Copyright (c) 2017, Jeremy Linton. All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License...
jlinton/OpenPlatformPkg
Drivers/Usb/DwUsbDxe/DwUsbDxe.c
C
bsd-2-clause
78,599
/**************************************************************************** * arch/arm/src/armv7-m/cache.h * * Copyright (C) 2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Some logic in this header file derives from the ARM CMSIS core_cm7.h * header file which has a co...
IUTInfoAix/terrarium_2015
nuttx/arch/arm/src/armv7-m/cache.h
C
bsd-2-clause
13,070
//================================================================================================= /*! // \file blaze/math/expressions/DMatDMatMultExpr.h // \brief Header file for the dense matrix/dense matrix multiplication expression // // Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved // // This ...
Kolkir/blaze-nn
third-party/blaze/include/blaze/math/expressions/DMatDMatMultExpr.h
C
bsd-2-clause
440,644
cask 'thunderbird' do version '68.2.1' language 'cs' do sha256 '42e9d68dbdc55737e94beb2d5ca9feb8b7bdb5595af44f762a7e7374ee1542ac' 'cs' end language 'de' do sha256 '645dd8b8562b71685026a38146177e2b2bf98682d2e8c6cf50e781d272365f28' 'de' end language 'en-GB' do sha256 '078b869716f3ce15ef...
jasmas/homebrew-cask
Casks/thunderbird.rb
Ruby
bsd-2-clause
2,682
# CardEngine Card Engine for the swift language Codes written in Xcode 6.3
ckilimci/CardEngine
README.md
Markdown
bsd-2-clause
79
/* * Copyright (c) 2004-2010, Kohsuke Kawaguchi * 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...
stapler/stapler
core/src/main/java/org/kohsuke/stapler/Header.java
Java
bsd-2-clause
2,817
#ifndef __APPENDER_H__ #define __APPENDER_H__ #include "dgrObject.h" DGR2_NP_BEGIN struct DGR2_API Appender : public DGRObject { virtual bool publish(const Log& log) = 0; virtual void setFilter(Filter* filter) = 0; virtual Filter* getFilter() = 0; virtual void setFormatter(Formatter* formatter...
scofieldzhu/blackconfigurator
trunk/3rd/dbgme/include/appender.h
C
bsd-2-clause
456
--- layout: lesson root: ../.. title: Using Databases and SQL level: novice --- Almost everyone has used spreadsheets, and almost everyone has eventually run up against their limitations. The more complicated a data set is, the harder it is to filter data, express relationships between different rows and columns, or ha...
selimnairb/2014-02-25-swctest
novice/sql/index.md
Markdown
bsd-2-clause
1,181
/* TODO : finish this */ #define NDK_HTTP_MAIN_CONF NGX_HTTP_MAIN_CONF #define NDK_HTTP_SRV_CONF NGX_HTTP_SRV_CONF #define NDK_HTTP_SIF_CONF NGX_HTTP_SIF_CONF #define NDK_HTTP_LOC_CONF NGX_HTTP_LOC_CONF #define NDK_HTTP_LIF_CONF ...
caidongyun/nginx-openresty-windows
ngx_devel_kit-0.2.19/auto/src/conf_cmd_basic.h
C
bsd-2-clause
2,491
/** * @module ol/control/ZoomSlider */ // FIXME should possibly show tooltip when dragging? import {inherits} from '../index.js'; import ViewHint from '../ViewHint.js'; import Control from '../control/Control.js'; import {CLASS_CONTROL, CLASS_UNSELECTABLE} from '../css.js'; import {easeOut} from '../easing.js'; impo...
planetlabs/ol3
src/ol/control/ZoomSlider.js
JavaScript
bsd-2-clause
9,856
#!/usr/bin/env python3 # Copyright (C) 2016 Job Snijders <job@instituut.net> # # This file is part of rtrsub # # 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 co...
job/rtrsub
setup.py
Python
bsd-2-clause
3,054
package sim.net; public class BrokenLinkException extends RoutingException { /** * @param string */ public BrokenLinkException(String string) { super(string); } }
bramp/p2psim
src/sim/net/BrokenLinkException.java
Java
bsd-2-clause
185
<?php # Copyright (c) 2009-2015 Yubico AB # 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 condi...
ahojjati/yubikey-val
ykval-sync.php
PHP
bsd-2-clause
6,080
<?php /* Template Name: Archive */ ?> <?php get_header(); ?> <div id="main"> <div id="archive-wrapper"> <?php query_posts('cat=&showposts=-1'); ?> <?php while (have_posts()) : the_post(); ?> <div class="post-archive-entry"> <div class="post-title"><h1><a href="<?php the_permalink(); ?>"><?ph...
syouts/wordpress-theme-ivory
archives.php
PHP
bsd-2-clause
565
package net.virtualvoid.bytecode package snippets.hosc import org.specs.Specification import Methods._ import Bytecode.Instructions._ import backend.ASM object Snippets extends Specification { "Examples from the article" should { "compile and execute correctly" in { "figure4" in { val f = ASM.com...
jrudolph/bytecode
src/test/scala/net/virtualvoid/bytecode/snippets/hosc/Snippets.scala
Scala
bsd-2-clause
2,550
local awful = require("awful") awful.rules = require("awful.rules") require("awful.autofocus") modkey = "Mod4" config_path = awful.util.getdir("config") globalkeys = awful.util.table.join( -- command keys awful.key({modkey}, "Return", function() awful.spawn(terminal) end), awful.key({modkey}, "v", functi...
jonathf/awesome
keybinds.lua
Lua
bsd-2-clause
5,662
/** * @file MazeField.h * @author Albert Uchytil (xuchyt03), Tomas Coufal (xcoufa09) * @brief Class defining the the field on the board */ #ifndef MAZEFIELD_H #define MAZEFIELD_H #include "MazeCard.h" /// @brief Class containig the field data like card, and handles the neighborhood class MazeField { public: ...
tumido/ICP-Project
src/include/MazeField.h
C
bsd-2-clause
627
#ifndef CAMERA_H #define CAMERA_H #include "GameObjects/GameObject.h" #include "GameObjects/Billboard.h" #include "GameObjects/Weapon.h" #include "Models/Armature.hpp" #include <iostream> #include <cmath> #include <glm/glm.hpp> #include <glm/gtx/transform.hpp> #include <glm/gtx/rotate_vector.hpp> #include <SDL/SDL.h>...
kSkip/MereEngine
include/GameObjects/Camera.h
C
bsd-2-clause
3,166
<!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 Mon Sep 08 12:46:29 CEST 2014 --> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <title>ContentFilterable ...
tkmnet/RCRS-ADF
gradle/gradle-2.1/docs/javadoc/org/gradle/api/file/ContentFilterable.html
HTML
bsd-2-clause
15,910
#!/bin/bash BUILD_DIR="." REPO_ROOT="$(git rev-parse --show-toplevel)" SCRIPT_DIR="$REPO_ROOT/scripts/engine" export XML_CATALOG_FILES=~/.openwebrtc/etc/xml/catalog if [[ ! -d $SCRIPT_DIR ]]; then git submodule init git submodule update fi # # Check preconditions: # 1. Check if file releases are missing and...
adam-be/openwebrtc
build.sh
Shell
bsd-2-clause
8,993
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>win32.graph.freeimage.FreeImage_Clone</title> <link href="css/style.css" rel="stylesheet" type="text/css"> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" > </head> <body bgcolor="#ffffff"> <table border=...
Devronium/ConceptApplicationServer
core/server/Samples/CIDE/Help/win32.graph.freeimage.FreeImage_Clone.html
HTML
bsd-2-clause
2,247
# -*- coding: utf-8 -*- """ Barycenters =========== This example shows three methods to compute barycenters of time series. For an overview over the available methods see the :mod:`tslearn.barycenters` module. *tslearn* provides three methods for calculating barycenters for a given set of time series: * *Euclidean b...
rtavenar/tslearn
tslearn/docs/examples/clustering/plot_barycenters.py
Python
bsd-2-clause
3,323
import pump import pump_bfd class BFDSinkEx(pump_bfd.BFDSink): def __init__(self, opts, spec, source_bucket, source_node, source_map, sink_map, ctl, cur): super(pump_bfd.BFDSink, self).__init__(opts, spec, source_bucket, source_node, source_map, sink_...
TOTVS/mdmpublic
couchbase-cli/lib/python/pump_bfd2.py
Python
bsd-2-clause
1,621
FROM zefciu/python-base MAINTAINER Pylabs <pylabs@allegro.pl> RUN pip install nose py3dns requests ADD test test ADD runtests.sh runtests.sh CMD bin/sh runtests.sh
zefciu/django-powerdns-dnssec
integration-tests/Dockerfile
Dockerfile
bsd-2-clause
164
/* * Copyright (C) 2015 Apple Inc. 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, this list of conditions a...
applesrc/WebCore
Modules/mediasession/MediaRemoteControls.h
C
bsd-2-clause
2,866
namespace Humidifier.Lambda { using System.Collections.Generic; using FunctionTypes; public class Function : Humidifier.Resource { public static class Attributes { public static string Arn = "Arn" ; } public override string AWSTypeName { ...
jakejscott/Humidifier
src/Humidifier/Lambda/Function.cs
C#
bsd-2-clause
11,209
// RUN: %clang_cc1 -fsyntax-only -verify -fms-extensions %s -Wno-deprecated-declarations // RUN: %clang_cc1 -fsyntax-only -std=c++17 -verify -fms-extensions %s -Wno-deprecated-declarations typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; n...
epiqc/ScaffCC
clang/test/SemaCXX/ms-uuid.cpp
C++
bsd-2-clause
4,986
namespace HikingPathFinder.Model { /// <summary> /// Photo infos and photo data /// </summary> public class Photo { /// <summary> /// Reference infos for photo /// </summary> public PhotoRef Ref { get; set; } /// <summary> /// Actual JPEG data of pho...
vividos/HikingPathFinder
src/Shared/Model/Photo.cs
C#
bsd-2-clause
766
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documen...
nmovshov/ARSS_win
extern/PhysX/v3.2.0_win/Source/PhysXExtensions/src/ExtPrismaticJoint.cpp
C++
bsd-2-clause
7,702
/* This file is a part of libcds - Concurrent Data Structures library Version: 2.0.0 (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2014 Distributed under the BSD license (see accompanying file license.txt) Source code repo: http://github.com/khizmax/libcds/ Download: http://source...
Rapotkinnik/libcds
tests/test-hdr/list/hdr_michael_kv_rcu_gpt.cpp
C++
bsd-2-clause
3,606
/*============================================================================ CMake - Cross Platform Makefile Generator Copyright 2013 Stephen Kelly <steveire@gmail.com> Distributed under the OSI-approved BSD License (the "License"); see accompanying file Copyright.txt for details. This software is distrib...
unix1986/universe
tool/cmake-3.0.2/Source/cmExportTryCompileFileGenerator.h
C
bsd-2-clause
2,107
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <deque> using namespace std; class RecurrenceRelation { public: int retval(int x) { if (x < 0) return (10-((-x)%10))%10; else return x%10; } in...
ibudiselic/contest-problem-solutions
tc 160+/RecurrenceRelation.cpp
C++
bsd-2-clause
3,828
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <style lang="css"> body { background-color: #F4F4F4; color: #333; font-family: Segoe UI,Tahoma,Arial,Verdana,sans-serif; } p#intro { font-family: Cambria,serif; font-size: 1.1em; color: #444; } p#intro a { color: #444; } p#int...
stuffmatic/snacka
doc/autobahntestresults/snacka_case_7_7_4.html
HTML
bsd-2-clause
10,654
/* $NiH: add_from_buffer.c,v 1.3 2006/05/09 23:41:32 wiz Exp $ add_from_buffer.c -- test case for adding file from buffer to archive Copyright (C) 1999, 2003, 2005 Dieter Baron and Thomas Klausner This file is part of libzip, a library to manipulate ZIP archives. The authors can be contacted at <nih@giga.or...
vlm/zip-fix-filename-encoding
libzip-0.7.1/regress/add_from_buffer.c
C
bsd-2-clause
2,911
package de.pfabulist.lindwurm.eighty; import de.pfabulist.lindwurm.eighty.path.EightyPath; import de.pfabulist.lindwurm.eighty.watch.WatchableByteChannel; import javax.annotation.Nullable; import java.io.IOException; import java.nio.channels.FileChannel; import java.nio.channels.SeekableByteChannel; import java.nio.f...
openCage/eightyfs
src/main/java/de/pfabulist/lindwurm/eighty/ProviderChannel.java
Java
bsd-2-clause
6,742
body { margin: 0px; background-color: #000; color: #fff; font-family: 'Roboto Condensed', sans-serif; } #webspec { width: 100%; height: 100%; margin: 0px; } #errorTitle { font-size: x-large; } .errorbox { text-align: center; width: 300px; height: 100px; position: absolute; left: 50...
MattMcNam/webspec
client/img/style.css
CSS
bsd-2-clause
683
package br.odb.minefield.commands; import br.odb.gameapp.ConsoleApplication; import br.odb.gameapp.UserCommandLineAction; public class ClearCommand extends UserCommandLineAction { @Override public String getHelp() { return null; } @Override public int requiredOperands() { return 2; } @Override public...
TheFakeMontyOnTheRun/deep-space-minefield
minefield-core-java/src/main/java/br/odb/minefield/commands/ClearCommand.java
Java
bsd-2-clause
457
package org.mapfish.print.attribute.map; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; public class ZoomLevelsTest { @Test public void testRemoveDuplicates() throws Exception { final ZoomLevels zoomLevels = new ZoomLevels(4, 2, 3, 3, ...
Galigeo/mapfish-print
core/src/test/java/org/mapfish/print/attribute/map/ZoomLevelsTest.java
Java
bsd-2-clause
1,633
/* * Copyright (c) 2018, Eadgars Ruse <https://github.com/Eadgars-Ruse> * Copyright (c) 2018, Adam <Adam@sigterm.info> * Copyright (c) 2019, Jordan Atwood <nightfirecat@protonmail.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted prov...
runelite/runelite
runelite-client/src/main/java/net/runelite/client/plugins/cluescrolls/clues/hotcold/HotColdLocation.java
Java
bsd-2-clause
22,616
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>basic_socket::lowest_layer_type</title> <link rel="stylesheet" href="../../../boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> <link rel="home" href="../../../index.html" title="A...
laeotropic/HTTP-Proxy
deps/asio-1.10.1/doc/asio/reference/basic_socket/lowest_layer_type.html
HTML
bsd-2-clause
30,585
<?php /** * contains the F51InfosysCollaborator class * * @category * @package * @author Peter <pel@intern1.dk> */ require_once F51_DIR . 'wpinfosysconnector.php'; /** * F51 Infosys Collaboration class * * @category * @package * @author Peter <pel@intern1.dk> */ class F51InfosysCollaborator { /** ...
Fake51/f51-infosys
f51-infosys/f51infosyscollaborator.php
PHP
bsd-2-clause
8,511
{% comment %} This form template is meant to be used with the "include" template tag. {% endcomment %} <fieldset> <legend class="small">General Information</legend> {% include "form_generic.html" with form=sourceForm.fieldsets.general_info %} </fieldset> <fieldset> <legend class="small">Location Keys</leg...
DevangS/CoralNet
templates/images/form_source.html
HTML
bsd-2-clause
7,563
/* Copyright (c) 2014, Lars Brubaker 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, this list of conditions and the followi...
mmoening/agg-sharp
Gui/TabControl/Tab.cs
C#
bsd-2-clause
5,674
require "language/go" class Packer < Formula desc "Tool for creating identical machine images for multiple platforms" homepage "https://packer.io" url "https://github.com/mitchellh/packer.git", :tag => "v0.10.0", :revision => "fedb0e21f03607060b002fd1467bc617b6a4e812" revision 1 bottle do ce...
forevergenin/homebrew-core
Formula/packer.rb
Ruby
bsd-2-clause
13,245
-------------------------------------------------- ### Summary of Folder Structure and File Contents Last updated: July 19, 2018 -------------------------------------------------- **Language** - Contains the base for the Drasil language README.md - This file drasil-lang.cabal - Cabal file, used by stack to bu...
JacquesCarette/literate-scientific-software
code/drasil-lang/README.md
Markdown
bsd-2-clause
365
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #pragma once #include "AssetTypeActions_Base.h" class FAssetTypeActions_Blackboard : public FAssetTypeActions_Base { public: // IAssetTypeActions Implementation virtual FText GetName() const override { return NSLOCTEXT("AssetTypeActions", "AssetTypeAction...
PopCap/GameIdea
Engine/Source/Editor/BehaviorTreeEditor/Private/AssetTypeActions_Blackboard.h
C
bsd-2-clause
687
/* Copyright (c) 2013, Regents of the Columbia University * 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, this li...
hemingcui/xtern_with_paxos
test/runtime/tmp-tests/one-thread-test.cpp
C++
bsd-2-clause
2,095
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Security.Cryptography; using System.Text; using System.Windows.Forms; using DeOps.Implementation; using DeOps.Services.Trust; namespace DeOps.Services.Profile { publ...
swax/DeOps
UI/Services/Profile/EditProfile.cs
C#
bsd-2-clause
15,097
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django_google_dork.models import model_utils.fields import django.utils.timezone class Migration(migrations.Migration): replaces = [('django_google_dork', '0001_initial'), ('django_google_dork', '0002...
chgans/django-google-dork
django_google_dork/migrations/0001_initial.py
Python
bsd-2-clause
4,143
//------------------------------------------------------------------------------ // Symbooglix // // // Copyright 2014-2017 Daniel Liew // // This file is licensed under the MIT license. // See LICENSE.txt for details. //------------------------------------------------------------------...
symbooglix/symbooglix
src/BoogieTests/BoogieTest.cs
C#
bsd-2-clause
1,787
// Copyright (c) 2022, WNProject Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "WNMultiTasking/inc/thread.h" #include "WNMemory/inc/allocator.h" #include "WNMemory/inc/intrusive_ptr.h" #include "WNMultiTasking/inc/semapho...
WNProject/WNFramework
Libraries/WNMultiTasking/src/thread.cpp
C++
bsd-2-clause
1,608
function Get-LaunchSettings(){ ls -Recurse -Filter launchSettings.json|%{ $fileName = $_.Directory.Parent; gc $_.FullName|ConvertFrom-Json|%{ $url=$_.profiles."$fileName".applicationUrl; Write-Host "$fileName : $url"; } } }
iamkarlson/dotfiles
powershell/autorun/get-launchsettings.ps1
PowerShell
bsd-2-clause
273
/* * Copyright (c) 2013 Ambroz Bizjak * 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, this list of conditio...
ambrop72/aprinter
aprinter/printer/transform/DeltaTransform.h
C
bsd-2-clause
8,806
require File.expand_path("../../Abstract/abstract-php-extension", __FILE__) class Php53Raphf < AbstractPhp53Extension init desc "A reusable split-off of pecl_http's persistent handle and resource factory API." homepage "https://pecl.php.net/package/raphf" url "https://pecl.php.net/get/raphf-1.0.4.tgz" sha256...
TomK/homebrew-php
Formula/php53-raphf.rb
Ruby
bsd-2-clause
1,032
/* Copyright (c) Citrix Systems Inc. * 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 li...
aftabahmedsajid/XenCenter-Complete-dependencies-
XenOvfTransport/DiskStream.cs
C#
bsd-2-clause
8,868
class Procs < Formula desc "Modern replacement for ps written by Rust" homepage "https://github.com/dalance/procs" url "https://github.com/dalance/procs/archive/v0.10.3.tar.gz" sha256 "cbb31a3a94b0c697aeb687f103c9128b3fed006cd0c802fb47f5c67415c32181" license "MIT" bottle do cellar :any_skip_relocation ...
lembacon/homebrew-core
Formula/procs.rb
Ruby
bsd-2-clause
853
namespace CustomActions.Utils { using System; using bv.common.Core; using Microsoft.Deployment.WindowsInstaller; public static class CultureRegistrator { public static void TryRegisterCustomCultures(Session session) { try { CustomCultureHelper.UnRegisterAll(); ...
EIDSS/EIDSS-Legacy
EIDSS v6.1/EIDSS.Setup/CustomActions.Utils/CultureRegistrator.cs
C#
bsd-2-clause
542
# RIPACrypt This is the client side application for [RIPACrypt](https://ripacrypt.download) which remotely stores secrets which are destroyed if a deadline is reached without a checkin (a form a deadman switch). This is another thought experiment in defeating the Regulation of Investigatory Powers Act 2000 Section 49 ...
BrassHornCommunications/RIPACrypt
README.md
Markdown
bsd-2-clause
4,901
/** Copyright 2015 Couchbase, Inc. 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 i...
TOTVS/mdmpublic
couchbase-cli/lib/ns_server/erlang/lib/ns_server/priv/public/js/analytics.js
JavaScript
bsd-2-clause
26,506
# Copyright (c) 2012-2021, Mark Peek <mark@peek.org> # All rights reserved. # # See LICENSE file for full license. from .aws import Action as BaseAction from .aws import BaseARN service_name = "Amazon Mechanical Turk" prefix = "mechanicalturk" class Action(BaseAction): def __init__(self, action: str = None) -> ...
cloudtools/awacs
awacs/mechanicalturk.py
Python
bsd-2-clause
4,190
package com.rustyrazorblade.graph; /** * Created by jhaddad on 6/7/14. */ public class Edge extends Element { Vertex in, out; String label; public Edge(String label, Vertex in, Vertex out) { this.in = in; this.out = out; this.label = label; } }
rustyrazorblade/javagraph
src/com/rustyrazorblade/graph/Edge.java
Java
bsd-2-clause
289
-- |Interactions with the user. module Ovid.Interactions ( tell , options ) where import Ovid.Prelude import qualified System.Console.Editline.Readline as R -- |Prompt the user. tell s = liftIO (putStrLn s) -- |Asks the user to pick an item from a list. options :: (MonadIO m, Show a) => [a] -> m a options xs ...
brownplt/ovid
src/Ovid/Interactions.hs
Haskell
bsd-2-clause
972
<?php /** * Copyright 2011 Bas de Nooijer. 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, * this list of cond...
bpolaszek/solarium
library/Solarium/QueryType/Schema/Query/Command/Command.php
PHP
bsd-2-clause
2,307
module.exports = function notEmpty(o) { if (o == null) { return false; } else if (Array.isArray(o)) { return !!o.length; } else if (o === '') { return false; } return true; };
ticolucci/dotfiles
atom/packages/atom-beautify/node_modules/marko/helpers/notEmpty.js
JavaScript
bsd-2-clause
220
# hsup [DEPRECATED] _This project is officially retired and no longer maintained._ Supervises processes that are configured in a Heroku-esque way. `hsup` can poll the Heroku API directly to obtain releases, configuration, and execution information. `hsup` can also watch a local directory that injects similar inform...
heroku/hsup
README.md
Markdown
bsd-2-clause
5,862
# Copyright (c) 2020, DjaoDjin inc. # 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, # this list of conditions and t...
djaodjin/djaodjin-survey
survey/api/campaigns.py
Python
bsd-2-clause
3,013
package com.seatgeek.placesautocomplete.json; import android.util.JsonReader; import com.seatgeek.placesautocomplete.model.AddressComponent; import com.seatgeek.placesautocomplete.model.AddressComponentType; import com.seatgeek.placesautocomplete.model.AlternativePlaceId; import com.seatgeek.placesautocomplete.model....
seatgeek/android-PlacesAutocompleteTextView
placesautocomplete/src/test/java/com/seatgeek/placesautocomplete/json/AndroidPlacesApiJsonParserTest.java
Java
bsd-2-clause
18,801
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Web.Mvc; using System.Xml; using BLToolkit.EditableObjects; using bv.model.BLToolkit; using bv.model.Model.Core; using eidss.model.Core; using eidss.model.Enums; using eidss.model.Reports; u...
EIDSS/EIDSS-Legacy
EIDSS v6.1/eidss.webclient/Controllers/AggregateSummaryController.cs
C#
bsd-2-clause
25,224
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // // Copyright (C) 1997-2019 Steve Nygard. // #import <XCTest/NSObject-Protocol.h> #import <XCTest/XCTElementSnapshotAttributeDataSource-Protocol.h> #import <XCTest/XCUIAXNotificationHandling-Protocol.h> @class NSArray, NS...
linkedin/bluepill
bp/src/PrivateHeaders/XCTest/XCUIAccessibilityInterface-Protocol.h
C
bsd-2-clause
2,994
ecalc ===== C言語で記述した単純な電卓です. C言語の練習用に記述したもので,実装方法やアルゴリズムは非常に未熟だと思います. もし何かの参考になれば幸いです. ## 特徴 一般的な電卓パーサーの実装とは異なり、優先度順にスキャンし続けるという方法をとっています。 決して良い方法ではないと思うのですが、一応動いています。 32bit Linux/Windowsで動作するJITがついています。 ## 使い方 ヘッダをインクルードします。 JITを使用しない場合は`ecalc_jit.h`は不要です。 ```C #include "ecalc.h" #include "ecalc_jit.h" #include <s...
futr/ecalc
README.md
Markdown
bsd-2-clause
3,195
(function(w) { "use strict"; w.matchMedia = w.matchMedia || function(doc, undefined) { var bool, docElem = doc.documentElement, refNode = docElem.firstElementChild || docElem.firstChild, fakeBody = doc.createElement("body"), div = doc.createElement("div"); div.id = "mq-test-1"; div.style.cssText = "posi...
fergalmoran/dss
static/js/lib/ace/uncompressed/respond.src.js
JavaScript
bsd-2-clause
8,153
/* Copyright (c) 2006, Tim Becker 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 conditio...
a2800276/jsxmlRPC
src/test_basics.js
JavaScript
bsd-2-clause
3,340
<!DOCTYPE html> <!-- Copyright (c) 2013, the polymer_elements.dart project authors. Please see the AUTHORS file for details. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. This work is a port of the polymer-elements from the Polymer project, http:...
bwu-dart-graveyard/polymer_elements
lib/polymer_animation/polymer_blink.html
HTML
bsd-2-clause
614
import unittest from nose2 import events, loader, session from nose2.plugins.loader import functions from nose2.tests._common import TestCase class TestFunctionLoader(TestCase): def setUp(self): self.session = session.Session() self.loader = loader.PluggableTestLoader(self.session) self.p...
ptthiem/nose2
nose2/tests/unit/test_functions_loader.py
Python
bsd-2-clause
1,464
from .binary_search_tree import BinarySearchTree
dskoda1/hpds
hpds/trees/__init__.py
Python
bsd-2-clause
49
#include <FLIGHT/Core/AssetManager.hpp> #include <FLIGHT/Core/Game.hpp> #include <FLIGHT/Entity/Plane.hpp> #include <FLIGHT/Graphics/OpenGLDisplayImpl.hpp> #include <FLIGHT/Entity/Coin.hpp> namespace FLIGHT { void DisplayShadowOverlay(const float amount) { auto & game = Singleton<Game>::Instance(); glDisable(G...
evanbowman/FLIGHT
src/Graphics/OpenGLDisplayImpl.cpp
C++
bsd-2-clause
21,567
<?php /** * Copyright 2014 Fabian Grutschus. 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, this * list of co...
purr-php/purr
tests/src/Event/Task/AfterRunLoopTest.php
PHP
bsd-2-clause
2,790
package org.jvnet.hyperjaxb3.xml; public class XMLConstants { private XMLConstants() { } public static final String W3C_XML_SCHEMA_NS_URI = "http://www.w3.org/2001/XMLSchema"; }
highsource/hyperjaxb3
ejb/runtime/src/main/java/org/jvnet/hyperjaxb3/xml/XMLConstants.java
Java
bsd-2-clause
184