repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
hudson-taylor/ht-skeleton | README.md | 24 | ht-skeleton
===========
| mit |
LINKIWI/apache-auth | config/production.js | 223 | /**
* Configuration option specific to a production environment.
* The values of these fields will override those in the common options, if they clash.
*/
const productionConfig = {
};
export default productionConfig;
| mit |
sweetlandj/Platibus | Source/Platibus.UnitTests/Filesystem/FilesystemCollection.cs | 243 | using Xunit;
namespace Platibus.UnitTests.Filesystem
{
[CollectionDefinition(Name)]
public class FilesystemCollection : ICollectionFixture<FilesystemFixture>
{
public const string Name = "UnitTests.Filesystem";
}
}
| mit |
kuhlenh/port-to-core | Reports/mi/mindfusion.scheduling.5.6.0/MindFusion.Scheduling.Pdf-net20.html | 33080 |
<!DOCTYPE html>
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="PortabilityAnalysis0">.NET Portability Report</title>
<style>
... | mit |
irfanHasbek/mkb-integral | views/js/pages-js/TaskDefinitionPage.js | 1031 | function otherScripts(){
}
function clickHandlers(){
removeFromTable("tasks","/wstaskdefinition/remove",function(id){});
}
function formHandlers(){
$("#frmTaskDefinition").ajaxForm(function(resp){
if(resp.state==true){
alertify.success("İşlem başarı ile gerçekleştirildi.");
... | mit |
novikov-anton/kit | src/Kit/SystemBundle/Entity/ModuleRepository.php | 260 | <?php
namespace Kit\SystemBundle\Entity;
use Doctrine\ORM\EntityRepository;
/**
* ModuleRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class ModuleRepository extends EntityRepository
{
}
| mit |
icode/ameba | src/main/java/ameba/lib/el/MapBasedVariableMapper.java | 679 | package ameba.lib.el;
import com.google.common.collect.Maps;
import javax.el.ValueExpression;
import javax.el.VariableMapper;
import java.util.Collections;
import java.util.Map;
/**
* @author icode
*/
public class MapBasedVariableMapper extends VariableMapper {
private Map<String, ValueExpression> map = Collec... | mit |
matt-major/do-wrapper | src/modules/databases.ts | 6006 | import RequestHelper from "../request-helper";
import { BaseModule } from "./base-module";
import { AddPoolRequestOptions, DatabaseCreateClusterRequest, DatabaseResizeClusterRequest } from "../types/databases";
import { HttpMethods } from "../common";
export default class Databases extends BaseModule {
private bas... | mit |
brbloggers/brbloggers | content/sopt/266409.md | 174 | +++
title = "Erro ao tentar salvar o script no R"
date = "2018-01-04 00:19:41"
categories = ["sopt"]
original_url = "https://pt.stackoverflow.com/q/266409"
at_home="no"
+++
| mit |
ReillyGregorio/Games | FPS/src/ofApp.h | 2015 | #pragma once
#include "ofMain.h"
#include "ofx3DModelLoader.h"
#include "TankClass.h"
#include <vector>
class Block {
public:
int x;
int y;
int z;
bool real;
int id = 1;
ofBoxPrimitive block;
};
class ofApp : public ofBaseApp{
public:
void setup();
void updat... | mit |
Taeon/PostMessenger | README.md | 5469 | # PostMessenger
Simple-to-use but elegant wrapper around JavaScript's postMessage() function, allowing communication between parent/iframe and parent/popup. Demo [here](https://taeon.github.io/PostMessenger/).
PostMessenger encourages secure practices by specifying the domain for both parties, and tying listeners to s... | mit |
mucoze/mucoze.github.io | iletisim.md | 391 | ---
layout: page
title: contact
permalink: /contact/
seo:
type: person
---
<form
action="https://formspree.io/f/mjvjzkqb"
method="POST"
>
<label>
Your email:
<input type="email" name="_replyto">
</label>
<label>
Your message:
<textarea name="message"></textarea>
</label>
<!-- your other... | mit |
jSherz/lsd-members | frontend/src/app/members/social-login/index.ts | 286 | export {
SocialLoginService,
SocialLoginServiceImpl
} from "./social-login.service";
export { SocialLoginServiceStub } from "./social-login.service.stub";
export { SocialLoginResponse, SocialLoginRequest } from "./model";
export { PerformLoginComponent } from "./perform-login";
| mit |
Stevoman/DuplicatesDetector | SoundFingerprinting/Hashing/MinHash/DatabasePermutations.cs | 745 | namespace SoundFingerprinting.Hashing.MinHash
{
using SoundFingerprinting.Dao;
using SoundFingerprinting.Infrastructure;
public class DatabasePermutations : IPermutations
{
private readonly IModelService modelService;
public DatabasePermutations()
: this(DependencyResolver... | mit |
ice9js/usos-bot | README.md | 99 | # usos-bot
A browser-bot for automated course registration in the USOS sytem written using node.js
| mit |
stivalet/PHP-Vulnerability-test-suite | Injection/CWE_89/safe/CWE_89__POST__func_FILTER-CLEANING-number_int_filter__select_from_where-sprintf_%d.php | 1674 | <?php
/*
Safe sample
input : get the field UserData from the variable $_POST
Uses a number_int_filter via filter_var function
construction : use of sprintf via a %d
*/
/*Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty fee, to
use, copy, modify, and distribute t... | mit |
kcjonesevans/primeng | src/app/showcase/components/lightbox/lightboxdemo.html | 9170 | <div class="content-section introduction">
<div>
<span class="feature-title">Lightbox</span>
<span>LightBox is a modal overlay component to display images, videos, inline html content and iframes.</span>
</div>
</div>
<div class="content-section implementation">
<h3 class="first">Basic</h3>... | mit |
jichaofdu/PM_Project | Client/Dada/app/src/main/java/projectmanager/dada/adapter/LocationAdapter.java | 1105 | package projectmanager.dada.adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import com.amap.api.services.core.PoiItem;
import java.util.List;
import projectmanager.d... | mit |
pdebruic/tropo-smalltalk | Tropo.package/TPCall.class/README.md | 586 | https://www.tropo.com/docs/webapi/call.htm
TPCall has not been documented yet. The class comment should describe the purpose of the class, its collaborations and its variables.
Instance Variables:
to <ProtoObject | PseudoContext>
answerOnMedia <ProtoObject | PseudoContext>
channel <ProtoObject | PseudoContext>
fr... | mit |
spiralx/py-minimatch | minimatch/match.py | 270 |
class MiniMatch:
_defaults = dict(
follow_links=True,
list_directories=True
)
def __init__(self, *patterns, **kwargs):
self._patterns = patterns
self.__dict__.update(MiniMatch._defaults)
self.__dict__.update(kwargs)
| mit |
judgie79/MyFlight | MyFlightscope.Proxy/DTO/BallForGolfBag.cs | 327 | using System.Xml.Serialization;
namespace MyFlightscope.Proxy.DTO
{
public class BallForGolfBag
{
[XmlElement("ID")]
public string ID { get; set; }
[XmlElement("BallIndex")]
public int BallIndex { get; set; }
[XmlElement("Ball")]
public Ball Ball { get; set; }
... | mit |
BuzzAcademy/idioms-moe-unformatted-data | all-data/26000-26999/26743-22.html | 1362 | <table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>... | mit |
femtoio/femto-usb-blink-example | blinky/blinky/asf-3.21.0/sam/drivers/spi/spi_pdc_example/samg53n19_samg_xplained_pro/conf_spi_pdc_example.h | 2486 | /**
* \file
*
* \brief SPI PDC example configuration.
*
* Copyright (c) 2013-2014 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are m... | mit |
jpvanoosten/VolumeTiledForwardShading | Engine/inc/Graphics/ShaderSignature.h | 3625 | #pragma once
/*
* Copyright(c) 2015 Jeremiah van Oosten
*
* 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, cop... | mit |
buchanae/funnel | config/config_test.go | 1127 | package config
import "testing"
func TestNodeResourceConfigParsing(t *testing.T) {
yaml := `
Scheduler:
Node:
Resources:
Cpus: 42
RamGb: 2.5
DiskGb: 50.0
`
conf := Config{}
Parse([]byte(yaml), &conf)
if conf.Scheduler.Node.Resources.Cpus != 42 {
t.Fatal("unexpected cpus")
}
if conf.Sc... | mit |
Microsoft/ProjectOxford-Apps-MimickerAlarm | Mimicker/app/src/main/java/com/microsoft/mimickeralarm/globalsettings/VolumeSliderPreference.java | 3648 | /*
*
* Copyright (c) Microsoft. All rights reserved.
* Licensed under the MIT license.
*
* Project Oxford: http://ProjectOxford.ai
*
* Project Oxford Mimicker Alarm Github:
* https://github.com/Microsoft/ProjectOxford-Apps-MimickerAlarm
*
* Copyright (c) Microsoft Corporation
* All rights reserved.
*
* MIT... | mit |
MuellerA/AVRemu | source/instr.h | 5161 | ////////////////////////////////////////////////////////////////////////////////
// instr.h
////////////////////////////////////////////////////////////////////////////////
#pragma once
#include "avr.h"
namespace AVR
{
////////////////////////////////////////////////////////////////////////////////
// Instruction... | mit |
Opus1no2/Google-Translation-Module | README.md | 541 | Google Translation Module
=========================
This is a minimalistic API client for Google Translation API
Usage:
------
```python
from client import Google_Translate
c = Google_Translate('YOUR API KEY')
c.discover()
```
```python
from client import Google_Translate
c = Google_Translate... | mit |
sunithshetty/Unreal-Engine-4-Scripting-with-CPlusPlus-Cookbook | Chapter01/Source/Chapter1.Target.cs | 534 | // Fill out your copyright notice in the Description page of Project Settings.
using UnrealBuildTool;
using System.Collections.Generic;
public class Chapter1Target : TargetRules
{
public Chapter1Target(TargetInfo Target)
{
Type = TargetType.Game;
}
//
// TargetRules interface.
//
public override void Setup... | mit |
hmcts/cmc-legal-rep-frontend | src/test/app/utils/numberFormatter.ts | 674 | import { expect } from 'chai'
import * as numeral from 'numeral'
import 'numeral/locales/en-gb'
import { NumberFormatter } from 'utils/numberFormatter'
describe('NumberFormatter', () => {
numeral.locale('en-gb')
describe('formatMoney', () => {
it('format numeric value to money', () => {
expect(NumberF... | mit |
JustinCarmony/salt-troubleshoot | README.md | 1945 | salt-troubleshoot
=================
Quick guide & my notes on troubling shooting salt.
Here are my quick go-to commands for trouble shooting salt issues.
## Gah, getting an error about tabs.
By far, the worst thing is somehow getting tabs in your sls files.
Find any files with tabs with this command, and then i... | mit |
Azure/azure-sdk-for-go | services/preview/quantum/mgmt/2019-11-04-preview/quantum/workspace.go | 4476 | package quantum
// 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.
// Changes may cause incorrect behavior and will be lost if the code is regenerated... | mit |
anas-ambri/androidcompat | docs/android/support/v7/widget/RecyclerView.OnScrollListener.html | 86934 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable... | mit |
tutukin/grunt-proxy | Gruntfile.js | 2180 | /*
* grunt-proxy
*
*
* Copyright (c) 2012 Andrei V. Toutoukine
* Licensed under the MIT license.
*/
'use strict';
module.exports = function(grunt) {
grunt.initConfig({
jshint: {
gruntfile : {
src : 'Gruntfile.js'
},
tasks : {
src : ['tasks/**/*.js']
},
tests : {
src : ['test/*... | mit |
mattmccray/gumdrop | lib/gumdrop/site.rb | 10076 | module Gumdrop
WEB_PAGE_EXTS= %w(.html .htm)
JETSAM_FILES= %w(**/.DS_Store .git* .git/**/* .svn/**/* **/.sass-cache/**/* Gumdrop)
DEFAULT_CONFIG= {
relative_paths: true,
relative_paths_exts: WEB_PAGE_EXTS,
default_layout: 'site',
layout_exts: WEB_PAGE_EXTS,
proxy_enabled: false,
output_d... | mit |
sbortman/joker | apps/joker-ui/grails-app/assets/javascripts/mapView.js | 278 | /**
* Created by sbortman on 9/2/15.
*/
//= require jquery
//= require mapWidget
//= require_self
var MapView = (function ()
{
'use strict';
function init()
{
//alert('here');
MapWidget.init();
}
return {
init: init
};
})();
| mit |
Ciunkos/ciunkos.com | src/components/Footer.css | 128 | footer {
line-height: 1.7em;
}
footer .Logo {
align-items: center;
}
footer .Logo .InlineLink {
font-weight: lighter;
}
| mit |
all-user/RoomMirror | index.js | 64 | var RoomMirror = require('./lib');
module.exports = RoomMirror;
| mit |
ahmed-abdelhay/CG-3D | infrastructure/Common.h | 469 | #pragma once
#include <string>
enum class ContainerChangeType
{
OBJECT_ADDED,
OBJECT_REMOVED,
};
// model objects names
static const std::string ThreeDObjectType = "ThreeDObject";
static const std::string PolygonalLassoType = "PolygonalLasso";
// properties names
static const std::string ColorType = "Color"... | mit |
yunzhu-li/remote-exec | utils/utils.go | 3709 | // The MIT License (MIT)
//
// Copyright (c) 2016 Yunzhu Li
//
// 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,... | mit |
vvilhonen/bacon.js | src/property.js | 3967 | // build-dependencies: observable
// build-dependencies: describe
// build-dependencies: functionconstruction
// build-dependencies: updatebarrier
// build-dependencies: dispatcher
// build-dependencies: optional
// build-dependencies: helpers
// build-dependencies: _
function PropertyDispatcher(property, subscribe, h... | mit |
DreamBig98/Youtube-Converter | test/download-test.js | 2155 | var assert = require('assert');
var path = require('path');
var fs = require('fs');
var streamEqual = require('stream-equal');
var nock = require('./nock');
var ytdl = require('..');
var VIDEO_BASE = 'https://www.youtube.com/watch?v=';
describe('Download video', function() {
var ... | mit |
sagarthakore/ci | application/views/categories/create.php | 406 | <h2><?= $title ;?></h2>
<hr>
<div class="create-form">
<?php echo validation_errors(); ?>
<?php echo form_open_multipart('categories/create'); ?>
<div class="form-group">
<label>Name</label>
<input type="text" class="form-control" name="name" placeholder="Enter Category Name">
</div>
... | mit |
stanchev/Telerik-Academy | NumeralSystems/HexadecimalToBinary/Properties/AssemblyInfo.cs | 1414 | 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: AssemblyTitle("He... | mit |
designeng/wire-plugins | test/jasmine/index.html | 665 | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Jasmine Spec Runner</title>
<link rel="stylesheet" href="css/jasmine.css">
<link rel="shortcut icon" type="image/png" href="js/lib/jasmine-2.0.0/jasmine_favicon.png">
<link rel="stylesheet" type="text/css" href="js/lib/jasmine-2.... | mit |
dznicol/shoppe_subscriptions | db/migrate/20170326075850_add_recipient_details_to_subscriber.rb | 272 | class AddRecipientDetailsToSubscriber < ActiveRecord::Migration
def change
add_column :shoppe_subscribers, :recipient_name, :string
add_column :shoppe_subscribers, :recipient_email, :string
add_column :shoppe_subscribers, :recipient_phone, :string
end
end
| mit |
mertkahyaoglu/atom-video | lib/components/Start.js | 1358 | 'use babel';
import React, { Component } from 'react'
import { findDOMNode } from 'react-dom'
class Start extends Component {
handleBtnGithubClick(event) {
let input_token = findDOMNode(this.refs.input_token)
input_token.style.display = "block"
}
handleChange(e) {
const { connectToGithub } = this.... | mit |
ember-learn/ember-cli-addon-docs | tests/dummy/app/templates/docs/components/docs-hero.md | 946 | # Docs Hero
This component helps you quickly get a hero section on your addon's homepage. The hero on the homepage of this site is an example.
The component has three arguments. By default, these arguments are pulled from your project's `package.json`:
- `prefix` and `heading` come from the `name` field
- `bylin... | mit |
mark-hudson/mdnotes | gulpfile.js | 62 | var _ = require('lodash')
, gulp = require('gulp')
;
| mit |
CSC-ORG/Dynamic-Dashboard-2015 | public/modules/articles/config/articles.client.routes.js | 705 | 'use strict';
// Setting up route
/*
angular.module('articles').config(['$stateProvider',
function($stateProvider) {
// Articles state routing
$stateProvider.
state('listArticles', {
url: '/articles',
templateUrl: 'modules/articles/views/list-articles.client.view.html'
}).
state('createArticle', {
... | mit |
OfficeDev/PnP-OfficeAddins | Samples/Office.TypeScriptAddin/README.md | 5970 | # Office TypeScript Add-in #
### Summary ###
This is a sample project extending the Visual Studio 2015 template for an Office task pane add-in with TypeScript and TypeScript type definitions.
It’s a great way to help you ensure the quality and code maintainability of your project. Also, if you’re coming from a more s... | mit |
exogen/graphql-markdown | src/updateSchema.js | 1842 | const fs = require('fs')
const renderSchema = require('./renderSchema')
function updateMarkdown(doc, newContent, options = {}) {
const includeMarkers = options.includeMarkers !== false
const startMarker = options.startMarker || '<!-- START graphql-markdown -->'
const endMarker = options.endMarker || '<!-- END gr... | mit |
hahwul/mad-metasploit | archive/exploits/windows/remote/39662.rb | 2067 | ##
# This module requires Metasploit: http://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
require 'msf/core'
class MetasploitModule < Msf::Exploit::Remote
Rank = NormalRanking
include Msf::Exploit::Remote::Ftp
def initialize(info = {})
super(upda... | mit |
FountainJS/generator-fountain-react | generators/todoMVC/modules/templates/src/app/reducers/todos.tsx | 1294 | import {ADD_TODO, DELETE_TODO, EDIT_TODO, COMPLETE_TODO, COMPLETE_ALL, CLEAR_COMPLETED} from '../constants/ActionTypes';
import {assign} from '../assign';
const initialState = [
{
text: 'Use Redux',
completed: false,
id: 0
}
];
export default function todos(state: any = initialState, action: any) {
... | mit |
Avarea/Programming-Fundamentals | AllProblems-Updated/AverageCharacterDelimiter/Properties/AssemblyInfo.cs | 1421 | 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: AssemblyTitle("Ave... | mit |
tristaneuan/lita-genius | README.md | 1826 | # lita-genius
[](https://travis-ci.org/tristaneuan/lita-genius)
[](https://coveralls.io/r/tristaneuan/lita-genius)
**lita-genius** is a handler for [Lita](htt... | mit |
151706061/Nancy | src/Nancy.Tests/Unit/RequestFixture.cs | 24280 | namespace Nancy.Tests.Unit
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using FakeItEasy;
using Nancy.IO;
using Xunit;
using Xunit.Extensions;
public class RequestFixture
{
[Fact]
publ... | mit |
DBrianKimmel/PyHouse | Project/src/Modules/Core/Config/login.py | 1248 | """
@name: Modules/House/Security/login.py
@author: D. Brian Kimmel
@contact: D.BrianKimmel@gmail.com
@copyright: (c) 2019-2020 by D. Brian Kimmel
@note: Created on Jul 23, 2019
@license: MIT License
@summary: Handle logging in.
"""
# Import system type stuff
# Import PyMh files and modules.
from... | mit |
sanderpick/dygraphs | tests/no-range.html | 1322 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
<title>no range</title>
<!--[if IE]>
<script type="text/javascript" src="../excanvas.js"></script>
<![endif]-->
<script type="text/javascript" src="../strftime/strftime-min.js"></script>
... | mit |
gwiedeman/gwiedeman.github.io | _site/code/ingestProcessing.html | 4529 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>
Ingest Processing Workflow - Greg Wiedeman
</title>
<meta name="description" content="Ingest and Processing Workflow scripts for born-digital access... | mit |
hcarvalhoalves/hy | hy/lex/exceptions.py | 1352 | # Copyright (c) 2013 Nicolas Dandrimont <nicolas.dandrimont@crans.org>
#
# 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,... | mit |
mlohstroh/demoable | app/models/demoable/access_resource.rb | 147 | module Demoable
class AccessResource < ActiveResource::Base
self.site = Demoable.master_site
self.element_name = "access_codes"
end
end | mit |
Arjestin/code-value-course | Backgammon.Ver2/Backgammon.Framework/Constants/Setup.cs | 3658 | using System.Collections;
using Backgammon.Framework.Enumerations;
using Backgammon.Framework.Interfaces;
namespace Backgammon.Framework.Constants
{
public static class Setup
{
public static readonly IPosition[] Positions =
{
new Position(20, 10),
new Positio... | mit |
syxc/ZhihuDaily-Android | app/src/main/java/org/syxc/zhihudaily/model/LatestNews.java | 124 | package org.syxc.zhihudaily.model;
/**
* 最新消息
* Created by syxc on 16/1/7.
*/
public final class LatestNews {
}
| mit |
mathiasbynens/unicode-data | 6.3.0/blocks/Tifinagh-regex.js | 110 | // Regular expression that matches all symbols in the Tifinagh block as per Unicode v6.3.0:
/[\u2D30-\u2D7F]/; | mit |
akshaybabloo/JavaFX | src/FileChooser_7/controller.java | 732 | package FileChooser_7;
import javafx.fxml.FXML;
import javafx.scene.Node;
import javafx.scene.control.*;
import javafx.stage.FileChooser;
import javafx.stage.Window;
import java.io.File;
/**
* Created by akshayrajgollahalli on 15/08/15.
*/
public class controller{
@FXML
private TextField myText;
@F... | mit |
mlaursen/react-md | packages/utils/src/__tests__/useDropzone.tsx | 3687 | import { ReactElement, ReactNode } from "react";
import cn from "classnames";
import { fireEvent, render } from "@testing-library/react";
import { DropzoneHanders, useDropzone } from "../useDropzone";
function Test({
children,
...options
}: DropzoneHanders<HTMLElement> & { children?: ReactNode }): ReactElement {
... | mit |
Stoneski93/GymDiary | node_modules/socketcluster/scc-guide.md | 6061 | # SCC Guide
SCC is a collection of services which allow you to easily deploy and scale SocketCluster to any number of machines (almost any number, see Notes at the bottom of this page).
SCC is designed to scale linearly and is optimized for running on Kubernetes but it can be setup without using an orchestrator.
SCC ... | mit |
ManyCoin/ManyCoin | console/prompter.go | 6282 | // Copyright 2016 The go-okcoin Authors
// This file is part of the go-okcoin library.
//
// The go-okcoin library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
/... | mit |
svetlai/TelerikAcademy | Programming-with-C#/High-Quality-Code/09-Code-Tuning-and-Optimization/03-CompareAdvancedMaths/Properties/AssemblyInfo.cs | 1442 | 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: AssemblyTitle("9.... | mit |
kfpotts1/mp.Me | index-files/index-16.html | 5202 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_45) on Thu Apr 13 10:29:48 EDT 2017 -->
<title>V-Index</title>
<meta name="date" content="2017-04-13">
<link rel="stylesheet" type="text... | mit |
ColFusion/PentahoKettle | kettle-data-integration/docs/api/org/pentaho/di/ui/trans/steps/xmlinput/package-summary.html | 6599 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_27) on Wed Nov 21 16:03:52 EST 2012 -->
<TITLE>
org.pentaho.di.ui.trans.steps.xmlinput
</TITLE>
<META NAME="date" CONTENT="2012-11-21">
<LINK REL =... | mit |
YingLiu4203/yingliu4203.github.io | _posts/2017-01-02-expressjs-study-note.md | 2070 | ---
layout: post
title: ExpressJs Study Note
categories:
- JavaScript
tags:
- NodeJs
---
This is a study note of the first two parts of the book [Express in Action](https://www.manning.com/books/express-in-action).
## 1. Introduction
Express is a routing + sugar layer on top of Node.js HTTP server that simplifies N... | mit |
ActiveState/code | recipes/Python/440636_eight_most_annoying_lines_code_I_ever_did/recipe-440636.py | 276 | old = '-1.py'
import os
os.remove(old)
data = 'old = \'' + str(int(old[:-3]) + 1) + '.py\'\n'
for line in file(str(int(old[:-3]) + 1) + '.py').readlines()[1:]:
data += line
file(str(int(old[:-3]) + 2) + '.py', 'w').write(data)
os.startfile(str(int(old[:-3]) + 2) + '.py')
| mit |
QuenRocLua/nodejs-express | peoplesearch/help.html | 2581 | <!--发布寻人-被寻者填写-->
<div class="bg">
<h4>被助者信息<span>(标*为必填选项)</span></h4>
<div class="info">
<label>姓名*
<input type="text" id="name" ng-model="helped.name">
</label>
<label>性别*
<input type="radio" name="sex" value="男" ng-model="helped.sex">男
<input type=... | mit |
Anahkiasen/isaac-mod-manager | CONTRIBUTING.md | 1212 | # Contributing
Contributions are **welcome** and will be fully **credited**.
We accept contributions via Pull Requests on [Github](https://github.com/Anahkiasen/isaac-mod-manager).
## Pull Requests
- **[Symfony Coding Standard](http://symfony.com/doc/current/contributing/code/standards.html)** - Check the code sty... | mit |
THEDevTeam/SpoutcraftMod | src/main/java/org/spoutcraft/api/gui/widget/Button.java | 1264 | package org.spoutcraft.api.gui.widget;
import net.minecraft.util.ResourceLocation;
import org.lwjgl.util.Color;
public class Button extends Label {
public static final ResourceLocation DEFAULT_BACKGROUND = new ResourceLocation("spoutcraft", "textures/gui/button_background.png");
public static final ResourceLocatio... | mit |
edecisions/recapt | src/main/java/com/recapt/trace/Trace.java | 2732 | /*
* Property of RECAPT http://recapt.com.ec/
* Chief Developer Ing. Eduardo Alfonso Sanchez eddie.alfonso@gmail.com
*/
package com.recapt.trace;
import java.util.Date;
/**
*
* @author Eduardo
*/
public class Trace {
public static final String TRACE_RESULT_ERROR = "ERROR";
public static final String T... | mit |
thiagopena/djangoSIGE | djangosige/apps/financeiro/migrations/0001_initial.py | 6744 | # -*- coding: utf-8 -*-
# Generated by Django 1.10.1 on 2017-06-25 17:50
from __future__ import unicode_literals
from decimal import Decimal
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependen... | mit |
cgeoffray/virtualshops | src/Listreat/UserBundle/Entity/User.php | 7240 | <?php
namespace Listreat\UserBundle\Entity;
use FOS\UserBundle\Entity\User as BaseUser;
use Doctrine\ORM\Mapping as ORM;
/**
* Listreat\UserBundle\Entity\User
*
* @ORM\Table()
* @ORM\Entity(repositoryClass="Listreat\UserBundle\Entity\UserRepository")
*/
class User extends BaseUser
{
/**
* @var integer ... | mit |
dataviscourse/dataviscourse.github.io | 2016/index.html | 11907 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title> Visualization - Home</title>
<meta name="viewport" content="width=device-width">
<meta name="description" content="Visualization Class at the University of Utah">
<link rel="canonical" href=... | mit |
SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EAS.Web/Controllers/SearchOrganisationController.cs | 1026 | using System.Threading.Tasks;
using System.Web.Mvc;
using SFA.DAS.Authorization.Mvc.Attributes;
using SFA.DAS.EAS.Web.Extensions;
namespace SFA.DAS.EAS.Web.Controllers
{
[DasAuthorize]
[RoutePrefix("accounts")]
public class SearchOrganisationController : Controller
{
[HttpGet]
[Route("... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.02.3-2.0.6/released/8.8.0/itauto/8.13.html | 6860 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>itauto: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | mit |
radix-platform/toolchains | sources/GNU/gcc/gcc-5.3.0/create-5.3.0-a2x-newlib-patch/create.patch.sh | 345 | #!/bin/sh
VERSION=5.3.0
tar --files-from=file.list -xjvf ../gcc-$VERSION.tar.bz2
mv gcc-$VERSION gcc-$VERSION-orig
cp -rf ./gcc-$VERSION-new ./gcc-$VERSION
diff -b --unified -Nr gcc-$VERSION-orig gcc-$VERSION > gcc-$VERSION-a2x-newlib.patch
mv gcc-$VERSION-a2x-newlib.patch ../../patches
rm -rf ./gcc-$VERSION
rm... | mit |
mixdown/generator-mixdown-cli | app/index.js | 3283 | 'use strict';
var util = require('util');
var path = require('path');
var fs = require('fs');
var yeoman = require('yeoman-generator');
var MixdownGenerator = module.exports = function MixdownGenerator(args, options, config) {
yeoman.generators.Base.apply(this, arguments);
this.on('end', function () {
this.in... | mit |
KlishGroup/prose-pogs | pogs/G/GYYMRHX/CFR/index.md | 2320 | ---
layout: page
title: Conner Family Reunion
date: 2016-05-24
author: Jose Gray
tags: weekly links, java
status: published
summary: Nullam ac ullamcorper justo. Fusce tristique.
banner: images/banner/office-01.jpg
booking:
startDate: 09/17/2018
endDate: 09/22/2018
ctyhocn: GYYMRHX
groupCode: CFR
published: tru... | mit |
dailc/leetcode | algorithms/396-Rotate-Function/README.md | 792 | ## Rotate-Function
## 说明
给一个数组`A`,长度是`n`
定义旋转函数`F`
```js
F(k) = 0 * Bk[0] + 1 * Bk[1] + ... + (n-1) * Bk[n-1]
```
计算`F(0), F(1), ..., F(n-1)`中的最大值
其中`Bk`是通过顺时针旋转`k`位得到的数组
- `n`小于`10^5`
例如
```js
A = [4, 3, 2, 6]
F(0) = (0 * 4) + (1 * 3) + (2 * 2) + (3 * 6) = 0 + 3 + 4 + 18 = 25
F(1) = (... | mit |
ComputationWithBoundedResources/grumpy | examples/SimpleLoop.java | 311 | // variants of simple loop construct
class SimpleLoop {
void forLoop1(int m){
for(int i = 0; i < m; ++i);
}
void forLoop2(int m){
for(int i = m; i >= 0; --i);
}
void whileLoop(int m){
int i = 0;
while(i < m) i++;
}
void doWhileLoop(int m){
int i = m;
do
--i;
while(i >= 0);
}
}
| mit |
mir4ef/base | public/app/home/AmenitiesView.html | 410 | <h2>{{main.pageData.pageTitle}}</h2>
<p>{{main.pageData.bodyText}}</p>
<section class="all-amenities">
<section class="amenity-box" ng-repeat="amenity in main.pageData.extras">
<h4>{{amenity.heading}}</h4>
<p ng-if="amenity.description">{{amenity.description}}</p>
<ul>
<li ng-rep... | mit |
vman/sp-dev-fx-webparts | samples/react-graph-schema-extensions/README.md | 4016 | # Spfx Webpart read / update MS Graph Custom Schema Extensions
## Summary
This sample shows how read and update a custom Schema extension in MS Graph. It shows how to create a
custom Schema extension in Graph to store custom data related to an Office 365 Group, and how we can read and update
that data using an spfx we... | mit |
tddapps/blog | _includes/head-optimizely.html | 147 | {% if site.optimizely_experiment != 0000000000 %}
<script src="//cdn.optimizely.com/js/{{site.optimizely_experiment}}.js"></script>
{% endif %} | mit |
leomindez/From-Java-To-Ceylon | code/java/basic/strings-ii.java | 91 | String text = "First Line\n" +
"Second Line\n" +
"Third Line";
| mit |
bkiers/sqlite-parser | src/test/resources/utf16align.test_2.sql | 119 | -- utf16align.test
--
-- execsql {
-- CREATE INDEX t1i1 ON t1(spacer, b);
-- }
CREATE INDEX t1i1 ON t1(spacer, b); | mit |
heitaoflower/exoplayer-graphics | library/core/src/main/cpp/graphics/ogles/ogles_preview_filter.c | 6874 | //
// Created by showtime on 9/10/2017.
//
#include "ogles_preview_filter.h"
#include "../../utils/ogles_util.h"
#include "../../geometry/primitive.h"
#include <malloc.h>
#define LINE(s) s "\n"
static const char *vertex_shader_source =
LINE("uniform mat4 uMVPMatrix;")
LINE("uniform mat4 uS... | mit |
inolen/node-hashmap | README.md | 78 | node-hashmap
============
Provides a native hashmap implementation for node.
| mit |
Afforess/sftp-sync | src/main/java/com/afforess/sftp/sync/exception/SFTPConnectionException.java | 251 | package com.afforess.sftp.sync.exception;
public class SFTPConnectionException extends SFTPException{
private static final long serialVersionUID = 1L;
public SFTPConnectionException(String message, Throwable cause) {
super(message, cause);
}
}
| mit |
exyzzy/meteoryte | lib/router.js | 2662 | Router.configure({
layoutTemplate: 'applicationLayout',
loadingTemplate: 'loading',
notFoundTemplate: 'notFound'
});
Router.route('/', {name: 'home'});
Router.route('/discover', {name: 'discover'});
Router.route('/support', {name: 'support'});
Router.route('/signup', {name: 'signup'});
Router.route('/about', {n... | mit |
keym/Monoalphabetic-Cipher-Solving-Genetic-Algorithm | Code/Pre-alpha/GAPrototype/GAPrototype/PopulationGeneration.cs | 2280 | using System;
using System.Collections.Generic;
namespace GAPrototype
{
public class PopulationGenerator
{
private Chromosome[] Population;
private int popSize;
private int chromosomeLength;
private Random R;
public int ChromosomeLength {
get {
return this.chromosomeLength;
}
set {
... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.09.1-2.0.6/released/8.10.0/idxassoc/8.5.0.html | 7398 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>idxassoc: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | mit |
assertlab/extractviewer_project | mapping-application-web/src/main/java/br/ufpe/cin/cloud/mapeamento/negocio/extracaodados/dao/SelecaoEstudoDAO.java | 2412 | /**
* CloudMapping - Sistema de Extração de Dados de Mapeamento dos Experimentos em Computação em Nuvem
*
* Copyright (c) AssertLab.
*
* Este software é confidencial e propriedade da AssertLab. Não é permitida sua distribuição ou divulgação
* do seu conteúdo sem expressa autorização do AssertLab. Este arquivo ... | mit |