repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
fstrozzi/gbs_demultiplexer | README.md | 82 | GBS Demultiplexer
=================
Custom GBS Demultiplexer for Illumina reads
| mit |
richtermark/SMEAGOnline | src/Biz/File/Service/Impl/LocalFileImplementorImpl.php | 8475 | <?php
namespace Biz\File\Service\Impl;
use Biz\BaseService;
use Biz\File\Dao\UploadFileDao;
use Biz\File\Service\FileImplementor;
use AppBundle\Common\FileToolkit;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Biz\User\Service\UserService;
class LocalFileImplementorImpl extends BaseService implements F... | mit |
xu42/Python | myWirelessRouter/myWirelessRouter.py | 2628 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
'''
File name: myWirelessRouter.py
Author: xu42 <https://github.com/xu42>
Date created: 04/04/2016
Python Version: 3.5
监测某台无线设备是否接入路由器, 同时猜解当前任务
适用于 Mercury MW310R 型号的无线路由器
'''
import http.client
import base64
import re
import time
# 配置参数
# url: 路由器后台登陆地址
# port... | mit |
orchestral/foundation | src/Http/Controllers/UsersController.php | 7310 | <?php
namespace Orchestra\Foundation\Http\Controllers;
use Illuminate\Http\Request;
use Orchestra\Contracts\Foundation\Listener\Account\UserCreator;
use Orchestra\Contracts\Foundation\Listener\Account\UserRemover;
use Orchestra\Contracts\Foundation\Listener\Account\UserUpdater;
use Orchestra\Contracts\Foundation\List... | mit |
DigitPaint/html_mockup | lib/html_mockup/w3c_validator.rb | 3595 | require 'cgi'
require 'net/http'
require 'uri'
require 'yaml'
module HtmlMockup
class W3CValidator
ValidationUri = "http://validator.w3.org/check"
class RequestError < StandardError; end
attr_reader :valid,:response,:errors,:warnings,:status
class << self
def validation_uri
... | mit |
mrts/foodbank-campaign | src/locations/urls.py | 125 | from django.urls import path
from . import views
urlpatterns = [
path('overview/', views.overview, name='overview'),
]
| mit |
cryzed/The-Interface-Series-e-book | parts/_9MOTHER9HORSE9EYES9/d2en7bz.html | 5005 | <div class="md"><p>Encasement was certainly not something we were expecting. It really changed our whole perspective on what exactly was occurring. We thought that the <em>flesh interfaces</em> were just like pipes that went from one location to another, perhaps extradimensionally or by some other "magic." Bu... | mit |
stevebauman/maintenance | app/Http/Controllers/Asset/ManualController.php | 5254 | <?php
namespace App\Http\Controllers\Asset;
use App\Http\Controllers\Controller as BaseController;
use App\Http\Requests\Asset\ManualRequest;
use App\Http\Requests\AttachmentUpdateRequest;
use App\Repositories\Asset\ManualRepository;
use App\Repositories\Asset\Repository as AssetRepository;
class ManualController ex... | mit |
MicrosoftLearning/20487-DevelopingWindowsAzureAndWebServices | Allfiles/20487C/Mod08/DemoFiles/WebConfigTransformations/end/WebConfigTransformations/App_Start/TraceConfig.cs | 1429 | using System;
using System.Web.Http;
using System.Web.Http.Tracing;
namespace WebConfigTransformations
{
// TODO: To enable tracing in your application, please add the following line of code
// to your startup code (WebApiConfig.cs or Global.asax.cs in an MVC 4 project):
// TraceConfig.Register(config... | mit |
iAklis/teoca | EXP3/isim/TEST_isim_beh.exe.sim/work/m_00000000002550268797_0664496283.c | 12937 | /**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ ... | mit |
topcoin/topcoin | src/qt/askpassphrasedialog.cpp | 8937 | #include "askpassphrasedialog.h"
#include "ui_askpassphrasedialog.h"
#include "guiconstants.h"
#include "walletmodel.h"
#include <QMessageBox>
#include <QPushButton>
#include <QKeyEvent>
AskPassphraseDialog::AskPassphraseDialog(Mode mode, QWidget *parent) :
QDialog(parent),
ui(new Ui::AskPassphraseDialog),
... | mit |
developit/preact | demo/mobx.js | 1434 | import React, { createElement, forwardRef, useRef, useState } from 'react';
import { decorate, observable } from 'mobx';
import { observer, useObserver } from 'mobx-react';
import 'mobx-react-lite/batchingForReactDom';
class Todo {
constructor() {
this.id = Math.random();
this.title = 'initial';
this.finished =... | mit |
Smolations/more-dash-docsets | docsets/ATG 10.2.docset/Contents/Resources/Documents/atg/search/routing/command/search/TraceExpression.html | 22408 | <!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_24) on Mon Apr 01 21:56:39 EDT 2013 -->
<TITLE>
TraceExpression (ATG Java API)
</TITLE>
<META NAME="date" CONTENT="2013-04-01">
<LINK REL ="stylesh... | mit |
Vabrins/CadernetaDoIdoso | database/migrations/2017_08_23_025525_create_persons_references_table.php | 1549 | <?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePersonsReferencesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('perso... | mit |
JuliaInv/jInv.jl | test/Mesh/testDiffOps.jl | 730 | using jInv.Mesh
using Test
# setup 3D problem
nc = [5, 7, 8]
x0 = rand(3)
domain = [x0[1], 4, x0[2], 2, x0[3], 6]
h = (domain[2:2:end]-domain[1:2:end])./nc
h1 = h[1]*ones(nc[1])
h2 = h[2]*ones(nc[2])
h3 = h[3]*ones(nc[3])
Mt = getTensorMesh3D(h1,h2,h3,x0)
Mr = getRegularMesh(domain,nc)
Mt2 = getTensorMesh3D(h1+r... | mit |
ShaneKilkelly/YesodExample | casper/loginTest.js | 916 | // Test logging in
casper.test.comment('Test logging in');
casper.start('http://localhost:3000/', function() {
this.clickLabel('Login', 'a');
this.then(function() {
this.test.assertExists('form', 'login form exists');
this.test.assertUrlMatch('http://localhost:3000/auth/login');
this.... | mit |
voidabhi/reddy | ShortUrl.php | 942 | <?php
function shorten($url, $qr=NULL){
if(function_exists('curl_init')){
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, 'http://goo.gl/api/shorten');
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, 'security_token=null&url='.urlencode($url));
$r... | mit |
hardsky/music-head | web/Track.aspx.cs | 6295 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Jam;
using MySql.Data.MySqlClient;
using System.Web.UI.HtmlControls;
public partial class Track : JamPage
{
public Track()
{
m_Code = 22;
}
private ... | mit |
prateekgv/prateekgv.github.io | research/index.md | 1255 | ---
layout: single
author_profile: true
comments: false
title: false
---
### Overview
My research deals with mathematical modeling of complex systems and statistical signal processing, for information inference and decision making. A detailed list of my ongoing and past research projects are listed below.
#### Calic... | mit |
jenkins-khan/Jenkins-Khan | plugins/sfPropelORMPlugin/lib/generator/sfPropelFormFilterGenerator.class.php | 10039 | <?php
/*
* This file is part of the symfony package.
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Propel filter form generator.
*
* This class generates a P... | mit |
v8-dox/v8-dox.github.io | d7b81b5/html/classv8_1_1Symbol.html | 60662 | <!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 |
kuhlenh/port-to-core | Reports/se/secureblackbox.12.0.272/SecureBlackbox.PGPTLS.Async-windowsphone8.html | 9669 |
<!DOCTYPE html>
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="PortabilityAnalysis0">.NET Portability Report</title>
<style>
... | mit |
tobya/wageminder | clockin/js/my-app.js | 5892 | // Initialize your app
var myApp = new Framework7({
cache: false,
});
// Export selectors engine
var $$ = Dom7;
// Add views
var leftView = myApp.addView('.view-left', {
// Because we use fixed-through navbar we can enable dynamic navbar
dynamicNavbar: true
,ignoreCache : true
});
var mainView = myApp... | mit |
nhatthienlongdaihiep/tkkd_xungba | static/xungba/css/lathinh.css | 4069 | @import url(http://weloveiconfonts.com/api/?family=Arial);
/* brandico */
[class*="brandico-"]:before {
font-family: 'Arial', sans-serif;
}
* {
box-sizing: border-box;
}
html, body {
height: 100%;
}
.wrap {
position: relative;
height: 88%;
min-height: 500px;
padding:0px 0 20px;
width:90%;
margin:0 ... | mit |
totallylegitbiz/totallylegitcoin | doc/README.md | 1690 | Bitcoin 0.8.6 BETA
====================
Copyright (c) 2009-2013 Bitcoin Developers
Distributed under the MIT/X11 software license, see the accompanying
file COPYING or http://www.opensource.org/licenses/mit-license.php.
This product includes software developed by the OpenSSL Project for use in the [OpenSSL Toolkit](h... | mit |
datamade/elpc_bakken | ocr_extracted/W29196_text/page74.html | 1620 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>W29196_text</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div style="margin-left: auto; margin-right: auto; width: 800px; overflow: hidden;">
... | mit |
gpawru/furry-framework-database | Tests/QueryBuilder/PostgreSQL/Table.php | 861 | <?php
namespace Tests\QueryBuilder\PostgreSQL;
use Furry\Database;
trait Table
{
/**
* @dataProvider tableNameProvider
*
* @param $tableName
* @param $expected
*/
public function testTable($tableName, $expected)
{
/** @var Database $db */
$db = $this->db;
... | mit |
interagent/committee | test/drivers/open_api_2/parameter_schema_builder_test.rb | 5146 | # frozen_string_literal: true
require "test_helper"
describe Committee::Drivers::OpenAPI2::ParameterSchemaBuilder do
before do
end
it "reflects a basic type into a schema" do
data = {
"parameters" => [
{
"name" => "limit",
"type" => "integer",
}
]
}
s... | mit |
hubertokf/lupsEdgeServer | projects/old_files/moduleOfRules/testesched.py | 613 | from schedulerEdge import SchedulerEdge
import time
if __name__ == '__main__':
#scheduler = BackgroundScheduler()
#scheduler.add_job(tick, 'cron', second = '5,10',minute = '40' , id = "12")
#scheduler.start()
#while True:
# time.sleep(1)
test_sched = SchedulerEdge()
#test_sched.add_job(3... | mit |
klyngen/HUGO-portfolio-tema | layouts/section/design.html | 618 | <!DOCTYPE html>
<html>
{{ partial "header.html" .}}
<body>
{{ partial "nav.html" .}}
<script type="text/javascript">setActive("design");</script>
<div class="postliste">
<div class="container">
{{- range .Data.Pages }}
<div class="bildebe">
<a href="{{ .Permalink }}">
... | mit |
wmira/react-icons-kit | src/md/ic_system_update.js | 324 | export const ic_system_update = {"viewBox":"0 0 24 24","children":[{"name":"path","attribs":{"d":"M0 0h24v24H0z","fill":"none"},"children":[]},{"name":"path","attribs":{"d":"M17 1.01L7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14zm-1-6h-3V8h-2v5H8l4 4 4-4z"},"children":[]... | mit |
GerHobbelt/jison | web/jison/states.html | 4070 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Jison, parse table visualation page</title>
<script src="http://explorercanvas.googlecode.com/svn-history/r48/tags/m3/excanvas.compiled.js"></script>
<script src="http://github.com/zaach/jison/... | mit |
ucam-cl-dtg/scooter | app/js/app/services/SnippetLoader.js | 1288 | define(["app/helpers"], function(helpers) {
return ["$http", function($http) {
// This is a constructor function for the singleton SnippetLoader service. It will be called exactly once by the AngularJS Dependecy Injector.
this.loadContentTemplate = function(contentType) {
return new Promise(function(resol... | mit |
zzir/white | init_db.py | 493 | import os.path
import sqlite3
from config import CONFIG
def init_db():
"""初始化数据库"""
f = os.path.exists(CONFIG['DB_FILE'])
if f:
print("数据库文件存在...")
with open(CONFIG['SQL_SCRIPT_FILE'], 'r', encoding='utf8') as f:
file_content = f.read()
con = sqlite3.connect(CONFIG['DB_FILE'])
... | mit |
stonneau/Celerity | Sources/Assets/OpenRelativity/SpeedSynchro.cs | 385 | using UnityEngine;
using System.Collections;
public class SpeedSynchro : MonoBehaviour {
private VelocityFPC vfpc;
private RelativisticObject obj;
// Use this for initialization
void Start () {
vfpc = this.GetComponent<VelocityFPC>();
obj = this.GetComponent<RelativisticObject>();
}
// Update is called... | mit |
beef/Subscribers | generators/subscribers_migration/templates/migration.rb | 237 | class CreateSubscribers < ActiveRecord::Migration
def self.up
create_table :subscribers do |t|
t.string :name
t.string :email
t.timestamps
end
end
def self.down
drop_table :subscribers
end
end
| mit |
alicoding/nimble | src/language/CSSUtils.js | 60267 | /*
* Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved.
*
* 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 ri... | mit |
apps-libX/myapp | angular/app/app/home/home.js | 131 | (function(){
"use strict";
angular.module('app.controllers').controller('HomeCtrl', function(){
//
});
})();
| mit |
rafd75/ACBr.Net.NFSe | src/ACBr.Net.NFSe.Shared/Nota/TipoRps.cs | 1736 | // ***********************************************************************
// Assembly : ACBr.Net.NFSe
// Author : RFTD
// Created : 05-19-2016
//
// Last Modified By : RFTD
// Last Modified On : 05-19-2016
// ***********************************************************************
// <copyrig... | mit |
yejingfu/multithread | src/worker.cc | 4222 | #include "worker.h"
#include "sharedbuffer.h"
#include "nan.h"
#include "util.h"
using namespace v8;
static Persistent<ObjectTemplate> worker_template;
static Persistent<String> id_symbol;
NAN_METHOD(Eval) {
NanScope();
NanReturnUndefined();
}
Worker::Worker() {
m_error = 0;
}
Worker::~Worker() {
}
//stati... | mit |
imrenagi/rojak-web-frontend | CONTRIBUTING.md | 3805 | # Contributing
When contributing to this repository, please proactively ask any unclear details
about the project and issue.
Please note we have a code of conduct, please follow it in all your interactions with the project.
## Pull Request Process
1. Ensure any install or build dependencies are removed before the e... | mit |
bstavroulakis/polymer-dashboard | app/css/skins/default/color-vars.css | 644 | <style is="custom-style">/* Included Color Vars */
* {
--primary-color-dark: #303F9F;
--primary-color: #3F51B5;
--primary-color-light: #C5CAE9;
--primary-color-highlight: #edf4fd;
--primary-color-text: #FFFFFF;
--accent-color: #8BC34A;
--primary-text-color: #212121;
--secondary-text-color: #727272;
--... | mit |
desparoz/desparoz.github.io | _posts/2017-04-01-t848028483527880704.md | 254 | ---
layout: post
microblog: true
date: 2017-04-01 07:25 +0300
guid: http://desparoz.micro.blog/2017/04/01/t848028483527880704.html
---
Split the Universe via NASA [t.co/jMP6ereKo...](https://t.co/jMP6ereKoI) [t.co/nMK4UEvwx...](https://t.co/nMK4UEvwxu)
| mit |
xianjunzhengbackup/code | data science/machine_learning_for_the_web/chapter_4/movie/17880.html | 5171 | <HTML><HEAD>
<TITLE>Review for Underground Comedy Movie, The (1999)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0201290">Underground Comedy Movie, The (1999)</A></H1><H3 ALIGN=CENTER>reviewed by<BR... | mit |
jleo2255/c_challenges | Pookie.DayTime.Client/Pookie.DayTime.Client/stdafx.cpp | 300 | // stdafx.cpp : source file that includes just the standard includes
// Pookie.DayTime.Client.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| mit |
zhuzhenpeng/MyDict | mydict.sh | 102 | #!/usr/bin/env bash
WORKING_DIR=/your/path/to/MyDict
PYTHON=python3
${PYTHON} ${WORKING_DIR}/main.py
| mit |
alesaccoia/asutilities | thirdparty/fdk-aac/libAACdec/src/block.cpp | 26810 |
/* -----------------------------------------------------------------------------------------------------------
Software License for The Fraunhofer FDK AAC Codec Library for Android
© Copyright 1995 - 2013 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V.
All rights reserved.
1. INTRODUCTION... | mit |
EmanueleCannizzaro/scons | test/scons-time/mem/stage.py | 2679 | #!/usr/bin/env python
#
# Copyright (c) 2001 - 2016 The SCons Foundation
#
# 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 us... | mit |
aarvee11/ProjectHoneyPotTool | checkip.sh | 1998 | #!/bin/bash
# Script to provide IP Address score as per projecthoneypot
# Input your HTTP:bl API Key from the site in the "KEY" field below:
KEY='';
SUFFIX="dnsbl.httpbl.org";
echo "Enter IP Address:";
read IPADDRESS;
REVERSEIP=$(echo "$IPADDRESS" | awk -F. '{print $4"."$3"."$2"."$1}');
RESULT=$(eval $echo "dig +short... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.08.1-2.0.5/released/8.7.1+1/ext-lib/0.11.6.html | 6826 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ext-lib: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.02.3-2.0.6/released/8.6/dijkstra/0.1.0.html | 7339 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>dijkstra: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.09.1-2.0.6/released/8.10.1/corn/1.0.0.html | 6265 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>corn: Not compatible 👼</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.07.1-2.0.6/released/8.10.0/hammer/1.3.2+8.14.html | 7174 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>hammer: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.09.1-2.0.6/released/8.7.1/disel-examples/2.2.html | 7765 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>disel-examples: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.... | mit |
Ico093/TelerikAcademy | C#1/Homework/6.Loops/6.Loops/2.NotDevisableBy3And7/Properties/AssemblyInfo.cs | 1418 | 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("2.... | mit |
JeffCyr/clrmd | src/Microsoft.Diagnostics.Runtime.Tests/Helpers.cs | 3242 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Diagnostics.Runtime.Utilities;
using System.IO;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using Microsoft.CSharp;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using Microsoft.... | mit |
MohammedAttya2/blog | README.md | 49 | # blog
Learning PHP and MySQL by creating a blog
| mit |
juhnowski/interactivefishing | httpdocs/ch8/game-model-viewer.html | 7238 | <!DOCTYPE html>
<html>
<head>
<title>Game - Model Previewer</title>
<link href="../css/webglbook.css" rel="stylesheet" />
<link href="game-model-viewer.css" rel="stylesheet" />
<script src="../libs/Three.js"></script>
<script src="../libs/jquery-1.6.4.js"></script>
<script src="../libs/jquery.mousewheel.js">... | mit |
gxm/soccer-visuals | web/js-lib/packages.js | 1109 | (function() {
packages = {
// Lazily construct the package hierarchy from class names.
root: function(classes) {
var map = {};
function find(name, data) {
var node = map[name], i;
if (!node) {
node = map[name] = data || {name: name, children: []};
if (name.length) {
node.parent = fi... | mit |
glsignal/neoid | spec/neoid/relationship_spec.rb | 2983 | require 'spec_helper'
describe Neoid::Relationship do
let(:user) { User.create!(name: "Elad Ossadon", slug: "elado") }
let(:movie) { Movie.create!(name: "Memento", slug: "memento-1999", year: 1999) }
it "should call neo_save after relationship model creation" do
Like.any_instance.should_receive(:neo_save)... | mit |
andrewschaaf/MacLogger | MacLogger/FrontWindowSignal.h | 365 |
#import <Cocoa/Cocoa.h>
#import "Signal.h"
@interface FrontWindowSignal : Signal {
NSString *lastJson;
}
+ (NSString*)findDocUrl:(AXUIElementRef)window;
+ (NSString*)findWebUrl:(AXUIElementRef)window;
+ (AXUIElementRef)findMainWindowOfApp:(AXUIElementRef)appElem;
+ (NSArray*)findDescentantsOf:(AXUIElementRef)elem... | mit |
aggiedefenders/aggiedefenders.github.io | node_modules/react-big-calendar/lib/EventRow.js | 2891 | 'use strict';
exports.__esModule = true;
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var _propTypes = r... | mit |
intesso/brify | index.js | 82 | module.exports = function brify (text) {
return text.replace(/\n/g, '<br/>');
}; | mit |
jordanbrauer/unit-converter | docs/classes/UnitConverter-Unit-Family-SiSubmultipleUnit.html | 9498 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Documentation</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="../">
<link rel="icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/normalize.css">
<link rel="styles... | mit |
coq-bench/coq-bench.github.io-old | clean/Linux-x86_64-4.02.1-1.2.0/unstable/8.4.5/contrib:railroad-crossing/8.4.dev/2014-11-19_16-22-58.html | 8416 | <!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 |
blackbird07/blackbird07.github.io | _drafts/圣地巡礼:马修·斯卡德的纽约.md | 3592 | ---
layout: post
title: 圣地巡礼:马修·斯卡德 的纽约
categories: [旅行随笔]
<!---->tags: [random thoughts]
comments: true
---
<br>
在世界的中心,我想起的却是一个酗酒无证的孤独私家侦探。
前段时间在纽约待了几天,本来也没什么计划,只是在曼哈顿街头游荡,看过了各种博物馆和演出,就不知道该做什么。然后就想到,去找一下 Matthew 生活的地方吧。
主要依据是 Lawrence Block 自己作的这个guide: http://www.mulhollandbooks.com/2011/05/13/searching-new-... | mit |
cherniavskii/material-ui | packages/material-ui-icons/src/Keyboard.js | 387 | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<g><path d="M20 5H4c-1.1 0-1.99.9-1.99 2L2 17c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-9 3h2v2h-2V8zm0 3h2v2h-2v-2zM8 8h2v2H8V8zm0 3h2v2H8v-2zm-1 2H5v-2h2v2zm0-3H5V8h2v2zm9 7H8v-2h8v2zm0-4h-2v-2h2v2z... | mit |
Janenerim/dam-2015 | XHTML/EJ07/css/main.css | 479 | /*-- Básico ----------------------------------------------------------*/
ul, ul li { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, form { margin: 0; padding: 0; }
.clear { clear: both; }
img { border: none; }
/*--clear de floats*/
.clearfix:before, .clearfix:after{
content:"";
display: table;
}
.c... | mit |
wjagodfrey/spaceJoust | doc/class/TestExportClass.html | 2393 | <!DOCTYPE html>
<html>
<head>
<meta charset='UTF-8'>
<title>Space Joust Docs</title>
<script src='../javascript/application.js'></script>
<script src='../javascript/search.js'></script>
<link rel='stylesheet' href='../stylesheets/application.css' type='text/css'>
</head>
<body>
<div id='base' data-pat... | mit |
briehl/narrative-test | scripts/prepare_deploy_cfg.py | 2057 | import sys
import os
import os.path
from jinja2 import Template
from configparser import ConfigParser
import io
if __name__ == "__main__":
if len(sys.argv) != 3:
print("Usage: <program> <deploy_cfg_template_file> <file_with_properties>")
print("Properties from <file_with_properties> will be applied... | mit |
bespalovdn/asterisk-scala | agi/src/main/scala/com/github/bespalovdn/asteriskscala/agi/AgiServerActor.scala | 2063 | package com.github.bespalovdn.asteriskscala.agi
import java.net.InetSocketAddress
import akka.actor.Actor
import com.github.bespalovdn.asteriskscala.agi.execution.AsyncAction
import com.github.bespalovdn.asteriskscala.agi.handler.AgiRequestHandlerFactory
import com.github.bespalovdn.scalalog.StaticLogger
import scal... | mit |
OSURoboticsClub/aerial_control | variants/platforms/stm32f4discovery/pwm_platform.cpp | 844 | #include "variant/pwm_platform.hpp"
#include "hal.h"
static const PWMConfig MOTOR_PWM_CONFIG {
500000, // 500 kHz PWM clock frequency.
1000, // PWM period 2.0 ms.
NULL, // No callback.
{
{PWM_OUTPUT_ACTIVE_HIGH, NULL},
{PWM_OUTPUT_ACTIVE_HIGH, NULL},
{PWM_OUTPUT_ACTIVE_HIGH, NULL},
... | mit |
thomsmits/markdown-tools | mdc/lib/messages.rb | 417 | require 'yaml'
$messages = YAML.load_file(File.dirname(__FILE__) + '/messages.yml')
$language = 'en'
public
##
# Translate the given key with the default language
# @param [Symbol|String] key the key
# @return the translated text
def translate(key)
$messages[$language][key.to_s]
end
##
# Set the language to be us... | mit |
spopovic14/cedeum_final | app/DoctrineMigrations/Version20170318145737.php | 1122 | <?php
namespace Application\Migrations;
use Doctrine\DBAL\Migrations\AbstractMigration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
class Version20170318145737 extends AbstractMigration
{
/**
* @param Schema $schema
*/
public function up(Schema... | mit |
tlksio/libtlks | lib/talk.js | 19184 | var MongoClient = require('mongodb').MongoClient;
/**
* Count the number of talks in the database
*
* @param {string} dburl Database url string.
* @param {function} callback Callback function to execute with results.
*/
function count(dburl, callback) {
'use strict';
MongoClient.connect(dburl, functi... | mit |
tablexi/nucore-open | db/migrate/20140320184445_convert_external_service_receiver_data.rb | 570 | # frozen_string_literal: true
class ConvertExternalServiceReceiverData < ActiveRecord::Migration[4.2]
def up
ExternalServiceReceiver.find_each do |receiver|
show_url = receiver.response_data
new_data = { show_url: show_url, edit_url: "#{show_url}/take" }
receiver.update_attribute :response_dat... | mit |
kovleventer/FoD | src/player/unitinventoryhandler.cpp | 1049 | #include "unitinventoryhandler.h"
/*!
* @author kovlev
*/
bool UnitInventoryHandler::matches(UnitType unitType, ItemType itemType) {
switch (unitType) {
case UnitType::FIGHTER:
return (itemType == ItemType::MELEE ||
itemType == ItemType::SHIELD ||
itemType == ItemType::ARMOR ||
itemType == ItemTyp... | mit |
Damnae/osu | osu.Game/Rulesets/Timing/ScrollingContainer.cs | 3838 | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Linq;
using osu.Framework.Caching;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Cont... | mit |
mclark/rubocop | lib/rubocop/cop/layout/align_array.rb | 456 | # frozen_string_literal: true
module RuboCop
module Cop
module Layout
# Here we check if the elements of a multi-line array literal are
# aligned.
class AlignArray < Cop
include AutocorrectAlignment
MSG = 'Align the elements of an array literal if they span more ' \
... | mit |
pocesar/docstrap | bower_components/sunlight/tests/test-sln.html | 3008 | <html>
<head>
<script type="text/javascript" src="../src/sunlight.js"></script>
<script type="text/javascript" src="../src/lang/sunlight.sln.js"></script>
<link rel="stylesheet" type="text/css" href="../src/themes/sunlight.default.css" />
</head>
<body>
<pre id="code" class="sunlight-highlight-sln">Microsoft... | mit |
atomoc/nodebb-plugin-sso-vk | README.md | 403 | # NodeBB VKontakte SSO
NodeBB Plugin that allows users to login/register via their Vkontakte account.
## Installation
npm install nodebb-plugin-sso-vk
## Configuration
1. Create a **VKontakte OAuth Client** via the [API Console](http://vk.com/dev)
2. Locate your Client ID and Password
3. The appropriate "... | mit |
nimdavtanke/www | moon.nimda.pro/intl/en/about/careers/locations/seoul/index.html | 27103 | <!DOCTYPE html>
<html class="google" lang="en">
<head>
<script>
(function(H){H.className=H.className.replace(/\bgoogle\b/,'google-js')})(document.documentElement)
</script>
<meta charset="utf-8">
<meta content="initial-scale=1, minimum-scale=1, width=device-width" name="viewport">
<meta conte... | mit |
shiva/shiva.github.io | 2013/05/13/inky-obsessions/index.html | 3341 | <!DOCTYPE html>
<html lang="en"><meta charset="utf-8" />
<title>Inky obsessions - Reflections</title>
<meta name="description" content="Default Page Description" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesh... | mit |
alexmsmartins/GraphDHT | neo4j/kernel-1.0/src/main/java/org/neo4j/graphdb/PropertyContainer.java | 6071 | /*
* Copyright (c) 2002-2010 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Softwa... | mit |
fr0wsTyl/TelerikAcademy-2015 | Telerik - C# 1/HOMEWORK - loops/Problem 8. Catalan Numbers/Properties/AssemblyInfo.cs | 1428 | 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("Pr... | mit |
Boddlnagg/winapi-rs | lib/mincore_downlevel/README.md | 308 | # mincore_downlevel #
Contains function definitions for the Windows API library mincore_downlevel. See winapi for types and constants.
```toml
[dependencies]
mincore_downlevel-sys = "0.0.1"
```
```rust
extern crate mincore_downlevel;
```
[Documentation](https://retep998.github.io/doc/mincore_downlevel/)
| mit |
hperala/kontuwikibot | pywikibot/data/wikidataquery.py | 16312 | # -*- coding: utf-8 -*-
"""Objects representing WikidataQuery query syntax and API."""
#
# (C) Pywikibot team, 2013
#
# Distributed under the terms of the MIT license.
from __future__ import unicode_literals
import json
import sys
if sys.version_info[0] > 2:
from urllib.parse import quote
basestring = (str, )... | mit |
yevgeniy-logachev/QtAdMob | QtAdMobBannerDummy.h | 1286 | #ifndef QTADMOBBANNERDUMMY_H
#define QTADMOBBANNERDUMMY_H
#include "IQtAdMobBanner.h"
class QtAdMobBannerDummy : public IQtAdMobBanner
{
public:
QtAdMobBannerDummy();
virtual ~QtAdMobBannerDummy();
/*
* Configure banner id
*/
virtual void setUnitId(const QString& unitId);
/*
* Ret... | mit |
wilseypa/warped2 | src/FileStream.cpp | 6479 | #include "FileStream.hpp"
#include <cstring>
namespace warped {
//////////////////////////////// Constructors ///////////////////////////////////////////}
FileStream::FileStream(const std::string& filename, std::ios_base::openmode mode) {
fstream_.open(filename, mode);
}
FileStream::FileStream (FileStream&& x)... | mit |
Mcfloy/Intranet | views/global/error.php | 66 | <div class="alert alert-danger">
<?php echo $errorName; ?>
</div> | mit |
nakanishy/blog.nakanishy.com | source/javascripts/all.js | 83 | //= require "prism.js"
//= require "jquery/dist/jquery.min.js"
//= require "ga.js"
| mit |
techcoincommunity/firecoin | src/qt/transactionview.cpp | 15306 | #include "transactionview.h"
#include "transactionfilterproxy.h"
#include "transactionrecord.h"
#include "walletmodel.h"
#include "addresstablemodel.h"
#include "transactiontablemodel.h"
#include "bitcoinunits.h"
#include "csvmodelwriter.h"
#include "transactiondescdialog.h"
#include "editaddressdialog.h"
#include "op... | mit |
ConscriboOS/CF | src/DataStruct/Join/DataStructJoin.php | 1690 | <?php
/**
* User: Dre
* Date: 27-1-2016
* Time: 11:55
*/
namespace CF\DataStruct\Join;
abstract class DataStructJoin {
const TYPE_OBJECT = 'object';
const TYPE_EXTENSION = 'extension';
const ORDER_ONE_TO_MANY = 'oneToMany';
const ORDER_ONE_TO_ONE = 'oneToOne';
const STRUCTURE_INNER = 'inn... | mit |
MugenSAS/osc-cpp-qt | osc/OscPatternMatching.cpp | 7646 | /*
Written by John MacCallum, The Center for New Music and Audio Technologies,
University of California, Berkeley. Copyright (c) 2009, The Regents of
the University of California (Regents).
Permission to use, copy, modify, distribute, and distribute modified versions
of this software and its documentation without... | mit |
leoestela/sportchecked | src/SportChecked/ContactBundle/DependencyInjection/Configuration.php | 882 | <?php
namespace SportChecked\ContactBundle\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:... | mit |
graphql-python/graphql-core | tests/utilities/test_build_client_schema.py | 35277 | from typing import cast
from pytest import raises
from graphql import graphql_sync
from graphql.type import (
GraphQLArgument,
GraphQLBoolean,
GraphQLEnumType,
GraphQLEnumValue,
GraphQLField,
GraphQLFloat,
GraphQLID,
GraphQLInt,
GraphQLObjectType,
GraphQLSchema,
GraphQLStri... | mit |
cofacts/rumors-site | components/SideSection.js | 2921 | import { withStyles } from '@material-ui/core/styles';
import cx from 'clsx';
export const SideSection = withStyles(theme => ({
aside: {
[theme.breakpoints.up('md')]: {
minWidth: 0,
flex: 1,
padding: '0 20px',
background: theme.palette.background.paper,
borderRadius: theme.shape.bo... | mit |
drgorb/shopito | app/client/items-list.html | 2006 | <template name="itemsList">
{{> header}}
<div class="panel panel-default">
<div class="panel-heading row">
<div class="col-md-3">
<h3 class="panel-title">{{list.name}}</h3>
</div>
<div class="col-md-1 pull-right">
<a href="/" type="button" class="btn btn-... | mit |
bokunimowakaru/RaspberryPi | libs/ir/ir_read.c | 7145 | /*********************************************************************
赤外線リモコン受信部 for Raspberry Pi
本ソースリストおよびソフトウェアは、ライセンスフリーです。
利用、編集、再配布等が自由に行えますが、著作権表示の改変は禁止します。
Copyright (c) 2009-2016 Wataru KUNINO
https://bokunimo.net/raspi/
************************... | mit |
osalabs/osafw-asp.net | www/App_Data/template/layout/common.js | 334 | var $topnav = $('#topnav-row .col');
var $sidebar = $('#main-row .sidebar');
var $main = $('#main-row .main');
$(document).on('click', '.on-sidebar-toggler', function (e) {
$sidebar.toggleClass('col-md-3 col-lg-2 d-md-block col-12');
$topnav.toggleClass('d-md-none');
$main.toggleClass('col-md-9 col-lg-10 ... | mit |