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 |
|---|---|---|---|---|---|
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
... | michaellindon/michaellindon.github.io | software/distributions/posterior-predictive/index.html | HTML | mit | 7,360 |
<?php
include $_SERVER['DOCUMENT_ROOT'] . '/OGBCChat/config.php';
include load_header("sessionHeader.php");
echo $_SESSION['error'];
include load_footer("universalFooter.php");
?> | TheBCCrew/OGBCChat | displayError.php | PHP | mit | 183 |
/*BHEADER**********************************************************************
* (c) 1997 The Regents of the University of California
*
* See the file COPYRIGHT_and_DISCLAIMER for a complete copyright
* notice, contact person, and disclaimer.
*
* $Revision: 21217 $
********************************************... | ensemblr/llvm-project-boilerplate | include/llvm/projects/test-suite/MultiSource/Benchmarks/ASCI_Purple/SMG2000/timing.h | C | mit | 4,381 |
<!DOCTYPE html>
<html lang="en">
<head>
<title>IOU</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="viewport" id="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="format-detection" cont... | jeasonstudio/iou | index.html | HTML | mit | 4,741 |
SoundexExample
==============
C# Soundex algorithm implementation.
This project is licensed under the terms of the MIT license.
| rsingh85/SoundexAlgorithm | README.md | Markdown | mit | 130 |
var namespacehryky_1_1log =
[
[ "AutoElapsed", "structhryky_1_1log_1_1_auto_elapsed.html", null ],
[ "level_type", "namespacehryky_1_1log.html#a6005efaf1fc45416ed6aa211f939993f", null ],
[ "writer_type", "namespacehryky_1_1log.html#a855ba68dea65f57a39b7a1cb03aee800", null ],
[ "write", "namespacehryky_1... | hiroyuki-seki/hryky-codebase | doc/html/namespacehryky_1_1log.js | JavaScript | mit | 376 |
EXECUTABLE = swpathtracer
CXX = g++
CXXFLAGS = -std=c++11 -Wall -Wextra -Wpedantic -fopenmp
ifeq ($(DEBUG), 1)
CXXFLAGS += -DDEBUG -O0 -g3
else
CXXFLAGS += -DNDEBUG -O3 -g0
endif
CPPFLAGS += -MMD \
-I../../../../work/common/glm-0.9.7.0 \
-I/usr/local/include
LDFLAGS = -L/usr/lib/gcc/x86_64-linux-gnu/4.8 \
... | capagot/RT-Template | Makefile | Makefile | mit | 654 |
require 'spec_helper'
# Specs in this file have access to a helper object that includes
# the QuizHelper. For example:
#
# describe QuizHelper do
# describe "string concat" do
# it "concats two strings with spaces" do
# helper.concat_strings("this","that").should == "this that"
# end
# end
# end
desc... | jparbros/magnolia_cream | spec/helpers/quiz_helper_spec.rb | Ruby | mit | 400 |
<!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_19) on Fri Oct 29 16:39:56 MSD 2010 -->
<TITLE>
Uses of Class org.apache.poi.ss.usermodel.CellValue (POI API Documentation)
</TITLE>
<META ... | nimbleapps/export_to_spreadsheet | lib/apache-poi/docs/apidocs/org/apache/poi/ss/usermodel/class-use/CellValue.html | HTML | mit | 15,121 |
/****************************************************************************
Copyright (c) 2011-2012 cocos2d-x.org
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation... | zry656565/MoonWarriors | frameworks/cocos2d-html5/extensions/cocostudio/armature/CCBone.js | JavaScript | mit | 19,960 |
#!/bin/sh
echo \
'{
"query": "mutation toggleTodo($id: String!) { toggleTodo(id: $id) { completed __typename } }",
"variables": {"id": "2"},
"operationName": "toggleTodo"
}' | http post http://localhost:4000/graphql content-type:application/json
# | jq -Mc
| yatsu/react-tornado-graphql-example | tornado/test_scripts/toggle.sh | Shell | mit | 270 |
# Push server for HromadskeTV app
Sends push notifications to the HromadskeTV apps.
[](https://travis-ci.org/mcfedr/hrompushserver)
[... | mcfedr/hrompushserver | README.md | Markdown | mit | 786 |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
... | fhoring/autorest | src/generator/AutoRest.NodeJS.Tests/Expected/AcceptanceTests/RequiredOptional/operations/implicit.js | JavaScript | mit | 31,107 |
/*!
* Bootstrap v3.3.6 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under the MIT license
*/
if (typeof jQuery === 'undefined') {
throw new Error('Bootstrap\'s JavaScript requires jQuery')
}
+
function($) {
'use strict';
var version = $.fn.jquery.split(' ')[0].split('.')
... | octapush/octapushJS | docs/assets/bootstrap/js/bootstrap.js | JavaScript | mit | 75,339 |
/*
* SonarScanner for MSBuild
* Copyright (C) 2016-2019 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 o... | SonarSource/sonar-msbuild-runner | src/SonarScanner.MSBuild.Tasks/TaskUtilities.cs | C# | mit | 3,991 |
/*!
*In place to fix positioning of side bare with dynamic side bar and content and side bar is longer than the page content
*/
.wrapper
{
min-height:100%;
width:100%;
position:relative;
background-color:Black;
display:inline-block;
}
.sidebar
{
width:20%;
top:0px;
left:0px;
bott... | Tomcuzz/OctaHomeAutomation | OctaHomeCore/static/css/sidebar-scroll-fixer.css | CSS | mit | 511 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<!-- Standard Head Part -->
<head>
<title>NUnit - Ignore</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-US">
<link rel="stylesheet" type="text/css" href="nunit.css">
<link rel="sh... | mvba/ExcelMapper | tools/nunit/doc/ignore.html | HTML | mit | 6,414 |
<!--导入配置界面-->
<div class="full-syc-modal">
<div class="row">
<div class="col-md-12">
<div class="full-syc-title">
<label><input type="checkbox" ng-model="$ctrl.fromOldData" ng-disabled="$ctrl.maps.length===0">从已有数据文件导入</label>
</div>
<div class="full-syc-h... | cagegit/DataTransFront | app/full_syc_view/import.component.html | HTML | mit | 9,557 |
"use strict";
import { GW_FRAME_REQ } from "./common";
export class GW_RTC_SET_TIME_ZONE_REQ extends GW_FRAME_REQ {
// /**
// * Creates an instance of GW_RTC_SET_TIME_ZONE_REQ.
// *
// * @param {string} [TimeZoneName="localtime"] Time zone name, e.g. IANA time zones. See https://github.com/SpiritI... | MiSchroe/klf-200-api | src/KLF200-API/GW_RTC_SET_TIME_ZONE_REQ.ts | TypeScript | mit | 4,384 |
//! [GET /_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}/enabled](https://matrix.org/docs/spec/client_server/r0.6.0#get-matrix-client-r0-pushrules-scope-kind-ruleid-enabled)
use ruma_api::ruma_api;
use super::RuleKind;
ruma_api! {
metadata {
description: "This endpoint gets whether the specified pus... | ruma/ruma-client-api | src/r0/push/get_pushrule_enabled.rs | Rust | mit | 1,011 |
using SoundDevices;
namespace SoundDeviceRemotes
{
public class SpeakersRemote
{
public static ISoundDevice GetSoundDevice()
{
return new Speakers();
}
}
}
| dmarkov00/Design-Patterns | Command Pattern/SoundDeviceRemotes/SpeakersRemote.cs | C# | mit | 208 |
#!/usr/bin/env bash
declare -A params=$6 # Create an associative array
declare -A headers=${9} # Create an associative array
declare -A rewrites=${10} # Create an associative array
paramsTXT=""
if [ -n "$6" ]; then
for element in "${!params[@]}"
do
paramsTXT="${paramsTXT}
fastcgi_param ${el... | svpernova09/homestead | scripts/site-types/wordpress.sh | Shell | mit | 4,213 |
<?php
// Composer autoloading
if (file_exists('vendor/autoload.php')) {
$loader = include 'vendor/autoload.php';
}
$zf2Path = false;
if (is_dir('vendor/ZF2/library')) {
$zf2Path = 'vendor/ZF2/library';
} elseif (getenv('ZF2_PATH')) { // Support for ZF2_PATH environment variable or git submodule
$zf2... | arvind2110/ZF2-Collection-Form | init_autoloader.php | PHP | mit | 999 |
<!DOCTYPE html>
<html>
<head>
<title>birds</title>
<style type="text/css">
body{font-family: sans-serif}
/*input{display: block}*/
#map {
height: 500px;
width: 500px;
margin-bottom: 30px;
}
</style>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta ... | benfoxall/birds | public/map.html | HTML | mit | 5,701 |
@extends('layouts.app')
@section('content')
<div class="container m-t-2">
@foreach($users as $user)
<h3><a href="/players/{{ $user->username }}">{{ $user->username }}</a></h3>
@endforeach
</div>
@endsection | g33kidd/bracket | resources/views/site/players.blade.php | PHP | mit | 213 |
OUT_DIR=./bin
rm *.o
rm $OUT_DIR/*
| odrevet/generic_data_structures | clean.sh | Shell | mit | 36 |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>enable_daemon_serve (Grit::Repo)</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
... | guillermo/ginst | vendor/plugins/grit/doc/classes/Grit/Repo.src/M000474.html | HTML | mit | 927 |
using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityStandardAssets.CrossPlatformInput;
using UnityStandardAssets.Vehicles.Car;
public class Environment : MonoBehaviour {
... | Amathlog/rl-unity | simulator/Assets/Scripts/Environment.cs | C# | mit | 10,767 |
#!/bin/bash
cd ~/Sites/sgdialer/docs
sphinx-apidoc --full -H "sgdialer" -A "Michael Andrew" -V "1.0" -R "RC1" -o . ../src
make clean
make html | HAZARDU5/sgdialer | docs/generate.sh | Shell | mit | 142 |
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Responders::PaginateResponder do
subject(:json) do
action.call
JSON.parse(response.body)
end
let(:resource) { ArModel.all }
let(:method) { :get }
let(:params) { {format: :json} }
let(:action) { -> { send(method, :index, par... | jgraichen/paginate-responder | spec/responders/paginate_responder_spec.rb | Ruby | mit | 6,158 |
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerate... | Kethsar/CS235AM | Lab 3/WhoSaidIt/WhoSaidIt/Resources/Resource.Designer.cs | C# | mit | 2,859 |
#!/usr/bin/env bash
cat << "EOF"
.`
-dMMs
+MMMMMo
.dMMMMMMN-
+NMMMMMMMMd`
`hMMMMMMMMMMMo
-mMMMMMMMMMMMMN.
... | adafruit/Adafruit-Occidentalis | addrepo-pin.sh | Shell | mit | 2,337 |
# coding: UTF-8
import unittest
import play_file
class TestAssemblyReader(unittest.TestCase):
def test_version_reader(self):
assembly_reader = play_file.AssemblyReader()
version = assembly_reader.get_assembly_version('AssemblyInfo.cs')
self.assertEqual(version, '7.3.1.0210')
def test_... | biztudio/JustPython | syntaxlab/src/test_play_file.py | Python | mit | 570 |
<?php
namespace FlickrDownloadr\Tool;
class SpeedFormater
{
/** @var \FlickrDownloadr\Tool\FilesizeFormater */
private $filesizeFormater;
function __construct(\FlickrDownloadr\Tool\FilesizeFormater $filesizeFormater)
{
$this->filesizeFormater = $filesizeFormater;
}
/**
* @param int $bytes
* @param float... | michalsanger/cli-flickr-downloadr | src/Tool/SpeedFormater.php | PHP | mit | 572 |
/*=============================================================================
Copyright (c) 2012, Ludo Sapiens Inc. and contributors.
See accompanying file LICENSE.txt for details.
=============================================================================*/
#include <Fusion/Widget/Canvas.h>
#include <Fusion/... | LudoSapiens/Dev | Projects/Fusion/Widget/Canvas.cpp | C++ | mit | 7,948 |
/*
* This file is part of the µOS++ distribution.
* (https://github.com/micro-os-plus)
* Copyright (c) 2015 Liviu Ionescu.
*
* 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
... | micro-os-plus/cmsis-plus | include/cmsis-plus/posix-io/redefinitions.h | C | mit | 3,341 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>HomelessNet | Log in</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="vie... | dpkshrma/SocialCops | hln/templates/login.html | HTML | mit | 3,240 |
# Changelog
Description here.
## [0.0.1] - YYYY-MM-DD
### Added
- Feature
- Bug fix
- Detail of releases
If you need know more about CHANGELOG, access [Keep a changelog](http://keepachangelog.com/en/1.0.0/).
| roneichiarandi/skeleton-php | docs/examples/CHANGELOG.md | Markdown | mit | 210 |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="A simeple filepress blog theme.">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<title>${site.title} | ${page.title}</t... | filepress/filepress | manualTesting/themes/standard/layouts/layout.html | HTML | mit | 2,097 |
#include "Log.h"
#include "Socket.h"
#include <string.h>
#include <iostream>
#include <atomic>
#define SOCKET_MAX_CONNECTIONS 20
#if (defined __CYGWIN__ || defined __GNUC__)
#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#define SOC... | Eelco81/server-test-project | Lib/Core/Src/Socket.cpp | C++ | mit | 8,470 |
CREATE OR REPLACE FUNCTION sp_cancela_reserva()
RETURNS trigger AS
$BODY$
begin
insert into log_cancela_reserva(data,id_reserva) values(now(),old.id_reserva);
return null;
end;
$BODY$
LANGUAGE plpgsql VOLATILE
COST 100;
ALTER FUNCTION sp_cancela_reserva()
OWNER TO postgres;
create trigger tr_cancela_reserv... | ceciliassis/UFU | hotel-living-ppi2/sql/8.sql | SQL | mit | 1,892 |
# -*- coding: utf-8 -*-
"""
Created on Tue Mar 14 02:17:11 2017
@author: guida
"""
import json
import requests
def get_url(url):
response = requests.get(url)
content = response.content.decode("utf8")
return content
#Json parser
def get_json_from_url(url):
content = get_url(url)
j... | DiegoGuidaF/telegram-raspy | modules.py | Python | mit | 358 |
package com.reason.ide.console;
import com.intellij.execution.ui.ConsoleView;
import com.intellij.icons.AllIcons;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.CommonDataKeys;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.project.DumbAwareActi... | reasonml-editor/reasonml-idea-plugin | src/com/reason/ide/console/ClearLogAction.java | Java | mit | 918 |
#region Licence
/* The MIT License (MIT)
Copyright © 2014 Francesco Pighi <francesco.pighi@gmail.com>
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 limitat... | dstockhammer/Brighter | tests/Paramore.Brighter.Tests/CommandStore/Sqlite/When_writing_a_message_to_the_command_store.cs | C# | mit | 2,789 |
<?php
return array (
'id' => 'sonyericsson_xperia_acro_so02c_suban234',
'fallback' => 'sonyericsson_xperia_acro_ver1_sub02',
'capabilities' =>
array (
'device_os_version' => '2.3',
),
);
| cuckata23/wurfl-data | data/sonyericsson_xperia_acro_so02c_suban234.php | PHP | mit | 202 |
using System;
using System.Collections.Generic;
using AutomaticTypeMapper;
using Microsoft.Xna.Framework.Graphics;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Drawing.Processing;
using SixLabors.ImageSharp.Formats.Png;
using SixLabors.ImageSharp.Processing;
namespace EOLib.Graphics
{
[MappedType(BaseTy... | ethanmoffat/EndlessClient | EOLib.Graphics/NativeGraphicsManager.cs | C# | mit | 3,895 |
#ifndef _framesetting_h_
#define _framesetting_h_
#include <string>
#include <vector>
using namespace std;
#include "absxmlsetting.h"
class FrameSetting : public BasXmlSetting
{
public:
FrameSetting();
~FrameSetting();
bool loadFrame(int &start,int &end,std::string &prefix,std::string &postfix,float ... | zhwsh00/DirectFire-android | directfire_github/trunk/android_prebuild/libgamecore/include/gamecore/sys/framesetting.h | C | mit | 655 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Xml.Linq;
using TremAn.Decorators.AreaOfInterest;
using TremAn.Models.AreaOfInterest;
namespace TremAn.ViewModels.AreaOfInterest
{
public class TracerViewModel : INotifyPropertyChanged
{
public... | binao/TremAn | TremAn/ViewModels/AreaOfInterest/TracerViewModel.cs | C# | mit | 3,740 |
---
layout: post
title: Recruiting Top Technical Talent to Government
---
I have a salary line with $45,000, a backlog of analytical work going back to the Great Depression, and a dated position advertisement that begins by shouting "PERSONNEL SYSTEM EMPLOYMENT OPPORTUNITY." Sound familiar? If so, you may be a govern... | DanielHadley/DanielHadley.github.io | drafts/Recruiting.md | Markdown | mit | 1,160 |
module Gallery
VERSION = "0.0.1"
end
| mazharoddin/camaleon_cms_gallery | lib/gallery/version.rb | Ruby | mit | 39 |
/*-------------------------------------------------------------------------
This source file is a part of Whisperwind.(GameEngine + GamePlay + GameTools)
For the latest info, see http://lisuyong.com
Copyright (c) 2012 Suyong Li (79481268@qq.com)
Permission is hereby granted, free of charge, to any person obtaining a ... | harr999y/Whisperwind | Whisperwind/Whisperwind_GeneralSceneManager/src/ABTreeSceneNode.cpp | C++ | mit | 1,526 |
<div class="container-fluid">
<div class="jumbotron text-center">
<h2>Project: {{vm.currentProject.Name}}</h2>
<button ng-click="vm.redirect()" class="btn btn-primary pull-right">Add Commit</button>
<button ng-if="vm.isCollaborator" ng-click="vm.show = !vm.show" class="btn btn-primary pull-... | clangelov/TelerikAcademyHomework | 14_JavaScript-SPA/MySPAExam/MyWebClient/partials/projects/project-details.html | HTML | mit | 2,945 |
/*
* Copyright 2013 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkGpuBlurUtils_DEFINED
# define SkGpuBlurUtils_DEFINED
# if SK_SUPPORT_GPU
# include "src/gpu/GrRenderTargetContext.h"
# include "src/gpu/effects/GrTextureDoma... | satya-das/cppparser | test/e2e/test_master/skia/src/core/SkGpuBlurUtils.h | C | mit | 2,451 |
#undef SEQAN_ENABLE_TESTING
#define SEQAN_ENABLE_TESTING 1
#include <seqan/sequence.h>
#include <seqan/basic.h>
#include <seqan/file.h>
#include "PEMer_Lite.h"
int median(candidate &input) // erstellt den median muss noch an struct candidate angepasst werden
{
std::nth_element( begin(input.len), begin(... | bkahlert/seqan-research | raw/pmsb13/pmsb13-data-20130530/sources/427smdvbnknp0jra/2013-05-14T10-22-05.745+0200/sandbox/gruppe1/apps/PEMer_Lite/PEMer_Lite_test.cpp | C++ | mit | 8,765 |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2012-2014 Alan Aguiar alanjas@hotmail.com
# Copyright (c) 2012-2014 Butiá Team butia@fing.edu.uy
# Butia is a free and open robotic platform
# www.fing.edu.uy/inco/proyectos/butia
# Facultad de Ingeniería - Universidad de la República - Uruguay
#
# This p... | nvazquez/Turtlebots | plugins/butia/pybot/__init__.py | Python | mit | 1,171 |
module Transmat
class Money
module Arithmetic
def -@
Money.new currency, -amount
end
def == other
amount == other.amount && currencies_match?(other)
end
def eql? other
self == other
end
def <=> other
assert_matching_currencies other
... | juliogreff/transmat | lib/transmat/money/arithmetic.rb | Ruby | mit | 873 |
import json
import os
from pokemongo_bot import inventory
from pokemongo_bot.base_dir import _base_dir
from pokemongo_bot.base_task import BaseTask
from pokemongo_bot.human_behaviour import action_delay
from pokemongo_bot.services.item_recycle_worker import ItemRecycler
from pokemongo_bot.tree_config_builder import Co... | dmateusp/PokemonGo-Bot | pokemongo_bot/cell_workers/recycle_items.py | Python | mit | 5,073 |
---
layout: post
title: 农业知识图谱项目展示及说明
category: knowledgeGraph
tag: demo
author: Chen
---
Agriculture_KnowledgeGraph
demo:http://39.108.100.170:8000
github:https://github.com/qq547276542/Agriculture_KnowledgeGraph
欢迎star&fork~
### 命名实体识别
进入主页面,输入文本,即可看到以下命名实体和分词的结果(确保django和neo4j都处于开启状态):
 {
this.value = value;
... | bunnyc1986/leetcode | min-stack/src/MinStack.java | Java | mit | 1,302 |
# convenience makefile to boostrap & run buildout
# use `make options=-v` to run buildout with extra options
python = python2.7
options =
all: docs tests
coverage: htmlcov/index.html
htmlcov/index.html: README.rst src/lcm/buildout/*.py bin/coverage
@bin/coverage run --source=./src/lcm/buildout/ --branch bin/test
... | a25kk/lcm | Makefile | Makefile | mit | 1,457 |
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>js/sweetalert2.css">
<script src="<?php echo base_url(); ?>js/sweetalert2.min.js"></script>
<script>
function hapusData(education_id) {
var id = education_id;
swal({
title: 'Are You Sure ?',
text: 'This Dat... | jamboljack/hrdsystem | application/views/master/education_view.php | PHP | mit | 7,566 |
class TreeNode:
def __init__(self, x):
self.val = x
self.left = None
self.right = None
class Solution:
node = parent = None
def deleteNode(self, root: TreeNode, key: int) -> TreeNode:
# search for the node and its parent
self.findNodeAndParent(root, key)
if s... | shobhitmishra/CodingProblems | LeetCode/Session3/DeleteNodeBST.py | Python | mit | 2,274 |
public class Solution {
public int maxDepth(TreeNode root) {
if (root == null) {
return 0;
} else {
return 1 + Math.max(maxDepth(root.left), maxDepth(root.right));
}
}
} | caizixian/algorithm_exercise | LeetCode/104.Maximum Depth of Binary Tree.java | Java | mit | 225 |
<html>
<head>
<title>Image->6502 Assembly</title>
<style>
.hide {display:none}
</style>
</head>
<body>
<img id="sourceImage" src="chrome.jpg" class="hide"/>
<canvas id="workCanvas" width="32" height="32" class="hide"
style="border: 1px solid black"></canvas>
<p>
Drag and drop images (32x32 or smaller)... | wmhilton/img2asm6502 | index.html | HTML | mit | 1,050 |
<?php return unserialize('a:1:{i:0;O:27:"Doctrine\\ORM\\Mapping\\Column":9:{s:4:"name";s:19:"ville_nom_metaphone";s:4:"type";s:6:"string";s:6:"length";i:22;s:9:"precision";i:0;s:5:"scale";i:0;s:6:"unique";b:0;s:8:"nullable";b:1;s:7:"options";a:0:{}s:16:"columnDefinition";N;}}'); | thamerbelfkihthamer/EbookShop | app/cache/dev/annotations/ab2878a24d5808fe5d63cb68ce7efff18a379f64$villeNomMetaphone.cache.php | PHP | mit | 279 |
/**
*
*/
package com.velocity.enums;
/**
* This Enum defines the values for ApplicationLocation
*
* @author Vimal Kumar
* @date 12-March-2015
*/
public enum ApplicationLocation {
HomeInternet, NotSet, OffPremises, OnPremises, Unknown
}
| nab-velocity/java-sdk | velocity-sdk/velocity-services/src/main/java/com/velocity/enums/ApplicationLocation.java | Java | mit | 249 |
/*
*
*/
package umlClassMetaModel.diagram.navigator;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.emf.common.ui.URIEditorInput;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.util.EcoreUtil;... | KuehneThomas/model-to-model-transformation-generator | src/MetaModels.UmlClass.diagram/src/umlClassMetaModel/diagram/navigator/UmlClassMetaModelNavigatorActionProvider.java | Java | mit | 4,850 |
var assert = require('assert');
describe('src/components/model/classes/Collection', function () {
var Collection = require('../../../../src/components/model/classes/Collection');
var collection;
var handler = function (event, changes) {
callbacks[event]++;
};
var callbacks = {
add:... | moduleon/nucleon | test/components/model/classes/Collection.js | JavaScript | mit | 2,216 |
using System.IO;
using System.Numerics;
using OpenSage.Mathematics;
namespace OpenSage.FileFormats.W3d
{
public sealed class W3dRingHeader
{
public uint ChunkType { get; private set; }
public uint ChunkSize { get; private set; }
public uint Version { get; private set; }
publ... | feliwir/openSage | src/OpenSage.FileFormats.W3d/W3dRingHeader.cs | C# | mit | 2,978 |
/**
* boot/middleware.js
* Express middleware
*/
| swhite24/react-todo-exploration | server/boot/middleware.js | JavaScript | mit | 52 |
local pngEncode = require('libs.image_ops.png_encode')
local pngDecode = require('libs.image_ops.png')
local min = math.min
local max = math.max
local floor = math.floor
local png = {}
local function clamp(a)
return max(0, min(a, 255))
end
function png:getPixel(x, y) -- explicit
local i = (x + self.width * y) *... | LazyShpee/discord-egobot | libs/png.lua | Lua | mit | 2,024 |
/*
* This file is part of TechReborn, licensed under the MIT License (MIT).
*
* Copyright (c) 2018 TechReborn
*
* 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, inc... | Dimmerworld/TechReborn | src/main/java/techreborn/tiles/TileGenericMachine.java | Java | mit | 3,620 |
<?php
namespace Test\AppBundle\API\Details;
use AppBundle\API\Details;
use Tests\AppBundle\API\WebserviceTestCase;
class TraitsTest extends WebserviceTestCase
{
private $em;
private $traitDetails;
public function setUp()
{
$kernel = self::bootKernel();
$this->em = $kernel->getContai... | molbiodiv/fennec | tests/AppBundle/API/Details/TraitsTest.php | PHP | mit | 12,335 |
<!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>写在学期初:年中总结与规划</title>
<meta name="description" content="转眼已经成为一枚研二老学姐了,趁学期初不算太忙碌,对上半年进行一下小小的总结,并给自己下半年列个To do list。望每一天都充实而有... | wingcastxp/wingcastxp.github.io | _site/Blog/review-and-plan/index.html | HTML | mit | 16,138 |
export const getUrlForAbsolutePath = (path: string) => {
return path.split('pages').pop().replace('.md', '')
}
export const getJobPath = (path: string) => {
return path.split('jobs').pop().replace('.md', '')
}
export const getFileNameOnly = (path: string) => {
return path.split('/').pop().replace('.md', '')
}
... | bright/new-www | src/helpers/pathHelpers.ts | TypeScript | mit | 607 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package elektra;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.io.BufferedOutputStream;
import java... | yanhongwang/TicketBookingSystem | src/elektra/WebChangeCustomerPassword.java | Java | mit | 14,526 |
import React from 'react';
import Status from 'components/Status';
import renderer from 'react-test-renderer';
describe('Status component', () => {
function getComponent(piecesLeftCount) {
return renderer.create(
<Status piecesLeftCount={piecesLeftCount} />
);
}
it('should show pieces left', () =>... | dawid-drelichowski/puzzle-react-redux | src/js/tests/components/Status.test.js | JavaScript | mit | 507 |
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
FOUNDATION_EXPORT double Pods_DTImageScrollViewDemoVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_DTImageScrollViewDemoVersionString[];
| daront/DTImageScrollView | Pods/Target Support Files/Pods-DTImageScrollViewDemo/Pods-DTImageScrollViewDemo-umbrella.h | C | mit | 197 |
package com.ke2g.cued_recall;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.v... | ke2g/cuedRecall | app/src/main/java/com/ke2g/cued_recall/LoginActivity.java | Java | mit | 5,334 |
package BusinessLogic.ConnectionStates;
import BusinessLogic.ActualConnection;
import BusinessLogic.Message;
public class MessageMenuState implements ConnectionState{
public void dial(String key, ActualConnection connection)
{
if (key.equals("1"))
{
String output = "";
Messag... | PatriciaRosembluth/VoiceMailSimulator | src/BusinessLogic/ConnectionStates/MessageMenuState.java | Java | mit | 1,243 |
<!doctype html>
<!--
Copyright (c) 2014 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 limitatio... | lxfschr/spaces-design | src/index-build.html | HTML | mit | 2,098 |
namespace Nettle.Compiler.Parsing
{
using Nettle.Compiler.Parsing.Blocks;
using System;
using System.Linq;
/// <summary>
/// Represents a model binding code block parser
/// </summary>
internal sealed class ModelBindingParser : NettleParser, IBlockParser
{
/// <summary>
... | craigbridges/Nettle | src/Nettle/Compiler/Parsing/ModelBindingParser.cs | C# | mit | 2,245 |
---
---
<!doctype html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Photo - A History of UCSF</title>
<link href='http://fonts.googleapis.com/css?family=G... | mizejewski/ucsf-history-website | building_photo11.html | HTML | mit | 1,750 |
var struct_l_p_c___r_t_c___type_def =
[
[ "ALDOM", "struct_l_p_c___r_t_c___type_def.html#aae1199a3f1f40f90aba18aee4d6325fd", null ],
[ "ALDOW", "struct_l_p_c___r_t_c___type_def.html#a5f56710f005f96878defbdb8ef1333c2", null ],
[ "ALDOY", "struct_l_p_c___r_t_c___type_def.html#a4c7ceb477c4a865ae51f5052dd558667... | NicoLingg/TemperatureSensor_DS1621 | html/struct_l_p_c___r_t_c___type_def.js | JavaScript | mit | 5,285 |
# coding=utf-8
"""
Collects all number values from the db.serverStatus() command, other
values are ignored.
#### Dependencies
* pymongo
"""
import diamond.collector
from diamond.collector import str_to_bool
import re
import zlib
try:
import pymongo
pymongo # workaround for pyflakes issue #13
except Impo... | metamx/Diamond | src/collectors/mongodb/mongodb.py | Python | mit | 12,462 |
Building Krust
==============
Krust comes with a CMake build system.
On Linux
--------
For a debug makefile build do the following:
cd build/debug
ccmake ../../
# press "c" to configure
# Set VULKAN_INCLUDE_DIRECTORY and VULKAN_LIBRARY_DIRECTORY
# to locations in which you have a ... | ahcox/krust | BUILD.md | Markdown | mit | 3,119 |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Projectile : MonoBehaviour {
public float duration = 1.0f;
public int damage = 1;
public bool destroyOnHit = false;
void Start () {
}
void Update () {
if (duration > 0.0f) {
duration -... | sasvdw/LD37 | Unity/LD37/Assets/Scripts/Items/Projectile.cs | C# | mit | 794 |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
var RemoveTileAt = require('./RemoveTileAt');
var WorldToTileX = require('./WorldToTileX');
var WorldToTileY = require... | pixelpicosean/phaser | src/tilemaps/components/RemoveTileAtWorldXY.js | JavaScript | mit | 1,442 |
namespace Gestion.Forms {
partial class Fibonachi {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <para... | Altairseven/Gestion | Forms/Fibonachi.Designer.cs | C# | mit | 3,752 |
# -*- coding: utf-8 -*-
# @Author: yancz1989
# @Date: 2017-01-17 23:43:18
# @Last Modified by: yancz1989
# @Last Modified time: 2017-02-22 20:33:29
import utilities as util
from utilities import parse_image_file, filterBoxes, voxel_2_world, mkdir
import numpy as np
import os
import json
import sys
from PIL import I... | yancz1989/cancer | scan.py | Python | mit | 2,610 |
# frozen_string_literal: true
class Passport
include Mongoid::Document
field :number, type: String
field :country, type: String
field :exp, as: :expiration_date, type: Date
embedded_in :person, autobuild: true
end
| mongodb/mongoid | spec/support/models/passport.rb | Ruby | mit | 227 |
/**
* Created by JiaHao on 27/10/15.
*/
var fs = require('fs');
var path = require('path');
var normalizeNewline = require('normalize-newline');
function occurenceIndexes(inp, toFind) {
var indices = [];
var element = toFind;
var idx = inp.indexOf(element);
while (idx != -1) {
indices.push(i... | jiahaog/brat | lib/parser.js | JavaScript | mit | 2,364 |
module.exports.sum = function (arr, prop, exp) {
var total = 0
for (var i = 0, _len = arr.length; i < _len; i++) {
var value = arr[i][prop];
if (exp) {
if (arr[i][exp.field] == exp.value) {
total += value * 1;
}
} else {
total ... | inamvar/bean | util/array.js | JavaScript | mit | 375 |
{% macro case_tabs(selected,num,path, id) %}
<div class="section-tabs js-tabs clearfix mb20">
<ul>
{% set navs = [
{url:"timeline",label:"Timeline"},
{url:"not-testing",label:"Details"},
{url:"appointment-tab",label:"Appointment"},
{url:"not-testing",label:"Evidence"}
... | dwpdigitaltech/healthanddisability | app/views/fha/appointment-scenarios/scenario5/_macros_nav_scenario.html | HTML | mit | 567 |
---
layout: quilt
title: Black, White & Colorful
date: 2012-08-21 00:00:00
tags: frontpage
columnCSS: "large-6 columns"
css: "height: 370px; width: 100%;"
featuredImage: https://lh4.googleusercontent.com/Mz9NO1yxBrSMDYvsvK9HgUziYVQoyzcg98oE7P_wYDg=w470
featuredImageOnPage:... | silverforestquilts/silverforestquilts.github.io | _posts/Diana-Heiney/Black-White-Colorful/2012-08-21-Black-White-and-Colorful.md | Markdown | mit | 1,621 |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-comp-1489',
templateUrl: './comp... | angular/angular-cli-stress-test | src/app/components/comp-1489/comp-1489.component.ts | TypeScript | mit | 484 |
---
layout: page
title: Montgomery Financial Seminar
date: 2016-05-24
author: Michael Chase
tags: weekly links, java
status: published
summary: Fusce non ultrices urna. Aliquam congue.
banner: images/banner/meeting-01.jpg
booking:
startDate: 07/01/2017
endDate: 07/02/2017
ctyhocn: CHIRSHX
groupCode: MFS
publish... | KlishGroup/prose-pogs | pogs/C/CHIRSHX/MFS/index.md | Markdown | mit | 2,742 |
describe('Modules.Ellipsis.js', function() {
it('should exist with expected constructures', function() {
expect(moj.Modules.CaseCreation.init).toBeDefined();
});
});
| ministryofjustice/correspondence_tool_staff | spec/javascripts/modules/EllipsisSpec.js | JavaScript | mit | 174 |
---
layout: page
title: "RUSS 3231: SLAVIC LAUGHTER Statistics"
comments: true
description: "blanks"
keywords: "RUSS,3231,CU,Boulder"
---
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://dl.dropboxusercontent.com/s/pc42nxpaw1ea4o9/highcharts.js?dl=0"><... | nikhilrajaram/nikhilrajaram.github.io | courses/RUSS-3231.md | Markdown | mit | 2,638 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.