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
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; const propTypes = { children: PropTypes.node, className: PropTypes.string, info: PropTypes.string }; const ListItemAction = props => { const { children, className, info, ...otherProps } = props; co...
react-mdl/react-mdl
src/List/ListItemAction.js
JavaScript
mit
749
#region Copyright // // DotNetNuke® - https://www.dnnsoftware.com // Copyright (c) 2002-2018 // by DotNetNuke Corporation // // 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 restric...
RichardHowells/Dnn.Platform
DNN Platform/Syndication/OPML/Opml.cs
C#
mit
15,727
// Copyright (c) 2007-2014 Joe White // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish...
joewhite/dgrok
Source/DGrok.Tests/TokenFilterTests.cs
C#
mit
10,816
use crate::{ analysis::{ self, conversion_type::ConversionType, function_parameters::CParameter, functions::is_carray_with_direct_elements, imports::Imports, return_value, rust_type::RustType, }, config::{self, parameter_matchable::ParameterMatchable}, env::Env, library::{ ...
GuillaumeGomez/gir
src/analysis/out_parameters.rs
Rust
mit
6,744
@import "reset.css"; @import "fullcalendar.css"; @import "datatable.css"; @import "ui_custom.css"; @import "prettyPhoto.css"; @import "elfinder.css"; /* Table of Content ================================================== # Basic styles # Top navigation # Left navigation & widgets # Common styles # Content # Sta...
freezmeinster/vinlla-web
src/Vinlla/LandingBundle/Resources/public/admin/css/main.css
CSS
mit
95,477
"use strict"; const conversions = require("webidl-conversions"); const utils = require("./utils.js"); const HTMLElement = require("./HTMLElement.js"); const impl = utils.implSymbol; function HTMLButtonElement() { throw new TypeError("Illegal constructor"); } Object.setPrototypeOf(HTMLButtonElement.prototype, HTMLEl...
akaraatanasov/JS-Core
JS Advanced/WorkingUnitTests/node_modules/jsdom/lib/jsdom/living/generated/HTMLButtonElement.js
JavaScript
mit
5,586
<?php if (!function_exists('PrintHexBytes')) { function PrintHexBytes($string) { $returnstring = ''; for ($i = 0; $i < strlen($string); $i++) { $returnstring .= str_pad(dechex(ord(substr($string, $i, 1))), 2, '0', STR_PAD_LEFT).' '; } return $returnstring; } } if (!function_exists('PrintTextB...
derlangemarkus/Twick.it
blog/de/wp-content/plugins/audio/getid3/demos/demo.mp3header.php
PHP
mit
122,827
def scrape_github(query, location) base_url = "https://jobs.github.com" query_url = base_url +'/positions?description='+ query + '&location=' + location posting_urls = [] # # this is getting us the url's for each of the individual posting pages doc = Nokogiri::HTML(open(query_url)) doc.css("h4 a").each do |j...
iMikie/Boot-Jobs
lib/scrape_github.rb
Ruby
mit
1,518
package utils.db import com.github.tminglei.slickpg._ import models.db.AccountRole trait TetraoPostgresDriver extends ExPostgresDriver with PgArraySupport with PgEnumSupport with PgRangeSupport with PgDate2Support with PgHStoreSupport with PgSearchSupport with PgNetSupport with PgLTreeSupport { ove...
asciiu/halo
arbiter/app/utils/db/TetraoPostgresDriver.scala
Scala
mit
1,070
--- published: true title: Candy Cane layout: post categories: [beverages] rating: 1 --- ### Servings 1 ### Ingredients - 3/4 oz SKYY Berry vodka - 3/4 oz Peppermint Schnapps - 3/4 oz white Crème de Cacao - 1/4 oz grenadine - half and half - Soda water ### Directions 1. Pour the vodka, Peppermint Schnapps, white Crem...
jrolstad/rolstad-recipes
_posts/2015-12-14-candy-cane.md
Markdown
mit
662
package com.javarush.task.task12.task1211; /* Абстрактный класс Pet */ public class Solution { public static void main(String[] args) { } public static abstract class Pet { public String getName() { return "Я - котенок"; } } }
pshynin/JavaRushTasks
2.JavaCore/src/com/javarush/task/task12/task1211/Solution.java
Java
mit
301
import os import json import six from ddt import ddt, data, file_data, is_hash_randomized from nose.tools import assert_equal, assert_is_not_none, assert_raises @ddt class Dummy(object): """ Dummy class to test the data decorator on """ @data(1, 2, 3, 4) def test_something(self, value): ...
domidimi/ddt
test/test_functional.py
Python
mit
6,480
package TopCoder; /* * SRM 148 Div2 * Link:https://community.topcoder.com/stat?c=problem_statement&pm=1741&rd=4545 */ public class SRM148DivisorDigits { public static void main(String[] args) { System.out.println(howMany(12345)); System.out.println(howMany(661232)); System.out.println(howMany(52527)); S...
darshanhs90/Java-InterviewPrep
src/TopCoder/SRM148DivisorDigits.java
Java
mit
570
package April2021Leetcode; public class _0344ReverseString { public static void main(String[] args) { reverseString(new char[] { 'h', 'e', 'l', 'l', 'o' }); reverseString(new char[] { 'h', 'a', 'n', 'n', 'a', 'H' }); } public static void reverseString(char[] s) { s } }
darshanhs90/Java-InterviewPrep
src/April2021Leetcode/_0344ReverseString.java
Java
mit
281
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not re...
almadaocta/lordbike-production
errors/includes/src/Mage_Weee_Model_Tax.php
PHP
mit
10,885
<?php /** * PHP SDK for QQ登录 OpenAPI * * @version 1.5 * @author connect@qq.com * @copyright © 2011, Tencent Corporation. All rights reserved. */ /** * @brief 本文件包含了OAuth认证过程中会用到的公用方法 */ require_once("config.php"); /** * @brief QQ登录中对url做编解码的统一函数 * 按照RFC 1738 对URL进行编码 * 除了-_.~之外的所有非字母数字字...
guotao2000/ecmall
includes/third/qq_api/comm/utils.php
PHP
mit
9,347
require 'spec_helper' describe Gitlab::Conflict::FileCollection do let(:merge_request) { create(:merge_request, source_branch: 'conflict-resolvable', target_branch: 'conflict-start') } let(:file_collection) { described_class.read_only(merge_request) } describe '#files' do it 'returns an array of Conflict::F...
t-zuehlsdorff/gitlabhq
spec/lib/gitlab/conflict/file_collection_spec.rb
Ruby
mit
744
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "wallet.h" #include "walletdb.h" #include "crypter.h" #include "ui_interf...
manuel-zulian/accumunet
src/wallet.cpp
C++
mit
29,384
# frozen_string_literal: true require_relative "data_cleanup/model_check" require_relative "data_cleanup/instance_check" require_relative "data_cleanup/reporting" require_relative "data_cleanup/rules" module DataCleanup COLOR_CODES = { red: 31, green: 32 }.freeze module_function def logger @logger ||= Lo...
CDLUC3/dmptool
lib/data_cleanup.rb
Ruby
mit
567
package com.itelg.spring.actuator; import java.util.Properties; import org.springframework.amqp.core.Queue; import org.springframework.amqp.rabbit.core.RabbitAdmin; import org.springframework.util.Assert; public class RabbitQueuePropertiesManager { public RabbitQueueProperties request(Queue queue) { RabbitAdmin ...
julian-eggers/spring-boot-monitoring
src/main/java/com/itelg/spring/actuator/RabbitQueuePropertiesManager.java
Java
mit
1,080
# -*- coding: utf-8 -*- # Copyright (c) 2020, Frappe Technologies and Contributors # License: MIT. See LICENSE # import frappe import unittest class TestModuleOnboarding(unittest.TestCase): pass
frappe/frappe
frappe/desk/doctype/module_onboarding/test_module_onboarding.py
Python
mit
197
<TS language="sr" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Десни клик за измену адресе или ознаке</translation> </message> <message> <source>Create a new address</source> <translatio...
particl/particl-core
src/qt/locale/bitcoin_sr.ts
TypeScript
mit
180,104
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>DesignWare USB 2.0 OTG Controller (DWC_otg) Device Driver: hwcfg3_data Union Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href=...
sahdman/rpi_android_kernel
linux-3.1.9/drivers/usb/host/dwc_otg/doc/html/unionhwcfg3__data.html
HTML
mit
5,430
# CKEditor for Symphony CMS (EXPERIMENTAL) - Version: 0.71 beta - Date: Tuesday, 26 June 2010 - Author: Tony Arnold, tony@tonyarnold.com - Repository: <http://github.com/tonyarnold/symphony-ckeditor/> - Requirements: Symphony CMS 2.0.8 <http://github.com/symphony/symphony-2/tree/master> ## Introduction This extensio...
tonyarnold/symphony-ckeditor
README.markdown
Markdown
mit
604
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow * @format */ import type {Tests, Steps} from './Tester'; class Suite { getBeforeEach: Steps; tags: Array<string>;...
mroch/flow
packages/flow-dev-tools/src/test/Suite.js
JavaScript
mit
701
#!/usr/bin/env python from icqsol.bem.icqPotentialIntegrals import PotentialIntegrals from icqsol.bem.icqLaplaceMatrices import getFullyQualifiedSharedLibraryName import numpy def testObserverOnA(order): paSrc = numpy.array([0., 0., 0.]) pbSrc = numpy.array([1., 0., 0.]) pcSrc = numpy.array([0., 1., 0.]) ...
gregvonkuster/icqsol
tests/testPotentialIntegrals.py
Python
mit
3,128
/*jshint unused:false */ "use strict"; var _verbosity = 0; var _prefix = "[videojs-vast-vpaid] "; function setVerbosity (v) { _verbosity = v; } function handleMsg (method, args) { if ((args.length) > 0 && (typeof args[0] === 'string')) { args[0] = _prefix + args[0]; } if (method.apply) ...
MailOnline/videojs-vast-vpaid
src/scripts/utils/consoleLogger.js
JavaScript
mit
1,673
shared_examples "win" do it "works" do Demo.logger.info "works" end context "mainframe" do it "hacks" do Demo.logger.info "hacks" end end end
abstractive/rspec-logsplit
spec/support/shared_examples/win.rb
Ruby
mit
169
module HarvestWheelman VERSION = "1.0.0" end
kfatehi/harvest_wheelman
lib/harvest_wheelman/version.rb
Ruby
mit
47
div, span, body, pre{padding:0; margin:0; max-width:100%; } body{ color:#000; font-size:14px; background:#211F1F; } body, div, pre{ word-wrap:break-word; } .file-name{ color:#00B864; font-weight:bold; padding: 6px; } pre{ max-height:30px;} .file{ width:100%; color:#EF6100; margin: 12px 0; } .err...
JhulFramework/PHPServer4ODK
required/odk/0.1/framework/jhul/Jhul/Components/EX/resources/style.css
CSS
mit
690
/* * Copyright (c) 2014-2017 Kumuluz and/or its affiliates * and other contributors as indicated by the @author tags and * the contributor list. * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
TFaga/KumuluzEE
common/src/main/java/com/kumuluz/ee/configuration/utils/ConfigurationSourceUtils.java
Java
mit
3,049
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using NUnit.Framework; namespace osu.Game.Rulesets.Mania.Tests { [TestFixture] public class TestCasePerformancePoints : Game.Tests.Visual.TestCasePerformancePoi...
NeoAdonis/osu
osu.Game.Rulesets.Mania.Tests/TestCasePerformancePoints.cs
C#
mit
440
<?php /** * Created by PhpStorm. * User: mart * Date: 05/10/17 * Time: 13:56 */ namespace Tixi\App\AppBundle\Controller; use Doctrine\ORM\EntityManager; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\GeneratorBundle\Gener...
hertus/sfitixi
src/Tixi/App/AppBundle/Controller/MigrationsController.php
PHP
mit
2,524
#!/usr/bin/python #encoding=utf-8 import urllib, urllib2 import cookielib import re import time from random import random from json import dumps as json_dumps, loads as json_loads import sys reload(sys) sys.setdefaultencoding('utf-8') import os project_root_path = os.path.abspath(os.path.join(os.path....
debugtalk/MiaoZuanScripts
MiaoZuanScripts.py
Python
mit
7,305
/** * @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 {Parser as ExpressionParser} from '../expression_parser/parser'; import {StringWrapper, isBlank, isPresent} f...
UIUXEngineering/angular
modules/@angular/compiler/src/i18n/shared.ts
TypeScript
mit
7,880
package com.wandercosta.witsgenerator.generator; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import org.junit.Test; /** * Class to test WitsGenerator. * * @author Wander Costa (www.wandercosta.com) */ public class WitsGeneratorTest { private final WitsLineGenerato...
rwanderc/wits-generator
src/test/java/com/wandercosta/witsgenerator/generator/WitsGeneratorTest.java
Java
mit
2,899
/* Styles for TableAPI Table */ /* Recommended pattern for styling your objects */ .qv-object-swr-tableapitable .hello-world { color:#333; font-weight:bold; }
stefanwalther/qsExtensionPlayground
tableapi-table/src/lib/css/style.css
CSS
mit
164
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
Microsoft/ChakraCore
lib/Common/DataStructures/SimpleHashTable.h
C
mit
10,327
using MediaBrowser.ApiInteraction; using MediaBrowser.Model.ApiClient; using MediaBrowser.Model.Logging; using MediaBrowser.Model.Serialization; using MediaBrowser.Theater.Interfaces.Configuration; using System; using System.IO; using System.Threading; using System.Threading.Tasks; namespace MediaBrowser.UI { pub...
TomGillen/MediaBrowser.Theater
MediaBrowser.UI/CredentialProvider.cs
C#
mit
2,594
<html> <META HTTP-EQUIV=Content-Type Content="text/html; charset=big5"> <!-- Mirrored from lis.ly.gov.tw/lghtml/lawstat/version2/01530/0153062081400.htm by HTTrack Website Copier/3.x [XR&CO'2010], Sun, 24 Mar 2013 09:12:38 GMT --> <head><title>ªk½s¸¹:01530 ª©¥»:062081400</title> <link rel="stylesheet" type="text/css" ...
g0v/laweasyread-data
rawdata/lawstat/version2/01530/0153062081400.html
HTML
mit
24,954
<?php namespace App\Units\Auth\Providers; use App\Units\Auth\Routes\Api; use App\Units\Auth\Routes\Console; use App\Units\Auth\Routes\Web; use Illuminate\Support\Facades\Route; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; class RouteServiceProvider extends ServiceProvider { ...
joseferrao/laravel
app/Units/Auth/Providers/RouteServiceProvider.php
PHP
mit
1,847
'use strict'; const path = require('path'); const taskName = path.basename(__dirname); const dist = path.resolve(__dirname, '../dist', taskName); const webpackConfig = { context: __dirname, entry: { 'mod2': './js/index.js' }, output: { path: dist, filename: '[name].[chunkhash].j...
huanleguang/ci-task-runner
test/file/tasks/mod2/webpack.config.js
JavaScript
mit
381
# Conclusion # Reproduction Package We provide a reproduction package that is publicly available at [link]. All the instructions needed to reproduce our results are self-contained in the provided archive.
PapersOfMathieuNls/bug-taxonomy
06_conclusion.md
Markdown
mit
215
import React from 'react'; import PropTypes from 'prop-types'; import {observer} from 'mobx-react'; import {action} from 'mobx'; import {pluralize} from '../utils'; import { ALL_TODOS, ACTIVE_TODOS, COMPLETED_TODOS } from '../constants'; @observer export default class TodoFooter extends React.Component { render() { ...
mobxjs/mobx-react-todomvc
src/components/todoFooter.js
JavaScript
mit
1,506
{ "ADP_currencyISO" : "peseta andorrana", "ADP_currencyPlural" : "pesetas andorranas", "ADP_currencySingular" : "peseta andorrana", "ADP_currencySymbol" : "ADP", "AED_currencyISO" : "dírham de los Emiratos Árabes Unidos", "AED_currencyPlural" : "dirhams de los Emiratos Árabes Unidos", "AED_currencySingular" : "d...
inikoo/fact
libs/yui/yui3-gallery/src/gallery-advanced-number-format/lang/gallery-advanced-number-format_es-PY.js
JavaScript
mit
50,696
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
Zalastax/vscode
src/vs/editor/contrib/hover/getHover.ts
TypeScript
mit
1,676
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>DocBlox Documentation</title><link rel="stylesheet" href="css/jquery-ui.css" type="text/css"></link><link rel="stylesheet" href="css/docblox/jquery-ui-1.8.16.custom.css" type="text/css"></link><li...
gpupo/CamelSpider
doc/report_parse_markers.html
HTML
mit
28,943
#!/usr/bin/env python # # __COPYRIGHT__ # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, merge, publish, ...
datalogics/scons
test/ParseDepends.py
Python
mit
5,431
export * from './navbar.component'
wootencl/carterwooten_site_v3
app/client-app/+navbar/index.js
JavaScript
mit
34
The toh-4 is a refactoring of toh-3. The app component is simplified, factoring out the `HeroService`. Given that toh-4 is a refactoring, the toh-2 `app_test`s run, without change. Changes/new features: - Test a component requiring a service, that is _not_ replaced by a mock service. In this particular case, we don...
googlearchive/toh-4
test/README.md
Markdown
mit
514
#include "kadimus_socket.h" int valid_ip_hostname(const char *hostname){ struct addrinfo *servinfo, hints; int rv; memset(&hints, 0, sizeof hints); hints.ai_family = AF_UNSPEC; hints.ai_socktype = SOCK_STREAM; hints.ai_flags |= AI_CANONNAME; if( (rv = getaddrinfo(hostname, NULL, &hints, &servinfo)) != 0){ fp...
Yas3r/Kadimus
src/kadimus_socket.c
C
mit
6,681
.header-type-7 #top .pattern > .container { padding-top: 1px;padding-bottom: 26px; } @media (min-width: 1098px) { .header-type-7 #top .search_form { width: 352px !important;max-width: 352px; } } @media (max-width: 767px) { .responsive #top .search_form { margin-top: 15px; } } .body-white-type-2 #mfilter-content-c...
monkdaf/skuter77-opencart
catalog/view/theme/fastor/skins/store_default/Computer7/css/custom_code.css
CSS
mit
555
<?php namespace Bistro\Session; /** * Interface for all session storage engines. * * @package Bistro */ interface Session { /** * @return boolean Has the session been started yet? */ public function isStarted(); /** * @return string The session id */ public function getId(); /** * @param strin...
FernandoBatels/blitz-framework
src/vendor/libs/bistro/Session.php
PHP
mit
2,402
<!DOCTYPE html> <html lang="en"> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- jQuery --> <script src="https://code.jquery.com/jquery-2.1.3.min.js"></script> <!-- bootstrap --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"> <lin...
mimming/firesnake
step-5/index.html
HTML
mit
11,673
/* Driver for routine qtrap */ #include <stdio.h> #include <math.h> #define NRANSI #include "nr.h" #define PIO2 1.5707963 /* Test function */ float func(float x) { return x*x*(x*x-2.0)*sin(x); } /* Integral of test function */ float fint(float x) { return 4.0*x*(x*x-7.0)*sin(x)-(pow(x,4.0)-14.0*x*x+28.0)*cos(x); ...
bamford/astrobamf
nr/cpy/demos/xqtrap.c
C
mit
581
!function(){var t='<br/>Filter: <select id="section-filter"><option value="all">All</option>',i=$("ol li");i.each(function(){var i=$(this).text(),e=i.split("—")[0].trim();t+='<option value="'+e+'">'+e+"</option>"}),t+="</select>";var e=$("table.listing tbody.link");$("h2#sessions").after(t),$("#section-filter").change(...
shrayasr/pycon-funnel-filter
pycon_funnel_filter.min.js
JavaScript
mit
613
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>{{{ $pageTitle }}}</title> @foreach (\SleepingOwl\Admin\AssetManager\AssetManager::styles() as $style) <link media="al...
matheusgomes17/laravel-adminlte
src/views/_layout/base.blade.php
PHP
mit
919
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #ifndef DYNAMIC_LIBRARY_H #define DYNAMIC_LIBRARY_H #include "azure_c_shared_utility/macro_utils.h" #include "azure_c_shared_utility/umock_c_prod.h" #ifdef __cplusplu...
tkopacz/2017IotHubGatewaySDK
INC/IotSdkGateway/dynamic_library.h
C
mit
765
<?php /** * BootPager class file. * @author Christoffer Niska <ChristofferNiska@gmail.com> * @copyright Copyright &copy; Christoffer Niska 2011- * @license http://www.opensource.org/licenses/bsd-license.php New BSD License * @package bootstrap.widgets */ /** * Bootstrap pager widget. */ class BootPager extends...
NikolaiJeliazkov/class-b
doc/backup/public_html.1/protected/extensions/bootstrap/widgets/BootPager.php
PHP
mit
3,274
/************************************************************************** * * Copyright 2009-2010 VMware, Inc. * All Rights Reserved. * * 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 Softwar...
devlato/kolibrios-llvm
contrib/sdk/sources/Mesa/src/gallium/targets/libgl-gdi/libgl_gdi.c
C
mit
4,206
<!DOCTYPE html> <html> <head> <title>ms-mouseenter, ms-mouseleave</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <script src="../avalon.js"></script> <script> avalon.define("test...
yexiaochai/avalon
examples/on4.html
HTML
mit
917
# Deploy a simple Windows VM with monitoring and diagnostics ![Azure Public Test Date](https://azurequickstartsservice.blob.core.windows.net/badges/201-vm-monitoring-diagnostics-extension/PublicLastTestDate.svg) ![Azure Public Test Result](https://azurequickstartsservice.blob.core.windows.net/badges/201-vm-monitoring-...
daltskin/azure-quickstart-templates
201-vm-monitoring-diagnostics-extension/README.md
Markdown
mit
2,325
module Netzke::Core # The client-server communication between the JavaScript and Ruby side of a component is provided by means of "endpoints". # # == Defining an endpoint # # An endpoint is defined through the +endpoint+ class method on the Ruby class: # # endpoint :do_something do |params, this| # ...
Mahaswami/netzke-core
lib/netzke/core/services.rb
Ruby
mit
5,837
"""Tests for base extension.""" import unittest from grow.extensions import base_extension class BaseExtensionTestCase(unittest.TestCase): """Test the base extension.""" def test_config_disabled(self): """Uses the disabled config.""" ext = base_extension.BaseExtension(None, { 'di...
grow/pygrow
grow/extensions/base_extension_test.py
Python
mit
844
class PlayerSkill < ActiveRecord::Base belongs_to :player belongs_to :skill end
vyorkin-archive/proto
app/models/player_skill.rb
Ruby
mit
84
function loadLevel(levelname){ GameObject.Regenerate = function (){ var geometry = new THREE.Geometry(); var selfGenGeom = new THREE.Geometry(); var pipes; var forageGeom = new THREE.Geometry(); var dynamicGeom = new THREE.Geometry(); var specialvert = []; // ma...
MaxKotlan/SuperMarioBrosTHREE.js
maps/genGeom.js
JavaScript
mit
33,835
#!/usr/bin/python # -*- coding: utf-8 -*- # isprime.py # # Author: Billy Wilson Arante # Created: 2016/06/16 PHT # Modified: 2016/10/01 EDT (America/New York) from sys import argv def isprime(x): """Checks if x is prime number Returns true if x is a prime number, otherwise false. """ if x <= 1: ...
arantebillywilson/python-snippets
py2/cool-things/isprime.py
Python
mit
565
/* ===================================================== Forms w3c.github.io/html/sec-forms.html ===================================================== */ /** * 1. Remove the margin in Firefox and Safari. * 2. Change text/font properties to `inherit` in all browsers (opinionated). */ button, input, optgroup...
culturebook/pablo
src/assets/styles/base/_forms.css
CSS
mit
3,124
module.exports={A:{A:{"1":"B","16":"hB","132":"K D G E A"},B:{"1":"2 C d J M H I"},C:{"1":"0 1 3 4 6 7 8 9 Y Z a b c e f g h i j k l m n o L q r s t u v w x y z HB GB BB CB FB","132":"2 eB DB F N K D G E A B C d J M H I O P Q R S T U V W X YB XB"},D:{"1":"0 1 3 4 6 7 8 9 T U V W X Y Z a b c e f g h i j k l m n o L q r ...
pcclarke/civ-techs
node_modules/caniuse-lite/data/features/localecompare.js
JavaScript
mit
977
// This file is part of the "x0" project, http://github.com/christianparpart/x0> // (c) 2009-2018 Christian Parpart <christian@parpart.family> // // Licensed under the MIT License (the "License"); you may not use this // file except in compliance with the License. You may obtain a copy of // the License at: http://op...
christianparpart/x0
src/xzero/BufferUtil.cc
C++
mit
3,644
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import React from 'react'; import clsx from 'clsx'; import PropTypes from 'prop-types'; import { chainPropTypes, getDisplayName } from '@material-ui/utils'; imp...
jerednel/jerednel.github.io
node_modules/@material-ui/styles/es/styled/styled.js
JavaScript
mit
4,518
/******************************************************************************* * Copyright (c) 2014 IBM Corp. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Eclipse Distribution License v1.0 which accompany this d...
cllebrun/IoTwatch
app/src/main/java/com/ibm/iot/android/iotstarter/utils/DeviceSensor.java
Java
mit
7,456
<?php //session_start(); ?> <!DOCTYPE html> <html> <head> <?php require ("head.php"); ?> </head> <?php //if(isset($_SESSION['id'])){ ?> <body> <div class="container"> <div class="selection"> <h1>ACHETER UN ABONNNEMENT</h1> <form class="formed" action="" method="post"> <input type="text" name="name" rea...
KamevoTeam/Kamevo
kamevo_src/shop/shop.php
PHP
mit
1,264
// // AppDelegate.h // AMTumblrHud // // Created by Mustafin Askar on 23/05/2014. // Copyright (c) 2014 Asich. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; - (BOOL)application:(UIApplication *)applica...
RamVadranam/AMTumblrHud
AMTumblrHudDemo/AppDelegate.h
C
mit
391
package edu.sdsu.its.fit_welcome_tests; import edu.sdsu.its.Vault; import org.apache.log4j.Logger; import org.junit.Test; import static org.junit.Assert.assertTrue; /** * Test the Vault Environment Variable configuration and Test Connection to Vault. * The Vault must be unsealed for these tests to pass. * * @aut...
sdsu-its/welcome
src/test/java/edu/sdsu/its/fit_welcome_tests/TestVault.java
Java
mit
1,653
if(typeof Language != "undefined" && Language == 'English'){ setText({ 'flat' : 'Flat', 'folder' : 'Folder', 'rate' : 'Rate', 'subscribers' : 'Subscribers', 'domain' : 'Domain' }); // sort setText({ 'modified_on' : 'By Recency', 'modified_on:reverse' : 'By Age', 'unread_count...
cuzic/fastmars
public/js/reader_pref.js
JavaScript
mit
6,701
// NSOperation-WebFetches-MadeEasy (TM) // Copyright (C) 2012 by David Hoerl // // 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 right...
lydonchandra/PhotoScrollerNetwork
PhotoScroller/Classes/OperationsRunnerProtocol.h
C
mit
1,324
<html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" /> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <title>Sender Property</title> <xml> </xml> <link rel="stylesheet" type="text/css" href="MSDN.css" /> <...
YOTOV-LIMITED/pokerleaguemanager
lib/Log4net 1.2.13/doc/release/sdk/log4net.Appender.NetSendAppender.Sender.html
HTML
mit
2,424
/** @jsx React.DOM */ 'use strict'; // Boats is for presentation, No change. var AllBoatClass = React.createClass({displayName: 'AllBoatClass', render:function(){ var boats = this.props.boat return( React.DOM.li(null, "All Boats", React.DOM.span({className:"boat"}, {data: data}) ) ...
Shauky/divendive
content/themes/traveller/assets/src/scripts/.module-cache/1431fe665c487a5eb3e05fb17156d702e3e4b464.js
JavaScript
mit
404
/* layout –––––––––––––––––––––––––––––––––––––––––––––––––– */ #sidebar { position: fixed; width: 20%; top: 0; bottom: 0; } #container, footer { margin-left: 20%; } /* background-colors –––––––––––––––––––––––––––––––––––––––––––––––––– */ #sidebar { background-color: #484848; } body { background-color: #F8F8F8;...
lynn8570/lynn8570-hugo
static/css/custom.css
CSS
mit
6,438
#!/usr/bin/python # -*- coding: utf-8 -*- from holmes.validators.base import Validator from holmes.utils import _ class ImageAltValidator(Validator): @classmethod def get_without_alt_parsed_value(cls, value): result = [] for src, name in value: data = '<a href="%s" target="_blank"...
holmes-app/holmes-api
holmes/validators/image_alt.py
Python
mit
3,935
module Kuromoji VERSION = '0.0.4' end
yalab/kuromoji-ruby
lib/kuromoji/version.rb
Ruby
mit
40
module Shoulda module Matchers module ActiveModel # The `validate_numericality_of` matcher tests usage of the # `validates_numericality_of` validation. # # class Person # include ActiveModel::Model # attr_accessor :gpa # # validates_numericalit...
thoughtbot/shoulda-matchers
lib/shoulda/matchers/active_model/validate_numericality_of_matcher.rb
Ruby
mit
20,746
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Serializer\Normalizer; use Symfony\Component\Property...
xabbuh/symfony
src/Symfony/Component/Serializer/Normalizer/AbstractObjectNormalizer.php
PHP
mit
24,245
module MS Proton = 1.00782503207 def precursor_mass(seq, charge) mass = NTerm + CTerm seq.chars.map(&:to_sym).each do |residue| mass += MS::MonoResidueMasses[residue] end charge_state(mass, charge) end def charge_state(mass, charge) if charge > 0 (mass + charge) / charge.to_f else (mass - c...
ryanmt/search_engine
lib/tools/fragmenter/masses.rb
Ruby
mit
2,200
// warning: This file is auto generated by `npm run build:tests` // Do not edit by hand! process.env.TZ = 'UTC' var expect = require('chai').expect var ini_set = require('../../../../src/php/info/ini_set') // eslint-disable-line no-unused-vars,camelcase var ini_get = require('../../../../src/php/info/ini_get') // eslin...
kvz/phpjs
test/languages/php/array/test-array_fill.js
JavaScript
mit
842
<html> <META HTTP-EQUIV=Content-Type Content="text/html; charset=utf8"> <!-- Mirrored from lis.ly.gov.tw/lghtml/lawstat/version2/01034/0103486032100.htm by HTTrack Website Copier/3.x [XR&CO'2010], Sun, 24 Mar 2013 09:06:42 GMT --> <head><title>法編號:01034 版本:086032100</title> <link rel="stylesheet" type="text/css" href=...
g0v/laweasyread-data
rawdata/utf8_lawstat/version2/01034/0103486032100.html
HTML
mit
11,631
/** * Copyright 2013-2014 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
andreypopp/rrouter
src/copyProperties.js
JavaScript
mit
1,651
module PantryTest class Named < ActiveRecord::Base has_many :assets, :as => :owner, :class_name => 'Composite', :dependent => :destroy end end
habanerohq/pantry
spec/support/models/named.rb
Ruby
mit
151
#!/usr/bin/env python #coding: utf-8 # Definition for a binary tree node class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: # @param root, a tree node # @return a list of integers def postorderTraversal(self, root): p...
wh-acmer/minixalpha-acm
LeetCode/Python/binary_tree_postorder_traversal_iter.py
Python
mit
324
#ifndef Magnum_Implementation_BufferState_h #define Magnum_Implementation_BufferState_h /* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015 Vladimír Vondruš <mosra@centrum.cz> Permission is hereby granted, free of charge, to any person obtaining a copy of this ...
ashimidashajia/magnum
src/Magnum/Implementation/BufferState.h
C
mit
3,633
// Copyright (c) 2001, 2004 Per M.A. Bothner and Brainfood Inc. // This is free software; for terms and warranty disclaimer see ./COPYING. package gnu.lists; import java.io.*; /** Simple adjustable-length vector whose elements are 32-bit floats. * Used for the Scheme string type. * @author Per Bothner */ public...
thequixotic/ai2-kawa
gnu/lists/FString.java
Java
mit
13,789
## TestKit Writing tests are essential to keep code using actors robust. But it is challenging to write test code with actors because they are inherently asynchronous and therefore not deterministic. Akka.NET provides [TestKit](https://www.nuget.org/packages/Akka.TestKit/) to handle those difficulties. It provides a ...
SaladbowlCreative/Akka.Interfaced
docs/TestKit.md
Markdown
mit
1,717
using UnityEngine; using System.Collections; using CotcSdk; using UnityEngine.UI; using CotcSdk.InappPurchase; using System; public class CotcInappPurchaseSampleScene : MonoBehaviour { // The cloud allows to make generic operations (non user related) private Cloud Cloud; // The gamer is the base to perform most op...
xtralifecloud/unity-sdk
UnityProject/Assets/Cotc.InAppPurchase/Scripts/CotcInappPurchaseSampleScene.cs
C#
mit
7,422
window.onload =function () { var subObj = document.getElementsByTagName('button')[0]; if( subObj && subObj.className=='btn_submit') subObj.onclick = submit_login; }; // end function window.onload function submit_login() { this.innerHTML = 'Wait...'; this.disabled = true; ...
da99/surferhearts
backup/public/javascripts/pages/login.js
JavaScript
mit
1,126
/* * Globals */ /* Links */ a, a:focus, a:hover { color: #fff; } /* Custom default button */ .btn-default, .btn-default:hover, .btn-default:focus { color: #333; text-shadow: none; /* Prevent inheritence from `body` */ background-color: #fff; border: 1px solid #fff; } .space-after { margin-bottom: 25px;...
KevinMellott91/react-nest-thermostat
example/css/cover.css
CSS
mit
2,610
using System; using System.IO; using Aspose.Email.AntiSpam; using Aspose.Email.Mail; /* This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Email for .NET API reference when the project is build. Please check https://Docs.nuget.org/consume/nuget-faq for more information. If you do not wis...
maria-shahid-aspose/Aspose.Email-for-.NET
Examples/CSharp/Email/DetermineAttachmentEmbeddedMessage.cs
C#
mit
1,178
[![Build Status](https://travis-ci.org/watu/table_builder.png?branch=master)](https://travis-ci.org/watu/table_builder) [![Coverage Status](https://coveralls.io/repos/watu/table_builder/badge.png)](https://coveralls.io/r/watu/table_builder) [![Code Climate](https://codeclimate.com/github/watu/table_builder.png)](https:...
AJesus1412/calendario
README.md
Markdown
mit
5,556
// AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from libunity.djinni #pragma once #include <cstdint> #include <string> #include <unordered_map> struct WitnessAccountStatisticsRecord; struct WitnessEstimateInfoRecord; struct WitnessFundingResultRecord; /** C++ interface to control witness acc...
nlgcoin/guldencoin-official
src/unity/djinni/cpp/i_witness_controller.hpp
C++
mit
1,618
var fs = require("fs"), url = require("url"), http = require("http"), https = require("https"), godauth = require("prezi-godauth"); // // =============================================== // // HttpServer // // =============================================== // var HttpServer = function...
prezi/plotserver
httpserver.js
JavaScript
mit
7,353