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
--- layout: single title: "三维形体的表面积" date: 2018-06-11 21:30:00 +0800 categories: [Leetcode] tags: [Geometry, Array, Math, Matrix] permalink: /problems/surface-area-of-3d-shapes/ --- ## 892. 三维形体的表面积 (Easy) {% raw %} <p>给你一个 <code>n * n</code> 的网格 <code>grid</code> ,上面放置着一些 <code>1 x 1 x 1</code...
openset/openset.github.io
leetcode/2018-06-11-surface-area-of-3d-shapes.md
Markdown
mit
2,751
<TS language="eu_ES" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Eskuin-klika helbidea edo etiketa editatzeko</translation> </message> <message> <source>Create a new address</source> <t...
vcoin-project/v
src/qt/locale/vcoin_eu_ES.ts
TypeScript
mit
27,313
<html> <head> <title></title> </head> <body> <p>google-site-verification: google9e7bb18ac05f47f6.html</p> <script type="application/ld+json"> { "@context" : "http://schema.org", "@type" : "Organization", "name":"OurMine", "url":"https://ourmine.org", "recipeIngredient": [ ] } </script> </body> ...
abodym/OurMineIo
src/client/google9e7bb18ac05f47f6.html
HTML
mit
328
<!DOCTYPE html> <html> <head> <title>Example</title> <style type="text/css"> .name { color: red; } .extended { color: green; } </style> </head> <body> <div class="example"></div> <script type="text/javascript" src="dist/r3ndr.min.js"></script> <script type="text/javascript"> ...
Zeetah/r3ndr
index.html
HTML
mit
742
- [2016-05-14 無題][2016-05-14] - [2016-05-13 無題][2016-05-13] - [2016-05-12 『ミスミソウ』をよんだ][2016-05-12] - [2016-05-11 bouzuya/simple-gist-client をつくった][2016-05-11] - [2016-05-10 redux-saga を TypeScript でつかえるかをためした][2016-05-10] - [2016-05-09 Kyoto.js #10 にさんかした][2016-05-09] - [2016-05-08 2016-W18 ふりかえり][2016-05-08] 今週の計画 ([...
bouzuya/blog.bouzuya.net
data/2016/05/2016-05-15.md
Markdown
mit
1,939
using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using System.Windows.Input; using Avalonia.Controls.Generators; using Avalonia.Controls.Metadata; using Avalonia.Controls.Mixins; using Avalonia.Controls.Primitives; using Avalonia.Controls.Templates; using Avalonia.Data; usi...
jkoritzinsky/Avalonia
src/Avalonia.Controls/MenuItem.cs
C#
mit
26,714
# ios-simulator [![NPM version][npm-image]][npm-url] [![build status][travis-image]][travis-url] [![Test coverage][coveralls-image]][coveralls-url] [![node version][node-image]][node-url] [![npm download][download-image]][download-url] [npm-image]: https://img.shields.io/npm/v/ios-simulator.svg?style=flat-square [npm...
xudafeng/ios-simulator
README.md
Markdown
mit
2,525
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,...
codeforsanjose/OpenDSJ
css/style.css
CSS
mit
4,209
// Copyright (c) 2001-2019 Aspose Pty Ltd. All Rights Reserved. // // This file is part of Aspose.Words. The source code in this file // is only intended as a supplement to the documentation, and is provided // "as is", without warranty of any kind, either expressed or implied. /////////////////////////////////////////...
asposewords/Aspose_Words_Java
ApiExamples/JavaPorting/ExDigitalSignatureCollection.java
Java
mit
1,575
#!/usr/bin/env python import cv2 import cv2.cv as cv class Display: def setup(self, fullscreen): cv2.namedWindow('proj_0', cv2.WINDOW_OPENGL) if fullscreen: cv2.setWindowProperty('proj_0', cv2.WND_PROP_FULLSCREEN, cv.CV_WINDOW_FULLSCREEN) def draw(self, image): ...
light-swarm/lightswarm_render
scripts/display.py
Python
mit
385
// A '.tsx' file enables JSX support in the TypeScript compiler, // for more information see the following page on the TypeScript wiki: // https://github.com/Microsoft/TypeScript/wiki/JSX /// ../typings/es6-promise/es6-promise.d.ts var Adal = require('./adal.js'); // very important!!! if you put these locally then mul...
traceyt/inbox-crawler
client/DeClutter2/DeClutter2/src/Office365_Adal.js
JavaScript
mit
4,215
--- layout: post title: 【A2 Family】Vol.2 不想当明星的宅男可能并不存在 subtitle: 今天方方去了《鲁豫有约》。 language: zh cover: fog.jpg published: true categories: - a2 --- <!-- 今天是第一期,希望你们喜欢。 --> ![page01](/image/A2Family/VOL2/1.jpg) ![page02](/image/A2Family/VOL2/2.jpg)
applysquare/applysquare.github.io
_posts/2015-07-03-vol02.markdown
Markdown
mit
334
#pragma once #include <memory> namespace fas { /** * @brief Holds a shared inner executor, which can be copied */ template <class Executor> class ExecutorPtr { public: ExecutorPtr(std::shared_ptr<Executor> innerExecutor) : _innerExecutor(std::move(innerExecutor)) {} template <class Fn> void spa...
decden/hotel
fas/executorptr.h
C
mit
464
require 'spec_helper' describe :Comment, :vcr do context "get_media_comments" do let(:comments) { Flickrie.get_media_comments(MEDIA_ID) } it "should have correct attributes" do comment = comments.first comment.id.should_not be_nil comment.author.nsid.should == USER_NSID comment.aut...
janko-m/flickrie
spec/flickrie/comment_spec.rb
Ruby
mit
741
<?php namespace spec\Genesis\API\Request\Financial\OnlineBankingPayments; use Genesis\API\Request\Financial\OnlineBankingPayments\Pse; use PhpSpec\ObjectBehavior; use spec\SharedExamples\Genesis\API\Request\Financial\AsyncAttributesExample; use spec\SharedExamples\Genesis\API\Request\Financial\PendingPaymentAttribute...
GenesisGateway/genesis_php
spec/Genesis/API/Request/Financial/OnlineBankingPayments/PseSpec.php
PHP
mit
1,298
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="de"> <head> <title>org.eclipse.emf.cdo.edit (CDO Model Repository Documentation)</title> <meta name="date" content=""> <link rel="stylesheet" type="text/css" href="../../../../../styleshe...
kribe48/wasp-mbse
WASP-turtlebot-DSL/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/org.eclipse.osgi/142/0/.cp/javadoc/org/eclipse/emf/cdo/edit/package-summary.html
HTML
mit
11,848
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2015 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to d...
ajanson/SCIRun
src/Graphics/Widgets/Widget.h
C
mit
3,525
import * as gulp from 'gulp'; import * as gulpLoadPlugins from 'gulp-load-plugins'; import * as merge from 'merge-stream'; import { join/*, sep, relative*/ } from 'path'; import Config from '../../config'; import { makeTsProject, TemplateLocalsBuilder } from '../../utils'; import { TypeScriptTask } from '../typescript...
vyakymenko/angular-seed-express
tools/tasks/seed/build.server.prod.ts
TypeScript
mit
2,342
# We borrow heavily from the kernel build setup, though we are simpler since # we don't have Kconfig tweaking settings on us. # The implicit make rules have it looking for RCS files, among other things. # We instead explicitly write all the rules we care about. # It's even quicker (saves ~200ms) to pass -r on the comm...
obipawan/react-native-rebound
node_modules/react-native/node_modules/ws/build/Makefile
Makefile
mit
13,864
package main import ( "github.com/coscms/webx" ) type MainAction struct { *webx.Action hello webx.Mapper `webx:"/(.*)"` } func (c *MainAction) Hello(world string) { c.Write("hello %v", world) } func main() { app1 := webx.NewApp("/") app1.AddAction(&MainAction{}) webx.AddApp(app1) app2...
coscms/webx
examples/multiapp.go
GO
mit
431
<div class="nav" role="navigation"> <ul> <li><a ui-sref="index" class="home">Home</a></li> <li><a ui-sref="badge.list" class="list">Badge List</a></li> </ul> </div> <div id="create-badge" class="content scaffold-create" role="main"> <h1>Create Badge</h1> <ul class="errors" role="alert" n...
theCmaker/ZZ3_grails_app
app/grails-app/assets/javascripts/fr/isima/zzoverflow/badge/templates/create.tpl.html
HTML
mit
756
export const ic_signal_wifi_0_bar = {"viewBox":"0 0 24 24","children":[{"name":"rect","attribs":{"fill":"none","height":"24","width":"24"},"children":[]},{"name":"path","attribs":{"d":"M12,6L12,6c3.33,0,6.49,1.08,9.08,3.07L12,18.17l-9.08-9.1C5.51,7.08,8.67,6,12,6 M12,4C7.31,4,3.07,5.9,0,8.98L12,21 L24,8.98C20.93,5.9,16...
wmira/react-icons-kit
src/md/ic_signal_wifi_0_bar.js
JavaScript
mit
356
// API // === module.exports.api = function(server<% if(mongo){ %>, schema<% } %>) { // Sample Rest Call server.get('/hello', function(req, res){ res.send('<h1>Hello World!</h1>'); }); }
SupremeTechnopriest/generator-stacked
app/templates/server/_API.js
JavaScript
mit
196
<?php header("Content-Type: application/json"); //Set header for outputing the JSON information require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/autoload.php'; $mysqli = Database::connection(); $sql = "SELECT COUNT(date_id) FROM `badminton_dates` WHERE confirmed = 1 AND DATE(begin_datetime) = CURDATE() "; $...
jinalex/htn-scale
postRequests/index/getTopBar.php
PHP
mit
2,635
/** * angular-strap * @version v2.1.7 - 2015-10-19 * @link http://mgcrea.github.io/angular-strap * @author Olivier Louvignes (olivier@mg-crea.com) * @license MIT License, http://www.opensource.org/licenses/MIT */ "use strict";angular.module("mgcrea.ngStrap.alert").run(["$templateCache",function(t){t.put("alert/al...
SynergyICTApps/angular-strap
dist/modules/alert.tpl.min.js
JavaScript
mit
578
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; public class FB_Score { public string UserId; public string UserName; public string AppId; public string AppName; public int value; private Dictionary<FB_ProfileImageSize, Texture2D> profileImages = new Dictionary<...
KingOfFawns/Special_Course
Special Course/Assets/Plugins/StansAssets/Modules/AndroidNative/Scripts/Social/Facebook/Models/FB_Score.cs
C#
mit
2,692
module.exports = { dir: "" }
hitgeek/myReddit
lib/globals.js
JavaScript
mit
30
module Sinatra module Chiro module Parameters class Base attr_reader :options def initialize(opts={}) @options = opts end def name @options[:name] end def name_display @options[:name].to_s end def description ...
rjnienaber/sinatra-chiro
lib/sinatra/chiro/parameters/base.rb
Ruby
mit
718
class Picture attr_accessor :picture def initialize picture @picture = picture end def large_size @picture.url(:large) if @picture.exists? end def medium_size @picture.url(:medium) if @picture.exists? end def thumb_size @picture.url(:thumb) if @picture.exists? end end
uTeach/uteach-ws
app/src/picture.rb
Ruby
mit
306
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>chapar: 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.11.1-2.0.7/released/8.13.0/chapar/8.11.0.html
HTML
mit
7,448
<?php namespace Elliptic; use \Exception; use BN\BN; if (!function_exists("random_int")) { function random_int($a, $b) { return rand($a, $b); } } class Utils { public static function toArray($msg, $enc = false) { if( is_array($msg) ) return array_slice($msg, 0); ...
simplito/elliptic-php
lib/Utils.php
PHP
mit
4,220
const td = require("testdouble"); const proxyquire = require("proxyquire"); const expect = require("chai").expect; describe("configurationRepository.spec.js", () => { const cwd = "/home/pawel/workspace/logweb"; const configurationData = {any: "configuration value"}; let configurationRepository; let fsMock; let p...
pchudzik/logweb
backend/lib/configuration/configurationRepository.spec.js
JavaScript
mit
2,445
/** * Backbone Application File * @internal Obviously, I've dumped all the code into one file. This should probably be broken out into multiple * files and then concatenated and minified but as it's an example, it's all one lumpy file. * @package $.CpDialog.dialog */ /** * @type {Object} JavaScript namespace for...
marcoski/cp-press
assets/js/cp-press-dialog.js
JavaScript
mit
7,697
require "octokit" require "base64" require "active_support/core_ext/object/with_options" class GithubApi SERVICES_TEAM_NAME = "Services" PREVIEW_MEDIA_TYPE = "application/vnd.github.moondragon-preview+json" def initialize(token = ENV["HOUND_GITHUB_TOKEN"]) @token = token end def client @client ||= ...
degica/hound
lib/github_api.rb
Ruby
mit
3,990
#ifndef EXP_H #define EXP_H template<typename R> struct Exp : StaticInterface<Exp<R> >, UnaryOperation<R> { using UnaryOperation<R>::Right; using UnaryOperation<R>::Operation::Value; INLINE_MODE Exp(const R& right) : UnaryOperation<R> (right, exp(right.Value)) {} template<unsigned GradLev...
eleks/ADEL
GCC/ADEL/Operations/Exp.h
C
mit
893
/* BLAKE2 reference source code package - reference C implementations Copyright 2012, Samuel Neves <sneves@dei.uc.pt>. You may use this under the terms of the CC0, the OpenSSL Licence, or the Apache Public License 2.0, at your option. The terms of these licenses can be found at: - CC0 1.0 Universal :...
globaltoken/globaltoken
src/crypto/algos/blake/blake2s-ref.c
C
mit
9,670
#install docker (skip if you have docker 1.3+ already) [ -e /usr/lib/apt/methods/https ] || { sudo apt-get update sudo apt-get install apt-transport-https } sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys \ 36A1D7869245C8950F966E92D8576A8BA88D21E9 sudo sh -c "echo deb https://get.docker...
g1eagle/E-Pot
run.sh
Shell
mit
1,363
// // DropboxDownloadTaskDelegate.h // Pods // // Created by Михаил Мотыженков on 13.05.16. // // #import <Foundation/Foundation.h> @protocol DropboxDownloadTaskDelegate <NSObject> - (void)downloadTaskDidResumeWithOldTask:(NSURLSessionDownloadTask *)oldTask newTask:(NSURLSessionDownloadTask *)newTask session:(NSU...
zlib/ObjectiveDropbox
Pod/Classes/Http/DropboxDownloadTaskDelegate.h
C
mit
363
#http://stackoverflow.com/questions/1729824/an-efficient-way-to-transpose-a-file-in-bash awk ' { for (i=1; i<=NF; i++) { a[NR,i] = $i } } NF>p { p = NF } END { for(j=1; j<=p; j++) { str=a[1,j] for(i=2; i<=NR; i++){ str=str" "a[i,j]; } print str }...
joesoftheart/Metagenomic
R_Script/transposetable.sh
Shell
mit
327
EmberApp.ModalDialogComponent = Ember.Component.extend({ actions: { close: function() { return this.sendAction('close'); }, save: function(){ return this.sendAction('close', 'save'); } } });
alexandrupirjol/ember-app
app/scripts/views/modal_component.js
JavaScript
mit
258
package com.ghusse.ci.violations.bbcloud.lib.client.model.v1; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import java.util.Locale...
ghusse/violations-comments-to-bitbucket-cloud-lib
src/main/java/com/ghusse/ci/violations/bbcloud/lib/client/model/v1/Comment.java
Java
mit
1,533
import React, { Fragment, FunctionComponent } from 'react'; import { styled } from '@storybook/theming'; import { window } from 'global'; import { FlexBar } from '../bar/bar'; import { Icons } from '../icon/icon'; import { IconButton } from '../bar/button'; interface ZoomProps { zoom: (val: number) => void; reset...
storybooks/react-storybook
lib/components/src/blocks/Toolbar.tsx
TypeScript
mit
1,901
package com.backendless.utils; import com.backendless.Persistence; import com.backendless.commons.persistence.EntityDescription; import java.util.Collection; import java.util.Iterator; import java.util.Map; /** * Operations on a data entity represented by {@link java.util.Map} * (e.g. a serialized object). */ pub...
Backendless/Android-SDK
src/com/backendless/utils/MapEntityUtil.java
Java
mit
1,849
using UnityEngine; using System.Collections; public interface IExitHandler { void Exit (); }
amoad/amoad-unity-plugin
AMoAdUnityPluginDemo(Debug)/Assets/DemoScipts/IExitHandler.cs
C#
mit
101
# hexadb-sparql [![npm](http://img.shields.io/npm/v/hexadb-sparql.svg?style=flat)](https://npmjs.com/hexadb-sparql) [![npm downloads](http://img.shields.io/npm/dm/hexadb-sparql.svg?style=flat)](https://npmjs.com/hexadb-sparql) [![build status](http://img.shields.io/travis/jhermsmeier/node-hexadb-sparql.svg?style=flat)]...
jhermsmeier/node-hexadb-sparql
README.md
Markdown
mit
455
import { Component } from '@angular/core'; import { PropInfo } from './prop-info'; @Component({ selector: 'prop-info', templateUrl: './prop-info.component.html' //styleUrls: ['./info.component.css'] }) export class PropInfoComponent { model = new PropInfo('', '', '', '', ''); }
jheckjr/real-estate-calculator
src/app/prop-info.component.ts
TypeScript
mit
290
#include "nv_core.h" #include "nv_ml.h" #include "nv_num.h" // k-means++ // Selecting class with minimum distance static int nv_kmeans_bmc(const nv_matrix_t *mat, int mk, const nv_matrix_t *vec, int vm) { int k; int min_k = -1; float min_dist = FLT_MAX; for (k = 0; k < mk; ++k) { float dist = n...
projectgalateia/animeface
src/nv_kmeans.c
C
mit
4,870
using $saferootprojectname$.Tests.Domain.ScreenObjects; namespace $safeprojectname$.ScreenObjects { class ShellScreenObject : IShellScreenObject { public StructureHelper StructureHelper { get; set; } public ShellScreenObject(StructureHelper structureHelper) { StructureHelpe...
LogoFX/tools
src/LogoFX.Tools.Templates/ProjectTemplates/Wizard/P21/ScreenObjects/ShellScreenObject.cs
C#
mit
499
<!DOCTYPE html><html><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>[問卦] 有沒有考績的八卦 - 看板 Gossiping - 批踢踢實業坊</title> <meta name="robots" content="all"> <meta name="keywords" content="Ptt BBS 批踢踢"> <meta name="description" content=" 又到了年底打考績的時間 考績通常分為自評與主管評 考績的結果會直接關係到升遷/加薪/...
iultimatez/PTTScraper
result/M.1419062752.A.7AC.html
HTML
mit
7,908
<?xml version="1.0"?> <div id="new-items-list-container"><ul id="new-items-list" class="pure-menu-list"><li class="pure-menu-item item-block" data-author="Robb, J. D., 1950- author." data-title="Apprentice in death /" data-language="eng" data-arrivaldate="10/31/2016 02:58"><a property="url" href="http://miami-primo.hos...
UMiamiLibraries/newitems-app
app/alma-rss-to-html/BestsellersNewAcq_new_books_list.html
HTML
mit
1,067
/* * This file is part of SpongeAPI, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://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...
SpongePowered/SpongeAPI
src/main/java/org/spongepowered/api/event/EventListener.java
Java
mit
1,703
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>basic_seq_packet_socket::bind (2 of 2 overloads)</title> <link rel="stylesheet" href="../../../../boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> <link rel="home" href="../../../...
dhh1128/intent
old/src/external/asio-1.10.2/doc/asio/reference/basic_seq_packet_socket/bind/overload2.html
HTML
mit
6,400
{ String.fromCodePoint(Infinity); }
stas-vilchik/bdd-ml
data/2609.js
JavaScript
mit
38
############################################################ # # # hprose # # # # Official WebSite: http://www.hprose.com/ # # ...
hprose/hprose-ruby
lib/hprose/unixclient.rb
Ruby
mit
1,323
'use strict'; function f1(a, b) { console.log('f1(' + a + ', ' + b + ')'); } f1(2, 3); f1.call(null, 2, 3); f1(...[2, 3]); f1.apply(null, [2, 3]);
wirtaw/Project
src/Functions/b-call-apply.js
JavaScript
mit
152
<?php declare(strict_types=1); /* * This file is part of the GeckoPackages. * * (c) GeckoPackages https://github.com/GeckoPackages * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace GeckoPackages\DiffOutputBuilder\Tests; use PHPUnit\Fr...
GeckoPackages/GeckoDiffOutputBuilder
tests/DiffOutputBuilder/Tests/AbstractDiffOutputBuilderTest.php
PHP
mit
2,754
from typing import Iterable, Callable, Optional, Any, List, Iterator from dupescan.fs._fileentry import FileEntry from dupescan.fs._root import Root from dupescan.types import AnyPath FSPredicate = Callable[[FileEntry], bool] ErrorHandler = Callable[[EnvironmentError], Any] def catch_filter(inner_filter: FSPredicat...
yellcorp/dupescan
dupescan/fs/_walker.py
Python
mit
4,089
<<<<<<< HEAD <div> <br/> <div class="col-sm-6"> <label>Employee Id</label> <md-select placeholder="Employee Id" [(ngModel)]='pay_id'><!--getData function should call "AllowanceTableInfo()"--> <md-option *ngFor="let emp of emps" [value]="emp.value" (click)="selectedValue(emp);passTheEmployeeId()" > <!--employ...
sayanuIT/teds2
src/client/packages/payroll/manage-allowances/manage-allowance.component.html
HTML
mit
4,882
#!/usr/bin/env python import sys import os import subprocess import shutil import fix_rocks_network import json pxelinux_kernels_dir='/tftpboot/pxelinux/'; centos7_templates_dir='./centos7_ks' centos7_dir='/export/rocks/install/centos7/'; centos7_ks_scripts_dir=centos7_dir+'/scripts/'; centos7_pxeboot_dir=centos7_dir...
kgururaj/rocks-centos7
setup_for_centos7.py
Python
mit
4,371
package add import ( "errors" "fmt" "io" "log" "os" "path/filepath" "sort" "time" "github.com/fhs/gompd/mpd" "hawx.me/code/aoide/data" "hawx.me/code/aoide/song" ) func New(musicDir string, db *data.Database) *Adder { conn, err := mpd.Dial("tcp", ":6600") if err != nil { conn = nil } return &Adder{m...
hawx/aoide
tools/add/adder.go
GO
mit
2,997
{% extends "base.html" %} {% load static %} {% load crispy_forms_filters %} {% block title %}Update Flow Cell Libraries{% endblock %} {% block content %} <h2>Update Flow Cell Libraries</h2> <form method="post"> {% crispy formset helper %} <div class="text-right mb-3"> <div class="btn-group" role=...
bihealth/flowcelltool
flowcelltool/flowcells/templates/flowcells/flowcell_updatelibraries.html
HTML
mit
3,745
module SaasRunner module Resource class Activation attr_reader :client, :response def initialize(client) @client = client end def create!(params = {}) @response = client.post('/activations', { activation: params }) @response.body end end end end
simpleweb/saasrunner-client-ruby
lib/saas_runner/resource/activation.rb
Ruby
mit
314
<?php namespace Moltin\Resources; use Moltin\Resource as Resource; class Carts extends Resource { public $uri = 'carts'; }
moltin/php-sdk
src/Resources/Carts.php
PHP
mit
131
<!DOCTYPE html> <head> <title>Larissa's DBC CULTURAL Blog</title> <meta charset="UTF-8"> <link rel="stylesheet" type="text/css" href="../stylesheets/blog-stylesheet.css"> </head> <main> <h1>Work It Out</h1> <h2>A guide to navigating and resolving conflict</h2> <h4>July 20, 2015</h4> <section> <p> ...
MsLarissaaa/MsLarissaaa.github.io
blog/c8-conflict.html
HTML
mit
459
module DCM module Configuration VALID_CONNECTION_KEYS = [:endpoint, :user_agent, :method, :api_version].freeze VALID_OPTIONS_KEYS = [:access_key, :secret_key].freeze VALID_CONFIG_KEYS = VALID_CONNECTION_KEYS + VALID_OPTIONS_KEYS ENDPOINT = 'https://api.enstratus.com/api/enstratus' API_V...
jbrien/rbdcm-api
lib/dcm/configuration.rb
Ruby
mit
1,159
package knot.data.buffers import java.nio.ByteOrder import java.nio.channels.WritableByteChannel object BufferOutput { def toArray(): BufferOutput = { toArray(8192) } def toArray(size: Int): BufferOutput = { new DefaultBufferOutput(OutputSink.toArray(size, ByteOrder.nativeOrder())) } def toChannel...
defvar/knot
knot-data/src/main/scala/knot/data/buffers/BufferOutput.scala
Scala
mit
1,219
<!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/10386.html
HTML
mit
22,808
<?php return [ 'success' => [ 'title' => 'Well done!', 'reason' => [ 'submitted_to_post' => 'Răspunsul a fost trimis cu succes la '.mb_strtolower(trans('chatter::intro.titles.discussion')).'.', 'updated_post' => 'Actualizarea lui '.mb_strtolower(trans('chat...
thedevdojo/chatter
src/Lang/ro/alert.php
PHP
mit
2,240
var Intersection; (function (Intersection) { class Result { constructor(success, distance, point) { this.success = success; this.distance = distance; this.point = point; } } Result.FAILED = new Result(false, 1000000); Intersection.Result = Result; ...
gsipos/Global-Illumination-Typescript
src/path-tracing/object/scene-object.js
JavaScript
mit
678
var fs = require("fs"), path = require("path"), url = require("url"), images = require("images"), ab_getPath = require("./abc-util-getPath").getPath, ab_extend = require("./abc-util-extend").extend, ab_checkMime = require("./...
abensu/node-ab-ccss
src/abc-mod-createTask.js
JavaScript
mit
6,741
using System; using System.Collections.Generic; using Android.Content; using Android.Graphics; using Android.Views; using Avalonia.Android.Platform.Input; using Avalonia.Android.Platform.Specific; using Avalonia.Android.Platform.Specific.Helpers; using Avalonia.Controls.Platform.Surfaces; using Avalonia.Input; using Av...
akrisiun/Perspex
src/Android/Avalonia.Android/Platform/SkiaPlatform/TopLevelImpl.cs
C#
mit
5,791
--- title: 'Comparison of 4 popular JavaScript MV* frameworks (part 2) - Developer Economics' author: azu layout: post itemUrl: 'http://www.developereconomics.com/comparison-4-popular-javascript-mv-frameworks-part-2/' editJSONPath: 'https://github.com/jser/jser.info/edit/gh-pages/data/2015/03/index.json' date: '2015-03...
sifue/technical-word-rules
test/fixtures/2015-03-07-comparison-of-4-popular-javascript-mv-frameworks-part-2-developer-economics.md
Markdown
mit
473
angular.module('ira.gobiernosLocales', ['ira.core']).config(['$stateProvider', function ($stateProvider) { $stateProvider .state('gobiernosLocales', { abstract: true, url: '/gobiernosLocales', template: '<ui-view/>' }); }]);
robertoraul/iraguh
public/components/gobiernosLocales/index.js
JavaScript
mit
280
<?php /** * The Template for displaying product archives, including the main shop page which is a post type archive. * * Override this template by copying it to yourtheme/woocommerce/archive-product.php * * @author WooThemes * @package WooCommerce/Templates * @version 2.0.0 */ if ( ! defined(...
chris037/philux-zorka
woocommerce/archive-product.php
PHP
mit
3,682
version https://git-lfs.github.com/spec/v1 oid sha256:2c3b21c8a49c14ad439fc2110acb23f5c059f92e96b26b09dbe8761d4b912e09 size 21510
yogeshsaroya/new-cdnjs
ajax/libs/uikit/2.16.2/js/components/nestable.js
JavaScript
mit
130
# -*- coding: utf-8 -*- import logging from . import constants logger = logging.getLogger(constants.NAME)
dantezhu/yunbk
yunbk/log.py
Python
mit
109
require 'spec_helper' describe 'sublime_text_3' do it do should contain_package('SublimeText3').with({ :provider => 'appdmg', :source => 'http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%20Build%203047.dmg', }) end end
roc/puppet-sublime_text_3
spec/classes/sublimetext3.spec.rb
Ruby
mit
246
// Copyright (c) 2015 fjz13. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. #include "MedusaPreCompiled.h" #include "MedusaTextureAtlas.h" #include "TextureAtlasPage.h" #include "TextureAtlasRegion.h" MEDUSA_BEGIN; TextureAtlasPage* Medu...
fjz13/Medusa
Medusa/Medusa/Resource/TextureAtlas/MedusaTextureAtlas.cpp
C++
mit
2,790
'use strict'; module.exports = { id: 0x6E, type: 'MONEYN', name: 'MoneyN', dataLengthLength: 1 };
inodient/summer-mvc
node_modules/tedious/lib/data-types/moneyn.js
JavaScript
mit
106
<!-- GLOBAL VARIABLES --> <!-- TOTAL NUMBER OF JOURNAL ITEMS --> var totalJournalItems = 0; <!-- ARRAY OF JOURNAL TYPES FOR FILTER --> var journalFilterArr = new Array('All','Blood Glucose','Basal Profile','Temp Basal','Bolus','Food','Activity','Events'); <!-- ARRAY OF JOURNAL ITEM TYPES --> var journalTypeArr = new Ar...
philglen/CellnovoSimulator
Scripts/journalFunctions.js
JavaScript
mit
14,747
<?php /* * This file is part of the Helthe Mandrill package. * * (c) Carl Alexander <carlalexander@helthe.co> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Helthe\Component\Mandrill\Tests\Message; use Helthe\Componen...
helthe/Mandrill
Tests/Message/MessageTest.php
PHP
mit
4,279
// Copyright (c) 2012 Ecma International. All rights reserved. // Ecma International makes this code available under the terms and conditions set // forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the // "Use Terms"). Any redistribution of this code must retain the above // copyright and this n...
PiotrDabkowski/Js2Py
tests/test_cases/built-ins/Object/defineProperty/15.2.3.6-4-531-11.js
JavaScript
mit
1,318
require "spec_helper" require_relative "../../shared_examples/solver_shared_examples" module Robots describe "Best-first A*" do it_should_behave_like "a solver" do let(:solver) { Solvers::BestFirst.new(state, scorer: Solvers::Scorers::AStar.new(board, state)) } end end end
CodingZeal/robots
spec/robots/solvers/best_first_a_star_spec.rb
Ruby
mit
293
const mongoose = require('mongoose'); const Schema = mongoose.Schema; const schema = new Schema ({ patchId: { type: Schema.Types.ObjectId, ref: 'Patch' }, sequence: { type: Array, required: [true, 'Sequence array required.'] }, tempo: { type: Number, ...
Portamento-development/portamento-server
lib/models/sequence.js
JavaScript
mit
469
#region License // // Copyright (C) 2012 AGRC // 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,...
agrc/api.mapserv.utah.gov
WSUT.Upgrade.Soe/Models/Geometry/AreaOfInterest.cs
C#
mit
1,700
#!/usr/bin/env python # -*- coding: utf-8 -*- """Prints a summary of the contents of the IPHAS source catalogue. """ import os from astropy.io import fits from astropy import log import numpy as np import sys from dr2 import constants n_sources = 0 n_r20 = 0 n_reliable = 0 n_deblend = 0 n_reliable_deblend = 0 n_pair =...
barentsen/iphas-dr2
scripts/summary.py
Python
mit
1,682
"use strict"; //# sourceMappingURL=cli.js.map
ealbertos/dotfiles
vscode.symlink/extensions/ms-mssql.mssql-1.11.1/node_modules/ads-adal-library/dist/cli.js
JavaScript
mit
45
Then /^I should get a message "(.*?)"$/ do |arg1| @pipboy.output.should eq arg1 end
Trevoke/pipboy
features/step_definitions/messages_steps.rb
Ruby
mit
88
require "henson/ui" require "henson/friendly_errors" require "thor" module Henson class CLI < Thor include Thor::Actions def initialize(*) super the_shell = options["no-color"] ? Thor::Shell::Basic.new : shell Henson.ui = UI.new the_shell Henson.ui.quiet! if options[:quiet] Hen...
wfarr/henson
lib/henson/cli.rb
Ruby
mit
1,675
using System; [Flags] public enum SetMask { ApplyClamp = 0x1, Any = 0 }
virtuallynaked/virtually-naked
Viewer/src/figure/channels/SetMask.cs
C#
mit
76
<div class="container" data-ng-controller="HeaderController"> <div class="navbar-header"> <div class="row"> <div class="col-xs-6" data-ng-hide="authentication.user"> <a href="/#!/" class="navbar-brand"><img src="./modules/core/img/brand/logo.png"style="opacity: 0.8;width: 50%;" alt="logo"></a> </div> ...
hoeselm/kicklog
public/modules/core/views/header.client.view.html
HTML
mit
2,964
/** * */ package com.github.nnest.sparrow.rest.command.mixins.wrapper; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonUnwrapped; import com.github.nnest.sparrow.command.document.query.Example; import com.github.nnest.sparrow.command.document.query.ExampleType; import...
nnest/sparrow
sparrow-rest/src/main/java/com/github/nnest/sparrow/rest/command/mixins/wrapper/ConstantScoreWrapper.java
Java
mit
2,007
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Task 3 - Handlebars</title> <link rel="stylesheet" href="styles.css"> </head> <body> <div id="book-items-container"> </div> <div id="book-details-container"> </div> <script id="books-list-template" type='text/x-handlebars-template'> <ul c...
ilievv/Telerik
Exam Preparation/JavaScript UI & DOM/Sample-Exam-2/task-3/task-files/index.html
HTML
mit
975
module Cardiac module CodecMethods DEFAULT_DECODERS = [:url_encoded, :xml, :json].freeze # Representation decoder selection and customization. def decoders(search,*rest,&handler) self.decoders_values += check_decoders(rest.unshift(search),handler) ; self end def reset_decoders(*rest,&handler) dec...
joekhoobyar/cardiac
lib/cardiac/resource/codec_methods.rb
Ruby
mit
2,042
/** * 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. */ package com.microsoft.azure.management.datafactory.v2018_06_01; import com.fasterxml.ja...
selvasingh/azure-sdk-for-java
sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/QuickBooksSource.java
Java
mit
1,468
<!doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Shoreline Lake - Intermediate Sailing</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- P...
natewscott/shoreline
intermediate_sailing.html
HTML
mit
3,426
function scoreS(p1, px, p2, e1, ex, e2) { var checksum1 = p1 + px + p2; var checksum2 = e1 + ex + e2; if (checksum1 > 0 && checksum2 > 0) { p1 = p1 / checksum1; px = px / checksum1; p2 = p2 / checksum1; e1 = e1 / checksum2; ex = ex / checksum2; e2 = e2 / check...
fcannizzaro/dmi-exp
coffee/backend/util/rank_utils.js
JavaScript
mit
5,422
// Package bytefmt contains helper methods and constants for converting to and from a human-readable byte format. // // bytefmt.ByteSize(100.5*bytefmt.MEGABYTE) // "100.5M" // bytefmt.ByteSize(uint64(1024)) // "1K" // // https://github.com/cloudfoundry/bytefmt/blob/master/bytes.go package bytefmt import ( "errors" "...
xtrafrancyz/vk-proxy
bytefmt/bytefmt.go
GO
mit
2,905
# TODO implement a smoothing function perhaps # (Ie only accept frames within x distance of previous frame)
swirlingsand/self-driving-car-nanodegree-nd013
p4-CarND-Advanced-Lane-Lines/methods/laneDetection/qualityControl.py
Python
mit
109
\hypertarget{struct_i2_s___handle_type_def}{}\section{I2\+S\+\_\+\+Handle\+Type\+Def Struct Reference} \label{struct_i2_s___handle_type_def}\index{I2\+S\+\_\+\+Handle\+Type\+Def@{I2\+S\+\_\+\+Handle\+Type\+Def}} I2S handle Structure definition. {\ttfamily \#include $<$stm32f4xx\+\_\+hal\+\_\+i2s.\+h$>$} \subse...
team-diana/nucleo-dynamixel
docs/latex/struct_i2_s___handle_type_def.tex
TeX
mit
4,386