code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
3
942
language
stringclasses
30 values
license
stringclasses
15 values
size
int32
3
1.05M
using System; namespace Nancy.Swagger.ObjectModel.Attributes { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Enum, AllowMultiple = false, Inherited = true)] public class SwaggerDataAttribute : Attribute { } }
pinnstrat/snap-nancy-swagger
src/Nancy.Swagger/ObjectModel/Attributes/SwaggerDataAttribute.cs
C#
mit
261
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta name=...
tonytamsf/learning
corona/docs/plugin/tapfortap/prepareInterstitial.html
HTML
mit
8,656
\set ECHO ALL INSERT INTO upsert_table AS u (some_key, some_val) VALUES ('b', 10) ON CONFLICT ON CONSTRAINT upsert_table_some_key_key DO UPDATE SET some_val = excluded.some_val; SELECT * FROM upsert_table;
keithf4/pg95live
demo/upsert7.sql
SQL
mit
213
/** * @author Joe Adams */ goog.provide('CrunchJS.Systems.PathfindingSystem'); goog.require('CrunchJS.System'); goog.require('CrunchJS.Components.Path'); goog.require('goog.structs'); goog.require('goog.array'); goog.require('goog.math'); /** * Creates a new Pathfinding System * @constructor * @class */ Crun...
jadmz/CrunchJS
app/js/engine/systems/PathfindingSystem.js
JavaScript
mit
5,422
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>atbr: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" r...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.09.1-2.0.6/released/8.10.0/atbr/8.9.0.html
HTML
mit
7,378
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>metacoq-safechecker: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../boots...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.13.1-2.0.10/released/8.13.1/metacoq-safechecker/1.0~alpha1+8.9.html
HTML
mit
7,919
<!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.05.0-2.0.1/released/8.13.0/paramcoq/1.1.3+coq8.14.html
HTML
mit
7,628
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body> <p>Count numbers: <output id="result"></output> </p> <button onclick="startWorker()">Start Worker</button> <button onclick="stopWorker()">Stop Worker</button> <script> var w; function startWorker() { if...
HadeAs/blog
demos/web-worker/webworker.html
HTML
mit
835
<!DOCTYPE html> <!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" dir="ltr"> <!--<![endif]--> <!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open...
GoC-Spending/data-corporations
html/234567017771.html
HTML
mit
39,131
using System; using System.Windows.Forms; namespace DocumentExplorerExample { /// <summary> /// Provides full information about application exception. /// </summary> public class ExceptionDialog : Form { #region Windows Form Designer generated code private System.ComponentModel.Container components = null...
assadvirgo/Aspose_Words_NET
Examples/CSharp/Viewers-Visualizers/Document-Explorer/ExceptionDialog.cs
C#
mit
3,308
#region License //----------------------------------------------------------------------- // <copyright> // The MIT License (MIT) // // Copyright (c) 2014 Kirk S Woll // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Softwar...
x335/WootzJs
WootzJs.Compiler.Tests/Linq/Expressions/MethodCallExpressionTests.cs
C#
mit
3,963
#define PROTOTYPE using UnityEngine; using System.Collections; using System.Collections.Generic; using System.Linq; using ProBuilder2.Common; using ProBuilder2.MeshOperations; namespace ProBuilder2.Examples { [RequireComponent(typeof(AudioSource))] public class IcoBumpin : MonoBehaviour { pb_Object ico; // A r...
hakur/shooter
Assets/ProCore/ProBuilder/API Examples/Icosphere FFT/Scripts/IcoBumpin.cs
C#
mit
8,702
require 'rails_helper' RSpec.describe OnlineApplicationPolicy, type: :policy do subject(:policy) { described_class.new(user, online_application) } let(:online_application) { build_stubbed(:online_application) } context 'for staff' do let(:user) { build_stubbed(:staff) } it { is_expected.to permit_acti...
ministryofjustice/fr-staffapp
spec/policies/online_application_policy_spec.rb
Ruby
mit
1,255
require "active_record" require "active_record/mass_assignment_security/associations" require "active_record/mass_assignment_security/attribute_assignment" require "active_record/mass_assignment_security/core" require "active_record/mass_assignment_security/nested_attributes" require "active_record/mass_assignment_sec...
rails/protected_attributes
lib/active_record/mass_assignment_security.rb
Ruby
mit
1,126
/** * Created by james on 3/11/15. */ var crypto = Npm.require('crypto'); IntercomHash = function(user, secret) { var secret = new Buffer(secret, 'utf8') return crypto.createHmac('sha256', secret) .update(user._id).digest('hex'); }
jamesoy/Microscope
packages/intercom/intercom_server.js
JavaScript
mit
251
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-ssreflect: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.10.1-2.0.6/released/8.12.1/mathcomp-ssreflect/1.7.0.html
HTML
mit
7,318
using System; using System.Drawing.Imaging; using System.IO; using System.Text; namespace TeknikProgramlama.Tools.Image { public static class Utils { public static string Image2Base64(this System.Drawing.Image image, ImageFormat format) { var imgBytes = image.ToBytes(format); var b...
teknikprogramlama/Teknikprogramlama.Tools
TeknikProgramlama.Tools/Image/Utils.cs
C#
mit
1,121
using UnityEngine; using System.Collections; public class sample : MonoBehaviour { // Use this for initialization void Start () { Vector3 startPos = new Vector3(0,0,0); Vector3 endPos = new Vector3(10,-10,0); Vector3 center = Vector3.Lerp(startPos, endPos, 0.5f); Vector3 cut = (endPos - startPos)...
HackathonHC/team-z
Assets/sample.cs
C#
mit
985
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 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 'babel-core/polyfill'; import path from 'path'; imp...
cheshire137/cheevo-plotter
src/server.js
JavaScript
mit
3,191
package com.github.robocup_atan.atan.parser.objects; /* * #%L * Atan * %% * Copyright (C) 2003 - 2014 Atan * %% * 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, i...
robocup-atan/atan
src/main/java/com/github/robocup_atan/atan/parser/objects/ObjNameFlagGoalWest.java
Java
mit
4,455
#pragma once #include <app/common.hpp> #include <app/LedDisplay.hpp> #include <audio.hpp> namespace rack { namespace app { struct AudioWidget : LedDisplay { LedDisplayChoice* driverChoice; LedDisplaySeparator* driverSeparator; LedDisplayChoice* deviceChoice; LedDisplaySeparator* deviceSeparator; LedDisplayChoi...
AndrewBelt/Rack
include/app/AudioWidget.hpp
C++
mit
505
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>zf: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.02.3-2.0.6/released/8.5.0/zf/8.6.0.html
HTML
mit
6,845
// @flow /* eslint-disable no-console */ import chalk from "chalk"; import createWatcher from "./watch"; import loadWatches from "./load-watches"; import hasWatchman from "./utils/has-watchman"; import type { WatchDefinition } from "./load-watches"; import getConfig from "./config"; type Targets = { [target: string]...
laat/nurture
src/index.js
JavaScript
mit
1,846
$(document).ready(function(){ initUploadExcerptPhoto(); initUploadMedia(); $('#edcomment_save').removeAttr('disabled'); $(document).on('click', '.js-single-click', function(){ $(this).attr('disabled', 'disabled'); }); $(document).on('submit', '.js-single-submit', function(){ va...
NegMozzie/tapha
src/BlogBundle/Resources/public/js/fe-general.js
JavaScript
mit
10,917
<?php namespace Arthem\GoogleApi\Infrastructure\Client; use Arthem\GoogleApi\Infrastructure\Client\Decoder\DecoderInterface; use Arthem\GoogleApi\Infrastructure\Client\Exception\ClientErrorException; use GuzzleHttp\ClientInterface; use Psr\Log\LoggerAwareInterface; use Psr\Log\LoggerInterface; abstract class Client ...
4rthem/google-api
src/Infrastructure/Client/Client.php
PHP
mit
2,757
require 'brahma/web/fall' class CmsController < ApplicationController def index @title = t('web.title.cms') @fall_card = Brahma::Web::FallCard.new nil lang = I18n.locale Cms::Article.select(:id, :title, :summary, :logo).where(lang: lang).order(created: :desc).limit(20).each { |a| @fall_card.add cms_...
chonglou/portal
app/controllers/cms_controller.rb
Ruby
mit
468
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>18 --> 19</title> <link href="./../../assets/style.css" rel="stylesheet"> </head> <body> <h2>You have to be fast</h2> <a href="./4cb43bfa50f617754dc9ad3877974ff95607417d1504041b15790ad6be09dd23.html">Teleport</a> <hr> ...
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/bed5041638bafafef161dd3f462b38203b8bec4bb3c97c11dcba72dd21e04962.html
HTML
mit
550
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>color: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.08.1-2.0.5/released/8.8.0/color/1.4.0.html
HTML
mit
9,180
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // // Copyright (c) 2018 Citrix ShareFile. All rights ...
citrix/ShareFile-NET
src/ShareFile.Api.Client/Models/ClientUpgradeWeb.cs
C#
mit
1,627
--- layout: page title: Dunlap Enterprises Seminar date: 2016-05-24 author: Sandra Henry tags: weekly links, java status: published summary: Praesent ac gravida erat, at vehicula risus. Proin. banner: images/banner/office-01.jpg booking: startDate: 11/12/2017 endDate: 11/17/2017 ctyhocn: GBGPAHX groupCode: DES ...
KlishGroup/prose-pogs
pogs/G/GBGPAHX/DES/index.md
Markdown
mit
2,448
<html ng-app='refApp'> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" ng-app='refApp'> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" ng-app='refApp'> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9" ng-app='refApp'> <![endif]--> <!--[if gt IE 8]><!--> <html class="...
descartez/refbot
index.html
HTML
mit
3,254
var statusItems = initStatusItems(); module.exports = { // check for an item completion checkItems: function(content, callback) { // iterate each status item to check for matches for (var i = 0; i < statusItems.length; i++) { var item = statusItems[i]; // skip item if it...
ScopeXL/sugarbuild
lib/phantom-install-helper.js
JavaScript
mit
2,815
import numpy as np def random_flips(X): """ Take random x-y flips of images. Input: - X: (N, C, H, W) array of image data. Output: - An array of the same shape as X, containing a copy of the data in X, but with half the examples flipped along the horizontal direction. """ N, C, H...
UltronAI/Deep-Learning
CS231n/reference/cnn_assignments-master/assignment3/cs231n/data_augmentation.py
Python
mit
4,178
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-finmap: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.mi...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.05.0-2.0.6/released/8.6/mathcomp-finmap/1.3.3.html
HTML
mit
7,444
/** * Copyright (c) Tiny Technologies, Inc. All rights reserved. * Licensed under the LGPL or a commercial license. * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ * * Version: 5.1.1 (2019-10-28) */ (function (domGlobals) { 'use st...
cdnjs/cdnjs
ajax/libs/tinymce/5.1.1/plugins/textcolor/plugin.js
JavaScript
mit
650
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using ZSUIFramework; public class CreatRoomGUI : ZSUI { public Button mBtnClose = null; public override void Init() { ZSUIListener.AddClickEvent( mBtnClose.gameObject, Close ); } }
zhanshu233/ZSUIFramework
Assets/Example/Scripts/UI/CreatRoomGUI.cs
C#
mit
293
<div class="comment"> <span class="commenter"> {{ comment.comment_owner|e }} wrote ({{ comment.time_since_post()|e }}): </span> <blockquote> {{ comment.comment_text|e }} </blockquote> </div>
nimbus154/OratoricalDecaf
Project/templates/comment.html
HTML
mit
211
export {NavbarItemComponent} from './navbar-item/navbar-item.component'; export {NavbarComponent} from './navbar.component';
Hertox82/Lortom
angular-backend/src/app/backend-module/navbar/index.ts
TypeScript
mit
125
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>matrices: 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.05.0-2.0.1/released/8.13.2/matrices/8.8.0.html
HTML
mit
7,791
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>hammer: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" re...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.09.0-2.0.5/extra-dev/8.11.dev/hammer/1.1.1+8.9.html
HTML
mit
7,183
# frozen_string_literal: true module DropletKit class AccountMapping include Kartograph::DSL kartograph do root_key singular: 'account', scopes: [:read] mapping Account scoped :read do property :droplet_limit property :floating_ip_limit property :email prop...
digitalocean/droplet_kit
lib/droplet_kit/mappings/account_mapping.rb
Ruby
mit
392
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-09-07 00:18 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('payments', '0004_auto_20160904_0048'), ] operations = [ migrations.AlterFiel...
CCrypto/ccvpn3
payments/migrations/0005_auto_20160907_0018.py
Python
mit
612
#!/usr/bin/python import requests import json # Import modules for CGI handling import cgi, cgitb # Create instance of FieldStorage form = cgi.FieldStorage() # Get data from fields user_title = form.getvalue('search_title') print "Content-type: text/html\n\n"; # Setting attributes to send to Wik...
azimos/geddit
old/geddit-backend.py
Python
mit
3,469
/* Copyright (c) 2013 Chris Wraith 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, merge, publish, distribute, su...
jacksonps4/jutils
src/main/java/com/minorityhobbies/util/URLUtils.java
Java
mit
2,996
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>otway-rees: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min....
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.11.2-2.0.7/released/8.12.1/otway-rees/8.6.0.html
HTML
mit
6,868
#region Usings using System; using Xunit; #endregion namespace Extend.Testing { public partial class StringExTest { [Fact] public void SubstringLeftSafeTest() { var actual = "testabc".SubstringLeftSafe( 4 ); Assert.Equal( "test", actual ); actual ...
DaveSenn/Extend
.Src/Extend.Testing/System.String/String.SubstringLeftSafe.Test.cs
C#
mit
1,814
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>monae: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.03.0-2.0.5/released/8.7.1+2/monae/0.3.4.html
HTML
mit
7,943
// // UIViewController+ZSAdditions.h // ZSAdditions // // Created by Stas Zhukovskiy on 16.02.15. // Copyright (c) 2015 Stas Zhukovskiy. All rights reserved. // #import <UIKit/UIKit.h> @interface UIViewController (ZSAdditions) + (NSString *)storyBoardIdentifier; @end
Zhukn1/ZSAdditions
Pod/Classes/UIViewController+ZSAdditions.h
C
mit
276
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("Pr...
BiserSirakov/TelerikAcademyHomeworks
C# - Part 1/Intro-Programming-Homework/04.PrintFirstAndLastName/Properties/AssemblyInfo.cs
C#
mit
1,418
<!DOCTYPE html> <!--[if IEMobile 7]><html class="iem7 no-js" lang="en" dir="ltr"><![endif]--> <!--[if lt IE 7]><html class="lt-ie9 lt-ie8 lt-ie7 no-js" lang="en" dir="ltr"><![endif]--> <!--[if (IE 7)&(!IEMobile)]><html class="lt-ie9 lt-ie8 no-js" lang="en" dir="ltr"><![endif]--> <!--[if IE 8]><html class="lt-ie9 no...
1wheel/scraping
epa-grants/research/raw/02186.html
HTML
mit
20,484
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>coq-in-coq: 1 m 0 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" re...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.03.0-2.0.5/released/8.7.1+1/coq-in-coq/8.7.0.html
HTML
mit
13,686
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>coq2html: 17 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="st...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.08.1-2.0.5/released/8.7.0/coq2html/1.2.html
HTML
mit
6,483
// # Demo Particles 011 // Tracer entity: generation and functionality // [Run code](../../demo/particles-011.html) import * as scrawl from '../source/scrawl.js' import { reportSpeed } from './utilities.js'; // Get Scrawl-canvas to recognise and act on device pixel ratios greater than 1 scrawl.setIgnorePixelRatio(f...
KaliedaRik/Scrawl-canvas
demo/particles-011.js
JavaScript
mit
5,771
'use strict'; /** * Module dependencies. */ const express = require('express'); const session = require('express-session'); const compression = require('compression'); const morgan = require('morgan'); const cookieParser = require('cookie-parser'); const cookieSession = require('cookie-session'); const bodyParser =...
kyue1005/accedotv-demo
config/express.js
JavaScript
mit
2,588
Eclipse如何配色 =============== 本经验介绍如何给Eclipse配色,采用的方案是使用Eclipse Color Theme插件进行配色。以Eclipse 4.2版本为例子,其他版本类似。 --- 1. 启动Eclipse,选择“Help”-“Install New Software...” ![](http://biang.io/biangpic/blog/1c3929f3013dc19c935b8e46d7463634.jpg) 2. 在弹出的对话框中,点击“Add"按钮 ![](http://biang.io/biangpic/blog/9e766925b52d423432843afa...
biangbiang/something
development/tools/editor/eclipse/eclipse-color-theme.md
Markdown
mit
1,529
--- layout: post comments: true title: Who Uses Backslashes? mt_id: 85 date: 2007-02-05 10:56:37 -08:00 --- My local NPR station, [WAMU](http://www.wamu.org) has been running an advertisement for IBM federal services and they mention the URL, which is spoken as "ibm.com backslash foo backslash bar," which won't work i...
dinomite/octopress
source/_posts/2007-02-05-who-uses-backslashes.markdown
Markdown
mit
462
namespace Nancy.Serialization.ServiceStack { using System.Collections.Generic; using System.IO; using global::ServiceStack.Text; using Responses.Negotiation; public class ServiceStackJsonSerializer : ISerializer { /// <summary> /// Whether the serializer can serialize...
NancyFx/Nancy.Serialization.ServiceStack
src/Nancy.Serialization.ServiceStack/ServiceStackJsonSerializer.cs
C#
mit
1,570
/* * Copyright (c) 2017-2019 by Botorabi. All rights reserved. * https://github.com/botorabi/Meet4Eat * * License: MIT License (MIT), read the LICENSE text in * main directory for more details. */ package net.m4e.update.rest.comm; import org.junit.jupiter.api.*; import javax.json.bind.*; import java.ti...
botorabi/Meet4Eat
src/test/java/net/m4e/update/rest/comm/UpdateCheckResultTest.java
Java
mit
1,790
<div> <ul> <li>Binary search </li> <li>Count sort: assumption range is small </li> <li>CourtSort App</li> <li>Bucket sort. assumption. value is uniformly distribute </li> </ul> </div>
jasonzhang2022/algorithm
src/main/java/jason/algorithm/sort/package.html
HTML
mit
196
#!/usr/bin/env python import os import sys from setuptools import setup os.system('make rst') try: readme = open('README.rst').read() except FileNotFoundError: readme = "" setup( name='leicaautomator', version='0.0.2', description='Automate scans on Leica SPX microscopes', long_description=r...
arve0/leicaautomator
setup.py
Python
mit
1,212
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>karatsuba: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.08.1-2.0.5/released/8.7.1/karatsuba/8.8.0.html
HTML
mit
6,936
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>huffman: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.10.2-2.0.6/released/8.11.1/huffman/8.5.0.html
HTML
mit
6,984
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>free-groups: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.03.0-2.0.5/released/8.6/free-groups/8.5.0.html
HTML
mit
7,003
#pragma once #include <boost/property_tree/ptree.hpp> namespace bittrex::model { struct Ticker { explicit Ticker(boost::property_tree::ptree &j) { bid = j.get<std::string>("Bid"); ask = j.get<std::string>("Ask"); last = j.get<std::string>("Last"); }; std::string bid; std::str...
gurpinars/bittrex-cpp
libbittrex/include/libbittrex/models/ticker.h
C
mit
377
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Wetlab Site Launch • The Wetlab</title> <meta name="description" content=" "> <meta name="keywords" content=""> <!-- Twitter Cards --> <meta name="twitter:title" content="Wetlab Site Launch"> <meta name="twitter:description" conte...
kylebates1/kylebates1.github.io
_site/news/index.html
HTML
mit
5,703
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>reglang: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.03.0-2.0.5/released/8.5.3/reglang/1.1.3.html
HTML
mit
7,553
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * Class Jwt * jwt加密类 */ class Jwt { /** * @var int */ public static $leeway = 0; /** * @var null */ public static $timestamp = null; /** * @var array */ public static $supported_algs = a...
wuanlife/wuanlife_api
application/libraries/Jwt.php
PHP
mit
9,916
<div class="content-section introduction"> <div class="feature-intro"> <h1>Polar Area Chart</h1> <p>Polar area charts are similar to pie charts, but each segment has the same angle - the radius of the segment differs depending on the value.</p> </div> <app-demoActions github="chart/polararea...
primefaces/primeng
src/app/showcase/components/chart/polarareachart/polarareachartdemo.html
HTML
mit
3,507
/* * The MIT License * * Copyright (c) 2019, CloudBees, 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, c...
jenkinsci/groovy-plugin
src/test/java/hudson/plugins/groovy/StringScriptSourceTest.java
Java
mit
3,461
<aside id="featured" class="body"> <article> <figure> <img src="img/logo/<?= $prj->slug ?>.png" alt="<?= sprintf(_('Project’s logo for %s'), $prj->name) ?>" /> </figure> <hgroup> <h2><?= $prj->name ?></h2> <h3><?= $prj->short ?></h3> </hgroup> <p><...
malenkiki/reine
templates/WebProjectsShow.php
PHP
mit
3,223
/* RIGHT */ :local .objectManager::-webkit-scrollbar-thumb { background-color: transparent; } :local .objectManager::-webkit-scrollbar-track { background-color: transparent; } :local .objectManager::-webkit-scrollbar { width: 0.6em; } :local .objectManager:hover::-webkit-scrollbar-thumb{ background-colo...
pastahito/remus
src/renderer_process/app/components/objectManager/styles.css
CSS
mit
4,019
local require=require; local loadfile=loadfile; local print=print; local attrdir=require "file.attrdir" function isLUA(path) if path:sub(-4,-1) ==".lua" then return true; end return false; end function requirelua(path) --[[TODO path=path:sub(3,-1) path=path:sub(1,-5) path=path:gsub("/",".") requ...
czfshine/luagy
require/importall.lua
Lua
mit
612
<html> <head> <title>Sandra Howard's panel show appearances</title> <script type="text/javascript" src="../common.js"></script> <link rel="stylesheet" media="all" href="../style.css" type="text/css"/> <script type="text/javascript" src="../people.js"></script> <!--#include virtual="head.txt" --> </head> <body> <!--...
slowe/panelshows
people/basoq775.html
HTML
mit
1,196
class Solution { public: vector<int> addNegabinary(vector<int>& arr1, vector<int>& arr2) { vector<int> result; int i = arr1.size() - 1, j = arr2.size() - 1, carry = 0; while (i >= 0 || j >= 0 || carry) { int s = carry; if (i >= 0) { s += arr1[i--]; ...
jiadaizhao/LeetCode
1001-1100/1073-Adding Two Negabinary Numbers/1073-Adding Two Negabinary Numbers.cpp
C++
mit
660
/*! * @file tree_binary.h * @brief Binary tree function declarations. * * @defgroup tree_binary * @ingroup sukat_drawer * @{ */ #ifndef SUKAT_BINARY_TREE_H #define SUKAT_BINARY_TREE_H #include <stdbool.h> #include "sukat_drawer.h" typedef struct tree_ctx tree_ctx_t; typedef struct tree_node_ctx tree_node_t; ...
tlsalmin/sukat
src/tree_binary.h
C
mit
4,295
"""Forms of the aps_bom app.""" from csv import DictReader from django import forms from django.core.urlresolvers import reverse from django.utils.translation import ugettext as __ from .models import BOM, BOMItem, CBOM, CBOMItem, EPN, IPN, Unit class BaseUploadForm(forms.ModelForm): csv_file = forms.FileField(...
bitmazk/django-aps-bom
aps_bom/forms.py
Python
mit
6,549
class RenameBillingPeriodReferences < ActiveRecord::Migration def up rename_column :billing_schedules, :billing_period_id, :billing_period_range_id rename_column :bills, :billing_period_id, :billing_period_range_id end def down rename_column :billing_schedules, :billing_period_range_id, :billing_peri...
jbrowning/billy
db/migrate/20130305040107_rename_billing_period_references.rb
Ruby
mit
407
require "test_helper" class CrossCrusadeOverallTest < ActiveSupport::TestCase def test_recalc_with_no_series competition_count = Competition.count CrossCrusadeOverall.calculate! CrossCrusadeOverall.calculate!(2007) assert_equal(competition_count, Competition.count, "Should add no new Competition if...
alpendergrass/montanacycling-racing_on_rails
test/unit/competitions/cross_crusade_overall_test.rb
Ruby
mit
17,950
package api import ( "time" "github.com/boilingrip/boiling-api/db" ) type Release struct { ID int `json:"id"` ReleaseGroup ReleaseGroup `json:"release_group"` Edition *string `json:"edition,omitempty"` Medium string `json:"medium"` ReleaseDate time.Time...
boilingrip/boiling-api
api/release.go
GO
mit
1,389
local Command = require("obj.Command") --- Thermostat command local Thermostat = Command:clone() Thermostat.name = "Thermostat" Thermostat.keywords = {"thermostat","Therm","therm"} --- Execute the command function Thermostat:execute(input,user) if not thermostats then return "No thermostats!" end local words = str...
PhilMo6/Lua_pi_pan
obj/commands/Thermostat.lua
Lua
mit
6,658
<?php namespace SlowDB\Bundle\ApiBundle\Controller; use FOS\RestBundle\Controller\Annotations as Rest, FOS\RestBundle\Controller\FOSRestController, FOS\RestBundle\Request\ParamFetcher; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Symfony\Component\HttpFoundation\JsonResponse; /** * @auth...
kmfk/slowdb-api
src/Controller/DatabaseController.php
PHP
mit
1,837
<?php // require composer autoloader for loading classes require realpath(__DIR__ . '/../vendor/autoload.php');
slimdash/payum-payeezy
tests/bootstrap.php
PHP
mit
112
vue.tag-editor.js ================= a tag editor component for vue.js example: http://hnakamur.github.io/vue.tag-editor.js/
hnakamur/vue.tag-editor.js
README.md
Markdown
mit
126
var LinkedInStrategy = require('passport-linkedin-oauth2').Strategy, linkOAuthProfile = require('./helpers').linkOAuthProfile, OAuth2 = require('oauth').OAuth2, crypto = require('crypto'); function preprocessProfile(linkedInProfile){ var skills = []; if(linkedInProfile.skills){ skills = linkedInProfile...
muhammadghazali/kabam-kernel
core/strategies/linkedin.js
JavaScript
mit
2,946
const deepCopy = require('./deep-copy'); const sorting = require('./sort'); /* Sorts an array of objects by two keys ** dir = 'asc' yields sort order A, B, C or 1, 2, 3 ** dir = 'des' yields sort order C, B, A or 3, 2, 1 ** type = 'character' for character sorting, type = 'numeric' or 'bool' ** for boolean sorting for...
knightjdr/gene-info
database/helpers/arr-sort-by-two-keys.js
JavaScript
mit
1,260
<html> <!-- Head tag --> <head><meta name="generator" content="Hexo 3.9.0"> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <meta name="description" content=""> <me...
huashengwang1989/huashengwang1989.github.io
archives/2020/index.html
HTML
mit
9,465
require "test_helper" module RuleIo class CustomizationTest < Minitest::Test def setup stub_request(:get, /#{RuleIo.base_url}\/customizations\?apikey=*/) .to_return(status: 200, body: fixture("customizations.json")) end def test_all_returns_customizations customizations = Customizati...
varvet/rule_io
test/rule_io/customization_test.rb
Ruby
mit
955
package es.carm.mydom.filters.utils; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletResponse; import org.apache.naming.resources.Resource; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class Dispatcher...
maltimor/mydom-server
src/main/java/es/carm/mydom/filters/utils/Dispatcher.java
Java
mit
2,187
#twitter_bird { background: transparent url(/images/twitter_bird/light_back_bird.png) no-repeat; background-position: 174px -5px; min-height: 80px; font-size: .9em; position: relative; } #twitter_bird .tweet_top { background: transparent url(/images/twitter_bird/bubble_top.png) no-repeat; height: 14...
jspies/twitter_bird
public/stylesheets/twitter_bird.css
CSS
mit
1,078
# coding: utf-8 from django.db import models from django.utils import timezone from .cores import OssManager _oss_manager = OssManager() class StsToken(models.Model): arn = models.CharField(max_length=500) assumed_role_id = models.CharField(max_length=500) access_key_id = models.CharField(max_length=50...
zhaowenxiang/chisch
oss/models.py
Python
mit
677
--- layout: page title: Twoer Foundation Seminar date: 2016-05-24 author: Julia Cummings tags: weekly links, java status: published summary: Mauris sollicitudin ac mi id elementum. Donec consectetur. banner: images/banner/leisure-04.jpg booking: startDate: 07/22/2018 endDate: 07/26/2018 ctyhocn: SACABHX groupCo...
KlishGroup/prose-pogs
pogs/S/SACABHX/TFS/index.md
Markdown
mit
2,430
FROM alpine MAINTAINER Jo Vandeginste "jo.vandeginste@gmail.com" EXPOSE 80 CMD /bin/sh -c '/bin/sed -i "s/$/@$HOSTNAME/" /index.html; /caddy' COPY /caddy /Caddyfile / ARG VERSION=unknown RUN echo "Hello, world! I am ${VERSION}." > /index.html
jovandeginste/nomad-compose
helloworld/Dockerfile
Dockerfile
mit
245
/* * (C) Copyright 2015 Richard Greenlees * * 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, merge,...
RGreenlees/JUMI-Java-Model-Importer
src/com/jumi/scene/objects/JUMIBone.java
Java
mit
5,488
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>flocq: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.09.0-2.0.5/released/8.10.0/flocq/2.2.0.html
HTML
mit
6,705
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>ails: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" r...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.09.1-2.0.6/released/8.10.2/ails/8.5.0.html
HTML
mit
6,845
import assert from 'assert'; import proxyquire from 'proxyquire'; import sinon from 'sinon'; import sinonStubPromise from 'sinon-stub-promise'; import mockMbaasClient from './mocks/fhMbaasClientMock'; sinonStubPromise(sinon); const appEnvVarsStub = sinon.stub(); const primaryNodeStub = sinon.stub().returnsPromise(); c...
feedhenry/fh-dataman
src/middleware/dbConnection/test/mbaas_test.js
JavaScript
mit
3,372
import React, { Component, PropTypes } from 'react' import { Router } from 'react-router' import { Provider } from 'react-redux' import routes from 'routes' class AppContainer extends Component { static propTypes = { store : PropTypes.object.isRe...
bartushk/memmi
client-side/src/containers/AppContainer.js
JavaScript
mit
639
<?php /* Safe sample input : get the field userData from the variable $_GET via an object sanitize : use of ternary condition construction : concatenation with simple quote */ /*Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or royalty fee, to use, copy, modify, and dist...
stivalet/PHP-Vulnerability-test-suite
Injection/CWE_90/safe/CWE_90__object-classicGet__ternary_white_list__userByCN-concatenation_simple_quote.php
PHP
mit
1,569
var sizes; var searchKey = ''; if(window.location.search!=''){ $("#searchKey").val(decodeURIComponent(window.location.search.substr(11))) } if (window.location.search != "") { searchKey = window.location.search.substr(11) } $.ajax({ url: '/sizes?searchKey=' + searchKey, async: false, method: 'get', ...
dounine/japi
node/js/index.js
JavaScript
mit
10,577
import datastructures._ def add1(l: List[Int]): List[Int] = List.foldRight(l, Nil:List[Int])((h,t) => Cons(h+1,t)) val a = Cons(1,Cons(2,Cons(3,Nil))) val b = List(1,2,3,4) println(a) println(b) println(add1(a)) println(add1(List(3,4,5)))
shigemk2/functional_shibuya
chapter03/16.answer.scala
Scala
mit
244