repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
bkahlert/seqan-research | raw/pmsb13/pmsb13-data-20130530/sources/6ndbc4zuiueuaiyv/2013-04-12T10-53-47.940+0200/sandbox/my_sandbox/apps/graphs_a2/graphs_a2.cpp | 871 | #include <iostream>
#include <seqan/graph_types.h>
#include <seqan/graph_algorithms.h>
#include <seqan/basic/basic_math.h>
using namespace seqan;
using namespace std;
int main ()
{
typedef unsigned int TCargo;
typedef unsigned int TSpec;
typedef Graph<Directed<TCargo, TSpec> > TGraph;
typedef VertexDes... | mit |
rednaxelafx/jvm.go | jvmgo/jvm/instructions/i2x.go | 1298 | package instructions
import "github.com/zxh0/jvm.go/jvmgo/jvm/rtda"
// Convert int to byte
type i2b struct{ NoOperandsInstruction }
func (self *i2b) Execute(frame *rtda.Frame) {
stack := frame.OperandStack()
i := stack.PopInt()
b := int32(int8(i))
stack.PushInt(b)
}
// Convert int to char
type i2c struct{ NoOpe... | mit |
Live-Charts/WebSiteDocs | v1/Missing Points/wf.html | 584 | <h3 class="important-tittle">Line with missing points</h3>
<p>
Use <i>double.NaN</i> when you don't know a value in a line series, that point will be undefined and
will be ignored when the series is drawn.
</p>
<div class="text-center">
<img src="/App/Examples/v1/Missing Points/Images/interrupted.jpg" />... | mit |
andrewdefries/ToxCast | Figure3/Tox21_nnm/WorkHere/151-10-0.smi.png.html | 1586 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<title>151-10-0.smi.png.html</title>
</head>
<... | mit |
erinpagemd/full-contact | gulpfile.js | 1049 | var gulp = require('gulp');
var jade = require('gulp-jade');
var copy = require('gulp-copy');
var sass = require('gulp-sass');
var watch = require('gulp-watch');
//////////WATCH////////////////////////////////////
gulp.task('watch', function () {
watch('./app/**/*', function() {
gulp.start('build');
});
});
/... | mit |
qiniu/ruby-sdk | examples/pfop_watermark.rb | 1241 | #!/usr/bin/env ruby
require 'qiniu'
require 'qiniu/utils'
# 构建鉴权对象
Qiniu.establish_connection! access_key: 'Access_Key',
secret_key: 'Secret_Key'
# 要转码的文件所在的空间和文件名。
bucket = 'Bucket_Name'
key = '1.mp4'
# 转码所使用的队列名称。
pipeline = 'abc'
# 需要添加水印的图片UrlSafeBase64,可以参考http://developer.qiniu.co... | mit |
JavierMaldonadoR/Pokedex | pokemonEditado.php | 816 | <?php
// conectar
$m = new MongoClient( "mongodb://root:root@ds019482.mlab.com:19482/pokemon");
// seleccionar una base de datos
$db = $m->pokemon;
// seleccionar una colección (equivalente a una tabla en una base de datos relacional)
$colección = $db->Pokedex;
$numero = (int) $_GET['id'];
$nombre = $_POST['nombre'];
... | mit |
xlgames-inc/XLE | RenderCore/Assets/MaterialCompiler.cpp | 17643 | // Copyright 2015 XLGAMES Inc.
//
// Distributed under the MIT License (See
// accompanying file "LICENSE" or the website
// http://www.opensource.org/licenses/mit-license.php)
#include "MaterialCompiler.h"
#include "ModelImmutableData.h" // for MaterialImmutableData
#include "Material.h"
#include "CompilationThre... | mit |
FctsFxns/schultzen-web | _works/washing-machine-spin-dry-lead-acid.md | 790 | ---
title: Washing Machine Spin Dry Lead Acid Battery Kill Flywheel
categories: Performatic Video 2015
intro: A youtubing performance on the artist mental power capacities and the veracity of the internet. In the framework of Liminal GR curated by Pilar Cruz and Marc Roig.
featured_image: '/media/images/Waschmachine1a... | mit |
singh-pratyush96/voter | polls/admin.py | 593 | from django.contrib import admin
# Register your models here.
from .models import Question, Choice
class ChoiceInline(admin.TabularInline):
model = Choice
extra = 3
class QuestionAdmin(admin.ModelAdmin):
fieldsets = [
(None, {'fields': ['question_text']}),
('Date information', {'fields... | mit |
NoahYarian/phaser | docs/src_gameobjects_components_InCamera.js.html | 35364 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Phaser Source: src/gameobjects/components/InCamera.js</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/default.css">
<link type... | mit |
tmpvar/jsdom | test/web-platform-tests/to-upstream/html/semantics/forms/the-progress-element/serialization-regression-test.html | 540 | <!DOCTYPE html>
<title>Regression test for serialization bug with progress.value</title>
<!-- https://github.com/jsdom/jsdom/issues/2554 -->
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div><progress></progress></div>
<script>
"use strict";
test(() => {
... | mit |
donaldinou/frontend | src/Viteloge/CoreBundle/Resources/descriptions/82021.html | 1361 | <div class="commune_descr limited">
<p>
Bouloc est
un village
situé dans le département de Tarn-et-Garonne en Midi-Pyrénées. Elle totalisait 209 habitants en 2008.</p>
<p>Si vous pensez demenager à Bouloc, vous pourrez facilement trouver une maison à vendre. </p>
<p>À coté de Bouloc sont localisées les ... | mit |
elcritch/CuteMark | examples/calc3.html | 997 | <!DOCTYPE html>
<meta charset="utf-8">
<title>Input test (circle)</title>
<div class="calculation" id="">
<label for="nRadius" style="display: inline-block; width: 400px; text-align: right">
Linear Modulus: <input type="float" id="linear-modulus">
</label>
<p>
<label for="nRadius" style="disp... | mit |
avrahamcool/aurelia-ui-framework | dist/typings/utils/ui-utils.d.ts | 685 | import { Container } from "aurelia-framework";
export declare module UIUtils {
var auContainer: Container;
var dialogContainer: Element;
var overlayContainer: Element;
var taskbarContainer: Element;
function lazy(T: any): any;
function newInstance(T: any): any;
function toast(options: any): ... | mit |
aaronbassett/djangocon-pusher | talk/todo/migrations/0001_initial.py | 1191 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import todo.mixins
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='TodoItem',
fields=[
('id', m... | mit |
saswin4u/portfolio.syl | dev/js/views/comps/loader.js | 1703 | define(['jquery', 'underscore', 'backbone'], function($, _, Backbone){
var LoaderView = Backbone.View.extend({
tagName : 'div',
className : 'loading-wrapper',
initialize : function(cfg){
var view = this;
if(cfg){
view.title = cfg.title;
... | mit |
johncruise/jw_tagalog | README.md | 40 | # jw_tagalog
*TBD* put more stuff here
| mit |
aas-integration/mini_corpus | benchmarks/09_decision_tree/alexey.enkov_0_1/src/Solution.java | 2990 | import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.text.NumberFormat;
import java.util.ArrayList;
import ... | mit |
jonaslagoni/Wizard-Of-Treldan | zuul-framework/src/TWoT/UseableItem.java | 1375 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package TWoT;
import java.io.Serializable;
/**
*
* @author Lagoni
*/
public class UseableItem extends Item implements Serializable... | mit |
talibasya/redux-store-ancillary | lib/reducers/spinner.js | 3614 | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = exports.hideSpinner = exports.showSpinner = exports.hideSpinnerType = exports.showSpinnerType = void 0;
var _ACTION_HANDLERS;
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || ... | mit |
damianhakert/damianhakert.github.io | source/posts/2015-12-28-gitlab-8-dot-3-dot-1-released.html.md | 2048 | ---
title: "GitLab 8.3.1 Released"
date: 2015-12-28
author: GitLab
author_twitter: gitlab
---
Today we are releasing version 8.3.1 for GitLab Community Edition (CE) and
Enterprise Edition (EE).
It includes the following fixes:
- **CE/EE:** Fix Error 500 when global milestones have slashes ([#2182])
- **CE/EE:** Fix ... | mit |
ivolator/restlt | lib/restlt/cache/RestltMemcachedAdapter.php | 2618 | <?php
/**
* The MIT License (MIT)
*
* Copyright (c) 2013 Ivo Mandalski
*
* 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... | mit |
Asp-Net-Web-Forms-Team-Project/The-CodeBook-Project | Source/Web/TheCodeBookProject.Web.App/Account/ResetPasswordConfirmation.aspx.designer.cs | 790 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | mit |
gavinqqq/WANGYiNEWS | WangYiNEWS/Classes/Models/Person.h | 724 | //
// Person.h
// WangYiNEWS
//
// Created by lanou3g on 15/11/22.
// Copyright © 2015年 lanou3g. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface Person : NSObject
// 用户名
@property (nonatomic, retain) NSString *name;
// 密码
@property (nonatomic, retain) NSString *passWor... | mit |
jhsu802701/rails_from_scratch_rails5 | 09-03-admins_sign_up.md | 5921 | # Unit 9
## Chapter 3: New Admin Sign Up
In this chapter, you will disable the new user registration capability. Anyone who visits the URL for registering a new admin should be automatically forwarded to the home page and see a flash message noting that new admin registrations are disabled.
### New Branch
Enter the ... | mit |
user-tony/photon-rails | lib/assets/css/css_compiled/@{photonImagePath}plugins/elrte/images/photon/js/bootstrap/js/bootstrap/js/plugins/jquery.flot.resize.js.html | 15303 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Login Page - Photon Admin Panel Theme</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<link rel="shortcut icon" href="http://photonui.orangehilldev.com/css/css_comp... | mit |
pezetem/trackMyMoney | src/main/resources/public/index.html | 282 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Track My Money</title>
</head>
<body>
<track-my-money-app></track-my-money-app>
<script type="text/javascript" src="app.js"></script><script type="text/javascript" src="vendor.js"></script></body>
</html> | mit |
CloudyKangaroo/cloudykangaroo | src/lib/puppet.js | 3779 | module.exports = function(config, logger) {
"use strict";
var cacheManager = require('cache-manager');
var redisCache = {};
if (process.env.NODE_ENV !== 'production') {
redisCache = cacheManager.caching({store: 'memory', max: 1024*64 /*Bytes*/, ttl: 15 /*seconds*/});
} else {
var redisStore = requir... | mit |
cmichaelgraham/aurelia-typescript | pwkad-aurelia-samples/pwkad-aurelia-samples/views/column.html | 373 | <template>
<div class="column ${'col-xs-' + column.width}" ref="el">
${column.name}
<div class="widget-row row" repeat.for="widget of column.widgets">
<compose view-model="views/widget" model.bind="widget"></compose>
</div>
<div class="row">
<button class="btn" click.delegate="addWidget()"... | mit |
bfattori/TheRenderEngine | tutorials/tutorial4/game.js | 1412 | // Load all required engine components
R.Engine.define({
"class": "Tutorial4",
"requires": [
"R.engine.Game",
"R.rendercontexts.CanvasContext"
],
// Game class dependencies
"depends": [
"StarObject"
]
});
// Load the game object
R.engine.Game.load("/starObject.js");
/**
* @class Tutorial Four. Generate... | mit |
SalithaUCSC/StudentMate | application/views/pages/User/userPasswordChange.php | 8480 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="<?php echo base_url(); ?... | mit |
JPro173/CourseWork | Project/MainForm.cs | 1636 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
using CourseWork.Views;
namespace CourseWork
{
class Program
{
public static DataBase DB;
public static MainForm MForm;
public static Fi... | mit |
GiorgoE/giorgo-space-invaders | styles.css | 3929 | @charset "utf-8";
/* CSS Document */
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
smal... | mit |
pushbullet/engineer | vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_keyword_error.pb.go | 7574 | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v2/errors/keyword_plan_keyword_error.proto
package errors
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
_ "google.golang.org/genproto/googleapis/api/annotations"
)
// Reference imports to suppress errors i... | mit |
lotaris/jee-validation | src/main/java/com/lotaris/jee/validation/IConstraintConverter.java | 754 | package com.lotaris.jee.validation;
import java.lang.annotation.Annotation;
/**
* Defines a constraint converter.
*
* @author Laurent Prevost <laurent.prevost@lotaris.com>
* @author Cristian Calugar <cristian.calugar@fortech.ro>
*/
public interface IConstraintConverter {
/**
* Returns the error code, if one... | mit |
rom-rb/rom-sql | spec/integration/setup_spec.rb | 583 | RSpec.describe "ROM.container" do
include_context "database setup"
with_adapters do
let(:rom) do
ROM.container(:sql, uri) do |conf|
conf.default.create_table(:dragons) do
primary_key :id
column :name, String
end
conf.relation(:dragons) do
schema(infe... | mit |
NickSquared/OpenSource | CMakeFiles/Makefile.cmake | 3649 | # CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
# The generator used is:
SET(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
# The top level Makefile was generated from the following files:
SET(CMAKE_MAKEFILE_DEPENDS
"CMakeCache.txt"
"CMakeFiles/2.8.12.2/CMakeCCompiler.... | mit |
1and1/WebApi.Pagination | Sample/Controllers/AttributesController.cs | 1553 | using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
using PaginationSample.Models;
using WebApi.Pagination;
namespace PaginationSample.Controllers
{
/// <summary>
/// Demonstrates the usage of the <see cref="PaginationAttribute"/>.
/// </summary>
[RoutePrefix("attributes")]
... | mit |
gromver/yii2-platform-core | modules/menu/widgets/events/MenuItemRoutesEvent.php | 629 | <?php
/**
* @link https://github.com/gromver/yii2-platform-core.git#readme
* @copyright Copyright (c) Gayazov Roman, 2014
* @license https://github.com/gromver/yii2-platform-core/blob/master/LICENSE
* @package yii2-platform-core
* @version 1.0.0
*/
namespace gromver\platform\core\modules\menu\widgets\events;
u... | mit |
whywherewhat/PFundExtendedMay2017 | 08.Dictionaries-Exercises/06.FilterBase/Properties/AssemblyInfo.cs | 1397 | 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("06.... | mit |
Amicus/clusterfsck | lib/clusterfsck/commands/create.rb | 496 | require 'commander'
require_relative "edit"
module ClusterFsck
module Commands
class Create
include ClusterFsckEnvArgumentParser
def run_command(args, options = {})
raise ArgumentError, "must provide a project name" if args.empty?
set_cluster_fsck_env_and_key_from_args(args)
... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.07.1-2.0.6/extra-dev/8.10.dev/ails/8.7.0.html | 7013 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ails: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... | mit |
koreader/android-luajit-launcher | assets/launcher.lua | 458 | local ffi = require("ffi")
local A = require("android")
local C = ffi.C
ffi.cdef[[
int chdir(const char *path);
]]
-- the default current directory is root so we should first of all
-- change current directory to application's data directory
if C.chdir(A.dir) ~= 0 then
local err = "Unable to change working direc... | mit |
Jspsun/LEETCodePractice | Python/MostFrequentSubtreeSum.py | 849 | # Definition for a binary tree node.
# class TreeNode(object):
# def __init__(self, x):
# self.val = x
# self.left = None
# self.right = None
class Solution(object):
m = {}
def findFrequentTreeSum(self, root):
"""
:type root: TreeNode
:rtype: List[int]
... | mit |
skullzdev/skullz | src/qt/editaddressdialog.cpp | 3563 | #include "editaddressdialog.h"
#include "ui_editaddressdialog.h"
#include "addresstablemodel.h"
#include "guiutil.h"
#include <QDataWidgetMapper>
#include <QMessageBox>
EditAddressDialog::EditAddressDialog(Mode mode, QWidget *parent) :
QDialog(parent),
ui(new Ui::EditAddressDialog), mapper(0), mode(mode), mod... | mit |
snewell/codeeval | challenge-0207.cpp | 5536 | #include <algorithm>
#include <cmath>
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
namespace
{
char constexpr START = 'S';
char constexpr FINISH = 'F';
char constexpr FREE = '*';
char constexpr MOUNTAIN = '^';
char constexpr PORT = 'P';
char constexpr ... | mit |
romantolkachyov/django-bridge | README.md | 3449 | # django-bridge
Integrated packages list:
* gulp
* browserify
* gulp-notify
* sass
* less
*
Installation
============
Because of nature of this packages you must install to pieces of it using node's
npm and python's pip both. You need to install python package first. Assuming
that you using python virtualenv.
... | mit |
henkin/henkin.github.io | _site/blog/hello-world/index.html | 7868 | <!doctype html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<!... | mit |
jrdncchr/directmail | application/helpers/danero_helper.php | 2419 | <?php
function generate_random_str($length = 10, $uppercase = false) {
if($uppercase) {
return substr(str_shuffle("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, $length);
} else {
return substr(str_shuffle("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, $length);
}... | mit |
Dyalog/MiServer | PlugIns/Syncfusion-15.3.0.33/assets/css/web/responsive-css/ej.responsive.css | 36674 | @media (min-width: 1920px) {
}
@media (min-width: 1024px) and (max-width: 1920px) {
.e-dialog.e-edittable
{
max-width:470px;
}
}
@media (min-width: 768px) and (max-width: 1024px) {
.e-dialog.e-edittable
{
max-width:470px;
}
}
@media (min-width: 320px) and (max... | mit |
selvasingh/azure-sdk-for-java | sdk/appservice/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/appservice/v2019_08_01/MultiRolePools.java | 1543 | /**
* 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.
*/
package com.microsoft.azure.management.appservice.v2019_08_01;
import com.microsoft.azu... | mit |
romainneutron/PHPExiftool | lib/PHPExiftool/Driver/Tag/Casio/QualityMode.php | 1121 | <?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\Casio;
use JMS\Serializer\Annotation\ExclusionPolicy;
u... | mit |
KarimDarwish/WienerLinien.NET | WienerLinienApi.Samples.WPF_Proper/Model/NewFavoriteStop.cs | 4931 | using System;
using System.CodeDom;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using WienerLinienApi.Information;
using WienerLinienApi.Model;
using WienerLinienApi.RealtimeData.Monitor;
namespac... | mit |
betoesquivel/CIE | app/templates/login.html | 676 | {% extends "base.html" %}
{% block content %}
<h1>Sign in</h1>
<form action="" method="post" name="login">
{{form.hidden_tag()}}
<p>
Please enter your email:<br>
{{form.email(size=80)}}<br>
{% for error in form.errors.email %}
<span style="color:red;">[{{error}}]</span>
... | mit |
m-wrona/gwt-medicapital | client/com/medicapital/client/doctor/work/SetterWorkHoursView.java | 541 | package com.medicapital.client.doctor.work;
import java.util.Date;
import com.medicapital.common.entities.Day;
interface SetterWorkHoursView {
void setDay(Day day);
void setDateFrom(Date date);
void setDateTo(Date date);
void setStartHour(int hour);
void setStartMinutes(int minutes);
void... | mit |
GluuFederation/oxAuth | Client/src/test/java/org/gluu/oxauth/ws/rs/RevokeSessionHttpTest.java | 4099 | package org.gluu.oxauth.ws.rs;
import static org.gluu.oxauth.client.Asserter.assertOk;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertNotNull;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
import org.gluu.oxauth.BaseTest;
import org.gluu.oxauth.client.Aut... | mit |
dKirill/evolution | src/gui/GenerationView.cpp | 2800 | /*--------------------------------------------------------------------------*/
#include "evolution/Generation.h"
#include "evolution/Individual.h"
#include "game/Game.h"
#include "game/Grid.h"
#include "game/Player.h"
#include "gui/GenerationView.h"
#include "ui_GenerationView.h"
/*-------------------------------------... | mit |
ILoveYouDrZaius/cliente-radio | e2e/app.e2e-spec.ts | 295 | import { AppPage } from './app.po';
describe('cliente-radio App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
it('should display welcome message', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('Welcome to app!');
});
});
| mit |
wirecard/paymentSDK-iOS | eCom/WDeCom.framework/Headers/WDECVersion.h | 268 | //
// WDeComVersion.h
// WDeCom
//
// Created by Sedlak, Stefan on 1/8/16.
// Copyright © 2018 Wirecard Technologies GmbH. All rights reserved.
//
#import <Foundation/NSString.h>
extern NSString *const WDeComVersion;
extern NSString *const WDeComVersionCommit;
| mit |
Microsoft/Windows-Driver-Frameworks | src/framework/shared/inc/private/km/fxglobalskm.h | 14776 | /*++
Copyright (c) Microsoft Corporation
Module Name:
FxGlobalsKm.h
Abstract:
This module contains kernel-mode specific globals definitions
for the frameworks.
For common definitions common between km and um please see
FxGlobals.h
Author:
Environment:
Kernel mode only
Revision Histor... | mit |
vingkan/wellsfargochallenge | roamingThoughts.md | 873 | # Roaming Thoughts
* How might we determine the topic of a social media item without using words that were not in it?
** We could use an external source like Google Trends to supply related words not from the original text.
** We could also take words from other social media samplings from the same dataset. It is likel... | mit |
jacobthemyth/jacobthemyth.github.io | scripts/images.rb | 2380 | #! /usr/bin/env ruby
breakpoints = [
{w: '768', name: '768'},
{w: '1536', name: '768@2x'},
{w: '992', name: '992'},
{w: '1984', name: '992@2x'},
{w: '1200', name: '1200'},
{w: '2400', name: '1200@2x'},
{w: '2560', name: '2560'}
]
bg_queries = <<eos
$retina: '(min-resolution: 2dppx)';
$bg-queries: (
'f... | mit |
dongsenfo/pymatgen | docs/_modules/pymatgen/cli/pmg_potcar.html | 11386 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>pymatgen.cli.pmg_potcar — pymatgen 2019.5.1 documentation</title>
<link rel="stylesheet" href="../../../_static/proBlue.css" type="text/css" />
<link rel="stylesheet" href="../../../_static/pygme... | mit |
agileobjects/AgileMapper | AgileMapper.PerformanceTesting/ConcreteMappers/Mapster/MapsterComplexTypeMapperSetup.cs | 1006 | namespace AgileObjects.AgileMapper.PerformanceTesting.ConcreteMappers.Mapster
{
using System.Collections.Generic;
using System.Linq;
using AbstractMappers;
using global::Mapster;
using static TestClasses.Complex;
public class MapsterComplexTypeMapperSetup : ComplexTypeMapperSetupBase
{
... | mit |
nrc/rustc-perf | collector/benchmarks/clap-rs/tests/possible_values.rs | 7049 | extern crate clap;
extern crate regex;
include!("../clap-test.rs");
#[allow(unsused_imports)]
use std::ascii::AsciiExt;
use clap::{App, Arg, ErrorKind};
#[cfg(feature = "suggestions")]
static PV_ERROR: &'static str = "error: 'slo' isn't a valid value for '--Option <option3>'
\t[values: fast, slow]
\tDid you mean '... | mit |
carfaxpca/CarfaxAMA | app/src/users/view/profile.html | 2519 | <div flex layout="row" tabIndex="-1" role="main" layout-padding>
<md-content flex="70" offset="15" class="md-whiteframe-5dp" style="border:solid #ccc 8px;">
<!-- <div flex layout="row">
<div flex="60"> -->
<md-toolbar layout="row" class="md-whiteframe-1dp">
<md-button class="menu" hide-gt-sm ... | mit |
nadirafirinda/shopatginza | application/config/config.php | 18446 | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH... | mit |
jonathan-fielding/just | test/array-last/index.js | 716 | var test = require('tape');
var last = require('../../packages/array-last');
test('non empty arrays return last', function (t) {
t.plan(4);
var testArrays = [
[1, 2, 3, 4, 5],
[[1, 2, 3], [4, 5, 6], [7, 8, 9]],
[{a: 1}, {b: 2}, {c: 3}, {d: 4}],
['a', 1, true, /r/g]
];
testArrays.forEach(functio... | mit |
hbibkrim/neon-wallet | app/components/Settings/EncryptQR/index.js | 528 | // @flow
import { connect } from 'react-redux'
import { bindActionCreators } from 'redux'
import {
getEncryptedWIF,
resetEncryptedWIF,
} from '../../../modules/generateEncryptedWIF'
import EncryptQR from './EncryptQR'
const mapStateToProps = (state: Object) => ({
encryptedWIF: getEncryptedWIF(state),
})
const ... | mit |
Phonemetra/TurboCoin | src/qt/locale/turbocoin_sn.ts | 9180 | <TS language="sn" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Create a new address</source>
<translation>Gadzira Kero Itsva</translation>
</message>
<message>
<source>&New</source>
<translation>Itsva</translation>
</message>
<messag... | mit |
shaurz/devo | thread_output_ctrl.py | 1266 | import threading
import wx
from styled_text_ctrl import StyledTextCtrl
class ThreadOutputCtrl(StyledTextCtrl):
def __init__(self, parent, env, auto_scroll=False):
StyledTextCtrl.__init__(self, parent, env)
self.auto_scroll = auto_scroll
self.__lock = threading.Lock()
self.__queue ... | mit |
massayoshi/mongoid | lib/mongoid/association/referenced/has_and_belongs_to_many.rb | 8624 | # frozen_string_literal: true
# encoding: utf-8
require 'mongoid/association/referenced/has_and_belongs_to_many/binding'
require 'mongoid/association/referenced/has_and_belongs_to_many/buildable'
require 'mongoid/association/referenced/has_and_belongs_to_many/proxy'
require 'mongoid/association/referenced/has_and_belo... | mit |
xahy/container-management-system | resources/views/bookings/index.blade.php | 1706 | @extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-12">
<h2>All Bookings</h2>
<hr>
</div>
<div class="col-md-2">
<a href="/bookings/create" class="btn btn-primary">Make New Booking</a>
</div>
<div class="col-md-10">
... | mit |
damianociarla/DCSPointFormFieldBundle | DependencyInjection/Configuration.php | 890 | <?php
namespace DCS\Form\PointFormFieldBundle\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 ht... | mit |
benleneve/filrouge | src/AppBundle/Controller/CommentController.php | 8967 | <?php
namespace AppBundle\Controller;
use AppBundle\Entity\Comment;
use AppBundle\Form\CommentType;
use AppBundle\Form\ProjectType;
use AppBundle\Entity\Message;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
class CommentController extends Controll... | mit |
pmprog/pmScript | Debugger.W32ASM/lib/wincon.h | 15638 | /*++ BUILD Version: 0002 // Increment this if a change has global effects
Copyright (c) 1989 - 1999, Microsoft Corporation
Module Name:
wincon.h
Abstract:
This module contains the public data structures, data types,
and procedures exported by the NT console subsystem.
Created:
26-Oct-1990
Rev... | mit |
MFry/pyItemCatalog | vagrant/itemCatalog/test/webserver.py | 6549 | import cgi
from http.server import HTTPServer, BaseHTTPRequestHandler
from database_setup import Base, Restaurant
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
from test.restaurant_renderer import RestaurantRenderer
engine = create_engine('sqlite:///restaurantmenu.db')
Base.metadata.b... | mit |
NovaCodeLLC/Aptos-Stock-Portfolio | src/index.html | 306 | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>AptosStockPortfolio</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<app-root></app-root>
</body>
</html>
| mit |
golaravel/laravel5.2docs | validation.md | 35526 | # Validation
- [Introduction](#introduction)
- [Validation Quickstart](#validation-quickstart)
- [Defining The Routes](#quick-defining-the-routes)
- [Creating The Controller](#quick-creating-the-controller)
- [Writing The Validation Logic](#quick-writing-the-validation-logic)
- [Displaying The V... | mit |
bitfluent/wheneva | vendor/plugins/devise/test/rails_app/app/models/organizer.rb | 55 | class Organizer < ActiveRecord::Base
devise :all
end
| mit |
goodGid/goodGid.github.io | naverbcf9f1e45d6c122eb16809e978312b21.html | 67 | naver-site-verification: naverbcf9f1e45d6c122eb16809e978312b21.html | mit |
wq/wq.db | tests/templates/rest_context.html | 343 | <p>
{{#pages_info}}{{full_path}}{{/pages_info}}
</p>
<p>
{{#pages_info}}{{path}}{{/pages_info}}
</p>
<p>
{{rt}}/
</p>
<p>
{{svc}}/
</p>
<p>
{{version}}
</p>
<p>
{{>csrf}}
</p>
<p>
{{#page_config}}{{url}}{{/page_config}}
</p>
<p>
{{#wq_config.pages.item.can_change}}
Can Edit Items
{{/wq_config.pages.... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.11.2-2.0.7/released/8.12.1/chinese/8.10.0.html | 6760 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>chinese: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | mit |
ShowingCloud/Cancri | db/migrate/20170209083632_change_status_on_team_user_ships.rb | 190 | class ChangeStatusOnTeamUserShips < ActiveRecord::Migration[5.0]
def change
change_column :team_user_ships, :status, :integer, :using => 'case when status then 1 else 0 end'
end
end
| mit |
SaviHex/TP_BD2 | Consulta/TP_CRUD/Exemplo_CRUD/ExemploCRUD/ExemploCRUD/Program.cs | 549 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ExemploCRUD
{
static class Program
{
/// <summary>
/// Ponto de entrada principal para o aplicativo.
/// </summary>
[STAThread]
... | mit |
digidentity/libsaml | spec/lib/saml/elements/entities_descriptor_spec.rb | 2423 | require 'spec_helper'
describe Saml::Elements::EntitiesDescriptor do
let(:entities_descriptor) { FactoryBot.build(:entities_descriptor) }
describe "Optional fields" do
[:name, :valid_until, :cache_duration, :signature].each do |field|
it "should have the #{field} field" do
expect(entities_descri... | mit |
bestform/monkey | main.go | 375 | package main
import (
"os/user"
"fmt"
"github.com/bestform/monkey/repl"
"os"
)
func main() {
activeUser, err := user.Current()
if err != nil {
panic(err)
}
fmt.Printf("Hello %s! This is the Monkey programming language!\n", activeUser.Username)
fmt.Println("Feel free to type... | mit |
coq-bench/coq-bench.github.io-old | clean/Linux-x86_64-4.01.0-1.2.0/unstable/8.4pl4/contrib:aac-tactics/8.4.dev/2014-11-29_03-38-54.html | 8476 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Coq bench</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet... | mit |
xuonglaptrinh/LoginSystem | views/index.html | 167 | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<title>Document</title>
</head>
<body>
<h1>This is index file</h1>
</body>
</html>
| mit |
risatya/smartlogicpro | app/controllers/Laporan1111a1Controller.php | 725 | <?php
class Laporan1111a1Controller extends \BaseController {
/**
* konstruktor
*/
public function __construct()
{
$this->beforeFilter('auth');
}
/**
* data faktur laporan 1111b3
*
* @return View
*/
public function index()
{
}
/**
* export ke pdf
*
* @return
... | mit |
nbclark/halite-viz-loader | views/index.html | 3681 |
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="google-site-verification" content="UzLAOvN92N2iaw_7HcFXSOc_M-WIe3KFXaozuaNsZo4" />
<title>Visualizer</title>
<link hr... | mit |
WoolTeam/letim | src/Letim/SecureBundle/DependencyInjection/LetimSecureExtension.php | 881 | <?php
namespace Letim\SecureBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Loader;
/**
* This is the class that loads and manag... | mit |
jkdubr/Proj4 | Pod/Classes/Projection/MOBProjectionEPSG20353.h | 83 | #import "MOBProjection.h"
@interface MOBProjectionEPSG20353 : MOBProjection
@end
| mit |
rezawikan/skripsi | seller/function/Bank/EditDataBank.php | 390 | <?php
session_start();
require_once '../../vendor/autoload.php';
use Emall\Transaction\Bank;
use Emall\Auth\Redirect;
$seller = new Bank;
$home_url = '../../index.php';
if (isset($_POST['seller_bankID'])) {
$seller_bankID = $_POST['seller_bankID'];
$seller->EditDataBank($seller_bankID);
} else... | mit |
jjenki11/blaze-chem-rendering | qca_designer/lib/gettext-0.14/gettext-runtime/intl-java/Makefile | 16485 | # Makefile.in generated by automake 1.8.2 from Makefile.am.
# intl-java/Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimi... | mit |
Vizzuality/climate-watch | spec/models/wri_metadata/source_spec.rb | 232 | require 'rails_helper'
describe WriMetadata::Source, type: :model do
it 'should be invalid when name not present' do
expect(
FactoryBot.build(:wri_metadata_source, name: nil)
).to have(1).errors_on(:name)
end
end
| mit |
tonydeep/tonydeep.github.io | _posts/2018-06-24-attention-attention.md | 37816 | ---
published: false
layout: post
comments: true
title: "Attention? Attention!"
date: 2018-06-24 11:07:00
tags: attention transformer rnn
image: "transformer.png"
---
> Attention has been a fairly popular concept and a useful tool in the deep learning community in recent years. In this post, we are gonna look into how... | mit |
ammondal/Dominic | Iterative approach/Experiment/Results/results_avg.pl | 1376 | #! /usr/bin/perl
# Author: Dominic Bett
# Bioinformatics Project: Experiment on Diffusion Kernel
use strict;
use warnings;
use extract_kernel_values;
my $dk_NetworkRef = readFile2Array("../Diffusion/dk_avg_Network_950.txt");
my $dk_avgOriginalRef = readFile2Array("../../Propable PPI/Raw/avg_Network_950.txt");
my $cor... | mit |
sdispater/cachy | cachy/contracts/taggable_store.py | 497 | # -*- coding: utf-8 -*-
from .store import Store
from ..tagged_cache import TaggedCache
from ..tag_set import TagSet
class TaggableStore(Store):
def tags(self, *names):
"""
Begin executing a new tags operation.
:param names: The tags
:type names: tuple
:rtype: cachy.tag... | mit |