repo_name stringlengths 8 58 | path stringlengths 4 186 | size stringlengths 2 6 | content stringlengths 12 215k | license stringclasses 3
values |
|---|---|---|---|---|
imgag/ngs-bits | spec/map-queries-spec.js | 2473 | import { ExtraGlamorousProps } from './glamorous-component'
import {
ViewProperties,
TextStyle,
ViewStyle,
ImageStyle,
TextInputProperties,
ImageProperties,
ScrollViewProps,
TextProperties,
TouchableHighlightProperties,
TouchableNativeFeedbackProperties,
TouchableOpacityProperties,
TouchableWit... | mit |
peterlanoie/aspnet-mvc-slack | worker/deps/openssl/openssl/crypto/whrlpool/wp_block.c | 4525 | {% extends "base.html" %}
{% block content %}
<h1>{{ question.question_text }}</h1>
{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}
<form action="{% url 'polls:vote' question.id %}" method="post">
{% csrf_token %}
{% for choice in question.choice_set.all %}
<input type="radio" name="c... | mit |
KlishGroup/prose-pogs | contrib/CR3BP/test_run_CR3BP.py | 813 | <a href="/article/{{post.pk}}">
<div class="search-result post {{post.primary_section}}">
<span class="primary">{{ post.title }}</span>
<div class="metadata">
<span class="date">{{post.published | date:"F j, Y"}}</span>
{% for author in post.creators %}
{% if ... | mit |
mshick/velvet | src/main/scala/me/breidenbach/asyncmailer/MailerException.scala | 972 | /**
* React Starter Kit (https://www.reactstarterkit.com/)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import React from 'react';
import {connect} from 'react... | isc |
perzy/slim-demo | vendor/bombayworks/zendframework1/library/Zend/Pdf/Annotation/FileAttachment.php | 36020 | (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{107:function(n,o,c){},108:function(n,o,c){},109:function(n,o,c){},110:function(n,o,c){},150:function(n,o,c){},151:function(n,o,c){}}]);
//# sourceMappingURL=styles-fa6c583b3cd626e54a0e.js.map | mit |
akonoupakis/gitflow-publisher-bower | vendor/android-tools/init/init_parser.h | 538 | # Starter Web App
This is my attempt to create a dev workflow which hot reloads client and server side changes.
Note: This is still a work in progress
## Installation
git clone xyz
rm -rf .git
npm install
gulp (npm run dev)
open http://localhost:3000
## Deployment
gulp bundle (npm run bund... | mit |
JoseGMaestre/Cupon_check | VISITEUR/README.md | 1775 | """
********************************************************************
Test file for implementation check of CR3BP library.
********************************************************************
Last update: 21/01/2022
Description
-----------
Contains a few sample orbit propagations to test the CR3BP l... | mit |
stivalet/PHP-Vulnerability-test-suite | app/loginModule/services/localstorage.js | 5520 |
def add_age
puts "How old are you?"
age = gets.chomp
puts "In 10 years you will be:"
puts age.to_i + 10
puts "In 20 years you will be:"
puts age.to_i + 20
puts "In 30 years you will be:"
puts age.to_i + 30
puts "In 40 years you will be:"
puts age.to_i + 40
end
add_age
| mit |
socialize/loopy-ios | src/demo-app/menu/menu-demo.html | 572 | <!DOCTYPE html>
<html lang="en" ng-app="App">
<head>
<meta charset="UTF-8">
<title>form</title>
<link rel="stylesheet" href="../../js/lib/bootstrap/dist/css/bootstrap.min.css">
<style>
.container {
margin-top: 30px;
}
</style>
</head>
<body ng-controller="MyCtrl">
<div class="container">
... | mit |
Leeway213/BSP-aw1689 | getebook/epub.py | 326 | package com.gmail.hexragon.gn4rBot.command.ai;
import com.gmail.hexragon.gn4rBot.managers.commands.CommandExecutor;
import com.gmail.hexragon.gn4rBot.managers.commands.annotations.Command;
import com.gmail.hexragon.gn4rBot.util.GnarMessage;
import com.google.code.chatterbotapi.ChatterBot;
import com.google.code.chatte... | mit |
FrederikS/das-blog-frontend | example.js | 3052 | /**
* Angular 2 decorators and services
*/
import { Component, OnInit, ViewEncapsulation } from '@angular/core';
import { environment } from 'environments/environment';
import { AppState } from './app.service';
/**
* App Component
* Top Level Component
*/
@Component({
selector: 'my-app',
encapsulation: ViewEn... | mit |
icyflash/ucloud-csharp-sdk | content/posts/the-little-eye/_index.md | 784 | //
// UIFont+PongMadness.h
// Pong Madness
//
// Created by Ludovic Landry on 2/27/13.
// Copyright (c) 2013 MirageTeam. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIFont (PongMadness)
+ (UIFont *)brothersBoldFontOfSize:(CGFloat)pointSize;
+ (void)printAvailableFonts;
@end
| mit |
pratheep1231kumar/mpps | styles/ghostdown.css | 398 | #!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
packer build -var-file="${DIR}/packer-vars.json" "${DIR}/packer.json"
| mit |
joaomoreno/vscode | algorithms/src/main/java/tutorialHorizon/arrays/InsertionSort.java | 833 | [See html formatted version](https://huasofoundries.github.io/google-maps-documentation/MapPanes.html)
MapPanes interface
------------------
google.maps.MapPanes interface
Properties
[floatPane](#MapPanes.floatPane)
**Type:** Element
This pane contains the info window. It is above all map overlays. (Pane 4).
[... | mit |
haifenghuang/monkey | src/app/components/app-nav/app-nav.component.ts | 429 | # VisMod
While the ultimate goal of VisMod is to assist in groundwater flow model visualization,
the current classes support the export of files that can be used in visualization software
such as [http://wci.llnl.gov/codes/visit/].
[</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel=... | mit |
vrybas/authorize_if | usual/json.c | 5915 | /**
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it wil... | mit |
geometryzen/davinci-newton | src/root/projects-contribution-report.js | 4971 | export function wedgeYZ(a, b) {
return a.y * b.z - a.z * b.y;
}
export function wedgeZX(a, b) {
return a.z * b.x - a.x * b.z;
}
export function wedgeXY(a, b) {
return a.x * b.y - a.y * b.x;
}
| mit |
xdamman/blogdown | src/turbo_broccoli/database.hpp | 2781 | ---
title: "Bayesian network regression with applications to microbiome data"
collection: talks
type: "Talk"
permalink: /talks/2021_juliacon
venue: "JuliaCon"
date: 2021-07-30
location: "Online"
---
Bayesian network regression with applications to microbiome data, **Samuel Ozminkowski** & Claudia Solís-Lemus,
*JuliaCo... | mit |
gdi2290/ember.js | modules/daesolv/libinfo.c | 140 | ---
layout: page
title: Donald Singh's 31st Birthday
date: 2016-05-24
author: Teresa Mcdaniel
tags: weekly links, java
status: published
summary: Nam finibus mollis massa eget venenatis. Maecenas suscipit cursus.
banner: images/banner/leisure-01.jpg
booking:
startDate: 10/08/2018
endDate: 10/13/2018
ctyhocn: TCCH... | mit |
apiaryio/fury-adapter-swagger | src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.ts | 426 | //-------------------------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// CHeapPtr for VB
//
//-------------------------------------------------------------------------------------------------
#pragma once
template <typ... | mit |
film42/mondrian_redis_segment_cache | build.js | 1305 | <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- /fasttmp/mkdist-qt-4.3.5-1211793125/qtopia-core-opensource-src-4.3.5/tools/qdbus/src/qdbusabstractadaptor.cpp -->
<he... | isc |
dennis95/dennix | loong/pctools/windows/buildscripts/iot-adk-addonkit/Templates/installupdates.cmd | 997 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34011
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | isc |
fluidmotion/visTools | includes/types.php | 406 | @extends('layouts.app')
@section('content')
<div class="container-fluid">
<div class="row">
<div class="panel panel-default">
<div class="panel-heading" style="padding-bottom: 40px;">PREVIEW
<div class="col-xs-3 pull-right">
<a href="/ssearch">... | mit |
ithinksw/philo | README.md | 515 | # Be sure to restart your server when you modify this file.
Rails.application.config.session_store :cookie_store, key: '_petitioneer_session'
| mit |
lmarinov/Exercise-repo | src/Radical.Windows/PropertyInfoExtensions.cs | 2926 | <!DOCTYPE HTML>
<html>
<head>
<title>Arbiter - Decisions Simplified</title>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.10/angular.min.js"></script>
<script src="app.js"></script>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--[if l... | mit |
zjx1195688876/learn-react | Core/IDemPlateFileGenerator.cs | 1910 | require 'spec_helper'
RSpec.describe RailsAdmin::ApplicationHelper, type: :helper do
describe '#authorized?' do
let(:abstract_model) { RailsAdmin.config(FieldTest).abstract_model }
it 'doesn\'t use unpersisted objects' do
expect(helper).to receive(:action).with(:edit, abstract_model, nil).and_call_ori... | mit |
goodwinxp/Yorozuya | src/sapling/noteencryption.h | 1488 | ---
redirect_to:
- http://tech.hbc.com/2013-10-04-welcome-jonathan-leibiusky.html
layout:: post
title: Welcome Jonathan Leibiusky!
date: '2013-10-04T15:24:00-04:00'
tags:
- Jonathan Leibiusky
- Infrastructure Engineering
- people
- gilt tech
- nyc
- immutable deployment
- xetorthio
tumblr_url: http://tech.gilt.com/post... | mit |
Azure/azure-sdk-for-python | certs/script.sh | 13555 | import mod437 from './mod437';
var value=mod437+1;
export default value;
| mit |
sunnankar/wucorg | wasm/examples/sum/index.html | 2142 | module YandexMusic
class Client
include YandexMusic::Auth
include YandexMusic::Endpoints::Search
include YandexMusic::Endpoints::ArtistAlbums
include YandexMusic::Endpoints::AlbumsTracks
def initialize(client_id, client_secret)
@client_id, @client_secret = client_id, client_secret
end
... | mit |
ZloiBubr/ReportTool | pogs/T/TCCHHHX/DS3B/index.md | 4327 | 'use strict';
function NavalMap(canvasId, imageMapUrl, imageCompassUrl, config) {
this.canvas = document.getElementById(canvasId);
this.imageMap = new Image();
this.imageCompass = new Image();
this.config = config;
this.itemsLoaded = false;
this.nationsLoaded = false;
this.shopsLoaded = fal... | mit |
joekukish/PeerReviewingSuite | colors/from-coeffs.html | 1412 | namespace InfluxData.Net.InfluxDb.Models.Responses
{
public class User
{
/// <summary>
/// User name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Whether or not the user is an administrator.
/// </summary>
public bool IsAdmi... | mit |
psamada2012/psa | Game/Assets/Scripts/AI/GreedyAIController.cs | 4138 | package minecraft
import (
"testing"
"vimagination.zapto.org/minecraft/nbt"
)
func TestNew(t *testing.T) {
biomes := make(nbt.ByteArray, 256)
biome := int8(-1)
blocks := make(nbt.ByteArray, 4096)
add := make(nbt.ByteArray, 2048)
data := make(nbt.ByteArray, 2048)
for i := 0; i < 256; i++ {
biomes[i] = biome... | mit |
dennis95/dennix | test/uri-template.js | 2212 | using Radical.Reflection;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Reflection;
namespace Radical.Windows
{
static class PropertyInfoExtensions
{
public static string GetDisplayName(this PropertyInfo propertyInfo)
{
if (propertyInfo != ... | mit |
vupeter/posdaJS | engine/src/stateengine/AtomicState.cpp | 2303 | ---
permalink: /en/getting-startedLearn
redirect: /en/getting-started/
layout: redirect
sitemap: false
--- | isc |
kayoumido/Ram-Bot | app/src/main/java/com/cmput301f17t11/cupofjava/Controllers/SaveFileController.java | 73 | {% extends "layout_unbranded.html" %}
{% block page_title %}
GOV.UK prototype kit
{% endblock %}
{% block content %}
<main id="content" role="main">
<div class="grid-row">
<div class="column-full">
<div id="global-breadcrumb" class="breadcrumb">
<a class="link-back" href="results_confirm2?searc... | mit |
tcholakov/PlacesToEat | source/Internal/ActionOnDispose.cs | 4322 | /*!
* DASSL solver library description
*/
#include "libinfo.h"
extern void _start()
{
_library_ident("DAE solver library");
_library_task("interfaces to generic IVP solver");
_library_task("operations on data for included solvers");
_library_task("DASSL solver backend");
_library_task("RADAU solver backend")... | isc |
flyingfeet/FlyingFeet | src/routes/search/Search.js | 2570 | require 'optparse'
require 'pathname'
module EdifactConverter
class CommandLineParser
class << self
attr_writer :options
def options
@options ||= {}
end
def parser
@parser ||= begin
OptionParser.new do|opts|
opts.banner = "Usage: #{$COMMAND_NAME} [... | mit |
jvasileff/aos-xp | app/src/utils/formButtons.directive.js | 86 | @echo off
REM Script to install the updates
net user Administrator p@ssw0rd /active:yes
SET install_dir=%~dp0
REM Getting rid of the \ at the end
SET install_dir=%install_dir:~0,-1%
cd %install_dir%
dir /b %install_dir%\*.cab > updatelist.txt
for /f "delims=" %%i in (updatelist.txt) do (
echo Processing %%i
call... | mit |
sauban/angular-boilerplate | src/components/u-navbar.vue/dropdown.vue/module.css | 134 | package zhou.adapter;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import java.util.List;
/**
* Created by zzhoujay on 2015/7/22 0022.
*/
public class Norm... | mit |
VincentCasse/amaretti.js | interpreter/IDuckPro_AST/src/duck/IDuck.hpp | 106 | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Pe... | mit |
brunschgi/terrific-io-old | Tests/L0.ts | 767 | var fusepm = require('./fusepm');
module.exports = fixunoproj;
function fixunoproj () {
var fn = fusepm.local_unoproj(".");
fusepm.read_unoproj(fn).then(function (obj) {
var inc = [];
if (obj.Includes) {
var re = /\//;
for (var i=0; i<obj.Includes.length;i++) {
if (obj.Includes[i] === '*') {
inc.... | mit |
mattbierner/parse-ecma | jaxws-cxf-digital-signature/src/main/java/com/codenotfound/endpoint/TicketAgentImpl.java | 2794 |
var express = require('../')
, Router = express.Router
, request = require('./support/http')
, methods = require('methods')
, assert = require('assert');
describe('Router', function(){
var router, app;
beforeEach(function(){
router = new Router;
app = express();
})
describe('.match(method, u... | mit |
phrb/StochasticSearch.jl | src/Examples/TestHydraApi/IssueFilter.cs | 1558 | -- Section: Internal Functions
-- Group: Low-level event handling
\i functions/pgq.batch_event_sql.sql
\i functions/pgq.batch_event_tables.sql
\i functions/pgq.event_retry_raw.sql
\i functions/pgq.find_tick_helper.sql
-- \i functions/pgq.insert_event_raw.sql
\i lowlevel/pgq_lowlevel.sql
-- Group: Ticker
\i functio... | mit |
jdashg/misc | _site/2017/03/02/t837185195841212416.html | 1588 | function RenderPassManager(renderer)
{
// not implemented yet
throw "Not implemented";
var mRenderPasses = [];
return this;
}
RenderPassManager.prototype.addRenderPass = function(renderPass)
{
mRenderPasses.push(renderPass);
};
RenderPassManager.prototype.render = function()
{
for(var renderPass i... | mit |
cuteant/dotnet-tpl-dataflow | spec/webpack/rails_spec.rb | 119082 |
package slacknotifications.teamcity.payload;
import jetbrains.buildServer.messages.Status;
import jetbrains.buildServer.responsibility.ResponsibilityEntry;
import jetbrains.buildServer.responsibility.TestNameResponsibilityEntry;
import jetbrains.buildServer.serverSide.*;
import jetbrains.buildServer.tests.TestName;
i... | isc |
bitzhuwei/CSharpGL | test/app/object-streams.js | 2843 | using System;
using System.Collections;
using System.Linq;
using Xunit;
namespace Popsql.Tests
{
public class SqlValuesTests
{
[Fact]
public void Add_WithNullValues_ThrowsArgumentNull()
{
var values = new SqlValues();
Assert.Throws<ArgumentNullException>(() => values.Add(null));
}
[Fact]
public v... | mit |
gavmain/django_demo | src/privates/_keyToPairIn.js | 1450 | module Discordrb::Webhooks
# An embed is a multipart-style attachment to a webhook message that can have a variety of different purposes and
# appearances.
class Embed
def initialize(title: nil, description: nil, url: nil, timestamp: nil, colour: nil, color: nil, footer: nil,
image: nil, th... | mit |
manuelhuber/LostColonies | Pong Madness/UIFont+PongMadness.h | 731 | //
// URBSegmentedControl.h
// URBSegmentedControlDemo
//
// Created by Nicholas Shipes on 2/1/13.
// Copyright (c) 2013 Urban10 Interactive. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSUInteger, URBSegmentedControlOrientation) {
URBSegmentedControlOrientationHorizontal = 0,
URBSegmentedCo... | mit |
burninggarden/burninggarden | posts/index.html | 248 | export const browserVersions = () => {
let u = navigator.userAgent
return {
// 移动终端浏览器版本信息
trident: u.indexOf('Trident') > -1, // IE内核
presto: u.indexOf('Presto') > -1, // opera内核
webKit: u.indexOf('AppleWebKit') > -1, // 苹果、谷歌内核
gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') === -1, // 火狐... | isc |
AlexandrSachkov/NonLinearEngine | _posts/2018-11-01-practical-vim-skills-chapter-10.md | 5369 | /* Copyright (c) 2018 Dennis Wölfing
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAI... | mit |
pine613/android-hm | styles-fa6c583b3cd626e54a0e.js | 7499 | "use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl... | mit |
Izak88/morose | vendor/autoload.php | 1348 | <div id="container" class="container-fluid" ng-controller="cloudAppController">
<div class="table">
<div class="col-lg-2">
<label for="teamDD">Team:</label>
<select id="teamDD" class="form-control headerSelectWidth" ng-model="filteredTeam"
ng-change="onTeamChange... | isc |
lmazuel/azure-sdk-for-python | lib/frankie.rb | 15072 | //
// Constants.h
//
//
#define LANGUAGES_API @"https://api.unfoldingword.org/obs/txt/1/obs-catalog.json"
#define SELECTION_BLUE_COLOR [UIColor colorWithRed:76.0/255.0 green:185.0/255.0 blue:224.0/255.0 alpha:1.0]
#define TEXT_COLOR_NORMAL [UIColor colorWithRed:32.0/255.0 green:27.0/255.0 blue:22.0/255.0 al... | mit |
mucyomiller/workloads | src/mscorlib/src/System/Globalization/StringInfo.cs | 1149 | package com.kromracing.runningroute.client;
import com.google.gwt.dom.client.Element;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.ui.CheckBox;
import com.google.gwt.user.client.ui.Widget;
final public class Utils {
private Utils() {
}
/**
* Sets the HTML id ... | isc |
WouterDemuynck/popsql | wire/msgblock_test.go | 3923 | /**
* This file was copied from https://github.com/jenkinsci/mercurial-plugin/raw/master/src/test/java/hudson/plugins/mercurial/MercurialRule.java
* so we as well have a MercurialRule to create test repos with.
* The file is licensed under the MIT License, which can by found at: http://www.opensource.org/licenses/mi... | mit |
fschwiet/letscodejavascript | c-exercises/structs/linked-list.c | 1351 | import _ from 'lodash';
import { createSelector } from 'reselect';
const srcFilesSelector = state => state.srcFiles;
const featuresSelector = state => state.features;
const featureByIdSelector = state => state.featureById;
const keywordSelector = (state, keyword) => keyword;
function getMarks(feature, ele) {
const ... | mit |
sgricci/sqllaboratory | webpack.test.config.js | 656 | import * as path from "path";
import * as tl from "vsts-task-lib/task";
import {IExecOptions, IExecSyncResult} from "vsts-task-lib/toolrunner";
import * as auth from "packaging-common/nuget/Authentication";
import * as commandHelper from "packaging-common/nuget/CommandHelper";
import {NuGetConfigHelper2} from "packagi... | mit |
TealCube/strife | boid.js | 6222 | ---
layout: page_home
title: Home
headerline: Design Club at IIIT-Delhi
headerlinelink: /about/
newslink: /news/
projectslink: /projects/
---
| mit |
andrewbolster/andrewbolster.github.io | _posts/2017-11-27-more-office-interop-in-powershell.md | 1671 | # Les patrons de conception
## Bibliothèque d'exemples en Java
Ce dossier est un aide mémoire.
Il consiste à répertorier les patrons de conception en Java.
### [La liste des exemples](https://github.com/ewenb/Java_patterns)
* COMPOSITE : Il dispose les objets dans des structures arborescentes
ex1 : Un exemple ba... | mit |
cjlucas/go-audiotag | index.html | 3496 | package UserInterface.Animation;
/**
* Makes shit get big, makes shit get small.
*/
public class SizeAnimation extends Animation {
protected int iW, iH, fW, fH, cW, cH;
public SizeAnimation(long period, int paceType, boolean loop, int iW, int iH, int fW, int fH) {
super(period, paceType, loop);
... | mit |
bg1bgst333/Sample | php/mysql/db_connect.php | 17226 | # Copyright (c) 2015, Max Fillinger <max@max-fillinger.net>
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND... | mit |
Ico093/TelerikAcademy | Engine/Shapes/Rectangle.h | 1800 | datab = [{},{"Attribute":{"colspan":"1","rowspan":"1","text":"Modality"},"Tag":{"colspan":"1","rowspan":"1","text":"(0008,0060)"},"Value":{"colspan":"1","rowspan":"1","text":"CT"}},{"Attribute":{"colspan":"1","rowspan":"1","text":"Photometric Interpretation"},"Tag":{"colspan":"1","rowspan":"1","text":"(0028,0004)"},"Va... | mit |
JaeW/dodroid | source/Math/CollisionAlgorithmB.h | 190 | 'use strict';
const chai = require('chai'),
expect = chai.expect,
config = require('../config/config'),
Support = require('./support'),
dialect = Support.getTestDialect(),
Sequelize = Support.Sequelize,
fs = require('fs'),
path = require('path');
if (dialect === 'sqlite') {
var sqlite3 = require('sqli... | mit |
becm/mpt-solver | sodium/runtime.go | 3092 | //
// RCWorkspaceCache.h
//
// Created by Mark Lilback on 12/12/11.
// Copyright (c) 2011 . All rights reserved.
//
#import "_RCWorkspaceCache.h"
@interface RCWorkspaceCache : _RCWorkspaceCache
//if multiple values are to be set, it best to get properties, set them, and then call setProperties
//each call to setPr... | mit |
Code4Maine/modeify | prep_course/variables/age.rb | 3699 | #include "unicorn/format.hpp"
#include <cmath>
#include <cstdio>
using namespace RS::Unicorn::Literals;
using namespace std::chrono;
using namespace std::literals;
namespace RS::Unicorn {
namespace UnicornDetail {
namespace {
// These will always be called with x>=0 and prec>=0
... | mit |
spartanbeg/OpenVPN-Event-Viewer | public/css/bootstrap.css | 6277 |
<div class="col-xs-7">
<div class="box">
<div class="box-header">
<h3 class="box-title">Order Table</h3>
<div class="box-tools">
<div class="input-group input-group-sm" style="width: 150px;">
<input type="search" class="light-table-filter form-control pull-right" data-table="order-t... | mit |
rickypai/zk | Tasks/NuGetCommandV2/nugetrestore.ts | 529 | # encoding: utf-8
require 'spec_helper'
describe Optimizer::Algebra::Projection::ExtensionOperand, '#optimizable?' do
subject { object.optimizable? }
let(:header) { Relation::Header.coerce([[:id, Integer], [:name, String], [:age, Integer]]) }
let(:base) { Relation.new(header, LazyEnumerable.new([[1, 'Dan... | mit |
flash662/fashionguide | lib/discordrb/webhooks/embeds.rb | 19962 | /// <reference path="../definitions/mocha.d.ts"/>
/// <reference path="../definitions/node.d.ts"/>
/// <reference path="../definitions/Q.d.ts"/>
import Q = require('q');
import assert = require('assert');
import path = require('path');
import fs = require('fs');
describe('General Suite', function () {
this.timeou... | mit |
tomhatzer/Toady | 7.3.1/DeviceInternetInformation/app/src/main/java/se/dsv/waora/deviceinternetinformation/ConnectionActivity.java | 6059 | <?php
namespace BoomCMS\Settings;
use BoomCMS\Support\Facades\Settings;
use Illuminate\Support\Facades\Config;
use Illuminate\Support\Facades\Lang;
abstract class Manager
{
public static function options()
{
$options = [];
foreach (Config::get('boomcms.settingsManagerOptions') as $name => $t... | mit |
jsmestad/frankie | gamecraft-ui/src/main/resources/templates/dashboard.html | 7188 | ///
/// Copyright (c) 2016 Dropbox, Inc. All rights reserved.
///
/// Auto-generated by Stone, do not modify.
///
#import <Foundation/Foundation.h>
#import "DBSerializableProtocol.h"
@class DBTEAMLOGFileRevertDetails;
NS_ASSUME_NONNULL_BEGIN
#pragma mark - API Object
///
/// The `FileRevertDetails` struct.
///
//... | mit |
hiseni/trpl | openvpn.api/openvpn.api/Controllers/UsersController.cs | 668 | namespace MyColors
{
partial class SimpleToolTip
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <p... | mit |
DarkCaster/Linux-Helper-Tools | packages/cli/src/generate/generators/vscode-config/create-vscode-config.ts | 298 | typedef struct { f_t x, y; } vec_t, *vec;
//inline
f_t cross(vec a, vec b)
{
return a->x * b->y - a->y * b->x;
}
//inline
vec vsub(vec a, vec b, vec res)
{
res->x = a->x - b->x;
res->y = a->y - b->y;
}
// Does point c lie on the left side of directed edge a->b?
// 1 if left, -1 if right, 0 if on the li... | mit |
decred/dcrd | app/controllers/sessions_controller.rb | 13760 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
namespace Umbraco.Core.Models.EntityBase
{
/// <summary>
/// A base class for use to implement IRememberBeingDirty/ICanBeDirty
/// </summary>
public abstract class Tracks... | mit |
songwutk/opensourcepos | _posts/2017-11-10-IT业编程四大魔道天王.md | 957 | // Multiprocessor support
// mist32 is not supported multiprocessor
#include "types.h"
#include "defs.h"
#include "param.h"
#include "memlayout.h"
#include "mmu.h"
#include "proc.h"
struct cpu cpus[NCPU];
int ismp;
int ncpu;
void
mpinit(void)
{
ismp = 0;
ncpu = 1;
lapic = 0;
cpus[ncpu].id = ncpu;
ncpu++;
... | mit |
vulcansteel/autorest | src/Terrific/Composition/Entity/Module.php | 1056 | // The following are instance methods and variables
var Note = Class.create({
initialize: function(id, is_new, raw_body) {
if (Note.debug) {
console.debug("Note#initialize (id=%d)", id)
}
this.id = id
this.is_new = is_new
this.document_observers = [];
// Cache the elements
this.ele... | mit |
weynsee/go-phrase | jeecg-p3-biz-qywx/src/main/java/com/jeecg/qywx/core/service/TextDealInterfaceService.java | 2930 | //
// IOService.cpp
// Firedrake
//
// Created by Sidney Just
// Copyright (c) 2015 by Sidney Just
// 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... | mit |
ascartabelli/lamb | js/function.js | 10241 | // rd_route.c
// Copyright (c) 2014-2015 Dmitry Rodionov
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
#include <stdlib.h> // realloc()
#include <libgen.h> // basename()
#include <assert.h> // assert()
#include <std... | mit |
Veraticus/cryptolalia | include/rikitiki/content_handler.h | 1372 | package com.eaw1805.data.model.map;
import com.eaw1805.data.constants.RegionConstants;
import com.eaw1805.data.model.Game;
import java.io.Serializable;
/**
* Represents a region of the world.
*/
public class Region implements Serializable {
/**
* Required by Serializable interface.
*/
static fin... | isc |
u10int/URBSegmentedControl | lib/mlblog/version.rb | 3469 | <?php
interface Container {
/**
* Checks if a $x exists.
*
* @param unknown $x
*
* @return boolean
*/
function contains($x);
} | mit |
owlhouseconsultingllc/viz | Source/Data/PlacesToEat.Data.Common/DbUserRepository{T}.cs | 9998 | #!/usr/bin/env python
from ansible.module_utils.hashivault import hashivault_argspec
from ansible.module_utils.hashivault import hashivault_auth_client
from ansible.module_utils.hashivault import hashivault_init
from ansible.module_utils.hashivault import hashiwrapper
ANSIBLE_METADATA = {'status': ['stableinterface'],... | mit |
EaW1805/data | TNTLoveFreshBee 2/TNTLoveFreshBee/Classes/ShopingCar/Views/LightningSendDownView.h | 7980 | #pragma config(Sensor, in1, linefollower, sensorLineFollower)
#pragma config(Sensor, dgtl5, OutputBeltSonar, sensorSONAR_mm)
#pragma config(Motor, port6, WhipCreamMotor, tmotorVex393, openLoop)
#pragma config(Motor, port7, InputBeltMotor, tmotorServoContinuousRotation, openLoop)
#pragma conf... | mit |
bartobri/data-structures-c | azure-mgmt-web/azure/mgmt/web/models/dimension.py | 332 | enum asmop {
ASNOP = 0,
ASSTB,
ASSTH,
ASSTW,
ASSTL,
ASSTM,
ASSTS,
ASSTD,
ASLDSB,
ASLDUB,
ASLDSH,
ASLDUH,
ASLDSW,
ASLDUW,
ASLDL,
ASLDS,
ASLDD,
ASADDW,
ASSUBW,
ASMULW,
ASMODW,
ASUMODW,
ASDIVW,
ASUDIVW,
ASSHLW,
ASSHRW,
ASUSHRW,
ASLTW,
ASULTW,
ASGTW,
ASUGTW,
ASLEW,
ASULEW,
ASGEW,
ASUGEW... | mit |
AltThree/Storage | .themes/Libra-Dark/gtk-3.0/gnome-applications.css | 1901 | <?php
namespace Zycon42\Security\Application;
use Nette;
use Nette\Application\Request;
use Nette\Reflection\ClassType;
use Nette\Reflection\Method;
use Symfony\Component\ExpressionLanguage\Expression;
class PresenterRequirementsChecker extends Nette\Object {
/**
* @var ExpressionEvaluator
*/
priv... | isc |
fintech-fab/bank-emulator | src/Services/Accounts/Exceptions/InvalidPassword.php | 37 | package sodium
// #cgo pkg-config: libsodium
// #include <stdlib.h>
// #include <sodium.h>
import "C"
func RuntimeHasNeon() bool {
return C.sodium_runtime_has_neon() != 0
}
func RuntimeHasSse2() bool {
return C.sodium_runtime_has_sse2() != 0
}
func RuntimeHasSse3() bool {
return C.sodium_runtime_has_sse3() != 0
... | mit |
1wheel/scraping | vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Dumper/GraphvizDumper.php | 1186 | <?php
namespace FashionGuide\Oauth2\Exceptions;
class AppException extends \Exception
{
} | mit |
banacer/door-wiz | 2a2c881/html/functions_f.html | 854 | //
// LightningSendDownView.h
// TNTLoveFreshBee
//
// Created by apple on 16/10/14.
// Copyright © 2016年 LiDan. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol didLightningSendDownViewCommitDelegate <NSObject>
@optional
- (void)didLightningSendDownViewCommit;
@end
@interface LightningSendDownView : UIV... | mit |
ChasNelson1990/chasnelson.co.uk | src/Popsql.Tests/SqlValuesTests.cs | 1206 | ---
name: Dreadnought
type: AV
speed: 15cm
armour: 3+
cc: 4+
ff: 4+
special_rules:
- walker
notes:
|
Armed with either a Missile Launcher and Twin Lascannon, or an Assault Cannon and Power Fist.
weapons:
-
id: missile-launcher
multiplier: 0–1
-
id: twin-lascannon
multiplier: 0–1
-
id: ... | mit |
dylanh333/android-unmkbootimg | modules/appFlower/templates/layout.php | 2238 | $js.module({
prerequisite:[
'/{$jshome}/modules/splice.module.extensions.js'
],
imports:[
{ Inheritance : '/{$jshome}/modules/splice.inheritance.js' },
{'SpliceJS.UI':'../splice.ui.js'},
'splice.controls.pageloader.html'
],
definition:function(){
var scope = this;
var
imports = scope.imports
;
var
Class =... | isc |
INSIDEM2M/slim | app/src/main/java/doit/study/droid/fragments/DislikeDialogFragment.java | 5480 | get '/user' do
if logged_in?
redirect '/'
end
erb :create_account
end
post '/user' do
user = User.create(params[:user])
redirect '/'
end
post '/login' do
if user = User.login(params[:user])
session[:permissions] = '3'
end
redirect '/'
end
get '/logout' do
session.clear
session[:permission... | mit |
alexoldenburg/subzero | src/test/spy-factory/index.ts | 1449 | 'use strict';
/**
* The basic http module, used to create the server.
*
* @link http://nodejs.org/api/http.html
*/
alchemy.use('http', 'http');
/**
* This module contains utilities for handling and transforming file paths.
* Almost all these methods perform only string transformations.
* The file system is n... | mit |
dstegelman/derek.stegelman.com | README.md | 1561 | class Projects {
public static filters: string[] = [];
public static open(): void {
$.ajax(
{
url: "./projects.html",
success: (data) => {
$("#page").fadeOut(
"fast",
() => {
... | isc |
dryzhkov/ps-react-dr | src/github.com/cjlucas/audiotag/id3/util.go | 6350 | #!/usr/bin/env bash
GEM_BIN=$1/ruby/bin/gem
export GEM_HOME=/usr/local/kidsruby/ruby/lib/ruby/gems/1.9.1
install_gems() {
echo $KIDSRUBY_INSTALLING_GEMS
${GEM_BIN} install htmlentities-4.3.0.gem --no-ri --no-rdoc 2>&1
${GEM_BIN} install rubywarrior-i18n-0.0.3.gem --no-ri --no-rdoc 2>&1
${GEM_BIN} install serial... | mit |
wcjohnson/babylon-lightscript | README.md | 1407 | TaskManager.module('ContentModule.List', function (List, App, Backbone) {
'use strict';
List.Controller = Marionette.Controller.extend({
initialize: function (options) {
var tasksList = App.request('taskList'),
listView = this.getView(tasksList);
if (options.region) {
this.region = options.region;
... | mit |
kunklejr/node-encext | Skema/Directive/Binding.php | 1169 | package com.facetime.spring.support;
import java.util.ArrayList;
import java.util.List;
import com.facetime.core.conf.ConfigUtils;
import com.facetime.core.utils.StringUtils;
/**
* 分页类
*
* @author yufei
* @param <T>
*/
public class Page<T> {
private static int BEGIN_PAGE_SIZE = 20;
/** 下拉分页列表的递增数量级 */
priva... | mit |
code-not-found/jaxws-cxf | src/PxS/PeerReviewingBundle/Tests/Controller/DefaultControllerTest.php | 99 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using IdentityServer3.Core.Events;
using IdentityServer3.ElasticSearchEventService.Extensions;
using IdentityServer3.ElasticSearchEventService.Mapping;
using IdentityServer3.ElasticSearchEventService.Mapping.Configuration... | mit |
piercus/inputex | spec/lib/smsru/api_spec.rb | 625 | /*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | mit |
sethjackson/sethjackson.github.io | 34_FactorialSum/Properties/AssemblyInfo.cs | 1383 | 'use strict';
var Project = require('ember-cli/lib/models/project');
function MockProject() {
var root = process.cwd();
var pkg = {};
Project.apply(this, [root, pkg]);
}
MockProject.prototype.require = function(file) {
if (file === './server') {
return function() {
return {
listen: functio... | mit |
xu3352/xu3352.github.io | app/UnfoldingWord/UnfoldingWord/Constants.h | 3458 | ///////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2011 - 2012 by //
// Simon Pratt //
// (All rights reserved) //
... | mit |
ahmelessawy/Hospital-Dashboard | src/main/java/illume/analysis/SimpleImageAnalyser.java | 668 | /*!
NSURL extension
YSCategorys
Copyright (c) 2013-2014 YoungShook
https://github.com/youngshook/YSCategorys
The MIT License (MIT)
http://www.opensource.org/licenses/mit-license.php
*/
#import <Foundation/Foundation.h>
@interface NSURL (YSKit)
/** Cover query string into NSDictionary
*/
-... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.