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 |
|---|---|---|---|---|---|
Template.postSubmit.onCreated(function() {
Session.set('postSubmitErrors', {});
});
Template.postSubmit.helpers({
errorMessage: function(field) {
return Session.get('postSubmitErrors')[field];
},
errorClass: function (field) {
return !!Session.get('postSubmitErrors')[field] ? 'has-error' : '';
}
});
... | fuzzybabybunny/microscope-orionjs | client/templates/posts/post_submit.js | JavaScript | mit | 1,228 |
<?php
// Text
$_['text_sizechart'] = 'Größentabelle';
| trydalcoholic/opencart-materialize | source/opencart_3.0.x/upload/catalog/language/de-de/extension/module/sizechart.php | PHP | mit | 56 |
package ru.mephi.interpreter;
import org.antlr.v4.runtime.tree.ParseTree;
import java.math.BigInteger;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* @author Anton_Chkadua
*/
public class Scope {
static Scope GLOBAL = new Scope(null);
private Scope parent;
private Map<Big... | AVChkadua/interpreter | src/ru/mephi/interpreter/Scope.java | Java | mit | 6,273 |
# ServiceInfo.TryExcludeTag method
Attempts to exclude a tag from service.
```csharp
public bool TryExcludeTag(string tagName, out ServiceInfo service,
out IReadOnlyList<ServiceDefinitionError> errors)
```
## See Also
* class [ServiceDefinitionError](../ServiceDefinitionError.md)
* class [ServiceInfo](../Servi... | FacilityApi/Facility | docs/Facility.Definition/ServiceInfo/TryExcludeTag.md | Markdown | mit | 471 |
<?php
return array (
'id' => 'sec_e900_ver1_sub10',
'fallback' => 'sec_e900_ver1',
'capabilities' =>
array (
'accept_third_party_cookie' => 'false',
'j2me_max_jar_size' => '700000',
'ajax_support_getelementbyid' => 'true',
'ajax_support_events' => 'true',
),
);
| cuckata23/wurfl-data | data/sec_e900_ver1_sub10.php | PHP | mit | 289 |
<?php
return array (
'id' => 'dell_streak_7_ver1_suban32',
'fallback' => 'dell_streak_7_ver1',
'capabilities' =>
array (
'device_os_version' => '3.2',
),
);
| cuckata23/wurfl-data | data/dell_streak_7_ver1_suban32.php | PHP | mit | 172 |
<!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">
<meta name="author" content="Open Knowledge">
<meta name="description" content="The Global Open Data Index assesse... | okfn/opendataindex-2015 | place/ghana/health/2013/index.html | HTML | mit | 8,142 |
#include <cstring>
#include <iostream>
#include <algorithm>
#include "matcher.h"
#include "edit.h"
#include "char.h"
#include "instrumentation.h"
#define INIT_POS -1
#define __DEBUG__ false
// the node represented by a given point
#define node(p) (distances[(p)->j][(p)->i])
// the edit distance at a given point, from... | pmansour/algorithms | string-matching/edittable-and-tries/edit.cpp | C++ | mit | 6,604 |
/*!
* # Semantic UI 2.1.6 - Message
* http://github.com/semantic-org/semantic-ui/
*
*
* Copyright 2015 Contributors
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
/*******************************
Message
*******************************/
.ui.message {
position: relat... | arpitbbhayani/penny | app/static/semantic/dist/components/message.css | CSS | mit | 8,661 |
<?php
/*
* This file is part of the Beloop package.
*
* Copyright (c) 2016 AHDO Studio B.V.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Feel free to edit as you please, and have fun.
*
* @author Arkaitz Garro <arkaitz.garr... | beloop/components | src/Beloop/Bundle/InstagramBundle/BeloopInstagramBundle.php | PHP | mit | 1,660 |
6650 #include "types.h"
6651 #include "x86.h"
6652
6653 void*
6654 memset(void *dst, int c, uint n)
6655 {
6656 if ((int)dst%4 == 0 && n%4 == 0){
6657 c &= 0xFF;
6658 stosl(dst, (c<<24)|(c<<16)|(c<<8)|c, n/4);
6659 } else
6660 stosb(dst, c, n);
6661 return dst;
6662 }
6663
6664 int
6665 memcmp(const... | animesh2049/xv6 | fmt/string.c | C | mit | 2,236 |
import { IQuotation } from '../../model/QuotationService/IQuotation';
export interface IQuoteDisplayProps {
quote: IQuotation;
}
| BobGerman/SPFx | quotes/src/webparts/quoteDisplay/components/QuoteDisplay/IQuoteDisplayProps.ts | TypeScript | mit | 132 |
# Laravel 5.1 Generators
Some generators for Laravel 5.1
## Install
Require the package:
```sh
composer require bvw/laravel-generators dev-master
```
Add the service provider to **config/app.php** in Providers section:
```sh
BVW\Providers\GeneratorServiceProvider::class,
```
Run the generators:
```sh
php artisa... | brunowerneck/Generators | README.md | Markdown | mit | 623 |
--=========== Copyright © 2019, Planimeter, All rights reserved. ===========--
--
-- Purpose: Payload class
--
--==========================================================================--
require( "engine.shared.typelenvalues" )
class "payload" ( "typelenvalues" )
payload._handlers = payload._handlers or {}
-- Ge... | Planimeter/grid-sdk | engine/shared/network/payload.lua | Lua | mit | 1,441 |
version https://git-lfs.github.com/spec/v1
oid sha256:c4d5490597798effaf63d11e546f0b200f196f28e17c69d39ce236de0c6683f0
size 64139
| yogeshsaroya/new-cdnjs | ajax/libs/yui/3.17.2/scrollview-paginator/scrollview-paginator-coverage.js | JavaScript | mit | 130 |
### 2019-03-10
diff between today and yesterday
#### python
* [pirate/ArchiveBox](https://github.com/pirate/ArchiveBox): The open source self-hosted web archive. Takes browser history/bookmarks/Pocket/Pinboard/etc., saves HTML, JS, PDFs, media, and more...
* [0xAX/linux-insides](https://github.com/0xAX/linux-insides)... | larsbijl/trending_archive | 2019-03/2019-03-10_short.md | Markdown | mit | 4,230 |
import { Component, DebugElement } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { By, DOCUMENT } from '@angular/platform-browser';
import { TocComponent } from './toc.component';
import { TocItem, TocService } from 'app/shared/toc.service';
describe('TocCompon... | diestrin/angular | aio/src/app/embedded/toc/toc.component.spec.ts | TypeScript | mit | 6,886 |
<style>
body {
padding: 0;
margin: 0;
}
#viewer {
background-color: #000;
color: #fff;
margin: 0px;
padding: 0;
overflow: hidden;
}
</style>
<div id="viewer"></div>
| emgeee/webvr-camera-viewer | src/templates/view.tpl.html | HTML | mit | 181 |
/* omega - node.js server
http://code.google.com/p/theomega/
Copyright 2011, Jonathon Fillmore
Licensed under the MIT license. See LICENSE file.
http://www.opensource.org/licenses/mit-license.php */
var http=require("http");var om=require("./omlib");
var Omega={Request:function(req){var req;req={api:nul... | jfillmore/Omega-API-Engine | servers/js/omega.js | JavaScript | mit | 1,539 |
module Souschef
# Loads Souschef configuration YAML
class Config
# Public - Reads the configuration file
#
# Returns Hash
def self.read
verify_file
YAML.load_file(File.expand_path('~/.souschef.yml'))
end
# Private - Checks if we have a configuraiton file
#
# Returns nil
... | akrasic/souschef | lib/souschef/config.rb | Ruby | mit | 477 |
package main
import (
"encoding/json"
"flag"
"fmt"
"io/ioutil"
"log"
"net/url"
"os"
"os/user"
"path/filepath"
"strings"
"crypto/tls"
"net/http"
)
type configCommand struct {
config *ClientConfig
}
// skipVerifyHTTPClient returns an *http.Client with InsecureSkipVerify set
// to true for its TLS config.... | natewalck/micromdm | cmd/mdmctl/config.go | GO | mit | 3,654 |
module PlazrStore
VERSION = "0.0.1"
end
| Plazr/plazr_store | lib/plazr_store/version.rb | Ruby | mit | 42 |
# This is needed to render the menu properly, according to user's actions.
# The first menu option has an index of 0. The lower option is, the higher index it has.
selectable-update-current-index() {
# In case Arrow Down was pressed.
if [ "$1" == $SELECTABLE_ARROW_DOWN ]; then
# If there are n... | bound1ess/selectable | pieces/update-current-index.sh | Shell | mit | 1,010 |
/*
* TestProxy.cpp
*
* Created on: Sep 6, 2013
* Author: penrique
*/
#include "InvocationManager.h"
#include <bb/system/CardDoneMessage>
#include <bb/system/InvokeRequest>
// to send number data while invoking phone application
#include <bb/PpsObject>
// Map
#include <bb/platform/LocationMapInvoker>
#inc... | HazemKhaled/TiCardInvocation | module/InvocationManager.cpp | C++ | mit | 6,446 |
<?php
namespace Lonquan\TaobaoSDK\Top\Request;
use Lonquan\TaobaoSDK\Top\RequestCheckUtil;
use Lonquan\TaobaoSDK\Top\RequestInterface;
/**
* TOP API: taobao.product.img.delete request
*
* @author auto create
* @since 1.0, 2016.03.05
*/
class ProductImgDeleteRequest implements RequestInterface
{
... | lonquan/taobao-sdk | src/Top/Request/ProductImgDeleteRequest.php | PHP | mit | 1,480 |
require "point/version"
module Point
autoload :Point, 'point/point'
def self.sum(*args)
x = y = 0
args.each do |point|
x += point.x
y += point.y
end
self::Point.new(x, y)
end
end
| login73ul/point | lib/point.rb | Ruby | mit | 219 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (1.8.0_121) on Sat Apr 01 23:01:20 CEST 2017 -->
<title>Uses of Class algorithms.InitStrategy</title>
<meta name="date" content="2017-04-01">
<link re... | markhun/univie-SDM_K-means | doc/algorithms/class-use/InitStrategy.html | HTML | mit | 7,718 |
<?php
namespace MvMidia\Factory;
use MvMidia\Service\AudioService;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
class AudioServiceFactory
implements FactoryInterface
{
public function createService(ServiceLocatorInterface $serviceLocator)
{
$entityManager = $ser... | marcusvy/mv-orion | _server/module/MvMidia/src/MvMidia/Factory/AudioServiceFactory.php | PHP | mit | 420 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _10.CatalanNumbers
{
class Program
{
static void Main(string[] args)
{
// 10. Write a program to calculate the Nth Catalan number by given N.
... | bstaykov/Telerik-CSharp-Part-1 | Loops/10.CatalanNumbers/Program.cs | C# | mit | 1,982 |
<?php
/* TwigBundle:Exception:traces.txt.twig */
class __TwigTemplate_c3e3230b69c4964c8a557e1f2f357b5c8020737511aeeb0ff45cb50924b53015 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
... | lrodriguezcabrales/Tutorial | app/cache/dev/twig/c3/e3/230b69c4964c8a557e1f2f357b5c8020737511aeeb0ff45cb50924b53015.php | PHP | mit | 2,351 |
<section *ngIf="blogItems">
<div class="background"></div>
<div class="wrapper" *ngFor="let item of blogItems">
<div class="text" [innerHtml]="texts[blogItems.indexOf(item)]"></div>
<div class="item">
<aae-blog-item [blogItem]="item" [alias]="alias"></aae-blog-item>
</div>
</div>
</section... | KeJSaR/artezian-info-web | src/app/content/about/about.component.html | HTML | mit | 322 |
(function() {
var $, expect, fruits;
$ = require('../');
expect = require('expect.js');
/*
Examples
*/
fruits = '<ul id = "fruits">\n <li class = "apple">Apple</li>\n <li class = "orange">Orange</li>\n <li class = "pear">Pear</li>\n</ul>'.replace(/(\n|\s{2})/g, '');
/*
Tests
*/
descri... | wheeyls/meetingVis | node_modules/facile/test/public/javascripts/node_modules/cheerio/test/api.traversing.js | JavaScript | mit | 5,315 |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Form;
use Symfony\Component\Form\Exception\InvalidArg... | inso/symfony | src/Symfony/Component/Form/ResolvedFormType.php | PHP | mit | 9,680 |
<!DOCTYPE html>
<html lang = "en">
<head>
<title> Cultural Blog</title>
<link href='http://fonts.googleapis.com/css?family=Italianno' rel='stylesheet' type='text/css'>
</head>
<style type="text/css">
h1 {
text-align: center;
margin-top: 3%
}
p {
}
body {
background: url("http://www.hdwallpapers.in/walls... | Parjam/parjam.github.io | week2_cultural_blog.html | HTML | mit | 2,212 |
# nepali-wordlist
Nepali wordlist for wpa2 cracking. Includes password with length of 8 character or more and mostly contains nepali words including other common words.
## Files
* __nepali-name-suffix-8+.txt.gz:__
`Nepali names passwords with numbered suffix. Contains 80,00,000 words with up to 3 number suffixa. L... | prabinzz/nepali-wordlist | README.md | Markdown | mit | 897 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: diplomacy_tensorflow/core/example/feature.proto
#include "diplomacy_tensorflow/core/example/feature.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/io/coded_st... | diplomacy/research | diplomacy_research/proto/diplomacy_tensorflow/core/example/feature.pb.cc | C++ | mit | 110,384 |
require 'spec_helper'
require 'gitnesse/cli'
module Gitnesse
describe Cli, type: :cli do
let(:help) do
<<-EOS
USAGE: gitnesse push
Pushes local features to remote git-based wiki
Pushes the local features files to the remote git-based wiki, creating/updating
wiki pages as necessary.
Examples:
gitnesse ... | hybridgroup/gitnesse | spec/lib/cli/task/push_spec.rb | Ruby | mit | 478 |
//
// This file is auto-generated. Please don't modify it!
//
package org.opencv.objdetect;
import org.opencv.core.Mat;
import org.opencv.core.MatOfDouble;
import org.opencv.core.MatOfInt;
import org.opencv.core.MatOfRect;
import org.opencv.core.Size;
// C++: class CascadeClassifier
//javadoc: CascadeClassifier
publi... | MHS-FIRSTrobotics/TeamClutch-FTC2016 | OpenCV/src/main/java/org/opencv/objdetect/CascadeClassifier.java | Java | mit | 9,327 |
package GlidersGrid;
import java.util.Iterator;
import repast.simphony.context.Context;
import repast.simphony.engine.schedule.ScheduledMethod;
import repast.simphony.query.space.grid.MooreQuery;
import repast.simphony.space.grid.Grid;
import repast.simphony.space.grid.GridPoint;
import repast.simphony.util.ContextUt... | ZawilecxD/Social-Network-Simulator | GlidersGrid/src/GlidersGrid/Dead.java | Java | mit | 1,307 |
#ifndef LM75_H_
#define LM75_H_
/******************************************************************************/
/** \file Lm75.h
*******************************************************************************
*
* \brief This module allows to read the temperature of an attached lm75
* devic... | stocyr/Webhuesli | Server/hw/Lm75.h | C | mit | 1,624 |
#region Copyright (c) 2009 S. van Deursen
/* The CuttingEdge.Conditions library enables developers to validate pre- and postconditions in a fluent
* manner.
*
* To contact me, please visit my blog at http://www.cuttingedge.it/blogs/steven/
*
* Copyright (c) 2009 S. van Deursen
*
* Permission is hereby grant... | conditions/conditions | CuttingEdge.Conditions/RequiresValidator.cs | C# | mit | 4,490 |
(function(){
'use strict';
function ListService($http){
this.getList = function(list_id){
return $http.get('/lists/' + list_id + ".json")
}
}
ListService.$inject = ['$http']
angular
.module('app')
.service('ListService', ListService)
}()) | jd2rogers2/presently | old-code/ListService.js | JavaScript | mit | 273 |
angular.module('movieApp')
.directive('movieResult', function () {
var directive = {
restrict: 'E',
replace: true,
scope: {
result: '=result'
},
template: [
'<div class="row">',
'<div class="col-sm-4">',
'<img ng-src="{{result.Poster}}" alt="{{result.Title}}" width="220px">',
'</div>',
... | cjp666/MovieApp | src/movie-app/movie-result.directive.js | JavaScript | mit | 751 |
<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/24000-24999/24914-22.html | HTML | mit | 1,712 |
#include<stdio.h>
#include<math.h>
#include<conio.h>
#include<ctype.h>
int i,j,cash=100;
void wheel();
void game(int r);
void game_over();
int suit_bet();
int cash_bet();
int roll_wheel();
int roll_dice();
void wheel_count(int c,int h,int s);
void dice_count(int d,int h);
int w[9][9]={
{32,32,32,32,2,32,32,32,32... | abrarShariar/Roll-the-dice | final.c | C | mit | 4,262 |
/* eslint-env mocha */
const { expect } = chai;
import React from './React';
import TestUtils from './TestUtils';
describe('React components', () => {
it('should find valid xpath in react component', () => {
const component = TestUtils.renderIntoDocument(<blink>hi</blink>);
expect(component).to.have.xpath('/... | relekang/chai-have-xpath | test/react-tests.js | JavaScript | mit | 1,136 |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Sandsound</title>
<link rel="stylesheet" href="/css/reset.css">
<link rel="stylesheet" href="/css/style.css">
</head>
<body>
<canvas id="canvas" class="background"></canvas>
<!-- Ne s'affiche que si sur mobile :) -->
<div class="mobile">
... | vbillardm/Projet_Fin_ann-e | resources/views/profile/detail.blade.php | PHP | mit | 3,476 |
require 'lapine/test/exchange'
module Lapine
module Test
module RSpecHelper
def self.setup(_example = nil)
RSpec::Mocks::AllowanceTarget.new(Lapine::Exchange).to(
RSpec::Mocks::Matchers::Receive.new(:new, ->(name, properties) {
Lapine::Test::Exchange.new(name, properties)
... | wanelo/lapine | lib/lapine/test/rspec_helper.rb | Ruby | mit | 436 |
/*
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condition... | lordmos/blink | Source/platform/animation/UnitBezierTest.cpp | C++ | mit | 2,438 |
using Brandbank.Xml.Logging;
using System;
namespace Brandbank.Api.Clients
{
public sealed class FeedbackClientLogger : IFeedbackClient
{
private readonly ILogger<IFeedbackClient> _logger;
private readonly IFeedbackClient _feedbackClient;
public FeedbackClientLogger(ILogger<IFeedbackC... | Brandbank/Brandbank-Xml-And-Api-Helpers | Brandbank.Api/Clients/FeedbackClientLogger.cs | C# | mit | 1,649 |
<?php
namespace Zodream\Infrastructure\Http\Input;
/**
* Created by PhpStorm.
* User: zx648
* Date: 2016/4/3
* Time: 9:23
*/
use Zodream\Infrastructure\Base\MagicObject;
abstract class BaseInput extends MagicObject {
/**
* 格式化
* @param array|string $data
* @return array|string
*/
prote... | zx648383079/zodream | src/Infrastructure/Http/Input/BaseInput.php | PHP | mit | 932 |
---
home: true
heroImage: /sofa128.png
actionText: Get Started →
features:
- title: Schema definition
details: Strict modeling based on schema with automatic and custom type validation.
- title: Database operations
details: Insert, upsert and remove documents.
- title: Middleware
details: Support for pre and post... | bojand/lounge | docs/README.md | Markdown | mit | 1,030 |
<?php
/*
* This file is part of the Grosona.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
*/
namespace Grosona;
use Grosona\PhpProcess\Utils\Logger;
use Grosona\PhpProcess\TrobuleHandler;
/**
* Read configurati... | hchsiao/grosona | src/Grosona/TroubleHandler.php | PHP | mit | 2,474 |
class DashboardController < ApplicationController
def index
end
end
# vim: fo=tcq
| MaxMEllon/udon-dou | app/controllers/dashboard_controller.rb | Ruby | mit | 87 |
-- 创建T_Good表
CREATE TABLE IF NOT EXISTS T_Good
(
goodId INTEGER PRIMARY KEY NOT NULL,
good TEXT,
"createAt" TEXT DEFAULT (datetime('now', 'localtime'))
);
| DreamCatcherJ/shopping-cart-demo | 购物车/shoppingcart-demo/tables.sql | SQL | mit | 162 |
const getAllMatchers = require("./getAllMatchers");
describe("unit: getAllMatchers", () => {
let handler;
let matcherStore;
beforeEach(() => {
matcherStore = [{}, {}, {}];
handler = getAllMatchers(matcherStore);
});
test("it should return all matchers", () => {
expect(handler()).toHaveProperty... | dos-j/sham-it | server/internal/getAllMatchers.test.js | JavaScript | mit | 465 |
table {
font-family: Consolas, Monaco, monospace;
font-size: 1em;
line-height: 1.44em;
}
table th,
table td {
padding: 0.4em 0.8em;
}
| spiralx/userstyle-sources | css/unpkg.com.css | CSS | mit | 142 |
---
layout: post
title: "Welcome to Jekyll!"
tags: [web, jekyll]
---
Vestibulum vulputate ac sem dapibus sagittis. Phasellus vestibulum ligula quam, vitae porta risus posuere sit amet. Interdum et malesuada fames ac ante ipsum primis in faucibus.
Aliquam lobortis nisl ut semper suscipit. Aenean eget sem nisl. Sed gr... | maplemap/maplemap.github.io | _posts/2017/2017-7-4-Hello-World1.md | Markdown | mit | 3,187 |
# [parser](https://github.com/yanhaijing/template.js/blob/master/packages/parser)
[](https://github.com/yanhaijing/jslib-base)
[template.js](https://github.com/yanhaijing/template.js)的模板编译器
## 兼容性
单元测试保证支持如下环境:
| IE | CH | FF | SF | O... | yanhaijing/template.js | packages/parser/README.md | Markdown | mit | 1,564 |
# coding=utf-8
# --------------------------------------------------------------------------
# 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 ... | Azure/azure-sdk-for-python | sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/_managed_database_queries_operations.py | Python | mit | 12,909 |
Unicode.sublime-package
=======================
Disclaimer
----------
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Installation
------------
Install package to:
* __OSX:__ `~/Lib... | caffee/Unicode.sublime-package | README.md | Markdown | mit | 1,041 |
<?php
namespace Koalamon\IntegrationBundle\Integration;
class Integration
{
private $name;
private $image;
private $description;
private $url;
private $activeElements;
private $totalElements;
/**
* Integration constructor.
*
* @param $name
* @param $image
* @param... | koalamon/KoalamomPlatform | src/Koalamon/IntegrationBundle/Integration/Integration.php | PHP | mit | 1,660 |
---
layout: page
title: Roger Mercado's 91st Birthday
date: 2016-05-24
author: Juan Rodgers
tags: weekly links, java
status: published
summary: In molestie nec mauris a pretium. Pellentesque massa.
banner: images/banner/meeting-01.jpg
booking:
startDate: 06/25/2016
endDate: 06/27/2016
ctyhocn: SCOINHX
groupCode... | KlishGroup/prose-pogs | pogs/S/SCOINHX/RM9B/index.md | Markdown | mit | 2,469 |
import redis
import logging
import simplejson as json
import sys
from msgpack import Unpacker
from flask import Flask, request, render_template
from daemon import runner
from os.path import dirname, abspath
# add the shared settings file to namespace
sys.path.insert(0, dirname(dirname(abspath(__file__))))
import setti... | MyNameIsMeerkat/skyline | src/webapp/webapp.py | Python | mit | 2,673 |
/*******************************************************************************
* *
* Author : Angus Johnson *
* Version : 6.4.2 ... | lymastee/gslib | ext/clipper/clipper.cpp | C++ | mit | 137,526 |
module AttrValidator
# Copied from here https://github.com/rails/rails/blob/master/activesupport/lib/active_support/concern.rb
#
# A typical module looks like this:
#
# module M
# def self.included(base)
# base.extend ClassMethods
# base.class_eval do
# scope :disabled, -> { ... | AlbertGazizov/attr_validator | lib/attr_validator/concern.rb | Ruby | mit | 3,476 |
package ca.codybanman.AstroidEscape;
import org.robovm.apple.foundation.NSAutoreleasePool;
import org.robovm.apple.uikit.UIApplication;
import com.badlogic.gdx.backends.iosrobovm.IOSApplication;
import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration;
import ca.codybanman.AstroidEscape.AEGame;
public ... | crbanman/AstroidEscape | ios/src/ca/codybanman/AstroidEscape/IOSLauncher.java | Java | mit | 772 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Xml;
using System.Xml.Serialization;
using System.IO;
namespace TimeOut
{
... | CLN-Group/Time-Out | Time Out/partido.cs | C# | mit | 41,256 |
#include "V3DResourceMemory.h"
#include "V3DDevice.h"
#include "V3DBuffer.h"
#include "V3DImage.h"
#include "V3DAdapter.h"
/******************************/
/* public - V3DResourceMemory */
/******************************/
V3DResourceMemory* V3DResourceMemory::Create()
{
return V3D_NEW_T(V3DResourceMemory... | mixberry8/v3d | build/runtime/source/V3DResourceMemory.cpp | C++ | mit | 12,042 |
<?php
namespace Peridot\Leo\Interfaces;
use Peridot\Leo\Assertion;
use Peridot\Leo\Interfaces\Assert\CollectionAssertTrait;
use Peridot\Leo\Interfaces\Assert\ObjectAssertTrait;
use Peridot\Leo\Interfaces\Assert\TypeAssertTrait;
use Peridot\Leo\Leo;
/**
* Assert is a non-chainable, object oriented interface
* on to... | peridot-php/leo | src/Interfaces/Assert.php | PHP | mit | 6,019 |
<?php declare(strict_types=1);
namespace Gitilicious\GitClient\Test\Unit\Cli\Output;
use Gitilicious\GitClient\Cli\Output\Output;
class OutputTest extends \PHPUnit_Framework_TestCase
{
public function testGetNumberOfLines()
{
$output = new Output('foo' . PHP_EOL . 'bar');
$this->assertSame(2... | Gitilicious/git-client | tests/Unit/Cli/Output/OutputTest.php | PHP | mit | 758 |
black = '#202427';
red = '#EB6A58'; // red
green = '#49A61D'; // green
yellow = '#959721'; // yellow
blue = '#798FB7'; // blue
magenta = '#CD7B7E'; // pink
cyan = '#4FA090'; // cyan
white = '#909294'; // light gray
lightBlack = '#292B35'; // medium gray
lightRed = '#... | iamruinous/dotfiles | blink/themes/tempus_winter.js | JavaScript | mit | 966 |
import cuid from "cuid";
import Result, { isError } from "../../common/Result";
import assert from "assert";
import { di, singleton, diKey } from "../../common/di";
import { ILocalFiles, ILocalFilesKey } from "../../common/LocalFiles";
import { IStoreDB, IStoreDBKey, MergeEntity } from "../../common/db/StoreDB";
import... | michael-reichenauer/Dependinator | Web/src/application/diagram/Store.ts | TypeScript | mit | 10,268 |
<html>
<head>
<title>Julian Fellows's panel show appearances</title>
<script type="text/javascript" src="../common.js"></script>
<link rel="stylesheet" media="all" href="../style.css" type="text/css"/>
<script type="text/javascript" src="../people.js"></script>
<!--#include virtual="head.txt" -->
</head>
<body>
<!-... | slowe/panelshows | people/7g6x6fja.html | HTML | mit | 1,004 |
var createSubmit = function(name, primus, keyDict) {
return function(event) {
var message = $('#message').val();
if (message.length === 0) {
event.preventDefault();
return;
}
$('#message').val('');
$('#message').focus();
var BigInteger = for... | raytracer/CryptoGraph | src/client/stream/createSubmit.js | JavaScript | mit | 2,725 |
<?php
namespace action\sub;
use net\shawn_huang\pretty\Action;
class Index extends Action {
protected function run() {
$this->put([
'holy' => 'shit'
]);
}
} | Cretty/pretty-php | test/test_classes/action/sub/Index.class.php | PHP | mit | 195 |
<?php
namespace keeko\account\action;
use keeko\framework\foundation\AbstractAction;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use keeko\framework\domain\payload\Success;
/**
* User Widget
*
* This code is automatically created. Modifications will probably be over... | keeko/account | src/action/AccountWidgetAction.php | PHP | mit | 978 |
// Copyright (c) 2015-2017 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <zmq/zmqabstractnotifier.h>
#include <util.h>
CZMQAbstractNotifier::~CZMQAbstractNotifier()
{
assert(!psocket)... | globaltoken/globaltoken | src/zmq/zmqabstractnotifier.cpp | C++ | mit | 636 |
// Copyright (c) 2012 Ecma International. All rights reserved.
// Ecma International makes this code available under the terms and conditions set
// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
// "Use Terms"). Any redistribution of this code must retain the above
// copyright and this n... | PiotrDabkowski/Js2Py | tests/test_cases/built-ins/Array/prototype/reduce/15.4.4.21-2-15.js | JavaScript | mit | 1,201 |
import builder = require('botbuilder');
export module Helpers {
export class API {
public static async DownloadJson(url:string, post:boolean=false, options:any=undefined): Promise<string>{
return new Promise<string>(resolve => {
var XMLHttpRequest = require("xmlhttprequest").... | meulta/babylonjsbot | Common/Helpers.ts | TypeScript | mit | 983 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WingtipToys.Models;
namespace WingtipToys.Logic
{
public class AddProducts
{
public bool AddProduct(string ProductName, string ProductDesc, string ProductPrice, string ProductCategory, string ProductImagePath)
... | zacblazic/wingtip-toys | WingtipToys/Logic/AddProducts.cs | C# | mit | 934 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.security.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.c... | Azure/azure-sdk-for-java | sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecureScoreControlDefinitionsClient.java | Java | mit | 3,054 |
<?php
namespace Seahinet\Catalog\Indexer;
use Seahinet\Catalog\Model\Collection\Product;
use Seahinet\Catalog\Model\Product as ProductModel;
use Seahinet\Catalog\Model\Collection\Category;
use Seahinet\Lib\Db\Sql\Ddl\Column\UnsignedInteger;
use Seahinet\Lib\Indexer\Handler\AbstractHandler;
use Seahinet\Lib\I... | peachyang/py_website | app/code/Catalog/Indexer/Url.php | PHP | mit | 5,418 |
package org.superboot.service;
import com.querydsl.core.types.Predicate;
import org.springframework.data.domain.Pageable;
import org.superboot.base.BaseException;
import org.superboot.base.BaseResponse;
/**
* <b> 错误日志服务接口 </b>
* <p>
* 功能描述:
* </p>
*/
public interface ErrorLogService {
/**
* 按照微服务模块进行分组... | 7040210/SuperBoot | super-boot-global/src/main/java/org/superboot/service/ErrorLogService.java | Java | mit | 1,147 |
UNIX BUILD NOTES
================
Build Instructions: Ubuntu & Debian
Build requirements:
-------------------
```bash
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils
```
BOOST
-----
```bash
sudo apt-get install libboost-all-dev
```
BDB
---
For Ubun... | atcsecure/blocknet | doc/build-ubuntu-debian-w-xbridge.md | Markdown | mit | 1,690 |
$(function () {
var $container = $('#container');
var certificatesInfo = $container.data('certinfo');
var runDate = $container.data('rundate');
$('#created_date').html(runDate);
var sorted_certificates = Object.keys(certificatesInfo)
.sort(function( a, b ) {
return certificatesInfo[a].info.days_le... | JensDebergh/certificate-dashboard | public/js/tls-dashboard/scripts.js | JavaScript | mit | 2,250 |
---
title: "Configuring the Terminal on a New Macbook"
date: 2016-06-01 21:12:00
category: post
tags: [efficiency, osx, shell, sublime]
---
I bought a new Macbook Pro Retina today for personal use, and spent most of the day re-configuring the terminal and development environment to match my old machine. This post i... | bambielli/bambielli.github.io | _posts/2016-06-01-computer-set-up.md | Markdown | mit | 4,669 |
from PIL import Image
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
import numpy as np
img1 = Image.open('multipage.tif')
# The following approach seems to be having issue with the
# current TIFF format data
print('The size of each frame is:')
print(img1.size)
# Plots first frame
print('Frame 1'... | johnrocamora/ImagePy | max_tiff.py | Python | mit | 1,346 |
FROM nginx
MAINTAINER Konstantin Volodin, volodin.konstantin@gmail.com
COPY nginx.conf /etc/nginx
EXPOSE 80
EXPOSE 5500
ENTRYPOINT nginx -g "daemon off;"
| volodink/itstime4science | loadb/Dockerfile | Dockerfile | mit | 157 |
FROM golang:alpine as build
WORKDIR /go/src
COPY main.go .
RUN go build -o /go/bin/memhogger .
FROM alpine
LABEL maintainer="Michael Gasch <embano1@live.com>"
COPY --from=build /go/bin/memhogger /bin/memhogger
ENTRYPOINT ["memhogger"] | embano1/gotutorials | memhogger/Dockerfile | Dockerfile | mit | 235 |
-- phpMyAdmin SQL Dump
-- version 4.0.9
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: May 11, 2014 at 07:52 AM
-- Server version: 5.6.14
-- PHP Version: 5.5.6
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/... | code-for-india/cfi_akshaya_patra | apdb.sql | SQL | mit | 3,116 |
package com.InfinityRaider.AgriCraft.utility;
import com.InfinityRaider.AgriCraft.items.ItemAgricraft;
import com.InfinityRaider.AgriCraft.items.ItemNugget;
import com.InfinityRaider.AgriCraft.reference.Data;
import net.minecraft.block.Block;
import net.minecraft.item.Item;
import net.minecraft.item.ItemBlock;
import ... | HenryLoenwind/AgriCraft | src/main/java/com/InfinityRaider/AgriCraft/utility/OreDictHelper.java | Java | mit | 5,607 |
'use strict';
//Setting up route
angular.module('socketio-area').config(['$stateProvider',
function($stateProvider) {
// Socketio area state routing
$stateProvider.
state('socketio-area', {
url: '/socketio',
templateUrl: 'modules/socketio-area/views/socketio-area.client.view.html'
});
}
]); | NeverOddOrEven/testarea | public/modules/socketio-area/config/socketio-area.client.routes.js | JavaScript | mit | 308 |
#include "utlua.h"
#ifdef __linux__
#include <limits.h>
#include <linux/netfilter_ipv4.h>
#endif
#include <net/if.h>
#define LUA_TCPD_CONNECTION_TYPE "<tcpd.connect>"
#define LUA_TCPD_SERVER_TYPE "<tcpd.bind %s %d>"
#define LUA_TCPD_ACCEPT_TYPE "<tcpd.accept %s %d>"
#if FAN_HAS_OPENSSL
typedef struct
{
SSL_CTX *s... | luafan/luafan | src/tcpd.c | C | mit | 34,905 |
/**
* configuration for grunt tasks
* @module Gruntfile
*/
module.exports = function(grunt) {
/** load tasks */
require('load-grunt-tasks')(grunt);
/** config for build paths */
var config = {
dist: {
dir: 'dist/',
StoreFactory: 'dist/StoreFactory.js',
ngStoreFactory: 'dist/ngStore.js... | ishmaelthedestroyer/ngStore | Gruntfile.js | JavaScript | mit | 3,141 |
#requires -Modules InvokeBuild
[CmdletBinding()]
[System.Diagnostics.CodeAnalysis.SuppressMessage('PSAvoidUsingWriteHost', '')]
[System.Diagnostics.CodeAnalysis.SuppressMessage('PSAvoidUsingEmptyCatchBlock', '')]
param(
[String[]]$Tag,
[String[]]$ExcludeTag = @("Integration"),
[String]$PSGalleryAPIKey,
... | AtlassianPS/JiraPS | JiraPS.build.ps1 | PowerShell | mit | 12,832 |
/**
* Module dependencies.
*/
var express = require('express');
var path = require('path');
var api = require('./lib/api');
var seo = require('./lib/seo');
var app = module.exports = express();
app.set('port', process.env.PORT || 3000);
app.set('views', __dirname + '/views');
app.use(expre... | brettshollenberger/rootstrikers | server/app.js | JavaScript | mit | 1,520 |
# KnockGame
This sketch is responsible for the **Handshake** and **Knock** interfaces.
# External Libraries
## SerialCommand
https://github.com/kroimon/Arduino-SerialCommand
| anyWareSculpture/physical | arduino/old/KnockGame/README.md | Markdown | mit | 178 |
#include <iostream>
#include <string>
#include <forward_list>
using namespace std;
void insert(forward_list<string>& fst, const string& to_find, const string& to_add);
int main() {
forward_list<string> fst{ "pen", "pineapple", "apple", "pen" };
insert(fst, "pen", "and");
for (auto& i : fst)
cout << ... | sanerror/sanerror-Cpp-Primer-Answers | ch9/ex9_28.cpp | C++ | mit | 682 |
/*
* MIT License
*
* Copyright (c) 2017 Alessandro Arcangeli <alessandroarcangeli.rm@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... | mrkoopa/jfbx | java/mrkoopa/jfbx/FbxCameraStereo.java | Java | mit | 1,258 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.