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
require 'spec_helper' describe RubygemsController do before do @g = Factory.create :rubygem @v = Factory.create :version, rubygem: @g end it 'should #show successfully' do tr = Factory.create :test_result, rubygem_id: @g.id, version_id: @v.id get :show, id: @g.name response.should be_succe...
capoferro/gem-testers
spec/controllers/rubygems_controller_spec.rb
Ruby
mit
8,293
using System; using System.IO; namespace Pulse.Core { /// <summary> /// НЕ потокобезопасный! /// </summary> public sealed class StreamSegment : Stream { private long _offset, _length; public readonly Stream BaseStream; public StreamSegment(Stream stream, long offset, long...
kidaa/Pulse
Pulse.Core/Components/StreamSegment.cs
C#
mit
3,012
import Ember from 'ember'; export default Ember.Component.extend({ tagName: '', didInsertElement: function() { this.startPoppover(); }, willDestroyElement: function() { this.dismissPoppover(); }, startPoppover: function() { var options = this.getPoppoverOptions(); Ember.$(function() { ...
iorrah/you-rockstar
app/components/resume/yr-download-tips.js
JavaScript
mit
806
#ifndef _RELLIK_H_ #define _RELLIK_H_ #include "gametime.h" typedef struct rellik Rellik; Rellik *rellik_Create(); void rellik_Destroy(Rellik *self); void rellik_Initialize(Rellik *self); void rellik_Update(Rellik *self, GameTime gameTime); void rellik_Render(Rellik *self); #endif
srakowski/rellik
src/Rellik/rellik.h
C
mit
290
header { width: 100%; color: #fff; text-align: center; } .container { width: 80%; margin: 0 auto; } .brand { background: linear-gradient(-225deg, #2c5499, #3e97e6); padding: 30px 0; } .brand img { cursor: pointer; } h1 { font-size: 3em; font-weight: normal; line-height: 60px; cursor: pointer...
k7moorthi/package-browser
src/app/pages/home/home.component.css
CSS
mit
3,291
FROM debian:8.2 MAINTAINER Stuart Ellis <[email protected]> ENV REFRESHED_AT 2015-09-09 ENV PYTHON_VERSION 3.4.2-2 RUN apt-get update && \ apt-get install -qy python3=$PYTHON_VERSION && \ rm -rf /var/lib/apt/lists/*
stuartellis/stuartellis-docker-python3-baseimage
Dockerfile
Dockerfile
mit
230
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Str; class TagsTableSeeder extends Seeder { /** * Run the database seeding. */ public function run() { DB::table('tags')->truncate(); DB::table('tags')->insert([ [ 'name' => 'Qnique', ...
madsynn/LaraMaker
.temp/seeds/TagsTableSeeder.php
PHP
mit
4,116
/* * SonarLint for Visual Studio * Copyright (C) 2016-2021 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version ...
SonarSource-VisualStudio/sonarlint-visualstudio
src/Integration.Vsix/Delegates/SonarAnalyzerConnectedWorkflow.cs
C#
mit
2,486
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), Schema = mongoose.Schema; /** * SoundcloudSearch Schema */ var SoundcloudSearchSchema = new Schema({ // SoundcloudSearch model fields // ... search: { type: String, required: 'There must be a search term', trim: true }, ...
bhops/Music
app/models/soundcloud-search.server.model.js
JavaScript
mit
463
--- layout: home title: All Posts description: "An archive of posts." comments: false --- {% for post in site.posts %} {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %} {% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %} {% if forloop.first %} <article> <h2 id="{{ this_y...
Zihin/zihin.github.io
posts.html
HTML
mit
778
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>io: 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.05.0-2.0.1/released/8.12.0/io/3.3.0.html
HTML
mit
6,502
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script> <script type="text/javascript" src="lens.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>...
Opt-Sim/Opt-Sim
Opt-Sim/lens_experiment.html
HTML
mit
2,859
{% extends 'base.html' %} {% block body %} <div> rest: {{ restaurant.name }} </div> {% endblock %}
wenshin/gulosity
gulosity/apps/restaurant/templates/restaurant/owner_page.html
HTML
mit
101
import random # Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): _largesize = 300 def __init__(self, head): self.head = head self.lsize = 0 while head.next: h...
daicang/Leetcode-solutions
382-linked-list-random-node.py
Python
mit
1,372
package db import ( "io/ioutil" "os" . "fmt" "strings" . "github.com/yak-labs/chirp-lang" "github.com/yak-labs/smilax-web/table/levi" ) /* table get Site Table Row -> []Value table set Site Table Row []Value table match Site Table RowPattern ValuePattern -> []{row value} */ var Lev = levi.New("leveldb.dat")...
yak-labs/smilax-web
table/table.go
GO
mit
3,563
package com.github.wovnio.wovnjava; import java.util.HashMap; import javax.servlet.FilterConfig; import javax.servlet.http.HttpServletRequest; import org.easymock.EasyMock; import java.net.URL; import java.net.MalformedURLException; import junit.framework.TestCase; public class HeadersTest extends TestCase { p...
WOVNio/wovnjava
src/test/java/com/github/wovnio/wovnjava/HeadersTest.java
Java
mit
21,076
package eu.cyfronoid.core.configuration.evaluator; import java.util.ArrayDeque; public class Stack extends ArrayDeque<Double> { private static final long serialVersionUID = 1L; @Override public void push(Double v) { super.push(v); } @Override public Double pop() { ...
widmofazowe/cyfronoid-core
src/eu/cyfronoid/core/configuration/evaluator/Stack.java
Java
mit
694
#!/usr/bin/python # -*- coding: utf-8 -*- import unittest import os from misura.canon import option from misura.canon.option import get_typed_cols, get_insert_cmd, base_col_def, print_tree import sqlite3 from misura.canon.tests import testdir db = testdir + 'storage/tmpdb' c1 = testdir + 'storage/Conf.csv' def go(t)...
tainstr/misura.canon
misura/canon/option/tests/test_sqlstore.py
Python
mit
3,011
/* Taken from the popular Visual Studio Vibrant Ink Schema */ .cm-s-vibrant-ink.CodeMirror { background: black; color: white; } .cm-s-vibrant-ink .CodeMirror-selected { background: #35493c !important; } .cm-s-vibrant-ink .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; } .cm-s-vibrant-ink .Cod...
djesuscc/portalcasting-repo
dist/css/codemirror/theme/vibrant-ink.css
CSS
mit
1,720
// * ———————————————————————————————————————————————————————— * // // * cli upload // * uploads image by providing a link by running: // * enduro upload http://www.imgur.com/asd.png // * ———————————————————————————————————————————————————————— * // var cli_upload = function () {} // vendor dependencies var Promise = ...
dmourato/mastercv
libs/cli_tools/cli_upload.js
JavaScript
mit
1,479
import React from "react" import Img from "gatsby-image" import { StaticQuery, graphql } from "gatsby" import html5 from "../images/html5.svg" import js from "../images/javascript.svg" import jQuery from "../images/jquery.svg" import php from "../images/php.svg" import python from "../images/python.svg" import css3 fro...
ajspotts/ajspotts.github.io
src/components/about.js
JavaScript
mit
9,133
var debug = require('debug')('harmonyhubjs:client:login:hub') var Client = require('node-xmpp-client') var Q = require('q') var util = require('../util') /** PrivateFunction: getIdentity * Logs in to a Harmony hub as a guest and uses the userAuthToken from logitech's * web service to retrieve an identity token. * ...
swissmanu/harmonyhubjs-client
lib/login/hub.js
JavaScript
mit
4,310
from players.player import player from auxiliar.aux_plot import * import random from collections import deque import sys sys.path.append('..') import tensorblock as tb import numpy as np import tensorflow as tf # PLAYER REINFORCE RNN class player_reinforce_rnn_2(player): # __INIT__ def __init__(self): ...
NiloFreitas/Deep-Reinforcement-Learning
reinforcement/players/player_reinforce_rnn_2.py
Python
mit
4,361
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>fundamental-arithmetics: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../b...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.06.1-2.0.5/released/8.12.1/fundamental-arithmetics/8.9.0.html
HTML
mit
6,951
<!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.14.0/huffman/8.11.0.html
HTML
mit
7,385
<html> <head> <title>User agent detail - Blogos/1.13 CFNetwork/548.0.4 Darwin/11.0.0</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> </hea...
ThaDafinser/UserAgentParserComparison
v4/user-agent-detail/65/5d/655ddbc1-ae56-4c95-bf64-dd6f5870b84f.html
HTML
mit
41,021
<!DOCTYPE html> <html> <head> <title>MyFonts Webfonts Demo for iOS devices</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <style type="text/css" media="all"> h2 { font-weight:normal; } @font-face { font-family:"ProximaNova-Bold"; src:url("2FE569_0.svg#ProximaNova-Bold") fo...
richardcrichardc/digitalwhanganui
public/css/webfonts/svg_test.html
HTML
mit
4,671
Namespace Media ''' <summary></summary> ''' <autogenerated>Generated from a T4 template. Modifications will be lost, if applicable use a partial class instead.</autogenerated> ''' <generator-date>17/02/2014 16:03:03</generator-date> ''' <generator-functions>1</generator-functions> ''' <generator-source>Deimos\_Me...
thiscouldbejd/Deimos
_Media/Enums/WMT_ATTR_DATATYPE.vb
Visual Basic
mit
1,012
/* * 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...
gabizou/SpongeAPI
src/main/java/org/spongepowered/api/text/Texts.java
Java
mit
19,598
module.exports = require('regenerate')(0x261D, 0x26F9, 0x1F385, 0x1F3C7, 0x1F46E, 0x1F47C, 0x1F4AA, 0x1F57A, 0x1F590, 0x1F6A3, 0x1F6C0, 0x1F6CC, 0x1F926).addRange(0x270A, 0x270D).addRange(0x1F3C2, 0x1F3C4).addRange(0x1F3CA, 0x1F3CC).addRange(0x1F442, 0x1F443).addRange(0x1F446, 0x1F450).addRange(0x1F466, 0x1F469).addRan...
ocadni/citychrone
.build/bundle/programs/server/npm/node_modules/meteor/babel-compiler/node_modules/regenerate-unicode-properties/Binary_Property/Emoji_Modifier_Base.js
JavaScript
mit
666
# VivaTalk Oh god it's time. run this to push to GH pages: rm output/images; cp -r images output; ghp-import -n output -p; rm -r output/images; ln -s ../images output/images
Cadair/VivaTalk
README.md
Markdown
mit
180
module SupportEngine class SupportType < ActiveRecord::Base attr_accessible :name, :email has_many :tickets, inverse_of: :support_type # TODO: Detect background job def notify!(ticket) SupportEngine::TicketMailer.notify(self, ticket).deliver end end end
orbitalimpact/SupportEngine
app/models/support_engine/support_type.rb
Ruby
mit
286
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>Story-Ly</title> <!-- Bootstrap core CSS --> <link href="ven...
heylookabird/PublishingSite
views/two_col/index.html
HTML
mit
4,220
from SBaaS_base.postgresql_orm_base import * class data_stage01_rnasequencing_analysis(Base): __tablename__ = 'data_stage01_rnasequencing_analysis' id = Column(Integer, Sequence('data_stage01_rnasequencing_analysis_id_seq'), primary_key=True) analysis_id = Column(String(500)) experiment_id = Column(Str...
dmccloskey/SBaaS_rnasequencing
SBaaS_rnasequencing/stage01_rnasequencing_analysis_postgresql_models.py
Python
mit
2,579
require 'faraday' # @private module Faraday module Disqussion # @private class RaiseHttp4xx < ::Faraday::Response::Middleware def on_complete(env) case env[:status].to_i when 400 raise ::Disqussion::BadRequest.new(error_message(env), env[:response_headers]) when 401 ...
jeremyvdw/disqussion
lib/faraday/disqussion/raise_http_4xx.rb
Ruby
mit
997
#![alt text](http://farkhor.github.io/CuSha/images/CuSha-logo-small.png "CuSha") CuSha is a CUDA-based vertex-centric graph processing framework that uses G-Shards and Concatenated Windows (CW) representations to store graphs inside the GPU global memory. G-Shards and CW consume more space compared to Compressed Spars...
farkhor/CuSha
README.md
Markdown
mit
904
package jp.co.future.uroborosql.parameter.mapper; import static org.hamcrest.MatcherAssert.*; import static org.hamcrest.Matchers.*; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.math.BigDecimal; import java.sql.Connection; import java.sql.Timestamp; import java.text.ParseException; imp...
future-architect/uroborosql
src/test/java/jp/co/future/uroborosql/parameter/mapper/BindParameterMapperManagerTest.java
Java
mit
6,049
<?php namespace Ejimba\Pesapal\OAuth; class OAuthRequest { private $parameters; private $http_method; private $http_url; // for debug purposes public $base_string; public static $version = '1.0'; public static $POST_INPUT = 'php://input'; function __construct($http_method, $http_url, $parameters=NULL) { @...
Ejimba/pesapal
src/Ejimba/Pesapal/OAuth/OAuthRequest.php
PHP
mit
7,121
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModu...
syndbg/webpack-google-cloud-storage-plugin
examples/bin/app.bundle.js
JavaScript
mit
271,678
#!/bin/sh # Capture the current version. VERSION=`cat ./VERSION` # Currently using YUI Compressor for minification. YUICOMPRESSOR=./3pty/yui/yuicompressor/yuicompressor-2.4.7.jar # To use the YUI Compressor, Java is required (http://java.com). JAVA=`which java` if [ "$JAVA" == "" ]; then echo "Not found: java" ; exi...
m5n/uducada
build.sh
Shell
mit
2,544
<template name="home"> <div id="ww"> <div class="container"> <div class="row"> <div class="col-lg-8 col-md-offset-2 centered"> {{> me}} </div><!-- /col-lg-8 --> </div><!-- /row --> </div> <!-- /container --> </div><!-- /ww --> {{> work}} </template>
pH-7/pH7Ortfolio
client/templates/home.html
HTML
mit
318
/** * Scale Interpolation Function. * * @param {number} a start scale * @param {number} b end scale * @param {number} v progress * @returns {string} the interpolated scale */ export default function scale(a, b, v) { // eslint-disable-next-line no-bitwise return `scale(${((a + (b - a) * v) * 1000 >> 0) / 1000...
thednp/kute.js
src/interpolation/scale.js
JavaScript
mit
327
/* * jQuery ZenPen url/link action * * Copyright (c) 2013 Deux Huit Huit (http://www.deuxhuithuit.com/) * Licensed under the MIT (http://deuxhuithuit.mit-license.org) * Based on the work of Tim Holman (https://github.com/tholman/zenpen) * Licensed under the Apache License (https://github.com/tholman/zenpen/b...
DeuxHuitHuit/jQuery-zenpen
src/js/jquery.zenpen.url.js
JavaScript
mit
2,580
-- aka combobox in java/win32 -- also menubar : multiple dropdown
ghoulsblade/vegaogre
lugre/widgets/lib.gui.widget.dropdownmenu.lua
Lua
mit
66
const mockMark = jest.fn(); const mockUnmark = jest.fn(); jest.mock('mark.js', () => () => ({ mark: mockMark, unmark: mockUnmark, })); import { MarkerService } from '../MarkerService'; describe('Marker service', () => { let marker: MarkerService; const element = document.createElement('span'); beforeEach(...
Rebilly/ReDoc
src/services/__tests__/MarkerService.test.ts
TypeScript
mit
2,623
# Copyright (c) 2010-2011 ProgressBound, 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, merge, pu...
marclove/stumpwise
db/migrate/20100118062606_create_articles.rb
Ruby
mit
1,203
'use strict'; var assert = require('assert'); var fs = require('fs'); var path = require('path'); describe('responsive-compass-sprite', function() { describe('icon-sprite', function() { function compare(expected, tmp, done) { var baseExpected = __dirname + '/expected/icon-sprite', ...
git-patrickliu/responsive-compass-sprite
test/main.js
JavaScript
mit
867
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-odd-order: 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.11.2/mathcomp-odd-order/1.7.0.html
HTML
mit
8,295
ifeq ($(CC),cc) CC = clang endif ifeq ($(CC),gcc) CC = clang endif CC ?= clang ifeq ($(V),1) Q = else Q = @ endif MAKEFILE_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) SDN_SENSOR_BASE ?= $(shell dirname $(MAKEFILE_DIR)) RTE_SDK ?= $(SDN_SENSOR_BASE)/external/dpdk RTE_TARGET ?=...
megahall/sdn_sensor
src/Makefile
Makefile
mit
3,893
--- id: D2D7DFCE-5BC2-4B6B-929D-A0DE8B1206C9 title: 春天 author: 吴念真 date: 2015-09-11 23:03:51 categories: 小说 tags: default --- 阿圆是金门金沙市场一家杂货店里打杂的小妹,长得不是很好看,加上老板以吝啬出名,所以跟其他杂货店比起来,他们的生意差很多。 那年头在金门当兵根本没有机会回台湾,所以不管哪家店,只要有稍具姿色的美眉驻守,几乎不管服务或者商品的品质有多烂、价格有多不合理,也可以让一大群“精子已经满到喉咙,吐口痰连爬过的蟑螂都会怀孕”的阿兵哥蜂拥而至;于是供应全师将近一万人伙食材料...
q191201771/chef_blog
build/_notes/201509/2015-09-11-春天.md
Markdown
mit
7,643
require "test_helper" class Admin::BidsControllerTest < ActionController::TestCase setup :create_administrator_session def test_index opts = {:controller => "admin/bids", :action => "index"} assert_routing("/admin/bids", opts) get(:index) assert_response(:success) assert_template("admin/bids/...
alpendergrass/montanacycling-racing_on_rails
test/functional/admin/bids_controller_test.rb
Ruby
mit
396
package goginjsonrpc import ( "fmt" "encoding/json" "io/ioutil" "net/http" "reflect" "github.com/gin-gonic/gin" ) func jsonrpcError(c *gin.Context, code int, message string, data string, id string) { c.JSON(http.StatusOK, map[string]interface{}{ "result": nil, "jsonrpc": "2.0", "error": map[string]int...
kanocz/goginjsonrpc
jsonrpc.go
GO
mit
8,250
require 'open-uri' require 'nokogiri' require 'pry' require "oracle/version" require 'oracle/cli' require 'oracle/hero' require 'oracle/scraper'
TraiLYNNE/oracle-cli-project
lib/oracle.rb
Ruby
mit
146
package com.ftchinese.jobs.common import org.eclipse.jetty.server.handler.gzip.GzipHandler import org.eclipse.jetty.server.handler.{ContextHandler, ContextHandlerCollection} import org.eclipse.jetty.server.{Server, ServerConnector} import scala.collection.mutable.ArrayBuffer /** * An http server. * Created by wanbo ...
FTChinese/push
src/main/scala/com/ftchinese/jobs/common/HttpServer.scala
Scala
mit
1,840
include_directories(${GIT_ROOT}/aws-sdk-cpp/aws-cpp-sdk-transfer/include)
ShaiRoitman/sbu
sbu/cmake/linux/aws-cpp-sdk-transferConfig.cmake
CMake
mit
74
<!DOCTYPE html> <html> <head></head> <body style="font:12px Consolas; margin:0;"> <div id="p1" style="background:gold; width:50px; height:50px; min-width:100px; min-height:100px; padding:10px;"> <div id="c1" style="width:100%; height:100%; background:plum;"></div> </div> <br> <div id="p2" styl...
dota8/dota8.github.io
tests/RD1024/static_min_max_height.html
HTML
mit
522
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>subst: 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.10.1-2.0.6/released/8.11.1/subst/8.7.0.html
HTML
mit
6,920
//~ name a744 alert(a744); //~ component a745.js
homobel/makebird-node
test/projects/large/a744.js
JavaScript
mit
52
// // BlackHoleDemo.h // Drawing // // Created by Adrian Russell on 16/12/2013. // Copyright (c) 2013 Adrian Russell. All rights reserved. // #ifndef __Drawing__BlackHoleDemo__ #define __Drawing__BlackHoleDemo__ #include "PhysicsDemo.h" #include "ForceGenerator.h" class BlackHoleDemo : public PhysicsDemo { ...
aderussell/ARPhysics
Demo App/Demos/BlackHoleDemo.h
C
mit
803
'use strict'; var Q = require('q') , _ = require('underscore'); exports.defaults = function () { return { storage: {} }; }; exports.mixin = { /** * Converts `arguments` to a key to be stored. */ toKey: function () { return _.toArray(arguments); }, contains: function () { return this.contain...
filipovskii/bolter
lib/bolter-memory.js
JavaScript
mit
894
<?php namespace Baghayi\Skyroom\Factory; use Baghayi\Skyroom\Room as RoomItself; use Baghayi\Skyroom\User; use Baghayi\Skyroom\Collection\Users; use Baghayi\Skyroom\Exception\AlreadyExists; use Baghayi\Skyroom\Request; use Baghayi\Skyroom\Exception\DuplicateRoom; final class Room { private $request; public ...
baghayi/skyroom
src/Factory/Room.php
PHP
mit
1,107
capstone.controller("RegisterCtrl", function($scope,$http,AuthFactory,$location,user1){ // $(".button-collapse").sideNav(); $http.get(`states.json`) .then((data)=>{ $scope.stateName = data.data console.log($scope.stateName) $('input.autocomplete').autocomplete({ data: $scope.stateName, limit: 10 // The max...
priyakamesh/frontendcapstone-priya
app/controller/registerCtrl.js
JavaScript
mit
2,390
<?php if(time() > 1346310303){return null;} return array ( 2 => array ( 4 => array ( 0 => array ( 'id' => 3, 'type' => 'document', 'contentType' => 'text/html', 'pagetitle' => 'Гастроэнтерология', 'longtitle' => '', 'description' => 'Гастроэнтер...
yenbekbay/clinic
core/cache/resource/web/resources/5/e17fd6472397a7760f677426bb024e70.cache.php
PHP
mit
29,091
<!DOCTYPE html> <html> <head> <title>movies of the 80's</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7o...
algebrateam/phpdev2017
gtolusic/bootstrap_zadaca.html
HTML
mit
5,158
<!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" /> <title>Query Objects &mdash; MongoAlchemy v0.8 documentat...
shakefu/MongoAlchemy
api/expressions/query.html
HTML
mit
32,684
// # Ghost Configuration // Setup your Ghost install for various environments // Documentation can be found at http://support.ghost.org/config/ var path = require('path'), config; config = { // ### Production // When running Ghost in the wild, use the production environment // Configure your...
PHILIP-2014/philip-blog
config.example.js
JavaScript
mit
5,939
<?php namespace AppBundle\Service\Crud\Strategy; /** * @author Alexandr Sibov<[email protected]> */ trait ResolverAwareTrait { /** * @var ResolverInterface */ private $resolver; public function setStrategyResolver(ResolverInterface $resolver) { $this->resolver = $resolver; ...
Cyberdelia1987/symfony-test
src/AppBundle/Service/Crud/Strategy/ResolverAwareTrait.php
PHP
mit
575
(function(){ angular .module('users') .controller('UserController', [ 'userService', '$mdSidenav', '$mdBottomSheet', '$log', '$q', UserController ]); /** * Main Controller for the Angular Material Starter App * @param $scope * @param $mdSidenav * @param avatars...
hassanabidpk/portfolio
app/src/users/UserController.js
JavaScript
mit
2,971
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>metacoq-pcuic: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.m...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.02.3-2.0.6/released/8.9.0/metacoq-pcuic/1.0~alpha2+8.10.html
HTML
mit
8,081
# ConfigBot Welcome to config_bot gem! This is a ruby command-line bot which will guide you to create a config file which can be later used by any environment. ## Installation Add this line to your application's Gemfile: ```ruby gem 'config_bot' ``` And then execute: $ bundle Or install it yourself as: ...
WasiqB/config_bot
README.md
Markdown
mit
1,366
import Router = require('koa-router'); import * as schema from './schema'; import * as routes from './routes'; import validator from '../../utils/validator'; const router = new Router({ prefix: '/toolkit' }); router.get('/example', routes.example); router.post('/upload', validator(schema.upload), routes.upload); exp...
whosesmile/koa-scaffold
src/modules/toolkit/index.ts
TypeScript
mit
340
class Report < ActiveRecord::Base mount_uploader :forest_photo, ForestPhotoUploader end
pilou15/https-github.com-pilou15-acacias-harvest
app/models/report.rb
Ruby
mit
90
package io.mattw.youtube.commentsuite.util; import java.awt.*; import java.awt.datatransfer.Clipboard; import java.awt.datatransfer.DataFlavor; import java.awt.datatransfer.StringSelection; import java.awt.datatransfer.UnsupportedFlavorException; import java.io.IOException; import java.util.List; import java.util.stre...
mattwright324/youtube-comment-suite
src/main/java/io/mattw/youtube/commentsuite/util/ClipboardUtil.java
Java
mit
1,872
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - Mozilla/5.0 (Linux; Android 4.0.3; GT-P5100 Build/IML74K) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.133 Safari/535.19</title> <link rel="stylesheet" href="https://cdnjs.cloudfla...
ThaDafinser/UserAgentParserComparison
v5/user-agent-detail/e9/3d/e93d87f0-5b6e-4fa9-8a69-d4eb386acf11.html
HTML
mit
57,360
package com.aol.cyclops.guava; import com.aol.simple.react.stream.traits.FutureStream; import com.google.common.collect.FluentIterable; public class FromSimpleReact { public static <T> FluentIterable<T> fromSimpleReact( FutureStream<T> s) { return FluentIterable.from(s); } }
sjfloat/cyclops
cyclops-guava/src/main/java/com/aol/cyclops/guava/FromSimpleReact.java
Java
mit
286
<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/23000-23999/23323-22.html
HTML
mit
1,573
#import <Flutter/Flutter.h> @interface AdbflibPlugin : NSObject<FlutterPlugin> @end
electricherd/audiobookfinder
packages/adbflib_ffi/ios/Classes/AdbflibPlugin.h
C
mit
85
--- layout: post title: "苹果的清洁能源项目" date: 2016-3-21 9:11:11 categories: 苹果 能源 环保 published: false --- 本月 22 号苹果举行了他们的春季发布会。虽然消费产品,例如 iPhone 和 iPad 并没有大的更新,但是关于 CareKit 和[环保项目][1]的进展还是很振奋人心的。特别是其中的清洁能源项目,是非常雄心勃勃并且需要巨大投入的,因此也十分值得我们研究学习。 ![苹果清洁能源项目]({{ site.url }}/assets/img/apple-energy.png) [1]: http://www.apple.c...
unionx/unionx.github.io
_posts/2016-3-22-renewable-resources-in-apple.md
Markdown
mit
605
<?php namespace Nijens\FailureHandling; use Nijens\Utilities\UnregisterableCallback; /** * FailureCatcher * * @author Niels Nijens <[email protected]> * @package Nijens\Failurehandling **/ class FailureCatcher { /** * The failure handler instance implementing FailureHandlerInterface * *...
niels-nijens/FailureHandling
src/FailureCatcher.php
PHP
mit
4,222
namespace Farmhand.Installers.Patcher.Injection.Components.Modifiers { // ReSharper disable StyleCop.SA1600 using System; using System.ComponentModel.Composition; using Farmhand.Installers.Patcher.Cecil; using Farmhand.Installers.Patcher.Injection.Components.Hooks; using Farmhand.Installers.Pa...
ClxS/Stardew-Farmhand
Libraries/Installers/Patcher/FarmhandPatcherCommon/Injection/Components/Modifiers/AlterProtectionHandler.cs
C#
mit
1,879
<!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/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
ApprecieOpenSource/Apprecie
public/docs/html/_apprecie_model_base_8php_source.html
HTML
mit
98,504
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>elpi: 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.02.3-2.0.6/released/8.5.1/elpi/1.12.1.html
HTML
mit
7,729
<?php namespace Superjobs\HomeBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; use Superjobs\HomeBundle\Entity\CVtheque; use Superjobs\HomeBundle\Form\CVthequeType; use Superjobs\HomeBundle\Entity\Category; use Superjobs\HomeBundle\Form\Categor...
anderson-abc/Superjobs
src/Superjobs/HomeBundle/Controller/MainController.php
PHP
mit
2,833
local module = {} function module.ctor(env,loader) env.loader = loader end return module
gsmake/gsmake
lib/gsmake/gsmake/sandbox/loader.lua
Lua
mit
100
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>metacoq: 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.05.0-2.0.1/released/8.11.0/metacoq/1.0~beta1+8.11.html
HTML
mit
7,589
MIT License =========== Copyright (c) 2017 Arne Bakkebø 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, p...
makingwaves/mirrorjson
LICENSE.md
Markdown
mit
1,081
<?php /** * BjyAuthorize Module (https://github.com/bjyoungblood/BjyAuthorize) * * @link https://github.com/bjyoungblood/BjyAuthorize for the canonical source repository * @license http://framework.zend.com/license/new-bsd New BSD License */ namespace BjyAuthorize\Service; use BjyAuthorize\View\UnauthorizedStrat...
JohnPaulConcierge/BjyAuthorize
src/BjyAuthorize/Service/UnauthorizedStrategyServiceFactory.php
PHP
mit
1,135
require 'spec_helper' describe Micropost do let(:user) { FactoryGirl.create(:user) } before { @micropost = user.microposts.build(content: "Lorem ipsum") } subject { @micropost } it { should respond_to(:content) } it { should respond_to(:user_id) } it { should respond_to(:user) } its(:user) { should e...
prank7/jsTwitter
spec/models/micropost_spec.rb
Ruby
mit
480
// // ViewController.h // DSCrashDemo // // Created by dasheng on 16/4/11. // Copyright © 2016年 dasheng. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
walkdianzi/DSCrashDemo
DSCrashDemo/DSCrashDemo/ViewController.h
C
mit
215
https://pubchem.ncbi.nlm.nih.gov/summary/summary.cgi?cid=1068
andrewdefries/ToxCast
Figure4/FDA_Pesticides/PCID_1068.html
HTML
mit
62
<?php /* * This file is part of PHPExifTool. * * (c) 2012 Romain Neutron <[email protected]> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\FujiFilm; use JMS\Serializer\Annotation\ExclusionPolicy...
romainneutron/PHPExiftool
lib/PHPExiftool/Driver/Tag/FujiFilm/Face7Name.php
PHP
mit
840
var gulp = require('gulp'), concat = require('gulp-concat'), compass = require('gulp-compass'), notify = require('gulp-notify'); function swallowError(error) { this.emit('end'); } function reportError(error) { notify.onError().apply(this, arguments); this.emit('end'); } // com...
jalvarado91/searchMyProf
gulpfile.js
JavaScript
mit
1,611
import { CustomVirtualAudioNodeFactory, VirtualAudioNode } from "../types"; export default abstract class VirtualAudioNodeBase { public readonly node!: string | CustomVirtualAudioNodeFactory; public cannotUpdateInPlace(newVirtualAudioNode: VirtualAudioNode): boolean { return newVirtualAudioNode.node !== this....
benji6/virtual-audio-graph
src/VirtualAudioNodes/VirtualAudioNodeBase.ts
TypeScript
mit
332
#!/usr/bin/python # -*- coding: utf-8 -*- # pylint: disable=invalid-name from __future__ import absolute_import from math import acos, cos, pi, radians, sin, sqrt import auttitude as at import numpy as np def normalized_cross(a, b): """ Returns the normalized cross product between vectors. Uses numpy.cros...
endarthur/autti
auttitude/math.py
Python
mit
4,348
#!/usr/bin/env bash set -e function hr { printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' - } while getopts ":u" opt; do case $opt in u) docker pull blengerich/genamap || { echo "failed to pull the image" >&2; exit 1; } hr echo 'Pulled the GenAMap docker image...
blengerich/GenAMap
scripts/dev_genamap.sh
Shell
mit
2,991
c ---------------------------------------------------------------------- c c Gaussian wake model applied to offshore wind farms (WindFarm object) c by Juan P. Murcia <[email protected]> c c Bastankhah, M., & Porte'-Agel, F. (2014). A new analytical model for c wind-turbine wakes. Renewable Energy, 70, 116-123. c c ----------...
DTUWindEnergy/FUSED-Wake
fusedwake/gau/fortran/GAU.f
FORTRAN
mit
32,442
{% extends path+"/_layout-case-action.html" %} {% block citizen_content %} {{ data.nuggets | log }} <p class="no-kdBar"><a href="javascript: history.go(-1)" class="link-back">Back</a></p> <h1 class="heading-large mt10 "> <span class="heading-secondary">Mental state examination</span> Insight</h1> <div class="...
dwpdigitaltech/healthanddisability
app/views/fha/v8/assessment/evidence/mh-insight.html
HTML
mit
1,924
<label{% if widget.attrs.id %} for="{{ widget.attrs.id }}"{% endif %}> {% for column in widget.columns %} <span class="icon-admin {{ column }}"></span> {% endfor %} <br/> {% include "django/forms/widgets/input.html" %} {{ widget.label }}</label>
Blueshoe/djangocms-layouter
layouter/templates/layouter/radio_option.html
HTML
mit
245
# frozen_string_literal: true require 'spec_helper' module Pathway describe Result do describe ".success" do let(:result) { Result.success("VALUE") } it "returns a Success object with passed value", :aggregate_failures do expect(result).to be_a(Result::Success) expect(result.value)....
pabloh/pathway
spec/result_spec.rb
Ruby
mit
4,096
package dao; import java.util.List; import org.apache.ibatis.session.SqlSession; import factory.FactoryService; import vo.Bbs_CommmVo; import vo.Board2Vo; public class BoardDao2 { private static BoardDao2 dao; public static synchronized BoardDao2 getDao(){ if ( dao == null ) dao = new BoardDao2(); return dao;...
ByeongGi/Koata_Java
Jsp1012-13_struts2-04/src/dao/BoardDao2.java
Java
mit
1,753