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
package xyz.thepathfinder.routing.domain; public class CommodityPickup implements CommodityStart, CommodityAction { final String name; public CommodityPickup(String name) { this.name = name; } @Override public String getName() { return name; } @Override public String ...
CSSE497/pathfinder-routing
simulatedannealing/src/main/java/xyz/thepathfinder/routing/domain/CommodityPickup.java
Java
mit
367
var quizQuistions = { name:"Super Hero Name Quiz", description:"How many super heroes can you name?", headline:"What is the real name of ", mainquestionList: [ { "questionName": "Superman", "answer": "Clarke" }, { "questionName": "Batman", "answer": "Bruce" }, { ...
Arifkarimm/JS-Quiz-application
js/script.js
JavaScript
mit
3,117
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Short Form Blogging &#8211; Startup Product Manager</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="On building products th...
anandrajaram/anandrajaram.github.io
_site/2014/11/short-form-blogging/index.html
HTML
mit
8,927
using Schokotaler.Api.Models; namespace Schokotaler.Api.Repository { public interface ICreditCardRepository : IRepository<CreditCard, long> { } }
ro-kue/SchokoTaler_backend
schokotaler_webapi/Repository/ICreditCardRepository.cs
C#
mit
163
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; using static Leto.Interop.LibCrypto; namespace Leto.Interop { public static partial class OpenSsl { [DllImport(Libraries.LibSsl, CallingConvention = CallingConvention.Cdecl)] public static e...
Drawaes/Leto
src/Leto.Interop/OpenSsl/SSL_set0_rbio.cs
C#
mit
373
<?php /** * @author Dmitry Landa <dmitry.landa@yandex.ru> * * For the full copyright and license information, please view the * LICENSE file that was distributed with this source code. */ namespace Lmi\Bundle\SchoolBundle\Twig; /** * @author Dmitry Landa <dmitry.landa@yandex.ru> */ class LmiSchoolExtension extends ...
DmitryLanda/lmi
src/Lmi/Bundle/SchoolBundle/Twig/LmiSchoolExtension.php
PHP
mit
1,704
package org.pitrecki.spring_learnining.otherthings.animals; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Component; ...
pitrecki/spring-tutorial
src/main/java/org/pitrecki/spring_learnining/otherthings/animals/Dog.java
Java
mit
756
<!DOCTYPE html> <html> <head> <link href="css/awsdocs.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="js/jquery.min.js"></script> <script type="text/javascript" src="js/awsdocs.min.js"></script> <meta charset="utf-8"> </head> <body> <div id="content" style="padding: 10px 3...
pdhodgkinson/AWSCloudFormationTemplateReference-dash-docset
AWS_CloudFormation_Template_Reference.docset/Contents/Resources/Documents/aws-properties-iot-topicrule-cloudwatchalarmaction.html
HTML
mit
6,296
// This file is part of the cube - ica/cuda - software package // Copyright © 2010-2013 Christian Kellner <kellner@bio.lmu.de> // License: MIT (see LICENSE.BSD-MIT) #ifndef CUBE_BLAS_H #define CUBE_BLAS_H #ifdef __cplusplus extern "C" { #endif #include "cube.h" enum _cube_blas_op_t { CUBE_BLAS_OP_N = 0, CUBE_BL...
gicmo/cube
lib/cube_blas.h
C
mit
1,294
<!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_10-rc) on Sat Sep 06 21:53:02 CEST 2008 --> <TITLE> Uses of Interface be.belgium.eid.objects.SmartCardReadable </TITLE> <META NAME="date" C...
KeejOow/eidlib
jEidlib/doc/be/belgium/eid/objects/class-use/SmartCardReadable.html
HTML
mit
14,318
package com.example.english.app; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; public class lwActivity extends AppCompatActivity { Button lwA; @Override protected void onCreate(Bundle savedI...
achievelife/android
app/src/main/java/com/example/english/app/lwActivity.java
Java
mit
738
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 30 2020 21:18:12). // // Copyright (C) 1997-2019 Steve Nygard. // #import <AppKit/NSTableCellView.h> @class MISSING_TYPE, NSImageView, NSTextField; @interface _TtC6IDEKit32IDEAccountPrefsPaneTableCellView : NSTableCellView { MISSING_TYPE...
XVimProject/XVim2
XVim2/XcodeHeader/IDEKit/_TtC6IDEKit32IDEAccountPrefsPaneTableCellView.h
C
mit
666
Although we're done with our workshop, there's still a LOT more to learn about containers! We're not going to go deep-dive here, but here are a few other areas to look at next! ## Container Orchestration Running containers in production is tough. You don't want to log into a machine and simply run a `docker run` or ...
rikenshah/rikenshah.github.io
_site/getting-started/docs/tutorial/what-next/index.md
Markdown
mit
1,631
//----------------------------------------------------------------------------- // Copyright (c) 2015 Andrew Mac // // 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, inc...
JeffProgrammer/Torque6
src/scene/components/decalComponent.h
C
mit
2,838
<?php if(!defined('ABSPATH')) { exit; } function easyazon_get_converted_currency($value, $locale) { $converted = $value; $locale = easyazon_get_locale($locale); switch($locale) { case 'BR': case 'CA': case 'CN': case 'DE': case 'ES': case 'FR': case 'IN': case 'IT': case 'UK': case 'US': $c...
TropicalRobot/finding-beyond
public/app/plugins/easyazon-pro-4.0.17/lib/amazon.php
PHP
mit
13,519
using System; namespace Quasar.Communication.Packets.Outgoing.Rooms.Camera { public class BuyPhoto : ServerPacket { public BuyPhoto() : base(ServerPacketHeader.BuyPhoto) { } } }
slaapkopamy/PlusEmu-making-ready-for-linux-server
Communication/Packets/Outgoing/Rooms/Camera/BuyPhoto.cs
C#
mit
229
# nwjs-security Securing nwjs desktop app
cloudgua/nwjs-security
README.md
Markdown
mit
42
<?php /** * Controller for the Media Menu * Extends the IndividualController class and overrides the getEditMenu() function * Menu options are changed to apply to a media object instead of an individual * * phpGedView: Genealogy Viewer * Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved. * ...
fweber1/Annies-Ancestors
PhpGedView/includes/controllers/media_ctrl.php
PHP
mit
17,411
// Copyright 2019 The Gitea Authors. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. package repofiles import ( "testing" "code.gitea.io/gitea/models" api "code.gitea.io/gitea/modules/structs" "code.gitea.io/gitea/modules/test" "githu...
kubatyszko/gitea
modules/repofiles/tree_test.go
GO
mit
1,384
#!/usr/bin/env node /** * @file stream.js * * Custom object to inherit from EventEmitter, with the help of `util' * */ var events = require('events'); function Stream() { events.EventEmitter.call(this); } util.inherits(Stream, events,EventEmitter);
uwydoc/nodejs-practices
stream.js
JavaScript
mit
259
/* * * * */ #ifndef RENDER_H #define RENDER_H void render_init (); void render_pixel_delay (uint8_t pixel_delay); void render_phrase_delay (uint8_t phrase_delay); void render_stable_delay (uint8_t delay); #endif
cppcoder123/led-server
obsoleted/old/arduino-obsolete/c/arduino/render.h
C
mit
221
--- layout: page title: Say Hello permalink: /contact/ --- <div class="py2"> <form action="https://getsimpleform.com/messages?form_api_token=395acb3b6186e729beba701fa2b0386a" method="POST" class="form-stacked form-light"> <input type="text" name="email" class="input mobile-block" placeholder="Email Address"> ...
Jrjungemann/Jrjungemann.github.io
contact.html
HTML
mit
560
// © 2013 the Search Authors under the MIT license. See AUTHORS for the list of authors. #include "mdist.hpp" #include <cstdlib> #include <limits> #include <vector> TilesMdist::TilesMdist(FILE *in) : Tiles(in) { initmd(); initincr(); } TilesMdist::State TilesMdist::initialstate() { State s; s.h = 0; for (unsign...
skiesel/search
tiles/mdist.cc
C++
mit
1,512
FROM centos:6.7 #install remi RUN yum -y install epel-release RUN yum -y install wget RUN wget -P /etc/yum.repos.d http://rpms.famillecollet.com/enterprise/remi.repo #install php RUN yum -y --enablerepo=remi,remi-php56 install php php-common #install composer RUN curl -sS https://getcomposer.org/installer | php; mv ...
niisan-tokyo/log_experioment
niisan-tokyo/Dockerfile
Dockerfile
mit
809
/** * Created by admin on 14.09.2015. */ var gulp = require('gulp'); var less = require('gulp-less'); var csso = require('gulp-csso'); var concat = require('gulp-concat'); var uglify = require('gulp-uglify'); var imagemin = require('gulp-imagemin'); var sourcemaps = require('gulp-sourcemaps'); var ngAnnotate = requir...
opu-edu-projects/sea-battle
public/gulpfile.js
JavaScript
mit
1,325
#!/usr/bin/python import urllib2 url = "http://localhost:8888/test/test.txt" html = urllib2.urlopen(url).read() print html send_headers = { 'range':'bytes=10-' } req = urllib2.Request(url, headers=send_headers) html = urllib2.urlopen(req).read() print html
misilences/incipe
var/www/test/crawler/rbt.py
Python
mit
266
<?php defined('BASEPATH') OR exit('No direct script access allowed'); // ----------------------------------------------------------------------- if ( ! function_exists('islogin')) { function islogin(){ $CI =& get_instance(); $is_logged_in = $CI->session->userdata('loginAdmin'); if(!isset($is_logged_...
maxirossi/firestorm
admin/application/helpers/islogin_helper.php
PHP
mit
409
<?php namespace ExchangeRate; use GuzzleHttp\ClientInterface; use Money\Currency; interface ExchangeRateRetriever { /** * @param ClientInterface $client * @param Currency $baseCurrency * @param string $apiKey */ public function __construct(ClientInterface $client, Currency...
rgeraads/exchange-rate
src/ExchangeRate/ExchangeRateRetriever.php
PHP
mit
495
import marked from 'marked'; import { isAbsolutePath, getPath, getParentPath } from '../router/util'; import { isFn, merge, cached, isPrimitive } from '../util/core'; import { tree as treeTpl } from './tpl'; import { genTree } from './gen-tree'; import { slugify } from './slugify'; import { emojify } from './emojify'; ...
nsina/docsify
src/core/render/compiler.js
JavaScript
mit
8,971
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModu...
jmenglis/OliveRiley
webpack.js
JavaScript
mit
3,146
package net.openorbit.model.entities.map.planet; import net.openorbit.EntitiesDictionnary; import net.openorbit.json.IJsonDeserializable; import net.openorbit.json.JsonException; /** * @author kheless * @date 06-02-15 */ public class TileDecoration{ //Fields public String ID; public String typeName; ...
Leosky/OpenOrbit
src/main/java/net/openorbit/model/entities/map/planet/TileDecoration.java
Java
mit
354
> Documentation and development interface for component libraries # @patternplate/compiler * Framework independent * Bring design docs to live with real components * Powerful search and meta data system This is the contributor documentation for `@patternplate/cli` For user docs see [patternplate.github.io](https://p...
sinnerschrader/patternplate
packages/compiler/README.md
Markdown
mit
1,149
/*** @jsx React.DOM */ var React = require('react'); var JigsawStore = require('../stores/JigsawStore'); var JigsawActions = require('../actions/JigsawActions'); /** * A button to update the random number generator seed. * @type {*|Function} */ var Randomizer = React.createClass({ getInitialState: function() { ...
davidhmartin/flux-jigsaw
src/js/components/Randomizer.js
JavaScript
mit
938
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Sylius\Bundle\ApiBundle\ApiPlatform; /** @experimental */ final c...
pamil/Sylius
src/Sylius/Bundle/ApiBundle/ApiPlatform/ApiResourceConfigurationMerger.php
PHP
mit
1,586
import * as React from 'react'; import * as t from '../types'; import {logger} from '../utils/log'; import {TextEditor} from './TextEditor'; const log = logger('QueryEditor', {count: ['render']}); export interface Props extends React.ClassAttributes<any> { query: t.Query; sources: t.DataSource[]; updateTitle(...
dbslate/dbslate
src/_userProject/client/views/QueryEditor.tsx
TypeScript
mit
2,054
<!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 (version 1.7.0_25) on Sat Jan 30 13:02:50 EST 2016 --> <title>BestCostRouteCrossover</title> <meta name="date" content="2016-01-30"> <link rel="styles...
aawuley/evolutionary-computation
doc/ec/operator/crossover/BestCostRouteCrossover.html
HTML
mit
17,011
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
BonexGu/Blik2D-SDK
Blik2D/addon/opencv-3.1.0_for_blik/modules/videoio/src/cap_mjpeg_decoder.cpp
C++
mit
26,763
<!DOCTYPE html> <html> <head> <title>{% if page.title %}{{ page.title }} – {% endif %}{{ site.name }} – {{ site.description }}</title> {% include meta.html %} <!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link rel="stylesheet" t...
stasisguy/Pixelartblog.github.io
_layouts/default.html
HTML
mit
1,623
package com.bookstore.controller.order; import com.bookstore.bean.Book; import com.bookstore.bean.Order; import com.bookstore.bean.OrderBook; import com.bookstore.bean.User; import com.bookstore.controller.user.BaseUserController; import com.bookstore.dao.BookDAO; import com.bookstore.dao.OrderBookDAO; import com.book...
ComMouse/SE228-Answers
src/iteration2/src/com/bookstore/controller/order/ViewController.java
Java
mit
2,572
lychee.define('fertilizer.Main').requires([ 'lychee.Input', 'lychee.data.JSON', 'fertilizer.data.Filesystem', 'fertilizer.data.Shell', 'fertilizer.template.html.Application', 'fertilizer.template.html.Library', 'fertilizer.template.html-nwjs.Application', 'fertilizer.template.html-nwjs.Library', 'fertilizer.t...
CodeKittey/lycheeJS
libraries/fertilizer/source/Main.js
JavaScript
mit
5,010
(function () { 'use strict'; angular .module('templateApp') .controller('Page2Detail', Page2Detail); Page2Detail.$inject = ['$routeParams', '$firebaseObject', 'FIREBASE_URL']; /* @ngInject */ function Page2Detail($routeParams, $firebaseObject, FIREBASE_URL) { /* jshint val...
efarr/ng-ui-bootstrap-firebase
src/app/page2/Page2Detail.js
JavaScript
mit
673
package lineargo /* #include <stdlib.h> */ import "C" import "unsafe" func mapCDouble(in []float64) []C.double { out := make([]C.double, len(in), len(in)) for i, val := range in { out[i] = C.double(val) } return out } func mapCInt(in []int) []C.int { out := make([]C.int, len(in), len(in)) for i, val := range...
lazywei/liblinear
utils.go
GO
mit
678
import Discover from 'node-discover'; import EventEmitter from 'events'; export default class Discovery extends EventEmitter { constructor(channel = 'handover') { super(); this.channel = channel; this.d = Discover(); this.d.join(this.channel, this.handleReceive.bind(this)); } stop() { this.d...
bsingr/handover
src/Discovery.js
JavaScript
mit
722
N = int(input()) B = [int(x) for x in input().split()] A = [10**5] * N for i, b in enumerate(B): A[i] = min(A[i], b) A[i+1] = min(A[i+1], b) print(sum(A))
knuu/competitive-programming
atcoder/abc/abc140_c.py
Python
mit
163
# encoding: UTF-8 # This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. # # Note that this schema.rb definition is the authoritative sou...
znvPredatoR/api-rails-pg
db/schema.rb
Ruby
mit
2,455
/** * keta 1.11.0 * Build 2021-04-21T15:24:16.331Z * * Copyright Kiwigrid GmbH 2014-2021 * http://kiwigrid.github.io/keta/ * * Licensed under MIT License * https://raw.githubusercontent.com/kiwigrid/keta/master/LICENSE */ "use strict";angular.module("keta.services.TagSet",["keta.services.Tag"]).provider("ketaT...
kiwigrid/keta
services/tag-set.min.js
JavaScript
mit
1,217
package com.onemightyroar.campfire.api.models; import java.io.Serializable; import java.util.Date; import org.json.JSONObject; import com.onemightyroar.campfire.api.utils.ToStringBuilder; public class Account implements Serializable { private static final long serialVersionUID = 1L; private Long id; private...
onemightyroar/campfire-api
src/com/onemightyroar/campfire/api/models/Account.java
Java
mit
2,161
import {NotFound} from '.' import {shallowRender} from '../../utils/testUtils' import {expect} from 'chai' import {findWithType, findAllWithType} from 'react-shallow-testutils' describe('frontend not found view', () => { it('renders not found', () => { const component = shallowRender(NotFound, { className...
rkovacevic/hapijs-starter
frontend/views/notFound/index.spec.js
JavaScript
mit
433
<?php return array( 'number.decimals_separator' => ',', 'number.thousands_separator' => ' ', 'None' => 'Cap', 'Edit' => 'Edita', 'Remove' => 'Elimina', 'Yes' => 'Si', 'No' => 'No', 'cancel' => 'cancel·la', 'or' => 'o', 'Yellow' => 'Groc', 'Blue' => 'Blau', 'Green' => 'Ve...
libin/kanboard
app/Locale/ca_ES/translations.php
PHP
mit
88,953
try { Add-Type -TypeDefinition "public enum Syslog_Facility { kern, user, mail, daemon, auth, syslog, lpr, news, uucp, cron, authpriv, ftp, ntp, logaudit, logalert, clock, local0, local1, local2, local3, local4, local5, local6, local7 }" Add-Type -TypeDefinition "public enum Syslog_Severity { emerg, alert, crit...
jheiselman/utilities
Powershell/Syslog/Syslog.psm1
PowerShell
mit
5,603
<?php namespace Bravesheep\PhpspecExtraMatchers\Matcher\Mink; use Behat\Mink\Session; use Bravesheep\PhpspecExtraMatchers\Matcher\SimpleMatcher; use PhpSpec\Exception\Example\FailureException; class StatusCodeMatcher extends SimpleMatcher { /** * {@inheritdoc} */ protected function matches($subject...
bravesheep/phpspec-extra-matchers
src/Bravesheep/PhpspecExtraMatchers/Matcher/Mink/StatusCodeMatcher.php
PHP
mit
1,835
/** * @file DomTest.hpp * @brief Top level header for DomTest * @author Dominique LaSalle <wildriver@domnet.org> * Copyright 2015 * @version 1 * @date 2015-08-22 */ #ifndef DOMTEST_HPP #define DOMTEST_HPP #include <stdexcept> #include <string> #include <iostream> /***********************************...
dlasalle/wildriver
src/test/DomTest.hpp
C++
mit
3,118
package com.accelad.acctive.sim.kernel.core.evaluator.diff; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.function.Predicate; import com.accelad.math.nilgiri.Field; import com.accelad.math.nilgiri.autodiff.DifferentialFunction; ...
accelad-com/math-evaluator
src/main/java/com/accelad/acctive/sim/kernel/core/evaluator/diff/VariableCheckFunctionDecorator.java
Java
mit
2,738
<!DOCTYPE html> <html> {{> head}} <body id="page"> {{> header}} <main> <section id="content" class="wrapper"> <h1>{{title}}</h1> {{{contents}}} </section> </main> {{> footer}} </body> </html>
justinhelmer/lodash.github.io
source/layouts/page.html
HTML
mit
242
/* Requirements */ var express = require('express'); var app = express() , server = require('http').createServer(app) , io = require('socket.io').listen(server) , mongoose = require('mongoose'); /* Initialization */ server.listen(3333); mongoose.connect('mongodb://localhost/test'); /* Global variable setup */ v...
anyaelise/dyo-layoff
app/server.js
JavaScript
mit
1,845
// Testable main #ifndef TEST #define MAIN main #else #define MAIN testable_main #endif int MAIN(void) { return 0; }
0ge/AxU
AxU/AVR.xctemplate/src/main.c
C
mit
120
/*Problem 8. Number as words Write a script that converts a number in the range [0…999] to words, corresponding to its English pronunciation.*/ String.prototype.capitalize = function() { return this.charAt(0).toUpperCase() + this.slice(1); }; var numbers = [0, 9, 10, 12, 19, 25, 98, 98, 273, 400, 501, 617, 711,...
AYankova/HTML-CSS
05. Conditional Statements/Problem 8. Number as words.js
JavaScript
mit
2,373
module ActionCost class StatsCollector def initialize @stats = {} end def push(request) ca = controller_action_string(request) add_request(ca, request.operation_stats, request.table_stats) end def log pp @stats end def data @stats end private de...
plerohellec/action_cost
lib/action_cost/stats_collector.rb
Ruby
mit
1,338
class Event attr_reader :connection def initialize(connection, reaction_formatter) @connection = connection @reaction_formatter = reaction_formatter end def restaurants page.search('.myfooda-event__restaurant').map do |search_result| Restaurant.new(search_result, @reaction_formatter) end...
dpca/slack-fooda-bot
lib/fooda-bot/event.rb
Ruby
mit
888
// Type definitions for three.js (EffectComposer.js) // Project: https://github.com/mrdoob/three.js/blob/r68/examples/js/postprocessing/EffectComposer.js // Definitions by: Satoru Kimura <https://github.com/gyohk> // Definitions: https://github.com/borisyankov/DefinitelyTyped /// <reference path="./three.d.ts" /> /// ...
bobslaede/DefinitelyTyped
threejs/three-effectcomposer.d.ts
TypeScript
mit
960
class UserInput { constructor(game) { this.game = game; this.keyCodeMapper = { 37: 'left', 38: 'up', 39: 'right', 40: 'down' }; } getUserInput(){ window.addEventListener("keydown", this.sendUserInput.bind(this)); } sendUserInput(event) { var input = this.keyCodeMa...
kjs222/gametime
lib/userInput.js
JavaScript
mit
491
import { describe, it } from 'mocha'; import Immutable from 'immutable'; import deepFreeze from 'deep-freeze'; import { createStore } from 'redux'; import { createReducerTest, executeCbs } from './helpers'; import { defaultState as objDefaultState, actions as objActions } from './objectState/index'; import { defaultSta...
appfeel/path-reducer
test/immutableState.js
JavaScript
mit
3,701
<!doctype html> <html> <head> <title>Season Tracker Options</title> <link rel="icon" type="image/png" href="icon.png" /> <link href="css/bootstrap.min.css" rel="stylesheet"> <script type="text/javascript" src="js/jquery.js"></script> <script src="options.js"></script> </head> <body> <div clas...
vabene1111/ChromeSeasonTracker
options.html
HTML
mit
2,442
using SIS.Framework; using System.Collections.Generic; using Torshia.Models; using Torshia.Models.Enums; using Toshia.Data; namespace Torshia { public class Launcher { public static void Main() { //SeedTasks(); WebHost.Start(new StartUp()); } private st...
MihailDobrev/SoftUni
C# Web/C# Web Development Basics/Exam Preparation I - Torshia/Torshia/Launcher.cs
C#
mit
1,267
import Washi from '../washi' describe('Chain', function() { it('can chain objects', function() { var obj = {} var mock = jest.fn() Washi.$.chain(obj).tap(mock) expect(mock.mock.calls[0][0]).toEqual(obj) }) it('can chain arrays', function() { var arr = [1] var result = Washi.$ .c...
vigetlabs/washi
__tests__/chain-test.js
JavaScript
mit
1,331
/* * Kendo UI Complete v2013.2.918 (http://kendoui.com) * Copyright 2013 Telerik AD. All rights reserved. * * Kendo UI Complete commercial licenses may be obtained at * https://www.kendoui.com/purchase/license-agreement/kendo-ui-complete-commercial.aspx * If you do not own a commercial license, this file shall be gover...
staafl/team-azure-dragon
src/LearningSystem.App/Scripts/KendoUI/kendo.mobile.shim.js
JavaScript
mit
3,206
import { inject, TestBed } from "@angular/core/testing"; import { JsonSchemaFileService } from "./json-schema-file.service"; describe("JsonSchemaFileService", () => { beforeEach(() => { TestBed.configureTestingModule({ providers: [JsonSchemaFileService], }); }); });
Marketto/mkServiceDesigner
src/app/file-service/json-file-service/json-schema-file.service.spec.ts
TypeScript
mit
288
title: How to setup Django + mysql + Apache date: 2014-08-23 14:21:36 tags: --- ### Below is a step by step account of how to set up a django (1.6) web application on a CentOS (6.4) server, running Apache (2.5) and python (2.6, 2.7) 1: **Login as root and set up a new user** You probably want to eventually disable r...
babraham123/mysite-blog
source/_posts/How-to-setup-Django-+-mysql-+-Apache.md
Markdown
mit
6,275
<?php /* flush content from a category, event, playlist, whatever can be done by owners of the meta object */ $login_required = true; require_once('/median-webapp/includes/login_check.php'); require_once('/median-webapp/includes/error_functions.php'); require_once('/median-webapp/includes/meta_functions.php'); ...
emersonit/median
code/webapp/www/do/flush.php
PHP
mit
8,101
#!/usr/bin/env python '''coffeehandlers.py - Waqas Bhatti (wbhatti@astro.princeton.edu) - Jul 2014 This contains the URL handlers for the astroph-coffee web-server. ''' import os.path import logging import base64 import re LOGGER = logging.getLogger(__name__) from datetime import datetime, timedelta from pytz imp...
waqasbhatti/astroph-coffee
src/coffeehandlers.py
Python
mit
91,422
<!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 (version 1.7.0_51) on Wed Feb 26 09:23:53 CST 2014 --> <title>B-Index</title> <meta name="date" content="2014-02-26"> <link rel="stylesheet" type="tex...
hgrimberg01/eecs690_project1
EECS690_project1/doc/index-files/index-2.html
HTML
mit
4,825
#region Copyright & License /* MIT License Copyright (c) 2017 Pyramid Technologies 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...
PyramidTechnologies/ThermalTalk
ThermalTalk/ISerialConnection.cs
C#
mit
3,025
// // RMNofications.h // // Copyright (c) 2008-2009, Route-Me Contributors // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyrig...
sutromedia/ios-travel-guide
MapView/Map/RMNotifications.h
C
mit
2,375
using System; using System.Linq; namespace NBitcoin { [Flags] public enum BlockFlag //block index flags { BLOCK_PROOF_OF_STAKE = (1 << 0), // is proof-of-stake block BLOCK_STAKE_ENTROPY = (1 << 1), // entropy bit for stake modifier BLOCK_STAKE_MODIFIER = (1 << 2), // regenerated stake modifier }; public ...
stratisproject/NStratis
NBitcoin/BlockStake.cs
C#
mit
6,877
<?php /* * This file is part of PHPExifTool. * * (c) 2012 Romain Neutron <imprec@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\Sony; use JMS\Serializer\Annotation\ExclusionPolicy; us...
romainneutron/PHPExiftool
lib/PHPExiftool/Driver/Tag/Sony/SweepPanoramaDirection.php
PHP
mit
1,240
""" This file was generated with the customdashboard management command and contains the class for the main dashboard. To activate your index dashboard add the following to your settings.py:: GRAPPELLI_INDEX_DASHBOARD = 'version3.dashboard.CustomIndexDashboard' """ from django.utils.translation import ugettext_la...
bittssystem/version3
dashboard.py
Python
mit
4,121
import { StyleSheet } from 'react-native'; import { PRIMARY_COLOR, COLOR_WHITE } from '../../styles/colors'; const styles = StyleSheet.create({ toolbar: { height: 56, backgroundColor: PRIMARY_COLOR }, container: { flex: 1, backgroundColor: PRIMARY_COLOR, }, contentCo...
Seedstars/reactnative-mobile-app-base
js/containers/Register/styles.js
JavaScript
mit
646
"""Test event helpers.""" # pylint: disable=protected-access,too-many-public-methods # pylint: disable=too-few-public-methods import unittest from datetime import datetime, timedelta from astral import Astral from homeassistant.bootstrap import setup_component import homeassistant.core as ha from homeassistant.const ...
leoc/home-assistant
tests/helpers/test_event.py
Python
mit
13,995
using System; using System.Linq; class SubstringInText { static void Main() { string pattern = Console.ReadLine(); string text = Console.ReadLine(); int counter = 0; for (int i = 0; i < text.Length - pattern.Length + 1; i++) { if (text.Substring(i, pattern....
KaloyanIT/SoftwareAcademy2016
Homeworks/C#2/06. Strings and Text Processing - Homework/04. Sub-string in text/04. SubStringInText.cs
C#
mit
493
<!DOCTYPE html> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"...
OneMoreCheckin/mobile-app
phonegap/2.6.0/windows-phone-8/example/www/index.html
HTML
mit
3,905
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using NuGet.Modules; using Redirect; using RedirectService.Configuration; namespace RedirectService { public class RedirectModule : IModule { private readonly List<HttpRedirect> _redirects = new Li...
Apozhidaev/RedirectService
RedirectService/RedirectModule.cs
C#
mit
2,206
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <meta charset="utf-8"> <base href="https://wordbit.com"> <title> New miracle drug </title> <link rel="canonical" href="https://wordbit.com/posts/new-miracle-drug/"> <link rel="stylesheet" href="/css/poole.css"...
wordbit/wordbit
public/posts/new-miracle-drug/index.html
HTML
mit
2,447
<!DOCTYPE html> <html lang="en" ng-app="demo"> <head> <meta charset="UTF-8"> <title>Title</title> <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css"/> <link rel="stylesheet" href="directive/panel.css"/> <script type="text/javascript" src="libs/angular.min.js"></script> <script type="t...
liufeng2015/angular-panel
index.html
HTML
mit
680
import { connect } from 'react-redux'; import Head from '../components/Head'; function mapStateToProps(state) { return { title: state.db.title, ...state.theme } } export default connect(mapStateToProps)(Head);
cape-io/cape-forms-demo
common/containers/Head.js
JavaScript
mit
225
// // DEMOContainerViewController.h // fluidArchitecture // // Created by Moritz Ellerbrock on 26.09.17. // Copyright © 2017 fluidmobile GmbH. All rights reserved. // #import "DEMOViewController.h" #import "DEMOContainerContracts.h" @interface DEMOContainerViewController : DEMOViewController <DEMOContainerViewInp...
fluidmobile/hero
Example/HeroArchitecture/source/modules/container/view/DEMOContainerViewController.h
C
mit
331
/** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @emails react-core */ 'use strict'; var React; var ReactDOM; var ReactDOMComponentTree; var ReactTestUtils; var SelectEventPlugin; ...
silvestrijonathan/react
packages/react-dom/src/events/__tests__/SelectEventPlugin-test.js
JavaScript
mit
2,572
# Linked Lists *Taken from Cracking the Coding Interview, 6th edition* **Remove Dups:** Write code to remove duplicates from an unsorted linked list. **Return Kth to Last:** Implement an algorithm to find the kth to last element of a singly linked list **Delete Middle Node:** Implement an algorithm to...
Zovfreullia/unit-4-assignments
exercises/linked-lists.md
Markdown
mit
1,434
# help Help Messages for Unix Bash Go to the cloned folder and execute the `init.sh` script Add the cloned folder to the PATH variable: `$ export PATH=${PATH}:/path/to/help`
tik0/help
README.md
Markdown
mit
176
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - Mozilla/5.0 (Linux; U; Android 4.1.9; zh-cn; HTC EVO 4GS Build/HTC EVO 4GS) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30</title> <link rel="stylesheet" href="https://...
ThaDafinser/UserAgentParserComparison
v5/user-agent-detail/d5/67/d567cefe-91bc-4de4-b6bd-a2907e148c04.html
HTML
mit
56,608
package com.fallenritemonk.ludus; import android.content.SharedPreferences; import android.graphics.Color; import android.os.Bundle; import com.github.paolorotolo.appintro.AppIntro2; import com.github.paolorotolo.appintro.AppIntroFragment; /** * Created by FallenRiteMonk on 10/21/15. */ public class Tutorial exten...
FallenRiteMonk/ludus
app/src/main/java/com/fallenritemonk/ludus/Tutorial.java
Java
mit
1,724
![BANNER](imgs/LiftingBuddyBanner.jpg) ## About View Summaries | Graph Progress | Edit Workouts Easily :---------------------------:|:----------------------------:|:----------------------------: ![Summary](imgs/Summary.jpg) | ![Graph](imgs/Graph.jpg) | ![Edit](imgs/Edit.jpg) <b>Lift...
Chris-Perkins/Lifting-Buddy
README.md
Markdown
mit
2,757
<?xml version="1.0" encoding="iso-8859-1"?> <!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" xml:lang="en" lang="en"> <head> <title>File: benchmarks.rb</title> <meta http-equiv="Content-Ty...
guillermo/ginst
vendor/plugins/grit/doc/files/benchmarks_rb.html
HTML
mit
4,795
#pragma once #include "enum_accessqualifier.h" #include "enum_addressingmodel.h" #include "enum_builtin.h" #include "enum_decoration.h" #include "enum_dimensionality.h" #include "enum_executionmode.h" #include "enum_executionmodel.h" #include "enum_executionscope.h" #include "enum_fpfastmathmode.h" #include "enum_fpro...
LogicalError/spir-v-parser
spir-v/enums.h
C
mit
876
using Microsoft.AspNetCore.Builder; namespace ChromeLogger { public static class ApplicationBuilderExtensions { /// <summary> /// Attaches the chrome logger header setting middleware to the pipeline. /// This method must be called at the start of the startup class Configure met...
ChrisMissal/chromelogger
src/ChromeLogger.AspNetCore/ApplicationBuilderExtensions.cs
C#
mit
538
namespace Skeleton.Web.Logging.Serilog.Formatting { using System; using System.Diagnostics.CodeAnalysis; using global::Serilog.Formatting.Json; [ExcludeFromCodeCoverage] public class RenderedJsonFormatter : JsonFormatter { public RenderedJsonFormatter(string closingDelimiter = null, IF...
litichevskiydv/WebInfrastructure
src/Infrastructure/Web.Logging.Serilog/Formatting/RenderedJsonFormatter.cs
C#
mit
445
function output(x) { document.getElementById("output").innerHTML += x + "\n"; } function main () { try { do_tests(); } catch (e) { alert(JSON.stringify(e)); } } var hex_digit_value = { "0": 0, "1": 1, "2": 2, "3": 3, "4": 4, "5": 5, "6": 6, "7": 7, "8": 8, "9": 9, "a": 10, "A": 10, "b": 11,...
refuge-attic/rtalk
src/deps/js-scrypt/test_scrypt_browser.js
JavaScript
mit
2,442
<!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> ...
kuhlenh/port-to-core
Reports/bi/bindableapplicationbar.1.1.0/BindableApplicationBar-wp8.html
HTML
mit
56,477
(function () { 'use strict'; angular .module('certificates.admin') .controller('CertificatesAdminListController', CertificatesAdminListController); CertificatesAdminListController.$inject = ['CertificateService']; function CertificatesAdminListController(CertificatesService) { var vm = this; ...
juanmauricio/lorodigi
modules/certificates/client/controllers/admin/list-certificates.client.controller.js
JavaScript
mit
381
<!doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title></title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="apple...
thurstontl/nativ
index.html
HTML
mit
4,784
<div class="commune_descr limited"> <p> Saint-Martin-du-Tertre est une commune localisée dans le département de Val-d'Oise en Île-de-France. Elle comptait 2&nbsp;395 habitants en 2008.</p> <p>À coté de Saint-Martin-du-Tertre sont situées les villes de <a href="{{VLROOT}}/immobilier/maffliers_95353/">Maffliers</...
donaldinou/frontend
src/Viteloge/CoreBundle/Resources/descriptions/95566.html
HTML
mit
1,839