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 |
|---|---|---|---|---|---|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>News - Summary Extraction</title>
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="... | svven/pages | ID_AA_Carmack.html | HTML | mit | 32,538 |
"""Shared pytest fixtures and test data."""
import copy
import uuid
import pytest
from django.contrib.auth import get_user_model
from onfido.models import Applicant, Check, Event, Report
APPLICANT_ID = str(uuid.uuid4())
CHECK_ID = str(uuid.uuid4())
IDENTITY_REPORT_ID = str(uuid.uuid4())
DOCUMENT_REPORT_ID = str(uuid... | yunojuno/django-onfido | tests/conftest.py | Python | mit | 8,575 |
<?php
namespace pizza\SiteBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* This is the class that validates and merges configuration from your app/config files
*
* To learn more see {@link http://symfony.... | KatrienDeSmet/PizzaWebsite | src/pizza/SiteBundle/DependencyInjection/Configuration.php | PHP | mit | 875 |
<?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\Lytro;
use JMS\Serializer\Annotation\ExclusionPolicy;
u... | romainneutron/PHPExiftool | lib/PHPExiftool/Driver/Tag/Lytro/AccelerometerY.php | PHP | mit | 815 |
//
// BNRItem.h
// C2_RandomItems
//
// Created by user on 15/5/19.
// Copyright (c) 2015年 Potter. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface BNRItem : NSObject
//{
// NSString *_itemName;
// NSString *_serialNumber;
// int _valueInDollars;
// NSDate *_dateCreated;
//}
+(... | PotterYuan/selfstudy | self.ios/C2_RandomItems/C2_RandomItems/BNRItem.h | C | mit | 1,028 |
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("Ht... | TelerikAcademy/Windows-Applications | 16. Working-with-Remote-Data/Demo/HttpWebRequestInUWP/Properties/AssemblyInfo.cs | C# | mit | 1,058 |
#!/usr/bin/env python3
# JN 2015-07-29
"""
Log file parser for Cheetah by Johannes Niediek
This script reads out the reference settings
by sequentially following all crs, rbs, and gbd commands.
Please keep in mind that the following scenario is possible with Cheetah:
Start the recording
Stop the recording
Change the... | jniediek/combinato | tools/parse_cheetah_logfile.py | Python | mit | 19,113 |
---
layout: post
title: Mature british lingerie slut fucks workingman
titleinfo: pornvd
desc: Watch Mature british lingerie slut fucks workingman. Pornhub is the ultimate xxx porn and sex site.
---
<iframe src="http://www.pornhub.com/embed/1798697006" frameborder="0" width="630" height="338" scrolling="no"></iframe>
<... | pornvd/pornvd.github.io | _posts/2016-01-15-Mature-british-lingerie-slut-fucks-workingman.md | Markdown | mit | 499 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_13) on Tue Apr 16 14:41:04 BST 2013 -->
<title>Uses of Class logic.Event</title>
<meta name="date" content="2013-04-16">
<link rel="sty... | DDuarte/feup-lpoo-maze_and_bombermen | maze/doc/logic/class-use/Event.html | HTML | mit | 11,728 |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateEscuelasTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('escuelas', fun... | nelsonalejandrosaz/SIUPS | database/migrations/2017_06_06_212901_create_escuelas_table.php | PHP | mit | 690 |
/*
* Copyright 2007 ZXing authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | zxing-js/library | src/core/qrcode/detector/Detector.ts | TypeScript | mit | 16,330 |
# Simple plotter for Gut books.
# All this does is draw a sqare for every stat in the input
# and color it based on the score.
#
# Another fine example of how Viz lies to you. You will
# need to fudge the range by adjusting the clipping.
import numpy as np
import matplotlib.pyplot as plt
import sys as sys
if len(s... | craigulmer/gut-buster | squareplot.py | Python | mit | 1,320 |
using NBitcoin;
using ReactiveUI;
using Splat;
using System;
using System.Globalization;
using System.Linq;
using System.Reactive;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using WalletWasabi.Blockchain.TransactionOutputs;
using WalletWasabi.CoinJoin.Client.Rounds;
using WalletWasabi.CoinJoin.Commo... | nopara73/HiddenWallet | WalletWasabi.Gui/Controls/WalletExplorer/CoinViewModel.cs | C# | mit | 8,992 |
-- *******************************************************************************************
-- IMPORTANT NOTE: When making updates to this schema, please increment the version number!
-- *******************************************************************************************
CREATE VIEW [dbo].[LocalSchemaVersion]... | GridProtectionAlliance/openPDC | Source/Data/SQL Server/_openPDC.sql | SQL | mit | 540 |
FROM ubuntu:14.04
MAINTAINER santoshsahoo
RUN apt-get update -qq
RUN apt-get dist-upgrade -yqq
RUN apt-get install haproxy -yqq | santoshsahoo/dockerfiles | haproxy/Dockerfile | Dockerfile | mit | 130 |
/*Problem 13. Solve tasks
Write a program that can solve these tasks:
Reverses the digits of a number
Calculates the average of a sequence of integers
Solves a linear equation a * x + b = 0
Create appropriate methods.
Provide a simple text-based menu for the user to choose which task to solve.
Validate the in... | MarinMarinov/C-Sharp-Part-2 | Homework 03-Methods/Problem 13. Solve tasks/Program.cs | C# | mit | 3,087 |
# AirDroidJS
AirDroid JS is an NodeJS module that provides a wrapper to some of the AirDroid Core API functionality for you to incorporate into your very own app.
### Version
0.1.0
### Installation
I have not pushed this to npm yet so you need to manually set this up.
```sh
$ git clone https://github.com/donaldej... | donaldej/adjs | README.md | Markdown | mit | 1,151 |
import Ember from 'ember';
import StatefulMixin from './mixins/stateful';
export default Ember.Object.extend(StatefulMixin);
| IvyApp/ivy-stateful | addon/state-machine.js | JavaScript | mit | 126 |
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("Qtm... | qualisys/RTClientSDK.Net | QtmCaptureBroadcasts/Properties/AssemblyInfo.cs | C# | mit | 1,451 |
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import {
Animated,
Easing,
View,
} from 'react-native';
const INDETERMINATE_WIDTH_FACTOR = 0.3;
const BAR_WIDTH_ZERO_POSITION = INDETERMINATE_WIDTH_FACTOR / (1 + INDETERMINATE_WIDTH_FACTOR);
export default class ProgressBar extends Co... | fengshanjian/react-native-komect-uikit | src/Progress/Bar.js | JavaScript | mit | 3,584 |
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Mar 16, 2017 at 09:48 AM
-- Server version: 10.1.19-MariaDB
-- PHP Version: 7.0.9
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLI... | jackyef/asset-labeling-system | sql/als_db v0.2.6.sql | SQL | mit | 15,070 |
import './accounts-config.js';
import './i18n.js';
import './routes.js';
import '../../ui/iso3d/phaser-plugin-isometric.min.js';
| Albilab/jeu-environnemental | imports/startup/client/index.js | JavaScript | mit | 130 |
package gr.iti.openzoo.pojos;
/**
*
* @author Michalis Lazaridis <michalis.lazaridis@iti.gr>
*/
public class Triple<L,M,R> {
private final L left;
private final M middle;
private final R right;
public Triple(L left, M middle, R right) {
this.left = left;
this.middle = middle;
this.right = righ... | VisualComputingLab/OpenZoo | OpenZUI/src/java/gr/iti/openzoo/pojos/Triple.java | Java | mit | 1,025 |
#contact {
background-color: #2E3B4D;
color: #FFFFFF;
padding: 20vh 0; }
#contact h2 {
font-size: 1.1em;
font-weight: bold;
text-transform: uppercase; }
#contact p.excerpt {
font-size: 1.1em; }
#contact a, #contact a:hover {
color: #FFF; }
/*# sourceMappingURL=contact.css.map */
| shenils/ab_static | assets/stylesheets/contact.css | CSS | mit | 313 |
package us.myles.ViaVersion.protocols.protocol1_9to1_8;
import us.myles.ViaVersion.api.PacketWrapper;
import us.myles.ViaVersion.api.remapper.PacketHandler;
import us.myles.ViaVersion.api.type.Type;
import us.myles.ViaVersion.protocols.protocol1_9to1_8.storage.MovementTracker;
public class PlayerMovementMapper extend... | Matsv/ViaVersion | common/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/PlayerMovementMapper.java | Java | mit | 696 |
.li {
width: 2.180em;
height: 2em;
text-align: center;
line-height: 2em;
border-radius: 1em;
background: dodgerblue;
margin: 0 1em;
display: inline-block;
color: black;
position: relative;
left:62.5px;
}
.li1::before{
content: '';
position: absolute;
top: .9em;
left:0em;
width: 4.5em;... | BusRunners/TarsimAvl | TarsimAvl/Report/StyleSheet3.css | CSS | mit | 1,400 |
<?php
namespace PMocks\Loader;
class Exception extends \PMocks\Exception
{
} | psmokotnin/PMocks | PMocks/Loader/Exception.php | PHP | mit | 78 |
const basicJson = require('./basic.json')
export const jsonExport = {
basicJson
}
| ericwooley/jsonable | tests/files/json-include.json.js | JavaScript | mit | 85 |
<html><body>
<h4>Windows 10 x64 (18363.592)</h4><br>
<h2>_MI_PARTITION_FLAGS</h2>
<font face="arial"> +0x000 BeingDeleted : Pos 0, 1 Bit<br>
+0x000 PageListsInitialized : Pos 1, 1 Bit<br>
+0x000 StoreReservedPagesCharged : Pos 2, 1 Bit<br>
+0x000 UseProtectedSlabAllocators : Pos 3, 1 Bit<br>
+0... | epikcraw/ggool | public/Windows 10 x64 (18363.592)/_MI_PARTITION_FLAGS.html | HTML | mit | 494 |
<!doctype html>
<html class="theme-next mist use-motion">
<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, maximum-scale=1"/>
<meta http-equiv="Cache-Control" content="no-transform" />
<meta h... | amywushu/amywushu.github.io | archives/index.html | HTML | mit | 23,045 |
package dp;
/**
* Question: http://www.geeksforgeeks.org/count-number-binary-strings-without-consecutive-1s/
*/
public class CountBinaryWithoutConsecutiveOnes {
public int count(int N) {
int[][] memo = new int[N + 1][2];
for (int i = 0; i < memo.length; i++) {
for (int j = 0; j < memo... | scaffeinate/crack-the-code | geeks-for-geeks/src/dp/CountBinaryWithoutConsecutiveOnes.java | Java | mit | 1,025 |
from verbs.baseforms import forms
class SuspendForm(forms.VerbForm):
name = "Suspend"
slug = "suspend"
duration_min_time = forms.IntegerField() | Bionetbook/bionetbook | bnbapp/bionetbook/_old/verbs/forms/suspend.py | Python | mit | 159 |
Csabuilder::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the web... | giratikanon/csa-builder | config/environments/development.rb | Ruby | mit | 1,595 |
namespace HayDoc.Core.Configuration {
public class Database {
public string Host { get; set; }
public string Port { get; set; }
public string Scheme { get; set; }
public string Username { get; set; }
public string Password { get; set; }
}
} | mbedded/HayDoc | HayDoc.Core/Configuration/Database.cs | C# | mit | 267 |
body {
font:14px Candara;
background: #004267;
background-image:url("/img/bg4.jpg");
}
hr{
background-color:#818284;
height:0.5px;
}
#title{
font:bold 16px Candara;
margin-left:15px;
color: #0F76BB;
}
.aline{
margin-left:15px;
}
.comment{
font:14px Candara;
color: #... | orrbarkat/instags | app/assets/stylesheets/designBlue.css | CSS | mit | 2,695 |
/*
* wjquery.calendar 0.1.1
* by composite (wonchu.net@gmail.com)
* http://www.wonchu.net
* This project licensed under a MIT License.
0.1.0 : 최초작성
0.1.1 : 소스정리
*/
(function ($) {
const WCALENDAR_SV = {
ns: "wcalendar",
dateFormat: "YYYYMMDD",
lang: {
ko: {... | bibaboo/bibaboo.github.com | js/lib/wjquery/wjquery.calendar.js | JavaScript | mit | 12,657 |
/*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2000 Dirk Mueller (mueller@kde.org)
* Copyright (C) 2004-2016 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of ... | gubaojian/trylearn | WebLayoutCore/Source/WebCore/html/HTMLOptionsCollection.h | C | mit | 3,469 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>regexp: 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.4.6~camlp4/regexp/8.8.0.html | HTML | mit | 7,462 |
Deseret 0.9.0.0 [DSC]
Proof of Work SHA-D Cryptocurrency based on Bitcoin 0.8.99
Initual Allocation: 99,000,000 (DCS)
Max Coinage: 159,000,000
Block Reward: 1 DSC
Dark Gravity Wave (Block Retargeting) after 2000 blocks
Default Port = 9741
RPC Port = 9740
| deseretcoin/deseretcoin | README.md | Markdown | mit | 262 |
<?php
/* SensioDistributionBundle::Configurator/final.html.twig */
class __TwigTemplate_97f044a3817b39b7b53a0966d7ee406e extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = $this->env->loadTemplate("SensioDistributionBundle::C... | edconolly/symfony-test | app/cache/dev/twig/97/f0/44a3817b39b7b53a0966d7ee406e.php | PHP | mit | 3,293 |
#ifndef __MSA_rules_ye_WORLD2D__
#define __MSA_rules_ye_WORLD2D__
#include "..\_MSA_DDraw\MSA_DDraw.h"
#include "MSA_sprite.h"
#define MAX_SPRITE_COUNT 512
class MSA_WORLD2D // SPRITE LINKED LIST MANAGMENT
{
private:
friend class MSA_SPRITE;
MSA_DDRAW *TheDDraw;
MSA_SPRITE *spr;
short SpriteCount... | memo/msalibs_2000 | MSA_World2d.h | C | mit | 821 |
describe("OCombo:", function () {
var wtest, $p;
beforeEach(function () {
wtest = frames[0];
$p = wtest.$p;
});
it("Конствуктор должен возвращать объект типа OCombo", function () {
expect(typeof $p).toBe("object");
});
}); | oknosoft/metadata.js | spec/tests/_wdg_spec.js | JavaScript | mit | 275 |
export * as dijkstra from './dijkstra';
export * as unweighted from './unweighted';
export {
singleSource,
singleSourceLength,
bidirectional,
brandes
} from './unweighted';
export {edgePathFromNodePath} from './utils';
| graphology/graphology | src/shortest-path/index.d.ts | TypeScript | mit | 229 |
#ifndef FULL_DICT_UTIL_H_GUARD
#define FULL_DICT_UTIL_H_GUARD
#include <stddef.h>
typedef struct MemoryMap {
int file_descriptor;
size_t length;
char *buffer;
} MemoryMap;
size_t ceil_div(size_t x, size_t y);
char* file_to_buffer(char *filename);
#endif
| frostburn/full-dict | include/full-dict/util.h | C | mit | 271 |
# Copyright 2008-2009 Amazon.com, Inc. or its affiliates. All Rights
# Reserved. Licensed under the Amazon Software License (the
# "License"). You may not use this file except in compliance with the
# License. A copy of the License is located at
# http://aws.amazon.com/asl or in the "license" file accompanying this
... | sujoyg/tool | vendor/ec2-ami-tools-1.3-66634/lib/ec2/amitools/uploadbundle.rb | Ruby | mit | 12,081 |
<?php
if (!defined('DS')) {
define('DS', DIRECTORY_SEPARATOR);
}
define('ROOT', realpath(__DIR__) . DS);
if (!file_exists($autoload = ROOT . 'vendor/autoload.php')) {
throw new RuntimeException('Dependencies not installed.');
}
require $autoload;
unset($autoload); | basekit/imanee | bootstrap.php | PHP | mit | 273 |
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: AssemblyTi... | PhilipDaniels/Lithogen | Lithogen/Lithogen.Core/Properties/AssemblyInfo.cs | C# | mit | 1,438 |
from __future__ import absolute_import
import json
from twisted.internet import defer, error
from twisted.python import failure
from twisted.test import proto_helpers
from twisted.trial import unittest
from txjsonrpc import jsonrpc, jsonrpclib
class TestJSONRPC(unittest.TestCase):
def setUp(self):
self.... | Julian/txjsonrpc-tcp | txjsonrpc/tests/test_jsonrpc.py | Python | mit | 8,101 |
import { exec } from "child_process"
import test from "tape"
import cliBin from "./utils/cliBin"
test("--watch error if no input files", (t) => {
exec(
`${ cliBin }/testBin --watch`,
(err, stdout, stderr) => {
t.ok(
err,
"should return an error when <input> or <output> are missing when ... | MoOx/cli-for-files | src/__tests__/watcher.error-no-input.js | JavaScript | mit | 579 |
// This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documentation... | centauroWaRRIor/VulkanSamples | ExternalLibraries/NvGameworksFramework/include/NsFoundation/NsBasicTemplates.h | C | mit | 3,719 |
module Iibee
VERSION = "0.1.21"
end
| quantiguous/iibee | lib/iibee/version.rb | Ruby | mit | 38 |
<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>Recipient Property</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css" href="MSDN.css" />
... | npruehs/slash-framework | Ext/log4net-1.2.11/doc/release/sdk/log4net.Appender.NetSendAppender.Recipient.html | HTML | mit | 2,431 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>coqoban: 22 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="sty... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.09.1-2.0.6/released/8.11.0/coqoban/8.13.0.html | HTML | mit | 7,131 |
---
layout: post
date: '2016-01-18'
title: "Alan Hannah Bardot Sleeveless Tea-Length Aline/Princess"
category: Alan Hannah
tags: [Alan Hannah,Aline/Princess ,Bateau,Tea-Length,Sleeveless]
---
### Alan Hannah Bardot
Just **$329.99**
### Sleeveless Tea-Length Aline/Princess
<table><tr><td>BRANDS</td><td>Alan Hannah</... | variousweddingdress/variousweddingdress.github.io | _posts/2016-01-18-Alan-Hannah-Bardot-Sleeveless-TeaLength-AlinePrincess.md | Markdown | mit | 1,292 |
package Problems;
import java.io.IOException;
import java.util.Scanner;
/**
* Created by nhs0912 on 2016-12-15.
*/
public class P_10039 {
public static void main(String[] args) throws IOException {
Scanner sc = new Scanner(System.in);
int sum = 0;
int score = 0;
for (int i = 0; i... | nhs0912/BOJ | src/Problems/P_10039.java | Java | mit | 520 |
class Worker < ActiveRecord::Base
belongs_to :detail, polymorphic: true, touch: true
has_many :contracts, dependent: :destroy
has_many :tweets, dependent: :destroy
end
| chingor13/cache_debugging | test/dummy/app/models/worker.rb | Ruby | mit | 176 |
/* myrootkit.c:
fill in the blanks to write your first rootkit!
*/
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/unistd.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Your name here");
// syscall_table perm addr in the kernel
unsigne... | bekher/rt-techtalk | basic/myrootkit.c | C | mit | 1,331 |
require File.join(File.dirname(__FILE__), 'spec_helper')
describe SmsPromote::Gateway do
it "should be possible to create a sms gateway" do
gateway = SmsPromote::Gateway.new API_KEY
gateway.service_url.to_s.should =~ /http:/
gateway.route.should == :basic
gateway = SmsPromote::Gateway.new API_KEY, :s... | threez/smspromote | spec/gateway_spec.rb | Ruby | mit | 2,425 |
class WatchesController < ApplicationController
def create
# puts "In controller Watch.count: #{Watch.count}"
@watch = Watch.new(watch_params)
if !@watch.save
logger.error("Save failed: #{@watch.errors.full_message} #{@watch.inspect}")
end
respond_to do |format|
format.js do
#... | weenhanceit/outages | app/controllers/watches_controller.rb | Ruby | mit | 1,336 |
package lila.round
import akka.actor._
import akka.pattern.ask
import com.typesafe.config.Config
import scala.concurrent.duration._
import actorApi.{ GetSocketStatus, SocketStatus }
import lila.common.PimpedConfig._
import lila.hub.actorApi.map.{ Ask, Tell, TellAll }
import lila.socket.actorApi.GetVersion
import make... | JimmyMow/lila | modules/round/src/main/Env.scala | Scala | mit | 7,632 |
using System.Windows.Controls;
namespace Accelerider.Windows.Modules.NetDisk.Views.Dialogs
{
/// <summary>
/// Interaction logic for SelectNetDiskTypeDialog.xaml
/// </summary>
public partial class SelectNetDiskTypeDialog : UserControl
{
public SelectNetDiskTypeDialog()
{
... | ResourceHunter/BaiduPanDownloadWpf | Source/Accelerider.Windows.Modules.NetDisk/Views/Dialogs/SelectNetDiskTypeDialog.xaml.cs | C# | mit | 366 |
var searchData=
[
['t',['T',['../all__17_8js.html#adf1f3edb9115acb0a1e04209b7a9937b',1,'T(): all_17.js'],['../all__8_8js.html#adf1f3edb9115acb0a1e04209b7a9937b',1,'T(): all_8.js'],['../enumvalues__7_8js.html#adf1f3edb9115acb0a1e04209b7a9937b',1,'T(): enumvalues_7.js'],['../functions__3_8js.html#adf1f3e... | bhargavipatel/808X_VO | docs/html/search/variables_13.js | JavaScript | mit | 1,034 |
//
// NAppDelegate.h
// NEvent
//
// Created by CocoaPods on 04/18/2015.
// Copyright (c) 2014 Naithar. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface NAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| Naithar/NEvent | Example/NEvent/NAppDelegate.h | C | mit | 275 |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="gl" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About BillaryCoin</source>
<translation>Acerca de BillaryCoin</translation>
</message>
<message>
... | Billary/BillaryCoinSource | src/qt/locale/bitcoin_gl.ts | TypeScript | mit | 120,750 |
(function(window, factory) {
if (typeof define === 'function' && define.amd) {
define([], function() {
return factory();
});
} else if (typeof module === 'object' && typeof module.exports === 'object') {
module.exports = factory();
} else {
(window.LocaleData || (... | jsor/locale-data | data/de_LU@euro.js | JavaScript | mit | 4,447 |
Hortomatic
=======================
[](https://travis-ci.org/Hortomatic/app-web?branch=master)
[](https://david-dm.org/Hortomatic/app-web)
[
## Development Stack
> 개발 언어 및 스택 소개
- Language : Javascript, [Node.js](https://nodejs.org/)
- Framework : [Express](http://expressjs.com/)
- Database : [MariaDB](https://mariadb.org/), [Redis](http://www.redis.io/)
- Module : asnyc, crypto, request, winston
... | ledgku/Jiniwitch | README.md | Markdown | mit | 1,070 |
import pytest
from canon.seq.seqreader import SeqReader
from .. import resource
def test_read_seq():
reader = SeqReader(resource('seq/Quartz_500Mpa_.SEQ'))
reader.get_Om()
Z, _, N = reader.get_Zmap('orsnr___')
def test_merge_Zmap():
reader = SeqReader()
reader.read_seq(resource('seq/au30_a1_.SE... | structrans/Canon | test/seq/test_seqreader.py | Python | mit | 560 |
/*
* AStar.hpp
*
* Created on: 10.07.2014
* Author: lowkey
*/
#ifndef ASTAR_HPP_
#define ASTAR_HPP_
#include "DungeonGenerator.hpp"
#include <vector>
#include <algorithm>
#include <cassert>
#include <iostream>
typedef std::vector<Position> Path;
template<class CostCalculatorType>
class AStar {
public:
... | lowkey42/test-dungeonGen | dungeon-gen/src/AStar.hpp | C++ | mit | 3,966 |
// TODO: Add tests
import passport from 'passport';
import { OAuth2Strategy as GoogleStrategy } from 'passport-google-oauth';
import authConfig from '../credentials.json';
import init from '../init';
import { upsert } from '../../lib/util';
function passportInit() {
// serialize user into the session
init();
... | harsh376/Hector | src/server/auth/strategies/google.js | JavaScript | mit | 1,036 |
<div class="container" style="padding-top: 45px">
<div class="col-md-8">
<h2>Finde den passenden Ort zu den Daten
<button type="button" class="btn btn-info" data-toggle="modal" data-target="#myModal">
<span class="glyphicon glyphicon-question-sign"></span> How to play</button>
<but... | dwalin93/OSeM-Projekt | app/views/game.html | HTML | mit | 5,995 |
/*
* This file is part of the Photomaton-mobile package.
*
* (c) Romain Lamarche
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#include "gphotolistcamerascommand.h"
#include "gphoto/gphotocameracontroller.h"
GPhotoListCamerasC... | rlamarche/photomaton-mobile | gphoto/commands/gphotolistcamerascommand.cpp | C++ | mit | 621 |
<?php
namespace Innmind\RestBundle\Tests\Command;
use Innmind\RestBundle\Command\FetchCommand;
use Innmind\RestBundle\Client\Server\Capabilities;
use Innmind\RestBundle\Client\Server\CapabilitiesFactory;
use Innmind\RestBundle\Client\LoaderFactory;
use Innmind\Rest\Client\Definition\Loader;
use Symfony\Component\Cons... | Innmind/RestBundle | Tests/Command/FetchCommandTest.php | PHP | mit | 2,638 |
package chip8
import (
"testing"
)
func Test0xAnnn(t *testing.T) {
c := New([]byte{
0xAF, 0xFF,
})
c.Step()
if c.i != 0xFFF {
t.Error("i was not set to 0xFFF as expected")
}
}
| pmcatominey/gochip8 | chip8/instructions_a_test.go | GO | mit | 190 |
{% load crispy_forms_tags %}
{% block content %}
{% if error %}
<div class="alert alert-dismissable alert-danger">
<button type="button" class="close" data-dismiss="alert">×</button>
<strong>Oh snap!</strong> {{ error }}
</div>
{% endif %}
{% if success %}
<div class="alert alert-dismissable... | carlosa54/evaluation_system | templates/user/addstudent.html | HTML | mit | 1,793 |
{% extends 'base_panel.html' %}
{% block title %}Signup Sent{% endblock %}
{% block panel_content %}
<h1>An Update Link Has Been Sent</h1>
<p>
Please check your email for a link you can use to update your location and delivery preferences.
</p>
<p> If you don't receive the email or have any troub... | greencoder/hopefullysunny-django | registrations/templates/update_sent.tpl.html | HTML | mit | 465 |
# HandlePermission_6.0
6.0权限处理__动态申请权限
#第一个页面,用最普遍的Google提供的方法做权限申请:
1.判断是否需要申请
若需要,那么去request这个权限
若不需要,Do some thing.
2.重写权限处理的回调 onRequestPermissionsResult
处理
#第二个页面,用rxpermission处理权限
1.
//RxJava
compile 'io.reactivex:rxjava:1.1.8'
compile 'io.reactivex:... | lovetomatoo/HandlePermission_6.0 | README.md | Markdown | mit | 3,429 |
import { Component} from '@angular/core';
import {RenderingUIAbstractComponent} from "../../../main/components/rendering-iu/rendering-ui.abstract.component";
@Component({
selector:'gota-home-content',
moduleId : module.id || __moduleName,
templateUrl: './product-detail-content.component.html',
styleUr... | caohonghiep/gota | client/products/components/product-detail-content/product-detail-content.component.ts | TypeScript | mit | 485 |
#include "mouse.h"
//////////////////////////////////////////////////////////////////////////
// RAY //
//////////////////////////////////////////////////////////////////////////
RAY::RAY()
{
org = dir = D3DXVECTOR3(0.0f, 0.0f, 0.0f);
}
RAY::RAY(D3DXVECTOR3 o, D3DXVECTOR3 d)
{
org = o;
dir = d;
}
... | ericrrichards/rts | rts-master/Chapter 5/Example 5.9/mouse.cpp | C++ | mit | 6,933 |
#!/usr/bin/env python3
# Copyright (c) 2014-2019 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Test the importmulti RPC.
Test importmulti by generating keys on node0, importing the scriptPubKeys an... | Bitcoin-ABC/bitcoin-abc | test/functional/wallet_importmulti.py | Python | mit | 37,468 |
import os
import json
from base import BaseController
from nqueens.models import Piece, Panel, Meta
class NQueensController(BaseController):
def __init__(self, view):
super(NQueensController, self)
self._piece_data = None
self._piece_cache = None
self.view = view
@classmethod... | PereBal/advanced-algorithms | nqueens/controller.py | Python | mit | 2,927 |
var React = require('react');
var _ = require('underscore');
var List = React.createClass({
render: function() {
var listItems = [];
_.each(this.props.value, function(data, index) {
listItems.push(<li>{JSON.stringify(data)}</li>);
});
return (
<div>
... | jmather/scope.js | client/components/Displays/List.react.js | JavaScript | mit | 466 |
/*
* The MIT License
*
* Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi
*
* 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 l... | fujibee/hudson | core/src/main/java/hudson/model/JobProperty.java | Java | mit | 5,215 |
#!/usr/bin/env python
# *-* coding: UTF-8 *-*
"""
Organizaţia Internaţională a Aviaţiei Civile propune un alfabet în care
fiecărei litere îi este asignat un cuvânt pentru a evita problemele în
înțelegerea mesajelor critice.
Pentru a se păstra un istoric al conversațiilor s-a decis transcrierea lor
conform următoarelo... | iulianbute/labs | python/solutii/iulian_andrei/icao/from_icao.py | Python | mit | 1,888 |
var Helper = require("@kaoscript/runtime").Helper;
module.exports = function() {
var path = require("path");
require("../require/require.string.ks")(Helper.cast(path.join(__dirname, "foobar.txt"), "String", false, null, "String"));
}; | kaoscript/kaoscript | test/fixtures/compile/import/import.parameter.expression.default.js | JavaScript | mit | 236 |
var phonecatControllers = angular.module('phonecatControllers', []);
phonecatControllers.controller('PhoneListCtrl', ['$scope', '$http',
function ($scope, $http) {
$http.get('phones/phones.json').success(function(data) {
$scope.phones = data;
});
$scope.orderProp = 'age';
}]);
phonecatCont... | dlamoureux/angularaxa | app/js/controllers.js | JavaScript | mit | 696 |
<div class="panel-body ">
<div class="breadcrumbs">
<div class="container">
<div class="row">
<div class="col-lg-4 col-sm-4">
<h1>EQUINE <span class="buzz">BUZZ</span></h1>
</div>
<div class="col-lg-8 col-sm-8">
<!-- <ol class="breadcrumb pull-right">
... | darrylivan/equinebuzz.com | partials/contact.html | HTML | mit | 1,213 |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
using Raptor.Library.Common;
using Raptor.Library.Enums;
using Raptor.Library.WebAPI.Transports.Content;
using Raptor.WebAPI.B... | jcapellman/Raptor | Src/Raptor.WebAPI/Controllers/ContentSyncController.cs | C# | mit | 1,295 |
/* ###################################################################
** This component module is generated by Processor Expert. Do not modify it.
** Filename : RTC.c
** Project : SeismicPi_Firmware
** Processor : MK22FN128VLH10
** Component : RTC_LDD
** Version : Component 01.16... | SeismicPi/SeismicPi | Firmware/SeismicPi_Firmware/Generated_Code/RTC.c | C | mit | 18,182 |
<?php
declare(strict_types=1);
namespace Doctrine\Tests\ORM\Persisters;
use Doctrine\ORM\ORMException;
use Doctrine\ORM\Persisters\Collection\ManyToManyPersister;
use Doctrine\Tests\Mocks\ConnectionMock;
use Doctrine\Tests\Models\ManyToManyPersister\ChildClass;
use Doctrine\Tests\Models\ManyToManyPersister\OtherPare... | deeky666/doctrine2 | tests/Doctrine/Tests/ORM/Persisters/ManyToManyPersisterTest.php | PHP | mit | 1,743 |
TESTS = test/*.test.js
REPORTER = tap
TIMEOUT = 3000
MOCHA_OPTS =
install:
@npm install --registry=http://registry.npm.taobao.org
test:
@NODE_ENV=test ./node_modules/mocha/bin/mocha \
--harmony-generators \
--reporter $(REPORTER) \
--timeout $(TIMEOUT) \
--require should \
$(MOCHA_OPTS) \
$(TESTS)
test... | koajs/snapshot | Makefile | Makefile | mit | 906 |
require File.expand_path('../boot', __FILE__)
require 'rails/all'
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module Gitpush6
class Application < Rails::Application
# Settings in config/environments/* take prec... | therise3107/rails_devise_with_mail | config/application.rb | Ruby | mit | 979 |
var elixir = require('laravel-elixir');
/*
|--------------------------------------------------------------------------
| Elixir Asset Management
|--------------------------------------------------------------------------
|
| Elixir provides a clean, fluent API for defining some basic Gulp tasks
| for your Larave... | Beyond-Game/Raffaello | gulpfile.js | JavaScript | mit | 572 |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="la" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Termocoin</source>
<translation>Informatio de Termocoin</translation... | Termocoin/Termocoin | src/qt/locale/bitcoin_la.ts | TypeScript | mit | 117,262 |
module PostsWithCollectionAndFilesHelper
end
| AskDiana/uploadcare-rails | spec/dummy/app/helpers/posts_with_collection_and_files_helper.rb | Ruby | mit | 45 |
namespace App.Common.Enums
{
public enum ResourceFileVersion
{
Version1 = 1,
Version2 = 2
}
}
| Digiman/AzureBillingViewer | App.Common/Enums/ResourceFileVersion.cs | C# | mit | 125 |
OSEK BNFC Parser
================
A [BNFC](http://bnfc.digitalgrammars.com/) implementation of the OSEK
Implementation Language.
The parser has been tested against the example in section 5.2 of the
[OIL specification](http://portal.osek-vdx.org/files/pdf/specs/oil25.pdf).
| josefs/OIL | README.md | Markdown | mit | 276 |
package modulo0.tree;
public class Declare extends Stat {
public Declare(Var x, Expr e, Stat s) {
super("Declare", new M0Node[] { x, e, s });
}
@Override
protected Stat copy() {
return new Declare((Var) getChild(0), (Expr) getChild(1), (Stat) getChild(2));
}
}
| nuthatchery/modulo0 | modulo0/src/modulo0/tree/Declare.java | Java | mit | 275 |
# spectrum_analyzer
HTML5 Spectrum Analyzer and Tone Generator
[Demo here](https://rawgit.com/pachacamac/spectrum_analyzer/master/index.html)
| pachacamac/spectrum_analyzer | README.md | Markdown | mit | 144 |
<?php
/**
* @copyright Copyright (C) 2015-2018 AIZAWA Hina
* @license https://github.com/fetus-hina/stat.ink/blob/master/LICENSE MIT
* @author AIZAWA Hina <hina@fetus.jp>
*/
use app\components\db\Migration;
use app\components\db\WeaponMigration;
class m180420_090724_longblaster_custom extends Migration
{
use... | fetus-hina/stat.ink | migrations/m180420_090724_longblaster_custom.php | PHP | mit | 714 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.