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
--- title: East Coast getting the DOR? --- It looks like Virgin Trains East Coast(VTEC) will last only a few more months, due to the financial difficulties the franchise is encountering. Chris Grayling has said that nationalisation is one of the options on the table for the next two years. [The Guardian reports](http...
ir-g/ir-g.github.io
_posts/2018-02-06-east-coast-getting-the-dor.md
Markdown
artistic-2.0
1,715
<!DOCTYPE HTML> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (16) --> <title>org.bukkit.configuration.file Class Hierarchy (Glowkit 1.17-R0.1-SNAPSHOT API)</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8...
GlowstoneMC/glowstonemc.github.io
content/jd/glowkit/1.17/org/bukkit/configuration/file/package-tree.html
HTML
artistic-2.0
6,518
/* shttpd (c)1999,2000 Stepan Roh * see license.txt for copying */ /* thread_mgr.c * obsluha vlaken */ #include "thread_mgr.h" #include "request.h" #define BUFFER_LEN 65535 #ifdef PTHREADS #include <stdlib.h> #include <pthread.h> #include <semaphore.h> #include "config.h" #include "logfile.h" typedef struct ...
srcx/shttpd
thread_mgr.c
C
artistic-2.0
3,871
#!/usr/bin/env python """ Created by _UserName_ 11/28/2013 """ import Connect, DB import uuid def Register(): # Generate A Unique Idenfifier ident = uuid.uuid4().hex # Allow For Database Manipulation database = DB.DB() # Create Database database.create() # Add Self To Datab...
Us3rNam/F2F-Network
Register.py
Python
artistic-2.0
398
/* * Copyright (c) 2011 Tamas Cservenak. All rights reserved. * * <tamas@cservenak.com> * http://www.cservenak.com/ * * 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 * * ht...
speakeasy/SKYEngine
src/com/speakeasy/skyengine/resources/io/lzma/streams/cs/CoderOutputStream.java
Java
artistic-2.0
2,095
MCBS913-A3 ========== Created for MCBS-913 (Bioinformatics) at the University of New Hampshire [Spring 2014]
mkelley64/MCBS913-A3
README.md
Markdown
artistic-2.0
110
""" hmmer module """ from __future__ import print_function from mungo.mungoCore import * import blast, sequence from mungo.useful import smartopen, extractRootName, ClassFromDict, warnDeprecated import sys, re, warnings hmmer2frame = {0: 1, 1: 2, 2: 3, 3: -1, 4: -2, 5: -3} frame2hmmer = dict([(v,k) for k,v in hmmer...
PapenfussLab/Mungo
mungo/hmmer.py
Python
artistic-2.0
15,959
#!/usr/bin/perl package org::lockaby::id::handler::endpoint; use strict; use warnings; use utf8; use Apache2::Const qw(:common); use Apache2::RequestIO (); sub new { my $class = shift; my %args = ( config => undef, session => undef, engine => undef, @_, ); my $self = ...
f3l/openid-server-app
perl-lib/org/lockaby/id/handler/endpoint.pm
Perl
artistic-2.0
4,328
-- -- Created by SQL::Translator::Producer::MySQL -- Created on Thu Aug 1 14:58:11 2013 -- ; SET foreign_key_checks=0; -- -- Table: `dbix_class_deploymenthandler_versions` -- CREATE TABLE `dbix_class_deploymenthandler_versions` ( `id` integer NOT NULL auto_increment, `version` varchar(50) NOT NULL, `ddl` text ...
plainblack/Wing
author.t/tenant_files/dbicdh/MySQL/deploy/1/001-auto-__VERSION.sql
SQL
artistic-2.0
473
<html> <head> <title>r..eal 0:0:3 </title> <link rel="stylesheet" type="text/css" href="../../pldoc/pldoc.css"> </head> <body> <h1 class="file"> r..eal 0:0:3, 2011/12/22 </h1> <p> A C-based Prolog interface to R. <h2 class="wiki">Introduction</h2> <p> This library enables the communication with an R process starte...
SWI-Prolog/packages-real
doc/r..eal.html
HTML
artistic-2.0
12,721
#include "qulawk-routine.h" #include <time.h> #include <stdio.h> #include <stdlib.h> int main(void) { struct tm now; time_t tnow; struct qulawk_t qnow; tnow = time(NULL); gmtime_r(&tnow, &now); xlate_qulawk(&qnow, &now, 0); printf("%i:%i'%i.%i\n", qnow.session, qnow.period, qnow.bit, qnow.moment); }
chaomodus/ddatedtime
qulawk/c/qulawk.c
C
artistic-2.0
320
<!DOCTYPE html> <html lang="en-US"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="author" content="Salih Emin" /> <meta name="copyright" content="Salih Em...
BusinessPi/businesspi.github.io
video-parousiasi-businesspi-greeklug.html
HTML
artistic-2.0
16,233
package ttftcuts.atg.api; import java.util.List; import ttftcuts.atg.api.events.*; import ttftcuts.atg.api.events.listenable.ATGBiomeGroupAssignmentEvent.ATGGroupActivationEvent; import net.minecraft.world.World; import net.minecraft.world.biome.BiomeGenBase; import net.minecraftforge.common.MinecraftForge; import ...
reteo/CustomOreGen
src/api/java/ttftcuts/atg/api/ATGBiomes.java
Java
artistic-2.0
9,346
#! /usr/bin/env python """ stats -- Prints some channel information. disconnect -- Disconnect the bot. The bot will try to reconnect after 60 seconds. die -- Let the bot cease to exist. """ import liblo import irc.bot import irc.strings from irc.client import ip_numstr_to_quad, ip_quad_...
sonoprob/0x56
bot/py/ircoscbot.py
Python
artistic-2.0
3,668
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++ // NOTE: Do not modify the contents of this file. If this class is regenerated by // Microsoft Visual C++, your modifications will be overwritten. #include "stdafx.h" #include "printer.h" ////////////////////////////////////////////...
ChIna-king-Arthur/MFC
cow2/TeeChartAPI/printer.cpp
C++
artistic-2.0
5,140
//=========== Copyright © 2014, rHetorical, All rights reserved. ============= // // Purpose: // //============================================================================= #ifndef C_BASEGLOWANIMATING_H #define C_BASEGLOWANIMATING_H #ifdef _WIN32 #pragma once #endif #include "cbase.h" #include "c_baseanimatin...
reepblue/SourceSDKContent
SDK2013/Template/client/template/c_baseglowanimating.h
C
artistic-2.0
1,320
my class Cursor {... } my class Range {... } my class Match {... } my class X::Str::Numeric { ... } my class X::Str::Match::x { ... } my class X::Str::Trans::IllegalKey { ... } my class X::Str::Trans::InvalidArg { ... } my class X::Numeric::Confused { ... } my constant $?TABSTOP = 8; my class Str does Stringy { # ...
ugexe/rakudo
src/core/Str.pm
Perl
artistic-2.0
79,321
package com.work.pm25; import android.text.TextUtils; import bean.City; import bean.County; import bean.Province; /** * Created by KalinaRain on 2015/5/20. */ public class Utility { /** * 解析和处理服务器返回的省级数据 */ public synchronized static boolean handleProvincesResponse(PM25DB pm25DB, String response)...
KalinaRain/MyWorkSpace
pmdetection/src/main/java/com/work/pm25/Utility.java
Java
artistic-2.0
2,771
package com.germi.indrob.utility; import javax.swing.filechooser.FileFilter; import javax.swing.filechooser.FileNameExtensionFilter; public class UtilityExtension{ protected String name; protected String[] defs; protected FileFilter filt; public UtilityExtension(String a, String... b) { this.name=a; this....
el-germi/industrial-robot
src/main/java/com/germi/indrob/utility/UtilityExtension.java
Java
artistic-2.0
619
'use strict'; /** * Get html element by auto-generated (via XPath) class name * @memberof imgix * @static * @private * @param {string} xpath the xpath of the element * @returns {Element} element with the xpath */ imgix.getElementByXPathClassName = function (xpath) { return document.querySelector('.' + imgix.g...
kmddev/imgix.js
src/xpath.js
JavaScript
bsd-2-clause
1,664
# -*- coding: 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 'Event.location' db.add_column(u'calendar_event', 'location', self.gf('...
orlenko/sfpirg
mezzanine/calendar/migrations/0006_auto__add_field_event_location__add_field_event_link_url.py
Python
bsd-2-clause
12,037
#ifndef MONSOON_INTERPOLATE_H #define MONSOON_INTERPOLATE_H ///\file ///\ingroup intf #include <monsoon/intf_export_.h> #include <monsoon/metric_value.h> #include <monsoon/time_point.h> #include <optional> namespace monsoon { /** * \brief Interpolate a value at at time point, using linear interpolation. * \ingro...
nahratzah/monsoon_plus_plus
intf/include/monsoon/interpolate.h
C
bsd-2-clause
1,173
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- **************************************************************** --> <!-- * PLEASE KEEP COMPLICATED EXPRESSIONS OUT OF THESE TEMPLATES, * --> <!-- * i.e. only iterate & print data where possible. Thanks, Jez. *...
Pushjet/Pushjet-Android
gradle/wrapper/dists/gradle-1.12-all/4ff8jj5a73a7zgj5nnzv1ubq0/gradle-1.12/docs/groovydoc/org/gradle/api/artifacts/dsl/ArtifactHandler.html
HTML
bsd-2-clause
11,848
/*- * Copyright (c) 2000,2001,2002 Søren Schmidt <sos@FreeBSD.org> * 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 * ...
ahoka/esrtk
BsdEthernet/sys/cdrio.h
C
bsd-2-clause
5,010
from django.conf import settings from django.db.models.loading import get_model from models import MasterSetting, SettingTypes def get(name, default=None): try: setting = MasterSetting.objects.get(name=name) if setting.type == SettingTypes.INT: return int(setting.value) elif se...
MasterAlish/django-ma-settings
ma_settings/master_settings.py
Python
bsd-2-clause
1,876
# coding: utf-8 """ MINDBODY Public API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v6 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import impo...
mindbody/API-Examples
SDKs/Python/test/test_get_session_types_request.py
Python
bsd-2-clause
1,006
#ifndef __MONO_NATIVE_MSCORLIB_SYSTEM_REFLECTION_ASSEMBLYSIGNATUREKEYATTRIBUTE_H #define __MONO_NATIVE_MSCORLIB_SYSTEM_REFLECTION_ASSEMBLYSIGNATUREKEYATTRIBUTE_H #include <mscorlib/System/mscorlib_System_Attribute.h> #include <mscorlib/System/mscorlib_System_String.h> #include <mscorlib/System/Runtime/InteropServices/...
brunolauze/MonoNative
MonoNative/mscorlib/System/Reflection/mscorlib_System_Reflection_AssemblySignatureKeyAttribute.h
C
bsd-2-clause
3,274
package battleship type ShipType uint8 const ( Missed ShipType = iota Hit AircraftCarrier Battleship Submarine Destroyer Cruiser PatrolBoat ) func (st ShipType) Mark() string { s := "\u2573\u29BFA*CARRIERDESTR*SUB*SHIP*BCRUIS" switch st { case Missed: return s[0:3] //"\u2573" case Hit: return s[3:6] ...
gdey/go-challange-battleship
battleship/ship_type.go
GO
bsd-2-clause
1,552
package utwil import ( "encoding/json" "fmt" "testing" ) // This test calls ToPhoneNumber and also forwards the call to ToPhoneNumber. // ToPhoneNumber should expect two calls. func TestCall(t *testing.T) { callbackPostURL := fmt.Sprintf("http://twimlets.com/forward?PhoneNumber=%s", ToPhoneNumber) call, err := T...
wyc/utwil
call_test.go
GO
bsd-2-clause
584
{% extends "layout.html" %} {% block content %} <div class="panel panel-primary"> <div class="panel-heading"><h3 class="panel-title">Directory Index</h3></div> <table class="table table-hover table-condensed table-bordered"> {% for dir in directories %} <ul style="list-style: none;"> ...
hrkfdn/pyle
templates/dirlist.html
HTML
bsd-2-clause
807
/********************************************************************* * Maxeler Technologies: BrainNetwork * * * * Version: 1.2 * * Date: 05 July 2013 ...
maxeler/Brain-Network
APP/CPUCode/gui/src/com/maxeler/brainnetwork/gui/ComputeButton.java
Java
bsd-2-clause
2,215
#{extends 'Admin/header.html' /} #{set title:'Usage stats'/} #{set usageStats:'active'/} <link rel="stylesheet" href="#{static-path '/public/css/nv.d3.css' /}"> <div class="charts"> </div> #{set 'script'} <script type="text/javascript" src="#{static-path '/public/js/d3.v2.js' /}"></script> <script type="text/javascr...
mustpax/sortmybox
app/views/Admin/usageStats.html
HTML
bsd-2-clause
479
<?php /** * This file is part of the PHP Generics package. * * @package Generics */ namespace Generics\Streams; use Generics\Streams\Interceptor\StreamInterceptor; use Countable; /** * This class provides a stream for standard output * * @author Maik Greubel <greubel@nkey.de> */ class StandardOutputStream imp...
maikgreubel/phpgenerics
src/Generics/Streams/StandardOutputStream.php
PHP
bsd-2-clause
2,960
{% include base_path %} <meta charset="utf-8"> {% include seo.html %} <link href="{{ base_path }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed"> <!-- http://t.co/dKP3o1e --> <meta name="HandheldFriendly" content="True"> <meta name="MobileOptimized" content="320"> <meta name="vi...
genomearchitect/genomearchitect.github.io
_includes/head.html
HTML
bsd-2-clause
1,002
# Copyright (c) 2003-present, Jodd Team (http://jodd.org) # 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...
vilmospapp/jodd
jodd-core/src/main/python/ConvertBean.py
Python
bsd-2-clause
4,825
package com.kbsriram.keypan.core; import java.io.IOException; import java.io.Reader; import java.util.regex.Pattern; public final class CUtils { public final static String byte2hex(byte[] b) { StringBuilder sb = new StringBuilder(); for (int i=0; i<b.length; i++) { int v = b[i] & 0...
kbsriram/keypan
src/core/com/kbsriram/keypan/core/CUtils.java
Java
bsd-2-clause
3,841
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2013-2015 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
sarbi127/inviwo
include/inviwo/qt/editor/inviwoqteditordefine.h
C
bsd-2-clause
2,133
package cs499blue.models; import cs499blue.algorithms.Distance; /** * author: vwilson * date: 4/1/14 */ public class Edge { private Vertex a, b; public Edge(Vertex a, Vertex b) { this.a = a; this.b = b; } public Vertex getA() { return a; } public Vertex getB() { ...
vwilson/CS499-Shortest-Path
CS499/src/main/java/cs499blue/models/Edge.java
Java
bsd-2-clause
887
{% ifequal user.id comment.user_id %} <div type="vuln" name="ifequal_if_vulnerability"> {{ ifequal_if_vulnerability | safe }} </div> {% else %} <div type="vuln" name="ifequal_else_vulnerability"> {{ ifequal_else_vulnerability | safe }} </div> {% endifequal %} {% ifnotequal user.id comment.user_id %} <div typ...
dbaxa/django_xss_detection
django_xss_detection/test_templates/tags/ifequal.html
HTML
bsd-2-clause
586
var express = require('express'); var router = express.Router(); /* GET home page. */ router.get('/', function(req, res, next) { res.render('index', { title: 'Express' }); }); router.get('/socket', function(req, res, next){ res.render('socket', {title: 'socket.io test'}) }); module.exports = router;
wushuyi/newClassSystem
server/routes/index.js
JavaScript
bsd-2-clause
309
#ifndef SHS_2605_BALL_PICKUP_BEHAVIOR_H #define SHS_2605_BALL_PICKUP_BEHAVIOR_H #include "WPILib.h" #include "Behaviors/Behavior.h" #include "Util/Delegate.h" #include "Controls/NumericStepper.h" #include "SubSystems/MecanumDrive.h" #include "SubSystems/ShooterBelts.h" #include "SubSystems/CollectorArms.h" #includ...
OutOfTheVoid/FRC-2605-Robot-Code-2014
src/BallPickupBehavior.h
C
bsd-2-clause
1,501
#!/usr/bin/env python # # :copyright: (c) 2013 by Mike Taylor # :author: Mike Taylor # :license: BSD 2-Clause # # See LICENSE file for details # import os import time import json import argparse import pyrax _data_centers = [ 'DFW', 'ORD' ] _commands = [ 'list' ] _config_file = '~/.rackspace....
bear/rsinfo
rsinfo.py
Python
bsd-2-clause
6,094
class PerconaServerAT56 < Formula desc "Drop-in MySQL replacement" homepage "https://www.percona.com" url "https://www.percona.com/downloads/Percona-Server-5.6/Percona-Server-5.6.37-82.2/source/tarball/percona-server-5.6.37-82.2.tar.gz" version "5.6.37-82.2" sha256 "3cf04b64c8bf5b9cc1ea1a68c54ba77a4709d9c9051...
bfontaine/homebrew-core
Formula/percona-server@5.6.rb
Ruby
bsd-2-clause
5,617
// This file was procedurally generated from the following sources: // - src/dstr-assignment/obj-id-identifier-resolution-last.case // - src/dstr-assignment/default/for-of.template /*--- description: Evaluation of DestructuringAssignmentTarget (last of many) (For..of statement) esid: sec-for-in-and-for-of-statements-ru...
sebastienros/jint
Jint.Tests.Test262/test/language/statements/for-of/dstr-obj-id-identifier-resolution-last.js
JavaScript
bsd-2-clause
1,252
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>-standard.net.ym</title> <link href="css/style.css" rel="stylesheet" type="text/css"> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" > </head> <body bgcolor="#ffffff"> <table border="0" width="100%" bgco...
Devronium/ConceptApplicationServer
core/server/Samples/CIDE/Help/-standard.net.ym.html
HTML
bsd-2-clause
23,302
/* * Copyright (c) 2014 Abdul Hannan Ahsan <abdulhannan.ahsan@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
aha0x0x/snippets
java/aha/datastructure/DoubleLinkedList.java
Java
bsd-2-clause
3,509
# Example: How to prepare a new refund with the Mollie API. # import os from mollie.api.client import Client from mollie.api.error import Error def main(): try: # # Initialize the Mollie API library with your API key. # # See: https://www.mollie.com/dashboard/settings/profiles ...
mollie/mollie-api-python
examples/11-refund-payment.py
Python
bsd-2-clause
1,522
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>archives: 2013/4 | DreamOps Success Group</title> <meta name="author" content="DreamOps Crew"> <meta name="description" content="Force.com is a remarkable platform, and we want to help take it to the next level. We have a dream. We want Salesforc...
DreamOps/dreamops.github.io
archives/2013/04/index.html
HTML
bsd-2-clause
30,713
/******************************************************************************* Copyright (c) 2016, Michael Wallner <mike@php.net>. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistribution...
m6w6/ext-psi
src/data.c
C
bsd-2-clause
7,823
class GitGui < Formula desc "Tcl/Tk UI for the git revision control system" homepage "https://git-scm.com" # NOTE: Please keep these values in sync with git.rb when updating. url "https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.31.1.tar.xz" sha256 "9f61417a44d5b954a5012b6f34e526a3336dcf5dd720e2bb7a...
cblecker/homebrew-core
Formula/git-gui.rb
Ruby
bsd-2-clause
2,119
/*! * Bootstrap v2.3.2 * * Copyright 2012 Twitter, Inc * Licensed under the Apache License v2.0 * http://www.apache.org/licenses/LICENSE-2.0 * * Designed and built with all the love in the world @twitter by @mdo and @fat. * * Modification: print style removed */ .clearfix { *zoom: 1; } .clearfix:before, ....
smilix/StockViewer
web/lib/bootstrap/css/bootstrap-mod.css
CSS
bsd-2-clause
126,610
using System; using System.Collections.Generic; using System.Collections.ObjectModel; namespace Free.Controls.TreeView.Tree { /// <summary> /// Provides a simple ready to use implementation of <see cref="ITreeModel"/>. Warning: this class is not optimized /// to work with big amount of data. In this case create yo...
shintadono/Free.Controls.TreeView
Tree/TreeModel.cs
C#
bsd-2-clause
2,834
/* * Copyright (c) 2012, JInterval Project. * 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 o...
jinterval/jinterval
jinterval-field/src/main/java/net/java/jinterval/field/RationalField.java
Java
bsd-2-clause
2,936
delete from citation where Fine_Amount = 0; delete from timepay where Fine_Amount = 0; delete from citation_cart_temp where ct_date < CURDATE(); delete from timepay_cart_temp where ct_date < CURDATE();
nanddev/court-bankruptcy
scripts/clean.sql
SQL
bsd-2-clause
203
# -*- coding: utf-8 -*- # This code is distributed under the two-clause BSD license. # Copyright (c) 2012-2013 Raphaël Barrois from __future__ import absolute_import, unicode_literals import logging from django.core import exceptions from django.db import models from . import conf PERM_USER = 'user' PERM_GROUP_...
Polytechnique-org/django-authgroupex
django_authgroupex/auth.py
Python
bsd-2-clause
8,966
// Copyright (C) 2017 Robin Templeton. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- description: Octal BigInt literal containing an invalid digit esid: prod-NumericLiteral info: | NumericLiteral :: NumericLiteralBase NumericLiteralSuffix NumericLiteralBase ...
sebastienros/jint
Jint.Tests.Test262/test/language/literals/bigint/octal-invalid-digit.js
JavaScript
bsd-2-clause
578
cask 'onedrive' do version '17.3.6945.0724' sha256 '5285b60a8f81f820ff7e7ad1e9177520e0b1394901f301e7da3a3258962537be' # oneclient.sfx.ms/Mac/Direct was verified as official when first introduced to the cask url "https://oneclient.sfx.ms/Mac/Direct/#{version}/OneDrive.pkg" name 'OneDrive' homepage 'https://...
syscrusher/homebrew-cask
Casks/onedrive.rb
Ruby
bsd-2-clause
2,181
#!/usr/bin/env python from __future__ import print_function import json import logging from .taxon_concept_node import TaxonConceptSemNode from .verbatim_name import VerbatimSemNode from .names_for_ranks import (GenusGroupSemNode, HigherGroupSemNode, Specimen...
mtholder/taxalotl
taxalotl/sem_graph/graph.py
Python
bsd-2-clause
13,901
import codecs import six from builtins import super from builtins import range import struct import time class InvalidPacketError(Exception): pass class BootloaderError(Exception): pass class BootloaderTimeoutError(BootloaderError): pass # TODO: Implement Security key functionality class BootloaderK...
arachnidlabs/cyflash
cyflash/protocol.py
Python
bsd-2-clause
15,768
#include "stdafx.h" #include "Group.h" #include "GapSpring.h" #include "ComponentSpring.h" namespace scv { Group *Group::addGroup(Group *group) { return addSpring(group); } Group *Group::addComponent(Component *component) { return addComponent(component, Spring::DEFAULT_SIZE, Spring::DEFAULT_SIZE...
yuriks/SCV
SCV/src/Group.cpp
C++
bsd-2-clause
3,173
package io.ifar.security.realm; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.Arrays; /** * Project: security * DefaultUserImpl: ezra * Date: 4/3/13 */ public class TestJdbiShiroRealm2 extends TestJdbiShiroRealm { private static final Logger LOG = LoggerFactory.getLogger(TestJdbi...
Multifarious/shiro-jdbi-realm
src/test/java/io/ifar/security/realm/TestJdbiShiroRealm2.java
Java
bsd-2-clause
840
// This file was procedurally generated from the following sources: // - src/dstr-binding/obj-init-null.case // - src/dstr-binding/error/gen-meth.template /*--- description: Value specifed for object binding pattern must be object coercible (null) (generator method) esid: sec-generator-function-definitions-runtime-sema...
sebastienros/jint
Jint.Tests.Test262/test/language/expressions/object/dstr-gen-meth-obj-init-null.js
JavaScript
bsd-2-clause
1,850
using System; using System.Collections.Generic; using System.Text; using System.Drawing.Printing; using System.ComponentModel; using WebKit.Interop; using System.Drawing; using System.Windows.Forms; namespace WebKit { internal class PrintManager { private PrintDocument _document; ...
windygu/webkitdotnet
WebKitBrowser/PrintManager.cs
C#
bsd-2-clause
2,909
// TestProgressDialog.java // See copyright.txt for license and terms of use. package util.swing; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.concurrent.ExecutionException; import javax.swing.Box; import javax.swing.JButton; import javax.swing.JCheckBox; import javax.swi...
smcpeak/earthshape
src/util/swing/TestProgressDialog.java
Java
bsd-2-clause
7,571
//----------------------------------------------------------------------- // <auto-generated /> //----------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Text; using FlubuCore.Context; using FlubuCore.Tasks; using FlubuCore.Tasks.Attributes; ...
flubu-core/flubu.core
src/FlubuCore/Tasks/Docker/Swarm/DockerSwarmCaTask.cs
C#
bsd-2-clause
2,948
package moe.nightfall.srails.common.block.property import net.minecraft.block.properties.PropertyDirection object PropertyRotatable { final val ROTATION = PropertyDirection.create("facing") }
Nightfall/SRails
src/main/scala/moe/nightfall/srails/common/block/property/PropertyRotatable.scala
Scala
bsd-2-clause
196
//==================================================================================== //DynamicRepresentation.cpp // //This code is part of Anubis Engine. // //Anubis Engine is a free game engine created as a fan project to be //awesome platform for developing games! // //All sources can be found here: // https://gith...
Solidstatewater/Anubis-Engine
Scene/Source/Representations/DynamicRepresentation.cpp
C++
bsd-2-clause
3,047
""" Django settings for d3matt project. For more information on this file, see https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) imp...
d3matt/d3matt.com
src/d3matt/d3matt/settings.py
Python
bsd-2-clause
2,826
Proffer [![Build Status](https://secure.travis-ci.org/hudge/proffer.png?branch=master)](http://travis-ci.org/hudge/proffer) ======= A module to stop Action Controller from copying every instance variable available to an action to the view by default. Instead, Proffer provides a way to explicitly expose values as local...
hudge/proffer
README.md
Markdown
bsd-2-clause
2,404
# frozen_string_literal: true # See LICENSE.txt at root of repository # GENERATED FILE - DO NOT EDIT!! require 'ansible/ruby/modules/base' module Ansible module Ruby module Modules # Create, destroy, or update access groups on Element Software Cluster. class Na_elementsw_access_group < Base #...
wied03/ansible-ruby
lib/ansible/ruby/modules/generated/storage/netapp/na_elementsw_access_group.rb
Ruby
bsd-2-clause
1,981
package com.github.aview.api.mobile; /* * #%L * iview-api * %% * Copyright (C) 2013 The aview authors * %% * 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...
aviewdevs/aview
iview-api/src/main/java/com/github/aview/api/mobile/MobileSeries.java
Java
bsd-2-clause
4,784
#ifndef WIDELOAD_CLI_H #define WIDELOAD_CLI_H #include <stdio.h> typedef struct { /* required arguments */ const char* url_filename; /* optional arguments */ unsigned long concurrency; unsigned long run_seconds; unsigned long run_requests; unsigned long fail_after; unsigned lon...
dcrosta/wideload
cli.h
C
bsd-2-clause
542
/************************************************************************ * * Flood Project © (2008-201x) * Licensed under the simplified BSD license. All rights reserved. * ************************************************************************/ #include "Engine/API.h" #include "Engine/Input/InputManager.h" ...
FloodProject/flood
src/Engine/Input/InputManager.cpp
C++
bsd-2-clause
1,203
class CreateApiKeys < ActiveRecord::Migration def change create_table :api_keys do |t| t.string :access_token t.references :user t.timestamps end add_index :api_keys, :user_id add_index :api_keys, :access_token end end
brewbit/brewbit-dashboard
db/migrate/20140104214015_create_api_keys.rb
Ruby
bsd-2-clause
258
class Links < Formula desc "Lynx-like WWW browser that supports tables, menus, etc." homepage "http://links.twibright.com/" url "http://links.twibright.com/download/links-2.14.tar.bz2" sha256 "f70d0678ef1c5550953bdc27b12e72d5de86e53b05dd59b0fc7f07c507f244b8" revision 1 bottle do cellar :any sha256 ...
robohack/homebrew-core
Formula/links.rb
Ruby
bsd-2-clause
2,014
namespace DeOps.Services.Profile { partial class ProfileView { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
swax/DeOps
UI/Services/Profile/ProfileView.Designer.cs
C#
bsd-2-clause
3,654
// Copyright 2015-2019 Elviss Strazdins. All rights reserved. #ifndef OUZEL_GRAPHICS_D3D11RENDERTARGET_HPP #define OUZEL_GRAPHICS_D3D11RENDERTARGET_HPP #include "core/Setup.h" #if OUZEL_COMPILE_DIRECT3D11 #include <d3d11.h> #include <set> #include <vector> #include "graphics/direct3d11/D3D11RenderResource.hpp" #inc...
elvman/ouzel
ouzel/graphics/direct3d11/D3D11RenderTarget.hpp
C++
bsd-2-clause
1,409
#ifndef __MONO_NATIVE_MSCORLIB_SYSTEM_TYPE_H #define __MONO_NATIVE_MSCORLIB_SYSTEM_TYPE_H #include <mscorlib/System/Reflection/mscorlib_System_Reflection_MemberInfo.h> #include <mscorlib/System/Reflection/mscorlib_System_Reflection_ICustomAttributeProvider.h> #include <mscorlib/System/Runtime/InteropServices/mscorlib_...
brunolauze/MonoNative
MonoNative/mscorlib/System/mscorlib_System_Type.h
C
bsd-2-clause
37,925
#include "evas_gl_private.h" void evas_gl_common_rect_draw(Evas_GL_Context *gc, int x, int y, int w, int h) { Cutout_Rects *rects; Cutout_Rect *r; int c, cx, cy, cw, ch, cr, cg, cb, ca, i; if ((w <= 0) || (h <= 0)) return; if (!(RECTS_INTERSECT(x, y, w, h, 0, 0, gc->w, gc->h))) return; ...
nashidau/Evas-Next
src/modules/engines/gl_common/evas_gl_rectangle.c
C
bsd-2-clause
1,940
class Libxmlxx3 < Formula desc "C++ wrapper for libxml" homepage "https://libxmlplusplus.sourceforge.io/" url "https://download.gnome.org/sources/libxml++/3.2/libxml++-3.2.0.tar.xz" sha256 "b786fae7fd7820d356698069a787d107995c3efcbef50d8f4efd3766ab768e4f" license "LGPL-2.1" bottle do cellar :any sh...
rwhogg/homebrew-core
Formula/libxml++3.rb
Ruby
bsd-2-clause
2,170
module VCLog require 'vclog/core_ext' require 'vclog/changelog' require 'vclog/tag' require 'vclog/release' require 'erb' # A Release History is very similar to a ChangeLog. # It differs in that it is divided into releases with # version, release date and release note. # # The release version, dat...
rubyworks/vclog
work/deprecated/history.rb
Ruby
bsd-2-clause
3,524
(function() { var LOAD_TIMEOUT = 60000; var PLAY_BUTTON = [0, 173, 0]; var PAUSE_BUTTON = [0, 172, 1]; // Code taken from BurninRubber-v0.js. function childAtPath(path) { var child = ((window.game || {}).stage) || {}; path.forEach((x) => child = ((child || {}).children || [])[x]); return child |...
unixpickle/muniverse
games/injections/BirdyRush-v0.js
JavaScript
bsd-2-clause
1,488
#ifndef ANNA_BUFFER_H #define ANNA_BUFFER_H struct anna_stack_template; anna_object_t *anna_buffer_create(void); void anna_buffer_set(struct anna_object *this, ssize_t offset, unsigned char value); unsigned char anna_buffer_get(anna_object_t *this, ssize_t offset); size_t anna_buffer_get_count(anna_object_t *this)...
liljencrantz/anna
include/anna/lib/lang/buffer.h
C
bsd-2-clause
672
//package com.pineone.icbms.so.servicemodel; // //import com.pineone.icbms.so.domain.entity.Domain; //import com.pineone.icbms.so.service.ref.DeviceObject; //import com.pineone.icbms.so.service.ref.Status; //import com.pineone.icbms.so.service.ref.VirtualObject; //import com.pineone.icbms.so.servicemodel.logic.ServiceM...
oblivion14/SO
so-servicemodel/src/test/java/com/pineone/icbms/so/servicemodel/ServiceModelExecuteTest.java
Java
bsd-2-clause
1,696
package com.atlassian.jira.plugins.dvcs.listener; import com.atlassian.crowd.embedded.api.CrowdService; import com.atlassian.crowd.embedded.api.UserWithAttributes; import com.atlassian.crowd.event.user.UserAttributeStoredEvent; import com.atlassian.crowd.exception.OperationNotPermittedException; import com.atlas...
edgehosting/jira-dvcs-connector
jira-dvcs-connector-plugin/src/main/java/com/atlassian/jira/plugins/dvcs/listener/DvcsAddUserListener.java
Java
bsd-2-clause
10,226
/* * Copyright (c) 2018, PandahRS <https://github.com/PandahRS> * 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,...
KronosDesign/runelite
runelite-client/src/main/java/net/runelite/client/plugins/discord/DiscordAreaType.java
Java
bsd-2-clause
1,506
// This file was procedurally generated from the following sources: // - src/function-forms/dflt-params-arg-val-undefined.case // - src/function-forms/default/async-func-expr-named.template /*--- description: Use of initializer when argument value is `undefined` (async function named expression) esid: sec-async-functio...
sebastienros/jint
Jint.Tests.Test262/test/language/expressions/async-function/named-dflt-params-arg-val-undefined.js
JavaScript
bsd-2-clause
1,404
@import url('//fonts.googleapis.com/css?family=Noto+Sans&subset=latin,latin-ext'); header, footer, nav, section { display: block; } /* Styles for basic forms -----------------------------------------------------------*/ textarea { min-height: 75px; } /* Flat UI overrides -----------------------------------------...
dgg/NMoneys.Web
src/Web/Content/Site.css
CSS
bsd-2-clause
3,516
#include "parseklib.h" #include <sys/socket.h> #include <sys/time.h> #include <sys/times.h> #include <sys/types.h> #include <sys/sysinfo.h> #include <sys/timex.h> #include <sys/quota.h> #define __USE_LARGEFILE64 #include <sys/stat.h> #include <signal.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #inclu...
endplay/omniplay
test/parseklib.c
C
bsd-2-clause
46,204
TinyOSCore.exe 1568 scott8.txt scott8.txt scott8.txt
shanselman/TinyOS
Sample Programs/testLocks.bat
Batchfile
bsd-2-clause
52
c--------------------------------------------------------------------- c--------------------------------------------------------------------- subroutine rhs c--------------------------------------------------------------------- c--------------------------------------------------------------------- c----------...
wilseypa/llamaOS
src/apps/NPB3.2-MPI/LU/rhs.f
FORTRAN
bsd-2-clause
18,628
<!-- @license Copyright (c) 2014 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors m...
kbwatts/polymer-survey
uq-survey/transitions.html
HTML
bsd-2-clause
9,425
class HapiFhirCli < Formula desc "Command-line interface for the HAPI FHIR library" homepage "https://hapifhir.io/" url "https://github.com/hapifhir/hapi-fhir/releases/download/v5.4.0/hapi-fhir-5.4.0-cli.zip" sha256 "142022d1d5b1d849e9a894bac0a8269bfccf3be4b1364b3eaeb685c588966995" license "Apache-2.0" liv...
Linuxbrew/homebrew-core
Formula/hapi-fhir-cli.rb
Ruby
bsd-2-clause
1,080
""" Copyright (c) 2013 The Regents of the University of California, AMERICAN INSTITUTES FOR RESEARCH 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 abo...
CSSIP-AIR/PatentsProcessor
start.py
Python
bsd-2-clause
7,205
// C++ General Utility Library (mailto:cgul@zethes.com) // Copyright (C) 2012-2014, Joshua Brookover and Amber Thrall // All rights reserved. /** @file SocketTCP.hpp */ #pragma once // Configuration #include <CGUL/Config.hpp> // CGUL Includes #include "../Network/IPAddress.hpp" #include "../Utility/String.hpp" //...
Zethes/CGUL
src/CGUL/Network/SocketTCP.hpp
C++
bsd-2-clause
2,209
/** ****************************************************************************** * File Name : stm32l0xx_hal_msp.c * Description : This file provides code for the MSP Initialization * and de-Initialization codes. *********************************************************...
tyskink/STM32_Project
STM32L0_Start/Start1/Src/stm32l0xx_hal_msp.c
C
bsd-2-clause
8,121
import json import re from kqml import KQMLString from .kqml_list import KQMLList from .kqml_token import KQMLToken from .kqml_exceptions import KQMLException class CLJsonConverter(object): def __init__(self, token_bools=False): self.token_bools = token_bools def cl_from_json(self, json_obj): ...
bgyori/pykqml
kqml/cl_json.py
Python
bsd-2-clause
6,768
package transform import "github.com/twpayne/go-geom" // UniqueCoords creates a new coordinate array (with the same layout as the inputs) that // contains each unique coordinate in the coordData. The ordering of the coords are the // same as the input. func UniqueCoords(layout geom.Layout, compare Compare, coordData...
twpayne/go-geom
transform/transform.go
GO
bsd-2-clause
740
import csv import os from json import loads from os.path import exists from old.project import CassandraInsert from old.project import CassandraUtils cassandra = CassandraUtils() QTD_STS_KEY = 'quotedStatus' RTD_STS_KEY = 'retweetedStatus' MT_STS_KEY = 'userMentionEntities' def check_mention_entities(tweet): r...
jblupus/PyLoyaltyProject
old/project/integration/to_files2.py
Python
bsd-2-clause
7,009
# Taps (third-party repositories) `brew tap` adds more repositories to the list of formulae that `brew` tracks, updates, and installs from. By default, `tap` assumes that the repositories come from GitHub, but the command isn't limited to any one location. ## The command (`brew tap`) * `brew tap` without arguments l...
DomT4/brew
docs/Taps.md
Markdown
bsd-2-clause
3,684