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 |
|---|---|---|---|---|---|
using System;
using NUnit.Framework;
namespace MyApp.Repository.Testing
{
internal class InMemoryRepositoryTests
{
//================================================================================
[Test]
public void Standard()
{
var repo... | antanta/MyApp | MyApp.Repository/Testing/Tests.cs | C# | mit | 2,757 |
import {dispatchFakeEvent} from '../../cdk/testing/private';
import {ChangeDetectionStrategy, Component, DebugElement, Type} from '@angular/core';
import {
ComponentFixture,
fakeAsync,
flush,
flushMicrotasks,
TestBed,
} from '@angular/core/testing';
import {ThemePalette} from '@angular/material-experimental/m... | josephperrott/material2 | src/material-experimental/mdc-checkbox/checkbox.spec.ts | TypeScript | mit | 43,213 |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>AngularWithDotnetCore</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<app-root>Loading...</app-root>
</body>
</html>
| ProfessionalCSharp/ProfessionalCSharp7 | ASPNETCore/WebSampleApp/AngularWithDotnetCore/ClientApp/src/index.html | HTML | mit | 318 |
# frozen_string_literal: true
module Eve
class AllRegionsContractsImporter
def import
region_ids.each do |region_id|
Eve::RegionContractsJob.perform_later(region_id)
end
end
private
def region_ids
@region_ids ||= Eve::Region.pluck(:region_id).sort.uniq
end
end
end
| biow0lf/evemonk | app/importers/eve/all_regions_contracts_importer.rb | Ruby | mit | 318 |
#!/usr/bin/env node
let layouts = [
`# French
&é"'(-è_çà)=
azertyuiop^$*
qsdfghjklmù
wxcvbn,;:!
`,
`# German (German (IBM) is the same)
1234567890ß
qwertzuiopü+#
asdfghjklöä
yxcvbnm,.-
`,
`# Spanish
1234567890'¡
qwertyuiop+ç
asdfghjklñ
zxcvbnm,.-
## ESV
1234567890-
qwertyuiop÷
asdfghjklñç
zxcvbnm,.=
`,
`# Port... | gdh1995/vimium-plus | tests/unit/keyboard-layouts.js | JavaScript | mit | 2,107 |
---
layout: page
title: Archive
---
### Blog Posts
{% for post in site.posts %}
* {{ post.date | date_to_string }} » [ {{ post.title }} ]({{ post.url }})
{% endfor %}
| epicoffee/epicoffee.github.io | archive.md | Markdown | mit | 177 |
import Ember from 'ember';
export default Ember.Component.extend({
tagName : '',
item : null,
isFollowing : false,
isLoggedIn : false,
init() {
this.set('isLoggedIn', !!this.get('application.user.login'));
if (this.get('application.places.length') > 0) {
this.set('isFollowing', !!this.get('app... | b37t1td/barapp-freecodecamp | client/app/components/user-following.js | JavaScript | mit | 389 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>io: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="s... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.10.1-2.0.6/released/8.11.2/io/3.3.0.html | HTML | mit | 6,313 |
class CB::Util::ServiceRescuer
def initialize instance
@instance = instance
end
def method_missing method, *args, &block
if @instance.respond_to? method
begin
@instance.public_send method, *args, &block
rescue => e
error_type = e.is_a?(ActiveRecord::RecordNotFound) ? :not_found... | contentbird/contentbird | app/services/cb/util/service_rescuer.rb | Ruby | mit | 439 |
#ifndef TELEMETRY_H
#define TELEMETRY_H
#include <Arduino.h>
#include <HardwareSerial.h>
#include "common.h"
#include "queuelist.h"
static const unsigned WHEEL_EVENT_MIN_INTERVAL = 5;
class Telemetry
{
public:
Telemetry(HardwareSerial port, unsigned speed);
void serialPolling();
void wheelEvent(rot_one l... | mox17/teensy-car-sensors | sensor-hub/telemetry.h | C | mit | 3,304 |
package com.nicolas.coding.common.photopick;
import android.content.Context;
import android.database.Cursor;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CheckBox;
import android.widget.CursorAdapter;
import android.widget.ImageView;
import com.nos... | liwangadd/Coding | app/src/main/java/com/nicolas/coding/common/photopick/GridPhotoAdapter.java | Java | mit | 3,262 |
# -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'Idea.color'
db.add_column(u'brainstorming_idea', 'color',... | atizo/braindump | brainstorming/migrations/0005_auto__add_field_idea_color.py | Python | mit | 4,031 |
package com.sien.aimanager;
import android.content.Intent;
import android.os.Handler;
import com.sien.aimanager.services.MonitorServices;
import com.sien.lib.baseapp.BaseApplication;
import com.sien.lib.databmob.config.DatappConfig;
import cn.bmob.v3.Bmob;
import cn.bmob.v3.BmobConfig;
/**
* @author sien
* @date ... | eity0323/aimanager | app/src/main/java/com/sien/aimanager/MainApp.java | Java | mit | 1,651 |
#include <opencv2/opencv.hpp>
#include <iostream>
using namespace cv;
using namespace std;
int ratio = 3; //per canny's suggestion
int canny_thresh = 12; //starts at 12, this is what we will be changing though
int hough_thresh = 27;
int angle_tracker = 20;
int max_thresh = 255;//max for both thresh variable
doub... | robotics-at-maryland/qubo | src/vision/src/tuners/gate_tuner.cpp | C++ | mit | 6,479 |
CSS.NLogExtensions
==================
NLog extension ImageTarget, useful for saving screenshots.
Download the latest release or from the NuGet "Package Manager Console", run ```Install-Package CSS.NLogExtensions```
| kfrancis/CSS.NLogExtensions | README.md | Markdown | mit | 217 |
const ircFramework = require('irc-framework')
const store = require('../store')
const attachEvents = require('./attachEvents')
const connect = connection => {
const state = store.getState()
let ircClient = state.ircClients[connection.id]
if (!ircClient) {
ircClient = new ircFramework.Client({
nick: ... | daGrevis/msks | backend/src/irc/connect.js | JavaScript | mit | 982 |
const assert = require('assert')
const { unparse } = require('uuid-parse')
const supertest = require('supertest')
const createApp = require('../app')
const { createSetup, getAuthPassword } = require('./lib')
const { createPlayer, createKick } = require('./fixtures')
describe('Query player kick', () => {
let setup
... | BanManagement/BanManager-WebUI | server/test/playerKick.query.test.js | JavaScript | mit | 1,807 |
<?php
namespace Application\Success\CoreBundle\Twig;
//use Symfony\Bundle\FrameworkBundle\Templating\EngineInterface;
class EventoExtension extends \Twig_Extension {
//private $container;
private $repository_evento;
private $templating;
public function __construct($repository_evento, $templating) {
//$... | chugas/symfony-without-vendors-2.1.9 | src/Application/Success/CoreBundle/Twig/EventoExtension.php | PHP | mit | 1,397 |
var assert = require('chai').assert
var sendgrid = require('../lib/sendgrid');
describe('test_access_settings_activity_get', function () {
this.timeout(30000);
var API_KEY = 'SendGrid API Key'
if(process.env.TRAVIS) {
var TEST_HOST = process.env.MOCK_HOST
} else {
var TEST_HOST = 'localhost'
}
var... | instapapas/instapapas | node_modules/sendgrid/test/test.js | JavaScript | mit | 187,714 |
#!/bin/bash
mkdir $PREFIX/share
mkdir $PREFIX/share/gdal
cp data/* $PREFIX/share/gdal
cp LICENSE.TXT $PREFIX/share/gdal
mkdir $PREFIX/bin # HACK to get post-link script to copy.
| jjhelmus/conda_recipes_testing | gdal/gdal-data_1.10.1/build.sh | Shell | mit | 182 |
<?php
namespace EntityManager5230d19111d8e_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM;
/**
* CG library enhanced proxy class.
*
* This code was generated automatically by the CG library, manual changes to it
* will be lost upon next generation.
*/
class EntityManager extends \Doctrine\ORM\Entit... | vistorr/panel | app/cache/dev/jms_diextra/doctrine/EntityManager_5230d19111d8e.php | PHP | mit | 16,022 |
/*-----------*\
/* RESET \___________________________________________________ */
html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl... | Sina72/CourseWork | css/stylesl.css | CSS | mit | 3,657 |
import os
import webapp2
from actions import cronActions
from views import views
import secrets
SECS_PER_WEEK = 60 * 60 * 24 * 7
# Enable ctypes -> Jinja2 tracebacks
PRODUCTION_MODE = not os.environ.get(
'SERVER_SOFTWARE', 'Development').startswith('Development')
ROOT_DIRECTORY = os.path.dirname(__file__)
if no... | onejgordon/action-potential | actionpotential.py | Python | mit | 1,267 |
module Test
PI = 3.14
class Test2
def what_is_pi
puts PI
end
end
end
Test::Test2.new.what_is_pi # => 3.14
module MyModule
MyConstant = 'Outer Constant'
class MyClass
puts MyConstant # => Outer Constant
MyConstant = 'Inner Constant'
puts MyConstant # => Inner Constant
... | rbaladron/rails-coursera | intro_rails/modulo2/Ejemplos/Lecture13-Scope/constants_scope.rb | Ruby | mit | 371 |
//
// parser.h
// homework_4
//
// Created by Asen Lekov on 12/29/14.
// Copyright (c) 2014 fmi. All rights reserved.
//
#ifndef __homework_4__parser__
#define __homework_4__parser__
#include <string>
class XMLParser {
public:
//private:
bool is_open_tag(const std::string& tag) const;
bool is_close_tag(c... | L3K0V/fmi-data-structures | 2014/homework_4/homework_4/parser.h | C | mit | 511 |
<?php
class SV_WarningImprovements_XenForo_ControllerPublic_Member extends XFCP_SV_WarningImprovements_XenForo_ControllerPublic_Member
{
public function actionMember()
{
SV_WarningImprovements_Globals::$warning_user_id = $this->_input->filterSingle('user_id', XenForo_Input::UINT);
$response = ... | Xon/XenForo-WarningImprovements | upload/library/SV/WarningImprovements/XenForo/ControllerPublic/Member.php | PHP | mit | 7,086 |
#include <stdint.h>
const uint8_t
#if defined __GNUC__
__attribute__((aligned(4)))
#elif defined _MSC_VER
__declspec(align(4))
#endif
mrblib_extman_irep[] = {
0x45,0x54,0x49,0x52,0x30,0x30,0x30,0x33,0x5a,0x89,0x00,0x00,0x44,0xcb,0x4d,0x41,
0x54,0x5a,0x30,0x30,0x30,0x30,0x49,0x52,0x45,0x50,0x00,0x00,0x32,0x2d,0x30,0x30,... | sdottaka/mruby-bin-scite-mruby | tools/scite/mrblib/mrblib_extman.c | C | mit | 89,318 |
# this is the interface for `python archiver`
import archiver
import appdirs
import os
import sys
import pickle
import json
from archiver.archiver import Archiver
from archiver.parser import parseArgs
args = parseArgs()
from edit import edit
# ==============================================
print args
# TODO: s... | jdthorpe/archiver | __main__.py | Python | mit | 13,106 |
/*
* The MIT License
*
* Copyright (c) 2016 Marcelo "Ataxexe" Guimarães <ataxexe@devnull.tools>
*
* 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, includ... | devnull-tools/boteco | main/boteco/src/test/java/tools/devnull/boteco/predicates/TargetPredicateTest.java | Java | mit | 2,605 |
using System;
using System.Collections.Generic;
using System.Text;
using Icy.Util;
namespace Icy.Database.Query
{
public class JoinClauseOptions{
public object first;
public string operator1;
public object second;
public string boolean;
public bool where;
public bo... | mattiamanzati/Icy | Icy/Database/Query/JoinClause.cs | C# | mit | 8,200 |
<?php
namespace YaoiTests\PHPUnit\Storage;
use Yaoi\Storage;
use Yaoi\Storage\Contract\Expire;
use Yaoi\Storage\Contract\ExportImportArray;
use Yaoi\Test\PHPUnit\TestCase;
abstract class TestStorageBasic extends TestCase
{
/**
* @var Storage
*/
protected $storage;
public function testTtl()
... | php-yaoi/php-yaoi | tests/src/PHPUnit/Storage/TestStorageBasic.php | PHP | mit | 2,450 |
/********************************************************************
Software License Agreement:
The software supplied herewith by Microchip Technology Incorporated
(the "Company") for its PIC(R) Microcontroller is intended and
supplied to you, the Company's customer, for use solely and
exclusively on Microchip ... | timwuu/PK3SP24 | v2014_07_22/apps/usb/host/hid_bridgeHost/firmware/src/system_config/exp16/pic24fj64gb002_pim/system.c | C | mit | 6,072 |
// All code points in the Khmer Symbols block as per Unicode v5.0.0:
[
0x19E0,
0x19E1,
0x19E2,
0x19E3,
0x19E4,
0x19E5,
0x19E6,
0x19E7,
0x19E8,
0x19E9,
0x19EA,
0x19EB,
0x19EC,
0x19ED,
0x19EE,
0x19EF,
0x19F0,
0x19F1,
0x19F2,
0x19F3,
0x19F4,
0x19F5,
0x19F6,
0x19F7,
0x19F8,
0x19F9,
0x19FA,
0x19F... | mathiasbynens/unicode-data | 5.0.0/blocks/Khmer-Symbols-code-points.js | JavaScript | mit | 360 |
jQuery(document).ready(function() {
$('.alert-close').bind('click', function() {
$(this).parent().fadeOut(100);
});
function createAutoClosingAlert(selector, delay) {
var alert = $(selector).alert();
window.setTimeout(function() { alert.alert('close') }, delay);
}
createAutoClosingAlert(".ale... | scr-be/mantle-bundle | src/Resources/public/js/scribe/alert.js | JavaScript | mit | 337 |
CucumberJsBrowserRunner.StepDefinitions.test3(function () {
var And = Given = When = Then = this.defineStep,
runner;
Given(/^test3$/, function(callback) {
callback();
});
When(/^test3$/, function(callback) {
callback();
});
Then(/^test3$/, function(callback) ... | akania/cucumberjs-browserRunner | tests/features/step_definitions/test3_steps.js | JavaScript | mit | 356 |
.styleSans721.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle> {
font-family: Sans;
font-size: 721.0pt;
font-weight: normal;
font-style: normal;
text-align: 0;
letter-spacing: 0pt;
line-height: 0pt;
}
.styleSans12000<enum PANGO_WEIGHT_NORMAL ... | datamade/elpc_bakken | ocr_extracted/W24890_text/style.css | CSS | mit | 6,596 |
'use strict';
var run = require('./helpers').runMochaJSON;
var assert = require('assert');
describe('.only()', function() {
describe('bdd', function() {
it('should run only tests that marked as `only`', function(done) {
run('options/only/bdd.fixture.js', ['--ui', 'bdd'], function(err, res) {
if (e... | boneskull/mocha | test/integration/only.spec.js | JavaScript | mit | 1,531 |
# Linux Kernel Module
This is simple kernel linux module:
To compile this module:
***make -C /lib/modules/$(uname -r)/build M=$PWD***
Load module:
***insmod modulo.ko***
Unload module:
***rmmod modulo.ko***
You can run the follow command to see the log messages:
***dmesg***
| joeloliveira/embedded-linux | device-drivers/simple-module/README.md | Markdown | mit | 279 |
import { ComponentRef, DebugElement } from '@angular/core';
import { ComponentFixture } from '@angular/core/testing';
export function doClassesMatch(resultClasses: DOMTokenList, expectedClasses: string[]): boolean {
let classesMatch = true;
let currentClass: string = null;
for (let i = 0; i < expectedClasses.le... | testing-angular-applications/contacts-app-starter | website/src/app/contacts/testing/do-classes-match.ts | TypeScript | mit | 504 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Amigoo Secreto - Sorteio</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/principal.css">
<script type="text/javascript" src="js/angular.js"></script>
... | tiagoassissantos/amigo_secreto | src/main/webapp/static/sorteio.html | HTML | mit | 981 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta content="Craig McClellan" name="author">
<title>Craig McClellan - T13203775423 </title>
<link href=... | craigwmcclellan/craigwmcclellan.github.io | _site/2010/04/30/t13203775423.html | HTML | mit | 4,845 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<meta name="collection" content="api">
<!-- Generated by javadoc (build 1.5.0-rc) on Wed Aug 11 07:22:17 PDT 2004 -->
<TITLE>
MenuComponent (Java 2 Platform SE 5.0)
</TITLE>
<META NAME="k... | Smolations/more-dash-docsets | docsets/Java 5.docset/Contents/Resources/Documents/java/awt/MenuComponent.html | HTML | mit | 28,810 |
# Configure SSO Integration for Dropbox
The Dropbox [Single Sign-on (SSO)](https://auth0.com/docs/sso) Integration creates a client application that uses Auth0 for authentication and provides SSO capabilities for Dropbox. Your users log in to Dropbox with Auth0 [identity providers](https://auth0.com/docs/identityprovi... | auth0/docs | snippets/sso-integrations/dropbox/0.md | Markdown | mit | 409 |
Compiling/running fishcoind unit tests
------------------------------------
fishcoind unit tests are in the `src/test/` directory; they
use the Boost::Test unit-testing framework.
To compile and run the tests:
cd src
make -f makefile.unix test_fishcoin # Replace makefile.unix if you're not on unix
./test_fishcoi... | fishcoin/fishcoin | doc/unit-tests.md | Markdown | mit | 1,081 |
package com.rrajath.orange;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
public class MainActivity extends ActionBarActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInst... | rrajath/Orange | app/src/main/java/com/rrajath/orange/MainActivity.java | Java | mit | 1,118 |
### Oct 18, 2013
- Use the default Redis maxmemory policy, volatile-lru instead of volatile-ttl
- Create user activity if failed password match occurs for Basic auth
### Oct 17, 2013
- Increment task ID using Redis incr command
### Oct 16, 2013
- Basic and Token authentication comply with rfc dealing with realm param... | larzconwell/moln | CHANGELOG.md | Markdown | mit | 1,937 |
package org.zezutom.schematic.model.json;
import org.zezutom.schematic.service.generator.json.StringGenerator;
public class StringNodeTest extends NodeTestCase<String, StringGenerator, StringNode> {
@Override
StringNode newInstance(String name, StringGenerator generator) {
return new StringNode(name,... | zezutom/schematic | src/test/java/org/zezutom/schematic/model/json/StringNodeTest.java | Java | mit | 521 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>SassApp</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{content-for "head"}}
<link integrity="" rel="style... | salsify/ember-css-modules | test-packages/sass-app/app/index.html | HTML | mit | 692 |
<div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Reservation's</h1>
</div>
<!-- /.col-lg-12 -->
</div>
<div class="row">
<div class="col-lg-12">
<?php if($this->s... | shakilkhan12/Rent_Room | application/views/admin/parts/book.php | PHP | mit | 5,242 |
module.exports = require('eden-class').extend(function() {
/* Require
-------------------------------*/
/* Constants
-------------------------------*/
/* Public.Properties
-------------------------------*/
/* Protected Properties
-------------------------------*/
this._table = null;
this._where = [];
/* ... | edenjs/mysql | mysql/delete.js | JavaScript | mit | 1,715 |
# A short history
## < v0.2
- node was event based
| thomaspeklak/nodejs-vienna-streams-presentation | presentation02.md | Markdown | mit | 55 |
<HTML><HEAD>
<TITLE>Review for Ed Wood (1994)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0109707">Ed Wood (1994)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Eric+Grossman">Eric Gro... | xianjunzhengbackup/code | data science/machine_learning_for_the_web/chapter_4/movie/2932.html | HTML | mit | 5,831 |
<?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\Olympus;
use JMS\Serializer\Annotation\ExclusionPolicy;... | romainneutron/PHPExiftool | lib/PHPExiftool/Driver/Tag/Olympus/WBGLevel.php | PHP | mit | 835 |
@ECHO OFF
pushd %~dp0
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=python -msphinx
)
set SOURCEDIR=.
set BUILDDIR=_build
set SPHINXPROJ=Bot-Chucky
if "%1" == "" goto help
%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The Sphinx module was not ... | MichaelYusko/Bot-Chucky | docs/make.bat | Batchfile | mit | 808 |
const path = require('path');
const { expect } = require('chai');
const delay = require('../../../../lib/utils/delay');
describe('Compiler service', () => {
it('Should execute a basic test', async () => {
await runTests('testcafe-fixtures/basic-test.js', 'Basic test');
});
it('Should ha... | AndreyBelym/testcafe | test/functional/fixtures/compiler-service/test.js | JavaScript | mit | 1,948 |
package rd2wgs84
import (
"testing"
)
var parseTests = []struct {
in RD
out *WGS84
}{
{RD{163835.370083, 446830.763585}, &WGS84{52.00977421758342, 5.515894213047998}},
}
func TestConvert(t *testing.T) {
for i, tt := range parseTests {
wgs := Convert(tt.in.X, tt.in.Y)
if wgs.Latitude != tt.out.Latitude || w... | mvmaasakkers/go-rd2wgs84 | rd2wgs84_test.go | GO | mit | 463 |
body,html,p{
padding:0px;
margin:0px;
overflow:hidden;
}
a{
color:white;
}
.infoBox{
position:absolute;
top: 10px;
left: 10px;
}
.play,.stop{
margin:5px;
color:black;
width:100px;
height:50px;
background-color:white;
}
.title{
font-family:arial;
color:white;
}
.debug{
font-family:arial;
color:white;
}
.... | JakeSiegers/JavascriptMusicVisualizer | css/style.css | CSS | mit | 344 |
FRTMProDesigner
===============
3D Surveillance Designer
========================
- 3D rendering developed with modern OpenGL including vertex & fragment shaders
- Makes use of projective texture mapping
- Developed software using OOP principles and design patterns
- Doxygen documentation: http://jaybird19.github.io/... | jaybird19/FRTMProDesign | README.md | Markdown | mit | 2,589 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>color: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.02.3-2.0.6/released/8.5.0/color/1.3.0.html | HTML | mit | 9,196 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>lemma-overloading: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.05.0-2.0.6/released/8.7.1+2/lemma-overloading/8.11.0.html | HTML | mit | 7,897 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ltac2: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.05.0-2.0.6/released/8.10.2/ltac2/0.1.html | HTML | mit | 6,591 |
<?php
return array (
'id' => 'mot_v3i_ver1_sub080305r',
'fallback' => 'mot_v3i_ver1',
'capabilities' =>
array (
),
);
| cuckata23/wurfl-data | data/mot_v3i_ver1_sub080305r.php | PHP | mit | 129 |
---
layout: page
title: Orr Dart Tech Conference
date: 2016-05-24
author: Jack Blankenship
tags: weekly links, java
status: published
summary: Sed molestie molestie dignissim. Pellentesque hendrerit ac.
banner: images/banner/meeting-01.jpg
booking:
startDate: 09/07/2016
endDate: 09/09/2016
ctyhocn: ONTNPHX
grou... | KlishGroup/prose-pogs | pogs/O/ONTNPHX/ODTC/index.md | Markdown | mit | 1,883 |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="uk" version="2.0">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About GoobyCoin</source>
<translation>Про GoobyCoin</translation>
</message>
<message>
<locat... | GoobyCoin/GoobyCoin | src/qt/locale/bitcoin_uk.ts | TypeScript | mit | 127,958 |
package bimg
import (
"io/ioutil"
"os"
"path"
"testing"
)
func TestSize(t *testing.T) {
files := []struct {
name string
width int
height int
}{
{"test.jpg", 1680, 1050},
{"test.png", 400, 300},
{"test.webp", 550, 368},
}
for _, file := range files {
size, err := Size(readFile(file.name))
if... | h2non/bimg | metadata_test.go | GO | mit | 15,803 |
// ===========================================================================
//
// PUBLIC DOMAIN NOTICE
// Agricultural Research Service
// United States Department of Agriculture
//
// This software/database is a "United States Government Work" unde... | adolgert/hop-skip-bite | hopskip/src/semimarkov-0.1/partial_core_matrix.hpp | C++ | mit | 7,601 |
using System;
using Xamarin.Forms;
namespace TextSpeaker.Views
{
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
}
private async void Button_OnClicked(object sender, EventArgs e)
{
var result = await Disp... | jxug/PrismAndMoqHansOn | before/TextSpeaker/TextSpeaker/TextSpeaker/Views/MainPage.xaml.cs | C# | mit | 539 |
var fans=require('../../modules/blog/fans');
var User=require('../../modules/resume/user');
var async = require('asyncawait/async');
var await = require('asyncawait/await');
module.exports=(async(function(method,req,res){
var result;
if(method==='get'){
}
else if(method==='post'){
var userId=req.session.uid;
v... | weijiafen/antBlog | src/main/server/controler/blog/fans.js | JavaScript | mit | 1,918 |
<?php
namespace Guardian\User\Caller;
use Assert\Assertion;
use Guardian\Caller\HasLoginToken;
use Guardian\User\Caller;
/**
* Simple user caller
*
* @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
*/
class User implements Caller, HasLoginToken, \ArrayAccess
{
/**
* @var string|integer
*/
pr... | guardianphp/user | src/Caller/User.php | PHP | mit | 2,639 |
module HashRollup
extend self
def rollup data, into
raise ArgumentError, "arguments must be Hashes" unless data.is_a?(Hash) && into.is_a?(Hash)
into.merge(data) do |key, current_val, new_val|
if current_val.class.name != new_val.class.name
raise "Mismatch in types detected! Key = #{key}, cur... | UKHomeOffice/platform-hub | platform-hub-api/app/lib/hash_rollup.rb | Ruby | mit | 609 |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.4
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... | JinkiJung/PAUT | VRAT/vrat/Assets/Plugins/NoesisGUI/Scripts/Proxies/Sizei.cs | C# | mit | 3,144 |
"""
.. module:: mlpy.auxiliary.datastructs
:platform: Unix, Windows
:synopsis: Provides data structure implementations.
.. moduleauthor:: Astrid Jackson <ajackson@eecs.ucf.edu>
"""
from __future__ import division, print_function, absolute_import
import heapq
import numpy as np
from abc import ABCMeta, abstract... | evenmarbles/mlpy | mlpy/auxiliary/datastructs.py | Python | mit | 10,818 |
import unittest
import numpy as np
from bayesnet.image.util import img2patch, patch2img
class TestImg2Patch(unittest.TestCase):
def test_img2patch(self):
img = np.arange(16).reshape(1, 4, 4, 1)
patch = img2patch(img, size=3, step=1)
expected = np.asarray([
[img[0, 0:3, 0:3, 0]... | ctgk/BayesianNetwork | test/image/test_util.py | Python | mit | 1,753 |
<?php
/**
* Created by PhpStorm.
* User: gseidel
* Date: 16.10.18
* Time: 23:45
*/
namespace Enhavo\Bundle\FormBundle\Form\Type;
use Enhavo\Bundle\FormBundle\Form\Helper\EntityTreeChoiceBuilder;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\... | npakai/enhavo | src/Enhavo/Bundle/FormBundle/Form/Type/EntityTreeType.php | PHP | mit | 1,622 |
/****************************************************************/
/* 1. IMPORTED STYLESHEETS */
/****************************************************************/
/* Import the basic setup styles */
@import url(imports/base.css);
/* Import the colour scheme */
@import url(imports/Radium_cs.css);
/**********... | fweber1/Annies-Ancestors | PhpGedView/modules/punbb/style/Radium.css | CSS | mit | 8,041 |
// @flow
import React, { Component } from 'react'
import { Helmet } from 'react-helmet'
import AlternativeMedia from './AlternativeMedia'
import ImageViewer from './ImageViewer'
import { Code, CodeBlock, Title } from '../components'
const propFn = k => {
const style = { display: 'inline-block', marginBottom: 4, ma... | jossmac/react-images | docs/pages/CustomComponents/index.js | JavaScript | mit | 4,414 |
JAMAccurateSlider
===========
A UISlider subclass that enables much more accurate value selection.

JAMAccurateSlider is a drop-in replacement for UISlider. It behaves exactly the same as... | jmenter/JAMAccurateSlider | README.md | Markdown | mit | 1,057 |
'''
logger_setup.py customizes the app's logging module. Each time an event is
logged the logger checks the level of the event (eg. debug, warning, info...).
If the event is above the approved threshold then it goes through. The handlers
do the same thing; they output to a file/shell if the event level is above their
t... | Kbman99/NetSecShare | app/logger_setup.py | Python | mit | 2,739 |
import { TurbolinksTestCase } from "./helpers/turbolinks_test_case"
import { get } from "http"
export class VisitTests extends TurbolinksTestCase {
async setup() {
this.goToLocation("/fixtures/visit.html")
}
async "test programmatically visiting a same-origin location"() {
const urlBeforeVisit = await t... | turbolinks/turbolinks | src/tests/visit_tests.ts | TypeScript | mit | 2,975 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
namespace LibGit2Sharp.Core
{
/// <summary>
/// Ensure input parameters
/// </summary>
[DebuggerStepThrough]
internal static class Ensure
{
/// <summary>
///... | GeertvanHorrik/libgit2sharp | LibGit2Sharp/Core/Ensure.cs | C# | mit | 10,346 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Graphics;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mods
{
public abstract class ModPerfect : ModSuddenDeath
{
public o... | naoey/osu | osu.Game/Rulesets/Mods/ModPerfect.cs | C# | mit | 664 |
var gulp = require('gulp');
var browserify = require('browserify');
//transform jsx to js
var reactify = require('reactify');
//convert to stream
var source = require('vinyl-source-stream');
var nodemon = require('gulp-nodemon');
gulp.task('browserify', function() {
//source
browserify('./src/js/main.js')
... | felixcriv/react_scheduler_component | gulpfile.js | JavaScript | mit | 1,039 |
<?php
namespace TodoListBundle\Repository;
use TodoListBundle\Entity\Todo;
use TodoListBundle\Google\Client;
use Google_Service_Tasks;
use Google_Service_Tasks_Task;
class GTaskApiTodoRepository implements ITodoRepository
{
/**
* @var Google_Service_Tasks
*/
private $taskService;
private $todoRepository;
p... | Green92/gcTodoList | src/TodoListBundle/Repository/GTaskApiTodoRepository.php | PHP | mit | 2,671 |
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>ExceptionEvaluator.IsTriggeringEvent Method</title>
<xml>
</xml>
<link rel="stylesheet" type="text... | npruehs/slash-framework | Ext/log4net-1.2.11/doc/release/sdk/log4net.Core.ExceptionEvaluator.IsTriggeringEvent.html | HTML | mit | 3,288 |
/*!
* Diaphanous
* https://github.com/Jonic/Diaphanous
* @author Jonic Linley <jonic@100yen.co.uk>
* @version 0.0.1
* Copyright 2013 Jonic Linley MIT licensed.
*/
address:before,
article:before,
aside:before,
blockquote:before,
body:before,
div:before,
dl:before,
fieldset:before,
figcaption:before,
figure:before... | Jonic/Diaphanous | public/styles/master.min.css | CSS | mit | 4,125 |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | ginach/msgraph-sdk-dotnet | src/Microsoft.Graph/Requests/Generated/WorkbookFunctionsNetworkDaysRequestBuilder.cs | C# | mit | 3,138 |
---
layout: post
status: publish
published: true
title: "$100 to spend on WF"
author:
display_name: Tomas Restrepo
login: tomasr
email: tomas@winterdom.com
url: http://winterdom.com/
author_login: tomasr
author_email: tomas@winterdom.com
author_url: http://winterdom.com/
wordpress_id: 137
wordpress_url: http://... | tomasr/winterdom.com | _posts/2006-08-22-100tospendonwf.html | HTML | mit | 3,228 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Tell the browser to be responsive to screen width -->
<title>SI Administrasi Desa</ti... | swantara/si-administrasi-kependudukan | application/views/template.php | PHP | mit | 9,733 |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.google.android.gms;
public final class R {
public static final class attr {
public static final int adSize = 0x7f01006a;
... | mustafaneguib/tag-augmented-reality-android | gen/com/google/android/gms/R.java | Java | mit | 13,382 |
#!/usr/bin/env bash
PATH=/opt/usao/moodle3/bin:/usr/local/bin:/usr/bin:/bin:/sbin:$PATH
## Require arguments
if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ] ; then
cat <<USAGE
moodle3_migrate.sh migrates a site between hosts.
Usage: moodle3_migrate.sh \$dest_moodledir \$src_moodlehost \$src_cfgdir
\$dest_moodledir ... | USAO/ansible-role-moodle3 | files/moodle3_migrate.sh | Shell | mit | 2,116 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
using System.Security;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die... | mk-prg-net/mk-prg-net.lib | mko/Properties/AssemblyInfo.cs | C# | mit | 1,762 |
---
layout: post
title: Home Lab 2016 (2015)
category: homework
tag: imported
author: adricnet
---
*draft post, no images, end notes, links yet*
Revamped and reconfigured post-SEC511 and SOC Augusta 2015, with some input from GSE studies Google group, plus some good stuff for file analysis that I'm currently neglectin... | DFIRnotes/dfirnotes.github.io | _posts/2015-10-11-home_lab_2016.md | Markdown | mit | 6,952 |
module.exports = function(config) {
config.set({
basePath: '../../',
frameworks: ['jasmine', 'requirejs'],
files: [
{pattern: 'test/unit/require.conf.js', included: true},
{pattern: 'test/unit/tests/global.js', included: true},
{pattern: 'src/client/**/... | robsix/3ditor | test/unit/karma.conf.js | JavaScript | mit | 1,463 |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "CDStructures.h"
#import "IDEProvisioningSigningIdentity-Protocol.h"
@class NSDate, NSString;
@interface IDEProvisioningSigningIdentityPrototype : NSObject <IDEProvisioni... | kolinkrewinkel/Multiplex | Multiplex/IDEHeaders/IDEHeaders/IDEFoundation/IDEProvisioningSigningIdentityPrototype.h | C | mit | 1,110 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>FSharpDeclarationListItem - F# Compiler Services</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="Microsoft Corporation, Dave Thomas... | Jand42/FSharp.Compiler.Service | docs/reference/microsoft-fsharp-compiler-sourcecodeservices-fsharpdeclarationlistitem.html | HTML | mit | 16,236 |
<!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/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | v8-dox/v8-dox.github.io | 5ce4f3e/html/classv8_1_1_boolean.html | HTML | mit | 33,388 |
ROLES = {
-- WORRIER: Close-combat specialist
worrier = {
name = "Worrier",
description = "A powerful fighter who might be\na bit too kind for their own good.",
level_cap = 20,
hp = 24,
hp_growth = 0.52,
mp = 11,
mp_growth = 0.... | MkNiz/Love2Crawl | tables/roles.lua | Lua | mit | 3,340 |
/**
* @namespace http
*
* The C<http> namespace groups functions and classes used while making
* HTTP Requests.
*
*/
ECMAScript.Extend('http', function (ecma) {
// Intentionally private
var _documentLocation = null
function _getDocumentLocation () {
if (!_documentLocation) _documentLocation = new ecm... | ryangies/lsn-javascript | src/lib/ecma/http/http.js | JavaScript | mit | 3,860 |
#//////////////////////////////////////////////////////////////////////////////
# -- clMAGMA (version 1.0.0) --
# Univ. of Tennessee, Knoxville
# Univ. of California, Berkeley
# Univ. of Colorado, Denver
# April 2012
#//////////////////////////////////////////////////////////////////////////////
... | mauro-belgiovine/belgiovi-clmagma | Makefile | Makefile | mit | 2,211 |
<?php
namespace Anax\Questions;
/**
* A controller for question-related pages
*
*/
class QuestionsController implements \Anax\DI\IInjectionAware
{
use \Anax\DI\TInjectable;
public function initialize()
{
$this->questions = new \Anax\Questions\Question();
$this->questions->setDI($this->di);
... | sebastianjonasson/phpmvcprojekt | app/src/Question/QuestionsController.php | PHP | mit | 4,081 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.