code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
import React from 'react'; import { applyRouterMiddleware, Router, Route } from 'dva/router'; import { useScroll } from 'react-router-scroll'; import App from '@/app/App'; function RouterConfig({ history }) { return ( <Router history={history} render={applyRouterMiddleware(useScroll())}> <Route path="/" c...
whiskyoo/dva-scaffolding
src/router.js
JavaScript
mit
395
import React, { Component, PropTypes } from 'react'; import { Image } from 'react-bootstrap'; require('./styles.scss'); class SocialBar extends Component { constructor(props) { super(props); } render() { const { icon, url } = this.props; return ( <a href={url} target="_blank"> ...
sebacorrea33/todoinstitutos
src/containers/ProfilePage/ProfileHeader/SocialIcon.js
JavaScript
mit
602
package org.spongycastle.pqc.jcajce.provider.test; import java.security.KeyPairGenerator; import java.security.spec.AlgorithmParameterSpec; import javax.crypto.Cipher; import org.spongycastle.pqc.jcajce.spec.ECCKeyGenParameterSpec; public class McElieceKobaraImaiCipherTest extends AsymmetricHybridCipherTest { ...
iseki-masaya/spongycastle
prov/src/test/java/org/spongycastle/pqc/jcajce/provider/test/McElieceKobaraImaiCipherTest.java
Java
mit
1,060
<!doctype html> <html> <head> <title>我抢到红包啦</title> <meta charset="utf-8"> <meta name="keywords" content="倍全,倍全商城,倍全订货,社区O2O,社区便利店,网上超市,济南社区020,便利店O2O,济南社区便利店" /> <meta name="description" content="倍全商城-倍全旗下品牌,济南同城最快速的便利店商品订购派送网站" /> <link rel="icon" href="favicon.ico" ...
guotao2000/ecmall
temp/compiled/wapmall/qhb.success.html.php
PHP
mit
3,740
from django import forms from django.core.validators import validate_email from django.db.models import Q from django.utils.translation import ugettext_lazy as _ from .utils import get_user_model class PasswordRecoveryForm(forms.Form): username_or_email = forms.CharField() error_messages = { 'not_fo...
xsunfeng/cir
password_reset/forms.py
Python
mit
4,276
'use strict'; describe('heroList', function(){ //Load module that contains the heroList component beforeEach(module('heroList')); describe('HeroListController', function(){ it('should create a `heroes` model with 6 heroes', inject(function($componentController){ var ctrl = $componentController('heroList'); ...
MichaelRandall/heroes-villians
app/hero-list/hero-list.component.spec.js
JavaScript
mit
377
// to be used if new modules are added to MSF. Mamoru.Sync.allModules = function(){ var moduleFixtures = { exploit: 'module.exploits', post: 'module.post', auxiliary: 'module.auxiliary', payload: 'module.payloads', encoder: 'module.encoders', nop: 'module.nops', }...
mamoru-vm/mamoru
mamoru/server/lib/sync.js
JavaScript
mit
9,615
<?php namespace Ds\Component\System\Query; /** * Class TenantParameters * * @package Ds\Component\System */ class TenantParameters implements Parameters { use Base; }
DigitalState/Core
src/System/Query/TenantParameters.php
PHP
mit
177
require 'childprocess' require 'tempfile' require 'shellwords' require 'aruba/errors' require 'aruba/processes/basic_process' require 'aruba/platform' # Aruba module Aruba # Platforms module Processes # Spawn a process for command # # `SpawnProcess` is not meant for direct use - `SpawnProcess.new` - b...
jasnow/aruba
lib/aruba/processes/spawn_process.rb
Ruby
mit
7,406
<!DOCTYPE html> <html> <head> <style> #textbox { margin: 50px; } #range { margin: 50px; } #youtubeScroller { width: 500px; height: 500px; overflow: auto; border: 1px solid black; } .divScroller { width: 200px; ...
bokand/bokand.github.io
spatnav.html
HTML
mit
5,000
package com.github.scaronthesky.eternalwinterwars.view.entities; public interface IMeasureableEntity { public float getWidth(); public float getHeight(); }
hinogi/eternalwinterwars
src/com/github/scaronthesky/eternalwinterwars/view/entities/IMeasureableEntity.java
Java
mit
160
<?php /* @var $this DemoController */ /* @var $model Demo */ $this->breadcrumbs=array( 'Demos'=>array('index'), $model->title=>array('view','id'=>$model->id), 'Update', ); $this->menu=array( array('label'=>'List Demo', 'url'=>array('index')), array('label'=>'Create Demo', 'url'=>array('create')), array('label'=...
perminder-klair/cms-core
protected/views/demo/update.php
PHP
mit
553
<?php namespace Philsquare\LaraManager\Http\Controllers; use Illuminate\Http\Request; use Philsquare\LaraManager\Http\Requests\CreateRedirectRequest; use Philsquare\LaraManager\Http\Requests\UpdateRedirectRequest; use Philsquare\LaraManager\Models\Redirect; class RedirectsController extends Controller { protect...
frodex/LaraManager
src/Philsquare/LaraManager/Http/Controllers/RedirectsController.php
PHP
mit
2,779
#!/bin/bash # check if zsh is installed if [ -f /bin/zsh -o -f /usr/bin/zsh ]; then # check if oh-my-zsh is installed if [[ ! -d $HOME/.oh-my-zsh/ ]]; then ZSH=~/.oh-my-zsh print_info "downloading oh-my-zsh" git clone https://github.com/robbyrussell/oh-my-zsh.git $ZSH export ZSH...
stevenliuyi/dotfiles
install/zsh.sh
Shell
mit
813
When(/^I fill in the email details$/) do fill_in "Subject", :with => "Petition email subject" fill_in "Body", :with => "Petition email body" end Then(/^the petition should not have any emails$/) do @petition.reload expect(@petition.emails).to be_empty end Then(/^the petition should have the email details I pr...
telekomatrix/e-petitions
features/step_definitions/petition_email_steps.rb
Ruby
mit
1,922
module PageObjectModel require 'calabash-android/abase' require_relative '../../../features/pages/actions/common_actions' class Page < Calabash::ABase include PageOperations include UtilityObjects include PageObjectModel::PageActions def initialize(world, transition_duration = 0.5) logger....
blinkboxbooks/android-test
features/pages/model/page.rb
Ruby
mit
1,617
using FluentNHibernate.Mapping; using NHibernateCocoon.Tests.Entities; namespace NHibernateCocoon.Tests.Maps { public class PlaylistTrackMap : ClassMap<PlaylistTrack> { public PlaylistTrackMap() { Table("PlaylistTrack"); Id(x => x.PlaylistId); Map(x => x.TrackId); } } }
davedonaldson/NHibernateCocoon
src/NHibernateCocoon.Tests/Maps/PlaylistTrackMap.cs
C#
mit
293
/* * Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Fou...
daniel-beck/sorcerer
javac/src/main/java/com/sun/source/util/TaskEvent.java
Java
mit
3,433
//****************************************************************************************************** // PQMarkAggregate.cs - Gbtc // // Copyright © 2017, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See // ...
GridProtectionAlliance/openXDA
Source/Libraries/openXDA.Model/PQMarkAggregate.cs
C#
mit
1,815
document.getElementById('input_search').onfocus = function () { document.getElementById('search').classList.add('activeSearch'); }; document.getElementById('input_search').onblur = function () { document.getElementById('search').classList.remove('activeSearch'); }; try { window.$ = window.jQuery = require('jqu...
reed-jones/DiscoverMovies
resources/assets/js/app.js
JavaScript
mit
404
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("Di...
chschenk/SVP
DisagLib/Properties/AssemblyInfo.cs
C#
mit
1,392
//------------------------------------------------------------------------------ // resourceBase.cc //------------------------------------------------------------------------------ #include "Pre.h" #include "resourceBase.h" namespace Oryol { namespace _priv { //-------------------------------------------------------...
floooh/oryol
code/Modules/Gfx/private/resourceBase.cc
C++
mit
1,349
<!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_33) on Wed Aug 27 10:24:28 CEST 2014 --> <TITLE> Uses of Class com.gsma.android.oneapi.discovery.DiscoveryProcessEndpoints </TITLE> <META NAME="date...
GSMADeveloper/MobileConnectSDKTestApp
SDKdoc/doc.oneapi.dicovery/com/gsma/android/oneapi/discovery/class-use/DiscoveryProcessEndpoints.html
HTML
mit
6,186
<div id="content"> <div id="extra"></div> <div id="main"> <form action="/posts" id="live_form" method="post" class="pagina"> <div> <label for="post_title">Title</label> <input id="post_title" name="post[title]" type="text" value=""> </div> <div> <input id="post_submit" ...
javierv/41cero10asesores
spec/javascripts/fixtures/live_form.html
HTML
mit
489
/* * Jot v1.1 * License: The MIT License (MIT) * Code: https://github.com/jdemeuse1204/Jot * Email: james.demeuse@gmail.com * Copyright (c) 2016 James Demeuse */ namespace Jot { public enum TokenValidationResult { NotBeforeFailed, TokenExpired, TokenNotCorrectlyFormed, Si...
jdemeuse1204/Jot
Jot/TokenValidationResult.cs
C#
mit
481
# Matt Szabo's portfolio This is my portfolio, which is written using **react** components. It's hosted on an Amazon EC2 server using node.js: http://ec2-54-206-69-241.ap-southeast-2.compute.amazonaws.com:3300/ The webpage is a single page app written with a mobile first approach. It is also my first attempt at a full...
wekilledit/portfolio-frontend
README.md
Markdown
mit
799
use nom::branch::alt; use nom::bytes::complete::{is_a, is_not, tag, take}; use nom::character::complete::{anychar, digit1, one_of}; use nom::combinator::{map, map_res, opt, value}; use nom::multi::{count, many0, separated_list0}; use nom::sequence::{delimited, preceded, separated_pair, terminated, tuple}; use nom::*; u...
nozaq/csa-rs
src/parser/game.rs
Rust
mit
28,555
<!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>Using IPython for interactive work &mdash; IPython...
toomoresuch/pysonengine
eggs/ipython-0.10.1-py2.6.egg/share/doc/ipython/manual/html/interactive/index.html
HTML
mit
9,335
/* * Profil szerkesztése */ .profile_edit_form{ margin-left: 50px; } .profile_edit_form .profile_edit_line_left, .profile_edit_form .profile_edit_line_right{ float: left; width: 50%; padding-bottom: 5px; } .profile_edit_form .label_text{ float: left; font-weight: bold; width: 120px; } .p...
csmarton/webshop
src/Frontend/ProfileBundle/Resources/public/css/profile.css
CSS
mit
941
# AixLog Header-only C++ logging library [![Github Releases](https://img.shields.io/github/release/badaix/aixlog.svg)](https://github.com/badaix/aixlog/releases) [![Build Status](https://travis-ci.org/badaix/aixlog.svg?branch=master)](https://travis-ci.org/badaix/aixlog) [![Language grade: C/C++](https://img.shields....
badaix/aixlog
README.md
Markdown
mit
7,623
// // SamplePanelView.h // SampleApp // // Created by honcheng on 11/27/10. // Copyright 2010 honcheng. All rights reserved. // #import <UIKit/UIKit.h> #import "PanelView.h" @interface SamplePanelView : PanelView @end
yannliang/PanelTableView
sample project/SampleApp/Classes/SamplePanelView.h
C
mit
225
package main import ( "flag" "fmt" "net/http" . "gopkg.in/go-on/lib.v2/types" . "gopkg.in/go-on/lib.v2/html" "gopkg.in/go-on/lib.v2/internal/bootstrap/bs3" "gopkg.in/go-on/cdncache.v1" ) var ( port = flag.Int("port", 8083, "port of the http server") mountPoint = flag.String("mountpoint", "", "mount p...
go-on/cdncache
example/main.go
GO
mit
2,369
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'><head><title>/Library/Ruby/Gems/1.8/gems/ruby-openid-2.0.2/lib/openid/dh.rb - C0 code coverage information</title> <style type=...
jared/ygo_classic
coverage/-Library-Ruby-Gems-1_8-gems-ruby-openid-2_0_2-lib-openid-dh_rb.html
HTML
mit
20,506
/// <reference path="lib/jquery-2.0.3.js" /> define(["httpRequester"], function (httpRequester) { function getStudents() { var url = this.url + "api/students/"; return httpRequester.getJSON(url); } function getMarksByStudentId(studentId) { var url = this.url + "api/students/" + st...
niki-funky/Telerik_Academy
Web Development/JS_frameworks/04. Reqiure/StudentsDB.WebClient/scripts/app/data-persister.js
JavaScript
mit
505
package apns import ( "errors" "github.com/cosminrentea/gobbler/server/connector" "github.com/jpillora/backoff" "github.com/sideshow/apns2" "net" "time" ) const ( // deviceIDKey is the key name set on the route params to identify the application deviceIDKey = "device_token" userIDKey = "user_id" ) var ( ...
cosminrentea/gobbler
server/apns/apns_sender.go
GO
mit
2,689
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication21 { class Program { static void Main(string[] args) { int hour = int.Parse(Console.ReadLine()); int min = int.Parse(Console.R...
VaskoViktorov/SoftUni-Homework
01. Programming Basics - 20.08.2016/Other unsorted/time +15 min.cs
C#
mit
763
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
mrkmarron/ChakraCore
lib/Common/DataStructures/BigInt.cpp
C++
mit
15,350
package com.raoulvdberge.refinedstorage.block.enums; import net.minecraft.util.IStringSerializable; public enum ControllerType implements IStringSerializable { NORMAL(0, "normal"), CREATIVE(1, "creative"); private int id; private String name; ControllerType(int id, String name) { this.id...
way2muchnoise/refinedstorage
src/main/java/com/raoulvdberge/refinedstorage/block/enums/ControllerType.java
Java
mit
557
require 'spec_helper' describe Fulcrum::Client do let(:client) { Fulcrum::Client.new } it 'has a default url' do expect(client.url).to eq(Fulcrum::Client::DEFAULT_URL) end it 'can query' do url = "#{client.url}/query" response = 'audio,system,,,,,' stub_request(:post, url) .with(body: ...
fulcrumapp/fulcrum-ruby
spec/lib/client_spec.rb
Ruby
mit
2,850
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>CodePen - A Pen by jcutrell</title> <link rel="stylesheet" href="css/reset.css"> <link rel="stylesheet" href="css/style.css" media="screen" type="text/css" /> </head> <body> <div class="row"> <div class="col col-1-3 blue"></div> <div clas...
tutsplus/recreating-the-animated-circle-effect-as-seen-on-google-design
index.html
HTML
mit
874
/** * WhatsApp service provider */ module.exports = { popupUrl: 'whatsapp://send?text={title}%0A{url}', popupWidth: 600, popupHeight: 450 };
valerypatorius/Likely
source/services/whatsapp.js
JavaScript
mit
155
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="generator" content="rustdoc"> <meta name="description" content="API documentation for the Rust `vec` mod in crate `std`."> <meta name="keywords" content="...
ArcherSys/ArcherSys
Rust/share/doc/rust/html/std/vec/index.html
HTML
mit
8,868
<div class='panel panel-default olx-panel'> <div class='panel-heading'> <h3 class='panel-title glyphicon glyphicon-fire'>&#8201;人气排行</h3> </div> <div class='panel-body'> <ul class='list-group'> #foreach($doc in $!{data.view_count})<li class='list-group-item'> <span class='badge'>#numToMoney($!{doc.VIEW_CO...
3203317/cj
caiji/views/portal/1.0.1/_pagelet/panel_view_count.html
HTML
mit
632
--[[ hybrid_scene.lua A combination of two scenes with two different rendering techniques and a font renderer to label each type of object. All rendering code is owned by the respective scene types and is simply invoked from this module. ]] hybrid_scene = {} local sts = require("scene.shadertoy_scene...
jimbo00000/Flickercladding
deploy/lua/scene_old/hybrid_scene.lua
Lua
mit
1,655
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2008-2011. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.lslboost.org/LICENSE_1_0.txt) // // See http://www.lslboost.org/libs/i...
gazzlab/LSL-gazzlab-branch
liblsl/external/lslboost/interprocess/containers/flat_set.hpp
C++
mit
1,073
table { overflow: auto; border: 1px solid #313131; width: 100%; } @media only screen and (min-width: 1441px) { table { max-width: 1100px; } } @media only screen and (min-width: 1701px) { table { max-width: 1150px; } } @media only screen and (min-width: 1921px) { table { max-wid...
yoanngern/gospelcenter
web/css/adminLocations.css
CSS
mit
1,193
/*************************************************************************** * Copyright (C) 2006 by Arnaud Desaedeleer * * arnaud@desaedeleer.com * * * * Thi...
nayan92/ic-hack
OpenOMR/openomr/omr_engine/XProjection.java
Java
mit
4,106
/** * 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. */ package com.microsoft.azure.management.eventgrid.v2020_04_01_preview; import com.faster...
selvasingh/azure-sdk-for-java
sdk/eventgrid/mgmt-v2020_04_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2020_04_01_preview/NumberGreaterThanOrEqualsAdvancedFilter.java
Java
mit
1,359
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //-----------------------------------------------------...
orapow/x.rbt
src/Web/Data/RbtDB.designer.cs
C#
mit
119,265
package derpstream; import java.io.FileOutputStream; import java.io.IOException; import java.util.PriorityQueue; import java.util.TimerTask; import java.util.concurrent.LinkedBlockingDeque; import java.util.logging.Level; import java.util.logging.Logger; /** * * @author Mads */ public final class ChunkInfo extends...
maesse/DerpStream
src/derpstream/ChunkInfo.java
Java
mit
5,842
/* * Copyright (c) .NET Foundation and Contributors * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. * * https://github.com/piranhacms/piranha.core * */ using System; using System.ComponentModel.DataAnnotations; namespace Piranha.Models...
PiranhaCMS/piranha.core
core/Piranha/Models/Param.cs
C#
mit
1,301
var path = require('path'), HtmlReporter = require('protractor-html-screenshot-reporter'); exports.config = { chromeDriver: 'node_modules/chromedriver/bin/chromedriver', // seleniumAddress: 'http://localhost:4444/wd/hub', // Boolean. If true, Protractor will connect directly to the browser Drivers ...
rajanmayekar/e2e-protractor-setup
protractor.conf.js
JavaScript
mit
1,883
ChrisAndroid ============
frasertheking/ChrisAndroid
README.md
Markdown
mit
26
#ifndef CPU_H #define CPU_H #include "Type.h" #include "memory.h" #include "stages.h" class cpu_core { public: cpu_core(); ~cpu_core(); void run(); word PC = 0; memory mem; word reg[32]; IFS ifs; IDS ids; EXS exs; MYS mys; WBS wbs; }; #endif /* CPU_H */
zmj1316/MIPS-Simulator
src/cpu.h
C
mit
298
#!/bin/bash # # Copyright (c) 2015 Ikey Doherty # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, ...
solus-project/toolchain-cruft
master.sh
Shell
mit
2,924
import express = require("express"); import passport = require('passport'); import jwt = require('express-jwt'); import AuthController = require("../../controllers/AuthController"); import IUser = require('../../app/model/interfaces/IUser'); import User = require('../../app/model/User'); var router = express.Router()...
teengoz/inventory-management
server/src/config/routes/AuthRoutes.ts
TypeScript
mit
850
<!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_29) on Sun Dec 11 02:01:58 EET 2011 --> <TITLE> edu.cmu.cs.stage3.alice.core.behavior Class Hierarchy </TITLE> <META NAME="date" CONTENT="2011-12-11...
ai-ku/langvis
doc/edu/cmu/cs/stage3/alice/core/behavior/package-tree.html
HTML
mit
14,167
from bioscrape.inference import DeterministicLikelihood as DLL from bioscrape.inference import StochasticTrajectoriesLikelihood as STLL from bioscrape.inference import StochasticTrajectories from bioscrape.inference import BulkData import warnings import numpy as np class PIDInterface(): ''' PID Interface : Pa...
ananswam/bioscrape
bioscrape/pid_interfaces.py
Python
mit
13,998
/** * format currency * @ndaidong **/ const { isNumber, } = require('bellajs'); const formatCurrency = (num) => { const n = Number(num); if (!n || !isNumber(n) || n < 0) { return '0.00'; } return n.toFixed(2).replace(/./g, (c, i, a) => { return i && c !== '.' && (a.length - i) % 3 === 0 ? ',' + c...
ndaidong/paypal-nvp-api
src/helpers/formatCurrency.js
JavaScript
mit
369
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using FilesToDatabaseImporter.Annotations; using FilesToDatabaseImporter.Helpers; using FilesToDatabaseImporter.Interfaces; namespace FilesToDatabaseImporter.ViewModels { public c...
JeroenVinke/FilesToDatabaseImporter
FilesToDatabaseImporter/ViewModels/SqlServerViewModel.cs
C#
mit
6,773
<upgrade> <phpfox_update_settings> <setting> <group>server_settings</group> <module_id>log</module_id> <is_hidden>0</is_hidden> <type>integer</type> <var_name>active_session</var_name> <phrase_var_name>setting_active_session</phrase_var_name> <ordering>2</ordering> <version_id>2.0.0alpha1</ve...
edbiler/BazaarCorner
module/log/install/version/3.0.0beta1.xml.php
PHP
mit
1,794
import React from 'react' import PropTypes from 'prop-types' import FormGroup from '../forms/FormGroup' import InputColor from '../forms/InputColor' const ColorStackOption = ({ label, name, value, definitions, required, onChange, error }) => { // default value may be null if (value === null) { value = '' } ...
rokka-io/rokka-dashboard
src/components/options/ColorStackOption.js
JavaScript
mit
884
import * as React from 'react'; import './TextBox.css'; interface Props { className: string; onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void; placeholder: string; } class TextBox extends React.Component<Props, {}> { public constructor(props: Props) { super(props); this.handleChange = this...
Chingu-Dolphins-3/9ball-scoring-app
client/src/components/TextBox/TextBox.tsx
TypeScript
mit
723
--- layout: post date: '2016-09-08' title: "A-line Empire Waist Sweetheart Beading Floor Length Satin Chiffon Lace Wedding Dress" category: A-Line tags: ["floor","line","length","star","bride"] image: http://www.starbrideapparel.com/426-thickbox_default/a-line-empire-waist-sweetheart-beading-floor-length-satin-ch...
lignertys/lignertys.github.io
_posts/2016-09-08-a-line-empire-waist-sweetheart-beading-floor-length-satin-chiffon-lace-wedding-dress.md
Markdown
mit
1,368
<template name="main"> <head> <title>Typing Master</title> </head> <body> <h1>Typing Master!</h1> {{> loginButtons}} <ul> <li> <a href="/">Play</a> </li> <li> <a href="/addDocument">Add a new document</a> </li> <li> <a href="/rooms">Create or join a game room</a> </li>...
wkgg/typingMaster
app/client/views/main.html
HTML
mit
364
using System; using System.Threading; using System.Threading.Tasks; namespace Tmds.DBus.Tests { class PingPong : IPingPong { public static readonly ObjectPath Path = new ObjectPath("/tmds/dbus/tests/pingpong"); public event Action<string> OnPing; public event Action OnPingNoArg; ...
tmds/Tmds.DBus
test/Tmds.DBus.Tests/PingPong.cs
C#
mit
1,208
// Copyright 2017 jem@seethis.link // Licensed under the MIT license (http://opensource.org/licenses/MIT) #include "key_handlers/key_normal.h" #include "core/matrix_interpret.h" #include "hid_reports/keyboard_report.h" /* TODO: fn keycode */ bit_t is_layer_keycode(keycode_t keycode) { return ( keycode >= KC_L0 ...
ahtn/keyplus
src/key_handlers/key_normal.c
C
mit
4,365
from flask_bcrypt import generate_password_hash # Change the number of rounds (second argument) until it takes between # 0.25 and 0.5 seconds to run. generate_password_hash('password1', 8)
VaSe7u/Supernutrient_0_5
hash_check.py
Python
mit
195
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width" /> <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico...
anas-ambri/androidcompat
docs/com/google/android/gms/drive/ExecutionOptions.html
HTML
mit
41,249
<!DOCTYPE html> <html> <head> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="initial-scale=1, minimum-scale=1, width=device-width"> <title>Nest API Test App</title> </head> <body> <div id="app"></div> <div id="overlay"></div> <script type="text/javascript" src="bundle.j...
Windstalker/nest-test-app
src/index.html
HTML
mit
349
<?php defined('SYSPATH') OR die('No direct script access.'); /** * Grid modeling library for creating data tables * * @package Grid * @author Kyle Treubig * @copyright (C) 2010 Kyle Treubig * @license MIT */ class Grid_Core { /** Array of table columns */ private $columns = array(); /** Array...
vimofthevine/grid
classes/grid/core.php
PHP
mit
2,048
package cn.honjow.leanc.ui.Fragment; import cn.honjow.leanc.adapter.QuestionListAdapter; import cn.honjow.leanc.ui.Activice.ChoQueActivity; import cn.droidlover.xdroidmvp.base.SimpleRecAdapter; import cn.honjow.leanc.model.QuestionItem; import cn.honjow.leanc.ui.BaseLeancFragment; import cn.droidlover.xrecyclerview.Re...
honjow/XDroidMvp_hzw
app/src/main/java/cn/honjow/leanc/ui/Fragment/ChoQueListFragment.java
Java
mit
1,611
#pragma warning disable 1591 // ------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. // Mono Runtime Version: 4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code ...
martijn00/VlcXamarin
VlcXamarin.Sample/Resources/Resource.designer.cs
C#
mit
2,159
<?php namespace JHWEB\SeguridadVialBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * SvCfgTipoVictima * * @ORM\Table(name="sv_cfg_tipo_victima") * @ORM\Entity(repositoryClass="JHWEB\SeguridadVialBundle\Repository\SvCfgTipoVictimaRepository") */ class SvCfgTipoVictima { /** * @var int * * ...
edosgn/colossus-sit
src/JHWEB/SeguridadVialBundle/Entity/SvCfgTipoVictima.php
PHP
mit
1,536
<!DOCTYPE html> <html lang="en-us"> <head> <title>Start TicTrainer Session</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" type="text/css" href="/stylesheets/bgStyle.css"> <link rel="stylesheet" type="text/css" href="/stylesheets/normalize.css"> </head> <bo...
jonkb/TicTrainer-node
src/webroot/session/index.html
HTML
mit
1,489
<div>{{error}}</div> <div><h3>{{account.name}}</h3></div> <div>Created on: {{account.created | date}}</div> <div>Server: {{world.name}} Population: {{world.population}}</div> <div class="panel panel-default"> <div class="panel-heading">Characters</div> <div class="panel-body"> <div ng-repeat="character in charact...
wporter82/gw2armory
accountInfo.html
HTML
mit
618
#include <Python.h> #include <stdio.h> #include <complex.h> #include "julia.c" static PyObject *_julia_Julia(PyObject *self, PyObject *args){ double min_r, max_r, min_i, max_i, resolution; Py_complex z; double complex Z; if(!PyArg_ParseTuple(args, "ddddDd", &min_r, &max_r, &min_i, &max_i, &z, &resolu...
jfamestad/julia
pyjulia.c
C
mit
1,532
--- location: 'Auditório Municipal - Lagoa ' title: P.L.I.N.T. - Pablo Lapidusas International Trio & Orquestra Clássica do Sul description: >- Piano: Pablo Lapidusas (Argentina) ; Baixo: Leo Espinosa (Cuba) ; Bateria: Marcelo Araújo (Portugal) ; Maestro: José Eduardo Gomes ; Orquestra Clássica do Sul des...
joaojusto/jose-gomes-landing-page
Data/events/ecb43511-985d-4ff2-a134-f31b162639c0.md
Markdown
mit
565
// (C) 2004 by Khaled Daham, <khaled@w-arts.com> // // Singleton // #include <iterator> #include "Log.h" #include <stdio.h> #include <stdarg.h> #include <windows.h> namespace ps2emu { typedef std::map<int32, std::string>::iterator m_mapIterator; /////////////////////////////// PUBLIC /////////////////////////////...
jsvennevid/tbl-4edges
Shared/External/ps2emu/Log.cpp
C++
mit
2,995
class Post < ActiveRecord::Base belongs_to :forum, :counter_cache => true belongs_to :user, :counter_cache => true belongs_to :topic, :counter_cache => true has_one :event_log, :as => :target, :dependent => :destroy acts_as_ferret :fields => ['company_id', 'project_id', 'body', 'forum_id'] format_attr...
SpiderJack/cit
app/models/post.rb
Ruby
mit
1,537
<?php namespace UserBundle\Security; use Symfony\Component\DependencyInjection\ContainerInterface as Container; use Symfony\Component\Routing\Router; class GoogleService { protected $container; protected $router; protected $redirectRouteName = 'google_check'; protected $scopes = ['email', 'profile'];...
KriBetko/rating.npu
src/UserBundle/Security/GoogleService.php
PHP
mit
1,146
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; namespace Querify.Advanced { public static class AdvancedQueryableExtensions { public interface IAdvancedQueryable<out T> { IQueryable<T> Query { get; } } private cla...
Lotpath/Querify
src/Querify/Advanced/AdvancedQueryableExtensions.cs
C#
mit
3,810
<?php $gameinfos = array( // Game designer (or game designers, separated by commas) 'designer' => 'Bruno Faidutti, Alan R. Moon', // Game artist (or game artists, separated by commas) 'artist' => 'Matthias Catrein, Paul Mafayon', // Year of FIRST publication of this game. Can be negative. 'year' =>...
AntonioSoler/bga-incangold
gameinfos.inc.php
PHP
mit
3,249
<!DOCTYPE html> <html ng-app="comparcelTester" ng-controller="AppCtrl"> <head> <title>Comparcel Regression Tester</title> <!-- social media tags --> <meta name="twitter:card" content="summary"> <meta name="twitter:site" content="@comparcel"> <meta name="twitter:title" content="comparcelTester"> ...
olliemaitland/comparcel-regression
src/index.html
HTML
mit
3,975
# -*- coding: utf-8 -*- # Copyright (c) 2010-2017 Tuukka Turto # # 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,...
tuturto/pyherc
src/herculeum/ui/gui/mainwindow.py
Python
mit
8,099
Docker Development Environment ============================== I've seen a lot of things on the Internet about "How to launch *x* in Docker," but I've never seen anything that actually makes *use* of the things that are being launched. In an effort to change that, I've captured my development environment requirements ...
ballpointcarrot/docker-dev-env
README.md
Markdown
mit
1,033
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>ptsf: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" r...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.11.2-2.0.7/released/8.12.1/ptsf/8.8.0.html
HTML
mit
7,092
<?php namespace Anax\Comments; /** * A controller for comments and such events. */ class CommentsController implements \Anax\DI\IInjectionAware { use \Anax\DI\TInjectable; /** * Initialize the controller. * * @return void */ public function initialize() { $this->comments = new \Anax\Comments\Comment(...
KarlGW/fo
src/Comments/CommentsController.php
PHP
mit
3,992
<!DOCTYPE html> <html lang="en"> <head> <link rel="stylesheet" href="../css/main.css" type="text/css"> </head> <style> body { background: green; } </style> <body> <article id="boveda" title="BOVEDA"> <div class="dialogContent"> <div class="styledDiv"> <div class="horizonta...
horacioMartinez/dakara-client
client/menus/boveda.html
HTML
mit
2,347
Sample init scripts and service configuration for kored ========================================================== Sample scripts and configuration files for systemd, Upstart and OpenRC can be found in the contrib/init folder. contrib/init/kored.service: systemd service unit configuration contrib/init/kore...
Kore-Core/kore
doc/init.md
Markdown
mit
5,086
package joshie.progression.api.gui; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; /** Implement this on rewards, triggers, filters, conditions, * if you wish to draw something special on them, other than default fields. */ public interface ICustomDrawGuiDisplay {...
joshiejack/Progression
src/main/java/joshie/progression/api/gui/ICustomDrawGuiDisplay.java
Java
mit
449
from utils.face import Face import pygame from utils.message import Message from utils.alarm import Alarm class Button(pygame.sprite.Sprite): def __init__(self, rect, color=(0,0,255), action=None): pygame.sprite.Sprite.__init__(self) self.color = color self.action = action self...
khan-git/pialarmclock
faces/alarmsetting.py
Python
mit
3,537
# @turf/helpers # feature Wraps a GeoJSON [Geometry](http://geojson.org/geojson-spec.html#geometry) in a GeoJSON [Feature](http://geojson.org/geojson-spec.html#feature-objects). **Parameters** - `geometry` **[Geometry](http://geojson.org/geojson-spec.html#geometry)** input geometry - `properties` **[Object](htt...
stebogit/turf
packages/turf-helpers/README.md
Markdown
mit
10,558
const td = require('testdouble'); const expect = require('../../../../helpers/expect'); const RSVP = require('rsvp'); const Promise = RSVP.Promise; const adbPath = 'adbPath'; const deviceUUID = 'uuid'; const apkPath = 'apk-path'; const spawnArgs = [ad...
isleofcode/corber
node-tests/unit/targets/android/tasks/install-app-device-test.js
JavaScript
mit
1,696
package edu.gatech.nutrack; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.support.v4.app.NavUtils; import android.view.Menu; import android.view.MenuItem; import android.view.View; public class Home extends Activity { @Override protected void onCreate(Bundle ...
i3l/NuTrack
src/edu/gatech/nutrack/Home.java
Java
mit
2,842
<?php /** * Smarty Internal Plugin Template * This file contains the Smarty template engine * * @package Smarty * @subpackage Template * @author Uwe Tews */ /** * Main class with template data structures and methods * * @package Smarty * @subpackage Template * * @property Smarty_Template_Source|...
yanlyan/si_ibuhamil
system/plugins/smarty/libs/sysplugins/smarty_internal_template.php
PHP
mit
23,765
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.** Caching with Rails: An Overview =============================== This guide is an introduction to speeding up your Rails application with caching. Caching means to store content generated during the request-response cycle and ...
vassilevsky/rails
guides/source/caching_with_rails.md
Markdown
mit
22,553
/**************************************************************************** Copyright (c) 2013-2015 scutgame.com http://www.scutgame.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software ...
wenhulove333/ScutServer
Sample/Koudai/Server/src/ZyGames.Tianjiexing.BLL/Action/Action6103.cs
C#
mit
6,232
app.config(function ($routeProvider, $locationProvider) { "use strict"; $routeProvider.when('/', { controller: 'HomeController', templateUrl: '/static/apps/main/views/home.html', resolve: { tasks: function (TaskService) { return Tas...
mc706/task-burndown
assets/apps/main/config/routes.js
JavaScript
mit
4,692
#ifndef DEF_DOMAIN #define DEF_DOMAIN #include <iostream> #include <list> #include <set> using namespace std; class Domain { public: Domain(); Domain(int newn); void afficher(); bool isEmpty(); int smallestDom(); list<int> * getLDomain(); void setLDomain(list<int> ...
Bien-CV/CP_BranchAndLydia
CP propre/Domain.h
C
mit
411