code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
3
942
language
stringclasses
30 values
license
stringclasses
15 values
size
int32
3
1.05M
import * as React from 'react' import { AutocompletingTextArea, AutocompletingInput, IAutocompletionProvider, } from '../autocompletion' import { CommitIdentity } from '../../models/commit-identity' import { ICommitMessage } from '../../lib/app-state' import { Dispatcher } from '../../lib/dispatcher' import { IGi...
hjobrien/desktop
app/src/ui/changes/commit-message.tsx
TypeScript
mit
8,310
/* Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang("a11yhelp","cs",{title:"Instrukce pro přístupnost",contents:"Obsah nápovědy. Pro uzavření tohoto dialogu stiskněte klávesu ESC.",l...
rikzuiderlicht/concrete5
concrete/js/ckeditor4/vendor/plugins/a11yhelp/dialogs/lang/cs.js
JavaScript
mit
4,851
--- layout: post title: 2016 - Jordan Year date: 2016-07-10 04:00:00 PDT excerpt: > This is more of a rant that an actual post. At the same time, maybe this blog is one giant rant. byline: The year of the swish. category: reflection tags: - age - god-damnit --- **The Jordan Year**. The ever-fabled year when .....
jalcine/website
src/_posts/2016-07-10-jordan-year.markdown
Markdown
mit
1,752
/** * Context Object * * @author Zongmin Lei<leizongmin@gmail.com> */ var utils = require('./utils'); var parser = require('./parser'); var filters = require('./filters'); var vm = require('./vm'); var OPCODE = require('./opcode'); var debug = utils.debug('Context'); var merge = utils.merge; /** * Context * *...
jddeeds/jddeeds.github.io
node_modules/tinyliquid/lib/context.js
JavaScript
mit
16,661
#[macro_use] mod common; use common::util::*; static UTIL_NAME: &'static str = "cut"; static INPUT: &'static str = "lists.txt"; #[test] fn test_prefix() { let (at, mut ucmd) = testing(UTIL_NAME); let result = ucmd.args(&["-c", "-10", INPUT]).run(); assert_eq!(result.stdout, at.read("lists_prefix.expect...
dbrgn/coreutils
tests/cut.rs
Rust
mit
1,741
## TypeScript These settings apply only when `--typescript` is specified on the command line. Please also specify `--typescript-sdks-folder=<path to root folder of your azure-sdk-for-js clone>`. ``` yaml $(typescript) typescript: azure-arm: true package-name: "@azure/arm-maps" output-folder: "$(typescript-sdks-...
Azure/azure-rest-api-specs
specification/maps/resource-manager/readme.typescript.md
Markdown
mit
377
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2015-2019 The PIVX developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "primitives/block.h" #inc...
Mrs-X/PIVX
src/primitives/block.cpp
C++
mit
1,381
{% extends "base.html" %} {% block title %}Ban {{ account }}{% endblock %} {% block page_title %} Ban {{ account }} {% endblock page_title %} {% block page_content %} <form method="POST" class="form-horizontal"> {% include "common/horizontal_form_snippet.html" %} <div class...
lpatmo/actionify_the_news
open_connect/accounts/templates/accounts/ban_form.html
HTML
mit
479
require 'rails_helper' describe Artefact do it { should respond_to(:name) } it { should respond_to(:description) } it { should respond_to(:museum_identifier) } it { should have_many(:images).dependent(:destroy) } it { should have_many(:sketchfabs).dependent(:destroy) } describe '.new' do let(:artefact...
neshmi/projectmosul
spec/models/artefact_spec.rb
Ruby
mit
828
<!doctype html> <html> <title>npm-help-search</title> <meta http-equiv="content-type" value="text/html;utf-8"> <link rel="stylesheet" type="text/css" href="../../static/style.css"> <link rel="canonical" href="https://www.npmjs.org/doc/cli/npm-help-search.html"> <script async=true src="../../static/toc.js"></s...
fboxerappdev/Corporate-Web-App---Bootstrap-Wordpress
node_modules/npm-shrinkwrap/node_modules/npm/html/doc/cli/npm-help-search.html
HTML
mit
3,692
import sys from pycsp import *
IanField90/Coursework
Part 3/SE3AC11/eticket/eticket_uint.py
Python
mit
30
#include "optionsmodel.h" #include "bitcoinunits.h" #include "init.h" #include "walletdb.h" #include "guiutil.h" #include <QSettings> OptionsModel::OptionsModel(QObject *parent) : QAbstractListModel(parent) { Init(); } bool static ApplyProxySettings() { QSettings settings; CService addrProxy(setting...
landcoin-project/landcoin
src/qt/optionsmodel.cpp
C++
mit
9,070
const { assign } = require('lodash') const proxyquire = require('proxyquire') const contact = require('../../../../../test/unit/data/contacts/contact.json') describe('Contact controller', () => { beforeEach(() => { this.getContactStub = sinon.stub().resolves(contact) this.getDitCompanyStub = sinon.stub().re...
uktrade/data-hub-fe-beta2
src/apps/contacts/controllers/__test__/details.test.js
JavaScript
mit
3,180
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * jkl */ package com.microsoft.azure.management.apimanagement.v2019_01_01.implementation; ...
selvasingh/azure-sdk-for-java
sdk/apimanagement/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/apimanagement/v2019_01_01/implementation/SubscriptionsImpl.java
Java
mit
3,940
#!/usr/bin/python3 import os import re import requests def download_file(url): out_file = os.path.join("SOURCES", url.rsplit("/")[-1]) r = requests.get(url, stream=True) print("Downloading {} to {}".format(url, out_file)) with open(out_file, "wb") as out: for chunk in r.iter_content(chunk_size...
kyl191/nginx-pagespeed
download_sources.py
Python
mit
1,266
<?php /** * Include the SDK by using the autoloader from Composer. */ require __DIR__ . '/../../vendor/autoload.php'; /** * Include the configuration values. * * Ensure that you have edited the configuration.php file * to include your application keys. */ $config = require __DIR__ . '/../../configuration.php';...
farooqsheikhpk/Aspose.BarCode-for-Cloud
Examples/PHP/managing-recognition/cloud-storage/recognize-specified-count-of-barcodes.php
PHP
mit
2,244
const inherits = require('util').inherits const async = require('async') const ethUtil = require('ethereumjs-util') const Account = require('ethereumjs-account') const FakeMerklePatriciaTree = require('fake-merkle-patricia-tree') const VM = require('./index.js') const ZERO_BUFFER = new Buffer('0000000000000000000000000...
giulidb/ticket_dapp
node_modules/ethereumjs-vm/lib/hooked.js
JavaScript
mit
5,536
<?php /** * Mockery * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://github.com/padraic/mockery/blob/master/LICENSE * If you did not receive a copy of the licen...
Anjeyster/Dimento
vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php
PHP
mit
2,895
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>D3 Selectors</title> <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js" charset="utf-8"></script> </head> <body> <p>Here is a paragraph.</p> <p id="second">And one more.</p> <p class="other">Third one.</p> <p class="o...
CS171/CS171.github.io
2016_Spring/lectures/lecture-d3/d3_selectors.html
HTML
mit
639
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "NSObject.h" @protocol DVTSourceLanguageRelatedIdentifierScannerService <NSObject> - (void)tokenizableRangesWithRange:(struct _NSRange)arg1 completionBlock:(void (^)(NSArra...
wczekalski/Distraction-Free-Xcode-plugin
Archived/v1/WCDistractionFreeXcodePlugin/Headers/PlugIns/IDESourceEditor/DVTSourceLanguageRelatedIdentifierScannerService-Protocol.h
C
mit
337
<div class="esriCTPopupContainer" data-dojo-attach-point="coordinatesPopup"> <div class="esriCTFieldDropdownContainer"> <div class="esriCTSelectTitle" title="${nls.coordinatesSelectTitle}">${nls.coordinatesSelectTitle}</div> <div class="esriCTFieldInput" style="width: 100%;"> <select ari...
tmcgee/cmv-wab-widgets
wab/2.15/widgets/SmartEditor/XYCoordinates.html
HTML
mit
1,694
<!DOCTYPE HTML> <html lang="en"> <head> <meta charset="UTF-8"> <meta name=viewport content="width=device-width, initial-scale=1"> <meta name="description" content="Android lollipop animations in CSS" /> <title>lollipop.css - Android lollipop animations in CSS</title> <link href='http://fonts.googleapis.com/...
sarawuthza/lollipop.css
index.html
HTML
mit
9,531
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace BookClient.Data { public class BookManager { const string Url = "http://xam150.azurewebsites.net/api/books/"; private string authorizationKey...
eliancruz29/Xamarin_university
MobileCerti/[XAM150]/xam150-ex3-start/BookClient/BookClient/Data/BookManager.cs
C#
mit
2,399
using HtmlAgilityPack; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; #pragma warning disable IDE0051 namespace GM.Utilities.DevelopRetrieval { class ParseSplitSample { private string[] ParseHtmlSplitTables(string urlLink) { ...
govmeeting/govmeeting
Utilities/DevelopRetrieval/ParseSplitSample.cs
C#
mit
1,250
package crypto import ( "bytes" "testing" "github.com/NebulousLabs/Sia/encoding" "github.com/NebulousLabs/fastrand" ) // TestUnitSignatureEncoding creates and encodes a public key, and verifies // that it decodes correctly, does the same with a signature. func TestUnitSignatureEncoding(t *testing.T) { // Create...
mharkus/Sia
crypto/signatures_test.go
GO
mit
5,005
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Flexbox Grid</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> <!-- build:include:dist ../css/index.min.css --...
AnteWall/DodskrokGame
bower_components/flexboxgrid/src/index.html
HTML
mit
26,857
<div class="col-sm-6 col-sm-offset-3"> <form class="form-horizontal" role="form" name="signupForm" ng-controller="SignUpController" novalidate> <md-text-float class="full-width" label="Name" ng-model="credentials.name" type="text"></md-text-float> <md-text-float class="full-width" label="E-mail" ng-model="cred...
FloRest/jobhunter
mobile/views/signViews/signup.html
HTML
mit
648
title('Entity-relationship diagram.'); description('Make your database structure visible.'); dimension(800, 250); var erd = Joint.dia.erd; Joint.paper("world", 800, 250); var e1 = erd.Entity.create({ rect: { x: 220, y: 70, width: 100, height: 60 }, label: "Entity" }); var e2 = erd.Entity.create({ rect: { x: 520...
dee-bee/decisionz
decisionz/lib/JointJS/www/demos/erd.js
JavaScript
mit
1,130
<?php return unserialize('a:2:{i:0;O:26:"Doctrine\\ORM\\Mapping\\Table":5:{s:4:"name";s:17:"ESP_RubriqueStage";s:6:"schema";N;s:7:"indexes";N;s:17:"uniqueConstraints";N;s:7:"options";a:0:{}}i:1;O:27:"Doctrine\\ORM\\Mapping\\Entity":2:{s:15:"repositoryClass";s:52:"Esprit\\RubriqueBundle\\Entity\\RubriqueStageRepository"...
EspritEnLigne/test
app/cache/dev/annotations/Esprit-RubriqueBundle-Entity-RubriqueStage.cache.php
PHP
mit
345
// // generic/seq_packet_protocol.cpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // Di...
mojmir-svoboda/BlackBoxTT
3rd_party/asio/src/tests/unit/generic/seq_packet_protocol.cpp
C++
mit
6,415
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="description" content="Javadoc API documentation for Fresco." /> <link rel="shortcut icon" type="image/x-icon" href="../../../../favicon.ico" /> <title> Re...
facebook/fresco
docs/javadoc/reference/com/facebook/imagepipeline/request/RepeatedPostprocessorRunner.html
HTML
mit
23,013
/* * Copyright (c) 2015-2022, Antonio Gabriel Muñoz Conejo <antoniogmc at gmail dot com> * Distributed under the terms of the MIT License */ package com.github.tonivade.claudb.data; import static com.github.tonivade.claudb.data.DatabaseValue.score; import static com.github.tonivade.resp.protocol.SafeString.safeStri...
tonivade/claudb
lib/src/test/java/com/github/tonivade/claudb/data/SortedSetTest.java
Java
mit
2,686
<?php /** * Delivers the daily production in Wh/kWh * * URL format: * .../<GUID>.json?m= for Wh data * .../<GUID>.json?u=kWh&m= for kWh data * * kWh format is hightly suggested! * * http://wiki.sonnenertrag.eu/datenimport:json * * @author Knut Kohl <github@knutkohl.de> * @copyright ...
KKoPV/PVLng
core/Channel/Sonnenertrag/JSON.php
PHP
mit
4,502
package com.hearthsim.card.classic.spell.rare; import com.hearthsim.card.minion.Minion; import com.hearthsim.card.spellcard.SpellTargetableCard; import com.hearthsim.event.effect.EffectCharacter; import com.hearthsim.event.filter.FilterCharacter; import com.hearthsim.event.filter.FilterCharacterTargetedSpell; public ...
relimited/HearthSim
src/main/java/com/hearthsim/card/classic/spell/rare/BlessedChampion.java
Java
mit
1,657
package format import ( "github.com/nareix/joy4/av/avutil" "github.com/nareix/joy4/format/aac" "github.com/nareix/joy4/format/flv" "github.com/nareix/joy4/format/mp4" "github.com/nareix/joy4/format/rtmp" "github.com/nareix/joy4/format/rtsp" "github.com/nareix/joy4/format/ts" ) func RegisterAll() { avutil.Defa...
scbizu/letschat
vendor/github.com/nareix/joy4/format/format.go
GO
mit
557
<?php // Controlador subir apunte hecho por FVieira //Includes iniciales require_once '../views/templateEngine.php'; require_once '../model/driver.php'; require_once '../model/Apunte.php'; require_once '../model/Usuario.php'; require_once '../model/Materia.php'; require_once '../model/Materia_...
nemoNoboru/ET3
controllers/subirApunte.php
PHP
mit
4,059
# coding=utf-8 r""" This code was generated by \ / _ _ _| _ _ | (_)\/(_)(_|\/| |(/_ v1.0.0 / / """ from twilio.base import deserialize from twilio.base import serialize from twilio.base import values from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import...
twilio/twilio-python
twilio/rest/video/v1/room/room_participant/__init__.py
Python
mit
20,355
--- title: 一個頓悟的學生 date: 05/11/2020 --- 耶穌和跟隨祂的人往耶路撒冷走去。從前希律王在意的是施洗約翰,但現在包括希律王在內的當權者在意的是耶穌。跟隨祂的人包括窮人和其他渴望改變的弱勢群體。 耶穌最想做的就是給這個世界帶來希望。但祂現在非常確定,那些位高權重的人會竭力抵制這一使命。他們不希望祂成功。 至於耶穌門徒的核心圈子,就是那十二個門徒,似乎急於站在耶穌這邊。但與此同時,他們似乎也很困惑,或者說很盲目。例如在可8:31-33,大教師要祂的學生們努力去看他們很難看清的事。也就是說,在許多方面,他們仍然對真正重要的事情存著屬靈的盲目(見可8:37)。 而這一切正是耶穌與一個真正看得清...
imasaru/sabbath-school-lessons
src/zh/2020-04-hant/06/06.md
Markdown
mit
1,752
#### Integrations ##### URLhaus - Fixed an issue where non-latin characters in *url* parameter in **url** command raised exception.
VirusTotal/content
Packs/URLHaus/ReleaseNotes/1_0_8.md
Markdown
mit
133
require "spec_helper" require "dependency_container" describe DependencyContainer do class ExampleClass; end it "builds object instances from a factory defined by a passed-in block" do container = DependencyContainer.new container.define_factory(:example) { ExampleClass.new } expect(container.get(:e...
ministryofjustice/specialist-publisher
spec/dependency_container_spec.rb
Ruby
mit
4,540
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
oliviertassinari/material-ui
packages/mui-icons-material/lib/AccountCircleOutlined.js
JavaScript
mit
934
package fuzzytime // DateTime represents a set of fields for date and time, any of which may // be unset. The default initialisation is a valid empty datetime with no // fields set. type DateTime struct { Date Time } // Equals returns true if dates and times match func (dt *DateTime) Equals(other *DateTime) bool { ...
cardigann/cardigann
vendor/github.com/bcampbell/fuzzytime/datetime.go
GO
mit
1,739
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using UnityEngine; public class LogUploader : MonoBehaviour { public string log { get; private set; } public IRCConnection ircConnection = null; [HideInInspector] public string analysisUrl =...
CaitSith2/ktanemod-twitchplays
Assets/Scripts/Helpers/LogUploader.cs
C#
mit
3,929
/******************** (C) COPYRIGHT 2008 STMicroelectronics ******************** * File Name : usb_pwr.h * Author : MCD Application Team * Version : V2.2.1 * Date : 09/22/2008 * Description : Connection/disconnection & power management header ************************...
Seeed-Studio/DSOQuad_SourceCode
SYS_V1.50/include/USB_pwr.h
C
mit
2,202
package org.umlg.sqlg.test.graph; import org.apache.tinkerpop.gremlin.structure.Edge; import org.apache.tinkerpop.gremlin.structure.T; import org.apache.tinkerpop.gremlin.structure.Vertex; import org.junit.Assert; import org.junit.Test; import org.umlg.sqlg.test.BaseTest; import java.util.List; /** * Date: 2015/11/...
pietermartin/sqlg
sqlg-test/src/main/java/org/umlg/sqlg/test/graph/TestGraphStepWithIds.java
Java
mit
2,943
/* Ratings and how they work: -2: Extremely detrimental The sort of ability that relegates Pokemon with Uber-level BSTs into NU. ex. Slow Start, Truant -1: Detrimental An ability that does more harm than good. ex. Defeatist, Normalize 0: Useless An ability with no net effect on a Pokemon during a bat...
Raina4uberz/Showdown-light
data/abilities.js
JavaScript
mit
120,010
// Source : https://oj.leetcode.com/problems/find-peak-element/ // Author : Hao Chen // Date : 2014-12-05 /********************************************************************************** * * A peak element is an element that is greater than its neighbors. * * Given an input array where num[i] ≠ num[i+1], find ...
jaredkoontz/leetcode
algorithms/cpp/findPeakElement/findPeakElement.cpp
C++
mit
3,304
// ****************************************************************** // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THE CODE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, // INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILI...
bkaankose/UWPCommunityToolkit
Microsoft.Toolkit.Uwp.Services/Services/Facebook/FacebookRequestSource.cs
C#
mit
4,759
import * as React from "react"; import { CarbonIconProps } from "../../"; declare const LetterWw20: React.ForwardRefExoticComponent< CarbonIconProps & React.RefAttributes<SVGSVGElement> >; export default LetterWw20;
mcliment/DefinitelyTyped
types/carbon__icons-react/lib/letter--Ww/20.d.ts
TypeScript
mit
218
<?php class Checkoutcom_Ckopayment_Block_Customer_Cards extends Mage_Core_Block_Template { /** * Return array with customer card list * * @return array */ public function getCustomerCardList() { $result = array(); $customerId = Mage::getModel('ckopayment/checkoutcomCards...
CKOTech/checkout-magento-plugin
app/code/community/Checkoutcom/Ckopayment/Block/Customer/Cards.php
PHP
mit
1,138
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
lunastorm/wissbi
3rd_party/libcxx/test/strings/basic.string/string.modifiers/string_replace/size_size_size_char.pass.cpp
C++
mit
20,736
<!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>Index &#8212; ReGraph 1.0 documentation</title> <li...
eugeniashurko/ReGraph
docs/genindex.html
HTML
mit
35,172
/* Backgrounds ----------------------------------------------------------*/ .btn-primary, .btn-primary:hover, .flat-mega-menu .drop-down.full-width ul li a.btn, .filter-header input[type="submit"], .ui-widget-header, .ui-state-default:hover, .ui-widget-content .ui-state-default:hover, .ui-widget-header .ui-stat...
oscarvegar/yoplannerlp
content/themes/znews/css/skins/custom/custom.css
CSS
mit
3,391
// ----------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. // All rights reserved. 2013 // </copyright> // ----------------------------------------------------------------------- using System; using Syst...
pharring/ApplicationInsights-dotnet
LOGGING/src/NLogTarget/AssemblyInfo.cs
C#
mit
2,225
#ifndef _LZUTILS_H_ #define _LZUTILS_H_ #include "lua.h" #include "lauxlib.h" #if LUA_VERSION_NUM >= 502 # define luazmq_rawgetp lua_rawgetp # define luazmq_rawsetp lua_rawsetp # define luazmq_setfuncs luaL_setfuncs # define luazmq_absindex lua_absindex #ifndef lua_objlen # define lua_objlen lua...
LuaDist/lzmq
src/lzutils.h
C
mit
2,730
babel packages/core/src/ -d packages/core/lib/ & babel packages/plugin-knex/src/ -d packages/plugin-knex/lib/ & babel packages/plugin-scaffold/src/ -d packages/plugin-scaffold/lib/ & wait echo "Done"
aewing/mason
scripts/build.sh
Shell
mit
201
<!-- Copyright (c) 2015 by Rafael Angel Aznar Aparici (rafaaznar at gmail dot com) sisane: The stunning micro-library that helps you to develop easily AJAX web applications by using Angular.js 1.x & sisane-server sisane is distributed under the MIT License (MIT) Sources at https://github.com/rafaelaznar/ ...
rafaelaznar/sisane-client
public_html/js/zonaimagen/removepop.html
HTML
mit
4,272
package hudson.plugins.git; import org.jenkinsci.plugins.gitclient.Git; import org.jenkinsci.plugins.gitclient.GitClient; import hudson.EnvVars; import hudson.FilePath; import hudson.model.TaskListener; import hudson.scm.EditType; import hudson.util.StreamTaskListener; import org.eclipse.jgit.lib.ObjectId; import j...
ndeloof/git-plugin
src/test/java/hudson/plugins/git/GitChangeSetUtil.java
Java
mit
6,820
AutoHtml.add_filter(:image) do |text| text.gsub(/https?:\/\/.+\.(jpg|jpeg|bmp|gif|png)(\?\S+)?/i) do |match| %|<img src="#{match}" alt=""/>| end end
amishyn/auto_html
lib/auto_html/filters/image.rb
Ruby
mit
156
<img src="http://www.takes.org/clapper.jpg" width="96px" height="96px"/> [![Made By Teamed.io](http://img.teamed.io/btn.svg)](http://www.teamed.io) [![DevOps By Rultor.com](http://www.rultor.com/b/yegor256/takes)](http://www.rultor.com/p/yegor256/takes) [![Build Status](https://img.shields.io/travis/yegor256/takes/ma...
RamIndani/takes
README.md
Markdown
mit
24,514
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>BlockSeparator - F# Compiler Services</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content="Microsoft Corporation, Dave Thomas, Anh-Dung ...
ncave/FSharp.Compiler.Service
docs/reference/fsharp-compiler-ast-blockseparator.html
HTML
mit
4,675
from nltk.corpus import wordnet import json import codecs import sys import time major_weight = 1.0 minor_weight = 0.8 similarity_threshold = 0.65 def fn(ss1, ss2, weight): similarity = ss1.wup_similarity(ss2) return (ss1, ss2, weight * similarity if similarity else 0 ) def isSynsetForm(s): return '.n.' in s o...
darenr/MOMA-Art
kadist/wup.py
Python
mit
1,480
using Base.Test using FactCheck # test linear system solvers function test_linear_solver(solver::abstract_linear_system_solver, sym::Symbol) start_advanced_timer() n = 40; mat = speye(n) mat = mat + mat' mat[1,1] = -100; mat[2,2] = -100; initialize!(solver, mat, sym); test_linear_solv...
ohinder/Everest
test/test_linear_system_solvers.jl
Julia
mit
1,834
<?php /** @throws RuntimeException */ function maybeThrow920() { if ( rand() ) { throw new \RuntimeException; } return true; } function check920(int $flag) { try { maybeThrow920(); } catch ( \RuntimeException $e ) { $flag = false; $excep = $e; } catch (Error $e) { $...
etsy/phan
tests/files/src/0920_flatten.php
PHP
mit
648
<!doctype html> <html lang="lv"> <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# profile: http://ogp.me/ns/profile#" itemscope itemtype="http://schema.org/WebSite" > <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <!-- Google ...
klavs/db-lv
docs/vaditaji/d1cc27bd-905d-1c39-c2f3-f53ef603808a.html
HTML
mit
4,364
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel // // 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, modi...
VirusFree/SharpDX
Source/Toolkit/SharpDX.Toolkit/Graphics/ModelData.Material.cs
C#
mit
3,138
package com.arkcraft.module.items.common.entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.projectile.EntityThrowable; import net.minecraft.item.Item; import net.minecraft.util.DamageSource; import net.minecraft.util.EnumParticleTypes; import net.minecraft.util.MovingObjectPosition; imp...
SolarCactus/ARKCraft-Code
src/main/java/com/arkcraft/module/items/common/entity/EntityDodoEgg.java
Java
mit
2,029
//****************************************************************************************************** // RestrictAccessAttribute.cs - Gbtc // // Copyright © 2012, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements....
GridProtectionAlliance/gsf
Source/Libraries/GSF.Security/RestrictAccessAttribute.cs
C#
mit
3,748
/* @flow */ import SelectListView from "atom-select-list"; import store from "./store"; import _ from "lodash"; import tildify from "tildify"; import WSKernel from "./ws-kernel"; import { kernelSpecProvidesGrammar } from "./utils"; import type Kernel from "./kernel"; function getName(kernel: Kernel) { const prefi...
rgbkrk/hydrogen
lib/existing-kernel-picker.js
JavaScript
mit
2,362
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace JSNLog { /// <summary> /// Classes (loggers, etc.) that implement this interface can generate /// JSON name-value fields based on their properties. These fields are used in the /// JSON object passed to se...
mperdeck/jsnlog
jsnlog/PublicFacing/Configuration/JsnlogConfiguration/ICanCreateJsonFields.cs
C#
mit
977
'''@file alignment_decoder.py contains the AlignmentDecoder''' import os import struct import numpy as np import tensorflow as tf import decoder class AlignmentDecoder(decoder.Decoder): '''gets the HMM state posteriors''' def __call__(self, inputs, input_seq_length): '''decode a batch of data ...
vrenkens/Nabu-asr
nabu/neuralnetworks/decoders/alignment_decoder.py
Python
mit
3,558
h1 { background-image: url(hello.png); } h2 { background-image: url('//cdn.1.test.com/hello.png'); } h3 { background-image: url("//cdn.2.test.com/hello.png"); } h4 { background-image: url(data:image/png;base64,TEST==); } h5 { background-image: url('data:image/png;base64,TEST=='); }
AlexanderL/grunt-torn-asset-cachebuster
test/fixtures/images.css
CSS
mit
297
require 'logger' require 'pathname' module PactBroker module Logging # Need to make this configurable based on the calling app! LOG_DIR = Pathname.new(File.join(File.dirname(__FILE__), '..', '..', 'log')).cleanpath LOG_FILE_NAME = "#{ENV['RACK_ENV'] || 'development'}.log" def self.included(base) ...
ThePletch/pact_broker
lib/pact_broker/logging.rb
Ruby
mit
645
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The Las Vegas Coin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licen...
keesdewit82/LasVegasCoin
src/lasvegascoind.cpp
C++
mit
6,106
from unittest import TestCase from unittest.mock import patch from genes.apt.get import APTGet class APTGetInstallTestCase(TestCase): def test_apt_get_install_no_items_fails(self): with patch('genes.process.process.Popen') as mock_popen: apt_get = APTGet() with self.assertRaises(V...
hatchery/Genepool2
genes/apt/test_get.py
Python
mit
1,570
<!-- Generated by pkgdown: do not edit by hand --> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Get all helper files associated with an idempotent resource directory. — get_he...
syberia/director
docs/reference/get_helpers.html
HTML
mit
5,005
--- title: Tclssg repo: tclssg/tclssg homepage: https://github.com/tclssg/tclssg language: - Tcl license: - MIT templates: - Custom description: A static site generator that uses Tcl for both code and templates. --- Tclssg is a static site generator written in Tcl that uses Markdown for content markup, Bootstrap...
netlify/staticgen
content/projects/tclssg.md
Markdown
mit
1,503
// // Ounce.h // Pods // // Created by materik on 17/02/16. // // #import "Unit.h" #import "WeightProtocol.h" @interface Ounce : Unit <Weight> @end
materik/unitility
ObjC/Weight/Ounce.h
C
mit
155
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
johanlantz/headsetpresenter
HeadsetPresenter_Bluetools/HeadsetPresenter/Bluetools/BlueTools SDK v1.21/dotNetCF200/C#/ObexPushClient/Properties/AssemblyInfo.cs
C#
mit
1,262
#include <epicmeter/benchmark.hpp> #include <blackhole/formatter/string.hpp> #include <blackhole/logger.hpp> #include <blackhole/macro.hpp> #include <blackhole/sink/null.hpp> #include <blackhole/sink/stream.hpp> #include "../util.hpp" #define BH_BASE_LOG(__log__, ...) \ if (auto record = (__log__).open_record())...
antmat/blackhole
src/benchmark/logger/logger.cpp
C++
mit
3,474
package net.ontrack.extension.api; import net.ontrack.extension.api.action.ActionExtension; import net.ontrack.extension.api.action.EntityActionExtension; import net.ontrack.extension.api.action.TopActionExtension; import net.ontrack.extension.api.configuration.ConfigurationExtension; import net.ontrack.extension.api....
joansmith/ontrack
ontrack-extension-api/src/main/java/net/ontrack/extension/api/Extension.java
Java
mit
1,030
<?php /* * This file is part of the Ivory Google Map package. * * (c) Eric GELOEN <geloen.eric@gmail.com> * * For the full copyright and license information, please read the LICENSE * file that was distributed with this source code. */ namespace Ivory\Tests\GoogleMap\Helper\Functional\Overlay; use Ivory\Googl...
lashus/ivory-google-map
tests/Helper/Functional/Overlay/MarkerClustererFunctionalTest.php
PHP
mit
1,901
/// \file ParamGeneration.h /// /// \brief Parameter generation routines for Zerocoin. /// /// \author Ian Miers, Christina Garman and Matthew Green /// \date June 2013 /// /// \copyright Copyright 2013 Ian Miers, Christina Garman and Matthew Green /// \license This project is released under th...
Anoncoin/anoncoin
src/zerocoin/ParamGeneration.h
C
mit
2,865
/* Simple DirectMedia Layer Copyright (C) 1997-2017 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
Gigoteur/PX8
unicorn-android/sdl/src/SDL/src/render/opengl/SDL_render_gl.c
C
mit
54,667
package main import ( "database/sql" "fmt" "github.com/PuerkitoBio/goquery" _ "github.com/go-sql-driver/mysql" "sync" "time" ) type NewsSpider struct { TargetUrl string TargetSource string MysqlDSN string InsertStmt string QueryStmt string Duration int } type Paper str...
researchlab/golearning
news_spider/news_spider_list.go
GO
mit
4,627
// Copyright IBM Corp. 2013,2016. All Rights Reserved. // Node module: loopback-connector-mongodb // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT var g = require('strong-globalize')(); var DataSource = require('loopback-datasource-juggler').DataSource; ...
Tuxity/loopback-connector-mongodb
example/model.js
JavaScript
mit
2,094
<html> <META HTTP-EQUIV=Content-Type Content="text/html; charset=big5"> <!-- Mirrored from lis.ly.gov.tw/lghtml/lawstat/version2/90089/9008932113000.htm by HTTrack Website Copier/3.x [XR&CO'2010], Sun, 24 Mar 2013 09:27:42 GMT --> <head><title>ªk½s¸¹:90089 ª©¥»:032113000</title> <link rel="stylesheet" type="text/css" ...
g0v/laweasyread-data
rawdata/lawstat/version2/90089/9008932113000.html
HTML
mit
12,588
package com.github.highcharts4gwt.model.array.api; public interface ArrayNumber { double get(int index); int length(); void push(double value); /** * Replacement for native set method * * @param index * @param value */ void setValue(int index, double value); ...
hcharts/highcharts4gwt
src/main/java/com/github/highcharts4gwt/model/array/api/ArrayNumber.java
Java
mit
357
import src.dot.dotentity class DotHeart(src.dot.dotentity.DotEntity): def __init__(self): res = [ "assets/img/red-brick.png", "assets/img/black-brick.png" ] grid = [ [0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0], [0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], ...
m4nolo/steering-all
src/dot/entities/dotheart.py
Python
mit
817
<!DOCTYPE html> <html lang="en"> <head> <title>JSON Enumeration Reference</title> <link rel="stylesheet" type="text/css" href="../css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="../css/highlight.css" /> <meta charset='utf-8'> <script src="../js/jquery.min.js" defer></script> <sc...
ArnavChawla/InteliChat
Carthage/Checkouts/swift-sdk/docs/swift-api/services/TextToSpeechV1/docsets/.docset/Contents/Resources/Documents/Enums/JSON.html
HTML
mit
22,216
class Photo < ActiveRecord::Base belongs_to :imageable, polymorphic: true has_many :comments, as: :commentable has_attached_file :image, :styles => { :medium => "300x300>", :thumb => "100x100>" }, :default_url => "default.jpg" validates_attachment_content_type :image, :content_type => /\Aimage\/.*\Z/ end
illiteratelinds/OurTinerary1
app/models/photo.rb
Ruby
mit
314
<!DOCTYPE html> <html> <head> <title>Sudo Soldiers - University of Washington</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700,800"> <link rel="style...
shivtools/Sudo-Soldiers-Website
index.html
HTML
mit
1,581
/* The MIT License (MIT) Copyright (c) 2014-2015 CSAIL, MIT 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, merg...
mnm1021/bdbm_drv_fine_grained
ftl/algo/abm.h
C
mit
4,420
BEGIN; CREATE TEMP TABLE blkgrp_education AS SELECT gisjoin, '1990'::varchar AS year, E33001 + E33002 + E33003 + E33004 + E33005 + E33006 + E33007 AS total, E33001 + E33002 AS no_diploma, E33003 AS diploma, E33004 + E33005 AS some_college, E33006 AS bachelor, E33007 AS advanced FROM ce...
jimtyhurst/urbandev-etl
postgresql/scripts/sql/CREATE-TABLE-zillow_education.sql
SQL
mit
2,828
package com.aspose.cells.cloud.examples.workbook; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.StandardCopyOption; import com.aspose.cells.api.CellsApi; import com.aspose.cells.cloud.examples.Configuration; import com.aspose.cells.cloud.examples.Utils; import...
asposecells/Aspose_Cells_Cloud
Examples/Java/SDK/src/main/java/com/aspose/cells/cloud/examples/workbook/ConvertWorkbookWithAdditionalSettings.java
Java
mit
1,947
/* Tests for the Pilotfish recorder plugin */ QUnit.module('Pilotfish Plugin recorder'); QUnit.test('basic events', function () { // Fire two test events Pilotfish('recorder', 'test_event_1'); Pilotfish('recorder', 'test_event_2'); // Check the event log var eventLog = JSON.stringify(Pilotfish('ev...
pilotfish/pilotfish
plugins/recorder/test/qunit-recorder.js
JavaScript
mit
1,124
module.exports = { entry: './main.js', output: { path: './', filename: 'index.js', }, devServer: { inline: true, port: 3333, }, module: { loaders: [ { test: /\.js$/, exclude: /node_modules/, loader: 'babel', query: { presets: ['es2015', 're...
claycarpenter/node-sandbox
rx-sandbox/creating-apps-with-observables/webpack.config.js
JavaScript
mit
355
<?php namespace ManaPHP\Cli; interface RunnerInterface { public function run(); }
manaphp/manaphp
ManaPHP/Cli/RunnerInterface.php
PHP
mit
87
//----------------------------------------------------------------------------- // <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. // // Tool: AllJoynCodeGenerator.exe // // This tool is located...
vjrantal/HeavenFresh-AllJoyn-Example
org.alljoyn.Humidifier.Actions/ActionsServiceEventArgs.h
C
mit
25,527
# The Rukuli::Searchable module is the heart of Sikuli. It defines the # wrapper around Sikuli's on screen image searching and matching capability # It is implemented by the Region class. # module Rukuli module Searchable # Public: search for an image within a Region # # filename - A String representat...
ndrluis/Rukuli
lib/rukuli/searchable.rb
Ruby
mit
4,815