repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
dnolivieri/rfMHC | docs/conf.py | 8369 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# rfMHC documentation build configuration file, created by
# sphinx-quickstart on Tue Jul 9 22:26:36 2013.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autog... | bsd-3-clause |
endlessm/chromium-browser | media/capture/video/fake_video_capture_device_factory.h | 4027 | // 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_CAPTURE_VIDEO_FAKE_VIDEO_CAPTURE_DEVICE_FACTORY_H_
#define MEDIA_CAPTURE_VIDEO_FAKE_VIDEO_CAPTURE_DEVICE_FACTORY_H_
#include <algorithm>
#i... | bsd-3-clause |
hjwylde/scotland-yard | app/policies/game_valid_policy.rb | 1062 | class GameValidPolicy
include Wisper::Publisher
def initialize(game:)
@game = game
@errors = []
end
# Policy for determining if the game is valid
# The game is valid provided:
# 1) the game only ever has at most 1 criminal,
# 2) the game only ever has at most Game::NUMBER_OF_PLAYERS and,
# 3)... | bsd-3-clause |
exponent/exponent | ios/versioned-react-native/ABI40_0_0/ReactNative/ReactCommon/fabric/core/shadownode/ABI40_0_0Props.cpp | 689 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ABI40_0_0Props.h"
#include <folly/dynamic.h>
#include <ABI40_0_0React/core/propsConversions.h>
namespace ABI40_0_0faceb... | bsd-3-clause |
KyoX/UCA_CompiladoresCLIPS | ide/Resultado.h | 2523 | #pragma once
namespace ide {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
/// <summary>
/// Summary for Resultado
/// </summary>
public ref class Re... | bsd-3-clause |
crosg/idCreator | idcreator/IdcreatorTcpAccept.c | 10194 | /*************************************************************
* _ooOoo_
* o8888888o
* 88" . "88
* (| -_- |)
* O\ = /O
* ____/`---'\____
* .' \\| |// `.
* / \\||| ... | bsd-3-clause |
lejard-h/polymer_app_layout_templates | doc/api/polymer_app_layout.behaviors/Element/setInnerHtml.html | 33566 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>setInnerHtml method - Element class - polymer_app_layout.behaviors library - Dart API</title>
<!-- required... | bsd-3-clause |
oswen244/proserpaz | models/PagosPrestamosSearch.php | 1662 | <?php
namespace app\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\models\PagosPrestamos;
/**
* PagosPrestamosSearch represents the model behind the search form about `app\models\PagosPrestamos`.
*/
class PagosPrestamosSearch extends PagosPrestamos
{
/**
* @inheritdoc
*... | bsd-3-clause |
RomarioLopezC/RobotSS | migrations/m160130_212648_add_enrollment_to_student.php | 538 | <?php
use yii\db\Schema;
use yii\db\Migration;
class m160130_212648_add_enrollment_to_student extends Migration
{
public function up()
{
$this->addColumn('student', 'enrollment_id', $this->string());
}
public function down()
{
echo "m160130_212648_add_enrollment_to_student cannot ... | bsd-3-clause |
richardcornish/cyndiloza | cyndiloza/static/js/site.js | 1360 | $(document).ready(function(){
// Navigation
var body_class = document.body.className;
var hover_on_bg = "#c00";
var hover_on_co = "#fff";
var hover_off_bg = "#fff";
var hover_off_co = "#444";
var hover_delay = 200;
$("#navigation li a").removeClass("hover");
$("#navigation li").each(function(... | bsd-3-clause |
udhos/sipswitchd | win-build.cmd | 275 | set DEVEL=c:\tmp\devel
set ROOT=%DEVEL%\sipswitchd
set SRC=%ROOT%\src
set GOPATH=%ROOT%
@rem pushd %SRC%
@rem hg clone https://sdr@bitbucket.org/sdr/sip_parser
@rem move sip_parser\src\*.* sip_parser
@rem popd
gofmt -s -w %SRC%
go install sip_parser
go install sipswitchd
| bsd-3-clause |
vercas/vLogs | vLogs/Objects/KeyValues/KeyValue Collection.cs | 14660 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace vLogs.Objects.KeyValues
{
/// <summary>
/// Represents a collection of key/value pairs. This class cannot be inherited.
/// </summary>
public sealed class KeyValueCollection
: IList<KeyVa... | bsd-3-clause |
mirego/activerecord_json_validator | spec/json_validator_spec.rb | 3214 | # frozen_string_literal: true
# rubocop:disable Metrics/BlockLength
require 'spec_helper'
describe JsonValidator do
describe :validate_each do
before do
run_migration do
create_table(:users, force: true) do |t|
t.text :data
end
end
spawn_model 'User' do
schem... | bsd-3-clause |
Workday/OpenFrame | net/server/web_socket_encoder.cc | 12653 | // 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.
#include "net/server/web_socket_encoder.h"
#include <vector>
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#include "bas... | bsd-3-clause |
mgoffin/osquery | osquery/core/init.cpp | 15563 | /*
* Copyright (c) 2014, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#include <c... | bsd-3-clause |
endlessm/chromium-browser | chrome/android/java/src/org/chromium/chrome/browser/offlinepages/prefetch/PrefetchPrefs.java | 3959 | // Copyright 2017 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.
package org.chromium.chrome.browser.offlinepages.prefetch;
import org.chromium.chrome.browser.preferences.ChromePreferenceKeys;
import org.chromium.chrom... | bsd-3-clause |
PowerOfCode/Eto | Source/Eto.iOS/Forms/Controls/NumericUpDownHandler.cs | 1650 | using System;
using System.Reflection;
using SD = System.Drawing;
using Eto.Forms;
using UIKit;
using Eto.Drawing;
namespace Eto.iOS.Forms.Controls
{
public class NumericUpDownHandler : IosControl<UITextField, NumericUpDown, NumericUpDown.ICallback>, NumericUpDown.IHandler
{
public NumericUpDownHandler()
{
Co... | bsd-3-clause |
yjhu/wowewe | models/ClientWechatFanSearch.php | 3139 | <?php
namespace app\models;
class ClientWechatFanSearch extends \yii\base\Model
{
public $nickname;
public $mobile;
public $carrier;
public $province;
public $city;
public $create_time_start;
public $create_time_end;
public $gh_id;
public $office_id;
public $scene_pid;
... | bsd-3-clause |
notaz/ia32rtools | run_idac_adj.sh | 285 | #!/bin/sh -x
set -e
f=/tmp/sedcmd_
echo -n "sed -i '\
s:__cdecl: /*__cdecl*/:;\
s:__stdcall: /*__stdcall*/:;\
s:__usercall: /*__usercall*/:;\
s:__userpurge: /*__userpurge*/:;\
s:__thiscall: /*__thiscall*/:;\
s:__fastcall: /*__fastcall*/:;\
s:\(<[^<> ]*>\):/*\1*/:g;\
' $1" > $f
. $f
| bsd-3-clause |
jetsgit/spree_promotion_tax | README.md | 306 | SpreePromotionTax
=============
Calculator to correctly deduct a flat percent promotion from a sale
before charging the tax. Shipping is taxed.
This calculator was designed to work in conjunction with the
SpreeTaxCloud gem
Copyright (c) 2013 Jerrold Thompson, released under the New BSD License
| bsd-3-clause |
ineps/inesa | inesa/protected/controllers/AccesoController.php | 5110 | <?php
class AccesoController extends Controller
{
/**
* @var string the default layout for the views. Defaults to '//layouts/column2', meaning
* using two-column layout. See 'protected/views/layouts/column2.php'.
*/
public $layout='//layouts/column2';
/**
* @return array action filters
*/
public functio... | bsd-3-clause |
softak/webfaction_demo | apps/friends/templates/friends/search.j.html | 1135 | {% extends "friends/list_base.j.html" %}
{% import "forms.j.macro" as forms %}
{% import "friendship_controls.j.macro" as friendship_controls %}
{% set friends_nav_active='search' %}
{% set list = user_list %}
{% block friends_content %}
<section>
<form id="friend-search-form" action="" method="post">
{{ cs... | bsd-3-clause |
lsa-pucrs/jason-ros-releases | Jason-1.4.0a/doc/api/jason/mas2j/package-summary.html | 6023 | <!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_21) on Thu Dec 12 11:16:51 BRST 2013 -->
<title>jason.mas2j (Jason - AgentSpeak Java Interpreter)</title>
<meta name="date" content="20... | bsd-3-clause |
akutz/go | src/cmd/compile/internal/ssa/rewritegeneric.go | 597533 | // Code generated from gen/generic.rules; DO NOT EDIT.
// generated with: cd gen; go run *.go
package ssa
import "math"
import "cmd/compile/internal/types"
func rewriteValuegeneric(v *Value) bool {
switch v.Op {
case OpAdd16:
return rewriteValuegeneric_OpAdd16(v)
case OpAdd32:
return rewriteValuegeneric_OpAdd... | bsd-3-clause |
NCIP/cadsr-cgmdr-nci-uk | test/src/org/exist/xmldb/StorageStressTest.java | 6249 | /*L
* Copyright Oracle Inc
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/cadsr-cgmdr-nci-uk/LICENSE.txt for details.
*/
/*
* eXist Open Source Native XML Database
* Copyright (C) 2001-04 The eXist Project
* http://exist-db.org
*
* This program is ... | bsd-3-clause |
sergeyreznik/et-engine | include/et/rendering/vulkan/vulkan_renderer.cpp | 22196 | /*
* This file is part of `et engine`
* Copyright 2009-2016 by Sergey Reznik
* Please, modify content only if you know what are you doing.
*
*/
#pragma once
#include <et/rendering/vulkan/vulkan_buffer.h>
#include <et/rendering/vulkan/vulkan_compute.h>
#include <et/rendering/vulkan/vulkan_program.h>
#include <et/... | bsd-3-clause |
fake-name/ReadableWebProxy | WebMirror/management/rss_parser_funcs/feed_parse_extractFullybookedtranslationsWordpressCom.py | 586 |
def extractFullybookedtranslationsWordpressCom(item):
'''
Parser for 'fullybookedtranslations.wordpress.com'
'''
vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title'])
if not (chp or vol) or "preview" in item['title'].lower():
return None
tagmap = [
('PRC', 'PRC', ... | bsd-3-clause |
palfrey/twfy | scripts/update-hansard-all.pl | 1432 | #! /usr/bin/perl -w
# vim:sw=8:ts=8:et:nowrap
use strict;
use FindBin;
chdir $FindBin::Bin;
use lib "$FindBin::Bin";
use lib "$FindBin::Bin/../../perllib";
use mySociety::Config;
mySociety::Config::set_file('../conf/general');
use DBI;
my $dsn = 'DBI:mysql:database=' . mySociety::Config::get('DB_NAME'). ':host=' .... | bsd-3-clause |
Garethp/php-ews | src/API/Enumeration/SubscriptionStatusFrequencyType.php | 258 | <?php
namespace garethp\ews\API\Enumeration;
use garethp\ews\API\Enumeration;
/**
* Class representing SubscriptionStatusFrequencyType
*
*
* XSD Type: SubscriptionStatusFrequencyType
*/
class SubscriptionStatusFrequencyType extends Enumeration
{
}
| bsd-3-clause |
myjfm/uranium | src/server/uranium_schema_service_impl.h | 1055 | // Copyright (c) 2016, myjfm(mwxjmmyjfm@gmail.com). All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
//
#ifndef URANIUM_SERVER_URANIUM_SCHEMA_SERVICE_IMPL_H_
#define URANIUM_SERVER_URANIUM_SCHEMA_SERVICE_IMPL_H_
#i... | bsd-3-clause |
hahalulu/yii | demo/protected/views/admin/adminarticle/index.php | 7002 | <script type="text/javascript"></script>
<div class="content-box">
<div class="content-box-header">
<h3 id="title" style="cursor: s-resize;">List Article</h3>
<ul class="content-box-tabs">
<li><a href="#tab1" id="clickTab1" class="default-tab current">List Article</a></li>
... | bsd-3-clause |
ncollins/ocr_training_data | README.md | 108 | ocr_training_data
=================
Generate training data for Optical Character Recognition with Python.
| bsd-3-clause |
skeeks-cms/cms-backend | src/assets/BackendAsset.php | 679 | <?php
/**
* @author Semenov Alexander <semenov@skeeks.com>
* @link http://skeeks.com/
* @copyright 2010 SkeekS (СкикС)
* @date 27.04.2016
*/
namespace skeeks\cms\backend\assets;
use skeeks\cms\base\AssetBundle;
use yii\bootstrap\BootstrapAsset;
/**
* Class SelectLanguage
* @package common\widgets\selectLanguag... | bsd-3-clause |
kkaempf/openwbem | src/requesthandlers/binary/OW_BinaryRequestHandler.cpp | 35938 | /*******************************************************************************
* Copyright (C) 2001-2004 Vintela, 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 sou... | bsd-3-clause |
hjwylde/scotland-yard | app/controllers/nodes_controller.rb | 500 | require_relative '../concepts/board'
class NodesController < ApplicationController
before_action :load_nodes, only: :index
before_action :load_routes, only: :index
before_action :load_board, only: :index
respond_to :json
caches_page :index
def index
render json: @nodes, board: @board
end
private... | bsd-3-clause |
Amaceika/TowerWall | twitter-oauth/jquery.jstwitter.js | 6798 | $(function() {
JQTWEET = {
// Set twitter hash/user, number of tweets & id/class to append tweets
// You need to clear tweet-date.txt before toggle between hash and user
// for multiple hashtags, you can separate the hashtag with OR, eg:
search: '', //leave this blank if y... | bsd-3-clause |
fujunwei/chromium-crosswalk | content/renderer/input/input_handler_proxy.cc | 35811 | // 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 "content/renderer/input/input_handler_proxy.h"
#include "base/auto_reset.h"
#include "base/command_line.h"
#include "base/logging.h"
#include "b... | bsd-3-clause |
jlblancoc/suitesparse-metis-for-windows | SuiteSparse/GraphBLAS/Source/Generated/GB_AxB__eq_eq_int64.c | 8246 |
//------------------------------------------------------------------------------
// GB_AxB: hard-coded C=A*B and C<M>=A*B
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2018, All Rights Reserved.
// http://suitesparse.com See ... | bsd-3-clause |
NCIP/cananolab | docs/webappOnlineHelp/popups/caNanoLab_Glossary-1077108.html | 3019 | <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
... | bsd-3-clause |
oswen244/proserpaz | models/AuxiliosSearch.php | 3499 | <?php
namespace app\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\models\Auxilios;
/**
* AuxiliosSearch represents the model behind the search form about `app\models\Auxilios`.
*/
class AuxiliosSearch extends Auxilios
{
public $documento_cliente;
public $nombre_cliente;
... | bsd-3-clause |
ebragge/LibAudio | LibAudio/ToneSampleGenerator.h | 1297 | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
/... | bsd-3-clause |
faouellet/System16 | README.md | 1022 | **Emulator for the Chip16**
==============
[](https://travis-ci.org/faouellet/System16)
For Windows users:
--------------
You will need CMake in order to create the Visual Studio solution.
You can get it at http://www.cmake.org/cmake/resources... | bsd-3-clause |
ric2b/Vivaldi-browser | chromium/components/page_load_metrics/browser/metrics_web_contents_observer_unittest.cc | 69984 | // Copyright 2015 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 "components/page_load_metrics/browser/metrics_web_contents_observer.h"
#include <memory>
#include "base/memory/raw_ptr.h"
#include "base/memory... | bsd-3-clause |
TeravoxelTwoPhotonTomography/mltk-barry | src/matrix.c | 1083 | #include "matrix.h"
#include <string.h>
static float* i33(float * restrict inverse,const float * const restrict t) {
#define det(a,b,c,d) (t[a]*t[d]-t[b]*t[c])
const float n=t[0]*det(4,5,7,8)-t[1]*det(3,5,6,8)+t[2]*det(3,4,6,7);
float invT[3][3]={
{det(4,5,7,8)/n, det(2,1,8,7)/n, det(1,2,4,5)/n},
... | bsd-3-clause |
unclecheese/silverstripe-docsviewer | code/tasks/RebuildLuceneDocsIndex.php | 3556 | <?php
/**
* Rebuilds the search indexes for the documentation pages.
*
* For the hourly cron rebuild use RebuildLuceneDocusIndex_Hourly
*
* @package docsviewer
* @subpackage tasks
*/
class RebuildLuceneDocsIndex extends BuildTask {
protected $title = "Rebuild Documentation Search Indexes";
protected $d... | bsd-3-clause |
AmiArt/treefrog-framework | tools/tmake/otamaconverter.h | 671 | #ifndef OTAMACONVERTER_H
#define OTAMACONVERTER_H
#include "erbconverter.h"
#include <QDir>
#include <QString>
#include <TGlobal>
class OtamaConverter {
public:
OtamaConverter(const QDir &output, const QDir &helpers, const QDir &partial);
~OtamaConverter();
bool convert(const QString &filePath, int trim... | bsd-3-clause |
ric2b/Vivaldi-browser | update_notifier/thirdparty/wxWidgets/samples/widgets/checkbox.cpp | 9600 | /////////////////////////////////////////////////////////////////////////////
// Program: wxWidgets Widgets Sample
// Name: checkbox.cpp
// Purpose: Part of the widgets sample showing wxCheckBox
// Author: Dimitri Schoolwerth, Vadim Zeitlin
// Created: 27 Sep 2003
// Copyright: (c) 2003 wxWind... | bsd-3-clause |
ric2b/Vivaldi-browser | chromium/chrome/android/javatests/src/org/chromium/chrome/browser/autofill_assistant/AutofillAssistantPreferenceFragmentTest.java | 13445 | // Copyright 2020 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.
package org.chromium.chrome.browser.autofill_assistant;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import ... | bsd-3-clause |
pullpulldondon/ThumbShift | os.html | 23072 | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
<link rel="stylesheet" href="style.css" type="text/css" />
<script type="text/javascript">
<!--
document.onkeydown = function(e){
//alert(e.... | bsd-3-clause |
noinia/hsync-server | src/HSync/Server/Handler/API.hs | 5429 | module HSync.Server.Handler.API where
import Control.Lens
import HSync.Common.API
import qualified HSync.Common.StorageTree as ST
import HSync.Server.Import
import HSync.Common.Header
import HSync.Common.Zip
import HSync.Server.LocalAuth(validateUser)
import HSync.Server.Notifications
import HSync.Server.Handler.AcidU... | bsd-3-clause |
axkibe/node-vtk | wrappers/8.1.1/vtkDataObjectAlgorithmWrap.h | 1591 | /* this file has been autogenerated by vtkNodeJsWrap */
/* editing this might proof futile */
#ifndef NATIVE_EXTENSION_VTK_VTKDATAOBJECTALGORITHMWRAP_H
#define NATIVE_EXTENSION_VTK_VTKDATAOBJECTALGORITHMWRAP_H
#include <nan.h>
#include <vtkSmartPointer.h>
#include <vtkDataObjectAlgorithm.h>
#include "vtkAlgorithmWr... | bsd-3-clause |
ITA-Solar/helita | helita/obs/iris_util.py | 9925 | """
Set of utility programs for IRIS.
"""
import os
import re
import io
import numpy as np
import pandas as pd
from datetime import datetime, timedelta
from glob import glob
# pylint: disable=F0401,E0611,E1103
from urllib.request import urlopen
from urllib.parse import urljoin, urlparse
from urllib.error import HTTPEr... | bsd-3-clause |
reginell/bsuir | README.md | 151 | # Education in BSUIR
Here are my education projects.
.
-- bachelor/cpp # C++ education projects.
-- bachelor/csharp # C# education projects. | bsd-3-clause |
juhovuori/builder | main_test.go | 1050 | package main
import (
"os"
"os/exec"
"testing"
)
// TestMainSuccess tests main function in a separate process using a trick from
// https://talks.golang.org/2014/testing.slide#1
func TestMainSuccess(t *testing.T) {
if os.Getenv("TEST_MAIN_FUNC") == "1" {
os.Args = []string{"", "nop"}
main()
return
}
cmd :... | bsd-3-clause |
MattiasLiljeson/Amalgamation | Projects/Gameplay/Src/AudioListenerSystem.cpp | 2950 | #include "AudioListenerSystem.h"
#include "AudioBackendSystem.h"
#include "AudioListener.h"
#include "Transform.h"
#include "SoundOrientation.h"
#include "MeshOffsetTransform.h"
AudioListenerSystem::AudioListenerSystem(AudioBackendSystem* p_audioBackend) :
EntitySystem(SystemType::AudioListenerSystem, 2,
ComponentT... | bsd-3-clause |
BlokasLabs/modep | stage5/17-mtc/01-run-chroot.sh | 459 | #!/bin/bash -e
PLUGIN=mtc.lv2
GIT_URI="https://github.com/BlokasLabs/${PLUGIN}"
TMP_DIR=/tmp/${PLUGIN}
rm -rf ${TMP_DIR}
git clone --depth 1 ${GIT_URI} ${TMP_DIR}
pushd ${TMP_DIR}
export CC=arm-linux-gnueabihf-gcc
export CXX=arm-linux-gnueabihf-g++
export LD=arm-linux-gnueabihf-gcc
export STRIP=arm-linux-gnueabihf-s... | bsd-3-clause |
stcorp/legato | legato/registry.py | 987 | from __future__ import absolute_import, division, print_function
_TRIGGERS = {}
def register(tpe, start, stop, join):
def decorator(f):
_TRIGGERS[tpe] = {
"parser": f,
"start": start,
"stop": stop,
"join": join,
"threads": []
}
... | bsd-3-clause |
axkibe/node-vtk | wrappers/8.1.1/vtkBSplineTransformWrap.cc | 14253 | /* this file has been autogenerated by vtkNodeJsWrap */
/* editing this might proof futile */
#define VTK_WRAPPING_CXX
#define VTK_STREAMS_FWD_ONLY
#include <nan.h>
#include "vtkWarpTransformWrap.h"
#include "vtkBSplineTransformWrap.h"
#include "vtkObjectBaseWrap.h"
#include "vtkAlgorithmOutputWrap.h"
#include "vtkIm... | bsd-3-clause |
CoursePark/Zend-Framework-Releases | extras/documentation/api/extras/ZendX_Whois/_Console---Exception.php.html | 6115 | <?xml version="1.0" encoding="iso-8859-1"?>
<!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>
<!-- template designed by Marco Von Ballmoos -->
<title>Docs for page Exception.php</title>
... | bsd-3-clause |
chaoling/test123 | linux-2.6.39/drivers/net/smsc911x.h | 12608 | /***************************************************************************
*
* Copyright (C) 2004-2008 SMSC
* Copyright (C) 2005-2008 ARM
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundatio... | gpl-2.0 |
AiJiaZone/linux-4.0 | virt/drivers/ide/ht6560b.c | 10680 | /*
* Copyright (C) 1995-2000 Linus Torvalds & author (see below)
*/
/*
* HT-6560B EIDE-controller support
* To activate controller support use kernel parameter "ide0=ht6560b".
* Use hdparm utility to enable PIO mode support.
*
* Author: Mikko Ala-Fossi <maf@iki.fi>
* Jan Evert v... | gpl-2.0 |
pscedu/slash2-stable | pfl/tests/multiwait/Makefile | 146 | # $Id$
ROOTDIR=../../..
include ${ROOTDIR}/Makefile.path
TEST= multiwait_test
SRCS+= multiwait_test.c
MODULES+= pthread pfl
include ${PFLMK}
| isc |
SymbiFlow/nextpnr | machxo2/README.md | 3054 | # `nextpnr-machxo2`
_Experimental_ FOSS Place And Route backend for the Lattice MachXO2 family of
FPGAs. Fuzzing takes place as a subproject of [`prjtrellis`](https://github.com/YosysHQ/prjtrellis).
Known to work:
* Basic routing from pads to SLICEs and back!
* Basic packing of one type of FF and LUT into _half_ of ... | isc |
TigerBSD/TigerBSD | FreeBSD/sys/boot/powerpc/boot1.chrp/Makefile | 1002 | # $FreeBSD$
SSP_CFLAGS=
PROG= boot1.elf
NEWVERSWHAT= "Open Firmware boot block" ${MACHINE_ARCH}
BINDIR?= /boot
INSTALLFLAGS= -b
FILES= boot1.hfs
SRCS= boot1.c ashldi3.c syncicache.c
MAN=
CFLAGS= -ffreestanding -msoft-float \
-I${.CURDIR}/../../common -I${.CURDIR}/../../../ \
-D_STANDALONE... | isc |
sstur/draft-js-export-html | packages/draft-js-export-html/typings/index.d.ts | 833 | /// <reference types="draft-js" />
declare module 'draft-js-export-html' {
import draftjs = require("draft-js");
type BlockStyleFn = (block: draftjs.ContentBlock) => RenderConfig|undefined;
type EntityStyleFn = (entity: draftjs.EntityInstance) => RenderConfig|undefined;
type BlockRenderer = (block: dr... | isc |
TigerBSD/TigerBSD | FreeBSD/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c | 46056 | /*-
* Copyright (c) 2012 Chelsio Communications, 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, thi... | isc |
breunigs/keks | db/migrate/20130217083354_create_questions.rb | 182 | class CreateQuestions < ActiveRecord::Migration
def change
create_table :questions do |t|
t.references :parent, :polymorphic => true
t.timestamps
end
end
end
| isc |
edonet/package | Edoner/expand_tabs_on_save.py | 236 | import sublime, sublime_plugin, os
class ExpandTabsOnSave(sublime_plugin.EventListener):
def on_pre_save(self, view):
if view.settings().get('expand_tabs_on_save') == 1:
view.window().run_command('expand_tabs')
| isc |
JavieChan/nanshaCity | yejin/templates/projectuserpayinfo.html | 4678 | <%inherit file="base.html" />
<div class="wrapper">
<input type="hidden" id="location" value="${location}" />
<!--导航-->
<%include file="nav.html" args="on={'user': 'on'}" />
<!--右侧功能栏-->
<div class="projects">
<div class="tabbox">
<div class="bread">
<%include fi... | isc |
dockbiz/gnatsd | server/client.go | 20486 | // Copyright 2012-2015 Apcera Inc. All rights reserved.
package server
import (
"bufio"
"encoding/json"
"fmt"
"math/rand"
"net"
"sync"
"sync/atomic"
"time"
"github.com/nats-io/gnatsd/hashmap"
"github.com/nats-io/gnatsd/sublist"
)
const (
// The size of the bufio reader/writer on top of the socket.
defau... | mit |
georghinkel/ttc2017smartGrids | solutions/eMoflon/rgse.ttc17.metamodels.src/src/gluemodel/CIM/IEC61970/impl/IEC61970CIMVersionImpl.java | 5104 | /**
*/
package gluemodel.CIM.IEC61970.impl;
import gluemodel.CIM.IEC61970.IEC61970CIMVersion;
import gluemodel.CIM.IEC61970.IEC61970Package;
import gluemodel.CIM.impl.ElementImpl;
import java.util.Date;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf... | mit |
HockeyWX/HockeySDK-iOSDemo-Swift | Vendor/HockeySDK/Classes/BITTelemetryContext.h | 2630 | #import "HockeySDKFeatureConfig.h"
#if HOCKEYSDK_FEATURE_METRICS
#import <Foundation/Foundation.h>
#import "BITApplication.h"
#import "BITDevice.h"
#import "BITInternal.h"
#import "BITUser.h"
#import "BITSession.h"
@class BITPersistence;
#import "HockeySDKNullability.h"
NS_ASSUME_NONNULL_BEGIN
/**
* Context obje... | mit |
unaio/una | modules/boonex/protean/updates/9.0.9_9.0.10/source/install/config.php | 1429 | <?php
/**
* Copyright (c) UNA, Inc - https://una.io
* MIT License - https://opensource.org/licenses/MIT
*
* @defgroup Protean Protean template
* @ingroup UnaModules
*
* @{
*/
$aConfig = array(
/**
* Main Section.
*/
'type' => BX_DOL_MODULE_TYPE_TEMPLATE,
'name' => 'bx_protean',
... | mit |
daniel-lundin/tern-snabbt | demos/resources/tern-lint/codemirror/addon/lint/tern-lint.js | 952 | CodeMirror.ternLint = function(cm, updateLinting, options) {
function addAnnotation(error, found) {
var startLine = error.startLine;
var startChar = error.startChar;
var endLine = error.endLine;
var endChar = error.endChar;
var message = error.message;
found.push({
from : error.start,
... | mit |
chili-dog-night/site | sql/create.sql | 33 | CREATE DATABASE chili_dog_night;
| mit |
DestinyItemManager/DIM | src/app/search/plug-search.ts | 982 | import { D2ManifestDefinitions } from 'app/destiny2/d2-definitions';
import { PluggableInventoryItemDefinition } from 'app/inventory/item-types';
import { startWordRegexp } from './search-filters/freeform';
export function createPlugSearchPredicate(
query: string,
language: string,
defs: D2ManifestDefinitions
) ... | mit |
shairez/angular | packages/animations/browser/test/dsl/animation_spec.ts | 48978 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {animate, animation, AnimationMetadata, AnimationMetadataType, AnimationOptions, AUTO_STYLE, group, keyframes, ... | mit |
rwang23/LintCodeBook | Math/Reverse-Integer.md | 1151 | ##Reverse Integer
Total Accepted: 125296 Total Submissions: 531450 Difficulty: Easy
Reverse digits of an integer.
Example1: x = 123, return 321
Example2: x = -123, return -321
click to show spoilers.
Have you thought about this?
Here are some good questions to ask before coding. Bonus points for you if you h... | mit |
linmuxi/ttw | src/com/phly/ttw/manage/supplier/action/SupplierOrderAction.java | 1854 | /*
* Copyright 2015 the original author or phly.
* 未经正式书面同意,其他任何个人、团体不得使用、复制、修改或发布本软件.
*/
package com.phly.ttw.manage.supplier.action;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import org.directwebremoting.annotations.RemoteProxy;
import org.springframework.stereotype.Controll... | mit |
gulkodmitriy/gulkodmitriy.github.io | docs/src_utils_LinkedList.js.html | 47194 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Phaser Source: src/utils/LinkedList.js</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/default.css">
<link type="... | mit |
dgilliam/Ref7 | Ref7App/www/rules/IL_903.html | 1581 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content=... | mit |
ha-dai/Misskey | src/server/api/endpoints/notes/user-list-timeline.ts | 5368 | import $ from 'cafy'; import ID from '../../../../misc/cafy-id';
import Note from '../../../../models/note';
import Mute from '../../../../models/mute';
import { pack } from '../../../../models/note';
import UserList from '../../../../models/user-list';
import { ILocalUser } from '../../../../models/user';
import getPa... | mit |
tf/pageflow | spec/features/entry_publisher/publishing_an_entry_spec.rb | 2140 | require 'spec_helper'
feature 'as entry publisher, publishing an entry', js: true do
scenario 'without depublication date' do
entry = create(:entry, title: 'Test Entry')
Dom::Admin::Page.sign_in_as(:publisher, on: entry)
visit(pageflow.editor_entry_path(entry))
editor_sidebar = Dom::Editor::Sidebar.... | mit |
adamhathcock/sharpcompress | src/SharpCompress/Compressors/Xz/XZIndexMarkerReachedException.cs | 132 | using System;
namespace SharpCompress.Compressors.Xz
{
public class XZIndexMarkerReachedException : Exception
{
}
}
| mit |
BenRomberg/cordonbleu | cordonbleu-data/src/test/java/com/benromberg/cordonbleu/data/migration/change0015/Change0015Test.java | 1339 | package com.benromberg.cordonbleu.data.migration.change0015;
import static org.assertj.core.api.Assertions.assertThat;
import com.benromberg.cordonbleu.data.migration.ChangeRule;
import com.benromberg.cordonbleu.data.migration.TestCollection;
import org.junit.Rule;
import org.junit.Test;
import com.benromberg.cordon... | mit |
zz-systems/zacc | README.md | 18604 | # ZACC
[](https://opensource.org/licenses/MIT)
[](https://www.codacy.com/app/sergej-zuyev/zacc?utm_source=github.com&utm_medium=referral&utm_content=zz... | mit |
jim-parry/CodeIgniter4 | system/HTTP/Negotiate.php | 11335 | <?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014-2019 British Columbia Institute of Technology
* Copyright (c) 2019 CodeIgniter Foundation
*
* Permission is hereby granted, free of charge, to ... | mit |
umts/garrulous-garbanzo | db/migrate/20150909204238_create_users.rb | 262 | class CreateUsers < ActiveRecord::Migration[5.1]
def change
create_table :users do |t|
t.string :first_name
t.string :last_name
t.string :spire
t.string :email
t.string :phone
t.timestamps null: false
end
end
end
| mit |
8l/ucc-c-compiler | src/util/dynmap.h | 1897 | #ifndef DYNMAP_H
#define DYNMAP_H
typedef struct dynmap dynmap;
/* 0 for match, non-zero for mismatch */
typedef int dynmap_cmp_f(void *, void *);
typedef unsigned dynmap_hash_f(const void *);
dynmap *dynmap_nochk_new(dynmap_cmp_f, dynmap_hash_f);
void dynmap_free(dynmap *);
void *dynmap_nochk_get(dynmap *, void ... | mit |
liebharc/VerifyBuffer | VerifyBuffering/CSharpCodeSnippets/DoubleArrayCreation.cs | 1190 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharpCodeSnippets
{
public class DoubleArrayCreation
{
public double[][] ScaleArrays(double[][] arrays, double scalingFactor)
{
var result = ne... | mit |
LeChosenOne/LegendCraft | fCraft/Drawing/DrawOps/WallsOp.cs | 3853 | //Copyright (C) <2012> <Jon Baker, Glenn Mariën and Lao Tszy>
//This program is free software: you can redistribute it and/or modify
//it under the terms of the GNU General Public License as published by
//the Free Software Foundation, either version 3 of the License, or
//(at your option) any later version.
//This... | mit |
ucsd-cse-spis-2016/ucsd-cse-spis-2016.github.io | _layouts/lab.html | 668 | <!DOCTYPE html>
<html lang="en">
<head>
{% include head_lab.html %}
<title>{{ page.num }} - {{ page.desc }} - {{course}}</title>
</head>
<body id="page-top">
<div id="container" data-role="page">
{% include nav.html %}
<div id="content" class="ui-content">
<h1>{{page.num}}... | mit |
CCPorg/FRK-Franko-Ver-80501-Copy | src/json/json_spirit_writer_template.h | 6893 | #ifndef JSON_SPIRIT_WRITER_TEMPLATE
#define JSON_SPIRIT_WRITER_TEMPLATE
// Copyright John W. Wilkinson 2007 - 2009.
// Distributed under the MIT License, see accompanying file LICENSE.txt
// json spirit version 4.03
#include "json_spirit_value.h"
#include <cassert>
#include <sstream>
#include <iomanip>
na... | mit |
pbchase/pbchase.github.io | assets/documents/buggy_bar_build_book_1.1.0/final-words.html | 11174 | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Chapter 6 Final Words | Buggy Bar Build Book</title>
<meta name="description" content="This is how you build a Buggy Bar." />
<meta na... | mit |
jstarc/deep_reasoning | generative_alg.py | 12160 | import os
import load_data
import numpy as np
from keras.backend import theano_backend as K
from keras.callbacks import ModelCheckpoint, EarlyStopping
from keras.utils.generic_utils import Progbar
from keras.callbacks import Callback
import generative_models as gm
from common import CsvHistory
from common import merg... | mit |
HynesIP/hello.js | demos/instagram.html | 1727 | <!DOCTYPE html>
<link rel="stylesheet" href="/_packages/document.css"></script>
<script src="/_packages/document.js"></script>
<script src="client_ids.js"></script>
<script src="../src/hello.js"></script>
<script src="../src/modules/instagram.js"></script>
<title>HelloJS and Instagram</title>
<h1>HelloJS and Instagr... | mit |
vineetreddyrajula/pharo | src/OpalCompiler-Core.package/OCASTSemanticCleaner.class/README.md | 105 | I am cleaning the semantic analysis of the AST.
-> scopes of Blocks and Methpd
-> binding from Variables | mit |
aleph3d/MiniMediaEducation | MasterServer/MSmmc-ps/plugins/plg-template/lib/xtemplate.class.php | 35089 | <?php
// FILE: xtemplate.class (part of MiniMediaEducation, https://github.com/aleph3d/MiniMediaEducation.git)
// TYPE: funciton/class Library (PHP5)
// LICENSE: BSD and LGPL
////// Copyright (c) 2000-2001 Barnab�s Debreceni [cranx@users.sourceforge.net] XTemplate
////// Copyright (c) 2002-2007 Jeremy Coates [coco... | mit |
omarramos/sunspot_rails-temp | lib/sunspot/rails/request_lifecycle.rb | 1373 | module Sunspot #:nodoc:
module Rails #:nodoc:
#
# This module adds an after_filter to ActionController::Base that commits
# the Sunspot session if any documents have been added, changed, or removed
# in the course of the request.
#
module RequestLifecycle
class <<self
def includ... | mit |
arjunravinarayan/differential-dataflow | tpchlike/src/queries/query08.rs | 3553 | use timely::dataflow::*;
use timely::dataflow::operators::*;
use timely::dataflow::operators::probe::Handle as ProbeHandle;
use differential_dataflow::AsCollection;
use differential_dataflow::operators::*;
use differential_dataflow::lattice::Lattice;
use differential_dataflow::difference::DiffPair;
use ::Collections;... | mit |