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
--- layout: post title: "Welcome to Jekyll!" date: 2016-09-15 12:25:26 +0100 categories: jekyll update --- You’ll find this onion in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serv...
Lovatt/lovatt.github.io
_posts/2016-09-15-welcome-to-jekyll.markdown
Markdown
mit
1,207
{% extends 'base.html' %} {% load commentBox %} {% block title %}Edit profile | {{ site.title | safe }}{% endblock title %} {% block content %} <div class="content-header padded"> <div class="row"> <div class="col-sm-12"> {% include 'breadcrumbs.html' %} </div> </div> <a href="{% url 'updates-settings' %}"...
microcosm-cc/microweb
core/templates/forms/profile.html
HTML
mit
5,621
# Get-Quote ## Overview Python program to scrape brainyquote.com for quotes from a user entered author. Also contains a DataBase feature to store and search for previously viewed quotes Will create a file in directory named .Quotes.db ## Requirements * [BeautifulSoup4](https://pypi.python.org/pypi/beautifulsoup4) * ...
mariot/Get-Quote
README.md
Markdown
mit
734
--- byline: '' description: '' headline: '' image_url: '' pub_date: 2017-07-01 15:24:22.457557 published: false show_in_feeds: false ---
datadesk/django-bigbuild
example/pages/foobar-561/metadata.md
Markdown
mit
136
--- layout: page title: Julie Edwards's 75th Birthday date: 2016-05-24 author: Sharon Shah tags: weekly links, java status: published summary: Mauris tincidunt velit id magna mattis, et hendrerit magna facilisis. banner: images/banner/leisure-01.jpg booking: startDate: 09/09/2018 endDate: 09/12/2018 ctyhocn: STLH...
KlishGroup/prose-pogs
pogs/S/STLHLHX/JE7B/index.md
Markdown
mit
2,249
#region Copyright (c) 2002-2005, Bas Geertsema, Xih Solutions (http://www.xihsolutions.net) /* Copyright (c) 2002-2005, Bas Geertsema, Xih Solutions (http://www.xihsolutions.net) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the follo...
mt830813/code
Project/WebMSN/DotMSN/ConnectivityException.cs
C#
mit
3,019
//! \file ImageGGP.cs //! \date Sun Jun 14 09:06:26 2015 //! \brief // // Copyright (C) 2014-2015 by morkt // // 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 rest...
morkt/GARbro
ArcFormats/Ikura/ImageGGP.cs
C#
mit
5,214
const removeMigratorDir = require('./removeMigratorDir'); module.exports = ({migrator}) => { return Promise.resolve() .then(() => migrator.disconnect()) .then(() => removeMigratorDir(migrator)) .then(() => migrator); };
okv/east
testUtils/destroyMigrator.js
JavaScript
mit
228
<?php /** * This file is part of the OpenTrans php library * * (c) Sven Eisenschmidt <sven.eisenschmidt@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ use Doctrine\Common\Annotations\AnnotationRegistry; call_user_func...
sveneisenschmidt/opentrans
tests/bootstrap.php
PHP
mit
622
'use strict' module.exports = function () { this.When(/^preencher as características do produto$/, {timeout: 60 * 1000}, function (callback) { }) this.When(/^selecionar alguma categoria$/, {timeout: 60 * 1000}, function (callback) { }) this.Then(/^devo visualizar o campo de foto do produto$/, {timeout: 6...
leonardosal/cucumber-gotostep
example/step_definitions/sample_steps.js
JavaScript
mit
362
package de.saarland.hamming; import de.saarland.util.Logger; import junit.framework.TestCase; import java.util.ArrayList; import java.util.List; import java.util.Set; /** * @author Almer Bolatov * Date: 11/13/13 * Time: 9:10 PM */ public class TestHammingDistanceSimple extends TestCase { private...
bolatov/string-matching
test/de/saarland/hamming/TestHammingDistanceSimple.java
Java
mit
4,140
version https://git-lfs.github.com/spec/v1 oid sha256:b0478c6949985585d1cbadad447cd75680baa15e4f0fab56943993d2f24afe67 size 4569
yogeshsaroya/new-cdnjs
ajax/libs/minitranslate/1.0.2/minitranslate.js
JavaScript
mit
129
<?php function themezee_get_colors_sections() { $themezee_sections = array(); $themezee_sections[] = array("id" => "themeZee_colors_schemes", "name" => __('Predefined Color Schemes', 'themezee_lang')); $themezee_sections[] = array("id" => "themeZee_colors_custom", "name" => __('Cust...
CodeForKids/websitesByKids
subdomains/thedjgamer/wp-content/themes/zeesynergie/includes/admin/options/options-colors.php
PHP
mit
2,089
## MarkdownTextView ### Rich Markdown Editing for iOS **MarkdownTextView** is an iOS framework for adding rich Markdown editing capabilities. Support for Markdown syntax is implemented inside an easily extensible `NSTextStorage` subclass, with a `UITextView` subclass being provided for convenience. ### Screenshot <i...
indragiek/MarkdownTextView
README.md
Markdown
mit
3,526
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"/><!-- using block title in layout.dt--><!-- using block ddox.defs in ddox.layout.dt--><!-- using block ddox.title in ddox.layout.dt--> <title>Module graphics.shaders.glsl.directionallight</title> <link rel="stylesheet" type="text/css" href="../../../styles/ddo...
Circular-Studios/Dash-Docs
api/v0.9.0/graphics/shaders/glsl/directionallight.html
HTML
mit
7,799
--- layout: page title: Pearl Software Executive Retreat date: 2016-05-24 author: Stephanie Barrera tags: weekly links, java status: published summary: Maecenas quam purus, elementum ac gravida a, pulvinar eget. banner: images/banner/office-01.jpg booking: startDate: 02/14/2018 endDate: 02/15/2018 ctyhocn: MKLHSH...
KlishGroup/prose-pogs
pogs/M/MKLHSHX/PSER/index.md
Markdown
mit
1,919
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>schroeder: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.08.1-2.0.5/released/8.10.0/schroeder/8.9.0.html
HTML
mit
6,995
/*! Grape JavaScript game engine (c) 2012-<%= grunt.template.today('yyyy') %> Zoltan Mihalyi. https://github.com/zoltan-mihalyi/grape/blob/master/MIT-LICENSE.txt */
zoltan-mihalyi/grape
js/grape/banner.js
JavaScript
mit
168
#!/usr/bin/env python # -*- coding: utf-8 -*- from runner.koan import * def function(): return "pineapple" def function2(): return "tractor" class Class(object): def method(self): return "parrot" class AboutMethodBindings(Koan): def test_methods_are_bound_to_an_object(self): obj...
jpvantuyl/python_koans
python2/koans/about_method_bindings.py
Python
mit
2,996
<?php use Legionth\React\Http\LengthLimitedStream; use React\Stream\ReadableStream; class LengthLimitedStreamTest extends TestCase { private $input; public function setUp() { $loop = $this->getMockBuilder('React\EventLoop\LoopInterface') ->getMock(); $this->input = new \React...
legionth/php-http-client-react
tests/LengthLimitedStreamTest.php
PHP
mit
3,735
/* ================================================================== AngularJS Datatype Editor - Stock Price A directive to see and edit a price of a stock in place. Usage: <div ade-stock ade-id='1234' adeProvider="yahoo" ade-class="myClass" ng-model="data"></div> Config: ade-id: If this id is set, it will ...
Toodledo/ADE
app/stock/stock_directive.js
JavaScript
mit
8,322
/*! * heap.js - example.js * Author: dead_horse <dead_horse@qq.com> */ /** * Module dependencies. */ var heaps = require('./'); var bHeap = heaps.binaryHeap(function (a, b) { return a.value - b.value; }); for (var i = 0; i < 10; i++) { bHeap.push({ value: Math.random() }); } var result = []; while(!...
dead-horse/heap.js
example.js
JavaScript
mit
395
#include <stdint.h> void wrReg(uint8_t reg,uint8_t dat); uint8_t rdReg(uint8_t reg); #define vga 0 #define qvga 1 #define qqvga 2 #define yuv422 0 #define rgb565 1 #define bayerRGB 2 struct regval_list{ uint8_t reg_num; uint16_t value; }; void setColor(uint8_t color); void setRes(uint8_t res); void camInit(void); #de...
AntonLH/Arduino
libraries/ov7670/ov7670.h
C
mit
12,226
<div class="ui menu"> <div class="header item">{{title || modelType}}</div> <!-- Links/Events --> <a class="ui item" [class.active]="state.searching" (click)="search()">Find</a> <a class="ui item" [class.active]="state.adding" (click)="add()">Create</a> <a class="ui item" [class.active]="!state.addin...
crimsonskyfalling/ocean-seed
src/app/common/directives/templates/model-manager-menu.component.html
HTML
mit
866
# # (c) Simon Marlow 2002 # import sys import os import string import getopt import platform import time import re from testutil import * from testglobals import * # Readline sometimes spews out ANSI escapes for some values of TERM, # which result in test failures. Thus set TERM to a nice, simple, safe # value. os....
iliastsi/gac
testsuite/driver/runtests.py
Python
mit
8,165
var pkg = require('../package.json'); //Application Settings var fs = require('fs'); var db; var collection; //Twitter Collection var summaryLength = 2; var summary = {}; //Tweets by country, total tweets, total smiley face matches summary.name="World Text"; var countries; //Heat map coloring //Provide a range minimum ...
bshouse/geotweeter
bin/createWorldTextSummary.js
JavaScript
mit
4,440
#ifndef _ROS_SERVICE_AssignTask_h #define _ROS_SERVICE_AssignTask_h #include <stdint.h> #include <string.h> #include <stdlib.h> #include "ros/msg.h" namespace auto_warehousing { static const char ASSIGNTASK[] = "auto_warehousing/AssignTask"; class AssignTaskRequest : public ros::Msg { public: typedef u...
Roboterbastler/roseau
embedded/libraries/ros_lib/auto_warehousing/AssignTask.h
C
mit
2,553
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Text.Json; using Azure.Core; namespace Azure.Media.VideoAnalyzer.Edge.Models { public partial class RemoteDeviceAdapterSetRequest : IUtf8JsonSerializable { ...
Azure/azure-sdk-for-net
sdk/videoanalyzer/Azure.Media.VideoAnalyzer.Edge/src/Generated/Models/RemoteDeviceAdapterSetRequest.Serialization.cs
C#
mit
1,883
// <auto-generated> // 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 // re...
Azure/azure-sdk-for-net
sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadContainer.cs
C#
mit
5,204
# Dir check > Check if a path is a directory ## Installation ```bash npm install --save dir-check ``` ## Usage ```javascript const check = require('dir-check'); if (check('my-dir')) { console.log('is a dir'); } ``` > Working example in [test.js](https://github.com/tobihrbr/dir-check/blob/master/test.js) ## Licen...
Poornakiruthika/Test
node_modules/dir-check/README.md
Markdown
mit
327
const util = require('../util/httpUtil.js') function createTask (name, content, creatorId, memberId, progressId, file, ddl) { return util.httpPost(util.baseURL + 'task', { name: name, content: content, creatorId: creatorId, memberIds: memberIds, progressId: progressId, file: file, ddl: dd...
cool-db/front-end
src/webApi/taskApi.js
JavaScript
mit
2,599
<?php use Doctrine\DBAL\DriverManager; use Symfony\Component\Console\Application; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Filesystem\Filesystem; use Symfony\Component\Finder\Finder; ...
EquisoftDev/Silex-Excel
src/console.php
PHP
mit
6,393
""" These settings are used by the ``manage.py`` command. With normal tests we want to use the fastest possible way which is an in-memory sqlite database but if you want to create South migrations you need a persistant database. Unfortunately there seems to be an issue with either South or syncdb so that defining two...
bitmazk/cmsplugin-redirect
cmsplugin_redirect/tests/south_settings.py
Python
mit
586
class TeamsController < ApplicationController before_filter :authenticate_user! def new @team = Team.create_default_team("Rename", current_user, params[:version_name]) if @team session[:team_id] = @team.id redirect_to(edit_team_path(@team), :notice => 'Team was successfully created.') el...
professor/semat
app/controllers/teams_controller.rb
Ruby
mit
2,686
require "admin/import" require "admin/view" module Admin module Views module Pages module Home class Edit < Admin::View include Admin::Import[ "persistence.repositories.home_page_featured_items", "pages.home.forms.edit_form", ] configure do |co...
icelab/berg
apps/admin/lib/admin/views/pages/home/edit.rb
Ruby
mit
975
extern crate snap; use std::io::{self, Read, Write}; pub fn compress(uncompressed: &[u8], compressed: &mut Vec<u8>) -> io::Result<()> { compressed.clear(); let mut encoder = snap::Writer::new(compressed); encoder.write_all(&uncompressed)?; encoder.flush()?; Ok(()) } pub fn decompress(compressed: ...
fulmicoton/tantivy
src/store/compression_snap.rs
Rust
mit
476
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { AppModule } from './app'; platformBrowserDynamic().bootstrapModule(AppModule).catch((error) => console.log("An error occured in bootsrap :", error));
sirajc/angular2-bs4-navbar
src/main.ts
TypeScript
mit
236
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** * Array renderer. * * Produces an array that contains class names and content pairs. * The array can be enumerated or associative. Associative means * <code>class =&gt; content</code> pairs. * Based on the HTML renderer by Andrey Demenev. *...
neowutran/Nuitinfo
nuitinfo/protected/common/lib/vendor/yiisoft/yii/framework/vendors/TextHighlighter/Text/Highlighter/Renderer/Array.php
PHP
mit
5,000
import * as sudoku from './lib/SudokuSolver'; export interface SudokuCell extends sudoku.Sudoku.SolvedCell { initial?: boolean; }; export interface Message { messageString: string; messageType: string; } export interface SudokuState { initialCells: SudokuCell[]; resultCells: SudokuCell[]; selectedCell:...
wednesdaydeveloper/sudoku
src/State.ts
TypeScript
mit
450
/** * @file * @brief Contains the TPZConsLawTest class for test. Material as conservation law */ #ifndef CONSLAWTESTHPP #define CONSLAWTESTHPP #include <iostream> #include "pzmaterial.h" #include "pzfmatrix.h" #include "pzvec.h" #include "pzconslaw.h" /** * @brief Only to test a material as conser...
gems-uff/oceano
core/src/test/resources/CPP/neopz/Material/TPZConsLawTest.h
C
mit
3,234
package org.codehaus.modello.plugin.stax; import org.codehaus.modello.model.ModelAssociation; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; /* * Copyright (c) 2006, Codehaus.org * * Permission is hereby granted, free of charge, to a...
codehaus-plexus/modello
modello-plugins/modello-plugin-stax/src/main/java/org/codehaus/modello/plugin/stax/GeneratorNode.java
Java
mit
3,803
/*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/photo/src/npr.cpp
C++
mit
5,323
import re from .base import EventBuilder from .._misc import utils from .. import _tl from ..types import _custom class NewMessage(EventBuilder, _custom.Message): """ Represents the event of a new message. This event can be treated to all effects as a `Message <telethon.tl.custom.message.Message>`, s...
LonamiWebs/Telethon
telethon/_events/newmessage.py
Python
mit
4,114
<html> <head> <style type='text/css'> html, body, div, span, p, blockquote, pre { margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; } body{ line-height: 1; color: black; background: white; margin-left: ...
tilastokeskus/Matertis
dist/pit/com.github.tilastokeskus.matertis.core.command/RotateCommand.java.html
HTML
mit
13,035
package com.alternative.bank.gui.login; import com.alternative.bank.api.oauth2.OAuth2TokenService; import com.alternative.bank.api.usagers.UsagersApiService; import com.alternative.bank.objets.Usager; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired...
yannicl/alternative-bank
gui/src/main/java/com/alternative/bank/gui/login/CustomUserDetailsService.java
Java
mit
2,042
<?php /* admin/edit.html.twig */ class __TwigTemplate_00fc34ea50d14d9f63a20625a3cb2f47676a6678f50f1beeb92201f047383a01 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 $this->parent = $this->loadTemplate("base.html.twig",...
lauramcloughlin/web3_project
var/cache/dev/twig/74/746281667de1798ac309c057d9e3e130c99f3971c9dce2f42a6cd2890508bcb6.php
PHP
mit
7,019
#!/bin/sh COUNT=$1 /Users/jmarkert/ParallelTSP/dep/openmpi/bin/mpiexec --hostfile /Users/jmarkert/ParallelTSP/hostfile.txt -map-by node -np $COUNT /Users/jmarkert/ParallelTSP/build/src/simplega/simplega -c graph/cfg.json -n -q
AvS2016/ParallelTSP
start_tsp.sh
Shell
mit
229
#include <stdio.h> #include <stdlib.h> #include <assert.h> #include <iostream> #include <atomic/UseCntPtr.h> #include <sockets/Socket.h> #include <sockets/LocalAddress.h> #include <sockets/EndPoint.h> #include <servers/MultiProcessMultiServiceServer.h> using namespace ombt; class MyHandler: public MultiProcMSStr...
ombt/ombt
old/testsrc/servers/streammpmsechoserver.cpp
C++
mit
2,375
// Copyright © 2018 Wave Engine S.L. All rights reserved. Use is subject to license terms. #region Using Statements using System; using System.Runtime.InteropServices; using WaveEngine.Common.Graphics; using WaveEngine.Common.Graphics.VertexFormats; using WaveEngine.Common.Math; using WaveEngine.Framework.Graphics; ...
WaveEngine/Extensions
WaveEngine.ImageEffects/Shared/DepthOfField/DepthOfFieldMaterial.cs
C#
mit
7,688
<?php namespace Admin\AdminBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * UsuarioCatalogo * * @ORM\Table(name="usuario_catalogo", indexes={@ORM\Index(name="Id_catalogo", columns={"Id_catalogo"}), @ORM\Index(name="Id_Usuario", columns={"Id_Usuario"})}) * @ORM\Entity */ class UsuarioCatalogo { /** ...
luisk262/mainevent
src/Admin/AdminBundle/Entity/UsuarioCatalogo.php
PHP
mit
948
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #pragma once #include "CodeHeap.h" #include <list> #include <vector> #include <unordered_map> #include <mutex> #i...
shrah/corert
src/Native/jitinterface/JITCodeManager.h
C
mit
7,550
use std::env; use std::io::Read; use std::fs::File; use std::path::Path; use std::path::PathBuf; use std::collections::HashMap; use std::collections::HashSet; fn main() { let mut data_path: PathBuf = env::current_dir().unwrap(); data_path.push("data"); data_path.push("input.txt"); let directions: Vec<...
DirtGrubDylan/advent_of_code_2106
rust/day_1/src/main.rs
Rust
mit
7,518
using Castle.Core.Logging; using Bivi.Infrastructure.Services.Depots; using Bivi.Infrastructure.Services.Encryption; using Bivi.BackOffice.Web.Controllers.Modularity; using Bivi.BackOffice.Web.ViewModels.ModelBuilders.Administration.Profil; using Bivi.BackOffice.Web.ViewModels.ModelBuilders.Common; using System....
apo-j/Projects_Working
Bivi/src/Bivi.BackOffice/Bivi.BackOffice.Web.Controllers/Controllers/Administration/ProfilController.cs
C#
mit
4,679
<?PHP $customer_info_table->get_post_vars(); $page_output = ''; // set customer ref code if assigned if(!empty($_GET['user_ref_code'])) $_SESSION['user_ref_code'] = $_GET['user_ref_code']; $user_ref_code = $_SESSION['user_ref_code']; // check for form submission and run form check routines if(isset($_POST['Submit...
doodersrage/CheapLocalDeals.com
mobile/includes/pages/createAcc.php
PHP
mit
6,282
import { h, Component } from 'preact'; import './style.css'; export default class Imprint extends Component { render() { return ( <div className="c-imprint b-content"> <h1>Imprint</h1> <p> Name <br /> Address <br /> Country <br /> ...
jaylinski/frontend-webpack
src/pages/imprint/index.js
JavaScript
mit
389
<?php // Composer autoload is already loaded // require_once 'vendor/autoload.php'; // Benchmark $time_start = microtime(true); /* ---------- Formulator ---------- */ $formulator = new ntopulos\formulator\Formulator(); //$formulator->debug_mod = true; // 1. adding and managing elements $formulator->addElement(...
ntopulos/formulator-devkit
pages/index.php
PHP
mit
896
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => '/Users/joltt/Desktop/sinoclean_tmp/user/plugins/login/languages.yaml', 'modified' => 1480466252, 'data' => [ 'en' => [ 'PLUGIN_LOGIN' => [ 'USERNAME' => 'Username', 'PASS...
kevinqi34/Sinoclean
cache/compiled/files/b83ef0cd00cf076524f4cd33317e4391.yaml.php
PHP
mit
37,947
cd libuv; sh autogen.sh; ./configure; make rm .libs/lib*.so* rm .libs/lib*.dylib cd ../luajit; make rm src/lib*.so* rm src/lib*.dylib cd .. #premake5 clean rm -rf src/build #rm *.make #rm Makefile premake5 gmake make config=debug_macosx
kostyll/node9
rebuild.sh
Shell
mit
238
--- layout: page title: About permalink: /about/ --- Crazy Developer, working for General Motors in very interesting projects! You can find the source code for the Jekyll new theme at: {% include icon-github.html username="jekyll" %} / [minima](https://github.com/jekyll/minima) You can find the source code for Jeky...
darioalessandro/darioalessandro.github.io
about.md
Markdown
mit
420
{% extends "_base.html" %} {% block content %} tady dashboard. kupy budíků a infowerků po celý ploše. {% endblock %}
martastain/cherryadmin
site/templates/index.html
HTML
mit
123
/* * Copyright (C) 2013 by Glenn Hickey (hickey@soe.ucsc.edu) * Copyright (C) 2012-2019 by UCSC Computational Genomics Lab * * Released under the MIT license, see LICENSE.txt */ #ifndef _HALPHYLOPBED_H #define _HALPHYLOPBED_H #include "halBedScanner.h" #include "halPhyloP.h" #include <iostream> #include <set> #i...
glennhickey/hal
phyloP/inc/halPhyloPBed.h
C
mit
1,196
from __future__ import unicode_literals import django from django.core.exceptions import ValidationError from django.db.models import Q from django.contrib.contenttypes.models import ContentType from django.test import TestCase, Client from django.test.client import RequestFactory from django.test.utils import override...
quamilek/django-custard
custard/tests/test.py
Python
mit
13,067
Console Component ================= Console eases the creation of beautiful and testable command line interfaces. The Application object manages the CLI application: use Symfony\Component\Console\Application; $console = new Application(); $console->run(); The ``run()`` method parses the arguments and o...
richardmiller/symfony
src/Symfony/Component/Console/README.md
Markdown
mit
1,537
var Notify = require('../') var tape = require('tape') var pull = require('pull-stream') tape('simple', function (t) { var notify = Notify() var r = Math.random() pull( notify.listen(), pull.drain(function (data) { t.equal(data, r) }, function () { t.end() }) ) t.equal(notify(r...
dominictarr/pull-notify
test/index.js
JavaScript
mit
935
<!DOCTYPE html> <html lang="en"> <head> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <link rel="stylesheet" href="http://bootswatch.com/yeti/bootstrap.min.css"> <link rel="stylesheet" href="https://ma...
CAPS-Robotics/Eagle
eagle/templates/partials/header.html
HTML
mit
2,114
<?php namespace Khepin\Medusa\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Command\Command; use Khepin\Medusa\Dependenc...
khepin/medusa
src/Khepin/Medusa/Command/MirrorCommand.php
PHP
mit
2,209
<?php /* * This file is part of the API Platform project. * * (c) Kévin Dunglas <dunglas@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace ApiPlatform\Core\Tests\Serializer; use ApiPl...
tuanphpvn/core
tests/Serializer/SerializerContextBuilderTest.php
PHP
mit
4,763
// Program part for parsing the input #include <iostream> #include <seqan/sequence.h> #include <seqan/seq_io.h> using namespace seqan; int main(int argc, char const ** argv) { /*if (argc < 2) { std::cerr << "Please input the path to the input file as first argument.\n"; return 1; }*/ //String...
bkahlert/seqan-research
raw/pmsb13/pmsb13-data-20130530/sources/24xc47o54r0zzgyu/2013-04-26T09-24-47.891+0200/sandbox/my_sandbox/apps/SeqDPT/input.cpp
C++
mit
783
--- layout: default title: Набор проблем 4. Экспертиза. Recover (Восстановление). --- # Recover (Восстановление) ## Коротко Реализуйте программу, которая будет восстанавливать JPEG'и из образа карты памяти, как указано ниже. ``` $ ./recover card.raw ``` ## Объяснение В ожидании этой проблемы, я провел последние неск...
stshmakov/stshmakov.github.io
_pages/problems/recover/index.md
Markdown
mit
12,156
#!/usr/bin/python # -*- coding: utf-8 -*- """zigzi, Platform independent binary instrumentation module. Copyright (c) 2016-2017 hanbum park <kese111@gmail.com> All rights reserved. For detailed copyright information see the file COPYING in the root of the distribution archive. """ import argparse from PEInstrume...
ParkHanbum/zigzi
__init__.py
Python
mit
4,427
# hackcourses Short assignments for the hackbulgaria courses.
NJichev/hackcourses
README.md
Markdown
mit
62
/*! * wyre: the new way to do websockets * Copyright(c) 2015 Jordan S Davidson <thatoneemail@gmail.com> * MIT Licensed */ var port = 22345; exports = module.exports = function() { return port++; }
from-nibly/wyre
test/portGetter.js
JavaScript
mit
203
package sourcemap import ( "io" ) type ( RuneReader interface { ReadRune() (r rune, size int, err error) } RuneWriter interface { WriteRune(r rune) (size int, err error) } Segment struct { GeneratedLine int GeneratedColumn int SourceIndex int SourceLine int SourceColumn int NameInd...
badgerodon/sourcemap
util.go
GO
mit
1,428
require('es6-promise').polyfill(); var expect = require('expect.js'); var sinon = require('sinon'); var mockery = require('mockery'); describe('Incident controller: GET', function () { var incident = require('./incidents'); it('has GET handler', function () { expect(typeof(incident.GET)).equal('f...
FatmanDesigner/dirty-corners-api
app/routes/incidents.spec.js
JavaScript
mit
7,982
The BeforeBuild build step on the JavaScript tests project should execute a command that generate a `.d.ts` file and sticks it here. (If all is good)
ToTypeScriptD/ToTypeScriptD
src/ToTypeScriptD.Tests.JavascriptTests/Scripts/typings/ToTypeScriptD.Native/Readme.md
Markdown
mit
151
package com.ame.bus3.client; import com.ame.bus3.common.*; import com.ame.bus3.common.Tiles.Wall; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import sun.reflect.generics.reflectiveObjects.NotImplementedException; import java.util.HashMap; /** * Renders the tiles on th...
Ameliorate/Buildstation-3
core/src/com/ame/bus3/client/TileRenderer.java
Java
mit
766
--- title: UC Block Storage --- # Universally Composable Block Storage ### Kyle Hogan, Mayank Varia, Ran Canetti --- ## Introduction to Universal Composability * Point 1 * Point 2 > This is a quote Note: this is a hidden speaker note == ## Intro UC pt 2 --- ## Introduction to Block Storage == ## Security ...
kylehogan/slides
_slides/uc_block.md
Markdown
mit
857
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Swagger UI</title> <link rel="icon" type="image/png" href="images/favicon-32x32.png" sizes="32x32" /> <link rel="icon" type="image/png" href="images/favicon-16x16.png" sizes="16x16" /> <link href='css/typography.css' media='screen' rel='stylesheet' t...
jeffmarston/fixalicious-ui
server/docs/index.html
HTML
mit
4,278
ALTER TABLE PLACE MODIFY COLUMN LATITUDE DOUBLE(10, 6) NOT NULL; ALTER TABLE PLACE MODIFY COLUMN LONGITUDE DOUBLE(10, 6) NOT NULL; ALTER TABLE READING MODIFY COLUMN LATITUDE DOUBLE(10, 6) NOT NULL; ALTER TABLE READING MODIFY COLUMN LONGITUDE DOUBLE(10, 6) NOT NULL;
mwcaisse/car-tracker-server
CarTracker/Database/VersionedScripts/V0005_UpdatePlace_LatLon.sql
SQL
mit
277
import { createReducer } from '../utils/misc'; import { CHAT_MESSAGES_SUCCESS, CHAT_MESSAGES_FAILURE, CHAT_MESSAGES_REQUEST, FRIEND_LIST_SUCCESS, FRIEND_LIST_FAILURE, FRIEND_LIST_REQUEST, FRIEND_HISTORY_REQUEST, FRIEND_HISTORY_SUCCESS, FRIEND_HISTORY_FAILURE, ADD_FRIEND_SUCCESS, ...
morrishopkins/test_spa
src/reducers/chat.js
JavaScript
mit
6,683
$(document).ready(function () { $(".courses").each(function () { var courseClass = ['course-blue', 'course-red', 'course-green', 'course-peach', 'course-darck-green', 'course-darck-blue', 'course-purple', 'course-orange']; var rand = courseClass[Math.floor(Math.random() * courseClass.length)]; ...
bugsancho/Academy-Platform
AcademyPlatform.Web/Scripts/Custom.js
JavaScript
mit
362
# SwiftLibraries Swift sample code that displays a list of libraries in Chicago from the city's public data source
lingoslinger/SwiftLibraries
README.md
Markdown
mit
115
<header class="symbol-info-header"><h1 id="expressapplication">ExpressApplication</h1><label class="symbol-info-type-label decorator">Decorator</label></header> <!-- summary --> <section class="symbol-info"><table class="is-full-width"><tbody><tr><th>Module</th><td><div class="lang-typescript"><span class="token keywo...
lwallent/ts-express-decorators
docs/api/common/mvc/expressapplication.md
Markdown
mit
2,371
using System.Collections.Concurrent; using Umbraco.Core.Models; using Umbraco.Core.Persistence.Dtos; namespace Umbraco.Core.Persistence.Mappers { /// <summary> /// Represents a <see cref="Content"/> to DTO mapper used to translate the properties of the public api /// implementation to that of the database...
lars-erik/Umbraco-CMS
src/Umbraco.Core/Persistence/Mappers/ContentMapper.cs
C#
mit
2,325
#include <iostream> #include <vector> using namespace std; using ll = long long; // ----- MaxFlow ----- class MaxFlow { struct Edge { int to; ll cap; int rev; }; constexpr static ll INFTY = 10000000000000010LL; int N; vector<vector<Edge>> G; vector<bool> used; public: MaxFlow() {} MaxF...
kazunetakahashi/library
Flow/MaxFlow.cpp
C++
mit
1,184
<!-- * CoreUI - Open Source Bootstrap Admin Template * @version v1.0.0-alpha.2 * @link http://coreui.io * Copyright (c) 2016 creativeLabs Łukasz Holeczek * @license MIT --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name...
rubyframework/CoreUI-Free-Bootstrap-Admin-Template
Static_Full_Project_GULP/pages-register.html
HTML
mit
3,862
module Hyperpublic class Categories< Base extend Forwardable def_delegators :client, :get, :post, :post_multi, :put, :delete attr_reader :client def initialize(client) @client = client end def find(params={}) q = Addressable::URI.new q.query_values = stringify(params) ...
hyperpublic/hyperpublic_ruby
lib/hyperpublic/categories.rb
Ruby
mit
408
export default _normalizeLink; /** This method normalizes a link to an "links object". If the passed link is already an object it's returned without any modifications. See http://jsonapi.org/format/#document-links for more information. @method _normalizeLink @private @param {String} link @return {Objec...
hoka-plus/p-01-web
tmp/babel-output_path-Ihxrnc4F.tmp/modules/ember-data/-private/system/normalize-link.js
JavaScript
mit
504
/*============================================================================= # Author: Teerapat Jenrungrot - https://github.com/mjenrungrot/ # FileName: 11404.cc # Description: UVa Online Judge - 11404 =============================================================================*/ #include <bi...
mjenrungrot/competitive_programming
UVa Online Judge/v114/11404.cc
C++
mit
4,008
<?php namespace Dvsa\Mot\Frontend\SecurityCardModule\CardActivation\Service; use Core\Routing\ProfileRoutes; use Core\Service\MotFrontendAuthorisationServiceInterface; use Core\Service\MotFrontendIdentityProvider; use Core\Service\MotFrontendIdentityProviderInterface; use Dvsa\Mot\Frontend\PersonModule\Security\Perso...
dvsa/mot
mot-web-frontend/module/SecurityCardModule/src/CardActivation/Service/RegisterCardViewStrategy.php
PHP
mit
4,668
<!-- HTML header for doxygen 1.8.8--> <!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="X-UA-Compatible" content="IE=edge"> <!-- For Mobile Devices --> ...
olga-perederieieva/TAsK
vendor/Docs/classLazyShortestPath.html
HTML
mit
17,516
<p> player-profile works! </p> <div *ngIf="player"> <h2>{{ player.nickname }} profile</h2> <div> <div><label>id:</label>{{ player.id}}</div> <div><label>Games:</label>{{ player.gamesPlayed }}</div> <div><label>Kills:</label> {{ player.kills }}</div> <div><label>Deaths:</label> {{ player.deaths }}</d...
togus/uhc
src/app/player-profile/player-profile.component.html
HTML
mit
446
<?php namespace TwbBundleTest\View\Helper; class TwbBundleDropDownTest extends \PHPUnit_Framework_TestCase { /** * @var \TwbBundle\View\Helper\TwbBundleDropDown */ protected $dropDownHelper; /** * @see \PHPUnit_Framework_TestCase::setUp() */ public function setUp()...
neilime/zf2-twb-bundle
tests/TwbBundleTest/View/Helper/TwbBundleDropDownTest.php
PHP
mit
2,682
# -*- coding: utf-8 -*- """ Clement Michard (c) 2015 """ import os import sys import nltk from emotion import Emotion from nltk.corpus import WordNetCorpusReader import xml.etree.ElementTree as ET class WNAffect: """WordNet-Affect ressource.""" def __init__(self, wordnet16_dir, wn_domains_dir): "...
Arnukk/TDS
wnaffect.py
Python
mit
3,540
var Employee = require('../models/Employee'); var Owner = require('../models/User'); var baby = require('babyparse'); var _ = require('lodash'); var async = require('async'); var nodemailer = require('nodemailer'); var passport = require('passport'); var fs = require('fs'); var validator = require('validator'); var Log...
denniskkim/jackson5
controllers/employee.js
JavaScript
mit
12,598
05. Conditional Statements if-else constructs, switch-case
StoikoNeykov/Telerik
CSharp1/ConditionalStatements/README.md
Markdown
mit
59
--- title: Authentication pageTitle: "Authentication with GraphQL, VueJS & Apollo Tutorial" description: "Learn best practices to implement authentication with GraphQL & Apollo Client to provide an email-and-password-based login in a VueJS app with Graphcool." question: Where do you handle routing to a different compon...
howtographql/howtographql
content/frontend/vue-apollo/5-authentication.md
Markdown
mit
20,807
import React, { Component, PropTypes } from 'react'; import { StyleSheet, Text, View, TouchableOpacity } from 'react-native'; const styles = StyleSheet.create({ container: { flex: 1, justifyContent: 'center', alignItems: 'center', backgroundColor: '#F5FCFF', }, welcome: { fontSize: 20...
SWTPAIN/Lift-to-dominate
src/containers/Home.js
JavaScript
mit
1,056
<div class="action-bar"> <button type="button" class="search" ng-if="$ctrl.search" tooltip-append-to-body="true" uib-tooltip="Search" ng-click="$ctrl.toggleSearch()"> <span class="sr-only">Search</span> <i></i> </button> <button ng-repeat="action in $ctrl.actions" type="button" class="{{ action.class }}" ...
Zokormazo/ngLlery
app/components/common/partials/action-bar.html
HTML
mit
650
require 'nq' require 'singleton' class Nq::CLI def initialize end def run end end
flingbob/nq
lib/nq/cli.rb
Ruby
mit
96