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 |
|---|---|---|---|---|---|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_VIDEO_H264_POC_H_
#define MEDIA_VIDEO_H264_POC_H_
#include <stdint.h>
#include "base/macros.h"
namespace media {
struct H264SPS;
struct ... | endlessm/chromium-browser | media/video/h264_poc.h | C | bsd-3-clause | 1,433 |
// $Id$
//
// Copyright (C) 2003-2014 Greg Landrum and Rational Discovery LLC
//
// @@ All Rights Reserved @@
// This file is part of the RDKit.
// The contents are covered by the terms of the BSD license
// which is included in the file license.txt, found at the root
// of the RDKit source tree.
//
#define NO_I... | jandom/rdkit | Code/GraphMol/Wrap/MolOps.cpp | C++ | bsd-3-clause | 79,121 |
/**
* The OWASP CSRFGuard Project, BSD License
* Eric Sheridan (eric.sheridan@owasp.org), Copyright (c) 2011
* 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. Redistribut... | NCIP/common-security-module | software/upt/webapp/public_html/WEB-INF/Owasp.CsrfGuard.js | JavaScript | bsd-3-clause | 11,536 |
/*
* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
*
* Portions copyright (c) 1999, 2000
* Intel Corporation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... | kontais/EFI-MIPS | ToolKit/lib/libc/wchar/wcscat.c | C | bsd-3-clause | 2,321 |
#ifndef NT2_CORE_INCLUDE_FUNCTIONS_SCALAR_EXPAND_HPP_INCLUDED
#define NT2_CORE_INCLUDE_FUNCTIONS_SCALAR_EXPAND_HPP_INCLUDED
#include <nt2/core/functions/expand.hpp>
#include <nt2/core/functions/scalar/expand.hpp>
#endif
| hainm/pythran | third_party/nt2/core/include/functions/scalar/expand.hpp | C++ | bsd-3-clause | 222 |
#include <csolve.h>
#include <stdlib.h>
struct s {
int x;
char * ARRAY y;
};
struct t {
char * ARRAY one;
char * ARRAY two;
short z;
};
void register_cb(void * VAR(K) s,
void * VAR(L) t,
void (* START VALIDPTR cb)(void * VAR(K), void * VAR(L)))
{
cb(s,t);
}
extern void process_s(str... | ucsd-progsys/csolve | tests/postests/polystore/poly_call3.c | C | bsd-3-clause | 436 |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\RuleActionSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="rule-action-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
... | hvos234/raspberrypi.home.website | views/rule-action/_search.php | PHP | bsd-3-clause | 906 |
/*
* Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
*
* 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 Foundation; either
* version 2 of the License, or (at your option) any later version.
... | espadrine/opera | chromium/src/third_party/WebKit/Source/core/svg/SVGFEMorphologyElement.h | C | bsd-3-clause | 3,054 |
# -*- coding: utf-8 -*-
import collections
import itertools
import json
import os
import posixpath
import re
import time
from operator import attrgetter
from datetime import datetime
from django.conf import settings
from django.core.exceptions import ObjectDoesNotExist
from django.core.files.storage import default_sto... | mstriemer/addons-server | src/olympia/addons/models.py | Python | bsd-3-clause | 80,686 |
// Copyright 2021 The Chromium 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 "chrome/browser/enterprise/connectors/device_trust/signals/decorators/common/common_signals_decorator.h"
#include "base/bind.h"
#include "base/c... | scheib/chromium | chrome/browser/enterprise/connectors/device_trust/signals/decorators/common/common_signals_decorator.cc | C++ | bsd-3-clause | 3,271 |
<html lang="en">
<head>
<title>Sbttl - Using as</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using as">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Pseudo-Ops.html#Pseudo-Ops" title="Pseudo Op... | ExploreEmbedded/Tit-Windows | tools/doc/binutils/as.html/Sbttl.html | HTML | bsd-3-clause | 2,387 |
\begin{VerbatimInput}[frame=single, fontsize=\tiny, numbers=left, label={[11420]\url{http://article.gmane.org/gmane.comp.sysutils.backup.bacula.devel/11420}}]
{../../data/11420.txt}
\end{VerbatimInput}
| joaohf/rxpslca | src/artigo/bacula-devel/11420.tex | TeX | bsd-3-clause | 202 |
# -----------------------------------------------------------------------------
# Copyright (c) 2014--, The Qiita Development Team.
#
# Distributed under the terms of the BSD 3-clause License.
#
# The full license is in the file LICENSE, distributed with this software.
# ------------------------------------------------... | biocore/qiita | qiita_pet/handlers/study_handlers/sample_template.py | Python | bsd-3-clause | 19,340 |
/* Copyright (c) 2006-2013 by OpenLayers Contributors (see authors.txt for
* full list of contributors). Published under the 2-clause BSD license.
* See license.txt in the OpenLayers distribution or repository for the
* full text of the license. */
/**
* @requires OpenLayers/Tile.js
* @requires OpenLayers/Animat... | girc/dmis | common/asset-files/openlayers/ol2/lib/OpenLayers/Tile/Image.js | JavaScript | bsd-3-clause | 16,702 |
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
namespace CefSharp
{
/// <summary>
/// Event arguments to the NavStateChanged event handler set up in IWebBrowser.
/// ... | dreamsxin/CefSharp-37.0.0 | CefSharp/NavStateChangedEventArgs.cs | C# | bsd-3-clause | 784 |
# SHBiasKMask
Calculate the multitaper (cross-)power spectrum expectation of a function localized by arbitrary windows derived from a mask.
# Usage
`outcspectra` = SHBiasK (`tapers`, `incspectra`, [`lwin`, `k`, `ldata`, `taper_wt`, `save_cg`])
# Returns
`outcspectra` : float, dimension (`ldata`+`lwin`+1)
: The e... | MMesch/SHTOOLS | src/pydoc/pyshbiaskmask.md | Markdown | bsd-3-clause | 3,708 |
/*
* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef VBOOT_REFERENCE_FUTILITY_H_
#define VBOOT_REFERENCE_FUTILITY_H_
#include <stdint.h>
#include "vboot_common.h"
#include "gbb_header.h... | geekboxzone/mmallow_external_vboot_reference | futility/futility.h | C | bsd-3-clause | 4,097 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE690_NULL_Deref_From_Return__long_malloc_54c.c
Label Definition File: CWE690_NULL_Deref_From_Return.free.label.xml
Template File: source-sinks-54c.tmpl.c
*/
/*
* @description
* CWE: 690 Unchecked Return Value To NULL Pointer
* BadSource: malloc Allocate data us... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE690_NULL_Deref_From_Return/s01/CWE690_NULL_Deref_From_Return__long_malloc_54c.c | C | bsd-3-clause | 1,334 |
''' Provide special versions of list and dict, that can automatically notify
about changes when used for property values.
Mutations to these values are detected, and the properties owning the
collection is notified of the changes. Consider the following model
definition:
.. code-block:: python
class SomeModel(Mo... | Karel-van-de-Plassche/bokeh | bokeh/core/property/containers.py | Python | bsd-3-clause | 14,792 |
# Copyright (c) 2009-2010 Six Apart Ltd.
# 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 conditions an... | mozilla/remoteobjects | remoteobjects/dataobject.py | Python | bsd-3-clause | 9,792 |
<?php
namespace User\Model;
/**
*
* @author nmt
*
*/
class AclWhiteList {
public $id;
public $resource_id;
public $status;
public $created_on;
public function exchangeArray($data) {
$this->id = (! empty ( $data ['id'] )) ? $data ['id'] : null;
$this->resource_id = (! empty ( $d... | ngmautri/nmt | module/User/src/Model/AclWhiteList.php | PHP | bsd-3-clause | 551 |
package nginx.clojure.jersey;
import static nginx.clojure.MiniConstants.BODY;
import static nginx.clojure.MiniConstants.HEADERS;
import static nginx.clojure.MiniConstants.NGX_HTTP_INTERNAL_SERVER_ERROR;
import static nginx.clojure.MiniConstants.REQUEST_METHOD;
import static nginx.clojure.MiniConstants.SCHEME;
import ... | duqiao/nginx-clojure | nginx-jersey/src/java/nginx/clojure/jersey/NginxJerseyContainer.java | Java | bsd-3-clause | 6,615 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Code Coverage for /Users/eduardojunior/projetos/ieducar2/www/module/Portal/src/Portal/Entity</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="../../../css/bootstrap.min.css" rel="stylesheet">
<link... | goldblade/ieducar2 | module/Portal/tests/_reports/coverage/src/Portal/Entity/index.html | HTML | bsd-3-clause | 5,398 |
#ifndef NT2_PREDICATES_INCLUDE_FUNCTIONS_SIMD_ISEMPTY_HPP_INCLUDED
#define NT2_PREDICATES_INCLUDE_FUNCTIONS_SIMD_ISEMPTY_HPP_INCLUDED
#include <nt2/predicates/functions/isempty.hpp>
#include <nt2/predicates/functions/scalar/isempty.hpp>
#endif
| hainm/pythran | third_party/nt2/predicates/include/functions/simd/isempty.hpp | C++ | bsd-3-clause | 246 |
package models
import (
"OttBot2/settings"
"database/sql"
_ "github.com/go-sql-driver/mysql"
"time"
)
var db *sql.DB
func MakeDB(dbConnectString string) {
newDb, err := sql.Open("mysql", dbConnectString)
if err != nil {
panic(err)
}
db = newDb
timeout, err := time.ParseDuration(settings.GetDatabaseTimeout... | NurbsOtter/OttBot2 | models/database.go | GO | bsd-3-clause | 391 |
# -*- coding: utf-8 -*-
from django import forms
from cms_content.settings import EDITOR
from cms_content.models import CMSArticle
from cms_content import widgets
WIDGET = getattr(widgets, EDITOR)
class CMSArticleAdminForm(forms.ModelForm):
content = forms.CharField(widget=WIDGET)
class Meta:
m... | indexofire/django-cms-content | cms_content_patch/forms.py | Python | bsd-3-clause | 604 |
// Copyright 2014 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... | yohunl/libwebp | src/enc/picture_rescale.c | C | bsd-3-clause | 9,353 |
<?php
/**
* Created by PhpStorm.
* User: sz
* Date: 26.06.15
* Time: 10:51
*/
namespace modules\directory\models\form;
use modules\directory\models\ShopType;
use modules\directory\Module as DirectoryModule;
use modules\base\validators\LangRequiredValidator;
use modules\themes\Module as ThemeModule;
class ShopMa... | d-bo/unitaly-dev | modules/directory/models/form/ShopMarketForm.php | PHP | bsd-3-clause | 1,149 |
package org.hisp.dhis.jdbc.statementbuilder;
/*
* Copyright (c) 2004-2016, University of Oslo
* 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 r... | uonafya/jphes-core | dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/statementbuilder/StatementBuilderFactoryBean.java | Java | bsd-3-clause | 3,912 |
// Copyright (c) 2012, Event Store LLP
// 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 condit... | msbahrul/EventStore | src/EventStore/EventStore.Core.Tests/Services/Transport/Tcp/ssl_connection.cs | C# | bsd-3-clause | 5,364 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2014 SWIPO Project
#
# Authors (this file):
# Stefan Schinkel <stefan.schinkel@gmail.com>
"""
Provides sanity checks for basic for parallel and serial circiuts.
"""
import numpy as np
import networkx as nx
from pyunicorn import ResNetwork
from .Resisti... | leftaroundabout/pyunicorn | tests/test_core/TestResitiveNetwork-circuits.py | Python | bsd-3-clause | 6,379 |
#ifndef TCS_H
#define TCS_H
#include <tss/platform.h>
#include <tss/tss_structs.h>
#include <tss/tcs_typedef.h>
#include <tss/tcs_defines.h>
#include <tss/tcs_structs.h>
#include <tss/tcs_error.h>
#include <tss/tpm.h>
extern TSS_RESULT Tcsi_OpenContext
(
TCS_CONTEXT_HANDLE* hContext // out
)... | semenzato/trunks | tss/include/tss/tcs.h | C | bsd-3-clause | 50,985 |
// Copyright 2015 The Crashpad Authors. All rights reserved.
//
// 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 ... | nwjs/chromium.src | third_party/crashpad/crashpad/snapshot/win/process_snapshot_win.cc | C++ | bsd-3-clause | 20,529 |
{-# LANGUAGE BangPatterns #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE KindSignatures #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE RecordWildCards #-}
-- | Run sub-processes.
module System.Process.Run
(run... | Heather/stack | src/System/Process/Run.hs | Haskell | bsd-3-clause | 4,928 |
@ECHO OFF
if defined JAVA_HOME (
"%JAVA_HOME%\bin\java" -Xmx512m -jar jsonde.jar
) ELSE (
java -Xmx512m -jar jsonde.jar
) | bedrin/jsonde | jsonde.deployment/src/main/scripts/jsonde.cmd | Batchfile | bsd-3-clause | 122 |
/* +---------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| ... | samuelpfchoi/mrpt | apps/2d-slam-demo/CLogView.cpp | C++ | bsd-3-clause | 2,547 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE127_Buffer_Underread__CWE839_fgets_06.c
Label Definition File: CWE127_Buffer_Underread__CWE839.label.xml
Template File: sources-sinks-06.tmpl.c
*/
/*
* @description
* CWE: 127 Buffer Underread
* BadSource: fgets Read data from the console using fgets()
* Goo... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE127_Buffer_Underread/s01/CWE127_Buffer_Underread__CWE839_fgets_06.c | C | bsd-3-clause | 7,206 |
/*****************************************************************************
FFTReal.h
Copyright (c) 2005 Laurent de Soras
--- Legal stuff ---
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 th... | chock-mostlyharmless/mostlyharmless | voice2/voice1/fft/FFTReal.h | C | bsd-3-clause | 4,248 |
#ifndef _AVR_TIME_H_
#define _AVR_TIME_H_
#include <stdint.h>
void avr_time_init(void);
uint32_t avr_time_now(void);
#endif | iti-luebeck/HANSE2012 | hanse_ros/hanse_movingcamera/src/avr_time.h | C | bsd-3-clause | 126 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Tue May 01 09:56:13 CEST 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class net.sourceforge.pm... | daejunpark/jsaf | third_party/pmd/docs/apidocs/net/sourceforge/pmd/lang/ecmascript/ast/class-use/ASTArrayComprehension.html | HTML | bsd-3-clause | 12,371 |
/*
* Copyright 2001 The Aerospace Corporation. 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... | jhbsz/OSI-OS | sbin/ifconfig/ifieee80211.c | C | bsd-3-clause | 139,371 |
// Copyright (c) 2012 The Chromium 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 "ui/views/examples/menu_example.h"
#include <set>
#include "base/utf_string_conversions.h"
#include "ui/base/models/simple_menu_model.h"
#i... | gavinp/chromium | ui/views/examples/menu_example.cc | C++ | bsd-3-clause | 6,609 |
"""
====================================================
Imputing missing values before building an estimator
====================================================
Missing values can be replaced by the mean, the median or the most frequent
value using the basic :class:`sklearn.impute.SimpleImputer`.
The median is a mor... | chrsrds/scikit-learn | examples/impute/plot_missing_values.py | Python | bsd-3-clause | 5,503 |
/*
* Copyright 2013 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkStreamPriv_DEFINED
#define SkStreamPriv_DEFINED
#include "include/core/SkRefCnt.h"
#include "include/core/SkStream.h"
class SkData;
/**
* Copy the provided stre... | google/skia | src/core/SkStreamPriv.h | C | bsd-3-clause | 1,143 |
package spark.streaming.input
import spark.storage.StorageLevel
import spark.streaming.StreamingContext
import spark.streaming.DStream
import spark.streaming.dstream.KafkaInputDStream
/**
* A wrapper around StreamingContext for exposing Kafka functions. This is done in a separate
* class so that programs that don't... | prabeesh/Spark-Kestrel | streaming/src/main/scala/spark/streaming/input/KafkaFunctions.scala | Scala | bsd-3-clause | 2,212 |
import django.db.models as models
from django.contrib.auth.models import User
from django.utils.translation import ugettext_lazy as _
from django.db.models.signals import post_save
class Profile(models.Model):
"""
parameters we can get from gigya:
birthMonth,isLoggedIn,city,UID,zip,birthYear,state,pro... | MediaSapiens/wavesf | apps/externals/gigyauth/models.py | Python | bsd-3-clause | 1,844 |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>test-order-2</title>
<style>
body {
background-color: orange;
}
</style>
<!-- proves transitive imports also execute in order, but
fails to block rendering on transitive style sheet (suggesting a bug) -->
<link ... | PolymerLabs/labs | sjmiles/imports/test-script-order-2/test.html | HTML | bsd-3-clause | 397 |
// Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import (
"crypto"
"crypto/ecdsa"
"crypto/elliptic"
"crypto/md5"
"crypto/rand"
"crypto/rsa"
"crypto/sha1"
"crypto/x509"
"encoding/asn1"
"... | CTSRD-SOAAP/chromium-42.0.2311.135 | third_party/boringssl/src/ssl/test/runner/key_agreement.go | GO | bsd-3-clause | 26,755 |
//*****************************************************************************
//
// fontcm24b.c - Font definition for the 24 point Cm bold font.
//
// Copyright (c) 2008-2010 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement
//
// Texas Instruments (TI) is supplying this software fo... | vastsoun/bbmc-starterware | grlib/fonts/fontcm24b.c | C | bsd-3-clause | 18,429 |
package muduorpc
import (
"bufio"
"fmt"
"io"
"net/rpc"
"strings"
"code.google.com/p/goprotobuf/proto"
)
type ClientCodec struct {
conn io.ReadWriteCloser
r io.Reader
payload []byte
}
func (c *ClientCodec) WriteRequest(r *rpc.Request, body interface{}) error {
msg := new(RpcMessage)
msg.Type = Me... | SuperMXC/muduo-protorpc | go/muduorpc/client.go | GO | bsd-3-clause | 1,799 |
/*
* Android SDK for Matomo
*
* @link https://github.com/matomo-org/matomo-android-sdk
* @license https://github.com/matomo-org/matomo-sdk-android/blob/master/LICENSE BSD-3 Clause
*/
package org.matomo.sdk.extra;
import org.json.JSONArray;
import org.matomo.sdk.tools.CurrencyFormatter;
import java.util.HashMap;... | piwik/piwik-sdk-android | tracker/src/main/java/org/matomo/sdk/extra/EcommerceItems.java | Java | bsd-3-clause | 3,240 |
--+ holdcas on;
set names utf8;
create table t1 (s1 string collate utf8_en_cs);
create index i_t1_f_s1 on t1(locate('İ',s1));
insert into t1 values ('İacb');
insert into t1 values ('aİbc');
insert into t1 values ('accİ');
-- index scan
select /* +recompile */ s1 from t1 where locate('İ',s1) > 1 order by 1;
set names... | CUBRID/cubrid-testcases | sql/_23_apricot_qa/_03_i18n/en_US/_13_issues/cases/bug_bts_7835_04_function_index.sql | SQL | bsd-3-clause | 1,254 |
{-# LANGUAGE Rank2Types #-}
-----------------------------------------------------------------------------
-- |
-- Module : Data.Choose.ST
-- Copyright : Copyright (c) , Patrick Perry <patperry@stanford.edu>
-- License : BSD3
-- Maintainer : Patrick Perry <patperry@stanford.edu>
-- Stability : experimental
--
-... | patperry/permutation | lib/Data/Choose/ST.hs | Haskell | bsd-3-clause | 1,074 |
---
layout: redirect
newurl: http://pmem.io/libpmemobj-cpp/master/doxygen/make__persistent__array_8hpp.html
---
| janekmi/janekmi.github.io | nvml/cpp_obj/master/cpp_html/make__persistent__array_8hpp.md | Markdown | bsd-3-clause | 112 |
# Jovyan
The theme for the [Jupyter blog](http://blog.jupyter.org/).
## Install Instructions
1. Clone this repository into the `/content/themes/` directory in your Ghost instance.
2. Restart the Ghost instance.
3. Go to `Settings`.
4. Select the `Jovyan` theme.
| jupyter/jupyter-blog-theme | README.md | Markdown | bsd-3-clause | 265 |
<?php
require_once($basepath . "ImageManager/ImageManagerPlugin.php");
// * * * * ImageManager config
// General options
$mcImageManagerConfig['general.theme'] = "im";
$mcImageManagerConfig['general.tools'] = "createdir,upload,refresh,addfavorite,removefavorite,insert,delete,edit,preview"; // "filemanager... | chicuongit913/zend_kacana | zend2test/public/js/tinymce/plugins/imagemanager/config.php | PHP | bsd-3-clause | 8,822 |
/* Generated By:JavaCC: Do not edit this line. ProbeParserTokenManager.java */
package avrora.test.probes;
import java.io.IOException;
import java.io.PrintStream;
public class ProbeParserTokenManager implements ProbeParserConstants
{
public PrintStream debugStream = System.out;
public void setDebugStream(Print... | aurelf/avrora | src/avrora/test/probes/ProbeParserTokenManager.java | Java | bsd-3-clause | 21,622 |
/* getbbent.c - subroutines for accessing the BBoards file */
#ifndef lint
static char ident[] = "@(#)$Id: getbbent.c,v 1.14 1992/12/15 00:20:22 jromine Exp $";
#endif /* lint */
/* LINTLIBRARY */
#include "bboards.h"
#ifndef MMDFONLY
#include "../h/strings.h"
#include <sys/types.h>
#else /* MMDFONLY */
#include "uti... | dscho/nmh | docs/historical/mh-6.8.5/zotnet/bboards/getbbent.c | C | bsd-3-clause | 15,191 |
define([
"./ObservablePath",
"./BindingSourceList",
"./BindingTarget",
"./Each",
"./schedule",
"./computed",
"./wrapper"
], 1);
| asudoh/liaison | tests/allNode.js | JavaScript | bsd-3-clause | 135 |
// Copyright 2013 The Chromium 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 "ui/base/ime/linux/fake_input_method_context.h"
namespace ui {
FakeInputMethodContext::FakeInputMethodContext() {}
// Overriden from ui::Linux... | scheib/chromium | ui/base/ime/linux/fake_input_method_context.cc | C++ | bsd-3-clause | 888 |
/*
* Copyright (c) 2009-2015, United States Government, as represented by the Secretary of Health and Human Services.
* 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 ... | beiyuxinke/CONNECT | Product/Production/Services/PatientDiscoveryCore/src/main/java/gov/hhs/fha/nhinc/patientdiscovery/response/ResponseParams.java | Java | bsd-3-clause | 2,132 |
/* $NetBSD: modify_c.c,v 1.1.1.2 2014/04/24 12:45:49 pettai Exp $ */
/*
* Copyright (c) 1997 - 1999 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provide... | GaloisInc/hacrypto | src/C/NetBSD-7.0/crypto/external/bsd/heimdal/dist/lib/kadm5/modify_c.c | C | bsd-3-clause | 2,831 |
package com.oracle.xmlns.apps.crmcommon.salesparties.salespartiesservice.types;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation... | dushmis/Oracle-Cloud | PaaS_SaaS_Accelerator_RESTFulFacade/FusionProxy_SalesPartyService/src/com/oracle/xmlns/apps/crmcommon/salesparties/salespartiesservice/types/FindSalesAccountResourceAsyncResponse.java | Java | bsd-3-clause | 2,168 |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = function (recalc) {
if (!size && size !== 0 || recalc) {
if (_ExecutionEnvironment2.default.canUseDOM) {
var scrollDiv = document.createElement("div");
scrollDiv.style.position = "absolute";
scrol... | teasim/teasim-helpers | build/scrollbarSize.js | JavaScript | bsd-3-clause | 906 |
# 0.15.09.08
* Add a `.gitignore` file. (Stéphane HULARD, 2015-08-03T11:41:34+02:00)
# 0.15.06.01
* Make the `praspel` function global. (Ivan Enderlin, 2015-06-01T12:19:17+02:00)
* Change `interprete` method name to `interpret`. (Ivan Enderlin, 2015-06-01T12:02:37+02:00)
# 0.15.05.29
* Move to `Hoa\Ustring... | vcgato29/Central | Hoa/Praspel/CHANGELOG.md | Markdown | bsd-3-clause | 1,130 |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Reflection;
using System.Xml;
using OpenMetaverse;
using OpenMetaverse.Packets;
using OpenMetaverse.Utilities;
namespace OpenMetaverse.TestClient
{
public class TestClient : GridClient
{
public UUID GroupID = UUID.Zero... | N3X15/VoxelSim | ThirdParty/libomv/Programs/examples/TestClient/TestClient.cs | C# | bsd-3-clause | 8,958 |
<?php
namespace Maghead\Manager;
use Maghead\Runtime\Config\Config;
use Maghead\Runtime\Config\FileConfigLoader;
use Maghead\Runtime\Config\SymbolicLinkConfigWriter;
use Maghead\DSN\DSNParser;
use Maghead\DSN\DSN;
use InvalidArgumentException;
class ConfigManager
{
protected $config;
public function __const... | c9s/LazyRecord | src/Manager/ConfigManager.php | PHP | bsd-3-clause | 2,083 |
---
id: components-and-props
title: Components and Props
permalink: docs/components-and-props.html
redirect_from:
- "docs/reusable-components.html"
- "docs/reusable-components-zh-CN.html"
- "docs/transferring-props.html"
- "docs/transferring-props-it-IT.html"
- "docs/transferring-props-ja-JP.html"
- "docs/t... | yangshun/react | docs/docs/components-and-props.md | Markdown | bsd-3-clause | 8,172 |
// (C) Copyright 2009-2011 Frederic Bron.
//
// Use, modification and distribution are subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).
//
// See http://www.boost.org/libs/type_traits for most recent version including... | cawka/packaging-ndn-cpp | include/ndnboost/type_traits/has_pre_increment.hpp | C++ | bsd-3-clause | 1,355 |
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generi... | NMFCode/NMF | IntegrationTests/ComponentBasedSoftwareArchitectures/Pcm/Usagemodel/IStop.cs | C# | bsd-3-clause | 1,471 |
/**
* Pimcore
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://www.pimcore.org/license
*
* @copyright Copyright (c) 2009-2014 pimcore GmbH (http://www.pimcore... | h4rdc0m/pimcore | pimcore/static6/js/pimcore/report/custom/report.js | JavaScript | bsd-3-clause | 18,963 |
/*
Copyright (c) 2012-2015, The Saffire Group
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 conditi... | Drarok/saffire | include/saffire/objects/string.h | C | bsd-3-clause | 3,433 |
$(document).ready(function() {
$(".range_date_field").datepicker({
showOtherMonths: true,
selectOtherMonths: true,
changeMonth: true,
changeYear: true,
minDate: "-10Y",
maxDate: "+2Y",
dateFormat: "dd/mm/yy"
});
$("input[type=submit]").button();
$(... | simodalla/pympa-affarigenerali | pympa_affarigenerali/static/affarigenerali/js/riepilogo_presenze.js | JavaScript | bsd-3-clause | 713 |
var gulp = require('gulp');
gulp.task('default', function () {
// place code for your default task here
});
| rlvillacarlos/nocaptcha | public/js/nocaptchajs/gulpfile.js | JavaScript | bsd-3-clause | 113 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE805_wchar_t_snprintf_67a.cpp
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE805.string.label.xml
Template File: sources-sink-67a.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadS... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE122_Heap_Based_Buffer_Overflow/s04/CWE122_Heap_Based_Buffer_Overflow__cpp_CWE805_wchar_t_snprintf_67a.cpp | C++ | bsd-3-clause | 2,804 |
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | projectchrono/chrono | src/chrono_vehicle/tracked_vehicle/suspension/LinearDamperRWAssembly.cpp | C++ | bsd-3-clause | 3,663 |
\catcode`\#=12
\def\versiontag/{#2.60}%
\def\versiondate/{Thu Aug 8 14:53:26 PDT 1985}%
\catcode`\#=6
\tell{Version \versiontag/ of \versiondate/}
| dscho/nmh | docs/historical/mh-6.8.5/papers/trusted/version.tex | TeX | bsd-3-clause | 147 |
#include "compiler.h"
#include "dosio.h"
#include "pccore.h"
#include "iocore.h"
#include "fddfile.h"
#include "fdd_xdf.h"
static const _XDFINFO supportxdf[] = {
#if 0
// 256
{0, 154, 26, 1, DISKTYPE_2HD, 0},
// 512
{0, 154, 15, 2, DISKTYPE_2HD, 0},
#endif
#if 1
// 512
{0, 160, 15, 2, DISKTYPE_2HD, ... | masaki-furuta/xnp2 | src/fdd/fdd_xdf.c | C | bsd-3-clause | 6,145 |
import os
import numpy as np
import pytest
from pandas import (
Categorical,
DatetimeIndex,
Interval,
IntervalIndex,
NaT,
Series,
TimedeltaIndex,
Timestamp,
cut,
date_range,
isna,
qcut,
timedelta_range,
)
from pandas.api.types import CategoricalDtype as CDT
from pan... | toobaz/pandas | pandas/tests/reshape/test_qcut.py | Python | bsd-3-clause | 6,328 |
# -*- coding: utf-8 -*-
import csv
import json
from cStringIO import StringIO
from datetime import datetime
from django.conf import settings
from django.core import mail
from django.core.cache import cache
import mock
from pyquery import PyQuery as pq
from olympia import amo
from olympia.amo.tests import TestCase
fr... | andymckay/addons-server | src/olympia/zadmin/tests/test_views.py | Python | bsd-3-clause | 77,618 |
from dasdocc.conf import base | JohnRandom/django-aggregator | dasdocc/conf/staging.py | Python | bsd-3-clause | 29 |
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// Preprocessed version of "ndnboost/mpl/less.hpp" header
// -- DO NOT modify by hand!
namespace ndnboost { names... | cawka/packaging-ndn-cpp | include/ndnboost/mpl/aux_/preprocessed/msvc60/less.hpp | C++ | bsd-3-clause | 2,340 |
import keyedcache
import logging
log = logging.getLogger(__name__)
class CachedObjectMixin(object):
"""Provides basic object keyedcache for any objects using this as a mixin.
The class name of the object should be unambiguous.
"""
def cache_delete(self, *args, **kwargs):
key = self.cache_key... | aronysidoro/django-livesettings | live/keyedcache/models.py | Python | bsd-3-clause | 2,736 |
/*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | yuxw75/temp | video_engine/test/libvietest/include/vie_to_file_renderer.h | C | bsd-3-clause | 3,169 |
tinyMCE.addI18n('ru.paste_dlg',{
text_title:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435 \u043A\u043B\u0430\u0432\u0438\u0448 CTRL+V \u0447\u0442\u043E\u0431\u044B \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0442\u0435\u043A\u0441\u044... | SunboX/fotocommunity | jsparty/tiny_mce2/plugins/paste/langs/ru_dlg.js | JavaScript | bsd-3-clause | 831 |
# -*- coding: utf-8 -*-
"""
pygments.styles.manni
~~~~~~~~~~~~~~~~~~~~~
A colorful style, inspired by the terminal highlighting style.
This is a port of the style used in the `php port`_ of pygments
by Manni. The style is called 'default' there.
:copyright: Copyright 2006-2019 by the Pygments... | wakatime/wakatime | wakatime/packages/py27/pygments/styles/manni.py | Python | bsd-3-clause | 2,374 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | Techlightenment/zf2 | library/Zend/Queue/Stomp/Frame.php | PHP | bsd-3-clause | 9,318 |
<?php
/**
* @name ElkArte Forum
* @copyright ElkArte Forum contributors
* @license BSD http://opensource.org/licenses/BSD-3-Clause
*
* This file contains code covered by:
* copyright: 2011 Simple Machines (http://www.simplemachines.org)
* license: BSD, See included LICENSE.TXT for terms and conditions.... | nwsw/Elkarte | themes/default/Announce.template.php | PHP | bsd-3-clause | 3,478 |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\RuleAction */
$this->title = Yii::t('app', 'Update {modelClass}: ', [
'modelClass' => 'Rule Action',
]) . ' ' . $model->id;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Rule Actions'), 'url' => ['index']];
$this->p... | hvos234/raspberrypi.home | views/rule-action/update.php | PHP | bsd-3-clause | 630 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta ht... | statsmodels/statsmodels.github.io | v0.13.2/generated/statsmodels.tsa.statespace.dynamic_factor_mq.DynamicFactorMQ.summary.html | HTML | bsd-3-clause | 19,208 |
# ----------------------------------------------------------------------------
# Copyright (c) 2013--, scikit-bio development team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
# --------------------------------------------... | Achuth17/scikit-bio | skbio/io/tests/test_fastq.py | Python | bsd-3-clause | 30,554 |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- qtpropertybrowser-2.5_1-opensource/src/qtpropertymanager.cpp -->
<head>
<title>List of All Members for QtTimeProper... | kulibali/neurolab | src/thirdparty/qtpropertybrowser/qtpropertybrowser-2.5_1-opensource/doc/html/qttimepropertymanager-members.html | HTML | bsd-3-clause | 9,760 |
# encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'UserInfo.avatar'
db.add_column('canvas_userinfo', 'avatar', self.gf('django.db.models.fiel... | canvasnetworks/canvas | website/canvas/migrations/0163_auto__add_field_userinfo_avatar.py | Python | bsd-3-clause | 21,325 |
/*
* Copyright (C) 2013 Google 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 list of conditio... | smilusingjavascript/blink | Source/core/animation/EffectInput.cpp | C++ | bsd-3-clause | 5,187 |
<?php
namespace common\models;
use Yii;
/**
* This is the model class for table "user_group".
*
* @property integer $id
* @property integer $owner_id
* @property string $participants
* @property string $title
* @property string $description
*/
class UserGroup extends \yii\db\ActiveRecord
{
/**
* @in... | jflash49/TSS | common/models/UserGroup.php | PHP | bsd-3-clause | 1,031 |
// Copyright 2013 The Chromium 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 "chrome/browser/sync_file_system/syncable_file_system_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/logging.h"
#include "base/m... | 7kbird/chrome | chrome/browser/sync_file_system/syncable_file_system_util_unittest.cc | C++ | bsd-3-clause | 5,010 |
package io
import (
"fmt"
"os"
)
func Info(args ...interface{}) {
fmt.Print("\033[1m-----> ")
args = append(args, "\033[0m")
fmt.Println(args...)
}
func Infof(format string, args ...interface{}) {
fmt.Print("\033[1m-----> ")
fmt.Printf(format+"\033[0m", args...)
}
func Print(args ...interface{}) {
fmt.Print... | Zyko0/heroku2scalingo | io/io.go | GO | bsd-3-clause | 656 |
{% extends 'base/main_section_base.html' %}
{% load staticfiles %}
{% block extra_css %}
<style type="text/css">
.panel-body {
padding: 0;
}
</style>
{% endblock %}
{% block extra_head %}
<link rel="stylesheet" href="{% static 'assets/css/bootstrap-tables2.css' %}" />
{% endblock %} | Swappsco/koalixerp | crm_core/templates/base/table_view_base.html | HTML | bsd-3-clause | 313 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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" co... | pbalcer/pbalcer.github.io | content/libpmemobj-cpp/v1.6/doxygen/classpmem_1_1obj_1_1experimental_1_1v-members.html | HTML | bsd-3-clause | 6,683 |
#include "ResourceGUI.h"
#include "IO/XmlWorld.h"
#include "utils/stringutils.h"
#include "utils/ioutils.h"
ResourceGUIBackend::ResourceGUIBackend(RobotWorld* world,ResourceManager* library)
:WorldGUIBackend(world),resources(library)
{
}
inline bool LoadResources(const char* fn,ResourceTree& lib)
{
size_t origsi... | bbgw/Klampt | Interface/ResourceGUI.cpp | C++ | bsd-3-clause | 7,104 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.