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
// // PhotoCardViewController.h // Whetstone-iOS // // Created by Philip James on 11/24/13. // Copyright (c) 2013 Philip James. All rights reserved. // #import <UIKit/UIKit.h> @interface PhotoCardViewController : UIViewController @property (nonatomic) float duration; @end
ImmaculateObsession/whetstone-ios
Whetstone-iOS/Whetstone-iOS/PhotoCardViewController.h
C
mit
279
using Starcounter; namespace People { [Database] public class PhoneNumber : ContactInfo { public string Number { get; set; } public PhoneNumberType Type { get; set; } public override string Content => Number ?? ""; } }
StarcounterSamples/People
src/People/Database/PhoneNumber.cs
C#
mit
265
//------------------------------------------------------------------------------ // <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. // </auto-generated> //-----------------------------------------...
BCIT-ASP/WebAPI-CORS
StudentWebApiCorsLab/CorsStudentClient/About.aspx.designer.cs
C#
mit
438
package com.tjazi.chatroom.service; import com.tjazi.chatroom.model.SingleChatroomData; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.ArrayList; import java.util.List; import java.util.Optional; import java.util.UUID; import java.util.st...
kwasiak/tjazi.com
webapp/src/main/java/com/tjazi/chatroom/service/ChatroomServiceImpl.java
Java
mit
3,082
import { OfficeService } from './../service/office.service'; import { ImageQueryService } from '../service/image-query.service'; import { SearchResult } from '../service/search-result'; import { Component, Input, OnInit } from '@angular/core'; @Component({ selector: 'app-search-result', templateUrl: './search-res...
BitSchupser/pixapoint
src/app/search-result/search-result.component.ts
TypeScript
mit
965
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys from itertools import groupby from time import time from functools import partial import re import django django.setup() from django.db import transaction from clldutils.dsv import reader from clldutils.text import split_text from clldutils.path import Path fro...
NESCent/dplace
dplace_app/load.py
Python
mit
5,554
module ExtraJsonMatchers def have_json_value(object = nil) JsonSpec::Matchers::BeJsonEql.new(object.to_json) end end RSpec.configure do |config| config.include ExtraJsonMatchers, type: :view end
rpearce/rails-template
spec/support/matchers/json_matchers.rb
Ruby
mit
206
def count_keys_equal(A, n, m): equal = [0] * (m + 1) for i in range(0, n): # 0 1 2 3 4 5 6 key = A[i] # 1 3 0 1 1 3 1 equal[key] += 1 return equal def count_keys_less(equal, m): less = [0] * (m + 1) less[0] = 0 for j in range(1, m+1): # 0 1 2 3 4...
wastegas/Data-Structures-Algorithms
src/Sorting/counting-sort.py
Python
mit
951
<center><b>{{book_name}} {{chapter_nr}}</b></center> <p class='{{scripture.direction.toLowerCase()}}'> <div ng-repeat='verse in verses track by $id(verse)'> <small class='ltr'>{{verse.verse_nr | number : 0}}</small> {{verse.verse}} </div> <br> </p>
SergejKasper/AngularGetBible
src/angular-get-bible/templates/ViewVerses.template.html
HTML
mit
288
const PlayerError = require('./errors.js').UnknownPlayerIdException; const Player = require('./player.js'); const Map = require('./map.js'); const Resources = require('./resources.js'); const Virus = require('./virus.js'); class Game { constructor(playerId, id, tick, timeLeft, players, resources, map, viruses) { ...
DrPandemic/aigar.io
clients/javascript/game/game.js
JavaScript
mit
1,179
//****************************************************************************** // // Copyright (c) 2015 Microsoft Corporation. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LI...
vkvenkat/WinObjC
Frameworks/include/wil/result.h
C
mit
238,327
''' Copyright 2011 Jean-Baptiste B'edrune, Jean Sigwald Using New BSD License: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditio...
ydkhatri/mac_apt
plugins/helpers/hfs_alt.py
Python
mit
22,333
var assert = require("assert") var RequestSet = require("../lib/request_set") var node = { request: function () {} } var unhealthy = { request: function (options, callback) { callback({ message: 'no nodes'}) } } function succeeding_request(options, cb) { return cb(null, {}, "foo") } function failing_request(opti...
Voxer/poolee
test/requestset_test.js
JavaScript
mit
4,821
package leetcode; /** * https://leetcode.com/problems/largest-number-greater-than-twice-of-others/ */ public class Problem747 { public int dominantIndex(int[] nums) { if (nums.length == 1) { return 0; } int firstMax = -1; int firstMaxIdx = -1; int secondMax = -...
fredyw/leetcode
src/main/java/leetcode/Problem747.java
Java
mit
692
using System; namespace HyperSlackers.AspNet.Identity.EntityFramework { /// <summary> /// Tells the auditing engine to NOT audit this property. /// </summary> [AttributeUsage(AttributeTargets.Class | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = true)] publ...
dmayhak/HyperSlackers.DbContext
DbContext/Attributes/AuditIgnoreAttribute.cs
C#
mit
385
package MIP::Recipes::Analysis::Sv_combinevariantcallsets; use 5.026; use Carp; use charnames qw{ :full :short }; use English qw{ -no_match_vars }; use File::Basename qw{ dirname }; use File::Spec::Functions qw{ catfile splitpath }; use open qw{ :encoding(UTF-8) :std }; use Params::Check qw{ allow check last_error }; ...
henrikstranneheim/MIP
lib/MIP/Recipes/Analysis/Sv_combinevariantcallsets.pm
Perl
mit
30,538
<!DOCTYPE html> <html class="theme-next pisces use-motion" lang=""> <head> <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"/> <meta name="theme-color" content="#222"> <meta http-equiv="...
slamke/slamke.github.io
archives/2016/11/index.html
HTML
mit
11,874
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Network::Mgmt::V2020_05_01 module Models # # Result of the request to list VpnSites. It contains a list of VpnSites # and a URL ...
Azure/azure-sdk-for-ruby
management/azure_mgmt_network/lib/2020-05-01/generated/azure_mgmt_network/models/list_vpn_sites_result.rb
Ruby
mit
2,834
#!/bin/bash osvers_major=$(sw_vers -productVersion | awk -F. '{print $1}') osvers_minor=$(sw_vers -productVersion | awk -F. '{print $2}') ERROR=0 # Checks to see if the OS on the Mac is 10.x.x. If it is not, the # following message is displayed without quotes: # # "Unknown Version Of macOS" if [[ ${osvers_major} -...
kevinstrick/rtrouton_scripts
rtrouton_scripts/Casper_Extension_Attributes/check_apfs_encryption/check_apfs_encryption_extension_attribute.sh
Shell
mit
2,281
--- layout: post title: News --- https://www.raleighnc.gov/ WRAL.com The News and Observer.com
RaleighCapital/raleighcapital.github.io
_posts/2010-1-1-news.md
Markdown
mit
97
<?php namespace AppBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Validator\Constraints as Assert; use Symfony\Component\HttpFoundation\JsonResponse; use \BackendBundle\Entity\User; use BackendBundle\Entity\Vide...
JoseGCheca/curso-fullstack
src/AppBundle/Controller/VideoController.php
PHP
mit
13,288
/** * Created by sakura on 16/3/28. */ // $(function () { // $('#myTab a:last').tab("show"); // }) document.getElementById("btn-normal").disabled = '';
abcghy/GraduateDesign
dist/js/test.js
JavaScript
mit
159
<?php namespace App\Controller\Order; use App\Controller\Infrastructure\BaseController; use App\Entity\Cart; use App\Entity\CartProductVariant; use App\Form\CartSummaryType; use App\Repository\CartRepository; use App\Repository\ProductRepository; use App\Repository\ProductVariantRepository; use Sensio\Bundle\Framewor...
LaVestima/hanna-agency
src/Controller/Order/CartController.php
PHP
mit
5,711
// 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/defineProperties/15.2.3.7-5-b-84.js
JavaScript
mit
1,147
module Wesi VERSION = "0.0.4" end
labra/wesi
lib/wesi/version.rb
Ruby
mit
36
## 1.12.0 (2011-02-03) * Added pidfile writing from `rake resque:work` * Added Worker#pid method * Bugfix: Errors in failure backend are rescue'd * Bugfix: Non-working workers no longer counted in "working" count * Bugfix: Don't think resque-web is a worker ## 1.11.0 (2010-08-23) * Web UI: Group /workers page by hos...
iGoDigital-LLC/resque-mongo
HISTORY.md
Markdown
mit
6,660
# ResizableItem This component allows to resize and drag itself. Layout properties, such as minimumHeight, may be used to control resizing, but height or width, user can set through resizing, can not be below 10. Internal MouseArea accessible through _ma_ property. Also there are helper properties _draggable_ and _d...
gossen/qml-components
README.md
Markdown
mit
369
<HTML><HEAD> <TITLE>Review for Rush Hour (1998)</TITLE> <LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css"> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0120812">Rush Hour (1998)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?David+Sunga">David ...
xianjunzhengbackup/code
data science/machine_learning_for_the_web/chapter_4/movie/14554.html
HTML
mit
3,794
<?php namespace josegonzalez\Queuesadilla\Engine; use DateInterval; use DateTime; use josegonzalez\Queuesadilla\Engine\SynchronousEngine; use josegonzalez\Queuesadilla\FixtureData; use josegonzalez\Queuesadilla\TestCase; use josegonzalez\Queuesadilla\Worker\SequentialWorker; use josegonzalez\Queuesadilla\Worker\TestW...
josegonzalez/php-queuesadilla
tests/josegonzalez/Queuesadilla/Engine/SynchronousEngineTest.php
PHP
mit
5,313
<?php /** * GenderInterface.php * * @author Bolbo */ namespace Bolbo\Component\Person\Model; /** * Interface GenderInterface * @package Bolbo\Component\Person\Model */ interface GenderInterface { /** * @return mixed */ public function getLabel(); /** * @param $genderId * @ret...
bolbo/store
src/Bolbo/Component/Person/Model/GenderInterface.php
PHP
mit
384
<?php use Mockery as m; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\MorphOne; use Illuminate\Database\Eloquent\Relations\MorphMany; class DatabaseEloquentMorphTest extends PHPUnit_Framework_TestCase { public function tearDown() { m::close(); } public function testMorphO...
lukasgeiter/laravel-framework
tests/Database/DatabaseEloquentMorphTest.php
PHP
mit
9,306
<?php /* * This file is part of the Symfony2-Boilerplate repository. * * (c) Diego Caponera <http://moonwave99.github.com/> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace MWLabs\FrontendBundle\Controller; use Symfony\...
moonwave99/symfony2-boilerplate
src/MWLabs/FrontendBundle/Controller/HomeController.php
PHP
mit
875
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <title></title> <script src="http://libs.baidu.com/jquery/1.9.1/jquery.js"></script> <style> .left, .right { width: 300px; height: 120px; } .left div, .right div ...
flyromance/jQuery
_Aaron/jQuery入门教程/jQuery的节点操作/内部插入prepend()与prependTo().html
HTML
mit
1,693
/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript+markdown&plugins=line-numbers */ /** * prism.js default theme for JavaScript, CSS and HTML * Based on dabblet (http://dabblet.com) * @author Lea Verou */ code[class*="language-"], pre[class*="language-"] { color: black; backgr...
sydjs/sydjs_zero
tutorial/vendor/prismjs/prism.css
CSS
mit
3,086
require_relative "test_helper" class FeedDownloaderTest < Minitest::Test def setup flush end def test_should_schedule_feed_parser url = "http://example.com/atom.xml" stub_request_file("atom.xml", url) assert_equal 0, FeedParser.jobs.size FeedDownloader.new.perform(1, url, 10) assert_equ...
feedbin/refresher
test/feed_downloader_test.rb
Ruby
mit
3,347
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_45) on Thu Oct 24 12:32:07 EEST 2013 --> <title>org.tandembrowsing.io.db Class Hierarchy</title> <meta name="date" content="2013-10-24"...
tomhai/tandembrowsing
javadoc/org/tandembrowsing/io/db/package-tree.html
HTML
mit
4,381
import { Enum } from '../utility/enum' Enum.register(FontWeight, "FontWeight", { jsStringPrefix: 'ms-fontWeight-' }); export enum FontWeight { unspecified, light, semilight, regular, semiBold }
kennedylabs/lab-blocks
app/fabric/fabric.fontweight.enum.ts
TypeScript
mit
206
<?php namespace Bundle\Manager; use Zend\ServiceManager\FactoryInterface; use Zend\ServiceManager\ServiceLocatorInterface; class BundleManagerFactory implements FactoryInterface { public function createService(ServiceLocatorInterface $sm) { return new BundleManager( $sm->get...
tkrebs/ep3-hs
module/Bundle/src/Bundle/Manager/BundleManagerFactory.php
PHP
mit
417
var Helper = require("@kaoscript/runtime").Helper; module.exports = function() { function min() { return ["female", 24]; } let foo = Helper.namespace(function() { const [gender, age] = min(); return { gender: gender, age: age }; }); console.log(foo.age); console.log(Helper.toString(foo.gender)); };
kaoscript/kaoscript
test/fixtures/compile/namespace/namespace.var.const.destruct.array.js
JavaScript
mit
319
<?php namespace Chiave\UserBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; class UserType extends AbstractType { /** * @param FormBuilderInterface $builder * @param array $options ...
chiave/bluerose
src/Chiave/UserBundle/Form/UserType.php
PHP
mit
1,072
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Struct template result</title> <link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="../../../../ind...
calvinfarias/IC2015-2
BOOST/boost_1_61_0/libs/xpressive/doc/html/boost/xpressive/op/at/result.html
HTML
mit
3,866
#include "PageMap.h" #include "Kernel.h" PageMap::PageMap() { for(uint32_t i = 0; i < page_bitmap_size; i++) { page_bitmap[i] = 0; } present = false; } int PageMap::first_free_page() const { // Iterate through the bitmap and find the first free page for (uint32_t idx = 0; idx < page_bitma...
andybest/mustard
src/kernel/arch/x86/mm/PageMap.cpp
C++
mit
1,654
namespace SwissAcademic.Addons.MacroManagerAddon { partial class DirectoryForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
Citavi/C6-Add-Ons-and-Online-Sources
src/MacroManager/Forms/DirectoryForm.Designer.cs
C#
mit
6,412
/** * 版权所有 (c) 2018,中金支付有限公司   */ package com.radish.master.entity.wechat; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; import com.cnpc.framework.annotation.Header; import com.cnpc.framework.base.entity.BaseEntity; /** * 类说明 * * <pre> * Modify Information: *...
Squama/Master
AdminEAP-web/src/main/java/com/radish/master/entity/wechat/Wen.java
Java
mit
3,193
module.exports = { SearchClient: require("./ddg/search-client") }
VarioLabs/ddg-api.js
lib/ddg-api.js
JavaScript
mit
67
require 'fog/rackspace/core' module Fog module Rackspace class BlockStorage < Fog::Service include Fog::Rackspace::Errors class IdentifierTaken < Fog::Errors::Error; end class ServiceError < Fog::Rackspace::Errors::ServiceError; end class InternalServerError < Fog::Rackspace::Errors::Int...
suhongrui/gitlab
vendor/bundle/ruby/2.1.0/gems/fog-1.21.0/lib/fog/rackspace/block_storage.rb
Ruby
mit
6,301
// Copyright (c) 2011-2018 The Bitsend Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <qt/bantablemodel.h> #include <qt/clientmodel.h> #include <qt/guiconstants.h> #include <qt/guiutil.h> #include <in...
LIMXTEC/BitSend
src/qt/bantablemodel.cpp
C++
mit
4,521
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _mongoose = require('mongoose'); var _mongoose2 = _interopRequireDefault(_mongoose); var _validator = require('validator'); var _findOrCreatePlugin = require('./find-or-create-plugin'); var _findOrCreatePlugin2 = _interopRequireDef...
iykyvic/fcc-voting
dist/server/models/Users.js
JavaScript
mit
1,132
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { Comp3766Component } from './comp...
angular/angular-cli-stress-test
src/app/components/comp-3766/comp-3766.component.spec.ts
TypeScript
mit
847
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!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>ftcon...
ketchupok/csound.github.io
docs/manual/ftconv.html
HTML
mit
11,912
# -*- encoding: utf-8 -*- from mock import Mock, patch from psutil import AccessDenied, TimeoutExpired from thefuck.output_readers import rerun class TestRerun(object): def setup_method(self, test_method): self.patcher = patch('thefuck.output_readers.rerun.Process') process_mock = self.patcher.s...
nvbn/thefuck
tests/output_readers/test_rerun.py
Python
mit
2,942
<?php namespace Artax; class ResourceBody implements \Iterator, \Countable { private $resource; private $lengthCache; private $currentIterCache; private $streamGranularity = 32768; function __construct($resource) { if (is_resource($resource)) { $this->validateSeekabil...
Ocramius/Artax
src/Artax/ResourceBody.php
PHP
mit
3,658
{% extends "../layout.html" %} {% block content %} <main id="content" role="main"> <div class="phase-banner-alpha"> <p> <strong class="phase-tag">BETA</strong> <span>This is an BETA prototype, details may be missing whilst we build the service. Your feedback will help us improve this service.</span> ...
christinagyles-ea/water
app/v6/views/v15/pages/online_licence_rename.html
HTML
mit
5,248
/* * Copyright (C) 2014 United States Government as represented by the Administrator of the * National Aeronautics and Space Administration. All Rights Reserved. */ /** * @exports BMNGOneImageLayer * @version $Id: BMNGOneImageLayer.js 2942 2015-03-30 21:16:36Z tgaskins $ */ define([ '../layer/Ren...
NASAWorldWindResearch/AgroSphere
src/layer/BMNGOneImageLayer.js
JavaScript
mit
1,436
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Action' db.create_table('gratitude_action', ( ('id', self.gf('django.db.models.f...
adamfeuer/ArtOfGratitude_app
gratitude/migrations/0005_auto__add_action.py
Python
mit
7,091
package org.luyue.commons.logging; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class Slf4jExample { public static void main(String[] args) { // if using slf4j simple implementation, set logger level to TRACE // System.setProperty(org.slf4j.impl.SimpleLogger.DEFAULT_LOG_LEVEL_...
yuelu/logging
src/main/java/org/luyue/commons/logging/Slf4jExample.java
Java
mit
800
var SimpleSuperclass = Hotcake.define(SimpleSuperclass, { ctor: function () { this.value = 100; }, incrementReturn: function () { this.value += 100; return this.value; } }); var SimpleSubclass = Hotcake.define(SimpleSubclass, { returnValue: function () { ...
Knetic/hotcake
tests/acceptanceTest_3_2.js
JavaScript
mit
504
#pragma once #include <string> namespace bim { enum class MessageType { INFO, WARNING, ERROR }; typedef void (*MessageCallback)(MessageType _type, const std::string& _message); // Replace the internal message callback with a custom one. // The default callback will output to std::cerr. void setMessage...
Jojendersie/Bim
include/bim/log.hpp
C++
mit
1,259
// Template Source: BaseEntityCollectionRequest.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // --------------------------...
microsoftgraph/msgraph-sdk-java
src/main/java/com/microsoft/graph/requests/TeamCollectionRequest.java
Java
mit
5,788
/* THIS FILE IS GENERATED. DO NOT EDIT */ package seph.lang.structure; import seph.lang.*; import seph.lang.persistent.*; public class SephObject_n_6 extends SephObjectStructure { public final IPersistentVector parents; public final String selector0; public final SephObject cell0; public final String...
seph-lang/seph
src/main/seph/lang/structure/SephObject_n_6.java
Java
mit
2,077
require 'test/assert' require 'test/colorize' require 'test/spec/stats' module Moon module Test class SpecSuite include Colorize include Moon::Test::Assert attr_accessor :name attr_accessor :logger attr_accessor :debug_logger attr_accessor :tests def initialize(name = ...
polyfox/moon-packages
lib/moon/packages/test/spec.rb
Ruby
mit
3,502
# JSONP **Content-Type: "text/javascript"** ## What is JSONP, and why was it created? Say you're on domain `example.com`, and you want to make a request to domain `example.net`. To do so, you need to cross domain boundaries, a no-no in most of browserland. The one item that bypasses this limitation is `<script>` ta...
kataras/build-a-better-web-together
responses/jsonp.md
Markdown
mit
3,599
module Fog module Brightbox class Compute class Real def get_server_type(identifier, options = {}) return nil if identifier.nil? || identifier == "" request( :expects => [200], :method => 'GET', :path => "/1.0/server_types/#{identifier}...
jbenjore/JPs-love-project
annotate-models/ruby/1.9.1/gems/fog-0.8.1/lib/fog/compute/requests/brightbox/get_server_type.rb
Ruby
mit
481
<DIV NAME="detail" ID="detail" xmlns="http://www.w3.org/TR/REC-html40"><H3><A NAME='detail_CaptureObjectDataToFile'></A>TestComplete GenericMasterFunctions::<BIG>CaptureObjectDataToFile</BIG> </H3> <TABLE><TR> <TD class="borderStyle"><SPAN CLASS='Support' TITLE='SmartBear Test Complete'>TC</SPAN></TD> </TR></TABLE> ...
kid551/safsdev.test.github.io
keyref/TestCompleteGenericMasterFunctionsCaptureObjectDataToFile.html
HTML
mit
5,255
/* * QCELP decoder * Copyright (c) 2007 Reynaldo H. Verdejo Pinochet * * This file is part of FFmpeg. * * FFmpeg 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 2.1 of the Lice...
mcodegeeks/OpenKODE-Framework
01_Develop/libXMFFmpeg/Source/libavcodec/qcelpdec.cpp
C++
mit
26,887
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * Página login */ class Login extends CI_Controller { /** * Login constructor. */ public function __construct() { parent::__construct(); /** Carregamento de bibliotecas */ $this->load->library('f...
leobelini/guiapet
application/controllers/geral/Login.php
PHP
mit
2,623
class FixedExpensesController < BaseExpensesController private def expenses_title "Fixed expenses" end def expenses_path event_fixed_expenses_path(@event) end def expenses @event.fixed_expenses end def expense_path(expense=@expense) event_fixed_expense_path(@event.id, expense.id) end...
CultivateHQ/ballpark
app/controllers/fixed_expenses_controller.rb
Ruby
mit
466
<html> <head> <title>David Napley'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/5h2h0uj0.html
HTML
mit
1,075
body { background: url(../images/refugee_pic.jpg) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; } div.white_overlay { width: 60%; height: 75%; align: "middle"; position: absolute; to...
AlexanderJones/HackJustice-Website
english/menu.css
CSS
mit
2,263
# frozen_string_literal: true RSpec.describe Bitaculous::Animatify::Paths do subject(:animatify) { Bitaculous::Animatify } let(:trail) { File.expand_path '../../../../../', __FILE__ } let(:assets_path) { File.expand_path 'assets', trail } let(:fonts_path) { File.expa...
bitaculous/animatify
spec/unit/bitaculous/animatify/paths_spec.rb
Ruby
mit
2,260
ktarbet.github.io ================= Karl Tarbet ktarbet at gmail.com Karl is the primary author of <a href="https://github.com/usbr/Pisces">Pisces</a>. Pisces is a desktop application that graphs and analyzes time series data. Pisces is designed to organize, graph, and analyze natural resource data that varies with...
ktarbet/ktarbet.github.io
README.md
Markdown
mit
573
--- layout: main --- <div class="project"> <div class="project-meta"> <div class="project-date">{{ page.date | date: "%B %d, %Y" }}</div> <h3 class="project-title">{{ page.title }}</h3> </div> {{ content }} </div>
spieswl/spieswl.github.io
_layouts/project.html
HTML
mit
257
# -*- coding: utf-8 -*- """ The MIT License (MIT) Copyright (c) 2015 Axel Mendoza <aekroft@gmail.com> 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 limita...
aek/solt_sftp
src/solt_sftp/__init__.py
Python
mit
1,132
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title>SLF4J 1.7.26 Reference Package org.slf4j.event</title> <link rel="stylesheet" type="text/css" href="../...
JPAT-ROSEMARY/SCUBA
org.jpat.scuba.external.slf4j/slf4j-1.7.26/site/xref/org/slf4j/event/package-summary.html
HTML
mit
2,589
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.IO; using Microsoft.Build.Shared; namespace Microsoft.Build.Framework { /// <summary> /// Arguments for task finished events //...
AndyGerlicher/msbuild
src/Framework/TaskFinishedEventArgs.cs
C#
mit
5,137
<?php namespace App\Controllers; use \Flight; use \GUMP; use App\Models; /* *To handle all the user operations * */ class UserController { protected $user; /** * Function name * * what the function does * * @param (type) (name) about this param * @return (type) (name) */ ...
TarentoIndia/TarentoDeviceManagement
views-code-php/device-management/app/controllers/UserController.php
PHP
mit
5,706
# 致谢 本博客外观基于 [码志](http://mazhuang.org) 修改,感谢!
zhangqinning/zhangqinning.github.io
README.md
Markdown
mit
86
<?php declare(strict_types=1); namespace Tests\SitemapPlugin\Controller; final class SitemapProductControllerApiImagesTest extends XmlApiTestCase { public function testShowActionResponse() { $this->loadFixturesFromFiles(['channel.yaml', 'product_images.yaml']); $this->generateSitemaps(); ...
stefandoorn/sitemap-plugin
tests/Controller/SitemapProductControllerApiImagesTest.php
PHP
mit
504
/* The default style. */ body { cursor: default !important; padding-top: 20px !important; font-size: 12px !important; font-family: 'DejaVu Sans', 'Verdana', sans-serif !important; background: url('/static/img/background.png') no-repeat top center #272B30; background-attachment: fixed; } a { font-weight: bold;...
diath/pyfsw
pyfsw/static/css/style.css
CSS
mit
2,081
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Emanuele</title> <meta name="description" content="Emanuele"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href='http://fonts.googleapis.com/css?family=Roboto:100' rel='stylesheet' type='text/css'> ...
LostCrew/emanuele
index.html
HTML
mit
505
# PXFrostedImageView [![Version](https://img.shields.io/cocoapods/v/PXFrostedImageView.svg?style=flat)](http://cocoapods.org/pods/PXFrostedImageView) [![License](https://img.shields.io/cocoapods/l/PXFrostedImageView.svg?style=flat)](http://cocoapods.org/pods/PXFrostedImageView) [![Platform](https://img.shields.io/coco...
pixio/PXFrostedImageView
README.md
Markdown
mit
942
from snowball.utils import SnowMachine from snowball.climate import WeatherProbe # Note: multiline import limits line length from snowball.water.phases import ( WaterVapor, IceCrystal, SnowFlake ) def let_it_snow(): """ Makes it snow, using a SnowMachine when weather doesn't allow it. Returns a list...
dokterbob/slf-programming-workshops
examples/snowball/main.py
Python
mit
1,795
package com.percolate.coffee.util.api.request; import android.content.res.Resources; import com.octo.android.robospice.request.springandroid.SpringAndroidSpiceRequest; import com.percolate.coffee.R; import com.percolate.coffee.model.CoffeeTypeDetailed; import org.springframework.http.HttpEntity; import org.springfra...
aaemman/Coffee
java/com/percolate/coffee/util/api/request/CoffeeTypeShowRequest.java
Java
mit
1,947
enyo.kind({ name: "bootstrap.Breadcrumb", tag: "ul", classes: "breadcrumb", defaultKind: "bootstrap.MenuItem", });
pangea/bootstrap-enyo
source/Breadcrumbs.js
JavaScript
mit
119
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>class Test::Unit::Data::ClassMethods::Loader - test-unit-3.3.0 Documentation</title> <script type="text/javascript"> var rdoc_rel_prefix = "../../../../"; </script> <script src="../../../../js/jquery.js"></script> <script src="../../../../js/darkfish.js"...
Celyagd/celyagd.github.io
stakes-jekyll/doc/test-unit-3.3.0/rdoc/Test/Unit/Data/ClassMethods/Loader.html
HTML
mit
21,841
'use strict'; module.exports = { "plugins": [], "recurseDepth": 10, "source": { "includePattern": ".+\\.js(doc|x)?$", "excludePattern": "(^|\\/|\\\\)_" }, "sourceType": "module", "tags": { "allowUnknownTags": true, "dictionaries": ["jsdoc","closure"] }, "...
Wildix/IntegrationService
.jsdoc.js
JavaScript
mit
1,316
<!DOCTYPE html> <html ng-app="jcs-demo"> <head lang="en"> <meta charset="UTF-8"> <title>Angular Auto Validate Test Page</title> <link rel="stylesheet" href="../bower_components/bootstrap/dist/css/bootstrap.min.css" /> </head> <body> <div class="row" ng-controller="demoCtrl"> <div class="col-sm-...
jonsamwell/angular-auto-validate
tests/testPage.html
HTML
mit
15,492
import * as actions from './actions'; import mutations from './mutations'; import getters from './getters'; const state = { transactions: [], businesses: [] }; export default { state, actions, mutations, getters };
jdm8736/simple-budget-app
src/app/transactions/vuex/index.js
JavaScript
mit
229
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
arunetm/ChakraCore_0114
lib/Backend/IRType.cpp
C++
mit
1,866
# Laravel Facebook Posts This is a simple package I created for my own use to post to facebook. This is not yet ready for general use. I plan to add a lot of other features. ## Install Via Composer ``` $ composer require developernaren/facebook ``` ## Usage I have made the facebook class into a singleton class bec...
developernaren/facebook
README.md
Markdown
mit
1,091
// c9.h ¶ÔÁ½¸öÊýÖµÐ͹ؼü×ֵıȽÏÔ¼¶¨ÎªÈçϵĺ궨Òå #define EQ(a,b) ((a)==(b)) #define LT(a,b) ((a)<(b)) #define LQ(a,b) ((a)<=(b))
guyuexing/DataStruct
DataStructDemo/数据结构/ch9/C9.H
C++
mit
139
#include "BoundarySimulator.h" #include "SPlisHSPlasH/TimeManager.h" #include "SPlisHSPlasH/Simulation.h" #include "SPlisHSPlasH/BoundaryModel.h" using namespace SPH; void BoundarySimulator::updateBoundaryForces() { Real h = TimeManager::getCurrent()->getTimeStepSize(); Simulation *sim = Simulation::getCurrent(); ...
InteractiveComputerGraphics/SPlisHSPlasH
Simulator/BoundarySimulator.cpp
C++
mit
715
var scene = new THREE.Scene(); var camera = new THREE.PerspectiveCamera( 90, window.innerWidth / window.innerHeight, .1, 1000 ); var renderer = new THREE.WebGLRenderer(); var container = document.getElementById('container'); container.appendChild(renderer.domElement); renderer.setSize(window.innerWidth, window.inner...
RobIsaTeam/courses
_course_3_threejs/code/lesson-03.js
JavaScript
mit
734
//------------------------------------------------------------------------------ // <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. // </auto-generated> //----------------------------------------...
Code4HR/pet-check
Account/Register.aspx.designer.cs
C#
mit
1,116
# reload zsh config alias reload!='source ~/.zshrc' # Detect which `ls` flavor is in use if ls --color > /dev/null 2>&1; then # GNU `ls` colorflag="--color" else # OS X `ls` colorflag="-G" fi alias v="nvim" alias c="code-insiders" # Filesystem aliases alias ..='cd ..' alias ...='cd ../..' alias ....="cd ../....
paulhirschi/dotfiles
zsh/aliases.zsh
Shell
mit
3,400
function registerListeners() { window.addEventListener("keydown", function(event) { switch (event.keyCode) { case 87: // w keyStatus[0] = true; break; case 65: // a keyStatus[1] = true; break; case 83: // s keyStatus[2] = true; break; case 68: // d keyStatus[3] =...
eott/into-hyperspace
input.js
JavaScript
mit
682
export class Validation { constructor() { this.errors = []; } get validationArray() { return []; } get valid() { let self = this; return this.validationArray.reduce((isValid, isPartValid) => { if(!isPartValid) return isValid; ...
influencetech/ivx-js
src/modules/validation/ivx-js-validation/validation.js
JavaScript
mit
693
module UnitQuaternions import Base: +, -, ^, ==, ×, angle, inv, log, mean, show, getindex export UnitQuaternion, ⊕, ⊞, ⊟, axis, covariance, rotatevector, rotateframe, rotationmatrix, slerp, vector const EPS = 1e-9 #################################################################################################### #...
kam3k/UnitQuaternions.jl
src/UnitQuaternions.jl
Julia
mit
9,578
var helper = require('../support/spec_helper'); var ORM = require('../../'); describe("Model keys option", function () { var db = null; before(function () { db = helper.connect(); }); after(function () { return db.closeSync(); }); describe("if model id is a property", functio...
xicilion/fib-orm
test/integration/model-keys.js
JavaScript
mit
2,890
package eu.goodlike.hls.download.m3u.data.builder; import com.google.inject.assistedinject.AssistedInject; import eu.goodlike.hls.download.m3u.data.MediaPlaylistData; import okhttp3.HttpUrl; /** * Factory for {@link MediaPlaylistBuilder}; implementation provided by Guice {@link AssistedInject} */ public interface M...
TheGoodlike13/hls-downloader
src/main/java/eu/goodlike/hls/download/m3u/data/builder/MediaPlaylistBuilderFactory.java
Java
mit
605