repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
jasonmaclafferty/String | libString/doxygen/html/structstring__t-members.html | 5565 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | mit |
flolas/WhatsAppZorron | Classes/Library/WhatsApp/Connection/WhatsAPI/RC4.php | 1065 | <?php
namespace Library\WhatsApp\Connection\WhatsAPI;
class rc4
{
private $s;
private $i;
private $j;
public function __construct($key, $drop)
{
$this->s = range(0, 255);
for ($i = 0, $j = 0; $i < 256; $i++) {
$k = ord($key{$i % strlen($key)});
$j = ($j + $k... | mit |
loopsframework/base | src/Loops/Element.php | 13526 | <?php
/**
* This file is part of the Loops framework.
*
* @author Lukas <lukas@loopsframework.com>
* @license https://raw.githubusercontent.com/loopsframework/base/master/LICENSE
* @link https://github.com/loopsframework/base
* @link https://loopsframework.com/
* @version 0.1
*/
namespace Loops;
use IteratorA... | mit |
commonsensesoftware/More | src/More.UI.Presentation/Platforms/net45/More/Windows.Controls/ColumnsMediator.cs | 5912 | namespace More.Windows.Controls
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.Contracts;
using System.Windows.Controls;
/// <summary>
/// Represents a... | mit |
HelleboidQ/projetphpgghq | app/views/admin/edit_user.php | 2071 | <form method="POST" action="<?= URL ;?>users/update/<?= $data['news']->id;?>">
<div class="modal-content">
<h4>Modifier l'utilisateur : <?= $data['user']->pseudo; ?></h4>
<input type="hidden" name="user_id" value="<?= $data['user']->id; ?>">
<div class="row">
<div class="input-f... | mit |
Idrinth/WARAddonClient | src/main/java/darrylbu/util/MenuScroller.java | 18868 | /**
* @(#)MenuScroller.java 1.5.0 04/02/12
* Code taken from https://tips4java.wordpress.com/2009/02/01/menu-scroller/
*/
package darrylbu.util;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListe... | mit |
sdrogers/ms2ldaviz | ms2ldaviz/templates/basicviz/validation.html | 3467 | {% extends 'base.html' %}
{% load static %}
<html>
{% block title %}Experiment: {{experiment.name}}{% endblock %}
{% block body_block %}
<h3>Validation for {{experiment.name}}</h3>
{% if validation_form %}
<p>Enter the probability threshold for document to mass2motif membership</p>
<form id="doc_form" method="post... | mit |
parnurzeal/go-mysite | assets/wedding/index.html | 4845 | <!DOCTYPE html>
<html>
<head>
<title>New Sails App</title>
<!-- Viewport mobile tag for sensible mobile support -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href="dist/css/vendor/bootstrap.min.css" rel="stylesheet">
<link href="dist/css/flat-ui.m... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.07.1-2.0.6/released/8.8.1/geocoq/1.0.1.html | 6587 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>geocoq: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | mit |
sandersky/ember-frost-bunsen | tests/dummy/mirage/config.js | 2271 | import Ember from 'ember'
import config from '../config/environment'
export default function () {
if (config && config.mirageNamespace) {
this.namespace = config.mirageNamespace
}
this.get('/countries', function ({db}, request) {
let search = request.queryParams.p
search = search ? search.replace('... | mit |
wess/Criteria | README.md | 735 | # Criteria
> Criteria is a library for creating objective-c command line tools. A very simple, callback approach to handling arguments and values.
Just include the .h file, in the main or wherever. Add some options and throw a callback in there that will be executed when Criteria hits the defined flags.
## Usage Ex... | mit |
danielmash/matchcoin-wallet | build/moc_walletstack.cpp | 4766 | /****************************************************************************
** Meta object code from reading C++ file 'walletstack.h'
**
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5)
**
** WARNING! All changes made in this file will be lost!
*********************************************************... | mit |
flavio-fernandes/oclock | misc/junk/c++/future3.cpp | 967 |
// ref: http://www.cplusplus.com/reference/future/future/
// future example
#include <iostream> // std::cout
#include <future> // std::async, std::future
#include <chrono> // std::chrono::milliseconds
// a non-optimized way of checking for prime numbers:
bool is_prime (int x) {
for (int i=2; ... | mit |
SoldierVega/SIRSJ1 | application/views/causa/listCausa.php | 5886 | <div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
<h3 class="page-header">Causas</h3>
<div class="form-group" style="width: 100%" >
<div style="width: 40%; float: left;">
<?php
echo "<code><a cla... | mit |
phpcq/phpcq | src/Console/Definition/OptionValue/OptionParamsDefinition.php | 544 | <?php
declare(strict_types=1);
namespace Phpcq\Runner\Console\Definition\OptionValue;
final class OptionParamsDefinition extends OptionValueDefinition
{
/**
* @var array<string,mixed>
*/
private $params;
/** @param array<string,mixed> $params */
public function __construct(bool $required, ... | mit |
gocontrib/nosql | kv/lookup.go | 3434 | package kv
import (
"sort"
"github.com/gocontrib/nosql/q"
)
type lookup struct {
collection *collection
tx Tx
}
func (c lookup) find(f []interface{}) keys {
return c.and(f)
}
func (c lookup) condition(f interface{}) keys {
switch t := f.(type) {
case q.Not:
return emptyKeys
case q.And:
return c... | mit |
omise/omise-go | dispute.go | 463 | package omise
// Dispute represents Omise's dispute object.
// See https://www.omise.co/disputes-api for more information.
type Dispute struct {
Base
Amount int64 `json:"amount"`
Currency string `json:"currency"`
Status DisputeStatus `json:"status"`
Message string ... | mit |
DotMail/Puissant | Puissant/NSString+WhitespaceStripping.h | 389 | //
// NSString+WhitespaceStripping.h
// Puissant
//
// Created by Robert Widmann on 2/2/13.
// Copyright (c) 2013 CodaFi. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSString (WhitespaceStripping)
- (NSString*)stringByTrimmingLeadingWhitespace;
- (NSString*)stringByTrimmingTailingWhitesp... | mit |
LiYouCheng/iOSDesignPattern | LYCAdapterPattern/LYCAdapterPattern/LYCObjectCardAdapter.h | 278 | //
// LYCObjectCardAdapter.h
// LYCAdapterPattern
//
// Created by YouchengLi on 2017/6/22.
// Copyright © 2017年 深圳市齐家互联网科技股份有限公司. All rights reserved.
//
#import "LYCCardAdapter.h"
@interface LYCObjectCardAdapter : LYCCardAdapter
@end
| mit |
gregnordin/micropython_pyboard | 150729_pyboard_to_pyqtgraph/pyboard_code.py | 954 | import micropython
micropython.alloc_emergency_exception_buf(100)
import pyb
import micropython
class Heartbeat(object):
def __init__(self):
self.tick = 0
self.led = pyb.LED(4) # 4 = Blue
tim = pyb.Timer(4)
tim.init(freq=10)
tim.callback(self.heartbeat_cb)
def heart... | mit |
GeniusesOfSymfony/WebSocketBundle | tests/Server/Type/WebSocketServerTest.php | 2570 | <?php declare(strict_types=1);
namespace Gos\Bundle\WebSocketBundle\Tests\Server\Type;
use Gos\Bundle\WebSocketBundle\Event\ServerLaunchedEvent;
use Gos\Bundle\WebSocketBundle\GosWebSocketEvents;
use Gos\Bundle\WebSocketBundle\Server\App\ServerBuilderInterface;
use Gos\Bundle\WebSocketBundle\Server\Type\WebSocketServ... | mit |
nisse3000/pymatgen | docs/pymatgen.cli.pmg_query.html | 4960 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<ti... | mit |
TeamNext/qos.py | qos/__main__.py | 55 | from . import server
import sys
server.main(*sys.argv) | mit |
ThijsWouters/rubyXL | rdoc/RubyXL/BodyProperties.html | 2588 | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>class RubyXL::BodyProperties - rubyXL 3.2.1</title>
<link href="../fonts.css" rel="stylesheet">
<link href="../rdoc.css" rel="stylesheet">
<script type="text/javascript">
var rdoc_rel_prefix = "../";
</script>
<script src="../js/jquery.js"></script>
<sc... | mit |
JamesMilnerUK/Lacuna | ajax/getdataajax.php | 4445 | <?php
//error_reporting(E_ALL);
//ini_set('display_errors', 'On');
ini_set("memory_limit","300M");
set_time_limit(0);
$phpModelName = $_GET["layer"];
function getModel($modelname) {
include "dbconnect.php";
$modelquery = pg_query($db, "SELECT ST_AsText(geom), \"ID\" FROM public.\"$modeln... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.05.0-2.0.6/released/8.7.1+1/topology/8.9.0.html | 7153 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>topology: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | mit |
tobyclemson/msci-project | vendor/mockito-1.8.2/doc/org/mockito/internal/creation/jmock/class-use/SerializableNoOp.html | 6267 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_06) on Sat Dec 12 16:17:59 CET 2009 -->
<TITLE>
Uses of Class org.mockito.internal.creation.jmock.SerializableNoOp (Mockito API)
</TITLE>
<... | mit |
liyiji/LeetCode | 008_Rotate_Image.cpp | 1079 | /*
* Rotate Image
* Total Accepted: 10296 Total Submissions: 33430
*
* You are given an n x n 2D matrix representing an image.
*
* Rotate the image by 90 degrees (clockwise).
*
* Follow up:
* Could you do this in-place?
*/
class Solution
{
public:
void rotate(vector<vector<int> > &matrix)
{
in... | mit |
tdryer/feeder | run.py | 1843 | #!/usr/bin/env python2
"""Hacked-together development server for feedreader.
Runs the feedreader server under the /api prefix, serves URI not containing a
dot public/index.html, servers everything else to public.
"""
import logging
import tornado.ioloop
import tornado.web
from feedreader.config import ConnectionCon... | mit |
andrevdm/CentralConfig | README.md | 3546 | # CentralConfig - Multi-machine configuration manager
## Overview
CentralConfig is a replacement for the built in .net ConfigurationManager. It makes managing multi-machine configurations simple while, from a usability point of view, looking very similar to ConfigurationManager.
## Features
* All confi... | mit |
AlperSakarya/gorevli | templates/gorevli-paneli.html | 581 | {% extends "layout.html" %}
{% block content %}
<div class="container">
<p><h2 class="form-signin-heading" align="center">Branch Admin Panel</h2></p>
<div>
<a href="/iletisimpaneli" class="shadow btn btn-success btn-lg btn-block">SMS Panel</a>
<a href="/aidatpaneli" class="shadow btn btn-succ... | mit |
wczekalski/Distraction-Free-Xcode-plugin | Archived/v1/WCDistractionFreeXcodePlugin/Headers/SharedFrameworks/SpriteKit/SKTurbulenceFieldNode.h | 369 | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <SpriteKit/SKNoiseFieldNode.h>
@interface SKTurbulenceFieldNode : SKNoiseFieldNode
{
}
- (void)encodeWithCoder:(id)arg1;
- (id)initWithCoder:(id)arg1;
- (id)init;
- (void)... | mit |
Hedde/fabric_interface | src/main/urls.py | 179 | __author__ = 'heddevanderheide'
# Django specific
from django.conf.urls import patterns, include, url
urlpatterns = patterns('',
url('', include('fabric_interface.urls'))
) | mit |
meziantou/Meziantou.Framework | src/Meziantou.Framework.Win32.Jobs/Natives/JOBOBJECT_INFO.cs | 2557 | using System.Runtime.InteropServices;
namespace Meziantou.Framework.Win32.Natives;
[StructLayout(LayoutKind.Explicit)]
internal struct JOBOBJECT_INFO
{
[FieldOffset(0)]
public JOBOBJECT_EXTENDED_LIMIT_INFORMATION32 ExtendedLimits32;
[FieldOffset(0)]
public JOBOBJECT_EXTENDED_LIMIT_INFORMATION64 Exten... | mit |
xxd3vin/spp-sdk | tools/viewmaterial/target/run.bat | 72 | cd /d %~dp0
spp.exe --debug --verbose=vfs.debug --mode=1024x768 start.js | mit |
sel-utils/java | src/main/java/sul/protocol/pocket102/play/AddHangingEntity.java | 2186 | /*
* This file was automatically generated by sel-utils and
* released under the MIT License.
*
* License: https://github.com/sel-project/sel-utils/blob/master/LICENSE
* Repository: https://github.com/sel-project/sel-utils
* Generated from https://github.com/sel-project/sel-utils/blob/master/xml/protocol/pocket1... | mit |
tylerbutler/engineer | engineer/_themes/dark_rainbow/templates/theme/post_list.html | 1378 | {% extends 'theme/base.html' %}
{% block header_secondary %}
{# No secondary header. #}
{% endblock %}
{% block section_main_content %}
<div class="posts">
{% for post in post_list %}
{% with listpage = True %}
{% include 'theme/_single_post.html' %}
{% endwith ... | mit |
camoconnell/jasper | js/dist/bower_components/modernizr/feature-detects/css-positionsticky.js | 227 | Modernizr.addTest("csspositionsticky",function(){var e="position:",t="sticky",n=document.createElement("modernizr"),r=n.style;return r.cssText=e+Modernizr._prefixes.join(t+";"+e).slice(0,-e.length),r.position.indexOf(t)!==-1}); | mit |
SoftwareEngineering5c/Biotility | modules/quiz/tests/e2e/quiz.e2e.tests.js | 2664 | 'use strict';
describe('Protractor Demo App', function() {
// it('should add a todo', function() {
// browser.get('https://angularjs.org');
// browser.sleep(5000);
// element(by.model('todoList.todoText')).sendKeys('write first protractor test');
// element(by.css('[value="add"]')).click();
... | mit |
momokowan/momokowan.github.io | author/momoko.html | 11077 | <!DOCTYPE html>
<html>
<head>
<title>MoMoKo.in - momoko |
MoMoKo.in | 丸子家.在内</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="http://MOMOKO.in/theme/css/bootstrap.min.css" type="text/css" ... | mit |
GlaucoGodoi/AspNet-MVC5-Angular | ContactSample/Models/BusinessAreaEnum.cs | 192 | namespace ContactSample.Models
{
public enum BusinessAreaEnum
{
Others = 0,
CallCenter = 1,
PostSales = 2,
PreSales = 3,
Delivery = 4
}
} | mit |
emanuelschuetze/OpenSlides | client/src/app/core/core-services/collectionStringMapper.service.ts | 3031 | import { Injectable } from '@angular/core';
import { ModelConstructor, BaseModel } from '../../shared/models/base/base-model';
import { BaseRepository } from 'app/core/repositories/base-repository';
import { ViewModelConstructor, BaseViewModel } from 'app/site/base/base-view-model';
/**
* Unifies the ModelConstructo... | mit |
adrn/gala | gala/potential/frame/src/cframe.c | 564 | #include "frame/src/cframe.h"
double frame_hamiltonian(CFrameType *fr, double t, double *qp, int n_dim) {
double v = (fr->energy)(t, (fr->parameters), qp, n_dim);
return v;
}
void frame_gradient(CFrameType *fr, double t, double *qp, int n_dim, double *dH) {
(fr->gradient)(t, (fr->parameters), qp, n_dim, d... | mit |
davidecavaliere/angular-file-upload | README.md | 6812 | # Angular File Upload
## v1.2.0
* added grunt watch task. Please use ```grunt watch``` to automatically build angular-file-upload.* files for easier development
* imported ngThumb directive in angularFileUpload moudule
* if ngThumb is used under under a uploader directive then the thumbnails will be blured accor... | mit |
carakas/fork-cms-module-generator | src/PhpGenerator/WidgetName/WidgetNameDataTransferObject.php | 709 | <?php
namespace ModuleGenerator\PhpGenerator\WidgetName;
final class WidgetNameDataTransferObject
{
/** @var string */
public $name;
/** @var WidgetName|null */
private $widgetNameClass;
public function __construct(WidgetName $widgetName = null)
{
$this->widgetNameClass = $widgetName... | mit |
jsmagghe/tcg | src/jeus/QuickstrikeBundle/Entity/Deck.php | 8513 | <?php
namespace jeus\QuickstrikeBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Deck
*
* @ORM\Table(name="quickstrike_deck")
* @ORM\Entity(repositoryClass="jeus\QuickstrikeBundle\Repository\DeckRepository")
*/
class Deck
{
const NOMBRE_CARTE_PAR_DECK = 60;
/**
* @var integer
*
... | mit |
notonthehighstreet/svelte | lib/svelte/version.rb | 81 | # frozen_string_literal: true
module Svelte
# Version
VERSION = '0.3.0'
end
| mit |
yuweijun/learning-programming | linux/greys/core/src/main/java/com/github/ompc/greys/core/Advice.java | 5911 | package com.github.ompc.greys.core;
import com.github.ompc.greys.core.util.AliEagleEyeUtils;
import com.github.ompc.greys.core.util.GaMethod;
import com.github.ompc.greys.core.util.LazyGet;
/**
* 通知点
*/
public final class Advice {
public final ClassLoader loader;
private final LazyGet<Class<?>> clazzRef;
... | mit |
wangyanxing/Demi3D | src/demi/drvGL/DrvGLPlugin.h | 876 | /**********************************************************************
This source file is a part of Demi3D
__ ___ __ __ __
| \|_ |\/|| _)| \
|__/|__| || __)|__/
Copyright (c) 2013-2014 Demi team
https://github.com/wangyanxing/Demi3D
Released under the MIT License
https://github.com/wangyanxing/De... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.10.0-2.0.6/released/8.11.1/persistent-union-find/8.10.0.html | 7058 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>persistent-union-find: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootst... | mit |
lk-architecture/lk-app-back | src/api/index.js | 342 | import convexpress from "convexpress";
import * as config from "config";
const options = {
info: {
title: "lk-app-back",
version: "1.0.2"
},
host: config.HOST
};
export default convexpress(options)
.serveSwagger()
.convroute(require("api/buckets/post"))
.convroute(require("api... | mit |
lucasbrunialti/DataMiningProject | DBSCAN/Parameters.java | 2493 | import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
public class Parameters {
private ArrayList<Point> data = new ArrayList<Point>();
public Parameters(String pat... | mit |
sergi/mime-multipart | test.js | 1995 | var multipart = require('./');
var test = require('tape');
test('produces valid mime multipart archive', function(t) {
t.plan(1);
var content1 = {
content: 'thug',
mime: 'text/upstart-job',
encoding: 'ascii'
};
var content2 = { content: 'life' };
var expected = 'From: nobody Thu Apr 09 2015 14... | mit |
lucionei/chamadotecnico | chamadosTecnicosFinal-app/src/app/equipamentos/form.controller.js | 977 | export default class FormController {
constructor($stateParams, $state, EquipamentoServico, Notification) {
this.record = {}
this.title = 'Adicionando registro'
this._service = EquipamentoServico
if ($stateParams.id) {
this.title = 'Editando registro'
thi... | mit |
prashantvc/Xamarin.iOS-MessageBar | MessageBarUITests/Tests.cs | 2113 | using System;
using System.IO;
using System.Linq;
using NUnit.Framework;
using Xamarin.UITest;
using Xamarin.UITest.iOS;
using Xamarin.UITest.Queries;
namespace MessageBarUITests
{
[TestFixture]
public class Tests
{
iOSApp app;
[SetUp]
public void BeforeEachTest()
{
// TODO: If the iOS app being tested... | mit |
nandes2062/luya | modules/admin/src/aws/FlowActiveWindow.php | 5238 | <?php
namespace luya\admin\aws;
use Yii;
use yii\base\InvalidConfigException;
use Flow\Config;
use Flow\Request;
use Flow\File;
use luya\helpers\FileHelper;
use luya\admin\helpers\Storage;
use luya\admin\ngrest\base\ActiveWindow;
/**
* Flow Uploader ActiveWindow enables multi image upload with chunck ability.
*
*... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.08.1-2.0.5/released/8.7.0/monae/0.2.2.html | 9983 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>monae: Black list 🏴☠️</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.08.1-2.0.5/released/8.13.1/paco/4.1.1.html | 20593 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>paco: 1 m 33 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="st... | mit |
willbryant/attachment_saver | test/schema.rb | 1565 | def add_generic_attachment_columns(t, want_image_columns)
t.string :storage_key, :null => false
t.string :content_type, :null => false
t.integer :size, :null => false
t.datetime :created_at, :null => false
t.datetime :updated_at
t.integer :width, :n... | mit |
gbraad/sensible | apps/node/coffee/web/index.html | 3488 | <!DOCTYPE html>
<html>
<head>
<title>Coffee Maker</title>
<meta name="viewport" content="width=device-width">
<!-- styles -->
<link href="positron/positron.css" type="text/css" rel="stylesheet"></link>
<link href="base.css" type="text/css" rel="stylesheet"></link>
<style>
</style>
<!-- scripts -->
<script src="... | mit |
sayuloveit/rails-hacker-news-jr | hacker_news_jr/db/migrate/20150716211717_create_comment_votes.rb | 267 | class CreateCommentVotes < ActiveRecord::Migration
def change
create_table :comment_votes do |t|
t.boolean :like, null: false
t.integer :user_id, null: false
t.integer :comment_id, null: false
t.timestamps null: false
end
end
end
| mit |
gigobyte/MyToolbox | webapp/scripts/home/header.html | 2470 | <nav class="navbar navbar-darkblue navbar-inverse">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span clas... | mit |
karunasagark/ps | TopCoder-C#/288/p1.cs | 1194 | namespace topCoder
{
using System;
using System.Collections.Generic;
class p1
{
public void foo()
{
string[] sp = Console.ReadLine().Split(' ');
int n = int.Parse(sp[0]);
int m = int.Parse(sp[1]);
int k = int.Parse(sp[2]);
int[] x = new int[k];
int[] y = new int[k];
for (int i = 0; i < k... | mit |
gxcoin/gxcoin | src/src/qt/walletstack.h | 2802 | /*
* Qt4 gxcoin GUI.
*
* W.J. van der Laan 2011-2012
* The Bitcoin Developers 2011-2015
* The Gxcoin Developers 2015
*/
#ifndef WALLETSTACK_H
#define WALLETSTACK_H
#include <QStackedWidget>
#include <QMap>
#include <boost/shared_ptr.hpp>
class GxcoinGUI;
class TransactionTableModel;
class ClientModel;
class Wal... | mit |
mathemage/CompetitiveProgramming | usaco/train.usaco.org/1.2/friday/friday.cpp | 1781 | /* ========================================
ID: mathema6
TASK: friday
LANG: C++11
(...for USACO solutions)
* File Name : friday.cpp
* Creation Date : 03-01-2015
* Last Modified :
* Created By : Karel Ha <mathemage@gmail.com>
* URL : http://cerberus.delosent.com:791/usacoprob2?a=nJinR3Po... | mit |
1wheel/scraping | epa-grants/research/raw/05615.html | 21068 | <!DOCTYPE html>
<!--[if IEMobile 7]><html class="iem7 no-js" lang="en" dir="ltr"><![endif]-->
<!--[if lt IE 7]><html class="lt-ie9 lt-ie8 lt-ie7 no-js" lang="en" dir="ltr"><![endif]-->
<!--[if (IE 7)&(!IEMobile)]><html class="lt-ie9 lt-ie8 no-js" lang="en" dir="ltr"><![endif]-->
<!--[if IE 8]><html class="lt-ie9 no... | mit |
peterblazejewicz/Glimpse.Prototype | src/Glimpse.Server.Core/GlimpseServerOptions.cs | 478 | using System;
using System.Collections.Generic;
using Microsoft.AspNet.Http;
namespace Glimpse.Server
{
public class GlimpseServerOptions
{
public bool AllowRemote { get; set; }
public string BasePath { get; set; }
public Action<IDictionary<string, string>> OverrideResources { get; s... | mit |
Wrdlbrnft/Searchable-RecyclerView-Demo | docs/index.md | 580 |
[](https://travis-ci.org/Wrdlbrnft/Searchable-RecyclerView-Demo)
You can find a walkthrough of how to implement an app with these features [**on Stack Overflow**](http://stackoverflow.com/a/30429439/2310866).
Or if you wan... | mit |
fkenjikamei/fkenjikamei.github.io | _site/students/index.html | 11912 |
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<!-- begin SEO -->
<title>Students - Fernando Kenji Kamei</title>
<meta property="og:locale" content="en-US">
<meta property="og:site_name" content="Fernando Kenji Kamei">
<meta property="og:title" content="Student... | mit |
Horusiath/NWamp | NWamp/Messages/SubscribeMessage.cs | 1512 | using System.Diagnostics;
namespace NWamp.Messages
{
/// <summary>
/// Message class used to subscribe client to Pub/Sub topic.
/// </summary>
[DebuggerDisplay("[{Type}, \"{TopicUri}\"]")]
public class SubscribeMessage : IMessage
{
/// <summary>
/// Initializes a new instance o... | mit |
ye4241/MahApps.Metro | src/MahApps.Metro/Behaviors/TabControlSelectFirstVisibleTabBehavior.cs | 2051 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using Mic... | mit |
Gotatang/DadEngine_2.0 | include/dadengine/core/defines.hpp | 801 | #ifndef __DEFINES_HPP_
#define __DEFINES_HPP_
// Compiler defines
#if defined (_MSC_VER)
#define FORCE_INLINE __forceinline
#elif defined (__GNUG__)
#define FORCE_INLINE __attribute__((always_inline))
#elif defined (__clang__)
#define FORCE_INLINE __forceinline
#endif
// Plateform defines
#if defined(_WIN32) || defin... | mit |
fgrid/iso20022 | StatusAndReason7.go | 580 | package iso20022
// Status and reason of an instructed order.
type StatusAndReason7 struct {
// Status and reason for the transaction.
StatusAndReason *Status2Choice `xml:"StsAndRsn"`
// Details of the transactions reported.
Transaction []*Transaction14 `xml:"Tx,omitempty"`
}
func (s *StatusAndReason7) AddStatu... | mit |
rajohns08/AdamPodTest | AdamPodTest.framework/Headers/AdamPodTest-Swift.h | 5582 | // Generated by Apple Swift version 3.1 (swiftlang-802.0.53 clang-802.0.42)
#pragma clang diagnostic push
#if defined(__has_include) && __has_include(<swift/objc-prologue.h>)
# include <swift/objc-prologue.h>
#endif
#pragma clang diagnostic ignored "-Wauto-import"
#include <objc/NSObject.h>
#include <stdint.h>
#inclu... | mit |
romainneutron/PHPExiftool | lib/PHPExiftool/Driver/Tag/DICOM/DischargeTime.php | 788 | <?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\DICOM;
use JMS\Serializer\Annotation\ExclusionPolicy;
u... | mit |
gregoryv/record-stuff | static/js/recorderjs/recorder.js | 3692 | /*License (MIT)
Copyright © 2013 Matt Diamond
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, modify, merge, publish, ... | mit |
Hanor/UmberGO | index.html | 2944 | <!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>UmberGo</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel... | mit |
cmsd2/quantiles | benches/insert.rs | 585 | #![feature(test)]
extern crate test;
extern crate quantiles;
use self::test::Bencher;
use quantiles::CKMS;
#[bench]
fn bench_sequential_insert(b: &mut Bencher) {
b.iter(|| {
let mut ckms = CKMS::<i64>::new(0.001);
for i in 0..10000 {
ckms.insert(i);
}
ckms.query(0.999... | mit |
mac-adam-chaieb/Isometric-2048 | js/tile.js | 444 | /*****************************************************
*
* Designed and programmed by Mohamed Adam Chaieb.
*
*****************************************************/
/*
Constructs a new tile.
*/
function Tile(position, level) {
this.x = position.x;
this.y = position.y;
this.level = level;
};
/*
Updates the po... | mit |
tomieric/tomieric.github.io | archives/2015/12/index.html | 11515 |
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8" >
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="前端 - 分享园">
<title>归档: 2015/12 - 前端 - 分享园</title>
<meta name="author" content="To... | mit |
Molajo/User | Factories/Authentication/AuthenticationFactoryMethod.php | 9336 | <?php
/**
* Authentication Factory Method
*
* @package Molajo
* @license http://www.opensource.org/licenses/mit-license.html MIT License
* @copyright 2014-2015 Amy Stephen. All rights reserved.
*/
namespace Molajo\Factories\Authentication;
use CommonApi\IoC\FactoryInterface;
use CommonApi\IoC\FactoryBatch... | mit |
nchern/red | main.go | 4910 | package main
import (
"bytes"
"encoding/json"
"flag"
"fmt"
"io"
"io/ioutil"
"net/http"
"os"
"os/exec"
"path"
"time"
"github.com/nchern/red/app"
color "gopkg.in/fatih/color.v1"
)
const (
jsonIndent = " "
filenameBase = "query"
queryFilename = filenameBase + ".red"
outFilename = filenameBase + ... | mit |
ubald/psychic-ui | psychic-ui/applications/SDL2Application.hpp | 2428 | #ifdef WITH_SDL2
#pragma once
#include <SDL.h>
#include "../Window.hpp"
#include "psychic-ui/ApplicationBase.hpp"
#if defined(PSYCHIC_UI_WITH_GLAD)
#if defined(PSYCHIC_UI_SHARED) && !defined(GLAD_GLAPI_EXPORT)
#define GLAD_GLAPI_EXPORT
#endif
#include <glad/glad.h>
#endif
#if defined(ANDROID)
#include <GLES/gl.h>
#... | mit |
getopenmono/pong | encoder.cpp | 1532 | // This software is part of OpenMono, see http://developer.openmono.com
// Released under the MIT license, see LICENSE.txt
#include "encoder.hpp"
#include "constants.hpp"
Encoder::Encoder (PinName pinA, PinName pinB)
:
lastA(0),
lastB(0),
channelA(pinA),
channelB(pinB)
{
#ifndef EMUNO
// Pull up A.
CyPins_... | mit |
s3team/loop | libtracewrap/libtrace/piqi/piqi/doc/piqi.md | 32776 | Overview
--------
Piqi is a universal high-level data definition language.
At the moment, it works with 4 different [data formats](/doc/encodings/)
including JSON, XML, Protocol Buffers and [Piq](/doc/piq/) and has mappings to
[OCaml](/doc/ocaml/), [Erlang](/doc/erlang/) and [Protocol
Buffers](/doc/protobuf/) `.proto... | mit |
cherniavskii/material-ui | packages/material-ui-icons/src/InsertLink.js | 360 | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<g><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-... | mit |
fardus/madrasse-gestion | src/Madrasse/AdminBundle/DependencyInjection/Configuration.php | 883 | <?php
namespace Madrasse\AdminBundle\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://symf... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.12.0-2.0.8/released/8.14.0/paco/2.0.3.html | 7271 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>paco: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel=... | mit |
julienfalque/PHP-CS-Fixer | src/Fixer/Phpdoc/PhpdocNoAccessFixer.php | 896 | <?php
/*
* This file is part of PHP CS Fixer.
*
* (c) Fabien Potencier <fabien@symfony.com>
* Dariusz Rumiński <dariusz.ruminski@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace PhpCsFixer\Fixer\Phpdoc;
use PhpCsFixer\... | mit |
yannisgu/capercali | src/Capercali.Entities/Runner.cs | 633 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Capercali.Entities
{
public class Runner : IEntity
{
public long Id
{
get;
set;
}
public string FirstName { get; set; }
... | mit |
ThatRickGuy/WMATC | WMATC/Models/Player.cs | 953 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Globalization;
using System.Web.Mvc;
namespace WMATC.Models
{
public class Player
{
[Required]
[Key... | mit |
robolectric/robolectric.github.io | javadoc/3.4/org/robolectric/internal/MavenManifestFactory.html | 12041 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_112-google-v7) on Fri Jul 21 13:02:30 PDT 2017 -->
<title>MavenManifestFactory</title>
<meta name="date" content="2017-07-21">
<link rel="style... | mit |
Kianoosh76/webelopers-scoreboard | jury/models.py | 3183 | from random import randint
from django.conf import settings
from django.contrib.auth.models import User
from django.db import models, connection
from django.db.models.aggregates import Avg, Max
from polymorphic.models import PolymorphicModel
from solo.models import SingletonModel
class Judge(PolymorphicModel):
n... | mit |
hristo-vrigazov/behavioral-cloning | README.md | 2880 | # Behavioral cloning
Teaching Self driving car how to steer in a simulator
## Deriving and designing model
An abstraction of pipeline is created in the model.py
This allowed me to quickly switch between different architectures.
Initially, I tried Nvidia's model:
https://images.nvidia.com/content/tegra/automotive/im... | mit |
diggzhang/diggzhang.github.io | _posts/2017-07-31-superset-developing-new-visiualization.md | 11893 | ---
layout: post
title: "superset开发自定义视图"
subtitle: "so hard...or so easy..."
date: 2017-07-31
author: "diggzhang"
header-img: "img/post-bg-unix-linux.jpg"
category: superset
tags:
- superset
---
## 问题
superset部署好后,我们希望增加一个自定义的视图进去,很明显找不到一个教程去讲这块,官方提供了一个`example issue`:
> Q: How do I go abou... | mit |
maschel/LCADeviceRoomba | src/main/java/com/maschel/lcadevice/roomba/Simulator/RoombaDeviceSimulator.java | 8709 | /*
* LCADeviceRoomba
*
* MIT License
*
* Copyright (c) 2016
*
* Geoffrey Mastenbroek, geoffrey.mastenbroek@student.hu.nl
* Feiko Wielsma, feiko.wielsma@student.hu.nl
* Robbin van den Berg, robbin.vandenberg@student.hu.nl
* Arnoud den Haring, arnoud.denharing@student.hu.nl
*
* Permission is hereby gr... | mit |
sunknight/sealtalk-ios | ios-rongimdemo/RCloudMessage/RCDGroupTableViewCell.h | 718 | //
// RCDGroupTableViewCell.h
// RCloudMessage
//
// Created by 杜立召 on 15/3/19.
// Copyright (c) 2015年 RongCloud. All rights reserved.
//
#import <UIKit/UIKit.h>
@class RCDGroupInfo;
@interface RCDGroupTableViewCell : UITableViewCell
/**
*
* @return cell高度
*/
+ (CGFloat)cellHeight;
/**
* 给控件填充数据
*
* @p... | mit |
gonmator/busplan | busplan/line.hpp | 1470 | #pragma once
#ifndef LINE_HPP
#define LINE_HPP
#include <initializer_list>
#include <map>
#include <string>
#include <vector>
#include "route.hpp"
using RouteName = std::string;
using RouteNames = std::vector<RouteName>;
using StepsByRoute = std::pair<RouteName, Steps>;
using StepsRoutes = std::vector<StepsByRoute>;... | mit |
sunbeamChen/SunbeamLatestAFService | SunbeamLatestAFService-0.1.19/ios/SunbeamLatestAFService.framework/Versions/A/Headers/SLAFServiceProperty.h | 1481 | //
// SLAFServiceProperty.h
// Pods
//
// Created by sunbeam on 2016/12/22.
//
//
#ifndef SLAFServiceProperty_h
#define SLAFServiceProperty_h
// API请求类型
typedef enum : NSUInteger {
GET = 0, // get
POST = 1, // post
DOWNLOAD = 2, // 下载
UPLOAD = 3, // 上传
} SLAF_REQU... | mit |
razzaghi/NAD | src/NAD/ResourceBundle/Request/ParamConverter.php | 5072 | <?php
/*
* This file is part of the NAD package.
*
* (c) Ivan Proskuryakov
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NAD\ResourceBundle\Request;
use FOS\RestBundle\Request\RequestBodyParamConverter;
use JMS\Seria... | mit |