repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
ir-g/ir-g.github.io | _posts/2018-02-06-east-coast-getting-the-dor.md | 1715 | ---
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... | artistic-2.0 |
GlowstoneMC/glowstonemc.github.io | content/jd/glowkit/1.17/org/bukkit/configuration/file/package-tree.html | 6518 | <!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... | artistic-2.0 |
srcx/shttpd | thread_mgr.c | 3871 | /* 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 ... | artistic-2.0 |
Us3rNam/F2F-Network | Register.py | 398 | #!/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... | artistic-2.0 |
speakeasy/SKYEngine | src/com/speakeasy/skyengine/resources/io/lzma/streams/cs/CoderOutputStream.java | 2095 | /*
* 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... | artistic-2.0 |
mkelley64/MCBS913-A3 | README.md | 110 | MCBS913-A3
==========
Created for MCBS-913 (Bioinformatics) at the University of New Hampshire [Spring 2014]
| artistic-2.0 |
PapenfussLab/Mungo | mungo/hmmer.py | 15959 | """
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... | artistic-2.0 |
f3l/openid-server-app | perl-lib/org/lockaby/id/handler/endpoint.pm | 4328 | #!/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 = ... | artistic-2.0 |
plainblack/Wing | author.t/tenant_files/dbicdh/MySQL/deploy/1/001-auto-__VERSION.sql | 473 | --
-- 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 ... | artistic-2.0 |
SWI-Prolog/packages-real | doc/r..eal.html | 12721 | <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... | artistic-2.0 |
chaomodus/ddatedtime | qulawk/c/qulawk.c | 320 | #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);
}
| artistic-2.0 |
BusinessPi/businesspi.github.io | video-parousiasi-businesspi-greeklug.html | 16233 | <!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... | artistic-2.0 |
reteo/CustomOreGen | src/api/java/ttftcuts/atg/api/ATGBiomes.java | 9346 | 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 ... | artistic-2.0 |
sonoprob/0x56 | bot/py/ircoscbot.py | 3668 | #! /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_... | artistic-2.0 |
ChIna-king-Arthur/MFC | cow2/TeeChartAPI/printer.cpp | 5140 | // 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"
////////////////////////////////////////////... | artistic-2.0 |
reepblue/SourceSDKContent | SDK2013/Template/client/template/c_baseglowanimating.h | 1320 | //=========== 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... | artistic-2.0 |
ugexe/rakudo | src/core/Str.pm | 79321 | 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 { # ... | artistic-2.0 |
KalinaRain/MyWorkSpace | pmdetection/src/main/java/com/work/pm25/Utility.java | 2771 | 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)... | artistic-2.0 |
el-germi/industrial-robot | src/main/java/com/germi/indrob/utility/UtilityExtension.java | 619 | 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.... | artistic-2.0 |
kmddev/imgix.js | src/xpath.js | 1664 | '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... | bsd-2-clause |
orlenko/sfpirg | mezzanine/calendar/migrations/0006_auto__add_field_event_location__add_field_event_link_url.py | 12037 | # -*- 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('... | bsd-2-clause |
nahratzah/monsoon_plus_plus | intf/include/monsoon/interpolate.h | 1173 | #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... | bsd-2-clause |
Pushjet/Pushjet-Android | gradle/wrapper/dists/gradle-1.12-all/4ff8jj5a73a7zgj5nnzv1ubq0/gradle-1.12/docs/groovydoc/org/gradle/api/artifacts/dsl/ArtifactHandler.html | 11848 | <!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. *... | bsd-2-clause |
ahoka/esrtk | BsdEthernet/sys/cdrio.h | 5010 | /*-
* 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
* ... | bsd-2-clause |
MasterAlish/django-ma-settings | ma_settings/master_settings.py | 1876 | 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... | bsd-2-clause |
mindbody/API-Examples | SDKs/Python/test/test_get_session_types_request.py | 1006 | # 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... | bsd-2-clause |
brunolauze/MonoNative | MonoNative/mscorlib/System/Reflection/mscorlib_System_Reflection_AssemblySignatureKeyAttribute.h | 3274 | #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/... | bsd-2-clause |
gdey/go-challange-battleship | battleship/ship_type.go | 1552 | 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] ... | bsd-2-clause |
wyc/utwil | call_test.go | 584 | 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... | bsd-2-clause |
hrkfdn/pyle | templates/dirlist.html | 807 | {% 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;">
... | bsd-2-clause |
maxeler/Brain-Network | APP/CPUCode/gui/src/com/maxeler/brainnetwork/gui/ComputeButton.java | 2215 | /*********************************************************************
* Maxeler Technologies: BrainNetwork *
* *
* Version: 1.2 *
* Date: 05 July 2013 ... | bsd-2-clause |
mustpax/sortmybox | app/views/Admin/usageStats.html | 479 | #{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... | bsd-2-clause |
maikgreubel/phpgenerics | src/Generics/Streams/StandardOutputStream.php | 2960 | <?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... | bsd-2-clause |
genomearchitect/genomearchitect.github.io | _includes/head.html | 1002 | {% 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... | bsd-2-clause |
vilmospapp/jodd | jodd-core/src/main/python/ConvertBean.py | 4825 | # 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... | bsd-2-clause |
kbsriram/keypan | src/core/com/kbsriram/keypan/core/CUtils.java | 3841 | 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... | bsd-2-clause |
sarbi127/inviwo | include/inviwo/qt/editor/inviwoqteditordefine.h | 2133 | /*********************************************************************************
*
* 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... | bsd-2-clause |
vwilson/CS499-Shortest-Path | CS499/src/main/java/cs499blue/models/Edge.java | 887 | 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() {
... | bsd-2-clause |
dbaxa/django_xss_detection | django_xss_detection/test_templates/tags/ifequal.html | 586 | {% 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... | bsd-2-clause |
wushuyi/newClassSystem | server/routes/index.js | 309 | 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;
| bsd-2-clause |
OutOfTheVoid/FRC-2605-Robot-Code-2014 | src/BallPickupBehavior.h | 1501 | #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... | bsd-2-clause |
bear/rsinfo | rsinfo.py | 6094 | #!/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.... | bsd-2-clause |
bfontaine/homebrew-core | Formula/percona-server@5.6.rb | 5617 | 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... | bsd-2-clause |
sebastienros/jint | Jint.Tests.Test262/test/language/statements/for-of/dstr-obj-id-identifier-resolution-last.js | 1252 | // 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... | bsd-2-clause |
Devronium/ConceptApplicationServer | core/server/Samples/CIDE/Help/-standard.net.ym.html | 23302 | <!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... | bsd-2-clause |
aha0x0x/snippets | java/aha/datastructure/DoubleLinkedList.java | 3509 | /*
* 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
... | bsd-2-clause |
mollie/mollie-api-python | examples/11-refund-payment.py | 1522 | # 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
... | bsd-2-clause |
DreamOps/dreamops.github.io | archives/2013/04/index.html | 30713 | <!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... | bsd-2-clause |
m6w6/ext-psi | src/data.c | 7823 | /*******************************************************************************
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... | bsd-2-clause |
cblecker/homebrew-core | Formula/git-gui.rb | 2119 | 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... | bsd-2-clause |
smilix/StockViewer | web/lib/bootstrap/css/bootstrap-mod.css | 126610 | /*!
* 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,
.... | bsd-2-clause |
shintadono/Free.Controls.TreeView | Tree/TreeModel.cs | 2834 | 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... | bsd-2-clause |
jinterval/jinterval | jinterval-field/src/main/java/net/java/jinterval/field/RationalField.java | 2936 | /*
* 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... | bsd-2-clause |
nanddev/court-bankruptcy | scripts/clean.sql | 203 | 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();
| bsd-2-clause |
Polytechnique-org/django-authgroupex | django_authgroupex/auth.py | 8966 | # -*- 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_... | bsd-2-clause |
sebastienros/jint | Jint.Tests.Test262/test/language/literals/bigint/octal-invalid-digit.js | 578 | // 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 ... | bsd-2-clause |
syscrusher/homebrew-cask | Casks/onedrive.rb | 2181 | 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://... | bsd-2-clause |
mtholder/taxalotl | taxalotl/sem_graph/graph.py | 13901 | #!/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... | bsd-2-clause |
arachnidlabs/cyflash | cyflash/protocol.py | 15768 | 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... | bsd-2-clause |
yuriks/SCV | SCV/src/Group.cpp | 3173 | #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... | bsd-2-clause |
Multifarious/shiro-jdbi-realm | src/test/java/io/ifar/security/realm/TestJdbiShiroRealm2.java | 840 | 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... | bsd-2-clause |
sebastienros/jint | Jint.Tests.Test262/test/language/expressions/object/dstr-gen-meth-obj-init-null.js | 1850 | // 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... | bsd-2-clause |
windygu/webkitdotnet | WebKitBrowser/PrintManager.cs | 2909 | 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;
... | bsd-2-clause |
smcpeak/earthshape | src/util/swing/TestProgressDialog.java | 7571 | // 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... | bsd-2-clause |
flubu-core/flubu.core | src/FlubuCore/Tasks/Docker/Swarm/DockerSwarmCaTask.cs | 2948 | //-----------------------------------------------------------------------
// <auto-generated />
//-----------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using FlubuCore.Context;
using FlubuCore.Tasks;
using FlubuCore.Tasks.Attributes;
... | bsd-2-clause |
Nightfall/SRails | src/main/scala/moe/nightfall/srails/common/block/property/PropertyRotatable.scala | 196 | package moe.nightfall.srails.common.block.property
import net.minecraft.block.properties.PropertyDirection
object PropertyRotatable {
final val ROTATION = PropertyDirection.create("facing")
}
| bsd-2-clause |
Solidstatewater/Anubis-Engine | Scene/Source/Representations/DynamicRepresentation.cpp | 3047 | //====================================================================================
//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... | bsd-2-clause |
d3matt/d3matt.com | src/d3matt/d3matt/settings.py | 2826 | """
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... | bsd-2-clause |
hudge/proffer | README.md | 2404 | Proffer [](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... | bsd-2-clause |
wied03/ansible-ruby | lib/ansible/ruby/modules/generated/storage/netapp/na_elementsw_access_group.rb | 1981 | # 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
#... | bsd-2-clause |
aviewdevs/aview | iview-api/src/main/java/com/github/aview/api/mobile/MobileSeries.java | 4784 |
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... | bsd-2-clause |
dcrosta/wideload | cli.h | 542 | #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... | bsd-2-clause |
FloodProject/flood | src/Engine/Input/InputManager.cpp | 1203 | /************************************************************************
*
* Flood Project © (2008-201x)
* Licensed under the simplified BSD license. All rights reserved.
*
************************************************************************/
#include "Engine/API.h"
#include "Engine/Input/InputManager.h"
... | bsd-2-clause |
brewbit/brewbit-dashboard | db/migrate/20140104214015_create_api_keys.rb | 258 | 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
| bsd-2-clause |
robohack/homebrew-core | Formula/links.rb | 2014 | 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 ... | bsd-2-clause |
swax/DeOps | UI/Services/Profile/ProfileView.Designer.cs | 3654 | 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>
... | bsd-2-clause |
elvman/ouzel | ouzel/graphics/direct3d11/D3D11RenderTarget.hpp | 1409 | // 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... | bsd-2-clause |
brunolauze/MonoNative | MonoNative/mscorlib/System/mscorlib_System_Type.h | 37925 | #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_... | bsd-2-clause |
nashidau/Evas-Next | src/modules/engines/gl_common/evas_gl_rectangle.c | 1940 | #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;
... | bsd-2-clause |
rwhogg/homebrew-core | Formula/libxml++3.rb | 2170 | 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... | bsd-2-clause |
rubyworks/vclog | work/deprecated/history.rb | 3524 | 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... | bsd-2-clause |
unixpickle/muniverse | games/injections/BirdyRush-v0.js | 1488 | (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 |... | bsd-2-clause |
liljencrantz/anna | include/anna/lib/lang/buffer.h | 672 |
#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)... | bsd-2-clause |
oblivion14/SO | so-servicemodel/src/test/java/com/pineone/icbms/so/servicemodel/ServiceModelExecuteTest.java | 1696 | //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... | bsd-2-clause |
edgehosting/jira-dvcs-connector | jira-dvcs-connector-plugin/src/main/java/com/atlassian/jira/plugins/dvcs/listener/DvcsAddUserListener.java | 10226 | 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... | bsd-2-clause |
KronosDesign/runelite | runelite-client/src/main/java/net/runelite/client/plugins/discord/DiscordAreaType.java | 1506 | /*
* 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,... | bsd-2-clause |
sebastienros/jint | Jint.Tests.Test262/test/language/expressions/async-function/named-dflt-params-arg-val-undefined.js | 1404 | // 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... | bsd-2-clause |
dgg/NMoneys.Web | src/Web/Content/Site.css | 3516 | @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
-----------------------------------------... | bsd-2-clause |
endplay/omniplay | test/parseklib.c | 46204 | #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... | bsd-2-clause |
shanselman/TinyOS | Sample Programs/testLocks.bat | 52 | TinyOSCore.exe 1568 scott8.txt scott8.txt scott8.txt | bsd-2-clause |
wilseypa/llamaOS | src/apps/NPB3.2-MPI/LU/rhs.f | 18628 |
c---------------------------------------------------------------------
c---------------------------------------------------------------------
subroutine rhs
c---------------------------------------------------------------------
c---------------------------------------------------------------------
c----------... | bsd-2-clause |
kbwatts/polymer-survey | uq-survey/transitions.html | 9425 |
<!--
@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... | bsd-2-clause |
Linuxbrew/homebrew-core | Formula/hapi-fhir-cli.rb | 1080 | 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... | bsd-2-clause |
CSSIP-AIR/PatentsProcessor | start.py | 7205 | """
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... | bsd-2-clause |
Zethes/CGUL | src/CGUL/Network/SocketTCP.hpp | 2209 | // 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"
//... | bsd-2-clause |
tyskink/STM32_Project | STM32L0_Start/Start1/Src/stm32l0xx_hal_msp.c | 8121 | /**
******************************************************************************
* File Name : stm32l0xx_hal_msp.c
* Description : This file provides code for the MSP Initialization
* and de-Initialization codes.
*********************************************************... | bsd-2-clause |
bgyori/pykqml | kqml/cl_json.py | 6768 | 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):
... | bsd-2-clause |
twpayne/go-geom | transform/transform.go | 740 | 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... | bsd-2-clause |
jblupus/PyLoyaltyProject | old/project/integration/to_files2.py | 7009 | 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... | bsd-2-clause |
DomT4/brew | docs/Taps.md | 3684 | # 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... | bsd-2-clause |