code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
3
942
language
stringclasses
30 values
license
stringclasses
15 values
size
int32
3
1.05M
#!/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...
dnolivieri/rfMHC
docs/conf.py
Python
bsd-3-clause
8,369
// 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...
endlessm/chromium-browser
media/capture/video/fake_video_capture_device_factory.h
C
bsd-3-clause
4,027
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)...
hjwylde/scotland-yard
app/policies/game_valid_policy.rb
Ruby
bsd-3-clause
1,062
/* * 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...
exponent/exponent
ios/versioned-react-native/ABI40_0_0/ReactNative/ReactCommon/fabric/core/shadownode/ABI40_0_0Props.cpp
C++
bsd-3-clause
689
#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...
KyoX/UCA_CompiladoresCLIPS
ide/Resultado.h
C
bsd-3-clause
2,523
/************************************************************* * _ooOoo_ * o8888888o * 88" . "88 * (| -_- |) * O\ = /O * ____/`---'\____ * .' \\| |// `. * / \\||| ...
crosg/idCreator
idcreator/IdcreatorTcpAccept.c
C
bsd-3-clause
10,194
<!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...
lejard-h/polymer_app_layout_templates
doc/api/polymer_app_layout.behaviors/Element/setInnerHtml.html
HTML
bsd-3-clause
33,566
<?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 *...
oswen244/proserpaz
models/PagosPrestamosSearch.php
PHP
bsd-3-clause
1,662
<?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 ...
RomarioLopezC/RobotSS
migrations/m160130_212648_add_enrollment_to_student.php
PHP
bsd-3-clause
538
$(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(...
richardcornish/cyndiloza
cyndiloza/static/js/site.js
JavaScript
bsd-3-clause
1,360
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
udhos/sipswitchd
win-build.cmd
Batchfile
bsd-3-clause
275
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...
vercas/vLogs
vLogs/Objects/KeyValues/KeyValue Collection.cs
C#
bsd-3-clause
14,660
# 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...
mirego/activerecord_json_validator
spec/json_validator_spec.rb
Ruby
bsd-3-clause
3,214
// 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...
Workday/OpenFrame
net/server/web_socket_encoder.cc
C++
bsd-3-clause
12,653
/* * 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...
mgoffin/osquery
osquery/core/init.cpp
C++
bsd-3-clause
15,563
// 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...
endlessm/chromium-browser
chrome/android/java/src/org/chromium/chrome/browser/offlinepages/prefetch/PrefetchPrefs.java
Java
bsd-3-clause
3,959
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...
PowerOfCode/Eto
Source/Eto.iOS/Forms/Controls/NumericUpDownHandler.cs
C#
bsd-3-clause
1,650
<?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; ...
yjhu/wowewe
models/ClientWechatFanSearch.php
PHP
bsd-3-clause
3,139
#!/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
notaz/ia32rtools
run_idac_adj.sh
Shell
bsd-3-clause
285
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
jetsgit/spree_promotion_tax
README.md
Markdown
bsd-3-clause
306
<?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...
ineps/inesa
inesa/protected/controllers/AccesoController.php
PHP
bsd-3-clause
5,110
{% 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...
softak/webfaction_demo
apps/friends/templates/friends/search.j.html
HTML
bsd-3-clause
1,135
<!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...
lsa-pucrs/jason-ros-releases
Jason-1.4.0a/doc/api/jason/mas2j/package-summary.html
HTML
bsd-3-clause
6,023
// 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...
akutz/go
src/cmd/compile/internal/ssa/rewritegeneric.go
GO
bsd-3-clause
597,533
/*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 ...
NCIP/cadsr-cgmdr-nci-uk
test/src/org/exist/xmldb/StorageStressTest.java
Java
bsd-3-clause
6,249
/* * 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/...
sergeyreznik/et-engine
include/et/rendering/vulkan/vulkan_renderer.cpp
C++
bsd-3-clause
22,196
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', ...
fake-name/ReadableWebProxy
WebMirror/management/rss_parser_funcs/feed_parse_extractFullybookedtranslationsWordpressCom.py
Python
bsd-3-clause
586
#! /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=' ....
palfrey/twfy
scripts/update-hansard-all.pl
Perl
bsd-3-clause
1,432
<?php namespace garethp\ews\API\Enumeration; use garethp\ews\API\Enumeration; /** * Class representing SubscriptionStatusFrequencyType * * * XSD Type: SubscriptionStatusFrequencyType */ class SubscriptionStatusFrequencyType extends Enumeration { }
Garethp/php-ews
src/API/Enumeration/SubscriptionStatusFrequencyType.php
PHP
bsd-3-clause
258
// 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...
myjfm/uranium
src/server/uranium_schema_service_impl.h
C
bsd-3-clause
1,055
<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> ...
hahalulu/yii
demo/protected/views/admin/adminarticle/index.php
PHP
bsd-3-clause
7,002
ocr_training_data ================= Generate training data for Optical Character Recognition with Python.
ncollins/ocr_training_data
README.md
Markdown
bsd-3-clause
108
<?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...
skeeks-cms/cms-backend
src/assets/BackendAsset.php
PHP
bsd-3-clause
679
/******************************************************************************* * 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...
kkaempf/openwbem
src/requesthandlers/binary/OW_BinaryRequestHandler.cpp
C++
bsd-3-clause
35,938
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...
hjwylde/scotland-yard
app/controllers/nodes_controller.rb
Ruby
bsd-3-clause
500
$(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...
Amaceika/TowerWall
twitter-oauth/jquery.jstwitter.js
JavaScript
bsd-3-clause
6,798
// 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...
fujunwei/chromium-crosswalk
content/renderer/input/input_handler_proxy.cc
C++
bsd-3-clause
35,811
//------------------------------------------------------------------------------ // 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 ...
jlblancoc/suitesparse-metis-for-windows
SuiteSparse/GraphBLAS/Source/Generated/GB_AxB__eq_eq_int64.c
C
bsd-3-clause
8,246
<?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" /> ...
NCIP/cananolab
docs/webappOnlineHelp/popups/caNanoLab_Glossary-1077108.html
HTML
bsd-3-clause
3,019
<?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; ...
oswen244/proserpaz
models/AuxiliosSearch.php
PHP
bsd-3-clause
3,499
//********************************************************* // // 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. /...
ebragge/LibAudio
LibAudio/ToneSampleGenerator.h
C
bsd-3-clause
1,297
**Emulator for the Chip16** ============== [![Build Status](https://travis-ci.org/faouellet/System16.svg?branch=master)](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...
faouellet/System16
README.md
Markdown
bsd-3-clause
1,022
// 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...
ric2b/Vivaldi-browser
chromium/components/page_load_metrics/browser/metrics_web_contents_observer_unittest.cc
C++
bsd-3-clause
69,984
#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}, ...
TeravoxelTwoPhotonTomography/mltk-barry
src/matrix.c
C
bsd-3-clause
1,083
<?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...
unclecheese/silverstripe-docsviewer
code/tasks/RebuildLuceneDocsIndex.php
PHP
bsd-3-clause
3,556
#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...
AmiArt/treefrog-framework
tools/tmake/otamaconverter.h
C
bsd-3-clause
671
///////////////////////////////////////////////////////////////////////////// // 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...
ric2b/Vivaldi-browser
update_notifier/thirdparty/wxWidgets/samples/widgets/checkbox.cpp
C++
bsd-3-clause
9,600
// 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 ...
ric2b/Vivaldi-browser
chromium/chrome/android/javatests/src/org/chromium/chrome/browser/autofill_assistant/AutofillAssistantPreferenceFragmentTest.java
Java
bsd-3-clause
13,445
<!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....
pullpulldondon/ThumbShift
os.html
HTML
bsd-3-clause
23,072
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...
noinia/hsync-server
src/HSync/Server/Handler/API.hs
Haskell
bsd-3-clause
5,429
/* 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...
axkibe/node-vtk
wrappers/8.1.1/vtkDataObjectAlgorithmWrap.h
C
bsd-3-clause
1,591
""" 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...
ITA-Solar/helita
helita/obs/iris_util.py
Python
bsd-3-clause
9,925
# Education in BSUIR Here are my education projects. . -- bachelor/cpp # C++ education projects. -- bachelor/csharp # C# education projects.
reginell/bsuir
README.md
Markdown
bsd-3-clause
151
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 :...
juhovuori/builder
main_test.go
GO
bsd-3-clause
1,050
#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...
MattiasLiljeson/Amalgamation
Projects/Gameplay/Src/AudioListenerSystem.cpp
C++
bsd-3-clause
2,950
#!/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...
BlokasLabs/modep
stage5/17-mtc/01-run-chroot.sh
Shell
bsd-3-clause
459
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": [] } ...
stcorp/legato
legato/registry.py
Python
bsd-3-clause
987
/* 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...
axkibe/node-vtk
wrappers/8.1.1/vtkBSplineTransformWrap.cc
C++
bsd-3-clause
14,253
<?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> ...
CoursePark/Zend-Framework-Releases
extras/documentation/api/extras/ZendX_Whois/_Console---Exception.php.html
HTML
bsd-3-clause
6,115
/*************************************************************************** * * 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...
chaoling/test123
linux-2.6.39/drivers/net/smsc911x.h
C
gpl-2.0
12,608
/* * 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...
AiJiaZone/linux-4.0
virt/drivers/ide/ht6560b.c
C
gpl-2.0
10,680
# $Id$ ROOTDIR=../../.. include ${ROOTDIR}/Makefile.path TEST= multiwait_test SRCS+= multiwait_test.c MODULES+= pthread pfl include ${PFLMK}
pscedu/slash2-stable
pfl/tests/multiwait/Makefile
Makefile
isc
146
# `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 ...
SymbiFlow/nextpnr
machxo2/README.md
Markdown
isc
3,054
# $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...
TigerBSD/TigerBSD
FreeBSD/sys/boot/powerpc/boot1.chrp/Makefile
Makefile
isc
1,002
/// <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...
sstur/draft-js-export-html
packages/draft-js-export-html/typings/index.d.ts
TypeScript
isc
833
/*- * 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...
TigerBSD/TigerBSD
FreeBSD/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c
C
isc
46,056
class CreateQuestions < ActiveRecord::Migration def change create_table :questions do |t| t.references :parent, :polymorphic => true t.timestamps end end end
breunigs/keks
db/migrate/20130217083354_create_questions.rb
Ruby
isc
182
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')
edonet/package
Edoner/expand_tabs_on_save.py
Python
isc
236
<%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...
JavieChan/nanshaCity
yejin/templates/projectuserpayinfo.html
HTML
isc
4,678
// 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...
dockbiz/gnatsd
server/client.go
GO
mit
20,486
/** */ 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...
georghinkel/ttc2017smartGrids
solutions/eMoflon/rgse.ttc17.metamodels.src/src/gluemodel/CIM/IEC61970/impl/IEC61970CIMVersionImpl.java
Java
mit
5,104
#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...
HockeyWX/HockeySDK-iOSDemo-Swift
Vendor/HockeySDK/Classes/BITTelemetryContext.h
C
mit
2,630
<?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', ...
unaio/una
modules/boonex/protean/updates/9.0.9_9.0.10/source/install/config.php
PHP
mit
1,429
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, ...
daniel-lundin/tern-snabbt
demos/resources/tern-lint/codemirror/addon/lint/tern-lint.js
JavaScript
mit
952
CREATE DATABASE chili_dog_night;
chili-dog-night/site
sql/create.sql
SQL
mit
33
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 ) ...
DestinyItemManager/DIM
src/app/search/plug-search.ts
TypeScript
mit
982
/** * @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, ...
shairez/angular
packages/animations/browser/test/dsl/animation_spec.ts
TypeScript
mit
48,978
##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...
rwang23/LintCodeBook
Math/Reverse-Integer.md
Markdown
mit
1,151
/* * 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...
linmuxi/ttw
src/com/phly/ttw/manage/supplier/action/SupplierOrderAction.java
Java
mit
1,854
<!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="...
gulkodmitriy/gulkodmitriy.github.io
docs/src_utils_LinkedList.js.html
HTML
mit
47,194
<!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=...
dgilliam/Ref7
Ref7App/www/rules/IL_903.html
HTML
mit
1,581
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...
ha-dai/Misskey
src/server/api/endpoints/notes/user-list-timeline.ts
TypeScript
mit
5,368
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....
tf/pageflow
spec/features/entry_publisher/publishing_an_entry_spec.rb
Ruby
mit
2,140
using System; namespace SharpCompress.Compressors.Xz { public class XZIndexMarkerReachedException : Exception { } }
adamhathcock/sharpcompress
src/SharpCompress/Compressors/Xz/XZIndexMarkerReachedException.cs
C#
mit
132
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...
BenRomberg/cordonbleu
cordonbleu-data/src/test/java/com/benromberg/cordonbleu/data/migration/change0015/Change0015Test.java
Java
mit
1,339
# ZACC [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/ea9a6858d3e24f54b342a7baba064d3f)](https://www.codacy.com/app/sergej-zuyev/zacc?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=zz...
zz-systems/zacc
README.md
Markdown
mit
18,604
<?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 ...
jim-parry/CodeIgniter4
system/HTTP/Negotiate.php
PHP
mit
11,335
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
umts/garrulous-garbanzo
db/migrate/20150909204238_create_users.rb
Ruby
mit
262
#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 ...
8l/ucc-c-compiler
src/util/dynmap.h
C
mit
1,897
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...
liebharc/VerifyBuffer
VerifyBuffering/CSharpCodeSnippets/DoubleArrayCreation.cs
C#
mit
1,190
//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...
LeChosenOne/LegendCraft
fCraft/Drawing/DrawOps/WallsOp.cs
C#
mit
3,853
<!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}}...
ucsd-cse-spis-2016/ucsd-cse-spis-2016.github.io
_layouts/lab.html
HTML
mit
668
#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...
CCPorg/FRK-Franko-Ver-80501-Copy
src/json/json_spirit_writer_template.h
C
mit
6,893
<!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...
pbchase/pbchase.github.io
assets/documents/buggy_bar_build_book_1.1.0/final-words.html
HTML
mit
11,174
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...
jstarc/deep_reasoning
generative_alg.py
Python
mit
12,160
<!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...
HynesIP/hello.js
demos/instagram.html
HTML
mit
1,727
I am cleaning the semantic analysis of the AST. -> scopes of Blocks and Methpd -> binding from Variables
vineetreddyrajula/pharo
src/OpalCompiler-Core.package/OCASTSemanticCleaner.class/README.md
Markdown
mit
105
<?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...
aleph3d/MiniMediaEducation
MasterServer/MSmmc-ps/plugins/plg-template/lib/xtemplate.class.php
PHP
mit
35,089
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...
omarramos/sunspot_rails-temp
lib/sunspot/rails/request_lifecycle.rb
Ruby
mit
1,373
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;...
arjunravinarayan/differential-dataflow
tpchlike/src/queries/query08.rs
Rust
mit
3,553