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 |
|---|---|---|---|---|---|
/*
* Copyright (c) 2009 - 2014 Deutsches Elektronen-Synchroton,
* Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; ei... | devsunny/app-galleries | dcache-nfs/src/main/java/org/dcache/nfs/v4/xdr/component4.java | Java | mit | 1,285 |
exports.pathResolver = function pathResolver(base, path) {
base = base.slice();
path = path.slice();
while (base.length && path[0] === '..') {
path.shift();
base.pop();
}
return base.concat(path);
};
exports.pathSpliter = function pathSpliter(path) {
var splitPath;
if (pa... | Mike96Angelo/Bars | lib/runtime/utils.js | JavaScript | mit | 1,501 |
"use strict";
var logger = require('./misc/debug.js');
var TPDU_Client = require('./tpdu_client.js');
var PDU_TYPE = require('./types.js').PDU_TYPE;
var S7_Req_Header = require('./types.js').S7_Req_Header;
var S7_ReqFun_PlcStop = require('./types.js').S7_ReqFun_PlcStop;
var S7_Client = function(host, rack, slot... | Lvhehehe/node-s7client | lib/s7_client.js | JavaScript | mit | 1,957 |
/*---------------------------------------------------------------------------
/*---------------------------------------------------------------------------
Ammo types
---------------------------------------------------------------------------
Ammo boxes that can be purchased in the F4 menu.
Add your custom ammo types ... | aStonedPenguin/fprp | gamemode/config/ammotypes.lua | Lua | mit | 2,040 |
using Newtonsoft.Json;
using Phaxio.ThinRestClient;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Phaxio.Resources.V2
{
public class PhoneNumber
{
public PhaxioClient PhaxioClient { private get; set; }
[JsonProper... | phaxio/phaxio-dotnet | Phaxio/Resources/V2/PhoneNumber.cs | C# | mit | 1,296 |
# encoding: utf-8
module IceNine
class Freezer
# A freezer class for handling Range objects
class Range < Object
# Deep Freeze a Range
#
# @example
# range = IceNine:Freezer::Range.deep_freeze('a'..'z')
# range.begin.frozen? # => true
# range.end.frozen? # => t... | suhongrui/gitlab | vendor/bundle/ruby/2.1.0/gems/ice_nine-0.10.0/lib/ice_nine/freezer/range.rb | Ruby | mit | 745 |
package dao;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.Date;
import java.util.UUID;
import bean.User;
/*
* @author Siying
* Data Access Object
*/
public class UserDao {
private Date date = new Date();
public void insertUser(User u) throws Exception {
Connection connection = ... | infsci2560sp16/full-stack-web-project-SiyingZhang | src/main/java/dao/UserDao.java | Java | mit | 2,479 |
module EventMachine
# Makes Net::IMAP.add_authenticator accessible through EM::IMAP and instances thereof.
# Also provides the authenticator method to EM::IMAP::Client to get authenticators
# for use in the authentication exchange.
#
module IMAP
def self.add_authenticator(*args)
Net::IMAP.add_authen... | ConradIrwin/em-imap | lib/em-imap/authenticators.rb | Ruby | mit | 790 |
## Synopises
Library for a custom arduino hall effect sensor speaking i2c to the raspberry pi
| leachj/arduinoHallSensor | README.md | Markdown | mit | 98 |
{% extends "granos_basicos/base.html" %}
{% block contenido %}
<style type="text/css">
#grafo1,#grafo2,#grafo3,#grafo4{
border: 1px solid #eee;
}
.panel-graficos .panel-heading{
margin-bottom:20px;
}
</style>
<div class="container-fluid">
<div class="col-xs-3 col-sm-3 col-md... | shiminasai/ciat_plataforma | templates/granos_basicos/productores/composicion_familiar.html | HTML | mit | 8,618 |
---
layout: page
title: What do you want to become better at?
permalink: /learn/
---
- [Front-End Development](/front-end-development) | neilhoff/neilhoff.github.io | _pages/learn.md | Markdown | mit | 141 |
using System;
using System.Collections.Generic;
namespace MonadSharp
{
public static class Maybe
{
public static Maybe<T> Some<T>(T value)
{
return Maybe<T>.NewSome(value);
}
public static Maybe<T> None<T>()
{
return Maybe<T>.None;
}
... | kallanreed/monadsharp | MonadSharp/Maybe.cs | C# | mit | 2,503 |
using System;
using System.Collections.Generic;
using System.Text;
namespace ExtraStandard
{
/// <summary>
/// DIN 66303 in der Fassung von 1986-11 (Deutsche Referenz-Version des 8-Bit-Code (DRV8))
/// </summary>
public class Din66303Drv8Encoding : Encoding
{
private static readonly char?[... | dataline-gmbh/ExtraStandard | src/Dataline.ExtraStandard/Din66303Drv8Encoding.cs | C# | mit | 5,285 |
{"res":{"code":"S001","coupon_list":[]}} | Taebu/prq | prq/include/view/coupon_info.php | PHP | mit | 40 |
<div class="event-wrap">
<div class="event-img-wrap">
<div class="card-image no-margin">
<a ui-sref="venvast.venues.details({slug: venue.slug})" style="background-image: url('{{ venue.getImageUrl() }}');">
<span><i class="fa fa-search"></i></span>
</a>
<di... | hlogeon/venvatst-angular | app/templates/venues/directives/venue-card.html | HTML | mit | 1,678 |
version https://git-lfs.github.com/spec/v1
oid sha256:9a780e07e8e76443bb024c3b81e3f0fd6b43faa74024bd26a78ac61292bc0c06
size 21167
| yogeshsaroya/new-cdnjs | ajax/libs/spf/2.1.2/boot-debug.js | JavaScript | mit | 130 |
<div class="commune_descr limited">
<p>
Saint-Jeannet est
une ville située dans le département des Alpes-Maritimes en Provence-Alpes-Côte d'Azur. Elle comptait 3 634 habitants en 2008.</p>
<p>À Saint-Jeannet le salaire moyen par mois par habitant se situe à approximativement 2 704 € net. C'est a... | donaldinou/frontend | src/Viteloge/CoreBundle/Resources/descriptions/06122.html | HTML | mit | 2,551 |
/**
* Created by NGUYENVU on 2/6/2016.
*/
var currentDir = window.location.origin + window.location.pathname + "#";
var urlUser = 'user';
var urlSearch = 'user/search';
var urlCreateUser = 'user/create';
var urlEditUser = 'user/edit';
var urlDeleteUser = 'user/delete';
var urlProject = 'project';
var urlProjectSea... | vunguyenvu35/foxes | public/foxes/scripts/root.js | JavaScript | mit | 514 |
<?php
namespace DotPlant\Store\components\calculator;
use DotPlant\Store\interfaces\PriceInterface;
use DotPlant\Store\models\warehouse\Warehouse;
/**
* Class OptionCalculator
*
* @package app\vendor\dotplant\store\src\components\calculator
*/
class OptionCalculator extends GoodsCalculator
{
/**
* @inhe... | DevGroup-ru/dotplant-store | src/components/calculator/OptionCalculator.php | PHP | mit | 800 |
# Settings specified here will take precedence over those in config/environment.rb
# The test environment is used exclusively to run your application's
# test suite. You never need to work with it otherwise. Remember that
# your test database is "scratch space" for the test suite and is wiped
# and recreated between... | dclausen/barcamp-sarasota | config/environments/test.rb | Ruby | mit | 975 |
using EdFiValidation.ApiProxy.Core.Models;
using EdFiValidation.ApiProxy.Models;
namespace EdFiValidation.ApiProxy.Helpers
{
public interface IUiModelMapper
{
T Mapper<T, TM>(T model)
where T : ModelBase
where TM : UiModelBase;
}
public class UiModelMapper : IUiModelMap... | ryanande/ApiProxy | src/ApiProxy/Helpers/UiModelMapper.cs | C# | mit | 518 |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="id_ID" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About phreak</source>
<translation type="unfinished"/>
</message>
<message>
<location line... | qtvideofilter/streamingcoin | src/qt/locale/bitcoin_id_ID.ts | TypeScript | mit | 112,552 |
---
title: "PiNet, a centralised user accounts and file storage system for a Raspberry Pi classroom."
layout: article
---
Editing the operating system outside of PiNet
--------------------------------------------------
Although PiNet allows you to perform most actions a standard user
would need to the Raspbian operat... | vlee489/PiNet.github.io | articles/advanced/editing-outside.md | Markdown | mit | 2,237 |
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>... | BuzzAcademy/idioms-moe-unformatted-data | all-data/20000-20999/20265-22.html | HTML | mit | 1,525 |
# buildout
## new buildout for mycarman
* `Source code @ GitHub <https://github.com/a25kk/walter>`_
* `Releases @ PyPI <http://pypi.python.org/pypi/walter>`_
* `Documentation @ ReadTheDocs <http://walter.readthedocs.org>`_
* `Continuous Integration @ Travis-CI <http://travis-ci.org/kreativkombinat/walter>`_
## How i... | vwc/buildout.mycarman | README.md | Markdown | mit | 1,043 |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.8/esri/copyright.txt for details.
//>>built
define({zoom:"Aplicar zoom a",next:"Pr\u00f3xima elemento",previous:"Elemento anterior",close:"Fechar",dock:"Doca",undock:"Desencaixar",menu:"Menu",untitled:"Sem t\... | ycabon/presentations | 2018-user-conference/arcgis-js-api-road-ahead/demos/gamepad/api-snapshot/esri/widgets/Popup/nls/pt-pt/Popup.js | JavaScript | mit | 499 |
'use strict';
var genBase = require('../genBase')
, Generator;
Generator = module.exports = genBase.extend();
Generator.prototype.prompting = function prompting() {
this.askForModuleName();
};
Generator.prototype.writing = function writing() {
var config = this.getConfig();
this.fs.copyTpl(
this.templat... | gdi2290/generator-ng-poly | constant/index.js | JavaScript | mit | 740 |
/*
,i::,
:;;;;;;;
;:,,::;.
1ft1;::;1tL
t1;::;1,
:;::; _____ __ ___ __
fCLff ;:: tfLLC / ___/ / |/ /____ _ _____ / /_
CLft11 :,, i1tffLi \__ \ ____ / /|_/ //... | S-Mach/s_mach.i18n | src/main/scala/s_mach/i18n/impl/LaxMessageResolver.scala | Scala | mit | 2,502 |
require "unit_helper"
require "revily/helpers/unique_token"
module Revily::Helpers
describe UniqueToken do
describe ".generate_token" do
it "defaults to a 64-character urlsafe_base64 token" do
allow(SecureRandom).to receive(:urlsafe_base64) { "dummy" }
token = UniqueToken.generate_token
... | revily/revily | spec/lib/revily/helpers/unique_token_spec.rb | Ruby | mit | 2,146 |
'use strict';
angular.module('myApp.unit7', ['ngRoute'])
.config(['$routeProvider', function($routeProvider) {
$routeProvider.when('/unit7', {
templateUrl: 'unit7/unit7.html',
controller: 'Unit7Ctrl'
});
}]).controller('Unit7Ctrl', ['Unit7', '$scope',
function(Unit7, $scope) {
$scope.ex = Unit7.ex;
... | joelbarba/GRM_TEST | app/unit7/unit7.js | JavaScript | mit | 348 |
<?xml version="1.0" encoding="utf-8"?>
<!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" xml:lang="en" lang="en">
<head>
<title>ordered_options.rb</title>
<meta http-equiv="Content-Type" conten... | TomMulvaney/AudioFlow | doc/api/files/__/__/__/__/_rvm/gems/ruby-2_2_2/gems/activesupport-4_2_1/lib/active_support/ordered_options_rb.html | HTML | mit | 2,523 |
# MAkefile from https://github.com/mbcrawfo/GenericMakefile
#### PROJECT SETTINGS ####
# The name of the executable to be created
BIN_NAME := anac
# Compiler used
CC ?= gcc
# Extension of source files used in the project
SRC_EXT = c
# Path to the source directory, relative to the makefile
SRC_PATH = ./src
# Space-separ... | gnomex/C-Syllabus | FAA/3th_work/Makefile | Makefile | mit | 6,188 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace mbise1993.ReaperSettingsImporterCLI
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("[args] {0}", args.Length);
ReaperProj... | mbise1993/ReaperSettingsImporter | ReaperSettingsImporter/ReaperSettingsImporterCLI/Program.cs | C# | mit | 2,257 |
'use strict';
/* Controllers */
var phonecatControllers = angular.module('phonecatControllers', []);
phonecatControllers.controller('PhoneListCtrl', ['$scope', '$http',
function($scope, $http) {
$http.get('phones/phones.json').success(function(data) {
$scope.phones = data;
});
$scope... | jasonlarke-uwa/git-sync | app/js/controllers.js | JavaScript | mit | 610 |
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("Ul... | AshitakaLax/Ultimate_Developer_Keyboard | Software/WindowsCode/UltimateKeyBoardService/Properties/AssemblyInfo.cs | C# | mit | 1,422 |
# ascii
Render webcam video to the terminal, built with [opencv-python](https://pypi.org/project/opencv-python/)
## Quick start
```
$ python3.8 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ python ascii.py
```

| mackorone/ascii | README.md | Markdown | mit | 305 |
html, body {
font-family: 'Raleway', sans-serif;
overflow: hidden
}
pre, a {
margin-left: 6px;
color: aliceblue;
}
svg {
z-index: -1;
}
#lyrics {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
color: #343434 !imp... | zxvnme/zxvnme.github.io | resources/css/index.css | CSS | mit | 3,413 |
# -*- encoding : utf-8 -*-
require 'benchmark'
module ActiveSupport
# See ActiveSupport::Cache::Store for documentation.
module Cache
autoload :FileStore, 'active_support/cache/file_store'
autoload :MemoryStore, 'active_support/cache/memory_store'
autoload :SynchronizedMemoryStore, 'active_support/cach... | liquidware/saasy | vendor/rails/activesupport/lib/active_support/cache.rb | Ruby | mit | 8,033 |
# bdt 简介
Blued Developer Tools
用于创建项目模板和部署的命令
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![NPM downloads][downloads-image]][npm-url]
[![Node.js dependencies][david-image]][david-url]
### Installation
Prerequisites: [Node.js](https://nodejs.org/en/) (6.x preferred).
``` bash
... | bluedapp/bdt | README.md | Markdown | mit | 1,275 |
# rm
| u9520107/rm | README.md | Markdown | mit | 5 |
<?php
ob_start();
session_start();
require_once('../lib/connection.php');
require_once('../lib/unleashed.lib.php');
require_once('../lib/login.php');
if(isset($_GET['id']))
{
$id = escape($_GET['id']);
$q = mysql_query("SELECT absensi.*, absensi.created_at as tanggal_absen, ... | phi314/bulbasaur | guru/absensi_detail.php | PHP | mit | 10,110 |
exports.config = {
namespace: "better-img-stencil",
outputTargets: [
{
type: "dist"
},
{
type: "www",
serviceWorker: false
}
]
};
exports.devServer = {
root: "www",
watchGlob: "**/**"
};
| pearlbea/better-img | packages/better-img-stencil/stencil.config.js | JavaScript | mit | 232 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
<meta charset="utf-8"/>
<title> Phing API Documentation » \Ssh2MethodParam
</title>
<meta name="author" content=""/>
<meta name="description" c... | andyreis/mystyle | phing-2.15.2/docs/api/docs/classes/Ssh2MethodParam.html | HTML | mit | 93,088 |
// Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_SPLASHSCREEN_H
#define BITCOIN_QT_SPLASHSCREEN_H
#include <QSplashScreen>
class NetworkStyle;
... | realzzt/BitCoin2013 | src/qt/splashscreen.h | C | mit | 1,481 |
Blockly.Language.message = {
helpUrl: 'http://www.example.com/',
init: function() {
this.setColour(190);
this.appendDummyInput("").appendTitle(new Blockly.FieldImage("img/message.png", 16, 16)).appendTitle("Message")
this.setPreviousStatement(true, null);
this.setNextStatement(true, null);
thi... | fgu-cas/arenomat | public/js/blocks/message.js | JavaScript | mit | 1,082 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.VisualStudio.Debugger.Interop;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
////////////////////... | rajkumar42/MIEngine | src/DebugEngineHost.Stub/DebugEngineHost.ref.cs | C# | mit | 21,657 |
<!DOCTYPE html>
<html lang="zh">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Toa | A pithy and powerful web framework</title>
<meta charset="utf-8">
<meta name="keywords" content="toa, web, app, http, application, framework, thunk, thunks">
<meta name="description"... | toajs/toajs.com | docs/index.html | HTML | mit | 59,706 |
declare export type class A {} | motiz88/astring-flow | test/data/roundtrip/flow-parser-tests/test-171.js | JavaScript | mit | 30 |
<?php
namespace ILL\VisitBundle\Entity;
use Doctrine\ORM\EntityRepository;
/**
* InstituteRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class InstituteRepository extends EntityRepository
{
//Tous les Instituts avec visites
public function findA... | M0dM/GroupVis | src/ILL/VisitBundle/Entity/InstituteRepository.php | PHP | mit | 942 |
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {MatCardModule} from '@angular/material/card';
import {MatCheckboxModule} from '@angular/material/checkbox';
import {MatRadioModule} from '@angular/material/radio';
import {CheckboxCo... | andrewseguin/material2 | src/components-examples/material/checkbox/index.ts | TypeScript | mit | 1,023 |
{% load static %}
<footer class="footer container-fluid text-center">
<div class="row clearfix">
<div class="col-md-2">2016 PyCon Taiwan</div>
<div class="col-md-8 hidden-xs hidden-sm">
<img width="133" height="24" src="{% static 'images/Logo_pycontw16_blue_footer@2x.png' %}" class="logo... | uranusjr/pycontw2016 | src/templates/_includes/footer.html | HTML | mit | 739 |
/***Generated Resource **/
var resource = require('resource');
var BusStop = resource.define('BusStop');
BusStop.schema.description = "A bus stop.";
BusStop.persist('fs');
BusStop.property('additionalType', {
"name" : "additionalType",
"displayName" : "Additional Type",
"description" : "An additional typ... | SkiftCreative/node-schema-org | resources/BusStop/index.js | JavaScript | mit | 8,209 |
class AddNameToSubscriptions < ActiveRecord::Migration
def change
add_column :refinery_subscriptions, :first_name, :string
add_column :refinery_subscriptions, :last_name, :string
end
end | refactorit/refinerycms-subscriptions | db/migrate/2_add_name_to_subscriptions.rb | Ruby | mit | 200 |
#include <mysql2_ext.h>
VALUE cMysql2Statement;
extern VALUE mMysql2, cMysql2Error, cBigDecimal, cDateTime, cDate;
static VALUE sym_stream, intern_error_number_eql, intern_sql_state_eql, intern_each;
#define GET_STATEMENT(self) \
mysql_stmt_wrapper *stmt_wrapper; \
Data_Get_Struct(self, mysql_stmt_wrapper, stmt_w... | PipelineDeals/mysql2 | ext/mysql2/statement.c | C | mit | 13,463 |
using System;
namespace FamintusApi.Areas.HelpPage
{
/// <summary>
/// This represents a preformatted text sample on the help page. There's a display template named TextSample associated with this class.
/// </summary>
public class TextSample
{
public TextSample(string text)
{
... | DkoSoftware/WebPlataform | FamintusApi/Areas/HelpPage/SampleGeneration/TextSample.cs | C# | mit | 887 |
//------------------------------------------------------------------------------
// <license file="QName.cs">
//
// The use and distribution terms for this software are contained in the file
// named 'LICENSE', which can be found in the resources directory of this
// distribution.
//
// By using th... | jongha/winuglifier | src/WinUglifier.Plugin.YUI.js/EcmaScript.NET/Types/E4X/QName.cs | C# | mit | 12,297 |
import { fork, join } from 'redux-saga/effects';
// This utility takes the array of sagas as a param, and maps it to an array of runnable tasks.
export default sagas =>
function* waitAll() {
const tasks = yield sagas.map(([saga, ...params]) => fork(saga, ...params));
yield join(...tasks);
};
| mjlaufer/cafe-tour-client | src/server/helpers/waitAll.js | JavaScript | mit | 300 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="referrer" content="always">
<meta name="robots" content="index, follow">
<link rel="icon" href="about:blank" type="image... | LinkTimeTech/website | unitimes/Unitimes Web 5/news/russian_minister_of_communications_and_mass_media_cn.html | HTML | mit | 29,153 |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="user-scalable=no, width=device-width, minimum-scale=1, maximum-scale=1" />
<title>Tween - Hilo Example</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<script type="text/javascript" src="../build... | hiloteam/Hilo | examples/TweenLink.html | HTML | mit | 2,728 |
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
using System.Collections;
using System.Collections.Generic;
using System.Management.Automation.Language;
using Syste... | kmosher/PowerShell | src/System.Management.Automation/engine/SessionStateFunctionAPIs.cs | C# | mit | 32,581 |
#!/bin/sh
# Variables
# Required paths
# Global
# ~
# |-.gitconfig
# |-.git
# Project <- place of execution
# |-.git
# |-hooks
# | |-hook.sh
# |-config
# custom home used for development
# HOME="home"
globalGitDir="$HOME/.git"
globalGitConfig="$HOME/.gitconfig"
globalTemplateDir="$globalGitDir/templates"
loc... | nobe4/git-passport.sh | git-passport.sh | Shell | mit | 3,150 |
<img src="http://d361253.u161.fasthit.net/coldfusion/Property/properties/DOV0029000/000FRONT.jpg" height="150">
<div id="chart" class="floatright">
<svg style="height:330px;width: 450px;"> </svg>
</div>
<span class="property-details">
<ul class="">
<li>
{{viewing.address}}
</li>
<li>
01/08/1995<span>P... | gotaheads/pms3 | app/views/partials/property-details.html | HTML | mit | 1,121 |
GHGrabber
=========
Grabs Images from GH Forum.
Downloads Images with correct filenames from a Tinyboard + vichan
Prepare on Linux
----------------
Install a recent ruby
apt-get install ruby
install the nokogiri gem
gem install nokogiri
if you run no transparent proxy you need to install the socksify... | TorCapybara/GHG | README.md | Markdown | mit | 2,764 |
/*
Name: Mag-register v0.1.1
Description: run mag.module for by tagName(s)
Example:
var instances = mag.register(
'my-tag',
component,
props);
Author: Michael Glazer
License: MIT
Homepage: https://github.com/magnumjs/mag.js
@requires mag.js & mag addons
(c) 2017
*/
(function(mag, document) {
'use strict';
... | magnumjs/mag.js | src/addons/mag-register.js | JavaScript | mit | 1,528 |
import React from 'react';
import "./styles.css";
import logo from '../../../assets/logo.png'
const PersluLogo = (props) => <img src={logo} alt="logo" className="PersluLogo" />;
export default PersluLogo
| Perslu/rerebrace | src/mobile/public/components/PersluLogo/index.js | JavaScript | mit | 205 |
namespace ObscureWare.Console.Tests
{
using System;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Reflection;
using Xunit;
public class ColoringVisualTests
{
private const string TEST_ROOT = @"C:\\TestResults\\ConsoleColors\\";
// This is obvio... | ObscureWare/Console.Core | src/ObscureWare.Console.Tests/ColoringVisualTests.cs | C# | mit | 4,750 |
import torch
import torchvision.transforms as transforms
import torch.utils.data as data
import os
import json
import pickle
import argparse
from PIL import Image
import numpy as np
from utils import Vocabulary
class CocoDataset(data.Dataset):
def __init__(self, root, anns, vocab, mode='train',transform=None):
... | incredible-vision/show-and-tell | data_loader.py | Python | mit | 3,497 |
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/majstor-style.css">
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Open+San... | fvoska/MatematickiMajstor | index.html | HTML | mit | 6,720 |
using System;
using Nancy;
using log4net;
using ReminderService.Router;
using ReminderService.API.HTTP.BootStrap;
using ReminderService.Messages;
using ReminderService.Core.Startup;
using ReminderService.Core.Persistence;
using System.Collections.Generic;
using ReminderService.Core.Persistence.Postgres;
namespace Rem... | dtrumpler/ForgetMeNot | src/ReminderService/ReminderService.API.HTTP/BootStrap/BootStrapper.cs | C# | mit | 1,561 |
# ~/.xinitrc
dotfiles_xorg=1
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
source ~/.dotfilesrc
| justinhoward/dotfiles | modules/xorg/xinitrc.sh | Shell | mit | 183 |
<!--
Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
-->
<!DOCTYPE html>
<html>
<body>
<!--
CODE POUR METTRE LES MATCH ENSEMBLE
CARREE + INSIDE BULLE AVEC NOM ET PROFIL
-->
<div style="background-color... | mouradmamassi/com2you | application/views/test.php | PHP | mit | 559 |
# Flux Universal Portal Demo
## Installation & Execution
Install app using:
```
npm install
```
and run using:
```
npm start
```
You can access the application's server directly under http://localhost:6001 or via its BrowserSync access server http://localhost:3000. BrowserSync console is available under http://lo... | btg5679/portalReact | README.md | Markdown | mit | 627 |
---
author: admin
comments: true
date: 2011-03-06 12:19:48+00:00
layout: post
slug: spoj694
title: SPOJ694 Distinct Substrings
wordpress_id: 264
categories:
- 解题报告
tags:
- spoj
- 后缀数组
- 解题报告
---
后缀数组的题,详见罗穗骞2009年的论文以及[我对于倍增算法的批注](http://www.dxmtb.com/blog/suffixarray)。
/*
ID: dxmtb
PROG: Spoj694 Dist... | dxmtb/dxmtb.github.io | _posts/2011-03-06-spoj694.markdown | Markdown | mit | 2,250 |
version https://git-lfs.github.com/spec/v1
oid sha256:60fd337fadc530fbb5cd2da62a2a80fa7da7dd9c2069599a1a1f61b6b57415a6
size 10836
| yogeshsaroya/new-cdnjs | ajax/libs/semantic-ui/1.7.0/components/card.min.css | CSS | mit | 130 |
/* Magic Mirror
* Module: MMM-MovieListing
*
* By Christian Jens https://tueti.github.io
* Modified by Kyle Johnson
* MIT Licensed.
*/
Module.register('MMM-MovieListings', {
// Default module config.
defaults: {
apiKey: '',
region: 'DE',
language: 'de-DE',
interface: 'poster', //'list', 'poster... | Tueti/MMM-MovieListings | MMM-MovieListings.js | JavaScript | mit | 10,723 |
var VERSION = '0.0.0',
http = require('http'),
querystring = require('querystring'),
oauth = require('oauth');
function merge(defaults, options) {
defaults = defaults || {};
if (options && typeof options === 'object') {
var keys = Object.keys(options);
for (var i = 0, len = keys.length; i < le... | desmondmorris/node-withings | lib/withings.js | JavaScript | mit | 4,802 |
class Solution {
public:
vector<vector<int> > zigzagLevelOrder(TreeNode *root) {
vector<vector<int> > result;
if(root == NULL) return result;
queue<TreeNode*> q; q.push(root);
vector<int> levelSet;
int count1 = 1, count2 = 0, level = 1;
... | mengjiaowang/leetcode | binary-tree-zigzag-level-order-traversal.cpp | C++ | mit | 1,051 |
package com.bornstone.stonehenge.core.notification.messagesender.email;
import com.bornstone.stonehenge.core.notification.message.EmailMessage;
import org.apache.log4j.Logger;
import org.springframework.mail.javamail.JavaMailSenderImpl;
import org.springframework.mail.javamail.MimeMessageHelper;
import javax.mail.Ses... | AdonisTang/stonehenge | stonehenge-core/src/main/java/com/bornstone/stonehenge/core/notification/messagesender/email/EmailMessageSender.java | Java | mit | 1,755 |
const express = require('express');
const router = express.Router();
const authHelpers = require('../controllers/signin');
const gameBoard = require('../controllers/gameBoard.js');
const players = require('../controllers/players.js');
const indexController = require('../controllers/index');
router.get('/', authHelpers... | pittdogg/developers-of-galvanize | src/server/routes/play.js | JavaScript | mit | 2,754 |
<!DOCTYPE html>
<!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en" dir="ltr">
<!--<![endif]-->
<!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open... | GoC-Spending/data-corporations | html/234567029512.html | HTML | mit | 64,419 |
require_dependency "epm_catalog/application_controller"
module EpmCatalog
class BaselineMeasuresController < ApplicationController
before_filter :authenticate_user!
# GET /baseline_measures
# GET /baseline_measures.json
def index
# if called as nested resource get measures for project_type_id
... | kristenhazard/epm-catalog | app/controllers/epm_catalog/baseline_measures_controller.rb | Ruby | mit | 1,976 |
from collections import namedtuple
import select
StreamEvent = namedtuple( 'StreamEvent', [ 'fd', 'stream', 'data', 'direction', 'num_bytes', 'eof' ] )
class StreamWatcher(object):
def __init__( self ):
if _best_backend is None:
raise Exception( "No poll/queue backend could be found for your OS." )
self.backe... | theojulienne/pyio | pyio/io/StreamWatcher.py | Python | mit | 3,517 |
USE TSQL_Koans
EXEC tSQLt.NewTestClass 'AboutViews'
GO
| jpvantuyl/tSQL-Koans | src/AboutViews.sql | SQL | mit | 56 |
class ChangeGoogleBooksLinkDefaultValue < ActiveRecord::Migration[5.0]
def change
change_column :books, :googlebooks, :string, default: ""
end
end
| johan-andersson01/biblion | db/migrate/20180221201318_change_google_books_link_default_value.rb | Ruby | mit | 155 |
#---
# Excerpted from "Agile Web Development with Rails",
# published by The Pragmatic Bookshelf.
# Copyrights apply to this code. It may not be used to create training material,
# courses, books, articles, and the like. Contact us if you are in doubt.
# We make no guarantees that this code is fit for any purpose.
# ... | Baloo81/rails.depot | app/models/line_item.rb | Ruby | mit | 561 |
package org.cafe.domain.financeiro;
import java.util.ArrayList;
import java.util.List;
public class Conta {
private long numero;
private double saldo;
private double limiteCartao;
private List<Double> lancamentosCartao = new ArrayList<>();
public Conta(long numero, double saldo, double limiteCart... | erickzanardo/javeando | panetteria/src/main/java/org/cafe/domain/financeiro/Conta.java | Java | mit | 811 |
#include "minunit.h"
#include <terror/instruction.h>
#include <terror/vmmethod.h>
#include <assert.h>
static VMMethod *method = NULL;
static long *literals = NULL;
static Instruction **instructions = NULL;
void setup()
{
literals = calloc(3, sizeof(long));
literals[0] = (long)"123";
literals[1] = (long)123;
l... | txus/oldterror | tests/vmmethod_tests.c | C | mit | 1,353 |
import { TreeView } from "@bosket/vue"
import { dragndrop } from "@bosket/core"
/* Model */
const dragModel = [
{ name: "< Drag these items >" },
{ name: 1, children: [{ name: 11 }, { name: 12 }, { name: 13 }]},
{ name: 2, children: [{ name: 21 }, { name: 22 }]},
{ name: 3 },
{ name: 4 }
]
/* Comm... | elbywan/bosket | docs/vue/plan/treeview/optional-properties/dragndrop/example.js | JavaScript | mit | 1,661 |
<?php
/**
* @package examSignup
*
* @author Daniel Holzmann <d@velopment.at>
* @date 04.12.13
* @time 13:19
*/
namespace CodeLovers\ExamSignupBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
c... | CodeLoversAt/ExamSignup | src/CodeLovers/ExamSignupBundle/Form/DeleteUserType.php | PHP | mit | 992 |
<?php
/**
* Wingman
*
* @link http://github.com/mleko/wingman
* @copyright Copyright (c) 2017 Daniel Król
* @license MIT
*/
namespace Mleko\Wingman\Composer;
use Composer\Config;
use Composer\IO\BaseIO;
use Composer\IO\BufferIO;
use Composer\IO\IOInterface;
class ArrayIO extends BufferIO
{
/**
... | mleko/wingman | tests/Composer/ArrayIO.php | PHP | mit | 9,241 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
<meta charset="utf-8"/>
<title> Phing API Documentation » \TypedefTask
</title>
<meta name="author" content=""/>
<meta name="description" conte... | andyreis/mystyle | phing-2.15.2/docs/api/docs/classes/TypedefTask.html | HTML | mit | 96,633 |
namespace OnlineAtelier.Services.Models
{
using System.Collections.Generic;
using System.Linq;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using Contracts;
using Data.Common.Repository;
using OnlineAtelier.Models.Models;
using Web.Models.BindingModels.Appearance;
using W... | IskraNikolova/OnlineAtelier | Source/Services/OnlineAtelier.Services/Models/AppearancesService.cs | C# | mit | 2,975 |
# CoffeeGrid
This is jQuery plugin, the main aim of it is to form tables with AJAX calls
# Usage
## Dependencies
Modern jQuery is required (versions 1.10.*, 2.* or above).
This could be working with older versions.
## Installing
As you have installed jQuery, you have to complete this simple steps:
1. Copy compil... | Axblade/coffeegrid | README.md | Markdown | mit | 1,284 |
<!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 name="viewport" content="width=device-width, initial-scale=1.0">
<title>pymatgen.electronic_structure.core module &m... | gVallverdu/pymatgen | docs/pymatgen.electronic_structure.core.html | HTML | mit | 38,034 |
// Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "walletmodeltransaction.h"
#include "wallet.h"
WalletModelTransaction::WalletModelTransaction(const QList<SendCoins... | salivan-ratcoin-dev-team/dims | src/qt/walletmodeltransaction.cpp | C++ | mit | 1,213 |
namespace Geocrest.Model
{
using System;
using System.Collections.Generic;
using System.Net;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Geocrest.Model.ArcGIS;
/// <summary>
/// Provides deserialization helper methods for working with RESTful web services.
/// </s... | geocrest/mvcpluggedin | src/Models/Silverlight/5/Geocrest.Model/RestHelper.cs | C# | mit | 11,171 |
class ApplicationController < ActionController::Base
# before_filter :authenticate_user!, :except => [:index]
if not ENV['RAILS_TEST']
before_filter :authenticate_user!
end
protect_from_forgery
end
| pjotrp/lepra2 | app/controllers/application_controller.rb | Ruby | mit | 212 |
namespace Enterprise.Northwind {
export namespace RegionService {
export const baseUrl = 'Northwind/Region';
export declare function Create(request: Serenity.SaveRequest<RegionRow>, onSuccess?: (response: Serenity.SaveResponse) => void, opt?: Q.ServiceOptions<any>): JQueryXHR;
export decla... | neurral/enterprise | Enterprise/Enterprise.Web/Imports/ServerTypings/Northwind.RegionService.ts | TypeScript | mit | 1,666 |
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-... | keboola/kbc-ui-tde-exporter | app/index.html | HTML | mit | 3,568 |
package io.backbeam;
import java.util.List;
public abstract class FetchCallback extends Callback {
public abstract void success(List<BackbeamObject> objects, int totalCount, boolean fromCache);
}
| backbeam/BackbeamAndroid | src/io/backbeam/FetchCallback.java | Java | mit | 202 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.