code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
-- boundary1.test -- -- db eval { -- SELECT a FROM t1 WHERE rowid < 16384 ORDER BY rowid DESC -- } SELECT a FROM t1 WHERE rowid < 16384 ORDER BY rowid DESC
bkiers/sqlite-parser
src/test/resources/boundary1.test_42.sql
SQL
mit
160
from distutils.core import setup setup( name='sequencehelpers', py_modules=['sequencehelpers'], version='0.2.1', description="A library consisting of functions for interacting with sequences and iterables.", author='Zach Swift', author_email='cras.zswift@gmail.com', url='https://github.com/2achary/sequen...
2achary/sequencehelpers
setup.py
Python
mit
467
require 'spec_helper' require 'feature/testing' describe 'Feature testing support' do let(:repository) { Feature::Repository::SimpleRepository.new } before(:each) do repository.add_active_feature(:active_feature) Feature.set_repository(repository) end it 'should execute code block with an deactivate...
moneyadviceservice/feature
spec/feature/testing_spec.rb
Ruby
mit
1,561
from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('kirppu', '0039_counter_private_key'), ] operations = [ migrations.AlterUniqueTogether( name='itemtype', unique_together={('event', 'order')}, ), migrations.R...
jlaunonen/kirppu
kirppu/migrations/0040_remove_itemtype_key.py
Python
mit
408
from django.contrib import admin from .models import BackgroundImages, Widget class WidgetAdmin(admin.ModelAdmin): list_display = ('name', 'link', 'is_featured') ordering = ('-id',) class BackgroundAdmin(admin.ModelAdmin): list_display = ('name', 'created_at') ordering = ('-id',) admin.site.regis...
malikshahzad228/widget-jack
widgets/admin.py
Python
mit
400
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => 'user/config/system.yaml', 'modified' => 1431195484, 'data' => [ 'home' => [ 'alias' => '/home' ], 'pages' => [ 'theme' => 'deliver', 'markdown_extra' => false, ...
camoncal/julioewebsite
cache/compiled/files/50d05a56140aa6d4a1a465e38ca8c7a4.yaml.php
PHP
mit
1,190
let userDao = require('../dao/userDao'), articleDao = require('../dao/articleDao'), commentDao = require('../dao/commentDao'), starDao = require('../dao/starDao'), messageDao = require('../dao/messageDao'), voteDao = require('../dao/voteDao'), settings = require('../config/settings'), tools ...
wayshon/community-server
routes/api.js
JavaScript
mit
8,947
<?php return unserialize('a:1:{i:0;O:27:"Doctrine\\ORM\\Mapping\\Column":9:{s:4:"name";s:11:"amount_owed";s:4:"type";s:7:"decimal";s:6:"length";N;s:9:"precision";i:0;s:5:"scale";i:0;s:6:"unique";b:0;s:8:"nullable";b:1;s:7:"options";a:0:{}s:16:"columnDefinition";N;}}');
dayAlone/Rvisor
app/cache/prod/annotations/IAgent-NewOrderBundle-Entity-AgentOrder$amountOwed.cache.php
PHP
mit
269
from pandac.PandaModules import * from toontown.toonbase.ToonBaseGlobal import * from DistributedMinigame import * from direct.interval.IntervalGlobal import * from direct.fsm import ClassicFSM, State from direct.fsm import State from toontown.safezone import Walk from toontown.toonbase import ToontownTimer from direct...
ToonTownInfiniteRepo/ToontownInfinite
toontown/minigame/DistributedTagGame.py
Python
mit
10,955
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double Pods_DragToDismissViewController_TestsVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_DragToDismissViewController_TestsVersionString[];
buithuyen/DragToDismissViewController
Example/Pods/Target Support Files/Pods-DragToDismissViewController_Tests/Pods-DragToDismissViewController_Tests-umbrella.h
C
mit
198
package uk.gov.openregister; import org.junit.Test; import java.util.HashMap; import java.util.Map; import static org.junit.Assert.assertEquals; public class JsonObjectMapperTest { @Test public void convertToString_Map_convertsMapToCononicalJson() { Map<String, Object> jsonMap = new HashMap<>(); ...
openregister/register
test/uk/gov/openregister/JsonObjectMapperTest.java
Java
mit
548
"""Pipeline configuration parameters.""" from os.path import dirname, abspath, join from sqlalchemy import create_engine OS_TYPES_URL = ('https://raw.githubusercontent.com/' 'openspending/os-types/master/src/os-types.json') PIPELINE_FILE = 'pipeline-spec.yaml' SOURCE_DATAPACKAGE_FILE = 'source.datapa...
Victordeleon/os-data-importers
eu-structural-funds/common/config.py
Python
mit
3,382
/* @flow */ import * as React from 'react'; import cn from 'classnames'; import { StyleClasses } from '../theme/styleClasses'; type Props = { // An optional inline-style to apply to the overlay. style: ?Object, // An optional css className to apply. className: ?string, // Boolean if this divider should be in...
boldr/boldr-ui
src/Divider/Divider.js
JavaScript
mit
1,118
<?php /* * This file is part of the FOSGoogleBundle package. * * (c) FriendsOfSymfony <http://friendsofsymfony.github.com/> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace FOS\GoogleBundle\Templating\Helper; ...
CaoPhiHung/CRM
vendor/bundles/FOS/GoogleBundle/Templating/Helper/GoogleHelper.php
PHP
mit
950
// // HMAppUtil.h // HomeMate // // Created by liuzhicai on 16/5/3. // Copyright © 2017年 Air. All rights reserved. // /** * * 作为key值的宏定义规则: * HM前缀+模块名+功能名+Key后缀 * 其他类型宏定义规则: * HM前缀+模块名+功能名 * */ #ifndef HMUtil_h #define HMUtil_h #import "HMConstant.h" #define IOS8 ([[[UIDevice currentDevice]systemV...
kenny2006cen/GYXMPP
HMModules/HomeMateModule/HomeMateModule/Classes/HMSDK/HMHeader/HMUtil.h
C
mit
18,783
import * as $ from 'jquery'; import { clearStyles } from '../util'; import { Article } from '..'; export const cleanup = () => { $('#scrollDiv').remove(); } export function parse(): Article { let articleBody = clearStyles($('.article-text')[0].cloneNode(true)); let $subtitle = $('.subtitle', articleBody);...
disjukr/jews
src/impl/한겨레.ts
TypeScript
mit
1,117
/* * Author: 陈志杭 Caspar * Contact: 279397942@qq.com qq:279397942 * Description: 数据接口契约文件 * 文件由模板生成,请不要直接修改文件,如需修改请创建一个对应的partial文件 */ using System; using System.Collections; using Zh.DAL.Base.Define; using Zh.DAL.Define.Entities; using Zh.DAL.Define; namespace Zh.DAL.Define.Contracts { /// <summary> /// ...
Caspar12/Csharp
src/Zh.DAL.Define/Contracts/AutoCode/IMemberAccountDao.cs
C#
mit
569
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Test Runner</title> <link rel="stylesheet" href="/kissy/tools/jasmine/jasmine.css"> <script src="/kissy/tools/jasmine/jasmine.js"></script> <script src="/kissy/tools/jasmine/jasmine-html.js"></script> <script src="/kissy/tools/jasmine/j...
007slm/kissy
src/event/sub-modules/dom/sub-modules/base/tests/runner/test.html
HTML
mit
1,965
package com.aspose.spreadsheeteditor; import java.util.logging.Logger; import javax.enterprise.context.ApplicationScoped; import javax.faces.application.FacesMessage; import javax.faces.context.FacesContext; import javax.inject.Named; import org.primefaces.context.RequestContext; /** * * @author Saqib Masood */ @N...
fahadadeel/Aspose.Cells-for-Java
Showcases/Html5_Spreadsheet_Editor_by_Aspose.Cells_for_Java/src/main/java/com/aspose/spreadsheeteditor/MessageService.java
Java
mit
952
import {Task} from './task.model' import {Injectable} from 'angular2/core' import {Http, Response, Headers, RequestOptions} from 'angular2/http'; import {Observable} from "rxjs/Observable"; @Injectable() export class TaskService { constructor( private http: Http ) { } private _tasksUrl = 'api/...
c-bata/kobin-example
front/ts/task.service.ts
TypeScript
mit
2,019
class BusStopController < ApplicationController protect_from_forgery with: :null_session, if: Proc.new { |c| c.request.format == 'application/json' } def api obj = params["data"] p params["data"] address = obj.split("','")[0] bus_num = obj.split("','")[1] bus_num = bus_num[0..-2] response = ...
danasweet/somebody-stop-me
app/controllers/bus_stop_controller.rb
Ruby
mit
585
DROP TABLE IF EXISTS locations; CREATE TABLE locations ( location_id INT NOT NULL AUTO_INCREMENT, code VARCHAR(256) NOT NULL, description VARCHAR(2048), order_val INT, CONSTRAINT locations_pk PRIMARY KEY (location_id) );
brbrt/weather-station
db/schema/S002_create_locations.sql
SQL
mit
245
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered.org <http://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Soft...
SpongeHistory/SpongeAPI-History
src/main/java/org/spongepowered/api/item/properties/DoubleProperty.java
Java
mit
4,824
<?php /** * Copyright 2016 Sony Corporation */ namespace CdnPurge\Limelight; use CdnPurge\Common\Enum\BasicEnum; /** * Limelight specific constants */ abstract class ApiConstants extends BasicEnum { /** constants root */ const CONST_ROOT = 'limelight'; /** Configuration related constants */ cons...
sony/cdn-purge-control-php
src/Limelight/ApiConstants.php
PHP
mit
1,130
package desktopvirtualization // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code ...
Azure/azure-sdk-for-go
services/preview/desktopvirtualization/mgmt/2020-11-02-preview/desktopvirtualization/operations.go
GO
mit
3,672
// File auto generated by STUHashTool using static STULib.Types.Generic.Common; namespace STULib.Types.Dump { [STU(0x35AA91CE)] public class STU_35AA91CE : STUInstance { [STUField(0x4227DBDA, EmbeddedInstance = true)] public STULib.Types.Dump.STU_7C27312D[] m_4227DBDA; [STUField(0xD7A9...
kerzyte/OWLib
STULib/Types/Dump/STU_35AA91CE.cs
C#
mit
484
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // This file enables 'go generate' to regenerate this specific SDK //go:generate pwsh.exe ../../../../eng/scripts/build.ps1 -skipBuild -cleanGenerated -format -ti...
Azure/azure-sdk-for-go
sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration/build.go
GO
mit
436
var windowHeight = $(window).height(); var menuBarHeight = $('#codeplayer-menubar').height(); $('.codeplayer-code-container').css('height', (windowHeight - menuBarHeight) + 'px'); $('.codeplayer-toogle').click(function() { $(this).toggleClass('codeplayer-selected'); var codeContainerDiv = '#codeplayer-' + $(thi...
phillipemoreira/web-development
robpercival/4.jQuery/js/codeplayer.js
JavaScript
mit
1,020
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; using TAlex.MathCore.ExpressionEvaluation.Extensions; using TAlex.MathCore.ExpressionEvaluation.Helpers; namespace TAlex.MathCore.ExpressionEvaluation.Trees.Metadata { public class DefaultFunctionMetada...
T-Alex/MathCore
src/TAlex.MathCore.ExpressionsBase/Trees/Metadata/DefaultFunctionMetadataProvider.cs
C#
mit
3,158
/// <reference types="react" /> import * as React from "react"; import { ITab2Props, TabId } from "./tab2"; export interface ITabTitleProps extends ITab2Props { /** Handler invoked when this tab is clicked. */ onClick: (id: TabId, event: React.MouseEvent<HTMLElement>) => void; /** ID of the parent `Tabs` to...
aggiedefenders/aggiedefenders.github.io
node_modules/@blueprintjs/core/dist/components/tabs2/tabTitle.d.ts
TypeScript
mit
813
var randomBytes = require('mz/crypto').randomBytes; module.exports = function* trace(next) { this.id = yield randomBytes(24); var ctx = this; var req = this.req; var res = this.res; // request start this.trace('time.start'); // request end req.once('end', this.trace.bind(this, 'time....
phamann/wedding-holding-page
server/lib/middleware/trace.js
JavaScript
mit
615
face ==== [![Build Status](https://travis-ci.org/face-orm/face.svg?branch=develop)](https://travis-ci.org/face-orm/face) [![Test Coverage](https://codeclimate.com/github/face-orm/face/badges/coverage.svg)](https://codeclimate.com/github/face-orm/face) [![Code Climate](https://codeclimate.com/github/face-orm/face/badges...
face-orm/face
README.md
Markdown
mit
2,057
# List Indentation start_indent/indent * item 1 * item 2 * item 2.1 * item 2.2 * item 2.2.1 * item 2.3 * item 2.3.1 {MD007} * item 3 * item 4 {MD005} {MD007} Text * item 1 {MD007} * item 2 {MD007} * item 2.1 * item 2.2 * item 2.2.1 Text * item 1 * item 2 * item...
DavidAnson/markdownlint
test/list-indentation-start-indent-indent.md
Markdown
mit
512
(function() { 'use strict'; angular.module('cd.app.registerForm') .controller('RegisterFormController', RegisterFormController); /* @ngInject */ function RegisterFormController ($location, StepsService) { var $ctrl = this; $ctrl.selectedPlatform = JSON.parse(localStorage.g...
RaphaelGuimaraes/celular-direto
src/pages/register-form/register-form.controller.js
JavaScript
mit
1,265
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>just some testing</title> <scriptsss src="//cdn.jsdelivr.net/bluebird/3.4.0/bluebird.js"></scriptsss> <script type="text/javascript" src="btrees/persistentBPlusTree.js"></script> <script type="text/javascript" src="murmurHash3.min...
benjaminy/ManyHands
Client/Source/Database/datomsWorkspace.html
HTML
mit
10,616
class String # Changes an underscored string into a class reference. def _as_class # classify expects self to be plural self.classify.constantize end # For compatibility with the Symbol extensions. alias :_singularize :singularize alias :_pluralize :pluralize alias :_classify :classify end cla...
charlotte-ruby/calagator_techclt
vendor/plugins/has_many_polymorphs/lib/has_many_polymorphs/support_methods.rb
Ruby
mit
1,954
from pokemongo_bot.human_behaviour import sleep from pokemongo_bot.base_task import BaseTask class IncubateEggs(BaseTask): SUPPORTED_TASK_API_VERSION = 1 last_km_walked = 0 def initialize(self): self.ready_incubators = [] self.used_incubators = [] self.eggs = [] self.km_w...
Compjeff/PokemonGo-Bot
pokemongo_bot/cell_workers/incubate_eggs.py
Python
mit
8,649
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Verify data doesn't have basic mistakes, like empty text fields or empty label candidates. ## Examples ```shell par...
facebookresearch/ParlAI
parlai/scripts/verify_data.py
Python
mit
5,106
//****************************************************************************************************** // ChannelFrameCollectionBase.cs - Gbtc // // Copyright © 2012, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreemen...
rmc00/gsf
Source/Libraries/GSF.PhasorProtocols/ChannelFrameCollectionBase.cs
C#
mit
4,185
package gonfler import ( "archive/tar" "os" ) type TarArchive struct { handle *tar.Reader file *os.File } func (archive TarArchive) Close() error { return archive.file.Close() } func (archive TarArchive) Volumes() VolumeIterator { var next func() VolumeIterator next = func() VolumeIterator { header, err ...
AlbanSeurat/gonfler
untar.go
GO
mit
705
<fieldset class="col-sm-12 bordure"> <legend class="legende">{{ 'Dishprice' | translate }}</legend> <div ng-include src="'partials/message-include.html'"></div> <table class="table table-striped"> <thead> <tr> <th>{{ 'dishprice.uid' | translate }}</th> <th>{{ 'dishprice.corpid' | ...
cytochromewangdong/HippoStart
src/main/webapp/app/partials/dishprice/dishprice_list.html
HTML
mit
1,667
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/assign/list_of.hpp> #include "wallet.h" #include "walletdb.h" #include...
pangubi/pangubi
src/rpcwallet.cpp
C++
mit
53,760
import { Actor } from './game'; import { Point, Size } from './foundation'; export class Rectangle implements Actor { public isAlive: boolean; protected rectCenter: Point; protected rectSize: Size; protected horizontalDirection: number; protected verticalDirection: number; constructor(center:...
garolard/graphic-toys
src/shapes.ts
TypeScript
mit
2,760
### 修改配置文件
alihanniba/WYWM
README.md
Markdown
mit
22
#!/usr/bin/php <?php require "../api/Init.php"; require "../api/AbzuDB.php"; $AbzuDB = new AbzuDB($db); echo $AbzuDB->get_gauge_to_date("7813517", "month", "2016-03") . "\n"; // $AbzuDB->get_meter_data("7813517", "week"); // $AbzuDB->insert_meter_data("042014", "01245", "10/Oct/2000:13:55:36 -0700"); ?>
jacobm001/independence_water
tools/test_AbzuDB.php
PHP
mit
312
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Threading.Tasks; namespace Hstar.Lara.Cache.Tests { [TestClass] public class SimpleMemoryCacheTest { private static CacheItem<int> intCache; private static int cacheValue = 1; [ClassInitialize] public static v...
hstarorg/Hstar.Core
test/Lara.Cache.Tests/SimpleMemoryCacheTest.cs
C#
mit
1,099
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # MIT License. See license.txt from __future__ import unicode_literals import frappe from frappe import _ from frappe.desk.notifications import delete_notification_count_for from frappe.core.doctype.user.user import STANDARD_USERS from frappe.utils.u...
vCentre/vFRP-6233
frappe/desk/page/messages/messages.py
Python
mit
3,886
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by SpecFlow (http://www.specflow.org/). // SpecFlow Version:2.1.0.0 // SpecFlow Generator Version:2.0.0.0 // // Changes to this file may cause incorrect behavior and wi...
rNexeR/IngSoft-ExaII
Tests/XMLConverter.feature.cs
C#
mit
4,255
.text, .bar { height: 30px; float: left; } .bar { background-color: lightgray; float: left; width: 500px; border: 1px solid black; border-top-right-radius: 4px; border-bottom-right-radius: 4px; } .text { text-align: right; width: 200px; vertical-align: middle; padding-ri...
ApexPredator13/Northernlion-DB
NldbWebsite/ngApp/src/app/components/transformation/items/numberofitemsfound.component.css
CSS
mit
762
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
garethj-msft/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/DeviceRegisteredUsersCollectionReferencesRequest.cs
C#
mit
2,890
import {CORE_DIRECTIVES} from 'angular2/common'; import {Component} from 'angular2/core'; import {OnInit} from 'angular2/core'; import {NotificationService} from '../../service/notification-service'; import {Alert} from 'ng2-bootstrap/ng2-bootstrap'; @Component({ selector: 'notification-center', template: re...
z424brave/DKClient
src/app/common/directives/notification-center/notification-center.ts
TypeScript
mit
967
'use strict'; function fixImports() { let editor = atom.workspace.getActiveTextEditor() if (editor) { // fixImports(editor) // editor.selectLinesContainingCursors() } } module.exports = { fixImports, };
madhusudhand/atom-angular2
lib/command-handlers.js
JavaScript
mit
231
using System.Threading.Tasks; namespace _2.Thread_Save_Singleton { class Program { static void Main(string[] args) { Parallel.For(0, 6, x => LazyThreadSafeLogger.Instance.SaveToLog(x)); LazyThreadSafeLogger.Instance.PrintLog(); } } }
VVoev/Telerik-Academy
14.Design-Patterns/02. Design-Patterns/DesignPatternsDemo/2.Thread-Save-Singleton/Program.cs
C#
mit
298
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>paramcoq: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.04.2-2.0.5/released/8.6/paramcoq/1.1.2+coq8.12.html
HTML
mit
7,340
/* * bootstrap-tagsinput v0.8.0 * */ .bootstrap-tagsinput { background-color: #fff; border: 1px solid #ccc; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); /*display: inline-block;*/ padding: 4px 6px; color: #555; vertical-align: middle; border-radius: 4px; max-width: 100%; line-height: 22px;...
yiiu-co/yiiu
views/default/static/bootstrap-tagsinput/bootstrap-tagsinput.css
CSS
mit
2,316
require 'json' autoload :EbayItem, "ebay_ruby/ebay_item" class EbayFindItem def initialize(json) @json = json end attr_reader :json def parse JSON.parse(json).values.first end def all_items total_items = [] begin parse.first["searchResult"].first["item"].each do |item| eba...
rajcybage/ebay_ruby
lib/ebay_ruby/ebay_find_item.rb
Ruby
mit
503
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>...
BuzzAcademy/idioms-moe-unformatted-data
all-data/18000-18999/18319-22.html
HTML
mit
1,938
#ifndef __P_BUFFER_H__ #define __P_BUFFER_H__ void P_bufferinit(); void P_bufferclose(); #endif
CreatureDev/yatm
include/p_buffer.h
C
mit
99
var $iterators = require('./es6.array.iterator') , redefine = require('./_redefine') , global = require('./_global') , hide = require('./_hide') , Iterators = require('./_iterators') , wks = require('./_wks') , CORRECT_SYMBOL = require('./_correct-symbol') , ITE...
eteeselink/core-js
modules/web.dom.iterable.js
JavaScript
mit
1,075
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="zh"> <head> <!-- Generated by javadoc (1.8.0_112) on Mon Feb 06 01:21:49 MST 2017 --> <title>已过时的列表</title> <meta name="date" content="2017-02-06"> <link rel="stylesheet" type="text/css" h...
Xin-Huang1004/xhuang2-SizeBook
testapp/javadoc/deprecated-list.html
HTML
mit
3,572
/* tslint:disable */ /* eslint-disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type FairHeader_Test_QueryVariables = {}; export type FairHeader_Test_QueryResponse = { readonly fair: { readonly " $fragmentRefs": FragmentRefs<"FairHeader_fair">...
artsy/force-public
src/v2/__generated__/FairHeader_Test_Query.graphql.ts
TypeScript
mit
5,927
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved. package watch import ( "log" "os" "sync" "syscall" "github.com/hpcloud/tail/util" "gopkg.in/fsnotify.v1" ) type InotifyTracker struct { mux sync.Mutex watcher *fsnotify.Watcher chans map[string]chan fsnotify.Event done map[stri...
millken/kaman
vendor/github.com/hpcloud/tail/watch/inotify_tracker.go
GO
mit
3,931
/** * Copyright (c) 2014 Famous Industries, Inc. * * 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 to use, copy, modify, m...
hemantasapkota/pdfspeaker
src/app/js/main.js
JavaScript
mit
4,131
import React, { Component, PropTypes } from 'react'; import Select from 'react-select'; import { omit } from 'lodash'; import classNames from 'classnames'; import styles from './styles.scss'; import chevronIcon from '../../../assets/images/icons/chevron-down.svg'; export const THEMES = { OLD: 'old', INTERNAL: 'interna...
singaporesamara/SOAS-DASHBOARD
app/components/UIKit/SelectField/index.js
JavaScript
mit
2,115
<?php declare(strict_types=1); namespace Thunder\Currenz\Tests; use PHPUnit\Framework\TestCase; use Thunder\Currenz\Utility\Utility; final class UtilityTest extends TestCase { public function testXmlToArray() { $this->assertCount(179, Utility::xmlToArray(file_get_contents(__DIR__.'/../data/list_one.xm...
thunderer/Currenz
tests/UtilityTest.php
PHP
mit
335
#!/usr/bin/env python # -*- coding: utf-8 -*- # vim: ai ts=4 sts=4 et sw=4 nu from __future__ import (unicode_literals, absolute_import, division, print_function) import logging from django.core.management.base import BaseCommand from optparse import make_option from py3compat import PY2 from...
yeleman/snisi
snisi_maint/management/commands/entities_to_cascades.py
Python
mit
2,414
# Module marina_ring # * [Function Index](#index) * [Function Details](#functions) <a name="index"></a> ## Function Index ## <table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#build-1">build/1</a></td><td></td></tr><tr><td valign="top"><a href="#...
lpgauth/marina
doc/marina_ring.md
Markdown
mit
655
#!/usr/bin/env python3 # -*- coding:utf-8 -*- # # sl-ls.py: get information utility # Created by NAKAJIMA Takaaki # Last modified: Apr 16, 2014. # # Require: Python v3 # # See also https://softlayer-api-python-client.readthedocs.org # # You should set env variables # SL_USER...
ryumei/softlayer-utility
sl-ls.py
Python
mit
3,178
require "aop" require "contracts" class BankAccount < Struct.new(:number, :amount) include Contracts Contract BankAccount, Num => Num def transfer(other, amount) self.amount -= amount other.amount += amount end end @actual = nil @expected = "Transfered 100 from 12345 to 98765" Aop["BankAccount#trans...
waterlink/aop
integration/contracts.rb
Ruby
mit
595
from .View import View class MethuselahView(View): type = "Methuselah" trans = { "stableAfter": {"pick": "l"} }
mir3z/life.js
library-scrapper/views/Methuselah.py
Python
mit
134
module Downsampler module TimeExt def floor(seconds = 60) Time.at((self.to_f / seconds).floor * seconds) end end end
omockler/downsampler
lib/downsampler/time_extensions.rb
Ruby
mit
134
<?php namespace Virgin\ChannelGuideBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Channel * * @ORM\Table(name="channel") * @ORM\Entity(repositoryClass="Virgin\ChannelGuideBundle\Entity\ChannelRepository") */ class Channel implements ChannelInterface { /** * @var integer * * @ORM\Column...
guided1/virgin-symfony-test
src/Virgin/ChannelGuideBundle/Entity/Channel.php
PHP
mit
1,127
#!/usr/bin/env python # -*- coding: utf-8 -*- from runner.koan import * # Greed is a dice game where you roll up to five dice to accumulate # points. The following "score" function will be used calculate the # score of a single roll of the dice. # # A greed roll is scored as follows: # # * A set of three ones is 100...
kimegitee/python-koans
python3/koans/about_scoring_project.py
Python
mit
2,731
# coding=utf-8 """ This code was generated by \ / _ _ _| _ _ | (_)\/(_)(_|\/| |(/_ v1.0.0 / / """ from twilio.base import deserialize from twilio.base import values from twilio.base.instance_resource import InstanceResource from twilio.base.list_resource import ListResource from twilio.base.page i...
angadpc/Alexa-Project-
twilio/rest/api/v2010/account/message/feedback.py
Python
mit
5,676
#ifndef _TCompare_H_ #define _TCompare_H_ ////////////////////////////////////////////////////////////////////////////// // // Compare Object // ////////////////////////////////////////////////////////////////////////////// class DefaultEquals { public: template<class TEqualsValue> bool operator () (const TEq...
AllegianceZone/Allegiance
src/zlib/tcompare.h
C
mit
1,072
Imports System.Configuration Imports System.Data.Common Imports log4net Public Class DatabaseTestBase Inherits TestBase Private Shared ReadOnly Log As ILog = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod.DeclaringType) Protected Overrides Sub SetUp() MyBase.SetUp() ...
claco/siphon
SiphonTests/DatabaseTestBase.vb
Visual Basic
mit
4,200
require 'uri' class SuperSearch def self.url "http://search.alaska.test/" end def self.query_param_for(item_name) # item_name.gsub(/\s+/, '+') URI.encode item_name end def self.url_for(item_name) "#{SuperSearch.url}index.php?q=#{SuperSearch.query_param_for(item_name)}" end def self.url_for_engine(engine...
allen-garvey/booklist-rails
lib/super_search.rb
Ruby
mit
424
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <style> /*<![CDATA[*/ body{ width: 1024px; margin: 0; pa...
notus629/notus629.github.io
fdls/nav.html
HTML
mit
50,939
<?php //common environment attributes including search paths. not specific to Learnosity include_once '../../env_config.php'; //site scaffolding include_once 'includes/header.php'; //common Learnosity config elements including API version control vars include_once '../../lrn_config.php'; use LearnositySdk\Request\I...
Learnosity/learnosity-demos
www/usecases/customquestions/custom.php
PHP
mit
4,981
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.ProjectOxford.Video.Contract { /// <summary> /// An individual event during FaceDetection action, returned in the <see cref="FaceDetectionR...
Microsoft/ProjectOxford-ClientSDK
Video/Windows/ClientLibrary/Contract/FaceEvent.cs
C#
mit
1,241
<!DOCTYPE html> <html> <head> <title>Opularity | Getting Steam</title> <!--Change the title Depending on your tutorial--> <link href="Resources/css/bootstrap.css" rel='stylesheet' type='text/css' /> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> <...
Opularity/Opularity.github.io
trading.html
HTML
mit
7,361
package openperipheral.adapter; public interface IMethodCall { public IMethodCall setEnv(String name, Object value); public Object[] call(Object... args) throws Exception; }
OpenMods/OpenPeripheral
src/main/java/openperipheral/adapter/IMethodCall.java
Java
mit
180
#pragma once #include <glkernel/noise.h> #include <glkernel/glm_compatability.h> namespace { // From // JAVA REFERENCE IMPLEMENTATION OF IMPROVED NOISE - COPYRIGHT 2002 KEN PERLIN. (http://mrl.nyu.edu/~perlin/noise/) // and (Improving Noise - Perlin - 2002) - http://mrl.nyu.edu/~perlin/paper445.pdf const std::v...
cginternals/glkernel
source/glkernel/include/glkernel/noise.hpp
C++
mit
15,839
using System; namespace MicrosoftGraph.Model { /// <summary> /// Room /// </summary> [Serializable] public class Room { /// <summary> /// Room name /// </summary> public string Name { get; set; } /// <summary> /// Room email /// </summar...
gled4er/doc-translator-api
MicrosoftGraph/Model/Room.cs
C#
mit
599
<HTML> <HEAD> <TITLE>3rd Party ROBOTC Drivers</TITLE> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </HEAD> <BODY bgcolor="#ffffff" link="#000000" vlink="#000000"> <table width="100%" bgcolor="navy" cellspacing=0 cellpadding=1 border=0> <...
chsrobotc/2013-robotc
drivers/mux/html/dexterind-thermalir-test2_8c-example.html
HTML
mit
7,551
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Struct template thread_access_mode_of&lt;no_lock&lt; MutexT &gt;&gt;</title> <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"...
laborautonomo/poedit
deps/boost/libs/log/doc/html/boost/log/thread_access__idp28471480.html
HTML
mit
4,452
""" Tests barbante.api.generate_product_templates_tfidf. """ import json import nose.tools import barbante.api.generate_product_templates_tfidf as script import barbante.utils.logging as barbante_logging import barbante.tests as tests log = barbante_logging.get_logger(__name__) def test_script(): """ Tests a...
hypermindr/barbante
barbante/api/tests/test_generate_product_templates_tfidf_api.py
Python
mit
603
#include "ofxCv/Helpers.h" #include "ofxCv/Utilities.h" namespace ofxCv { using namespace cv; ofMatrix4x4 makeMatrix(Mat rotation, Mat translation) { Mat rot3x3; if(rotation.rows == 3 && rotation.cols == 3) { rot3x3 = rotation; } else { Rodrigues(rotation, rot3x3); } double* rm = rot3x3.ptr<double>...
cran-io/ofxCv
libs/ofxCv/src/Helpers.cpp
C++
mit
4,884
#summarySpace { position: absolute; top: 50px; left: 50%; margin-left: -350px; } #summarySpace > div.source { position: absolute; width: 124px; height: 93px; background-size: cover; background-repeat: no-repeat; background-position: 50% 50%; } #summarySpace > div.sourceLarge { position: absolute...
Lochemage/ggj-2016
client/static/css/summary.css
CSS
mit
2,857
<?php namespace elinoix\shopBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Client * * @ORM\Table(name="Client") * @ORM\Entity */ class Client { /** * @var integer * * @ORM\Column(name="id", type="integer") * @ORM\Id * @ORM\GeneratedValue(strategy="IDENTITY") */ priva...
risq/sf
src/elinoix/shopBundle/Entity/Client.php
PHP
mit
5,142
<?php namespace User\Form; class User extends \Zend\Form\Form { /** * @var \User\Model\User */ protected $userModel; /** * * @param \User\Model\User $userModel * @param array $options */ public function __construct(\User\Model\User $userModel, array $options = []) ...
mzieba/zpp-zf2-crud
module/User/src/User/Form/User.php
PHP
mit
6,834
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <meta name="collection" content="api"> <!-- Generated by javadoc (build 1.5.0-rc) on Wed Aug 11 07:22:29 PDT 2004 --> <TITLE> WindowAdapter (Java 2 Platform SE 5.0) </TITLE> <META NAME="k...
Smolations/more-dash-docsets
docsets/Java 5.docset/Contents/Resources/Documents/java/awt/event/WindowAdapter.html
HTML
mit
26,897
param = dict( useAIon=True, verbose=False, chargePreXlinkIons=[1, 3], chargePostXlinkIons=[2, 5], basepeakint = 100.0, dynamicrange = 0.001, missedsites = 2, minlength = 4, maxlength = 51, modRes = '', modMass = 0.0, linkermass = 136.10005, ms1tol = dict(measure='ppm', val=5), ms2tol = dict(measure='da', ...
COL-IU/XLSearch
library/Parameter.py
Python
mit
1,380
Notify = function(text, callback, close_callback, style) { var time = '10000'; var $container = $('#notifications'); var icon = '<i class="fa fa-info-circle "></i>'; if (typeof style == 'undefined' ) style = 'warning' var html = $('<div class="alert alert-' + style + ' hide">' + icon + " " + text + '</div>...
nil1990/earth_nine_ecomm
assets/js/notify.js
JavaScript
mit
966
..\AutoGenXml\bin\Debug\AutoGenXml.exe -C %1 -T %2
putridparrot/AutoGenXml
Samples/Run.bat
Batchfile
mit
50
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using QrF.Core.Admin.Dto; using QrF.Core.Admin.Interfaces; using Microsoft.AspNetCore.Hosting; namespace QrF.Core.Admin.Controllers { /// <summary> /// 用户管理 ///...
ren8179/QrF.Core
src/apis/QrF.Core.Admin/Controllers/UserController.cs
C#
mit
3,707
<!-- { "rows": [ "\tDate\tID\tName\tAmount", "\t15 April 2013\tPaid in 5 days\t98765\tSuper client\tUSD <b>$29.99</b>", "\t1 April 2013\tPaid in 72 days\t12345\tA. Conglomerate\tUSD $29.99", "\t1 January 2013\tPaid in 15 days\t38502\tSuper client\tUSD $29.99" ] } --> <html> <head> <tit...
jamesandres/ColumnCopy
tests/test6.html
HTML
mit
2,359
# coding: utf-8 """ Talon.One API The Talon.One API is used to manage applications and campaigns, as well as to integrate with your application. The operations in the _Integration API_ section are used to integrate with our platform, while the other operations are used to manage applications and campaigns. #...
talon-one/talon_one.py
talon_one/models/integration_entity.py
Python
mit
5,337
<?php /** * This class adds structure of 'pp_faq' table to 'propel' DatabaseMap object. * * * This class was autogenerated by Propel 1.3.0-dev on: * * Mon Aug 9 02:03:44 2010 * * * These statically-built map classes are used by Propel to do runtime db structure discovery. * For example, the createSelectSql...
serg-smirnoff/symfony-pposter
symfony/lib/model/map/FaqMapBuilder.php
PHP
mit
2,043
import React from 'react'; import Link from 'gatsby-link'; import { BlogPostContent, BlogPostContainer, TagList } from '../utils/styles'; import { arrayReducer } from '../utils/helpers.js'; export default function TagsPage({ data }) { const { edges: posts } = data.allMarkdownRemark; const categoryArray = arrayR...
aberkow/gatsby-blog
src/pages/categories.js
JavaScript
mit
1,085