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 |
|---|---|---|---|---|---|
---
title: "Overview of Windows 8 Metro App Development"
date: 2011-12-10 00:00
---
My employer, the fabulous [500px](http://500px.com/), was invited by Microsoft to attend a three-day workshop on writing Metro-style apps for Windows 8. Since this is a new mobile development field, and mobile is kind of my thing, I ju... | yogoo/ashfurrow-blog | source/blog/2011-12-10-overview-of-windows-8-metro-app-development.markdown | Markdown | mit | 13,019 |
export const addTestCase = function() {
return {
type: 'EDITOR/VARIABLE_ADD_CASE'
};
};
export const setProperty = function(index, name, value) {
return {
type: 'EDITOR/VARIABLE_SET_PROPERTY',
payload: {
index,
name,
value
}
};
};
export const addVariable = function(index) {
... | vkaravir/js-parsons-editor | src/actions/editors/variable.js | JavaScript | mit | 721 |
"""
WSGI config for asteria project.
This module contains the WSGI application used by Django's development server
and any production WSGI deployments. It should expose a module-level variable
named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover
this application via the ``WSGI_APPLICATION`` ... | tunegoon/asteria | asteria/wsgi.py | Python | mit | 1,136 |
'use strict';
class Header extends React.Component {
constructor(props) {
super(props);
this.state = {
doneFilters: false
};
}
componentDidUpdate() {
if (this.props.filters && !this.state.doneFilters) {
$('.button-collapse').sideNav();
this.setState({ doneFilters: true });
... | kar288/exquery | gettingstarted/static/build/header.js | JavaScript | mit | 1,273 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_112-google-v7) on Mon Dec 18 13:35:09 PST 2017 -->
<title>ConfigurationV25</title>
<meta name="date" content="2017-12-18">
<link rel="styleshee... | robolectric/robolectric.github.io | javadoc/3.6/org/robolectric/android/ConfigurationV25.html | HTML | mit | 10,972 |
package org.concurrent.queue;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.ReentrantLock;
/**
* 有界阻塞缓冲队列
* User: krisjin
* Date: 2016/2/16
*/
public class BoundedBufferQueue<E> {
private final ReentrantLock lock;
private final Condition notEmpty;
private final Condit... | zoopaper/concurrent-programming | src/main/java/org/concurrent/queue/BoundedBufferQueue.java | Java | mit | 1,591 |
@main("Ruby Programming Language"){
<div class="row">
<div class="col-sm-8" style="padding-top: 7%;">
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi varius, libero molestie accumsan tempor, tellus ipsum pretium nulla, sit amet faucibus dolor nunc at velit.
Maecenas ornare... | cwrobertson/WebApp | app/views/RubyPage.scala.html | HTML | mit | 2,594 |
<?php
class DataTest extends \PHPUnit_Framework_TestCase
{
public function testCanCreateInstance()
{
$this->assertInstanceOf(
'\Snscripts\HtmlHelper\Services\Basic\Data',
new \Snscripts\HtmlHelper\Services\Basic\Data
);
}
public function testGetValueReturnsNullW... | snscripts/html-helper | Tests/Services/Basic/DataTest.php | PHP | mit | 1,334 |
// Routes everything '/helper' related.
exports.index = function(app) {
app.get('/datasets', function(req, res) {
res.render('misc/error', {
'info': 'Work in Progress'
});
});
} | skepticfx/domstorm | controllers/datasets.js | JavaScript | mit | 197 |
var core = require("./core").dom.level2.core,
events = require("./core").dom.level2.events,
applyDocumentFeatures = require('../browser/documentfeatures').applyDocumentFeatures,
URL = require("url"),
Path = require('path'),
fs ... | godmar/jsdom | lib/jsdom/level2/html.js | JavaScript | mit | 43,247 |
#
# Kyle Poore
# March 3, 2014
CC = gcc -O3
BUILDDIR = ../build
BINDIR = ../bin
MODDIR = modules
TESTDIR = ../public
MODULES = GET.c POST.c
TESTS = helloworld.c reflect.c ngen.c
FRAMEWORK = dispatch.c server.c process_request.c request.c helpers.c
MODULE_OBJS = $(MODULES:%.c=$(BUILDDIR)/$(MODDIR)/%.o)
FRAMEWORK_OBJS =... | Kylepoore/mini-http-server | src/Makefile | Makefile | mit | 1,519 |
define(['components/home-page/home'], function(homePage) {
var HomePageViewModel = homePage.viewModel;
var instance;
describe('Home page view model', function() {
beforeEach(function() {
spyOn(HomePageViewModel.prototype, 'loadYelpPlaces').and.callThrough();
instance = new HomePageViewModel();
... | mradenovic/neighborhood-map | test/components/home-page.js | JavaScript | mit | 585 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `atomic_fence` fn in crate `core`.">
<meta name="keywords" ... | ArcherSys/ArcherSys | Rust/share/doc/rust/html/core/intrinsics/fn.atomic_fence.html | HTML | mit | 3,715 |
---
layout: fr
body_class: page
---
<div class="container postcontent">
<div class="band">
<div class="row wide-gutter-row">
<div class="col-md-7 col-lg-8 wide-gutter-col">
<h2>{{ page.title }}</h2>
{% comment %}Date needs to be translated.{% endcomment %}
{{ content }}
</div>
</... | jpmckinney/opengovdialogue.ca-jekyll | _layouts/post-fr.html | HTML | mit | 340 |
from copy import copy
import sys
from textwrap import dedent
import warnings
import logging
import numpy
from six.moves import xrange
import theano
from theano.compat import izip
from six import integer_types
from theano.gradient import DisconnectedType
from theano import gof
from theano.gof import Apply, Constant, h... | nke001/attention-lvcsr | libs/Theano/theano/tensor/subtensor.py | Python | mit | 84,816 |
<?php
/*
* This file is part of the webmozart/expression package.
*
* (c) Bernhard Schussek <bschussek@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Webmozart\Expression\Tests\Logic;
use PHPUnit_Framework_... | mickaelandrieu/expression | tests/Logic/NotTest.php | PHP | mit | 1,710 |
define([
"dojo/_base/array", // array.indexOf
"dojo/_base/declare", // declare
"dojo/dom", // dom.isDescendant domClass.replace
"dojo/dom-attr",
"dojo/dom-class", // domClass.replace
"dojo/_base/lang", // lang.hitch
"dojo/mouse", // mouse.enter, mouse.leave
"dojo/on",
"dojo/window",
"./a11yclick",
"./popup",... | aguadev/aguadev | html/dojo-1.8.3/dijit/_MenuBase.js | JavaScript | mit | 15,420 |
<?php
/**
* @link http://zoopcommerce.github.io/shard
* @package Zoop
* @license MIT
*/
namespace Zoop\Shard\Core;
use Doctrine\Common\Annotations\Reader;
use Doctrine\Common\EventArgs as BaseEventArgs;
use Doctrine\Common\EventManager as BaseEventManager;
use Doctrine\Common\Persistence\Mapping\ClassM... | zoopcommerce/shard | lib/Zoop/Shard/Core/LoadMetadataEventArgs.php | PHP | mit | 1,303 |
import { Item, Items, ODataEntityArray, ODataEntity, ODataParser, FetchOptions, Logger, LogLevel } from "sp-pnp-js";
import { select, expand } from "../sharepoint/utils/decorators";
import { SelectDecoratorsParser, SelectDecoratorsArrayParser } from "../sharepoint/parser/SelectDecoratorsParsers";
import { getSymbol }... | aTsirkov/sp-ng2-primeng | src/app/entities/frs.entities.ts | TypeScript | mit | 4,904 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example of joining two rectangles</title>
<script type="application/javascript" src="../../build/diaframer.js"></script>
<script type="application/javascript" src="scripts/example.js"></script>
<style>
#canvas {
... | saeschdivara/Diaframer | examples/join/index.html | HTML | mit | 512 |
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.6
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/yujifan/CLionProjects/output route final")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/Users/yujifan/CLionProjects/output route final/cmake-b... | framefreeze/HangDriver | lane_mentor/output_route_final/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake | CMake | mit | 687 |
import { vec2, vec3, vec4, quat, mat4 } from 'gl-matrix';
import toNDC from '../../util/toNDC';
export default class RotateMode {
constructor(entity, ndc, alignAxis = null) {
this.entity = entity;
this.startQuat = quat.create();
this.mouseHeld = true;
this.ndc = ndc;
this.angle = 0;
this.l... | yoo2001818/kkiro3d | src/view/mode/rotate.js | JavaScript | mit | 4,505 |
<?php
use Snail\App\Model;
class TestModel extends Model {
public function __construct() {
parent::__construct();
}
} | dennisslimmers01/Snail-MVC | models/TestModel.php | PHP | mit | 135 |
using UnityEngine;
using System.Collections;
public class VideoController : MonoBehaviour {
public bool isStop = false;
public MovieTexture myMovie;
private GameObject menuBox;
private Camera menuCamera;
void Start () {
PlayerPrefs.DeleteAll ();
myMovie.Play ();
menuBox = GameObject.Find ("menu");
// m... | gormanate/Rolling-Cube | Assets/Scripts/VideoController.cs | C# | mit | 776 |
import * as React from "react";
import ReactTable, {TableProps, Column} from "react-table";
import selectTableHoc from "react-table/lib/hoc/selectTable";
import {DEPAccount, DEPProfile} from "../../store/dep/types";
import {DEPProfileName} from "../react-table/DEPProfileName";
import {JSONAPIDataObject} from "../../sto... | jessepeterson/commandment | ui/src/components/react-tables/DEPProfilesTable.tsx | TypeScript | mit | 1,128 |
<?php
namespace JuniorEsiee\BusinessBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
use JMS\DiExtraBundle\Annotation as DI;
use JuniorEsiee\BusinessBundle\Entity\Project;
/**
* @DI\FormType
*/
cla... | na-ji/junior-esiee | src/JuniorEsiee/BusinessBundle/Form/ProjectType.php | PHP | mit | 6,121 |
__all__ = ["melfilterbank", "windowing", "spectrogram", "resample"]
import melfilterbank
import windowing
import spectrogram
import resample | twerkmeister/iLID | preprocessing/audio/__init__.py | Python | mit | 141 |
import Relay from 'react-relay/classic';
class FindPublicTeamRoute extends Relay.Route {
static queries = {
team: () => Relay.QL`query FindPublicTeam { find_public_team(slug: $teamSlug) }`,
};
static paramDefinitions = {
teamSlug: { required: true },
};
static routeName = 'FindPublicTeamRoute';
}
ex... | meedan/check-web | src/app/relay/FindPublicTeamRoute.js | JavaScript | mit | 354 |
<header class="header-tit">
<a class="goBack fl" href="#static/investManage"><i></i>返回</a>
<p class="txt_c">优秀的投资管理能力</p>
</header>
<section class="word-pd1 bg-fff">
<p class="fs16 fw_bd cl-333">优秀的投资管理能力</p>
<p class="fs15 fw_bd cl-333 m-t10">1、时间最长的投资管理团队</p>
<p class="fs14 cl-666 m-t10">平安养老拥有一支完... | Wooleners/AnnuityTouch | src/modules/static/investBestAbility.html | HTML | mit | 1,803 |
<?php include_once "includes/templates/header.php" ;?>
<section class="seccion contenedor">
<h2>GDLWEBCAMP</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolor, quae aspernatur explicabo voluptatem iusto inventore amet, illum quas nisi vitae repudiandae! Exercitationem... | frank-ec/gdlwebcamp | index1.php | PHP | mit | 12,362 |
package handlers_test
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
"net/http/httptest"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/zefer/gompd/mpd"
"github.com/zefer/mothership/handlers"
)
type mockPlClient struct{}
var mockStatus map[string]string = map[string]string{}
func (c ... | zefer/mothership | handlers/playlist_test.go | GO | mit | 10,362 |
# Pull base image
FROM node:6.11.0
MAINTAINER Venkata krishna "vkvenkat94@gmail.com"
# Copy to work directory
ADD . ./badgeit-front
# Move to work directory
WORKDIR ./badgeit-front
# Install app dependencies
RUN ["npm", "install"]
# Binds to port 8080
EXPOSE 8080
CMD ["npm", "start"] | argonlaser/badgeit-front | Dockerfile | Dockerfile | mit | 291 |
/*
* Copyright (c) 2016, 2017, 2020 Konstantin Tcholokachvili
* All rights reserved.
* Use of this source code is governed by a MIT license that can be
* found in the LICENSE file.
*/
#pragma once
#include <io/console.h>
#define FORTH_DICTIONARY 0
#define MACRO_DICTIONARY 1
typedef int32_t cell_t;
typedef str... | narke/Einherjar | kernel/colorforth/colorforth.h | C | mit | 815 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>BOOST_COMP compiler macros</title>
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../index.html" title="Predef... | Franky666/programmiersprachen-raytracer | external/boost_1_59_0/libs/predef/doc/html/predef/reference/boost_comp_compiler_macros.html | HTML | mit | 53,644 |
require 'quickbuild/config/result_saver'
module Quickbuild::Config
RSpec.describe ResultSaver do
let(:mock_output) do
output = double('mock_output')
allow(output).to receive(:puts)
output
end
subject do
ResultSaver.new(mock_output)
end
describe '#save' do
it 'saves configuration and ... | ashumkin/quickbuild-config-gem | spec/quickbuild/config/result_saver_spec.rb | Ruby | mit | 1,931 |
#include "PlayerInputSystem.h"
#include <iostream>
void PlayerInputSystem::update(int elapsedTimeMs, World &world) {
for (auto ev: world.entities) {
Entity *entity = ev.second;
if(!entity->hasComponents(ComponentTypes::K_PLAYER_INPUT_MAP))
{
continue;
}
SDL_ass... | recursivefaults/mustached-wight | src/systems/PlayerInputSystem.cpp | C++ | mit | 2,493 |
'use strict';
describe('Authentication Identity Specification', function()
{
var _authIdentity;
var _httpBackend;
var _identity = {
key1: 'value1',
key2: 'value2',
key3: {
subKey1: 'subValue1',
subKey2: 'subValue2'
}
};
var _authRequests;
... | tafax/angular-digest-auth | tests/authIdentitySpec.js | JavaScript | mit | 2,665 |
<div class="vertical-scroll">
<table class="table table-striped">
<thead>
<tr>
<th class="table-id">#</th>
<th>Name</th>
<th>Result</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let item of smartTableData.test_cases; let i = index">
<td class="table-id">{{ i + 1 }}</td>
... | iandian/testmgui | src/app/pages/report/stripedTable/stripedTable.html | HTML | mit | 420 |
class CreateIncidents < ActiveRecord::Migration
def change
create_table :incidents do |t|
t.string :name
t.text :description
t.string :image
t.string :location
t.integer :user_id
t.decimal :latitude
t.decimal :longitude
t.timestamps null: false
end
end
end | dnajjar/Candid_Sidewalk | db/migrate/20150529140725_create_incidents.rb | Ruby | mit | 316 |
---
layout: post
title: "介绍一篇Jekyll+github建立自己博客的文章"
date: 2016-03-06 22:34:39 +0800
category: Jekyll
---
介绍一篇我自己看到过的算是讲解的比较详细的Jekyll+github建立博客的文章,我现在的这个Jekyll博客就是通过学习这篇文章自己建立的,有需要可以借鉴
<br />感谢原文博主
[戳此链接](http://pizida.com/technology/2016/03/03/use-jekyll-create-blog-on-github/)
| 352512482/eric | _posts/2016-03-06-介绍一篇Jekyll+github建立自己博客的文章.markdown | Markdown | mit | 450 |
/**
* Automatically generated file. Please do not edit.
* @author Highcharts Config Generator by Karasiq
* @see [[http://api.highcharts.com/highmaps]]
*/
package com.highmaps.config
import scalajs.js, js.`|`
import com.highcharts.CleanJsObject
import com.highcharts.HighchartsUtils._
/**
* @note JavaScript n... | Karasiq/scalajs-highcharts | src/main/scala/com/highmaps/config/SeriesIkhDragDropGuideBoxDefault.scala | Scala | mit | 3,001 |
if defined?(Rails::Railtie)
module Kumade
class Railtie < ::Rails::Railtie
rake_tasks do
load "kumade/tasks/deploy.rake"
end
end
end
end
| thoughtbot/kumade | lib/kumade/railtie.rb | Ruby | mit | 169 |
<?php
declare(strict_types=1);
namespace Scyzoryck\GridBundle\DataSource;
class IteratorData implements Data
{
/**
* @var \Iterator
*/
private $iterator;
public function __construct(\Iterator $iterator)
{
$this->iterator = $iterator;
}
/**
* @inheritdoc
*/
pu... | scyzoryck/grid-bundle | DataSource/IteratorData.php | PHP | mit | 705 |
angular.module('keyringLogin', ['auth'])
.component('keyringLogin', {
templateUrl : 'users/login',
controllerAs: 'login',
controller: ['$scope', '$http', '$location', '$httpParamSerializerJQLike', 'auth', function($scope, $http, $location, $httpParamSerializerJQLike, auth) {
this.username = '';
this.password = '... | vincentdieltiens/secure-keychain-php-backend | app/Resources/public/js/login.js | JavaScript | mit | 850 |
package de.slgdev.messenger.network;
import de.slgdev.leoapp.service.SocketService;
import de.slgdev.leoapp.utility.Utils;
import de.slgdev.messenger.activity.AddGroupChatActivity;
import de.slgdev.messenger.activity.ChatActivity;
import okhttp3.Response;
import okhttp3.WebSocket;
import okhttp3.WebSocketListener;
pu... | LCA311/leoapp-sources | app/src/main/java/de/slgdev/messenger/network/SocketListener.java | Java | mit | 2,112 |
var ffi = require('ffi'),
ref = require('ref'),
RefArray = require('ref-array'),
Struct = require('ref-struct'),
Union = require('ref-union'),
_library = require('./');
loadDependentSymbols();
_library._preload['the_dependent'] = [function () {
_library.the_dependent = _library.dependent;
}];
... | diosmosis/node-ffi-generator | tests/smoke/out/input.js | JavaScript | mit | 4,638 |
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Mike Murach & Associates - Professional Programming Books</title>
<link rel="stylesheet" type="text/css" href="styles/main.css" media="screen">
<!-- JavaScript HTML requirements -->
<script src="tabs_library.js"></script>
... | JaimeLynSchatz/project-stash | murach/html5_css3/book_examples/ch13/09_tabs/index.html | HTML | mit | 1,126 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_31) on Mon Apr 06 20:32:39 EDT 2015 -->
<title>All Classes</title>
<meta name="date" content="2015-04-06">
<link rel="stylesheet" type="text/cs... | patkub/java-data-structures-algorithms | LinkedBST/javadoc/allclasses-frame.html | HTML | mit | 2,092 |
<!DOCTYPE html>
<html>
<head>
<title>Awesome All</title>
<meta name="description" content="A curated list of all the awesome lists of awesome frameworks, libraries and software" />
</head>
<body>
<textarea theme="united" style="display:none;">
# [Awesome all](https://github.com/bradoyler/awesome-all)
A curated l... | bradoyler/awesome-all | index.html | HTML | mit | 2,835 |
package testing
import (
v2net "github.com/v2ray/v2ray-core/common/net"
"github.com/v2ray/v2ray-core/transport/ray"
)
type TestPacketDispatcher struct {
LastPacket chan v2net.Packet
Handler func(packet v2net.Packet, traffic ray.OutboundRay)
}
func NewTestPacketDispatcher(handler func(packet v2net.Packet, traf... | evolsnow/v2ray-core | app/dispatcher/testing/dispatcher.go | GO | mit | 919 |
/*!
*************************************************************************************
* \file sei.h
*
* \brief
* Prototypes for sei.c
*************************************************************************************
*/
#ifndef SEI_H
#define SEI_H
typedef enum {
SEI_BUFFERING_PERIOD = 0,
SEI_PIC_TIMING,
... | goodspeed24e/2011Corel | Video/Dec/Core/H264VDec/Main/H264VDec/H264VDecHP/sei.h | C | mit | 3,436 |
# Makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/do... | rsky/php-git | docs/Makefile | Makefile | mit | 4,594 |
/**
* Created by ZhiyuanSun on 16/9/22.
*/
import React, {Component} from 'react';
import EventSelectionItemImage from './event-selection-item-image';
export default class EventSelectionItem extends Component{
static defaultProps = {
showImage: false,
lazyLoading: false
};
constructor(props){
supe... | sunzy0212/local-event | UI/src/components/event-selection/js/event-selection-item.js | JavaScript | mit | 743 |
---
title: Country Assignments
date: 2017-10-14 11:06:57 -0400
type: page
menu:
sidebar:
pre: "<i class='fa fa-globe'></i>"
weight: 12
---
## DAYMUNC Country Assignments
---
We are accepting Country Assignments starting November 13th to November 19th (early preference submission). Country Assignments
can abs... | daymunc/daymunc_website | content/country.md | Markdown | mit | 1,833 |
require 'avro_turf/confluent_schema_registry'
require 'avro_turf/in_memory_cache'
require 'avro_turf/disk_cache'
# Caches registrations and lookups to the schema registry in memory.
class AvroTurf::CachedConfluentSchemaRegistry
# Instantiate a new CachedConfluentSchemaRegistry instance with the given configuration.... | dasch/avro_turf | lib/avro_turf/cached_confluent_schema_registry.rb | Ruby | mit | 1,674 |
<?php
/*
* The MIT License
*
* Copyright (c) 2010 Johannes Mueller <circus2(at)web.de>
*
* 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 lim... | allansun/mysql-workbench-schema-exporter | lib/MwbExporter/Formatter/Doctrine2/Yaml/Model/ForeignKeys.php | PHP | mit | 1,430 |
<div class="form-group">
<select
class="form-control"
ng-model="$ctrl.mode"
ng-options="mode | translate for mode in $ctrl.modes"
ng-click="$ctrl.hasError = false">
</select>
</div>
<div>
<form
name="idsl_form"
novalidate
ng-show="$ctrl.mode === 'Local'">
<div class="form-group">... | Geoportail-Luxembourg/geoportailv3 | geoportal/geoportailv3_geoportal/static-ngeo/ngeo/contribs/gmf/src/import/importdatasourceComponent.html | HTML | mit | 3,244 |
/* FONT AWESOME */
[class*="fa-"]:before {
font-family: 'FontAwesome', sans-serif;
}
/* QUIZ STYLES */
.quiz hr {
margin: 20px 0;
}
.quiz hr:first-child {
margin-top: 30px;
}
.quiz hr: last-child {
margin-bottom: 30px;
}
.quiz h3 {
margin-top: 5px;
}
.quiz ol {
list-style-type: none;
padding: 0;
}
.q... | AxonInteractive/angularjs-quizzes | app/app.css | CSS | mit | 5,571 |
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
... | lexicondevil12/thesis_notes | site/more_conduit_metaphor_notes/index.html | HTML | mit | 13,899 |
using Microsoft.CodeAnalysis.Emit;
namespace NoiseLab.PolyGen.Core.Domain
{
public class CodeGenerationArtifact
{
internal CodeGenerationArtifact(EmitResult emitResult, byte[] peBytes, byte[] pdbBytes, byte[] xmlBytes)
{
EmitResult = emitResult;
PeBytes = peBytes;
... | dr-noise/PolyGen | src/NoiseLab.PolyGen.Core/Domain/CodeGenerationArtifact.cs | C# | mit | 563 |
<?php return unserialize('a:1:{i:0;O:27:"Doctrine\\ORM\\Mapping\\Column":9:{s:4:"name";s:17:"COM_CREATION_DATE";s:4:"type";s:8:"datetime";s:6:"length";N;s:9:"precision";i:0;s:5:"scale";i:0;s:6:"unique";b:0;s:8:"nullable";b:0;s:7:"options";a:0:{}s:16:"columnDefinition";N;}}'); | solag/Sofia | app/cache/dev/annotations/ac7c2577d746463f0adeebf9373c37cdc16a0582$creationdate.cache.php | PHP | mit | 276 |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { Injectable } from '@angular/core';
@Injectable()
export class Service31Service {
constructor() { }
}
| angular/angular-cli-stress-test | src/app/services/service-31.service.ts | TypeScript | mit | 319 |
require 'active_support/core_ext'
require 'protojson/codec/codec_interface'
module Protojson
module Codec
class JsonIndexed
extend Protojson::Codec::CodecInterface
class << self
def encode(message)
data = Protojson::Codec::Hash.encode(message, :tag)
serialize_hash_to_in... | juandebravo/ProtoJSON4Ruby | lib/protojson/codec/json_indexed.rb | Ruby | mit | 2,568 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Protocols.TestTools;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Protocols.TestSuites.FileSharing.Common.Adapter;
using Microso... | chenlu0616/WindowsProtocolTestSuites | TestSuites/FileServer/src/RSVD/TestSuite/ReadWriteSharedVHD.cs | C# | mit | 3,426 |
new (require('front.js').Front)().init().start();
| unau/gmx | start_gmxd.js | JavaScript | mit | 51 |
System.register([], function (exports_1, context_1) {
"use strict";
var __moduleName = context_1 && context_1.id;
var RestMethod;
return {
setters: [],
execute: function () {
(function (RestMethod) {
RestMethod[RestMethod["POST"] = 0] = "POST";
... | gobiiproject/GOBii-System | gobiiproject/gobii-web/src/main/webapp/js/gobii_modules/model/type-rest-method.js | JavaScript | mit | 651 |
/**
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
* Copyright 2015 Chiori-chan. All Right Reserved.
*/
package com.chiorichan.packet;
import io.netty.buffer.Byte... | ChioriGreene/GreenetreeESM | API/src/main/java/com/chiorichan/packet/PayloadValue.java | Java | mit | 4,148 |
<!-- Se expone el controlador myCtrl como objeto saludoCtlr, tener en cuenta que asi perdemos la herencia ya que no
estaremos accediendo a propiedades del $scope sino del objeto que exponemos en el controlador. Otro punto a
tener en cuenta es que al no usar el $scope para unir el controlador con la vista, se pierde... | zeeeros/nglr-by-my-own | app/6ctrlAsObject.html | HTML | mit | 1,662 |
<?php
namespace SearchBundle\Controller;
use CommonBundle\Controller\BaseController;
use SearchBundle\Form\SearchType;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
class SearchController extends BaseController
{
/**
* @return Response
*/
public functi... | morcov/traktor | src/SearchBundle/Controller/SearchController.php | PHP | mit | 963 |
<!DOCTYPE html>
<html style="height: 100%">
<head lang="en">
<meta charset="UTF-8">
<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap-theme.mi... | bpbhat77/angular-grid | docs/example-expressions-and-context/monthlySales.html | HTML | mit | 3,167 |
CREATE DATABASE IF NOT EXISTS local_tsmean;
CREATE DATABASE IF NOT EXISTS test_tsmean;
| tsmean/tsmean | docker/mysql/init-db.sql | SQL | mit | 87 |
AmsterdamCoin is a PoS-based cryptocurrency.
AmsterdamCoin uses libsecp256k1,
libgmp,
Boost1.55,
OR Boost1.57,
Openssl1.01p,
Berkeley DB 4.8,
QT5 to compile
Block Spacing: 60 Seconds
Stake Minimum Age: 24 Hours
Port: 61510
RPC Port: 61511
BUILD LINUX
-----------
1) git clone https... | CoinProjects/AmsterdamCoin | README.md | Markdown | mit | 1,557 |
# Mdl-vue-hints | Jameswilliamquinn2016/Mdl-vue-hints | README.md | Markdown | mit | 15 |
<?php
namespace Application\View\Helper;
use Dashboard\Model\Dashboard;
use Dashboard\Data\ApiDashboardResource;
use DvsaCommon\Auth\MotAuthorisationServiceInterface;
use DvsaCommon\Auth\MotIdentityProviderInterface;
use DvsaCommon\Auth\PermissionAtSite;
use DvsaCommon\Utility\ArrayUtils;
use DvsaFeature\FeatureToggl... | dvsa/mot | mot-web-frontend/module/Application/src/Application/View/Helper/DashboardDataProvider.php | PHP | mit | 2,221 |
import {Path, PathMatcher, IMatchResult} from './Path';
/**
* Route
*
* @class Route
*/
export class Route {
public currentRoute: Route;
/**
* The url paths of the route
*
* @type {Array<string>}
*/
public paths: Array<Path> = [];
/**
* The path of the component loade... | rzvpopescu/typy | lib/Router/Route.ts | TypeScript | mit | 2,064 |
package com.slowhand.monaka.view;
import java.util.List;
import com.slowhand.monaka.log.MoAppJournalLog;
import com.slowhand.monaka.log.MoJournalLogManager;
import com.slowhand.monaka.util.MoStringUtil;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.view.View;
import android... | Slowhand0309/Monaka | src/com/slowhand/monaka/view/MoBaseActivity.java | Java | mit | 5,428 |
package com.sudwood.advancedutilities.items;
import java.util.List;
import com.sudwood.advancedutilities.AdvancedUtilities;
import com.sudwood.advancedutilities.container.InventoryBag;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.renderer.texture.IIconRegi... | Sudwood/AdvancedUtilities | java/com/sudwood/advancedutilities/items/ItemBag.java | Java | mit | 2,918 |
(function () {
"use strict";
// ReSharper disable once UndeclaredGlobalVariableUsing
angular
.module("umbraco.resources")
.filter("ujetAsGroup", ujetAsGroupFilter);
function ujetAsGroupFilter() {
return function (object) {
object.label = object.name;
r... | logikfabrik/uJetSocial | src/Logikfabrik.Umbraco.Jet.Social/Web/App_Plugins/uJetSocial/js/app/filters/asGroupFilter.js | JavaScript | mit | 359 |
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
class Node {
public int x;
public int y;
public int id;
public Node(int x, int y, int id) {
this.x = x;
this.y = y;
this.id = id;
}
}
class Step {
public int type;
public int param;
public Step(int t... | marcaddeo/MAMBot | Java/MAMBot/src/GMap.java | Java | mit | 798 |
var _ = require('@sailshq/lodash');
var async = require('async');
var Promise = require('bluebird');
module.exports = function(self, options) {
// Every time a doc is saved, check whether its type is included in
// workflow. If so invoke `ensureWorkflowLocale` and
// `ensurePageSlugPrefix`.
self.docBeforeSave... | punkave/apostrophe-workflow | lib/callAll.js | JavaScript | mit | 18,958 |
/*!
* Chicago - Drag.min.css
* A front-end JavaScript library for user-interface developers.
*
* Copyright (c) 2015 Erik Nielsen
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* Project home:
* https://nielse63.github.io/Chicago/
*
* Version: 1.1.0
*
... | nielse63/Chicago | dist/css/drag.min.css | CSS | mit | 389 |
<?php namespace FileModifier;
use FileModifier\Code\Factory\CodeFactory;
use FileModifier\Code\Generator\Generator;
use FileModifier\Code\Generator\GeneratorContract;
use FileModifier\Errors\PHPErrorThrower;
use FileModifier\File\File;
use FileModifier\File\FileFactory;
use FileModifier\File\FileFactoryContract;
use F... | thomasruiz/file-modifier | src/FileModifier.php | PHP | mit | 2,109 |
require 'mirth_connect/helpers'
class MirthConnect::ChannelStatus
## Filter Params
attr_reader :channelId, :name, :state, :deployedRevisionDelta, :deployedDate
HELPERS = MirthConnect::Helpers
def initialize( raw_status )
if raw_status.is_a?(Nokogiri::XML::Element) && raw_status.name == 'channelStatus'
... | lhaber-carecloud/MirthConnect | lib/mirth_connect/channel_status.rb | Ruby | mit | 1,008 |
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
/* Generated By:JJTree: Do not edit this line. ASTSingleMemberAnnotation.java */
package net.sourceforge.pmd.lang.java.ast;
public class ASTSingleMemberAnnotation extends AbstractJavaTypeNode {
public ASTSingleMemberAnnotation... | byronka/xenos | utils/pmd-bin-5.2.2/src/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTSingleMemberAnnotation.java | Java | mit | 612 |
require "t10/rooms/under_construction"
module T10
module Rooms
class BossRoom < Room
include Rooms::UnderConstruction
DOORS = 1
def initialize
super
@has_left = false
@has_right = false
@has_ahead = false
end
def desc_name
"forgotten realm ... | mbrand12/t10 | lib/t10/rooms/boss_room.rb | Ruby | mit | 350 |
<?php
/**
* Copyright (C) 2013 Emay Komarudin
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distr... | emayk/ics | src/Emayk/Ics/Repo/Sysprodhistory/SysprodhistoryArray.php | PHP | mit | 2,528 |
<?php
declare(strict_types=1);
namespace Marein\Nchan\Http;
interface Response
{
public const OK = 200;
public const CREATED = 201;
public const ACCEPTED = 202;
public const FORBIDDEN = 403;
public const NOT_FOUND = 404;
public function statusCode(): int;
public function body(): string;... | marein/php-nchan-client | src/Http/Response.php | PHP | mit | 323 |
const StdLib = require('@doctormckay/stdlib');
const SteamID = require('steamid');
const Helpers = require('./helpers.js');
const EMsg = require('../enums/EMsg.js');
const SteamUserEcon = require('./econ.js');
class SteamUserFamilySharing extends SteamUserEcon {
/**
* Add new borrowers.
* @param {SteamID[]|str... | DoctorMcKay/node-steam-user | components/familysharing.js | JavaScript | mit | 6,803 |
require File.dirname(__FILE__) + '/test_helper'
class ErrorTest < Test::Unit::TestCase
def setup
@container = OldAWS::S3
@error = Error.new(Parsing::XmlParser.new(Fixtures::Errors.access_denied))
@container.send(:remove_const, :NotImplemented) if @container.const_defined?(:NotImplemented)
end
def ... | bcarpenter/oldaws-s3 | test/error_test.rb | Ruby | mit | 2,301 |
---
layout: post
date: 2020-05-16 09:43:00 +0000
title: Moving messages between SQS queues
summary: You can send messages to a DLQ if they fail processing. What if you fix the bug, and you want to resend the failed messages?
category: Amazon Web Services
tags: aws amazon-sqs
---
At work, we make heavy use of [Amazon S... | alexwlchan/alexwlchan.net | src/_posts/2020/2020-05-16-moving-messages-between-sqs-queues.md | Markdown | mit | 3,079 |
from models.team import Team
from models.tournament import Tournament
from models.tree import ProbableTournamentTree
import unittest
import pdb
class TestTeam(unittest.TestCase):
def setUp(self):
self.tournament = Tournament()
self.teams = self.tournament.teams
self.usa = Team.get_for_coun... | steinbachr/world-cup-challenge | tests/test_models.py | Python | mit | 3,657 |
using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
namespace Igor
{
public class MonsterTestInputOutputBox : InputOutputBox<MonsterTestBase>
{
public MonsterTestInputOutputBox(MonsterTestWindow Owner, MonsterTestBase EntityToWatch, string InBoxTitle, bool InbIsInputBox) ... | mikamikem/Igor | Modules/MonsterTest/Core/Editor/Test/MonsterTestInputOutputBox.cs | C# | mit | 2,230 |
import pytest
from click.testing import CliRunner
from parkour import cli
import md5
def file_checksums_equal(file1, file2):
with open(file1) as f:
checksum1 = md5.new(f.read()).digest()
with open(file2) as f:
checksum2 = md5.new(f.read()).digest()
return checksum1==checksum2
def test_t... | buenrostrolab/proatac | tests/test_cli.py | Python | mit | 575 |
const { expect } = require('chai');
const nock = require('nock');
const timekeeper = require('timekeeper');
const jose2 = require('jose2');
const { Issuer } = require('../../lib');
const fail = () => {
throw new Error('expected promise to be rejected');
};
describe('Validating Self-Issued OP responses', () => {
... | panva/node-openid-client | test/client/self_issued.test.js | JavaScript | mit | 2,964 |
# Azure VM Disk 크기 조정(ARM)
Azure VM에 있는 OS 디스크 또는 데이터 디스크의 크기를 조정하는 PowerShell 스크립트 입니다.
물론 Azure 포털에서도 VM > [일반] > [디스크] > 크기(GiB)에서 조정이 가능합니다만, 여러 디스크를 한번에 수정하는 작업은 상당한 노동력을 필요로 하죠.
이런 경우에 PowerShell이 강력한 기능을 발휘합니다.
아래의 설명은 __ARM(Azure Resource Manager)__ 을 기준으로 하고 있습니다.
PowerShell 콘솔(powershell.exe)이나, Pow... | jiyongseong/AzureIaaSHol | powershell/resize-disk-size/README.md | Markdown | mit | 1,783 |
from flask import Flask
app = Flask(__name__)
@app.route('/')
def CMC():
return 'Welcome to the Container Master Class by Cerulean Canvas'
if __name__ == '__main__':
app.run(host='0.0.0.0')
| tarsoqueiroz/Docker | Study/Oreilly Kubernetes and Docker/s2d9/app.py | Python | mit | 198 |
# -*- coding: utf-8 -*-
require 'zip'
module Bio
module FastQC
class Data
class << self
def read(file)
read_zipfile(file)
rescue Zip::Error
read_flatfile(file)
rescue Errno::EISDIR
read_dir(file)
end
def read_zipfile(file)
Zi... | inutano/bioruby-fastqc | lib/bio/fastqc/data.rb | Ruby | mit | 886 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en">
<head>
<title>STE Template Engine</title>
<style type="text/css" media="screen">
code, code pre {
font-family: monospace;
backgr... | kch42/ste | docu/index.html | HTML | mit | 1,149 |
# screeps-vivero sandbox
A sandbox for testing individual functions and routines.
| Vivero/screeps-vivero | test/README.md | Markdown | mit | 82 |
package containerregistry
import "github.com/Azure/azure-sdk-for-go/version"
// 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 ... | Azure/azure-sdk-for-go | services/containerregistry/mgmt/2018-09-01/containerregistry/version.go | GO | mit | 693 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.