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 |
|---|---|---|---|---|---|
<div class="section">
<div class="container">
<div class="row">
<div class="col-md-12">
<table class="table table-striped table-condensed">
<!-- Array ( [C] => ID [ST] => East Java [L] => Surabaya [O] => Raizan Inc [OU] => Web Administration [CN] => ww... | KIJ-D-NANA/nana-pki | application/views/page-cert-list.php | PHP | mit | 1,768 |
#ifndef Magnum_Math_Bezier_h
#define Magnum_Math_Bezier_h
/*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016
Vladimír Vondruš <mosra@centrum.cz>
Copyright © 2016 Ashwin Ravichandran <ashwinravichandran24@gmail.com>
Permission is hereby granted, free of c... | MiUishadow/magnum | src/Magnum/Math/Bezier.h | C | mit | 14,170 |
# [Temperature converter](http://alexa.amazon.com/#skills/amzn1.ask.skill.2c573983-acc9-44ec-bf3b-bf6cce7bf00a)

val.nil? ? nil : BoolSetting.new(convert_to_bool(val))
end
def self.hydrate(string)
new(convert_to_bool(string))
end
def to_ui_format
@bool
end
def ==(other)
return... | anirudh-eka/dashtag | app/models/dashtag/bool_setting.rb | Ruby | mit | 579 |
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>注册</title>
<meta name="description" content="">
<!--<meta name="viewport" content="width=device-width, initial-scale=1">-->
<link rel="apple-touch-icon" href="... | baochuquan/B2Cyicai | register.html | HTML | mit | 7,959 |
################################################################################
######### MS11-080 - CVE-2011-2005 Afd.sys Privilege Escalation Exploit ########
######### Author: ryujin@offsec.com - Matteo Memelli ########
######### Spaghetti & Pwnsauce ##... | SecWiki/windows-kernel-exploits | MS11-080/CVE-2011-2005.py | Python | mit | 12,217 |
\documentclass[a4paper,12pt]{article}
\usepackage{graphics,color}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage{float}
%\usepackage{txfonts} % disable to return to original font
%\usepackage{showframe}% to show frames
\begin{document}
\title{No. 20: Taylor polynomials of functions of two variables.}
\author{... | leyyin/university | calculus/polynomial-approximation/document.tex | TeX | mit | 11,421 |
<?php
/**
* Data object containing the SQL and PHP code to migrate the database
* up to version 1363608657.
* Generated on 2013-03-18 13:10:57 by smirik
*/
class PropelMigration_1363608657
{
public function preUp($manager)
{
// add the pre-migration code here
}
public function postUp($man... | lms42/lms42 | app/propel/migrations/PropelMigration_1363608657.php | PHP | mit | 1,885 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("3. ... | boggroZZdev/SoftUniHomeWork | TechModule/ProgrammingFundamentals/6.Arrays/Lab/3. LastKNumbers/Properties/AssemblyInfo.cs | C# | mit | 1,401 |
# syrup for your waffles
Scrum workflow CLI for GitHub with or without [Waffle.io](https://waffle.io). Can also be used with [ZenHub](https://www.zenhub.com). Currently only supports CLI mode.
Features:
- List all Sprints with associated issues and details
- Create new Sprint (using labels or milestones)
- Clone issu... | sap1ens/syrup | README.md | Markdown | mit | 4,862 |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "irc.h"
#include "net.h"
#... | etanoox/agyrion | src/irc.cpp | C++ | mit | 10,524 |
#include <signal.h>
#include <unistd.h>
#include <stdio.h>
int num_int = 0;
int num_tstp = 0;
int total =0;
void handler_sigint(){
num_int ++;
total++;
}
void handler_sigtstp(){
num_tstp ++;
total++;
}
int main(int argc, char** argv){
struct sigaction act_int, act_tstp;
act_int.sa_handler = handler_sigint;
si... | Ana06/OS | ProcessManagementAndSignaling/count-signal.c | C | mit | 542 |
using System.Linq;
using System.Threading.Tasks;
using LinqToDB;
using LinqToDB.DataProvider.SqlServer;
using LinqToDB.Linq;
using NUnit.Framework;
using Tests.Model;
namespace Tests.Linq
{
[TestFixture]
public class IsNullTests : TestBase
{
[Test]
public void TestExceptionThrown_IsNull_ServerSideOnly()
{
... | linq2db/linq2db | Tests/Linq/Linq/IsNullTests.SqlServer.cs | C# | mit | 1,830 |
function encode (value) {
if (Object.prototype.toString.call(value) === '[object Date]') {
return '__q_date|' + value.toUTCString()
}
if (Object.prototype.toString.call(value) === '[object RegExp]') {
return '__q_expr|' + value.source
}
if (typeof value === 'number') {
return '__q_numb|' + value
... | CookieJon/quasar | src/features/web-storage.js | JavaScript | mit | 4,099 |
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// Expecta
#define COCOAPODS_POD_AVAILABLE_Expecta
#define COCOAPODS_VERSION_MAJOR_Expecta 0
... | jearle/JETableView | Example/Pods/Target Support Files/Pods-Tests/Pods-Tests-environment.h | C | mit | 1,237 |
// Imports
import { BaseRepository } from './base';
// Imports models
import { Post } from './../../entities/post';
export class PostRepository extends BaseRepository {
constructor(host: string, username: string, password: string) {
super(host, username, password);
}
public async insert(post: Po... | developersworkspace/github-blog | src/repositories/sequelize/post.ts | TypeScript | mit | 2,444 |
# MySQL Server 5.6 on Ubuntu VM
<IMG SRC="https://azurequickstartsservice.blob.core.windows.net/badges/mysql-standalone-server-ubuntu/PublicLastTestDate.svg" />
<IMG SRC="https://azurequickstartsservice.blob.core.windows.net/badges/mysql-standalone-server-ubuntu/PublicDeployment.svg" />
<IMG SRC="https://... | mumian/azure-quickstart-templates | mysql-standalone-server-ubuntu/README.md | Markdown | mit | 1,572 |
import { map } from './dsl';
var specials = [
'/', '.', '*', '+', '?', '|',
'(', ')', '[', ']', '{', '}', '\\'
];
var escapeRegex = new RegExp('(\\' + specials.join('|\\') + ')', 'g');
function isArray(test) {
return Object.prototype.toString.call(test) === "[object Array]";
}
// A Segment represents a segm... | cmichaelgraham/spike-aurelia-ts-port-dts-gen | aurelia-ts/output-gulp/route-recognizer/index.js | JavaScript | mit | 15,707 |
<html>
<head>
<title>OGRE: OgreRenderSystemCapabilitiesManager.h Source File - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link type="text/css" rel="stylesheet" href="doxygen.css">
<link type="text/css" rel="stylesheet" href="tabs.css">
</head>
<body>
<!-- Gene... | ttair/TuxSinbad | Docs/api/html/OgreRenderSystemCapabilitiesManager_8h_source.html | HTML | mit | 12,274 |
import { themr } from 'react-css-themr';
import { PAGER } from '../identifiers.js';
import { pagerFactory } from './pager.js';
import Page from './page.js';
import theme from './theme.scss';
const Pager = pagerFactory(Page);
const ThemedPager = themr(PAGER, theme)(Pager);
export default ThemedPager;
export { ThemedPa... | MaximKomlev/react-toolbox-additions | src/pager/index.js | JavaScript | mit | 336 |
<div class="header">
<a routerLink="/"><span><i class="fa fa-graduation-cap" aria-hidden="true"></i></span></a>
</div>
<div class="header_headline">Division</div>
<p>Die Division ist eine der vier Grundrechenarten der Arithmetik. Sie ist die Umkehroperation der Multiplikation. Die Division
wird umgangssprachlic... | amq/edu-spa | src/app/components/learn/division.component.html | HTML | mit | 1,061 |
export PYTHONPATH="./teptools:$PYTHONPATH"
if [[ -z $1 ]]; then
flake8 teptools tests &&
coverage run -m py.test tests &&
coverage report
else
flake8 teptools/$1.py tests/test_$1.py &&
pytest -vv tests/test_$1.py
fi
| nelsyeung/teptools | runtests.sh | Shell | mit | 222 |
import {LEAGUE_BY_SUMMONER_FULL, LEAGUE_BY_SUMMONER, LEAGUE_BY_TEAM_FULL, LEAGUE_BY_TEAM, CHALLENGER_LEAGUE} from '../Constants';
export const League = {
getBySummonerId(summonerId, options) {
return Object.assign({}, options, {
id: summonerId,
uri: LEAGUE_BY_SUMMONER_FULL
});
},
getEntriesB... | austinsc/riot-data | src/api/league.js | JavaScript | mit | 916 |
// <auto-generated> This file has been auto generated. </auto-generated>
[assembly:System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly:System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
[assembly:System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly:System.Runtime.Versioning.T... | RipplerEs/SimpleToDo | src/SimpleToDo.Aggregates/obj/Debug/netstandard2.0/dotnet-compile.assemblyinfo.cs | C# | mit | 373 |
/*
Copyright (c) 2014 <a href="http://www.gutgames.com">James Craig</a>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | JaCraig/Craig-s-Utility-Library | UnitTests/ORM/Manager/QueryProvider/Manager.cs | C# | mit | 3,303 |
<?php
/*
* This file is part of the XiideaEasyAuditBundle package.
*
* (c) Xiidea <http://www.xiidea.net>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Xiidea\EasyAuditBundle\DependencyInjection\Compiler;
use Symfony\Component\Depe... | xiidea/EasyAuditBundle | DependencyInjection/Compiler/MonologLoggerPass.php | PHP | mit | 858 |
using System;
using System.Collections.Generic;
using Voucherify.Core.Serialization;
namespace Voucherify.Core.Extensions
{
public static class ListExtensions
{
public static string ToString<T>(List<T> list){
if (list != null) {
List<string> result = new List<string>();
... | voucherifyio/voucherify-dotNET-sdk | src/Voucherify/Core/Extensions/ListExtensions.cs | C# | mit | 582 |
package boatcraft.api.modifiers
import java.util.HashMap
import scala.collection.JavaConversions.asScalaSet
import net.minecraft.entity.Entity
import net.minecraft.nbt.NBTTagCompound
import net.minecraft.nbt.NBTTagList
import net.minecraft.world.World
import net.minecraftforge.common.IExtendedEntityProperties
import... | Open-Code-Developers/BoatCraft | src/api/scala/boatcraft/api/modifiers/ExtendedBoat.scala | Scala | mit | 1,411 |
import { combineReducers } from 'redux';
import todos from './todos';
import filter from './filter';
import editing from './editing';
const rootReducer = combineReducers({
todos,
filter,
editing,
});
export default rootReducer;
| sylvaindethier/redux-todomvc | src/reducers/index.js | JavaScript | mit | 237 |
# Verilog Parser
[](https://codedocs.xyz/ben-marshall/verilog-parser/)
[](https://travis-ci.org/ben-marshall/verilog-parser/branches)
[ on Wed Oct 22 15:42:18 EST 2014 -->
<title>second_tier</title>
<meta name="date" content="2014-10-22">
<link rel="stylesheet" type=... | shane-williams-dev/Reminder-App | doc/second_tier/package-summary.html | HTML | mit | 5,023 |
version https://git-lfs.github.com/spec/v1
oid sha256:9fa6283b0a86ec7d077cdc3a760c8c32241934525b1e6783f9ba380f639c1445
size 19603
| yogeshsaroya/new-cdnjs | ajax/libs/ratchet/2.0.1/css/ratchet.min.css | CSS | mit | 130 |
'use strict';
var User = require('./user.model.js');
var config = require('../config');
var request = require('request');
var jwt = require('jwt-simple');
var authUtils = require('./authUtils');
exports.authenticate = function (req, res) {
var accessTokenUrl = 'https://accounts.google.com/o/oauth2/token';
var pe... | keslavi/Sandbox1 | server/auth/google.js | JavaScript | mit | 2,633 |
# `bulk::multi_partitioning::multi_rank`
```cpp
index_type<G> multi_rank(int t);
```
Convert a standard rank to a multi rank.
## Parameters
- `t`: the rank to convert
## Return value
- `index_type<G>`: the corresponding multi rank
## See also
- [`multi_partitioning::rank`](rank.md)
| jwbuurlage/Bulk | docs/pages/api/multi_partitioning/multi_rank.md | Markdown | mit | 291 |
/**
* Copyright (c) 2012-2016 André Bargull
* Alle Rechte vorbehalten / All Rights Reserved. Use is subject to license terms.
*
* <https://github.com/anba/es6draft>
*/
package com.github.anba.es6draft.compiler;
import com.github.anba.es6draft.ast.Script;
import com.github.anba.es6draft.compiler.CodeGenerator.Scr... | jugglinmike/es6draft | src/main/java/com/github/anba/es6draft/compiler/ScriptCodeGenerator.java | Java | mit | 14,656 |
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace JeffBot2LAPI.Areas.HelpPage.ModelDescriptions
{
public class ParameterDescription
{
public ParameterDescription()
{
Annotations = new Collection<ParameterAnnotation>();
}
public Collec... | ARMmaster17/JeffBot2 | JeffBot2/JeffBot2LAPI/Areas/HelpPage/ModelDescriptions/ParameterDescription.cs | C# | mit | 543 |
package name.reidmiller.iesoreports.client;
import java.io.IOException;
import java.net.MalformedURLException;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import ca.ieso.reports.schema.predisp... | r24mille/IesoPublicReportBindings | src/main/java/name/reidmiller/iesoreports/client/PredispatchMarketTotalsClient.java | Java | mit | 6,791 |
"use strict";
function IndicatorComparisonViewModel (data) {
var self = this;
self.type = "IndicatorComparisonViewModel";
self.rootvm = data.rootvm;
self.map = undefined;
self.added_map_layers = [];
self.markers = [];
self.geojson = undefined;
self.mapInfo = undefined;
self.map... | 216software/Profiles | profiles/static/viewmodels/indicatorcomparisonviewmodel.js | JavaScript | mit | 18,844 |
import ExtendableError from 'es6-error';
import Client from '../../api/client.js';
export class CoverArtArchiveError extends ExtendableError {
constructor(message, response) {
super(message);
this.response = response;
}
}
export default class CoverArtArchiveClient extends Client {
constructor({
base... | exogen/graphbrainz | src/extensions/cover-art-archive/client.js | JavaScript | mit | 1,513 |
export const listComponent = new Component({
element: "#list",
render: (data) => html`
<li>
<h3>${ data }</h3>
</li>`
})
| chocolatechip-ui/chocolatechipui | cli-resources/basic/dev/components/listComponent.js | JavaScript | mit | 139 |
<!DOCTYPE html>
<!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en" dir="ltr">
<!--<![endif]-->
<!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open... | GoC-Spending/data-corporations | html/234567042498.html | HTML | mit | 257,192 |
using System;
using System.Collections.Generic;
using System.Linq;
using MetroLog.Internal;
namespace MetroLog.Layouts
{
public class PatternLayout : Layout
{
private static class Placeholders
{
public const string SequenceId = "%sequenceid";
public const stri... | thomasgalliker/MetroLog | MetroLog/Layouts/PatternLayout.cs | C# | mit | 4,343 |
using System;
using System.Diagnostics.Contracts;
namespace starshipxac.Windows.Shell.Dialogs.Controls
{
/// <summary>
/// Define the control base class of the file dialog.
/// </summary>
public abstract class FileDialogControl : IEquatable<FileDialogControl>
{
public static ... | starshipxac/starshipxac.ShellLibrary | Source/starshipxac.Windows.Shell/Dialogs/Controls/FileDialogControl.cs | C# | mit | 4,668 |
// PART OF THE MACHINE SIMULATION. DO NOT CHANGE.
package nachos.ag;
import nachos.machine.*;
import nachos.security.*;
import nachos.threads.*;
import java.util.Hashtable;
import java.util.StringTokenizer;
/**
* The default autograder. Loads the kernel, and then tests it using
* <tt>Kernel.selfTest()</tt>.
*/
pu... | w1ndy/tripping-dangerzone | nachos/ag/AutoGrader.java | Java | mit | 7,819 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Linq.Expressions;
using Dufry.Comissoes.Application.Interfaces;
using Dufry.Comissoes.Data.Context;
using Dufry.Comissoes.Domain.Entities;
using Dufry.Comissoes.Domain.Interfaces.Service;
u... | robertohermes/Comissoes | Dufry.Comissoes.Application/ColaboradorAppService.cs | C# | mit | 2,563 |
import React, {Component, PropTypes} from 'react';
import {Tree, Menu, Icon} from 'antd';
const TreeNode = Tree.TreeNode;
import Animate from 'rc-animate';
import './OrganizationTreeComponent.scss';
export default class OrganizationTreeComponent extends Component
{
static PropTypes =
{
checkable: PropTypes.boo... | DimitriZhao/sinosteel | client/framework-webclient/src/routes/System/components/OrganizationTreeComponent.js | JavaScript | mit | 1,582 |
# **Teammeeting** 26.04.17
von 8:30 bis 9:30 Teilnehmer: Rene, Jonas, Stephan, Matthis, Dennis
**Themen:**
* Signale: Jeder Modulverantwortliche trägt die Liste der Signale ins RDD ein und erstellt Sequenzdiagramme für die Kommunikation
des Moduls. (bis zum eingetragenen Milestone d... | ReneHerthel/ConveyorBelt | doc/protocols/26.04.17.md | Markdown | mit | 1,222 |
<link rel="stylesheet" href="<?php echo baseUrl ?>assets/bower/trumbowyg/dist/ui/trumbowyg.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-maskmoney/3.0.2/jquery.maskMoney.min.js"></script>
<script src="<?php echo baseUrl ?>assets/bower/trumbowyg/dist/trumbowyg.min.js"></script>
<div id="panel" ... | dexternidia/redcomand | app/admin/views/centrosSolicitudesAdmin/edit.php | PHP | mit | 2,343 |
# Makefile.in generated by automake 1.11 from Makefile.am.
# tests/reports/Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
# Inc.
# This Makefile.in is free software; the Free... | apcomplete/devise_security_questions | vendor/ruby/gems/nokogiri-1.6.1/ext/nokogiri/tmp/x86_64-apple-darwin13.1.0/ports/libxslt/1.1.26/libxslt-1.1.26/tests/reports/Makefile | Makefile | mit | 15,708 |
---
layout: page
title: Sanford - Lucas Wedding
date: 2016-05-24
author: Jordan Ortega
tags: weekly links, java
status: published
summary: Duis risus tellus, vestibulum eu efficitur sed, volutpat ac arcu.
banner: images/banner/leisure-02.jpg
booking:
startDate: 11/02/2017
endDate: 11/06/2017
ctyhocn: MCOFMHX
gr... | KlishGroup/prose-pogs | pogs/M/MCOFMHX/SLW/index.md | Markdown | mit | 2,143 |
---
layout: page
title: Parks - Bowen Wedding
date: 2016-05-24
author: Brandon Gates
tags: weekly links, java
status: published
summary: Aliquam sit amet lectus velit. Curabitur venenatis.
banner: images/banner/meeting-01.jpg
booking:
startDate: 01/10/2016
endDate: 01/11/2016
ctyhocn: PUBELHX
groupCode: PBW
pub... | KlishGroup/prose-pogs | pogs/P/PUBELHX/PBW/index.md | Markdown | mit | 2,923 |
<?php
namespace danaketh\CIBundle\Command;
use danaketh\CIBundle\Entity\Build;
use danaketh\CIBundle\Entity\BuildData;
use danaketh\CIBundle\Entity\BuildLog;
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\Console\Input\InputInterface;
... | danaketh/CIA | src/danaketh/CIBundle/Command/BuilderRunCommand.php | PHP | mit | 12,389 |
<?php
/***************************************************\
*
* Mailer (https://github.com/txthinking/Mailer)
*
* A lightweight PHP SMTP mail sender.
* Implement RFC0821, RFC0822, RFC1869, RFC2045, RFC2821
*
* Support html body, don't worry that the receiver's
* mail client can't support html, because Mail... | txthinking/Mailer | src/Mailer/SMTP.php | PHP | mit | 12,030 |
# Bigtext
This uses Quicksilver.app to display large text on your Mac's screen. Only
works with Mac and only works with Quicksilver at the moment. Open to
suggestions for compatibility with other tools.
My screenshotting capabilities are utterly failing me, but it looks good, trust
me.
## Usage
```go
package main
... | Shyp/go-circle | vendor/github.com/kevinburke/bigtext/readme.md | Markdown | mit | 416 |
import { expect } from "chai";
import { EmitResult } from "../../../compiler";
import { Project } from "../../../Project";
import * as testHelpers from "../../testHelpers";
describe(nameof(EmitResult), () => {
it("should get the emit result when there are no errors", async () => {
const fileSystem = testHe... | dsherret/ts-simple-ast | packages/ts-morph/src/tests/compiler/tools/emitResultTests.ts | TypeScript | mit | 1,599 |
pub mod feed;
pub mod link_checking;
pub mod sass;
pub mod sitemap;
pub mod tpls;
use std::collections::HashMap;
use std::fs::remove_dir_all;
use std::path::{Path, PathBuf};
use std::sync::{Arc, Mutex, RwLock};
use lazy_static::lazy_static;
use rayon::prelude::*;
use tera::{Context, Tera};
use walkdir::{DirEntry, Wal... | Keats/gutenberg | components/site/src/lib.rs | Rust | mit | 41,515 |
require 'test_helper'
class ArtifactTest < Test::Unit::TestCase
def setup
@hash = {
'groupId' => 'group',
'artifactId' => 'name',
'version' => 'version',
'packaging' => 'war',
'resourceURI' => 'uri',
'repoId' => 'repo',
'classifier' => 'classifier'
}
end
def... | darrinholst/rnexus | test/artifact_test.rb | Ruby | mit | 1,090 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Space Ship</title>
<style>
* {
padding: 0;
margin: 0;
}
body {
overflow: hidden;
background: #e4e6e8;
}
#canvas {
display: block;
margin: 40px auto 0px;
background: #fff;
box-shadow: 2px 2px 8px 0px rgba(0,0,0,0.1);
}
</style>
</head>
... | qsrahman/Quintus-Demos | spaceship/spaceship.html | HTML | mit | 5,930 |
<?php
namespace Hal\Bundle\GithubBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use JMS\SecurityExtraBundle\Annotation\Secure;
use JMS\SecurityExtraBundle\Annotation... | DependencyMe/dependency.me | src/Hal/Bundle/GithubBundle/Controller/AuthController.php | PHP | mit | 733 |
<?php
declare(strict_types=1);
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\AdminBundle\Tests\Eve... | sonata-project/SonataAdminBundle | tests/Event/ConfigureQueryEventTest.php | PHP | mit | 1,694 |
require 'spec_helper'
require 'contacts/windows_live'
describe Contacts::WindowsLive do
before(:each) do
@path = Dir.getwd + '/spec/feeds/'
@wl = Contacts::WindowsLive.new(@path + 'contacts.yml')
end
it 'parse the XML contacts document' do
contacts = Contacts::WindowsLive.parse_xml(contacts_xml)
... | pezra/contacts | spec/windows_live/windows_live_spec.rb | Ruby | mit | 864 |
<!DOCTYPE HTML><html><head><meta content="text/html;charset=utf-8" http-equiv="Content-Type" /><meta content="width=device-width, initial-scale=1.0" name="viewport" /><link href="{{ STATIC_URL }}favicon_v4.png" rel="shortcut icon" type="image/png" /><link href="//fonts.googleapis.com/css?family=Alegreya:normal,italic,b... | leephillips/FOTPweb | templates/configure_slideshow.html | HTML | mit | 3,846 |
package dta.jdbc;
import javax.sql.DataSource;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.jdbc.datasource.DriverManagerDataSource;
import fr.pizzeria.service.S... | MrCaf/formationdta-072016 | pizzeria-console-maven/pizzeria-spring/src/test/java/dta/jdbc/SpringJdbcConfig.java | Java | mit | 911 |
/**
* Created by liumengjun on 2016-04-11.
* 注: 不用于微信端, 微信端自行处理
*/
function showLoading(msg) {
var $loadingDialog = $('#mLoadingDialog');
var $loadingText = $("#mLoadingText");
$loadingText.html(msg ? msg : "");
$loadingDialog.show();
}
function hideLoading() {
$('#mLoadingDialog').hide();
}
var ... | malaonline/Server | server/static/common/js/loading_dialog.js | JavaScript | mit | 1,663 |
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<script type="text/javascript" src="app.js"></script>
</body> | jan-trojanowski/vanilla-js-calendar | index.html | HTML | mit | 144 |
<?php
namespace Validation\Schema;
use Validation\Utils;
use Validation\Assertions;
class AlternativeSchema extends AnySchema
{
/**
* @return $this
*/
public function any()
{
$this->assert(new Assertions\AlternativeAny(['options' => Utils::variadicToArray(func_get_args())]));
r... | seebcioo/validation | src/Validation/Schema/AlternativeSchema.php | PHP | mit | 341 |
/**
* `grunt-protractor-webdriver`
*
* Grunt task to start the `Selenium Webdriver` which comes bundled with
* `Protractor`, the E2E test framework for Angular applications.
*
* Copyright (c) 2014 Steffen Eckardt
* Licensed under the MIT license.
*
* @see https://github.com/seckardt/grunt-protractor-webdriver
... | fastconnect/grunt-protractor-webdriver | tasks/protractor_webdriver.js | JavaScript | mit | 7,906 |
exports.init = function (app) {
var data = [{
name: 'C',
desc: 'old program language',
history: getFakeHistory()
}, {
name: 'Java',
desc: 'large language!',
history: getFakeHistory()
}, {
name: 'C#',
desc: 'Microsoft create it',
history... | luobotang/vue-demo | apis/index.js | JavaScript | mit | 2,812 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Function date_range | Practica2_Servidor</title>
<link rel="stylesheet" href="resources/style.css?e99947befd7bf673c6b43ff75e9e0f170c88a60e">
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a... | isacm94/Practica2_Servidor | doc/function-date_range.html | HTML | mit | 57,750 |
var _logFunction = new $NavCogLogFunction();
$(document).ready(function() {
document.getElementById("log-data-chooser").addEventListener("change", _logFunction.loadFile);
});
function $NavCogLogFunction() {
var logLocations = [];
function loadFile(e) {
logLocations = [];
var file = this.files[0];
if (file) ... | hulop/NavCogMapEditor | src/NavCogLogFunction.js | JavaScript | mit | 4,343 |
/* CSS Document */
body {
padding-left: 30px;
padding-right: 30px;
}
td.wait{
padding:10px;
font-weight:bold;
color:#990;
text-align:center;
}
.tab-content{
margin-top:10px;
} | hansphp/BuscadorMySQL | estilo.css | CSS | mit | 185 |
## 4.5.0
_Released 4/28/2020_
**Features:**
- Cypress now supports the execution of component tests using framework-specific
adaptors when setting the `experimentalComponentTesting` configuration option
to `true`. For more details see the
[@cypress/react](https://github.com/cypress-io/cypress/tree/master/npm/r... | cypress-io/cypress-documentation | content/_changelogs/4.5.0.md | Markdown | mit | 1,859 |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Resume</title>
<meta name="description" content="A Simple Slide">
<meta name="author" content="BILLY HO">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-tr... | BILLYHO/Resume | index.html | HTML | mit | 4,918 |
# Root of your application (Rails.root)
default[:rubber_resque][:app_path] = '/opt/app'
# User that runs your application
default[:rubber_resque][:app_user] = 'deploy'
# Group the app_user belongs to
default[:rubber_resque][:app_group] = 'deploy'
# Application ... | dmdeklerk/rubber-chef-resque | attributes/default.rb | Ruby | mit | 1,101 |
{
unsafeUnwrap(this).setStart(unwrapIfNeeded(refNode), offset);
}
| stas-vilchik/bdd-ml | data/6815.js | JavaScript | mit | 68 |
goog.provide('ol.format.Polyline');
goog.require('ol');
goog.require('ol.asserts');
goog.require('ol.Feature');
goog.require('ol.format.Feature');
goog.require('ol.format.TextFeature');
goog.require('ol.geom.GeometryLayout');
goog.require('ol.geom.LineString');
goog.require('ol.geom.SimpleGeometry');
goog.require('ol.... | rcarauta/rcarauta-projects | node_modules/angular-openlayers-directive/node_modules/openlayers/src/ol/format/polyline.js | JavaScript | mit | 10,745 |
require "spec_helper"
require "yodlicious/config"
describe Yodlicious::Config do
describe "#base_url" do
it "default value is nil" do
Yodlicious::Config.base_url = nil
end
end
describe "#cobranded_username" do
it "default value is nil" do
Yodlicious::Config.cobranded_username = nil
e... | dam13n/yodlicious | spec/unit/config_spec.rb | Ruby | mit | 1,391 |
/**
* Copyright (c) 2000,1,2,3,4,5 syntazo
*
* @author thanos vassilakis
*
*/
package org.visualtrading.gui.builders.peer.lw;
import org.visualtrading.gui.builders.Builder;
import org.visualtrading.model.Application;
import org.visualtrading.model.ModelManager;
import org.visualtrading.model.User;
i... | syntazo/visualtrading | src/org/visualtrading/gui/builders/peer/lw/FrameBuilder.java | Java | mit | 2,734 |
body {
background: #fff !important;
background-color: #fff !important;
}
h1, h2, h3{
text-transform: none !important;
}
h1, h2, h3 {
color: #000000 !important;
text-shadow: 4px 4px 30px rgba(221,221,221, 1) !important;
}
h1{
font-size: 100px !important;
}
p {
color: #000000;
text-shadow:... | ev3dev-lang-java/ev3dev-lang-java.github.io | Styles/main.css | CSS | mit | 812 |
---
layout: post
category: interview
tagline: "Time Limit Exceeded"
tags: [lintcode, interview, java]
---
{% include JB/setup %}
## Word Ladder ii
TLE solution by myself:
```java
public class Solution {
/**
* @param start, a string
* @param end, a string
* @param dict, a set of string
*... | charlesxuuu/charlesxuuu.github.io | _posts/2017-02-12-word-ladder-2-from-Lintcode.md | Markdown | mit | 7,852 |
'use strict';
var Backbone = require('backbone');
var User = require('./User');
var AdminView = require('./AdminView');
window.app.on('start', function () {
var self = this;
var Users = Backbone.Collection.extend({
model: User,
url: window.URL_PREFIX + '/admin/users'
});
var users = self.users = ne... | ipoddubny/webcdr | public/js/admin/index.js | JavaScript | mit | 502 |
import * as chai from 'chai';
import * as chaiAsPromised from 'chai-as-promised';
import { join } from 'path';
import * as temp from 'temp';
import { Headers } from '@angular/http';
import { execSilent, exec, abstruse, killAllProcesses } from '../e2e/utils/process';
import { sendGetRequest, sendRequest } from '../helpe... | irmana/abstruse | tests/unit/050_new-server-api-routes.spec.ts | TypeScript | mit | 17,442 |
var App = function() {
if(!App.supportsWebGL) {
document.body.className = 'app--broken';
return;
}
THREE.ImageUtils.crossOrigin = 'Anonymous';
this.camera = this.getCamera();
this.gravitationPoints = this.getGravitationPoints();
this.isInside = true;
this.renderer = new THREE.WebGLRenderer({ ant... | timseverien/life-of-a-particle | js/App.js | JavaScript | mit | 6,999 |
package org.team619.crossout.program.listener;
import org.team619.crossout.program.LifeCycle;
public interface Listener extends LifeCycle {
}
| gleb619/cross0ut-b0t | api/src/main/java/org/team619/crossout/program/listener/Listener.java | Java | mit | 144 |
/* Copyright 2013 Google Inc. All Rights Reserved.
Distributed under MIT license.
See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/
/* API for Brotli decompression */
#ifndef BROTLI_DEC_DECODE_H_
#define BROTLI_DEC_DECODE_H_
#include "./state.h"
#include "./types.h"
#if defined(__... | kothar/brotli-go | dec/decode.h | C | mit | 4,333 |
<?php
namespace Razzul\LaravelVueAdmin;
use Exception;
use Illuminate\Filesystem\Filesystem;
use Razzul\LaravelVueAdmin\Models\Module;
use Razzul\LaravelVueAdmin\Models\ModuleFieldTypes;
use Razzul\LaravelVueAdmin\Helpers\LvHelper;
use Razzul\LaravelVueAdmin\Models\Menu;
class CodeGenerator
{
/**
* Generate Cont... | razzul/laravel-vue-admin | src/CodeGenerator.php | PHP | mit | 14,565 |
---
layout: post
title: Reset Demystified
---
<p>One of the topics that I didn't cover in depth in the Pro Git book is the
<code>reset</code> command. Most of the reason for this, honestly, is that
I never strongly understood the command beyond the handful of
specific use cases that I needed it for. I knew what the ... | 01walid/gitscm-next | app/views/blog/progit/2011-07-11-reset.html | HTML | mit | 21,015 |
export const ArticlesFixture = {
id: "pablo-picasso",
articlesConnection: {
pageInfo: { hasNextPage: true, endCursor: "YXJyYXljb25uZWN0aW9uOjk=" },
pageCursors: {
around: [
{ cursor: "YXJyYXljb25uZWN0aW9uOi0x", page: 1, isCurrent: true },
{ cursor: "YXJyYXljb25uZWN0aW9uOjk=", page: 2, ... | xtina-starr/reaction | src/Apps/__tests__/Fixtures/Artist/Routes/ArticlesFixture.ts | TypeScript | mit | 8,529 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Hatching Any Eggs by Pomeg Glitch • Bruce Steveon's Blog</title>
<meta name="description" content="利用绿宝石红榴漏洞(Pomeg Berry Glitch)孵化编号386以内的任意PM
">
<meta name="keywords" content="">
<!-- Twitter Cards -->
<meta name="twitter:title" ... | bruce-lcf/bruce-lcf.github.io | _site/hatching-any-eggs-by-pomeg-glith/index.html | HTML | mit | 15,825 |
package com.ruenzuo.weatherapp.fragments;
import android.app.Activity;
import android.app.ListFragment;
import android.os.Bundle;
import android.support.v4.widget.SwipeRefreshLayout;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.wid... | Ruenzuo/android-facade-example | WeatherApp/src/main/java/com/ruenzuo/weatherapp/fragments/CountriesListFragment.java | Java | mit | 3,568 |
# :eight_spoked_asterisk: :stars: :sparkles: :dizzy: :star2: :star2: :sparkles: :dizzy: :star2: :star2: Contributing :star: :star2: :dizzy: :sparkles: :star: :star2: :dizzy: :sparkles: :stars: :eight_spoked_asterisk:
So, you want to contribute to this project! That's awesome. However, before
doing so, please read the... | huei90/made-in-taiwan | CONTRIBUTING.md | Markdown | mit | 2,610 |
from pathlib import Path
class MarkdownParser():
def __init__(self, text):
self.text = text
self.lines = text.split('\n')
def title(self):
return self.lines[0].split(' ')[1]
def header(self, name, level, include_header=False):
start = False
end = False
co... | AnthonyCalandra/modern-cpp-features | auto-generate-readme.py | Python | mit | 2,305 |
<!DOCTYPE html>
<!--[if lt IE 7 ]>
<html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]>
<html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]>
<html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<html class="not-ie" lang="en" xmlns:th="http://www.thymeleaf.org">
<!--<![endif]-->
<... | rango1900/MindTrails | core/src/main/resources/templates/admin/export.html | HTML | mit | 5,272 |
<?php declare(strict_types=1);
namespace App\Modules\Image\Domain;
use App\Modules\Generic\Domain\BaseId;
class ImageId extends BaseId
{
}
| mchekin/rpg | app/Modules/Image/Domain/ImageId.php | PHP | mit | 144 |
using System;
using System.Linq.Expressions;
using System.Web.Mvc;
namespace Zed.Web.Extensions {
/// <summary>
/// <see cref="System.Web.Mvc.ModelStateDictionary"/> extension methods
/// </summary>
public static class ModelStateDictionaryExtensions {
/// <summary>
/// Indicates if th... | ztepsic/zed.web | Zed.Web/Extensions/ModelStateDictionaryExtensions.cs | C# | mit | 3,659 |
var canvas = document.querySelector("canvas"),
context = canvas.getContext("2d"),
width = canvas.width,
height = canvas.height,
radius = 20;
var circles = d3.range(324).map(function(i) {
return {
x: (i % 25) * (radius + 1) * 2,
y: Math.floor(i / 25) * (radius + 1) * 2
};
});
var simulation... | FluxLemur/fluxlemur.github.io | scripts/collision.js | JavaScript | mit | 1,461 |
package com.jenkins.plugins.rally.connector;
import hudson.scm.EditType;
import java.io.PrintStream;
import java.util.List;
import static com.google.common.collect.Lists.newArrayList;
public class RallyUpdateData {
public static class FilenameAndAction {
public String filename;
public EditType ... | jenkinsci/rally-plugin | src/main/java/com/jenkins/plugins/rally/connector/RallyUpdateData.java | Java | mit | 4,764 |
/* Selectmenu
----------------------------------*/
.ui-selectmenu { background:none; font-size:12px;display: block; display: inline-block; position: relative; height: 2.2em; vertical-align: middle; text-decoration: none; overflow: hidden; zoom: 1; }
.ui-selectmenu-icon { position:absolute; right:6px; margin-top:-8px; t... | double-z/gitlab-viewer | app/assets/stylesheets/jquery.ui.selectmenu.css | CSS | mit | 2,770 |
/**
* (c) raptor_MVK, 2015. All rights reserved.
*/
package ru.mvk.jfx_wrapper;
import javafx.scene.Node;
import javafx.scene.Parent;
import javafx.scene.control.TextField;
import javafx.scene.layout.HBox;
import org.jetbrains.annotations.NotNull;
import org.junit.Assert;
import org.junit.Test;
public class JFXNum... | raptor-mvk/JFX-Wrapper | tst/ru/mvk/jfx_wrapper/JFXNumFieldTest.java | Java | mit | 8,238 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.