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 |
|---|---|---|---|---|---|
# Uncomment this if you reference any of your controllers in activate
# require_dependency 'application'
class ReservationExtension < Radiant::Extension
version "0.1"
description "Small Reservation System"
url "http://github.com/simerom/radiant-reservation-extension"
define_routes do |map|
map.namespace... | raskhadafi/radiant-reservation-extension | reservation_extension.rb | Ruby | mit | 662 |
//
// DZTextFieldStyle.h
// DZStyle
//
// Created by baidu on 15/7/23.
// Copyright (c) 2015年 dzpqzb. All rights reserved.
//
#import "DZViewStyle.h"
#import "DZTextStyle.h"
#define DZTextFiledStyleMake(initCode) DZStyleMake(initCode, DZTextFieldStyle)
#define IMP_SHARE_TEXTFIELD_STYLE(name , initCode) IMP_SHARE... | yishuiliunian/StyleSheet | Pod/Classes/Style/DZTextFieldStyle.h | C | mit | 561 |
<?php
/**
* Routes - all standard routes are defined here.
*/
/** Create alias for Router. */
use Core\Router;
use Helpers\Hooks;
/* Force user to login unless running cron */
if(!isset($_SESSION['user']) && $_SERVER['REDIRECT_URL'] != "/reminders/run") {
$c = new Controllers\Users();
$c->login();
exit();
}
/**... | tsnudden/afsc | app/Core/routes.php | PHP | mit | 4,351 |
// Copyright Johannes Falk
// example for directed percolation
// one can choose the probability in the main
// critical-value = 0.68
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <algorithm>
#include <cstdlib>
#include <vector>
#include "../xcbwin.h"
double get_rand() {
return static_cast<dou... | jofalk/Xcbwin | demo/directed_percolation.cpp | C++ | mit | 1,357 |
package ee.shy.cli;
import ee.shy.Builder;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
/**
* Class for building help text with preset format
*/
public class HelptextBuilder implements Builder<String> {
/**
* Data structure that contains command... | sim642/shy | app/src/main/java/ee/shy/cli/HelptextBuilder.java | Java | mit | 2,440 |
package org.asciicerebrum.neocortexengine.domain.events;
/**
*
* @author species8472
*/
public enum EventType {
/**
* Event thrown directly after the initialization of a new combat round.
*/
COMBATROUND_POSTINIT,
/**
* Event thrown before the initialization of a new combat round.
*/... | asciiCerebrum/neocortexEngine | src/main/java/org/asciicerebrum/neocortexengine/domain/events/EventType.java | Java | mit | 1,310 |
---
title: Bible now available for Mobile Phones
author: TQuizzle
layout: post
permalink: /archive/bible-now-available-for-mobile-phones/
bitly_url:
- http://bit.ly/11zS2uE
bitly_hash:
- 11zS2uE
bitly_long_url:
- http://www.tquizzle.com/archive/bible-now-available-for-mobile-phones/
categories:
- Asides
---
Hop... | tquizzle/tquizzle.github.io | _posts/2006-09-25-bible-now-available-for-mobile-phones.md | Markdown | mit | 4,614 |
package shadows;
import java.util.List;
import java.util.Map;
import org.lwjgl.opengl.GL11;
import org.lwjgl.util.vector.Matrix4f;
import org.lwjgl.util.vector.Vector2f;
import org.lwjgl.util.vector.Vector3f;
import entities.Camera;
import entities.Entity;
import entities.Light;
import entities.Player;
... | jely2002/Walk-Simulator | src/shadows/ShadowMapMasterRenderer.java | Java | mit | 7,992 |
<div ng-controller="lessonCtrl as vm">
<div class="row" style="margin-bottom: 10px">
<div class="col-xs-12">
<progress-bar lessons="vm.lessonSvc.lessons" lesson="vm.lesson"></progress-bar>
</div>
</div>
<div class="row">
<div class="col-sm-4">
<div class... | jacobswain/markdown-tutorial | public/app/lessons/lesson2.html | HTML | mit | 2,053 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta content="Craig McClellan" name="author">
<title>Craig McClellan - T398514607721316352 </title>
<lin... | craigwmcclellan/craigwmcclellan.github.io | _site/2013/11/07/t398514607721316352.html | HTML | mit | 4,910 |
import debounce from 'debounce';
import $ from 'jquery';
const groupElementsByTop = (groups, element) => {
const top = $(element).offset().top;
groups[top] = groups[top] || [];
groups[top].push(element);
return groups;
};
const groupElementsByZero = (groups, element) => {
groups[0] = groups[0] || [];
grou... | dubbs/equal-height | src/jquery.equalHeight.js | JavaScript | mit | 1,714 |
toalien-site
============
| hbpoison/toalien-site | README.md | Markdown | mit | 26 |
/// <reference path="typings/tsd.d.ts" />
var plugins = {
beautylog: require("beautylog")("os"),
gulp: require("gulp"),
jade: require("gulp-jade"),
util: require("gulp-util"),
vinylFile: require("vinyl-file"),
jsonjade: require("./index.js"),
gulpInspect: require("gulp-inspect")
};
var ja... | pushrocks/gulp-jsonjade | ts/test.ts | TypeScript | mit | 1,117 |
#include "mesh_adapt.h"
#include "mesh_adj.h"
#include "mesh_mod.h"
#include "cavity_op.h"
static void find_best_edge_split(mesh* m, split* s, ment e, ment v[2])
{
double mq;
double q;
unsigned ne;
unsigned i;
ment v_[2];
ne = simplex_ndown[e.t][EDGE];
mq = -1;
for (i = 0; i < ne; ++i) {
mesh_down(... | ibaned/tetknife | mesh_adapt.c | C | mit | 933 |
# Ancient Projects
While "Ancient" would be an interesting name for a project, it's used literally: This is old code I wrote way back; some from 2009, some from later, possibly some from even earlier.
I'm currently going through my files and cleaning up; as part of this I'm putting it in this Git repo, mostly to arch... | mrwonko/ancient | readme.md | Markdown | mit | 374 |
// Structure to represent a proof
class ProofTree {
constructor({equation, rule, newScope=false }) {
this.equation = equation;
this.rule = rule;
this.newScope = newScope;
this.parent = null;
this.children = [];
this.isSound = !newScope;
}
isAssumption() {
return this.newScope;
}
... | jackdeadman/Natural-Deduction-React | src/js/classes/Proof/ProofTree.js | JavaScript | mit | 2,618 |
package me.puras.common.controller;
import me.puras.common.domain.DomainModel;
import me.puras.common.error.BaseErrCode;
import me.puras.common.json.Response;
import me.puras.common.json.ResponseHelper;
import me.puras.common.service.CrudService;
import me.puras.common.util.ClientListSlice;
import me.puras.common.util... | puras/mo-common | src/main/java/me/puras/common/controller/CrudController.java | Java | mit | 2,669 |
# Recapping IPFS in Q4 2019 🎉
We’ve put together a very special issue looking back on all that you, the InterPlanetary File System (IPFS) community, accomplished so far, in 2019. From milestones like releases, projects like ProtoSchool, to the many new (and awesome) contributors who have joined us, and what’s to come ... | ipfs/weekly | published/072-2019-dec-17.md | Markdown | mit | 6,968 |
version https://git-lfs.github.com/spec/v1
oid sha256:20e35c5c96301564881e3f892b8c5e38c98b131ea58889ed9889b15874e39cbe
size 8394
| yogeshsaroya/new-cdnjs | ajax/libs/preconditions/5.2.4/preconditions.min.js | JavaScript | mit | 129 |
The MIT License (MIT)
Copyright (c) 2016 Adrian Tsumanu Woźniak
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m... | Eraden/axon | License.md | Markdown | mit | 1,090 |
<head>
<meta charset="utf-8">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
{% assign page_title = '' %}
{% if page.title == "Home" %}
{% capture page_title %}
... | Shiharoku/shiharoku.github.io | _includes/head.html | HTML | mit | 5,025 |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using AgileSqlClub.MergeUi.DacServices;
using AgileSqlClub.MergeUi.Merge;
using AgileSqlClub.MergeUi.Metadata;
using AgileSqlClub.MergeUi.PackageP... | GoEddie/MergeUi | src/AgileSqlClub.MergeUiPackage/UI/MyControl.xaml.cs | C# | mit | 8,845 |
<?php
namespace Neutral\BlockBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* This is the class that validates and merges configuration from your app/config files
*
* To learn more see {@link http://symfo... | neutralord/neutral.su | src/Neutral/BlockBundle/DependencyInjection/Configuration.php | PHP | mit | 881 |
<!DOCTYPE HTML>
<!--
Strata by HTML5 UP
html5up.net | @n33co
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Leticia Wright · Kevin Li</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<... | lilingkai/lilingkai.github.io | tags/leticia-wright/index.html | HTML | mit | 6,017 |
<?php
namespace Aquicore\API\PHP\Common;
class BatteryLevelModule
{
/* Battery range: 6000 ... 3600 */
const BATTERY_LEVEL_0 = 5500;/*full*/
const BATTERY_LEVEL_1 = 5000;/*high*/
const BATTERY_LEVEL_2 = 4500;/*medium*/
const BATTERY_LEVEL_3 = 4000;/*low*/
/* below 4000: very low */
}
| koodiph/acquicore-api | src/Common/BatteryLevelModule.php | PHP | mit | 311 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
usi... | GearsAD/zasteroids | ZAsteroids/World/HUD/HUDSheilds.cs | C# | mit | 26,807 |
---
layout: post
date: 2016-03-19
title: "Anne Barge Promenade 2016 Spring Sleeveless Floor-Length Aline/Princess"
category: Anne Barge
tags: [Anne Barge,Aline/Princess ,Illusion,Floor-Length,Sleeveless,2016,Spring]
---
### Anne Barge Promenade
Just **$299.99**
### 2016 Spring Sleeveless Floor-Length Aline/Princess
<... | HOLEIN/HOLEIN.github.io | _posts/2016-03-19-Anne-Barge-Promenade-2016-Spring-Sleeveless-FloorLength-AlinePrincess.md | Markdown | mit | 1,017 |
namespace Miruken.Callback
{
using System;
[AttributeUsage(AttributeTargets.Parameter)]
public class KeyAttribute : Attribute
{
public KeyAttribute(object key)
{
Key = key;
}
public KeyAttribute(string key, StringComparison comparison)
{
... | Miruken-DotNet/Miruken | Source/Miruken/Callback/KeyAttribute.cs | C# | mit | 419 |
module Cubic
module Generator
# Config stores data needed throughout the generation process.
class Config
@settings = {}
class << self
def all
@settings
end
def [](key)
all[key] || defaults(key)
end
def root_path(path)
@set... | Scootin/cubic | lib/cubic/generators/config.rb | Ruby | mit | 1,388 |
namespace OpenProtocolInterpreter.IOInterface
{
/// <summary>
/// IO interface message category. Every IO interface mid must implement <see cref="IIOInterface"/>.
/// </summary>
public interface IIOInterface
{
}
}
| Rickedb/OpenProtocolInterpreter | src/OpenProtocolInterpreter/IOInterface/IIOInterface.cs | C# | mit | 241 |
import { HMR_PATH } from '../config/constants';
function webpackMiddleware(): object[] {
const middleware: object[] = [];
if (BalmJS.webpackCompiler) {
middleware.push(
require('webpack-dev-middleware')(
BalmJS.webpackCompiler,
Object.assign({}, BalmJS.config.server.devOptions, {
... | balmjs/balm | packages/balm-core/src/middlewares/webpack.ts | TypeScript | mit | 770 |
<!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="./dab721f0a9fe4d47eb683c33bbdbce2f653fbfb8bc93a607e7a7ad30636c7061.html">Teleport</a>
<hr>
... | simonmysun/praxis | TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/3c50d53817dc82535f222c79c815a409340e031917350739cd6607d2f38eed9a.html | HTML | mit | 550 |
require 'RMagick'
class MemesController < ApplicationController
before_action :check_meme_destroy_permission, only: [:destroy]
before_action :check_meme_group_permissions, only: [:show]
# GET /memes
# GET /memes.json
def index
@memes = Meme.where(:group_id => nil).order("created_at DESC")
@group = n... | ignition25/memegen | app/controllers/memes_controller.rb | Ruby | mit | 5,069 |
<html>
<head>
<title>Docs For Class PHPExcel_Writer_Excel2007_ContentTypes</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
<tr>
<td class="header_top">PHPExcel_Writer_Excel2007</td>
</tr>
<tr>... | HadoDokis/Pragtico | app/vendors/PHPExcel/Documentation/API/PHPExcel_Writer_Excel2007/PHPExcel_Writer_Excel2007_ContentTypes.html | HTML | mit | 10,605 |
/**
* Javascript file for Category Show.
* It requires jQuery.
*/
function wpcs_gen_tag() {
// Category Show searches for term_id since 0.4.1 and not term slug.
// There is a need to add the id%% tag to be compatible with other versions
$("#wpcs_gen_tag").val("%%wpcs-"+$("#wpcs_term_dropdown").val()+"%%"+$("#wpc... | mfolker/saddind | wp-content/plugins/wp-catergory-show/wp-category-show.js | JavaScript | mit | 438 |
# funkin-gonuts
http://youtu.be/BpJ26Q21y3g?t=1m50s
An attempt at a Go IRC Bot.
| icco/funkin-gonuts | README.md | Markdown | mit | 82 |
//
// TextViewController.h
// Galary
//
// Created by joshuali on 16/6/24.
// Copyright © 2016年 joshuali. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface TextViewController : UIViewController
@end
| liyaozhong/Galary | Galary/TextViewController.h | C | mit | 218 |
# YNRefreshController
RefreshController in swift
| xuyunan/YNRefreshController | README.md | Markdown | mit | 49 |
function mathGame(){
var game = new Phaser.Game(window.innerWidth, window.innerHeight, Phaser.auto, 'math', {
preload: onPreload,
create: onCreate,
// resize:onResize
});
WebFontConfig = {
active: function() { game.time.events.add(Phaser.Timer.SECOND, createText, this); },
google: {
fami... | JulianBoralli/klink | app/assets/javascripts/math.js | JavaScript | mit | 5,149 |
package com.javarush.test.level14.lesson08.bonus03;
/**
* Created by Алексей on 12.04.2014.
*/
public class Singleton
{
private static Singleton instance;
private Singleton()
{
}
public static Singleton getInstance()
{
if ( instance == null )
{
instance = new Sin... | Juffik/JavaRush-1 | src/com/javarush/test/level14/lesson08/bonus03/Singleton.java | Java | mit | 381 |
// Copyright (c) Rotorz Limited. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root.
namespace Rotorz.Games.Collections
{
/// <summary>
/// Can be implemented along with <see cref="IReorderableListAdaptor"/> when drop
/// insertion or ordering is desired.
/// <... | tenvick/hugula | Client/Assets/Third/PSD2UGUI/@rotorz/unity3d-reorderable-list/Editor/Collections/IReorderableListDropTarget.cs | C# | mit | 2,164 |
# Rspec Thinking Sphinx matchers
[](https://travis-ci.org/Govinda-Fichtner/rspec-thinking-sphinx-matchers)
Test your Thinking Sphinx 3 index defintions with the custom rspec matchers of this gem.
If you are still u... | Govinda-Fichtner/rspec-thinking-sphinx-matchers | README.md | Markdown | mit | 1,855 |
'use strict';exports.__esModule = true;var _stringify = require('babel-runtime/core-js/json/stringify');var _stringify2 = _interopRequireDefault(_stringify);var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _possibleConstructorRetu... | JackPu/albums | App/user/controller/base.js | JavaScript | mit | 4,099 |
# Die Class 2: Arbitrary Symbols
# I worked on this challenge [by myself, with: ].
# I spent [#] hours on this challenge.
# Pseudocode
# Input: array of strings
# Output: random selection from the array
# Steps: initialize the die with a non-empty array
# define a method that finds the number of sides (strings in t... | schwartztal/phase-0 | week-6/die-2/my_solution.rb | Ruby | mit | 1,874 |
// +build !windows
package native
import "github.com/itchio/butler/endpoints/launch"
func handleUE4Prereqs(params launch.LauncherParams) error {
// nothing to worry about on non-windows platforms
return nil
}
| itchio/butler | endpoints/launch/launchers/native/ue4_prereqs_stub.go | GO | mit | 214 |
package com.ntlx.exception;
public class BoardNotFoundException extends KanbanException {
private static final long serialVersionUID = 1L;
private int boardId;
public BoardNotFoundException (int boardId) {
this.boardId = boardId;
}
public String getMessage() {
return "Board not found. (ID: " + boardId + ")";... | NautiluX/yukan | java_backend/src/main/java/com/ntlx/exception/BoardNotFoundException.java | Java | mit | 326 |
# coding: utf-8
require_relative 'wrapper_comparator'
module Comparability
module Comparators
class ReverseWrapperComparator < WrapperComparator
def compare(me, other)
reverse(wrapped_compare(me, other))
end
private
def reverse(comparison_result)
if comparison_result.n... | ippeiukai/comparability | lib/comparability/comparators/reverse_wrapper_comparator.rb | Ruby | mit | 461 |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Simon</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="css/simon.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=PT+Sans:400,700|VT323" rel="stylesheet">
... | sassjajc/freecodecamp-projects | public/simon.html | HTML | mit | 1,192 |
<h2>Editing Tip</h2>
<br>
<?php echo render('admin/tips/_form'); ?>
<p>
<?php echo Html::anchor('admin/tips/view/'.$tip->id, 'View'); ?> |
<?php echo Html::anchor('admin/tips', 'Back'); ?></p>
| gudeg-united/mishAPP | fuel/app/views/admin/tips/edit.php | PHP | mit | 196 |
package com.hyh.arithmetic.skills;
import android.annotation.SuppressLint;
import java.util.ArrayList;
import java.util.List;
/**
* 规划了一份需求的技能清单 req_skills,并打算从备选人员名单 people 中选出些人组成一个「必要团队」
* ( 编号为 i 的备选人员 people[i] 含有一份该备选人员掌握的技能列表)。
* 所谓「必要团队」,就是在这个团队中,对于所需求的技能列表 req_skills 中列出的每项技能,团队中至少有一名成员已经掌握。
* 我们可以用每个人的... | EricHyh/FileDownloader | ArithmeticDemo/src/main/java/com/hyh/arithmetic/skills/Solution4.java | Java | mit | 4,599 |
// Generated by CoffeeScript 1.8.0
(function() {
var TaskSchema, mongoose;
mongoose = require('./mongoose');
TaskSchema = mongoose.Schema({
id: {
type: Number,
unique: true
},
title: {
type: String
},
url: {
type: String,
unique: true
},
status: {
... | youqingkui/fav-dailyzhihu2evernote | models/tasks.js | JavaScript | mit | 472 |
---
layout: page
title: Twin Corporation Conference
date: 2016-05-24
author: Helen Conrad
tags: weekly links, java
status: published
summary: In hac habitasse platea dictumst. Morbi.
banner: images/banner/people.jpg
booking:
startDate: 05/07/2016
endDate: 05/12/2016
ctyhocn: PHLCVHX
groupCode: TCC
published: tr... | KlishGroup/prose-pogs | pogs/P/PHLCVHX/TCC/index.md | Markdown | mit | 2,480 |
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright 2018 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, or which
// otherwise accompanies th... | satya-das/cppparser | test/e2e/test_input/ObjectArxHeaders/axpnt2d.h | C | mit | 2,559 |
var mongoose = require('mongoose'),
_ = require('underscore'),
roomTokenizer = function(msg) {
var tokens = [];
tokens = tokens.concat(msg.content.split(' '));
tokens.push(msg.author);
return tokens;
};
exports.init = function(db) {
var EntitySchemaDefinition,
E... | vitoss/Corpo-Chat | service/lib/model/Message.js | JavaScript | mit | 1,286 |
import React, { PropTypes } from 'react'
import { Grid, Row, Col } from 'react-bootstrap'
import Sort from '../../components/Sort'
import ProjectFilterForm from '../../components/ProjectFilterForm'
import Search from '../../containers/Search'
import ProjectsDashboardStatContainer from '../../containers/ProjectsDashboar... | envisioning/tdb-storybook | src/pages/ProjectsDashboard/index.js | JavaScript | mit | 978 |
<HTML><HEAD>
<TITLE>Review for Scream (1996)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0117571">Scream (1996)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Tim+Voon">Tim Voon</A></H... | xianjunzhengbackup/code | data science/machine_learning_for_the_web/chapter_4/movie/8482.html | HTML | mit | 5,818 |
import _plotly_utils.basevalidators
class TextfontValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="textfont", parent_name="scattersmith", **kwargs):
super(TextfontValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | plotly/plotly.py | packages/python/plotly/plotly/validators/scattersmith/_textfont.py | Python | mit | 1,869 |
export default function mapNodesToColumns({
children = [],
columns = 1,
dimensions = [],
} = {}) {
let nodes = []
let heights = []
if (columns === 1) {
return children
}
// use dimensions to calculate the best column for each child
if (dimensions.length && dimensions.length === children.length) ... | novascreen/react-columns | src/mapNodesToColumns.js | JavaScript | mit | 811 |
/**
* @fileoverview enforce or disallow capitalization of the first letter of a comment
* @author Kevin Partington
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
const... | Aladdin-ADD/eslint | lib/rules/capitalized-comments.js | JavaScript | mit | 10,861 |
namespace PythonSharp.Exceptions
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class AttributeError : Exception
{
public AttributeError(string message)
: base(message)
{
}
}
}
| ajlopez/PythonSharp | Src/PythonSharp/Exceptions/AttributeError.cs | C# | mit | 308 |
package iso20022
// Security that is a sub-set of an investment fund, and is governed by the same investment fund policy, eg, dividend option or valuation currency.
type FinancialInstrument11 struct {
// Unique and unambiguous identifier of a security, assigned under a formal or proprietary identification scheme.
I... | fgrid/iso20022 | FinancialInstrument11.go | GO | mit | 983 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>tree-diameter: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.m... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.08.1-2.0.5/released/8.13.1/tree-diameter/8.6.0.html | HTML | mit | 7,194 |
---
layout: page
title: Hill - Travis Wedding
date: 2016-05-24
author: Denise Joseph
tags: weekly links, java
status: published
summary: Morbi dignissim viverra tortor sed molestie. Nullam.
banner: images/banner/office-01.jpg
booking:
startDate: 10/08/2016
endDate: 10/12/2016
ctyhocn: CBKKSHX
groupCode: HTW
pub... | KlishGroup/prose-pogs | pogs/C/CBKKSHX/HTW/index.md | Markdown | mit | 2,077 |
module.exports = {
FIREBASE_URL: 'https://amber-heat-<your-app>.firebaseio.com/',
TWITTER_KEY: '',
TWITTER_SECRET: '',
TWITTER_CALLBACK: process.env.TWITTER_CALLBACK || 'Twitter Callback Url'
}; | mikhailbartashevich/ngCarcass | server/config.js | JavaScript | mit | 199 |
/**
* @hidden
* @param a0
* @param a1
* @param a2
* @param a3
* @param a4
* @param a5
* @param a6
* @param a7
* @param b0
* @param b1
* @param b2
* @param b3
* @param b4
* @param b5
* @param b6
* @param b7
* @param index
* @returns
*/
export declare function extE3(a0: number, a1: number, a2: number,... | geometryzen/davinci-newton | build/module/lib/math/extE3.d.ts | TypeScript | mit | 501 |
require 'rails_helper'
describe SectionSevenController do
it { should respond_to(:index) }
end
| impact100/common-grant-application | spec/controllers/section_seven_controller_spec.rb | Ruby | mit | 98 |
# dispensable-chat
Socket.io party chat
Team name: `dispensable-flicker`
http://jsdev.learnersguild.org/goals/378-Socket-Party_Chat.html
## Instructions
Type the following in your terminal
1. `git clone https://github.com/TrevorJamesH/dispensable-chat.git trevorSocket`
2. `cd trevorSocket`
3. `npm run init-db`
4. Ge... | TrevorJamesH/dispensable-chat | README.md | Markdown | mit | 3,879 |
/**
* Copyright (C) 2012 - 2014 Xeiam LLC http://xeiam.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 limitation the rights to
* use, copy,... | habibmasuro/XChange | xchange-justcoin/src/main/java/com/xeiam/xchange/justcoin/service/polling/JustcoinBasePollingService.java | Java | mit | 2,758 |
WBlog
=======
[](https://travis-ci.org/windy/wblog)
[](https://codeclimate.com/github/windy/wblog)
[](https://codecl... | Syuusuke/hosea-blog | README.zh-CN.md | Markdown | mit | 3,486 |
'use strict'
const _ = require('lodash')
module.exports = {
getQueryString(url) {
const qs = {}
_.forEach(url.split('?').pop().split('&'), s => {
if (!s) return
const kv = s.split('=')
if (kv[0]) {
qs[kv[0]] = decodeURIComponent(kv[1])
}
})
return qs
},
toQuerySt... | tmspnn/uic | src/util/helpers.js | JavaScript | mit | 554 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | v8-dox/v8-dox.github.io | aadf356/html/classv8_1_1Isolate_1_1DisallowJavascriptExecutionScope-members.html | HTML | mit | 6,740 |
/*
* This file is part of React, licensed under the MIT License (MIT).
*
* Copyright (c) 2013 Flow Powered <https://flowpowered.com/>
* Original ReactPhysics3D C++ library by Daniel Chappuis <http://danielchappuis.ch>
* React is re-licensed with permission from ReactPhysics3D author.
*
* Permission is hereby gra... | flow/react | src/main/java/com/flowpowered/react/collision/narrowphase/EPA/EPAAlgorithm.java | Java | mit | 18,355 |
<?xml version="1.0" ?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Style-Type" content="text/css" />
<link rel="stylesheet" type="text/css" href="style.css" />
... | rubyworks/stick | work/consider/algebra-0.72/doc-ja/samples-ja.html | HTML | mit | 27,092 |
<!doctype html>
<html class="theme-next pisces use-motion" lang="en">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="Cache-Control" content="no-transform" />
<met... | Mr7Cat/Mr7Cat.github.io | tags/ReactNative/index.html | HTML | mit | 14,215 |
<!doctype html>
<html lang="en">
<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>{{ META.project_short_title }} | The Texas Tribune</title>
{% block styles %}
<link rel="stylesheet" href="//api.ti... | texastribune/tedtracker | app/templates/_base.html | HTML | mit | 2,998 |
using Microsoft.Xna.Framework;
namespace XmasHell.FSM
{
public struct FSMStateData<T>
{
public FSM<T> Machine { get; internal set; }
public FSMBehaviour<T> Behaviour { get; internal set; }
public T State { get; internal set; }
public GameTime GameTime { get; internal set; }
}
}
| Noxalus/Xmas-Hell | Xmas-Hell/Xmas-Hell-Core/FSM/FSMStateData.cs | C# | mit | 315 |
// --------------------------------------------------------------------------------------------
#region // Copyright (c) 2020, SIL International. All Rights Reserved.
// <copyright from='2011' to='2020' company='SIL International'>
// Copyright (c) 2020, SIL International. All Rights Reserved.
//
// Distributable und... | sillsdev/hearthis | src/HearThis/Script/IScripture.cs | C# | mit | 2,007 |
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>my-angular-cli-app documentation</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-sca... | Camyul/Angular2Project | documentation/directives/InputYearValidationDirective.html | HTML | mit | 38,723 |
module CdnBacon
VERSION = "0.0.1"
end
| bjedrocha/cdn_bacon | lib/cdn_bacon/version.rb | Ruby | mit | 40 |
## Build
Let's say your project name is Foo.
* cd to Foo.
* `npm run prod`
The command will generate all static files into build folder.
* `npm run start:prod`
You can test the build by run `npm run start:prod`, the command will bring up a node server which servers all static files under build foler.
Visit [http://... | euler-ui/boilerplate | docs/build.md | Markdown | mit | 472 |
---
layout: post
title: "Georgia Tech Baseball: Schedule Preview and Prediction - May"
description: "This is the end of the line, friends. Do the Jackets get over the tourney hump?"
permalink: https://www.fromtherumbleseat.com/2019/2/8/18215049/georgia-tech-baseball-schedule-preview-and-prediction-may-duke-pitt-mercer-... | akeaswaran/akeaswaran.github.io | _posts/2019-2-8-georgia-tech-baseball-schedule-preview-and-prediction---may.md | Markdown | mit | 349 |
'use strict';
var eachAsync = require('each-async');
var onetime = require('onetime');
var arrify = require('arrify');
module.exports = function (hostnames, cb) {
cb = onetime(cb);
eachAsync(arrify(hostnames), function (hostname, i, next) {
var img = new Image();
img.onload = function () {
cb(true);
// ... | arthurvr/is-reachable | browser.js | JavaScript | mit | 506 |
<?php
class Ressource extends Thing {
var $name;
var $url;
var $schemaDefinition;
function __construct($url = null) {
if ($url) $this->url = $this->preparePath($url);
}
function preparePath($path) {
$path = str_replace(" ", "+", $path);
return $path;
}
function getFileName() {
if (strpos($this->re... | neuronalysis/engulfing-core | classes/EDI/Ressource.php | PHP | mit | 2,052 |
module Ldaptic
class Error < ::RuntimeError
end
class EntryNotSaved < Error
end
# All server errors are instances of this class. The error message and error
# code can be accessed with <tt>exception.message</tt> and
# <tt>exception.code</tt> respectively.
class ServerError < Error
attr_accessor ... | tpope/ldaptic | lib/ldaptic/errors.rb | Ruby | mit | 3,960 |
package org.broadinstitute.sting.utils.codecs.table;
import org.broad.tribble.Feature;
import org.broad.tribble.readers.LineReader;
import org.broadinstitute.sting.gatk.refdata.ReferenceDependentFeatureCodec;
import org.broadinstitute.sting.utils.GenomeLocParser;
import org.broadinstitute.sting.utils.exceptions.UserEx... | iontorrent/Torrent-Variant-Caller-stable | public/java/src/org/broadinstitute/sting/utils/codecs/table/TableCodec.java | Java | mit | 4,090 |
<!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/234567135211.html | HTML | mit | 81,600 |
<!-- THIS FILE IS GENERATED VIA '.template-helpers/generate-tag-details.pl' -->
# Tags of `ruby`
- [`ruby:2.0.0-p647`](#ruby200-p647)
- [`ruby:2.0.0`](#ruby200)
- [`ruby:2.0`](#ruby20)
- [`ruby:2.0.0-p647-onbuild`](#ruby200-p647-onbuild)
- [`ruby:2.0.0-onbuild`](#ruby200-onbuild)
- [`ruby:2.0-onbuild`](#ruby20-onbuil... | mattrobenolt/docs | ruby/tag-details.md | Markdown | mit | 274,905 |
<div class="commune_descr limited">
<p>
Neufchâtel-Hardelot est
une ville géographiquement positionnée dans le département des Pas-de-Calais en Nord-Pas-de-Calais. Elle comptait 3 759 habitants en 2008.</p>
<p>La commune propose de multiples aménagements, elle dispose, entre autres, de deux terrains de te... | donaldinou/frontend | src/Viteloge/CoreBundle/Resources/descriptions/62604.html | HTML | mit | 1,880 |
//IP Flow Information Export (IPFIX) Entities
// Last Updated 2013-01-15
// http://www.iana.org/assignments/ipfix/ipfix.xml
var entities = [];
//ipfix-information-elements
entities['elements'] = {
"1":{"name":"octetDeltaCount","dataType":"unsigned64","dataTypeSemantics":"deltaCounter","group":"flowCounter","units":"... | shaofis/Netflow | lib/ipfix.js | JavaScript | mit | 37,954 |
using System;
namespace Versioning
{
public class NominalData : Sage_Container, IData
{
/* Autogenerated by sage_wrapper_generator.pl */
SageDataObject110.NominalData nd11;
SageDataObject120.NominalData nd12;
SageDataObject130.NominalData nd13;
SageDataObject140.... | staafl/dotnet-bclext | to-integrate/libcs_staaflutil/Business/Versioning/Definitions/Data/NominalData.cs | C# | mit | 13,238 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Alphabet Table</title>
</head>
<body>
<table border="1px">
<tr>
<td colspan="3" align="center">Title goes here</td>
<td align="center">A</td>
<td align="right">B</td>
</tr>
... | barrybantsova/Telerik-Academy | HTML/02.HTML Tables/alphabettable.html | HTML | mit | 1,049 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `uok` fn in crate `rustc_lint`.">
<meta name="keywords" con... | ArcherSys/ArcherSys | Rust/share/doc/rust/html/rustc_lint/middle/infer/fn.uok.html | HTML | mit | 4,052 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `color` mod in crate `term`.">
<meta name="keywords" conten... | ArcherSys/ArcherSys | Rust/share/doc/rust/html/term/color/index.html | HTML | mit | 10,248 |
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <errno.h>
#include <string.h>
#include <fcntl.h> /* Definition of AT_* constants */
#ifndef _MSC_VER
#include <unistd.h>
#include <dirent.h>
#else
#pragma warning(disable:4996)
#endif
#include "logging.h"
#include "config.h"
#include "... | usrecnik/ddlfs | src/dbro_refresh.c | C | mit | 5,152 |
using AutoMapper;
using Bivi.Domaine;
using Bivi.FrontOffice.Web.ViewModels;
using Bivi.FrontOffice.Web.ViewModels.ModelBuilders;
using Bivi.FrontOffice.Web.ViewModels.Pages.Common;
using Bivi.Infrastructure.Attributes.Modularity;
using Bivi.Infrastructure.Constant;
using Bivi.Infrastructure.Services.Caching;
... | apo-j/Projects_Working | Bivi/src/Bivi.FrontOffice/Bivi.FrontOffice.Web.Controllers/Controllers/PlanDuSiteController.cs | C# | mit | 1,396 |
require 'filefm'
def test_config
File.join(File.dirname(__FILE__), 'config.yml')
end
def swift_server
ENV["SWIFT_SERVER"]
end
def swift_username
u = ENV["SWIFT_USERNAME"]
u
end
def swift_password
ENV["SWIFT_PASSWORD"]
end
def swift_test_container
ENV["SWIFT_TEST_CONTAINER"] || "filefm-test"
end
def sw... | rubiojr/filefm | tests/helper.rb | Ruby | mit | 370 |
<div class="container">
<div class="jumbotron">
<h1>Best Offer</h1>
<p class="font-face">Welcome to BestOffer!</p>
</div>
<div class="row">
<div class="col-md-12">
<div ng-include="'/partials/main/our-customers.html'"></div>
</div>
</div>
</div> | liorzam/Best | public/app/main/main.html | HTML | mit | 305 |
module Rentjuicer
class Response
attr_accessor :body
def initialize(response, raise_error = false)
rash_response(response)
raise Error.new(self.body.code, self.body.message) if !success? && raise_error
end
def success?
self.body && !self.body.blank? && self.body.respond_to?(:statu... | tcocca/rentjuicer | lib/rentjuicer/response.rb | Ruby | mit | 944 |
/***************************************************************************/
/* */
/* ftlist.h */
/* */
/* Ge... | SLIBIO/SLib | external/include/freetype/ftlist.h | C | mit | 16,754 |
class CreateComments < ActiveRecord::Migration
def change
create_table :comments do |t|
t.references :post, index: true
t.integer :author_id
t.string :comment
t.timestamps
end
end
end
| morcov/socnet | db/migrate/20130906133507_create_comments.rb | Ruby | mit | 221 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.