repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
hjobrien/desktop
app/src/ui/changes/commit-message.tsx
8310
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...
mit
rikzuiderlicht/concrete5
concrete/js/ckeditor4/vendor/plugins/a11yhelp/dialogs/lang/cs.js
4851
/* 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...
mit
jalcine/website
src/_posts/2016-07-10-jordan-year.markdown
1752
--- 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 .....
mit
jddeeds/jddeeds.github.io
node_modules/tinyliquid/lib/context.js
16661
/** * 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 * *...
mit
dbrgn/coreutils
tests/cut.rs
1741
#[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...
mit
Azure/azure-rest-api-specs
specification/maps/resource-manager/readme.typescript.md
377
## 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-...
mit
Mrs-X/PIVX
src/primitives/block.cpp
1381
// 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...
mit
lpatmo/actionify_the_news
open_connect/accounts/templates/accounts/ban_form.html
479
{% 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...
mit
neshmi/projectmosul
spec/models/artefact_spec.rb
828
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...
mit
fboxerappdev/Corporate-Web-App---Bootstrap-Wordpress
node_modules/npm-shrinkwrap/node_modules/npm/html/doc/cli/npm-help-search.html
3692
<!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...
mit
IanField90/Coursework
Part 3/SE3AC11/eticket/eticket_uint.py
30
import sys from pycsp import *
mit
landcoin-project/landcoin
src/qt/optionsmodel.cpp
9070
#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...
mit
uktrade/data-hub-fe-beta2
src/apps/contacts/controllers/__test__/details.test.js
3180
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...
mit
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
3940
/** * 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; ...
mit
kyl191/nginx-pagespeed
download_sources.py
1266
#!/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...
mit
farooqsheikhpk/Aspose.BarCode-for-Cloud
Examples/PHP/managing-recognition/cloud-storage/recognize-specified-count-of-barcodes.php
2244
<?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';...
mit
giulidb/ticket_dapp
node_modules/ethereumjs-vm/lib/hooked.js
5536
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...
mit
Anjeyster/Dimento
vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php
2895
<?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...
mit
CS171/CS171.github.io
2016_Spring/lectures/lecture-d3/d3_selectors.html
639
<!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...
mit
wczekalski/Distraction-Free-Xcode-plugin
Archived/v1/WCDistractionFreeXcodePlugin/Headers/PlugIns/IDESourceEditor/DVTSourceLanguageRelatedIdentifierScannerService-Protocol.h
337
// // 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...
mit
tmcgee/cmv-wab-widgets
wab/2.15/widgets/SmartEditor/XYCoordinates.html
1694
<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...
mit
sarawuthza/lollipop.css
index.html
9531
<!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/...
mit
eliancruz29/Xamarin_university
MobileCerti/[XAM150]/xam150-ex3-start/BookClient/BookClient/Data/BookManager.cs
2399
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...
mit
govmeeting/govmeeting
Utilities/DevelopRetrieval/ParseSplitSample.cs
1250
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) { ...
mit
mharkus/Sia
crypto/signatures_test.go
5005
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...
mit
AnteWall/DodskrokGame
bower_components/flexboxgrid/src/index.html
26857
<!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 --...
mit
FloRest/jobhunter
mobile/views/signViews/signup.html
648
<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...
mit
dee-bee/decisionz
decisionz/lib/JointJS/www/demos/erd.js
1130
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...
mit
EspritEnLigne/test
app/cache/dev/annotations/Esprit-RubriqueBundle-Entity-RubriqueStage.cache.php
345
<?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"...
mit
mojmir-svoboda/BlackBoxTT
3rd_party/asio/src/tests/unit/generic/seq_packet_protocol.cpp
6415
// // 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...
mit
facebook/fresco
docs/javadoc/reference/com/facebook/imagepipeline/request/RepeatedPostprocessorRunner.html
23013
<!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...
mit
tonivade/claudb
lib/src/test/java/com/github/tonivade/claudb/data/SortedSetTest.java
2686
/* * 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...
mit
KKoPV/PVLng
core/Channel/Sonnenertrag/JSON.php
4502
<?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 ...
mit
relimited/HearthSim
src/main/java/com/hearthsim/card/classic/spell/rare/BlessedChampion.java
1657
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 ...
mit
scbizu/letschat
vendor/github.com/nareix/joy4/format/format.go
557
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...
mit
nemoNoboru/ET3
controllers/subirApunte.php
4059
<?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_...
mit
twilio/twilio-python
twilio/rest/video/v1/room/room_participant/__init__.py
20355
# 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...
mit
imasaru/sabbath-school-lessons
src/zh/2020-04-hant/06/06.md
1752
--- title: 一個頓悟的學生 date: 05/11/2020 --- 耶穌和跟隨祂的人往耶路撒冷走去。從前希律王在意的是施洗約翰,但現在包括希律王在內的當權者在意的是耶穌。跟隨祂的人包括窮人和其他渴望改變的弱勢群體。 耶穌最想做的就是給這個世界帶來希望。但祂現在非常確定,那些位高權重的人會竭力抵制這一使命。他們不希望祂成功。 至於耶穌門徒的核心圈子,就是那十二個門徒,似乎急於站在耶穌這邊。但與此同時,他們似乎也很困惑,或者說很盲目。例如在可8:31-33,大教師要祂的學生們努力去看他們很難看清的事。也就是說,在許多方面,他們仍然對真正重要的事情存著屬靈的盲目(見可8:37)。 而這一切正是耶穌與一個真正看得清...
mit
VirusTotal/content
Packs/URLHaus/ReleaseNotes/1_0_8.md
133
#### Integrations ##### URLhaus - Fixed an issue where non-latin characters in *url* parameter in **url** command raised exception.
mit
ministryofjustice/specialist-publisher
spec/dependency_container_spec.rb
4540
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...
mit
oliviertassinari/material-ui
packages/mui-icons-material/lib/AccountCircleOutlined.js
934
"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")...
mit
cardigann/cardigann
vendor/github.com/bcampbell/fuzzytime/datetime.go
1739
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 { ...
mit
CaitSith2/ktanemod-twitchplays
Assets/Scripts/Helpers/LogUploader.cs
3929
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 =...
mit
Seeed-Studio/DSOQuad_SourceCode
SYS_V1.50/include/USB_pwr.h
2202
/******************** (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 ************************...
mit
pietermartin/sqlg
sqlg-test/src/main/java/org/umlg/sqlg/test/graph/TestGraphStepWithIds.java
2943
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/...
mit
Raina4uberz/Showdown-light
data/abilities.js
120010
/* 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...
mit
jaredkoontz/leetcode
algorithms/cpp/findPeakElement/findPeakElement.cpp
3304
// 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 ...
mit
bkaankose/UWPCommunityToolkit
Microsoft.Toolkit.Uwp.Services/Services/Facebook/FacebookRequestSource.cs
4759
// ****************************************************************** // 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...
mit
mcliment/DefinitelyTyped
types/carbon__icons-react/lib/letter--Ww/20.d.ts
218
import * as React from "react"; import { CarbonIconProps } from "../../"; declare const LetterWw20: React.ForwardRefExoticComponent< CarbonIconProps & React.RefAttributes<SVGSVGElement> >; export default LetterWw20;
mit
CKOTech/checkout-magento-plugin
app/code/community/Checkoutcom/Ckopayment/Block/Customer/Cards.php
1138
<?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...
mit
lunastorm/wissbi
3rd_party/libcxx/test/strings/basic.string/string.modifiers/string_replace/size_size_size_char.pass.cpp
20736
//===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------...
mit
eugeniashurko/ReGraph
docs/genindex.html
35172
<!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...
mit
oscarvegar/yoplannerlp
content/themes/znews/css/skins/custom/custom.css
3391
/* 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...
mit
pharring/ApplicationInsights-dotnet
LOGGING/src/NLogTarget/AssemblyInfo.cs
2225
// ----------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. // All rights reserved. 2013 // </copyright> // ----------------------------------------------------------------------- using System; using Syst...
mit
LuaDist/lzmq
src/lzutils.h
2730
#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...
mit
aewing/mason
scripts/build.sh
201
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"
mit
rafaelaznar/sisane-client
public_html/js/zonaimagen/removepop.html
4272
<!-- 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/ ...
mit
ndeloof/git-plugin
src/test/java/hudson/plugins/git/GitChangeSetUtil.java
6820
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...
mit
amishyn/auto_html
lib/auto_html/filters/image.rb
156
AutoHtml.add_filter(:image) do |text| text.gsub(/https?:\/\/.+\.(jpg|jpeg|bmp|gif|png)(\?\S+)?/i) do |match| %|<img src="#{match}" alt=""/>| end end
mit
RamIndani/takes
README.md
24514
<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...
mit
ncave/FSharp.Compiler.Service
docs/reference/fsharp-compiler-ast-blockseparator.html
4675
<!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 ...
mit
darenr/MOMA-Art
kadist/wup.py
1480
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...
mit
ohinder/Everest
test/test_linear_system_solvers.jl
1834
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...
mit
etsy/phan
tests/files/src/0920_flatten.php
648
<?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) { $...
mit
klavs/db-lv
docs/vaditaji/d1cc27bd-905d-1c39-c2f3-f53ef603808a.html
4364
<!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 ...
mit
VirusFree/SharpDX
Source/Toolkit/SharpDX.Toolkit/Graphics/ModelData.Material.cs
3138
// 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...
mit
SolarCactus/ARKCraft-Code
src/main/java/com/arkcraft/module/items/common/entity/EntityDodoEgg.java
2029
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...
mit
GridProtectionAlliance/gsf
Source/Libraries/GSF.Security/RestrictAccessAttribute.cs
3748
//****************************************************************************************************** // 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....
mit
rgbkrk/hydrogen
lib/existing-kernel-picker.js
2362
/* @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...
mit
mperdeck/jsnlog
jsnlog/PublicFacing/Configuration/JsnlogConfiguration/ICanCreateJsonFields.cs
977
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...
mit
vrenkens/Nabu-asr
nabu/neuralnetworks/decoders/alignment_decoder.py
3558
'''@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 ...
mit
AlexanderL/grunt-torn-asset-cachebuster
test/fixtures/images.css
297
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=='); }
mit
ThePletch/pact_broker
lib/pact_broker/logging.rb
645
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) ...
mit
keesdewit82/LasVegasCoin
src/lasvegascoind.cpp
6106
// 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...
mit
hatchery/Genepool2
genes/apt/test_get.py
1570
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...
mit
syberia/director
docs/reference/get_helpers.html
5005
<!-- 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...
mit
netlify/staticgen
content/projects/tclssg.md
1503
--- 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...
mit
materik/unitility
ObjC/Weight/Ounce.h
155
// // Ounce.h // Pods // // Created by materik on 17/02/16. // // #import "Unit.h" #import "WeightProtocol.h" @interface Ounce : Unit <Weight> @end
mit
johanlantz/headsetpresenter
HeadsetPresenter_Bluetools/HeadsetPresenter/Bluetools/BlueTools SDK v1.21/dotNetCF200/C#/ObexPushClient/Properties/AssemblyInfo.cs
1262
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...
mit
antmat/blackhole
src/benchmark/logger/logger.cpp
3474
#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())...
mit
joansmith/ontrack
ontrack-extension-api/src/main/java/net/ontrack/extension/api/Extension.java
1030
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....
mit
lashus/ivory-google-map
tests/Helper/Functional/Overlay/MarkerClustererFunctionalTest.php
1901
<?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...
mit
Anoncoin/anoncoin
src/zerocoin/ParamGeneration.h
2865
/// \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...
mit
Gigoteur/PX8
unicorn-android/sdl/src/SDL/src/render/opengl/SDL_render_gl.c
54667
/* 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 ...
mit
researchlab/golearning
news_spider/news_spider_list.go
4627
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...
mit
Tuxity/loopback-connector-mongodb
example/model.js
2094
// 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; ...
mit
g0v/laweasyread-data
rawdata/lawstat/version2/90089/9008932113000.html
12588
<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" ...
mit
hcharts/highcharts4gwt
src/main/java/com/github/highcharts4gwt/model/array/api/ArrayNumber.java
357
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); ...
mit
m4nolo/steering-all
src/dot/entities/dotheart.py
817
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], ...
mit
ArnavChawla/InteliChat
Carthage/Checkouts/swift-sdk/docs/swift-api/services/TextToSpeechV1/docsets/.docset/Contents/Resources/Documents/Enums/JSON.html
22216
<!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...
mit
illiteratelinds/OurTinerary1
app/models/photo.rb
314
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
mit
shivtools/Sudo-Soldiers-Website
index.html
1581
<!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...
mit
mnm1021/bdbm_drv_fine_grained
ftl/algo/abm.h
4420
/* 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...
mit
jimtyhurst/urbandev-etl
postgresql/scripts/sql/CREATE-TABLE-zillow_education.sql
2828
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...
mit
asposecells/Aspose_Cells_Cloud
Examples/Java/SDK/src/main/java/com/aspose/cells/cloud/examples/workbook/ConvertWorkbookWithAdditionalSettings.java
1947
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...
mit
pilotfish/pilotfish
plugins/recorder/test/qunit-recorder.js
1124
/* 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...
mit
claycarpenter/node-sandbox
rx-sandbox/creating-apps-with-observables/webpack.config.js
355
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...
mit
manaphp/manaphp
ManaPHP/Cli/RunnerInterface.php
87
<?php namespace ManaPHP\Cli; interface RunnerInterface { public function run(); }
mit
vjrantal/HeavenFresh-AllJoyn-Example
org.alljoyn.Humidifier.Actions/ActionsServiceEventArgs.h
25527
//----------------------------------------------------------------------------- // <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...
mit
ndrluis/Rukuli
lib/rukuli/searchable.rb
4815
# 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...
mit