code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
package corehttp
// TODO: move to IPNS
const WebUIPath = "/ipfs/QmXc9raDM1M5G5fpBnVyQ71vR4gbnskwnB9iMEzBuLgvoZ"
// this is a list of all past webUI paths.
var WebUIPaths = []string{
WebUIPath,
"/ipfs/QmenEBWcAk3tN94fSKpKFtUMwty1qNwSYw3DMDFV6cPBXA",
"/ipfs/QmUnXcWZC5Ve21gUseouJsH5mLAyz5JPp8aHsg8qVUUK8e",
"/ipfs/Qm... | OpenBazaar/openbazaar-go | vendor/github.com/ipfs/go-ipfs/core/corehttp/webui.go | GO | mit | 1,107 |
<?php
/* SonataAdminBundle:CRUD:base_acl_macro.html.twig */
class __TwigTemplate_f7bb38229ed8df4e133506255cce57f53a109aac1f79d839de0cea8756a1aaf0 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->block... | chicho2114/Proy_Frameworks | app/cache/dev/twig/f7/bb/38229ed8df4e133506255cce57f53a109aac1f79d839de0cea8756a1aaf0.php | PHP | mit | 11,223 |
class X where
foo :: Int
-- | Y
-- Y is something
-- nice.
class Y where
bar :: Int
| itchyny/vim-haskell-indent | test/comment/before_blank_line_and_class.out.hs | Haskell | mit | 91 |
/**
* Logger configuration
*
* Configure the log level for your app, as well as the transport
* (Underneath the covers, Sails uses Winston for logging, which
* allows for some pretty neat custom transports/adapters for log messages)
*
* For more information on the Sails logger, check out:
* http://sailsjs.org/#... | emagnier/spinnaker | config/log.js | JavaScript | mit | 866 |
/*****************************************************************************
* This file is part of the Prolog Development Tool (PDT)
*
* Author: Lukas Degener (among others)
* WWW: http://sewiki.iai.uni-bonn.de/research/pdt/start
* Mail: pdt@lists.iai.uni-bonn.de
* Copyright (C): 2004-2012, CS Dept. III, Univ... | TeamSPoon/logicmoo_base | prolog/logicmoo/pdt_server/prolog.connector/src/org/cs3/prolog/connector/cterm/CString.java | Java | mit | 870 |
//
// Created by eran on 01/04/2015.
//
#include <unordered_set>
#include "fakeit/Invocation.hpp"
namespace fakeit {
struct ActualInvocationsContainer {
virtual void clear() = 0;
virtual ~ActualInvocationsContainer() NO_THROWS { }
};
struct ActualInvocationsSource {
virtual void getActualInvocati... | helmesjo/hello-ci | src/external/fakeit/fakeit-repo/include/fakeit/ActualInvocationsSource.hpp | C++ | mit | 2,462 |
#!/usr/bin/python
# Copyright 2014 Steven Watanabe
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE.txt or https://www.bfgroup.xyz/b2/LICENSE.txt)
# Test the handling of toolset.add-requirements
import BoostBuild
t = BoostBuild.Tester(pass_toolset=0, ignore_toolset_requi... | davehorton/drachtio-server | deps/boost_1_77_0/tools/build/test/toolset_requirements.py | Python | mit | 933 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="shortcut icon" type="image/x-icon" href="../../../favicon.ico" />
<title>Cel... | AzureZhao/android-developer-cn | reference/android/telephony/CellIdentityWcdma.html | HTML | mit | 77,001 |
/* Copyright (c) 2018 lib4j
*
* 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, distrib... | safris-src/org | lib4j/test/src/main/java/org/lib4j/test/AssertXml.java | Java | mit | 7,601 |
<!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_66-internal) on Tue Dec 08 09:28:01 GMT 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.a... | manonsys/MVC | libs/Jena/javadoc-arq/org/apache/jena/sparql/expr/class-use/E_Lang.html | HTML | mit | 4,582 |
#include "src/OgreExternalTextureSourceManager.cpp"
#include "src/OgreFileSystem.cpp"
#include "src/OgreFont.cpp"
#include "src/OgreFontManager.cpp"
#include "src/OgreFrustum.cpp"
#include "src/OgreGpuProgram.cpp"
#include "src/OgreGpuProgramManager.cpp"
#include "src/OgreGpuProgramParams.cpp"
#include "src/OgreGpuProg... | airgames/vuforia-gamekit-integration | Gamekit/compilation/OgreMain/compile_OgreMain_1.cpp | C++ | mit | 1,519 |
<?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.
*/
/**
* sfWebDebugPanelPropel adds a panel to the web... | hybmg57/jobeet | lib/plugins/sfPropelPlugin/lib/debug/sfWebDebugPanelPropel.class.php | PHP | mit | 4,119 |
# frozen_string_literal: true
require_relative 'helper'
describe 'Digest class' do
it 'raises error with invalid digest_class' do
assert_raises ArgumentError do
Dalli::Client.new('foo', { expires_in: 10, digest_class: Object })
end
end
end
| mperham/dalli | test/test_digest_class.rb | Ruby | mit | 260 |
using UnityEngine;
using System.Collections;
using System.Runtime.Serialization;
namespace StrumpyShaderEditor
{
[DataContract(Namespace = "http://strumpy.net/ShaderEditor/")]
public abstract class ChannelReference {
[DataMember] private string nodeIdentifier;
[DataMember] private uint channelId;
public Cha... | ahito89/SSE | ShaderEditor/Assets/StrumpyShaderEditor/Editor/Graph/Nodes/Channels/ChannelReference.cs | C# | mit | 631 |
var partialsTemp = [
"login",
"profile"
];
exports.partialRender = function (req, res) {
var pageIndex = req.params[0];
if (partialsTemp.indexOf("" + pageIndex) > -1) {
res.render("partials/" + pageIndex, {});
} else {
res.render("common/404", {});
}
}; | ManGroup/jsEasy | controllers/partials.js | JavaScript | mit | 296 |
/*
* The MIT License
*
* Copyright 2015 Eduardo Weiland.
*
* 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,... | eduardoweiland/transformacoes-glc | app/js/transformations.js | JavaScript | mit | 13,493 |
/**
* Uploader implementation - with the Connection object in ExtJS 4
*
*/
Ext.define('MyApp.ux.panel.upload.uploader.ExtJsUploader', {
extend : 'MyApp.ux.panel.upload.uploader.AbstractXhrUploader',
requires : [ 'MyApp.ux.panel.upload.data.Connection' ],
config : {
/**
* @cfg {String} [method='PUT']
* ... | cwtuan/ExtJSTutorial-HiCloud | src/main/webapp/app/ux/panel/upload/uploader/ExtJsUploader.js | JavaScript | mit | 3,140 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using NSubstitute;
using Nancy;
using Nancy.Routing;
using PactNet.Logging;
using PactNet.Mocks.MockHttpService;
using PactNet.Mocks.MockHttpService.Nancy;
using Xunit;
namespace PactNet.Tests.Mock... | humblelistener/pact-net | PactNet.Tests/Mocks/MockHttpService/Nancy/MockProviderNancyRequestDispatcherTests.cs | C# | mit | 9,535 |
class Revista<ReferenciaBase
attr_reader :m_nombre_revista, :m_volumen, :m_paginas
def initialize(a_autores,a_titulo,a_anio,a_nombre_revista, a_volumen, a_paginas)
super(a_autores,a_titulo,a_anio)
@m_nombre_revista,@m_volumen, @m_paginas = a_nombre_revista, a_volumen, a_paginas
end
end | alu0100773408/prct10 | lib/referencia/revista.rb | Ruby | mit | 316 |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... | oliviertassinari/material-ui | packages/mui-icons-material/lib/FormatTextdirectionLToRRounded.js | JavaScript | mit | 769 |
var jazz = require("../lib/jazz");
var fs = require("fs");
var data = fs.readFileSync(__dirname + "/foreach_object.jazz", "utf8");
var template = jazz.compile(data);
template.eval({"doc": {
"title": "First",
"content": "Some content"
}}, function(data) { console.log(data); });
| shinetech/jazz | examples/foreach_object.js | JavaScript | mit | 288 |
/**********************************************************************
map_GoogleV2.js
$Comment: provides JavaScript for Google Api V2 calls
$Source :map_GoogleV2.js,v $
$InitialAuthor: guenter richter $
$InitialDate: 2011/01/03 $
$Author: guenter richter $
$Id:map_GoogleV2.js 1 2011-01-03 10:30:35Z Guenter... | emergenzeHack/terremotocentro | maptune/js/maptune/maptune.GoogleV2.js | JavaScript | mit | 5,620 |
import InputValidator from "../../common/js/InputValidator.js";
import ObjectUtilities from "../../common/js/ObjectUtilities.js";
import Action from "./Action.js";
import DefaultFilters from "./DefaultFilters.js";
import InitialState from "./InitialState.js";
var Reducer = {};
Reducer.root = function(state, action)
{... | jmthompson2015/lotr-card-game | src/accessory/player-card-table/Reducer.js | JavaScript | mit | 3,186 |
{% extends 'layout.html' %}
{% block heading %}Coming soon{% endblock %}
{% block body %}
{{ message }}
{% endblock %}
{% block footer_nav %}
<li> <a href="{{ root }}">Back home</a> </li>
{% endblock %}
| tobykurien/HomeServer | views/coming_soon.html | HTML | mit | 214 |
package com.github.mlk.queue.codex;
import com.github.mlk.queue.Queuify;
import com.github.mlk.queue.implementation.Module;
public class Utf8StringModule implements Module {
public static Utf8StringModule utfStrings() {
return new Utf8StringModule();
}
@Override
public void bind(Queuify.Build... | mlk/miniature-queue | core/src/main/java/com/github/mlk/queue/codex/Utf8StringModule.java | Java | mit | 434 |
ig.module(
'plusplus.config-user'
)
.defines(function() {
/**
* User configuration of Impact++.
* <span class="alert alert-info"><strong>Tip:</strong> it is recommended to modify this configuration file!</span>
* @example
* // in order to add your own custom configur... | collinhover/impactplusplus | examples/supercollider/lib/plusplus/config-user.js | JavaScript | mit | 3,308 |
/*
* The MIT License
*
* Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Brian Westrich, Jean-Baptiste Quenot, id:cactusman
* 2015 Kanstantsin Shautsou
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentat... | SebastienGllmt/jenkins | core/src/main/java/hudson/triggers/SCMTrigger.java | Java | mit | 23,475 |
/*
* The MIT License
*
* Copyright 2019 Karus Labs.
*
* 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, modi... | Pante/Karus-Commons | commons/src/test/java/com/karuslabs/commons/command/synchronization/SynchronizationTest.java | Java | mit | 3,282 |
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>DebugAppender Constructor ()</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css" href="MSD... | YOTOV-LIMITED/pokerleaguemanager | lib/Log4net 1.2.13/doc/release/sdk/log4net.Appender.DebugAppenderConstructor1.html | HTML | mit | 1,798 |
---
title: Jesus är grunden för vårt vittnesbörd
date: 06/09/2020
---
Som kristna har vi alla en personlig berättelse att återge, en berättelse om hur Jesus förvandlat vårt liv och vad han gjort för oss.
**Läs Ef. 2:1–10. Hurdana var vi innan vi lärde känna Kristus? Vad äger vi sedan vi har tagit emot honom?**
`A.... | imasaru/sabbath-school-lessons | src/sv/2020-03/11/02.md | Markdown | mit | 1,983 |
<?php
/*
* This file is part of the Omnipay package.
*
* (c) Adrian Macneil <adrian@adrianmacneil.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Omnipay\Common\Message;
use Mockery as m;
use Omnipay\TestCase;
cl... | cleverage/omnipay | tests/Omnipay/Common/Message/AbstractResponseTest.php | PHP | mit | 726 |
# encoding: utf-8
require 'spec_helper'
describe Github::Authorization do
let(:client_id) { '234jl23j4l23j4l' }
let(:client_secret) { 'asasd79sdf9a7asfd7sfd97s' }
let(:code) { 'c9798sdf97df98ds'}
let(:site) { 'http://github-ent.example.com/' }
let(:options) { {:site => site} }
subject(:github) { Github.n... | peter-murach/github | spec/github/authorization_spec.rb | Ruby | mit | 5,177 |
require File.expand_path('../spec_helper', __FILE__)
module Danger
describe DangerProse do
it 'is a plugin' do
expect(Danger::DangerProse < Danger::Plugin).to be_truthy
end
describe 'with Dangerfile' do
before do
@dangerfile = testing_dangerfile
@prose = testing_dangerfile.pr... | dbgrandi/danger-proselint | spec/danger_plugin_spec.rb | Ruby | mit | 4,724 |
'use strict'
const path = require('path')
const hbs = require('express-hbs')
module.exports = function (app, express) {
hbs.registerHelper('asset', require('./helpers/asset'))
app.engine('hbs', hbs.express4({
partialsDir: path.resolve('app/client/views/partials'),
layoutsDir: path.resolve('app/client/vie... | finkhq/fink-www | app/server/views/index.js | JavaScript | mit | 535 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>LCOV - result.info - c++/7.1.0/bits/stl_pair.h - functions</title>
<link rel="stylesheet" type="text/css" href="../../../gcov.css">
</head>
<body>
... | FirstSanny/appfs | RayChew/Ex7/result/c++/7.1.0/bits/stl_pair.h.func-sort-c.html | HTML | mit | 3,109 |
/////////////////////////////////////////////////////////////////////////////
// Name: wx/msw/notebook.h
// Purpose: MSW/GTK compatible notebook (a.k.a. property sheet)
// Author: Robert Roebling
// Modified by: Vadim Zeitlin for Windows version
// RCS-ID: $Id$
// Copyright: (c) Julian Smar... | airgames/vuforia-gamekit-integration | Gamekit/wxWidgets-2.9.1/include/wx/msw/notebook.h | C | mit | 8,154 |
// Polyfills
if ( Number.EPSILON === undefined ) {
Number.EPSILON = Math.pow( 2, - 52 );
}
if ( Number.isInteger === undefined ) {
// Missing in IE
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isInteger
Number.isInteger = function ( value ) {
return typeof valu... | fraguada/three.js | src/polyfills.js | JavaScript | mit | 1,691 |
<?php
/*
* This file is part of the PHPExifTool package.
*
* (c) Alchemy <support@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\FlashPix;
use JMS\Serializer\Annotation\ExclusionPoli... | bburnichon/PHPExiftool | lib/PHPExiftool/Driver/Tag/FlashPix/LockedPropertyList.php | PHP | mit | 807 |
import supertest from 'supertest';
import { publicChannelName, privateChannelName } from './channel.js';
import { roleNameUsers, roleNameSubscriptions, roleScopeUsers, roleScopeSubscriptions, roleDescription } from './role.js';
import { username, email, adminUsername, adminPassword } from './user.js';
export const re... | VoiSmart/Rocket.Chat | tests/data/api-data.js | JavaScript | mit | 1,993 |
<?php defined('BX_DOL') or die('hack attempt');
/**
* Copyright (c) UNA, Inc - https://una.io
* MIT License - https://opensource.org/licenses/MIT
*
* @defgroup UnaStudio UNA Studio
* @{
*/
define("BX_DOL_STUDIO_INSTALLER_SUCCESS", 0);
define("BX_DOL_STUDIO_INSTALLER_FAILED", 1);
/**
* Base class for Install... | unaio/una | upgrade/files/9.0.0.RC10-9.0.0.RC11/files/studio/classes/BxDolStudioInstaller.php | PHP | mit | 39,820 |
<?php
namespace Illuminate\Database\Eloquent;
use Exception;
use ArrayAccess;
use JsonSerializable;
use Illuminate\Support\Arr;
use Illuminate\Support\Str;
use Illuminate\Contracts\Support\Jsonable;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Contracts\Routing\UrlRoutable;
use Illuminate\Contracts\Queu... | joecohens/framework | src/Illuminate/Database/Eloquent/Model.php | PHP | mit | 39,540 |
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using ECommon.Components;
using ECommon.Scheduling;
using ECommon.Socketing;
using EQueue.Protocols;
namespace EQueue.Broker.Client
{
public class ConsumerManager
{
private readonly ConcurrentDictionary<string, C... | Aaron-Liu/equeue | src/EQueue/Broker/Client/ConsumerManager.cs | C# | mit | 3,773 |
<?php
namespace Phrest\Skeleton\v1\Requests\Users;
use Phrest\SDK\Request\AbstractRequest;
use Phrest\SDK\Request\RequestOptions;
use Phrest\SDK\PhrestSDK;
class CreateUserRequest extends AbstractRequest
{
/**
* @var string
*/
private $path = '/v1/users/';
/**
* @var string
*/
public $name = nu... | phrest/skeleton | src/v1/Requests/Users/CreateUserRequest.php | PHP | mit | 1,538 |
'use strict';
// https://github.com/betsol/gulp-require-tasks
// Require the module.
const gulpRequireTasks = require('gulp-require-tasks');
const gulp = require('gulp');
const env = require('../index');
// Call it when necessary.
gulpRequireTasks({
// Pass any options to it. Please see below.
path: env.inConfigs... | ilivebox/microsb | node/configs/gulp/gulpfile.js | JavaScript | mit | 421 |
// Uncomment the following to provide samples for PageResult<T>. Must also add the Microsoft.AspNet.WebApi.OData
// package to your project.
////#define Handle_PageResultOfT
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using ... | kiko81/Teleric-Academy-Homeworks | Module 3/Web-Services-and-Cloud/2. ASP.NET-Web-API/02_03_MusicStore/MusicStore.Services/Areas/HelpPage/App_Start/HelpPageConfig.cs | C# | mit | 6,509 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CacheCow.Server.EntityTagStore.SqlServer
{
internal class ColumnNames
{
public static string CacheKeyHash = "CacheKeyHash";
public static string RoutePattern = "RoutePattern";
public static string Res... | Hotkey/CacheCow | src/CacheCow.Server.EntityTagStore.SqlServer/ColumnNames.cs | C# | mit | 445 |
import * as React from "react";
import { CarbonIconProps } from "../../";
declare const Laptop24: React.ForwardRefExoticComponent<
CarbonIconProps & React.RefAttributes<SVGSVGElement>
>;
export default Laptop24;
| mcliment/DefinitelyTyped | types/carbon__icons-react/lib/laptop/24.d.ts | TypeScript | mit | 214 |
<!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">
<title> Singapore Gurkhas 070216 Gcspf Gurkha Contingent Archives Kkg 23</title>
<!-- URL Structures -->
<link rel="canonical" hr... | sgpm-generator/sgpm-generator | singapore-gurkha-photography-museum/singapore-gurkhas-070216-gcspf-gurkha-contingent-archives-kkg-23.html | HTML | mit | 8,711 |
<!DOCTYPE html>
<!--[if IE 7]>
<html class="ie ie7" lang="en">
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" lang="en">
<![endif]-->
<!--[if !(IE 7) | !(IE 8) ]><!-->
<html>
<head lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scal... | SamHwang1990/app-welcome | src/html/index.html | HTML | mit | 22,341 |
/* @flow */
"use strict";
var _inherits = require("babel-runtime/helpers/inherits")["default"];
var _classCallCheck = require("babel-runtime/helpers/class-call-check")["default"];
var _getIterator = require("babel-runtime/core-js/get-iterator")["default"];
var _Object$assign = require("babel-runtime/core-js/object... | Shashank92/promises-demo | node_modules/gulp-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js | JavaScript | mit | 10,786 |
using System;
using System.ComponentModel;
using System.Web;
using System.Web.Security;
using System.Xml.Linq;
using System.Xml.XPath;
using Umbraco.Core;
using Umbraco.Core.Dictionary;
using Umbraco.Core.Dynamics;
using Umbraco.Core.Models;
using Umbraco.Core.Security;
using Umbraco.Core.Services;
using U... | gavinfaux/Umbraco-CMS | src/Umbraco.Web/UmbracoHelper.cs | C# | mit | 59,353 |
* {
margin: 0px;
padding: 0px;
}
body{
overflow:hidden;
background-color: black;
}
@font-face {
font-family: Bang;
src: url('bang.ttf');
}
@media screen and (max-height: 650px) {
#clouds{
height: 220px;
}
}
}
#wrapper {
width: 100%;
height: 100%;
}
#score {
c... | Kaizeras/ChalgaScript | gfx.css | CSS | mit | 5,626 |
use std::str::FromStr;
fn read_line() -> String {
let mut input = String::new();
std::io::stdin().read_line(&mut input).expect("Could not read stdin!");
input
}
fn read_multiple<F>(sep: &str) -> Vec<F> where F: FromStr {
read_line().trim().split(sep).map(|token| token.parse().ok().unwrap()).collect()
}
fn ... | Bugfry/exercism | hackerrank/30-days-of-code/day009.rs | Rust | mit | 527 |
---
layout: page
status: publish
published: true
title: 'MPC IN THE NEWS: Where We Came From and Where We Went, State by State'
author: mpcit
teaser: 'The folks at the NYT''s Upshot recently did a piece charting how Americans
have moved between states since 1900, using Census microdata obtained from ipums.org,
the ... | ccdavis/mnpopcenter.github.io | _posts/2014-09-19-where-we-came-from-and-where-we-went-state-by-state.markdown | Markdown | mit | 2,367 |
/**
* Gulp tasks for wrapping Browserify modules.
*/
const browserify = require("browserify");
const gulp = require("gulp");
const sourcemaps = require("gulp-sourcemaps");
const uglify = require("gulp-uglify");
const path = require("path");
const through2 = require("through2");
const buffer = require("vinyl-buffer");... | unitejs/engine | assets/gulp/dist/tasks/bundler/browserify/build-bundle-app.js | JavaScript | mit | 2,848 |
<!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"/>
<title>GLM_GTX_string_cast: String cast</title>
<link href="tabs.css" rel="sty... | klantz81/ocean-simulation | glm-0.9.2.6/doc/html/a00293.html | HTML | mit | 3,074 |
/*
* Special implementations of built-in functions and methods.
*
* Optional optimisations for builtins are in Optimize.c.
*
* General object operations and protocols are in ObjectHandling.c.
*/
//////////////////// Globals.proto ////////////////////
static PyObject* __Pyx_Globals(void); /*proto*/
////////////... | mollstam/UnrealPy | UnrealPyEmbed/Development/Python/2015.08.07-Python2710-x64-Source-vs2015/Python27/Source/Cython-0.22.1/Cython/Utility/Builtins.c | C | mit | 12,711 |
// Commom Plugins
(function($) {
'use strict';
// Scroll to Top Button.
if (typeof theme.PluginScrollToTop !== 'undefined') {
theme.PluginScrollToTop.initialize();
}
// Tooltips
if ($.isFunction($.fn['tooltip'])) {
$('[data-tooltip]:not(.manual), [data-plugin-tooltip]:not(.manual)').tooltip();
}
// Popo... | SupasitC/Pricetrolley | src/javascripts/theme.init.js | JavaScript | mit | 8,635 |
package main
import (
"encoding/json"
"fmt"
"io/ioutil"
"log"
"net/http"
"net/url"
"os"
"os/user"
"path/filepath"
"strings"
"golang.org/x/net/context"
"golang.org/x/oauth2"
"golang.org/x/oauth2/google"
gmail "google.golang.org/api/gmail/v1"
"github.com/code... | usk81/shikigami | rei/rei.go | GO | mit | 10,099 |
// This file contains source that originates from:
// http://code.google.com/p/leveldbwin/source/browse/trunk/win32_impl_src/env_win32.h
// http://code.google.com/p/leveldbwin/source/browse/trunk/win32_impl_src/port_win32.cc
// Those files dont' have any explict license headers but the
// project (http://code.google.c... | jesuscoinproject/jesuscoin | src/leveldb/util/env_win.cc | C++ | mit | 25,974 |
<!DOCTYPE html>
<html>
<head>
<title>ECOSOC</title>
<base href="../../">
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet'>
<link rel='shortcut ic... | bangalorejmun/bangalorejmun.github.io | Committees/ECOSOC/index.html | HTML | mit | 18,936 |
'use strict';
const BitcrusherProps = {
bits: {
type: 'number',
bounds: [1, 16],
defaultValue: 4
},
normfreq: {
type: 'number',
bounds: [0, 1],
step: 0.1,
defaultValue: 0.1
},
bufferSize: {
type: 'number',
bounds: [256, 16384],... | civa86/web-synth | lib/src/properties/BitcrusherProps.js | JavaScript | mit | 483 |
wherzcroc
=========
Using hidden markov models to find a crocodile in a graph. Assignment for AI course (Fall 2014) at Uppsala University
Setup
-----
1. Clone the repository
2. Unzip files from the webpage on studentportalen into two folders: *Debug* and *Release* (in the repo directory).
3. The setup should work ou... | uzerNAN/wherzcroc | README.md | Markdown | mit | 463 |
/***********************************************************************************
** MIT License **
** **
** Copyright (c) 2018 Victor DENIS (victordenis01@gmail.com) ... | Feldrise/Sielo-NavigateurV3-WebEngine | Core/Widgets/HorizontalListWidget.cpp | C++ | mit | 2,823 |
import os
import sys
from Bio import SeqIO
f = open(sys.argv[1], 'rU')
out = open(sys.argv[2], 'w')
for records in SeqIO.parse(f, 'fastq'):
SeqIO.write(records, out, 'fasta')
| chnops/code | fastq_to_fasta.py | Python | mit | 177 |
require 'strscan'
##
# Parses a gem.deps.rb.lock file and constructs a LockSet containing the
# dependencies found inside. If the lock file is missing no LockSet is
# constructed.
class Gem::RequestSet::Lockfile
##
# Raised when a lockfile cannot be parsed
class ParseError < Gem::Exception
##
# The ... | justsml/docker-build-server | ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/request_set/lockfile.rb | Ruby | mit | 13,070 |
define({
"_widgetLabel": "Tra cứu Địa lý",
"description": "Duyệt đến hoặc Kéo <a href='./widgets/GeoLookup/data/sample.csv' tooltip='Download an example sheet' target='_blank'> trang tính </a> tại đây để mô phỏng và thêm các dữ liệu bản đồ vào trang tính đó.",
"selectCSV": "Chọn một CSV",
"loadingCSV": "Đang tả... | cmccullough2/cmv-wab-widgets | wab/2.3/widgets/GeoLookup/nls/vi/strings.js | JavaScript | mit | 1,683 |
<html>
<head>
<title>Member List - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link type="text/css" rel="stylesheet" href="doxygen.css">
<link type="text/css" rel="stylesheet" href="tabs.css">
</head>
<body>
<!-- Generated by Doxygen 1.7.6.1 -->
<div id="navr... | jjenki11/blaze-chem-rendering | ogre/ogre_src_v1-8-1/Docs/api/html/classOgre_1_1GLESDefaultHardwareBufferManager-members.html | HTML | mit | 23,841 |
var chai = require("chai")
var should = chai.should();
chai.use(require("chai-http"));
var request = chai.request(require("./server"))
var db = require("mongojs")("test")
describe("CRUD Handler", () => {
before(done => {
done()
})
beforeEach(done => {
db.dropDatabase(done);
})
af... | AkashBabu/server-helper | test/crudHandler/test.js | JavaScript | mit | 4,155 |
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE Arrows #-}
module Main where
import Opaleye
import Data.Profunctor.Product
import Data.Profunctor.Product.Default
import Data.Profunctor... | meditans/haskell-webapps | doc/docs/opaleye/code/opaleye-select-with-records-and-restrict.hs | Haskell | mit | 1,804 |
"use strict";
devdiv.directive('devDiv', [function () {
return {
restrict: 'E',
link: function (scope, iElement, iAttrs) {
iElement.addClass("dev-div");
iElement.addClass("row");
}
};
}])
devdiv.controller('NameCtrl', function ($scope, $watch) {
}); | abdurrahmanekr/devdiv | src/directive/devdiv.js | JavaScript | mit | 267 |
(function() {
'use strict';
/* Filters */
var md5 = function (s) {
if (!s) return '';
function L(k, d) {
return (k << d) | (k >>> (32 - d));
}
function K(G, k) {
var I, d, F, H, x;
F = (G & 2147483648);
H = (k & 2147483648);
I = (G & 1073741824);
d = (k & 107... | chariotsolutions/reactive-quizzo-code-sample | public/moderator/bower_components/md5-angular-filter/js/md5.filter.js | JavaScript | mit | 6,722 |
#!/usr/bin/env python
#
# GrovePi Example for using the Grove Electricity Sensor (http://www.seeedstudio.com/wiki/Grove_-_Electricity_Sensor)
#
# The GrovePi connects the Raspberry Pi and Grove sensors. You can learn more about GrovePi here: http://www.dexterindustries.com/GrovePi
#
# Have a question about this examp... | karan259/GrovePi | Software/Python/grove_electricity_sensor.py | Python | mit | 2,530 |
// Copyright (c) 2015 ZZZ Projects. All rights reserved
// Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods)
// Website: http://www.zzzprojects.com/
// Feedback / Feature Requests / Issues : http://zzzprojects.uservoice.com/forums/283927
// All ZZZ Projects products: Entity Framework ... | mario-loza/Z.ExtensionMethods | src/Z.IO/System.IO.FileInfo/FileInfo.ChangeExtension.cs | C# | mit | 2,160 |
require 'openssl'
require_relative 'app'
module Spaceship
module Portal
# Represents a certificate from the Apple Developer Portal.
#
# This can either be a code signing identity or a push profile
class Certificate < PortalBase
# @return (String) The ID given from the developer portal. You'll ... | orta/fastlane | spaceship/lib/spaceship/portal/certificate.rb | Ruby | mit | 12,581 |
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("Co... | MilStancheva/Telerik-Academy-Projects | C# Fundamentals/OperatorsAndExpressions/11. 3rd Bit/Properties/AssemblyInfo.cs | C# | mit | 1,414 |
/*globals describe, before, beforeEach, afterEach, it */
/*jshint expr:true*/
var testUtils = require('../../utils'),
should = require('should'),
// Stuff we are testing
dbAPI = require('../../../server/api/db'),
ModelTag = require('../../../server/models/tag'),
ModelPost = r... | dbanda/dalitsobanda.com | ghostgithub/core/test/integration/api/api_db_spec.js | JavaScript | mit | 4,779 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Struct template reverse_fold_tree</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta... | davehorton/drachtio-server | deps/boost_1_77_0/doc/html/boost/proto/reverse_fold_tree.html | HTML | mit | 11,042 |
<?php defined('BASEPATH') OR exit('No direct script access allowed.');
$config['useragent'] = 'PHPMailer'; // Mail engine switcher: 'CodeIgniter' or 'PHPMailer'
$config['protocol'] = IS_WINDOWS_OS ? 'smtp' : 'mail'; // 'mail', 'sendmail', or 'smtp'
$config['mailpath'] = '/usr/sbin/... | ivantcholakov/starter-public-edition-4 | platform/common/config/email.php | PHP | mit | 4,261 |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | hashhar/vscode | src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.ts | TypeScript | mit | 7,276 |
package net.ontrack.core.security;
import lombok.Data;
import net.ontrack.core.model.AccountSummary;
@Data
public class ProjectAuthorization {
private final int project;
private final AccountSummary account;
private final ProjectRole role;
}
| joansmith/ontrack | ontrack-core/src/main/java/net/ontrack/core/security/ProjectAuthorization.java | Java | mit | 258 |
require 'set'
require 'sprockets/http_utils'
require 'sprockets/path_dependency_utils'
require 'sprockets/uri_utils'
module Sprockets
module Resolve
include HTTPUtils, PathDependencyUtils, URIUtils
# Public: Find Asset URI for given a logical path by searching the
# environment's load paths.
#
#... | askl56/sprockets | lib/sprockets/resolve.rb | Ruby | mit | 6,764 |
(function (subdivision) {
'use strict';
var count = 0;
var builders;
var defaultBuilder;
function buildInternal(type, addin, options, meta) {
var builder = subdivision.getBuilder(type);
if (builder.preBuildTarget) {
addin = buildInternal(builder.preBuildTarget, addin, o... | BorisKozo/extensibility.js | app/lib/builder.js | JavaScript | mit | 7,868 |
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'button': string;
'buttonItemCount': string;
'checked': string;
'level': string;
'selector': string;
}
export const cssExports: CssExports;
export default cssExports;
| DestinyItemManager/DIM | src/app/organizer/ItemTypeSelector.m.scss.d.ts | TypeScript | mit | 276 |
import argparse
import asyncio
import gc
import os.path
import pathlib
import socket
import ssl
PRINT = 0
async def echo_server(loop, address, unix):
if unix:
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
else:
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.... | 1st1/uvloop | examples/bench/echoserver.py | Python | mit | 6,317 |
<?php
/*
* This file is part of the PHPExifTool package.
*
* (c) Alchemy <support@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\MXF;
use JMS\Serializer\Annotation\ExclusionPolicy;
u... | bburnichon/PHPExiftool | lib/PHPExiftool/Driver/Tag/MXF/EventStart.php | PHP | mit | 799 |
<?php
namespace Soda\Cms\Database\Repositories\Contracts;
use Illuminate\Http\Request;
use Soda\Cms\Database\Models\Contracts\ContentInterface;
interface ContentRepositoryInterface extends BaseRepositoryInterface
{
public function findBySlug($slug);
public function listFolder(Request $request, ContentInterf... | sodacms/sodacms | src/Database/Repositories/Contracts/ContentRepositoryInterface.php | PHP | mit | 741 |
/*!
* reveal.js
* http://lab.hakim.se/reveal-js
* MIT licensed
*
* Copyright (C) 2016 Hakim El Hattab, http://hakim.se
*/
(function( root, factory ) {
if( typeof define === 'function' && define.amd ) {
// AMD. Register as an anonymous module.
define( function() {
root.Reveal = factory();
return root.Re... | lihuma/lihuma.github.io | js/reveal.js | JavaScript | mit | 131,510 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This progra... | 0vercl0k/rp | src/third_party/beaengine/tests/0f3a25.py | Python | mit | 2,835 |
class Base {
public:
Resource *p;
Base() {
p = createResource();
}
virtual void f() { //has virtual function
//...
}
//...
~Base() { //wrong: is non-virtual
freeResource(p);
}
};
class Derived: public Base {
public:
Resource *dp;
Derived() {
dp = createResource2();
}
~Derived() {
freeResource2(dp... | github/codeql | cpp/ql/src/jsf/4.10 Classes/AV Rule 78.cpp | C++ | mit | 568 |
#region Copyright (c) 2003, newtelligence AG. All rights reserved.
/*
// Copyright (c) 2003, newtelligence AG. (http://www.newtelligence.com)
// Original BlogX Source Code: Copyright (c) 2003, Chris Anderson (http://simplegeek.com)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with ... | poppastring/dasblog | source/newtelligence.DasBlog.Runtime/DayEntry.cs | C# | mit | 9,683 |
/** \file
* \brief Scintilla control: Cursor and Zooming
*
* See Copyright Notice in "iup.h"
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#undef SCI_NAMESPACE
#include <Scintilla.h>
#include "iup.h"
#include "iup_object.h"
#include "iup_attrib.h"
#include "iup_str.h"
#include... | ivanceras/iup-mirror | srcscintilla/iupsci_cursor.c | C | mit | 2,233 |
var Example = Example || {};
Example.staticFriction = function() {
var Engine = Matter.Engine,
Render = Matter.Render,
Runner = Matter.Runner,
Body = Matter.Body,
Composites = Matter.Composites,
Events = Matter.Events,
MouseConstraint = Matter.MouseConstraint,
... | lsu-emdm/nx-physicsUI | matter-js/examples/staticFriction.js | JavaScript | mit | 2,921 |
require File.dirname(__FILE__) + "/../spec_helper.rb"
| mhennemeyer/macspec | spec/mac_spec/testing_framework/spec_helper.rb | Ruby | mit | 54 |
{% if isTopPage() %}
{% set unportalizedPath = '/top-' + Date.now() %}
{% else %}
{% set unportalizedPath = page.path|replace('(\/)$', '') %}
{% endif %}
<div class="modal" id="unportalize">
<div class="modal-dialog">
<div class="modal-content">
<form role="form" id="unportalize-form" onsubmit="r... | crow-misia/crowi | lib/views/modal/unportalize.html | HTML | mit | 2,026 |
package com.softserve.app.repository;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.mockito.Mockito.when;
import java.util.ArrayList;
import java.util.List;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mocki... | OlegSvyryd/animalsRepo | SampleProjectPet/src/test/java/com/softserve/app/repository/PetRepositoryStubTest.java | Java | mit | 1,751 |
##Search in Rotated Sorted Array II
Total Accepted: 60092 Total Submissions: 188639 Difficulty: Medium
Follow up for "Search in Rotated Sorted Array":
What if duplicates are allowed?
Would this affect the run-time complexity? How and why?
Write a function to determine if a given target is in the array.
####思路
... | rwang23/LintCodeBook | Google/Search-in-Rotated-Sorted-Array-II.md | Markdown | mit | 2,861 |
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person obtain... | xsilium-frameworks/xsilium-engine | Library/Ogre/Components/RTShaderSystem/src/OgreShaderExHardwareSkinning.cpp | C++ | mit | 18,731 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.07.... | AltisourceLabs/ecloudmanager | tmrk-cloudapi/src/main/java/org/ecloudmanager/tmrk/cloudapi/model/ResourceBurstType.java | Java | mit | 2,598 |
var searchData=
[
['vertical_5fline',['vertical_line',['../class_abstract_board.html#a78c4d43cc32d9dc74d73156497db6d3f',1,'AbstractBoard']]]
];
| dawidd6/qtictactoe | docs/search/variables_9.js | JavaScript | mit | 146 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.