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 |
|---|---|---|---|---|---|
class RepeatError(ValueError):
pass
class NoneError(ValueError):
pass
| HarborYuan/cashier | Errors.py | Python | mit | 79 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>huffman: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.02.3-2.0.6/released/8.5.0~camlp4/huffman/8.9.0.html | HTML | mit | 7,513 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>traversable-fincontainer: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.11.2-2.0.7/released/8.15.0/traversable-fincontainer/8.10.0.html | HTML | mit | 7,085 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>karatsuba: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.02.3-2.0.6/released/8.7.2/karatsuba/8.6.0.html | HTML | mit | 7,194 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>tarski-geometry: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.11.2-2.0.7/released/8.14.1/tarski-geometry/8.6.0.html | HTML | mit | 7,776 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mutual-exclusion: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstra... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.09.1-2.0.6/released/8.9.0/mutual-exclusion/8.5.0.html | HTML | mit | 7,372 |
#!/usr/bin/env perl
use v5.020;
use strict;
use warnings;
use utf8;
binmode STDOUT, ":utf8";
binmode STDERR, ":utf8";
binmode STDIN, ":encoding(UTF-8)";
use Data::Printer;
use FindBin;
use Getopt::Long;
use Template;
use Text::CSV_XS 'csv';
use lib "$FindBin::Bin/../lib";
use DartSense::Match;
use DartSense::Play... | basbloemsaat/dartsense | bin/old/genSite.pl | Perl | mit | 1,953 |
<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>LogManager Methods</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css" href="MSDN.css" />
... | npruehs/slash-framework | Ext/log4net-1.2.11/doc/release/sdk/log4net.LogManagerMethods.html | HTML | mit | 6,194 |
<?php
/**
* This file is the main application controller for pasteshare
* @license MIT
*/
namespace pasteshare;
/**
* Main application controller for pasteshare
*
* @author Anthony Vitacco <anthony@littlegno.me>
*/
class PasteShare
{
/** @var object An instance of pasteshare\Application */
private $app;... | breaker1/pasteshare | controllers/pasteshare/PasteShare.php | PHP | mit | 4,057 |
<!doctype html>
<html lang="en">
<head>
<title>Code coverage report for All files</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="prettify.css" />
<link rel="stylesheet" href="base.css" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type='text/css'>
... | phuochau/react-native-boilerplate-production | coverage/index.html | HTML | mit | 4,854 |
package jokrey.utilities.network.mcnp.nbio;
import jokrey.utilities.encoder.tag_based.implementation.length_indicator.type.transformer.LITypeToBytesTransformer;
import jokrey.utilities.encoder.type_transformer.TypeToFromRawTransformer;
import jokrey.utilities.network.mcnp.io.ConnectionHandler.ConnectionState;
import j... | jokrey/utility-algorithms-java | src/jokrey/utilities/network/mcnp/nbio/MCNP_ConnectionAIO.java | Java | mit | 5,844 |
const WRAPPER = Symbol('wrapper');
/**
* @function
* @description Decorator function that convert a class method to a getter
*/
export default function getter(
prototype,
property,
{ initializer, value, get },
) {
return {
configurable: true,
enumerable: true,
get() {
if (!this[WRAPPER]) {... | ringcentral/ringcentral-js-widget | packages/ringcentral-integration/lib/getter.js | JavaScript | mit | 763 |
/*!
* UI development toolkit for HTML5 (OpenUI5)
* (c) Copyright 2009-2015 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
sap.ui.define(['jquery.sap.global', './SplitContainerRenderer', 'sap/ui/core/Renderer'],
function(jQuery, SplitContainerRenderer, Re... | pensoffsky/OpenUI5-AppCache | resources/sap/m/SplitAppRenderer-dbg.js | JavaScript | mit | 989 |
from storytext.javaswttoolkit import describer as swtdescriber
from org.eclipse.core.internal.runtime import InternalPlatform
from org.eclipse.ui.forms.widgets import ExpandableComposite
import os
from pprint import pprint
class Describer(swtdescriber.Describer):
swtdescriber.Describer.stateWidgets = [ ExpandableC... | emilybache/texttest-runner | src/main/python/storytext/lib/storytext/javarcptoolkit/describer.py | Python | mit | 2,499 |
import os
from setuptools import find_packages
from setuptools import setup
version = '1.0'
project = 'kotti_mb'
install_requires=[
'Kotti',
],
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read(... | potzenheimer/kotti_mb | setup.py | Python | mit | 1,275 |
require 'rails'
require 'rails/generators'
require_relative '../../yaml_loader'
module MongoidModelMaker
class FullGenerator < Rails::Generators::Base
argument :schema, type: :string, required: true, desc: "Yaml schema file, describes models, relations and factories"
def main
MongoidModelMaker::Models... | Dawil/MongoidModelMaker | lib/generators/mongoid_model_maker/full_generator.rb | Ruby | mit | 359 |
import DS from 'ember-data';
import BackboneElement from 'ember-fhir/models/backbone-element';
const { belongsTo, hasMany } = DS;
export default BackboneElement.extend({
resource: belongsTo('reference', { async: false }),
param: hasMany('test-script-param', { async: true })
}); | davekago/ember-fhir | addon/models/test-script-rule.js | JavaScript | mit | 284 |
<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>Play</title>
<link rel="icon" type="image/png" href="Images/favicon_new_1.png">
<link href="dist/css/bootstrap.css" rel="stylesheet">
<link href=... | MegBecker/MegBecker.github.io | play.html | HTML | mit | 6,314 |
-- Testbot, with turn penalty
-- Used for testing turn penalties
require 'testbot'
properties.left_hand_driving = false
local turn_penalty = 50
local turn_bias = properties.left_hand_driving and 1/1.2 or 1.2
function turn_function (angle)
---- compute turn penalty as angle^2, with a left/ri... | antlad/route_solver_service | profiles/rhs.lua | Lua | mit | 533 |
// The MIT License (MIT)
//
// Copyright (c) Andrew Armstrong/FacticiusVir 2020
//
// 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 r... | FacticiusVir/SharpVk | src/SharpVk/Interop/Khronos/VkDeviceGetPipelineExecutableInternalRepresentationsDelegate.gen.cs | C# | mit | 1,661 |
using System;
using LanceTrack.Cqrs.Contract;
using LinqToDB.Mapping;
namespace LanceTrack.Server.Cqrs.ProjectTime.Events
{
[Table("InvoiceEvents")]
public class InvoiceEvent : IEvent<ProjectTimeAggregateRoot, int>
{
[Identity, PrimaryKey]
public int Id { get; set; }
[Column]
... | rd-dev-ukraine/demo-time-track | LanceTrack.Server.Cqrs/ProjectTime/Events/InvoiceEvent.cs | C# | mit | 988 |
# Natural Language Toolkit: POS Tag Simplification
#
# Copyright (C) 2001-2013 NLTK Project
# Author: Steven Bird <stevenbird1@gmail.com>
# URL: <http://www.nltk.org/>
# For license information, see LICENSE.TXT
# Brown Corpus
# http://khnt.hit.uib.no/icame/manuals/brown/INDEX.HTM
brown_mapping1 = {
'j': 'ADJ', '... | syllog1sm/TextBlob | text/nltk/tag/simplify.py | Python | mit | 3,411 |
import codecs
f = codecs.open("/Users/hjp/Downloads/task/data/dev.txt", 'r', 'utf-8')
for line in f.readlines():
print(line)
sents = line.split('\t')
print(sents[1] + "\t" + sents[3])
for i in range(len(sents)):
print(sents[i])
f.close()
| hjpwhu/Python | src/hjp.edu.nlp.data.task/semeval.py | Python | mit | 269 |
<md-card>
<md-card-title>
<md-card-title-text>
<span class="md-headline">This Lab training networks</span>
<span> Note: Scroll down to add networks from the list of trainings reported by your team members.</span>
</md-card-title-text>
</md-card-title>
<md-card-content... | jose-braga/data-management | app_client/team/productivity/funding/team.labTrainings.html | HTML | mit | 5,837 |
#include "allhead.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <dirent.h>
#include <unistd.h>
#include <sys/stat.h>
#include "NLPIR.h"
#define EML__SYSTEMS__
#include <assert.h>
char* workspace=NULL;
char* dicpa... | NEWPLAN/emlproj | spliter/main.cpp | C++ | mit | 3,374 |
package com.github.stocky37.util.cache.config;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;
import io.dropwizard.setup.En... | stocky37/dropwizard-util | cache/src/main/java/com/github/stocky37/util/cache/config/GuavaCacheFactory.java | Java | mit | 2,194 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>The Time Machine</title>
<link rel="stylesheet" href="css/main.css" type="text/css" />
</head>
<body>
<div id="container">
<canvas width="800px" height="500px"></canvas>
<a class="controls-link"... | ndrwhr/timemachine | index.html | HTML | mit | 2,822 |
namespace CarStore.Controllers
{
using System.Web.Mvc;
using CarStore.Data;
using System.Linq;
using Models.Cars;
public class HomeController : Controller
{
public ActionResult Index()
{
var db = new CarDbContext();
var cars = db.Cars
.Or... | Ivelin153/Car-Store | CarStore/Controllers/HomeController.cs | C# | mit | 869 |
module.exports = function ( grunt ) {
// Project configuration.
grunt.initConfig({
pkg : grunt.file.readJSON( 'package.json' ),
jshint : {
options: {
jshintrc: true
},
files : ['src/javascripts/**/*.js']
},
browserify : {
... | jeffschwartz/preamble | Gruntfile.js | JavaScript | mit | 2,149 |
<?php
namespace Myspace\BookmarkBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
use JMS\Serializer\Annotation\Groups;
/**
* Bookmark
*
* @ORM\Table()
* @ORM\Entity(repositoryClass="Myspace\BookmarkBundle\Repository\BookmarkRepository")
*/
class Bookmark
{
/**... | nguyenhuuhuy/bookmarkmanager | src/Myspace/BookmarkBundle/Entity/Bookmark.php | PHP | mit | 4,901 |
'use strict';
const User = require('../../models/admin/user'),
Role = require('../../models/admin/role'),
page = require('../../util/page'),
_ = require('lodash');
module.exports = class UserController {
/**
* Display a list of users.
*/
static index(req, res) {
page(User, req).then(data => {
res.rende... | dsx190/ecommet | lib/controllers/admin/user.js | JavaScript | mit | 1,534 |
<!DOCTYPE html>
<html>
<head>
<title>{% if page.title %}{{ page.title }} – {% endif %}{{ site.name }} – {{ site.description }}</title>
{% include meta.html %}
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="icon" href="... | innodatalabs/innodatalabs.github.io | _layouts/default.html | HTML | mit | 1,788 |
/**
* File
*
* @author Tijme Gommers <t.gommers@jetcat.nl>
* @package server.helpers
*/
module.exports = {
/**
* @var Object
*/
fs: require('fs'),
/**
* File exists
*
* @param string Path to the file
* @return boolean exists
*/
exists: function(file)
{
... | Tijme/reactive | server/helpers/file.js | JavaScript | mit | 840 |
<div id="page-wrapper">
<div class="container-fluid">
<!-- Page Heading -->
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">
Gerenciar Produtos
... | luisjnk/FarmaPlus | front/Estoque/GerenciarProdutos.html | HTML | mit | 2,880 |
/*! WebUploader 0.1.6 */
/**
* @fileOverview 让内部各个部件的代码可以用[amd](https://github.com/amdjs/amdjs-api/wiki/AMD)模块定义方式组织起来。
*
* AMD API 内部的简单不完全实现,请忽略。只有当WebUploader被合并成一个文件的时候才会引入。
*/
(function (root, factory) {
var modules = {},
// 内部require, 简单不完全实现。
// https://github.com/amdjs/amdjs-api/wiki/... | asofdate/batch-scheduler | bootstrap/src/main/resources/static/webuploader/webuploader.custom.js | JavaScript | mit | 222,959 |
// https://www.creare.co.uk/blog/js/js-eu-cookie-law-banner
// Creare's 'Implied Consent' EU Cookie Law Banner v:2.4
// Conceived by Robert Kent, James Bavington & Tom Foyster
var cookieDuration = 365; // Number of days before the cookie expires, and the banner reappears
var cookieName = 'EuCookieLa... | davidtimovski/my-routine | MyRoutine.Web/JS/cookie-consent.js | JavaScript | mit | 2,253 |
import { OcticonSymbol } from '../octicons'
import { Repository } from '../../models/repository'
import { CloningRepository } from '../../models/cloning-repository'
/**
* Determine the octicon to display for a given repository.
*/
export function iconForRepository(repository: Repository | CloningRepository) {
if (... | gengjiawen/desktop | app/src/ui/octicons/repository.ts | TypeScript | mit | 681 |
<h1 dir="rtl">مشارکت در رنگبرند</h1>
<p dir="rtl">دوست دارید در بهبود رنگبرند، همکاری کنید؟ شما به روشهای زیر میتونید به این پروژه کمک کنید:</p>
<h2 dir="rtl">درخواست اضافه کردن برند</h2>
<p dir="rtl"> رنگبرند یه پروژه جمعی هست و یک سری از استانداردها برای اون تعریف شده که باید رعایت بشن. لطفا قبل از این که درخو... | IKAcc/RangeBrand | CONTRIBUTING.md | Markdown | mit | 3,874 |
<?php
namespace PorkChopSandwiches\Doctrine\Utilities;
/**
* An interface guaranteeing to provide a method that can be used as a comparison between two objects to see if they represent the same data.
*
* Used (for example) to compare to objects that may represent the same Database entity.
*/
interface Identifiabl... | porkchopsandwiches/doctrine-utilities | lib/src/PorkChopSandwiches/Doctrine/Utilities/IdentifiableInterface.php | PHP | mit | 526 |
// Package maths provides basic operations with floats and vectors
package maths
| DexterLB/traytor | maths/doc.go | GO | mit | 81 |
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::DevTestLabs::Mgmt::V2016_05_15
module Models
#
# Properties of an artifact source.
#
class ArtifactSource < Resource
... | Azure/azure-sdk-for-ruby | management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_source.rb | Ruby | mit | 6,581 |
\documentclass[a0,portrait]{a0poster}
\renewcommand\refname{}
\usepackage{multicol}
\usepackage{subfloat}
\columnsep=100pt
\columnseprule=3pt
\let\chapter\section
\let\section\subsection
\let\subsection\subsubsection
\let\subsubsection\paragraph
\usepackage[svgnames]{xcolor}
\usepackage{tcolorbox}
\usepackage{graphicx... | initrunlevel0/icecastMiddleware | laporan/poster.tex | TeX | mit | 6,123 |
### バリデーション
モデルにバリデーションを定義
| mshige1979/cakephp3-sample | 03_validation/README.md | Markdown | mit | 71 |
<?php namespace Fisharebest\Localization\Territory;
/**
* Class AbstractTerritory - Representation of the territory MR - Mauritania.
*
* @author Greg Roach <fisharebest@gmail.com>
* @copyright (c) 2015 Greg Roach
* @license GPLv3+
*/
class TerritoryMr extends AbstractTerritory implements TerritoryInterface ... | fweber1/Annies-Ancestors | webtrees/vendor/fisharebest/localization/src/Territory/TerritoryMr.php | PHP | mit | 368 |
// The MIT License(MIT)
//
// Copyright(c) 2015 Andreas Sjöberg
//
// 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, ... | addelajnen/AddeInvaders-II | PlayerController.hpp | C++ | mit | 2,337 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>idxassoc: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.07.1-2.0.6/released/8.8.1/idxassoc/8.6.0.html | HTML | mit | 7,511 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>elpi: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.05.0-2.0.1/released/8.14.0/elpi/1.9.2.html | HTML | mit | 7,914 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>presburger: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.03.0-2.0.5/released/8.5.2/presburger/8.9.0.html | HTML | mit | 7,222 |
require 'wiringpi2'
module Pi
class SegmentDisplay
class << self
SEGMENTS = {
A: 8,
B: 12,
C: 2,
D: 0,
E: 7,
F: 9,
G: 3,
DP: 13
}.freeze
def display(number)
digit = number.to_i % 10
map = MAPS[digit]
displa... | NGMarmaduke/pi | lib/pi/segment_display.rb | Ruby | mit | 3,128 |
# encoding: utf-8
#
# Jekyll category pagination.
# https://github.com/MrWerewolf/jekyll-category-pagination
#
# Copyright (c) 2012 Ryan Seto <mr.werewolf@gmail.com>
# Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
#
# Place this script into the _plugins directory of your Jekyll sit... | qiruiyin/qiruiyin.github.io | plugins/category_pagination.rb | Ruby | mit | 3,552 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Numerics;
public class Myon
{
public Myon() { }
public static int Main()
{
new Myon().calc();
return 0;
}
Scanner cin;
int Polygon;
int N;
int M;
... | imos/icfpc2016 | chokudai/85.cs | C# | mit | 24,774 |
<!doctype html>
<html lang="en">
<head>
<title>Code coverage report for src/components/</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="../../prettify.css" />
<link rel="stylesheet" href="../../base.css" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<style... | MinZhou2016/comp531 | hw5/coverage/src/components/index.html | HTML | mit | 3,585 |
package ftc.electronvolts.test.util;
import static org.junit.Assert.*;
import org.junit.Test;
import ftc.electronvolts.util.ControlLoop;
import ftc.electronvolts.util.ProportionalController;
public class ProportionalControllerTest {
@Test
public void testProportionalController() {
new ProportionalC... | FTC7393/state-machine-framework | src/ftc/electronvolts/test/util/ProportionalControllerTest.java | Java | mit | 3,989 |
module Metro
class Model
#
# A model property maintains a reference to another model. This property
# allows for an existing model to be more easily composed with other models.
#
# The model is stored as a hash which describes the model.
#
# @example Defining a model property with a block... | burtlo/metro | lib/metro/models/properties/model_property.rb | Ruby | mit | 2,322 |
<html>
<head>
<script>
// WAYS OF CREATING OBJECTS ---
// -----------------
// Mixture of Constructor and Prototype pattern
// -----------------
// declare data in Constructor and Methods in prototype
function Person() {
this.name = "Nicholas";
this.friends = ["Sam","Molly"];
}
Person.prototype.foo = function() ... | jkrajcir/SE319 | lab4/02_Examples/ex08_obj_objects.html | HTML | mit | 1,081 |
// flow-typed signature: 715c8753230e19bbaff4d8c2ee503f1a
// flow-typed version: <<STUB>>/babel-preset-stage-0_v^6.22.0/flow_v0.47.0
/**
* This is an autogenerated libdef stub for:
*
* 'babel-preset-stage-0'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to shar... | hannupekka/cocheck | flow-typed/npm/babel-preset-stage-0_vx.x.x.js | JavaScript | mit | 906 |
using System;
using System.IO;
using System.Linq;
using System.Web;
using System.Xml.Linq;
using SitecoreCognitiveServices.Feature.OleChat.Areas.SitecoreCognitiveServices.Models;
using SitecoreCognitiveServices.Foundation.SCSDK.Wrappers;
using SitecoreCognitiveServices.Foundation.MSSDK.Models.Language.Luis;
using Site... | markstiles/SitecoreCognitiveServices | src/Feature/OleChat/code/Intents/VersionIntent.cs | C# | mit | 2,115 |
"""nubrain URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.8/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class-bas... | NuChwezi/nubrain | nubrain/urls.py | Python | mit | 1,184 |
require_relative 'module'
module Scan
class SlackPoster
def run(results)
return if Scan.config[:skip_slack]
return if Scan.config[:slack_only_on_failure] && results[:failures] == 0
return if Scan.config[:slack_url].to_s.empty?
if Scan.config[:slack_channel].to_s.length > 0
channe... | luongm/fastlane | scan/lib/scan/slack_poster.rb | Ruby | mit | 2,038 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LispStyleExpressions;
namespace LispStyleExpressions.Functions {
class Greater : LispStyleFunction {
//pass to base class
public Greater(LispStyleExpressionEvaluator lang) : base(lang) { }
public... | t-c-/ExpressionEvaluators | src/ExpressionEvaluation/LispStyleExpressions/Functions/Greater.cs | C# | mit | 906 |
[](https://waffle.io/vapkarian/borderlands_parser)
Borderlands SHiFT codes parser
==================
Script for parsing Borderlands 2 and Borderlands Pre-Sequel SHiFT Codes from social networks and sending them by emai... | vapkarian/borderlands_parser | README.md | Markdown | mit | 1,972 |
#region License information
/*
The MIT License (MIT)
Copyright (c) 2015 Luiz Fernando Silva
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 ... | LuizZak/ZIDE | ZIDE/Services/Scripting/RealtimeSyntaxCheckService.cs | C# | mit | 28,523 |
local stringx = require 'pl.stringx'
local utils = require 'pl.utils'
local asserteq = require 'pl.test' . asserteq
local T = require 'pl.test'.tuple
local function FIX(s)
io.stderr:write('FIX:' .. s .. '\n')
end
-- isalpha
asserteq(T(stringx.isalpha''), T(false))
asserteq(T(stringx.isalpha' '), T(false))
asserteq... | stevedonovan/Penlight | tests/test-stringx.lua | Lua | mit | 15,082 |
@extends('templatePetugas')
@section('content')
<!-- **********************************************************************************************************************************************************
MAIN SIDEBAR MENU
**************************************************************************... | andresusanto/pplforbandung | 9sampah/resources/views/formIsiVolume.blade.php | PHP | mit | 5,571 |
$(document).ready(function() {
// <editor-fold defaultstate="collapsed" desc="Fonctions globales">
function addAjaxLoading(element, id) {
var loadingImage = $('#loading-image-path').attr('value');
element.parent('div').append('<img id="' + id + '" src="' + loadingImage + '" alt="loading" />');
... | omegas27/CAeSAR | web/js/adminResources.js | JavaScript | mit | 7,461 |
---
layout: post
category : reading notes
title: "unix环境高级编程"
tagline: ""
tags : [apue, unix]
--- | zswood/zswood.github.io | _posts/书籍笔记/unix环境高级编程.md | Markdown | mit | 115 |
<!DOCTYPE html>
<html lang="sv">
<head>
<meta charset="utf-8" />
<title>jkw at internet</title>
<link rel="stylesheet" href="/theme/css/main.css" />
<!--[if IE]>
<script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body i... | jkw/jkw.github.io | d/27.html | HTML | mit | 2,209 |
<!DOCTYPE html>
<?php
/**
* @var \Spiral\Debug\Snapshot $snapshot
* @var \Spiral\Core\ContainerInterface $container
* @var \Spiral\Debug\Debugger $debugger
*/
$highlighter = new \Spiral\Tokenizer\Hightligher(
$container->get(\Spiral\Tokenizer\TokenizerInterface::class),
[
'styles' ... | jwdeitch/spiral | source/views/exception.php | PHP | mit | 20,697 |
<!DOCTYPE html>
<html lang="en">
<head>
<!--5ETOOLS_CMP-->
<!--5ETOOLS_ANALYTICS-->
<!--5ETOOLS_ADCODE-->
<meta charset="utf-8">
<meta name="description" content="">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobi... | TheGiddyLimit/astranauta.github.io | races.html | HTML | mit | 7,224 |
Remember to amend JSON filename: first char - "_" should be replaced with "." and store the file in user's home directory.
| AndrewB82/web-home-automation-remote | Prerequisites/PS4-waker/Reminder.md | Markdown | mit | 123 |
import copySitecoreLibraries from './tasks/copy-sitecore-libraries';
import deploy from './tasks/deploy';
import nugetRestore from './tasks/nuget-restore';
import publishProjects from './tasks/publish-projects';
import publishTDS from './tasks/publish-tds';
export {
copySitecoreLibraries,
deploy,
nugetRestore,
... | jscarmona/gulp-ignite-sitecore | src/index.js | JavaScript | mit | 355 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>18 --> 19</title>
<link href="./../../assets/style.css" rel="stylesheet">
</head>
<body>
<h2>You have to be fast</h2>
<a href="./3c475ff64bd9d9aefe458c5a77aa79d8454da2d5f6a95cd55304f838671e6571.html">Teleport</a>
<hr>
... | simonmysun/praxis | TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/5ae70ba787da82030cc35888532ca28e69baf8da9a9e68245cf8bc71950292b6.html | HTML | mit | 550 |
'use strict'
const path = require('path')
const utils = require('./utils')
const webpack = require('webpack')
const config = require('../config')
const merge = require('webpack-merge')
const baseWebpackConfig = require('./webpack.base.conf')
const CopyWebpackPlugin = require('copy-webpack-plugin')
const HtmlWebpackPlug... | icai/vue2-calendar | build/webpack.prod.conf.js | JavaScript | mit | 5,546 |
require 'rake'
namespace :alphred do
desc 'Prepare a release, named after the directory'
task :release, [:version] => [:tag, :package]
desc 'Tag the current commit in git with VERSION'
task :tag, [:version] do |t, args|
version = args.fetch(:version)
git_status = `git status --porcelain`
fail <<-... | joshuajharris/dotfiles | Alfred.alfredpreferences/workflows/user.workflow.7CC242B6-984A-48B5-8B68-DA9C29C0EC44/vendor/bundle/ruby/2.0.0/gems/alphred-2.0.0/lib/alphred/tasks.rb | Ruby | mit | 1,062 |
<!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_25) on Thu Dec 03 23:38:17 CST 2015 -->
<title>Uses of Class Controller.EditStateOKListener</title>
<meta name="date" content="2015-12-03">
<li... | jakemanning/basketball-teams | Project5/doc/class-use/Controller.EditStateOKListener.html | HTML | mit | 4,038 |
/**
* Модуль класса точек двухмерной плоскости
*
* @module
*/
;
/**
* Класс точек двухмерной плоскости
*/
class Point
{
/**
* Координата по оси абсцисс
*/
public x: number;
/**
* Координата по оси ординат
*/
public y: number;
/**
* Класс точек двухмерной плоскости
*
* ... | EgorovRoom/study | scripts/src/moduls/point.ts | TypeScript | mit | 729 |
import {h, div, h1, h2} from '@cycle/dom'
const view = props$ => {
return props$.map(x => {
return div('.page2', [
h1('.content-subhead', ['Page 2']),
h1([`This is the second Page`]),
h2(['Counter : ' + x])
])
});
};
export default view
| rmoliva/cycle_js1 | src/dialogue/pages/page2/page2-view.js | JavaScript | mit | 269 |
package com.rgi.suite.cli;
import com.rgi.suite.cli.tilestoreadapter.HeadlessTileStoreAdapter;
import org.gdal.osr.SpatialReference;
import org.kohsuke.args4j.CmdLineException;
import org.kohsuke.args4j.CmdLineParser;
import org.kohsuke.args4j.Option;
import javax.activation.MimeType;
import javax.activation.MimeType... | GitHubRGI/swagd | RGISuite/src/main/java/com/rgi/suite/cli/HeadlessOptions.java | Java | mit | 13,871 |
---
description: Next.js supports including CSS files as Global CSS or CSS Modules, using `styled-jsx` for CSS-in-JS, or any other CSS-in-JS solution! Learn more here.
---
# Built-In CSS Support
<details open>
<summary><b>Examples</b></summary>
<ul>
<li><a href="https://github.com/vercel/next.js/tree/canary/e... | flybayer/next.js | docs/basic-features/built-in-css-support.md | Markdown | mit | 9,536 |
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
namespace East.Tool.UseCaseTranslator.Controllers
{
/// <summary>
/// UseCaseTranslator操作種別
/// </summary>
public sealed class UseCaseTranslatorOperationType : OperationType
{
//
// クラスフィールド・プロパティ... | east-pmo/UseCaseTranslator | UseCaseTranslator/Controllers/UseCaseTranslatorOperationType.cs | C# | mit | 2,464 |
---
layout: page
title: "Plugin Hooks"
categories: [plugins]
---
| euantorano/MyBB-Hook-Finder | src/header.md | Markdown | mit | 67 |
<?php
/**
* The WordPress Plugin Boilerplate.
*
* A foundation off of which to build well-documented WordPress plugins that also follow
* WordPress coding standards and PHP best practices.
*
* @package Post_Type_Contactos
* @author Matias Esteban <estebanmatias92@gmail.com>
* @license MIT License
* @lin... | estebanmatias92/post-type-contactos | post-type-contactos.php | PHP | mit | 1,443 |
/** global registry for CLI commands *****************************************
* *
* Copyright (c) 2018 Florian Oetke *
* This file is distributed under the MIT License *
* ... | lowkey42/mirrage | src/mirrage/utils/include/mirrage/utils/console_command.hpp | C++ | mit | 5,182 |
using System.Linq;
using uWebshop.Common;
using uWebshop.Domain;
using uWebshop.Domain.Helpers;
using uWebshop.Domain.Interfaces;
namespace uWebshop.Umbraco.Businesslogic
{
internal class OrderEvents
{
public static void OrderStatusChanged(OrderInfo orderInfo, AfterOrderStatusChangedEventArgs e)
{
Log.Instan... | uWebshop/uWebshop-Releases | Umbraco/uWebshop.Umbraco/Businesslogic/OrderEvents.cs | C# | mit | 12,003 |
function Update-DbaMaintenanceSolution {
<#
.SYNOPSIS
Download and Update SQL Server Maintenance Solution created by Ola Hallengren (https://ola.hallengren.com)
.DESCRIPTION
This script will download and update the latest version of SQL Server Maintenance Solution created by Ola Hallengren.... | wsmelton/dbatools | functions/Update-DbaMaintenanceSolution.ps1 | PowerShell | mit | 8,199 |
[简体中文介绍](https://github.com/cielpy/build_ipa/blob/master/README-zh.md)
A build tool use automation build ipa and distrabution to test.
### Feature
- Pull code scheduled, build depend on lastest Git commit message
- Pull code before build
- Filter log between two build
- Upload IPA to fir.im after build succces
- Upl... | cielpy/build_ipa | README.md | Markdown | mit | 7,014 |
from django.contrib import admin
from .models import SimpleModel, Type, FKModel
admin.site.register(SimpleModel)
admin.site.register(Type)
admin.site.register(FKModel)
| wq/django-data-wizard | tests/data_app/admin.py | Python | mit | 170 |
public abstract class Pieza
{
public int Valor;
public byte Color;
public byte ColorOp;
public bool Generar; //¿Debe generar movimientos en el destino?
public int[][][] BdMov;
public abstract void GenerarBdMov();
public abstract void DeterminarDireccion(int esq,int orides,out int dir, out int cmz);
... | sideral/aledrez | Servicio/piezas.cs | C# | mit | 18,967 |
// -*- C++ -*-
// $Id: Signature.h 80826 2008-03-04 14:51:23Z wotte $
// File: Signature.h
// Author: Phil Mesnier
#ifndef _SIGNATURE_H_
#define _SIGNATURE_H_
// Signature class encapsulates a single line of nm output. This line may be
// either an "undefined" name to be resolved, or text or data which resolves
... | binghuo365/BaseLab | 3rd/ACE-5.7.0/ACE_wrappers/apps/soreduce/Signature.h | C | mit | 1,140 |
<?php
namespace Caravane\Bundle\EstateBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
class PhotoType extends AbstractType
{
/**
* @param FormBuilderInterface $builder
* @param array $... | EricGrivilers/lion | src/Caravane/Bundle/EstateBundle/Form/PhotoType.php | PHP | mit | 925 |
<?php
/**
* Moduł ogólny
*
*
*/
/**
* Kontroler bazowy do dziedziczenia
*
* PHP version 7.0
*
*
* @category PHP
* @package Default
* @author Mariusz Wintoch <biuro@informatio.pl>
* @copyright 2016 (c) Informatio, Mariusz Wintoch
*/
abstract class BaseController extends Zend_Controller_Action
{
... | Faqqundo/quiz | application/controllers/BaseController.php | PHP | mit | 1,510 |
#!/bin/sh
[ -z $1 ] && echo "usage: sh check-list-2.sh iplist\" " && exit
for svrlist in `grep "^[^#]" $1`
do
echo -e "\033[35;2m>>Check [$svrlist]\033[0m"
remote=`echo $svrlist | awk -F : '{print $2}'`
ssh -q root@$remote "ps -ef | grep -i resin | grep -v grep" > /dev/null
if [ 0 -eq $? ]; then
echo -e " resin OK"
els... | lgh8820/ansible-test | OperationsShell/getserverinfo/check-list-2.sh | Shell | mit | 1,168 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ModClient.Attributes
{
/// <summary>
/// A method-level attribute indicating that the annotated method is to be used as a replacement for the method
/// specified in the attribute.
/// </summary>
/// <s... | msmith57/7dtd-mods | ModdingFramework/ModClient/Attributes/ReplaceAttribute.cs | C# | mit | 1,253 |
/*
* Interface.cpp
*
* Created on: Jun 25, 2015
* Author: jiabin
*/
#include <strings.h>
#include "Interface.h"
namespace gwc {
namespace server {
char Interface::lastErr[128];
Interface::Interface() {
id = 0;
sock = -1;
channelType = 0;
lastErr[0] = 0;
bzero(×tamp, sizeof(timestamp));
bzero(&... | jiabinruan/gowithcool | server/Interface.cpp | C++ | mit | 428 |
---
layout: publication
type: "conference"
authors: "Ekram, F., Barazandegan, K.E. Kwok, R. Bhushan Gopaluni"
order: 52
year: 2015
title: "Evaluation of treatment regimens for blood glucose control in type II diabetic patients using mathematical modeling"
journal: "In proceedings of 34th Chinese Control Conference, Nan... | daisubc/daisubc.github.io | _papers/2015-ekram-evaluation-of-treatment-regimens-for-in.md | Markdown | mit | 362 |
package com.cezarykluczynski.stapi.etl.content_language.dto;
import lombok.AllArgsConstructor;
import lombok.Data;
@Data
@AllArgsConstructor(staticName = "of")
public class ContentLanguageDTO {
private String name;
private String code;
}
| cezarykluczynski/stapi | etl/src/main/java/com/cezarykluczynski/stapi/etl/content_language/dto/ContentLanguageDTO.java | Java | mit | 245 |
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { Store, StoreModule } from '@ngrx/store';
import { AppComponent } from './app.component';
import { Child } from './child.component';
import { Child2 } from './child2.component';
import { appState } fro... | patrickkee/angular2-sandbox | app/app.module.ts | TypeScript | mit | 562 |
For documentation please visit the following URL:
https://devkit.tiwiconnect.com/advanced/liftserver-python/
| lsresearch/liftserver-python | README.md | Markdown | mit | 110 |
<?php
namespace Gis\Domain\Spatial\Model\Layer;
use Gis\Core\DataProvider\BaseDataProvider;
use Gis\Core\DataProvider\QueryBuilder;
use Gis\Core\DataProvider\IDataStruct;
use Gis\Core\Connection\IConnectionFactory;
/**
* The DataProvider used to run SQL queries against the layers table
*/
class LayerData... | manatok/gis | src/Gis/Domain/Spatial/Model/Layer/LayerDataProvider.php | PHP | mit | 5,206 |
/**********************************************************************
Copyright (c) 2016 Advanced Micro Devices, Inc. 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... | GPUOpen-LibrariesAndSDKs/RadeonProRender-Baikal | Baikal/Utils/cl_uberv2_generator.cpp | C++ | mit | 24,981 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.