repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
fuzzybabybunny/microscope-orionjs
client/templates/posts/post_submit.js
1228
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' : ''; } }); ...
mit
trydalcoholic/opencart-materialize
source/opencart_3.0.x/upload/catalog/language/de-de/extension/module/sizechart.php
56
<?php // Text $_['text_sizechart'] = 'Größentabelle';
mit
AVChkadua/interpreter
src/ru/mephi/interpreter/Scope.java
6273
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...
mit
FacilityApi/Facility
docs/Facility.Definition/ServiceInfo/TryExcludeTag.md
471
# 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...
mit
cuckata23/wurfl-data
data/sec_e900_ver1_sub10.php
289
<?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', ), );
mit
cuckata23/wurfl-data
data/dell_streak_7_ver1_suban32.php
172
<?php return array ( 'id' => 'dell_streak_7_ver1_suban32', 'fallback' => 'dell_streak_7_ver1', 'capabilities' => array ( 'device_os_version' => '3.2', ), );
mit
okfn/opendataindex-2015
place/ghana/health/2013/index.html
8142
<!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...
mit
pmansour/algorithms
string-matching/edittable-and-tries/edit.cpp
6604
#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...
mit
arpitbbhayani/penny
app/static/semantic/dist/components/message.css
8661
/*! * # 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...
mit
beloop/components
src/Beloop/Bundle/InstagramBundle/BeloopInstagramBundle.php
1660
<?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...
mit
animesh2049/xv6
fmt/string.c
2236
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...
mit
BobGerman/SPFx
quotes/src/webparts/quoteDisplay/components/QuoteDisplay/IQuoteDisplayProps.ts
132
import { IQuotation } from '../../model/QuotationService/IQuotation'; export interface IQuoteDisplayProps { quote: IQuotation; }
mit
brunowerneck/Generators
README.md
623
# 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...
mit
Planimeter/grid-sdk
engine/shared/network/payload.lua
1441
--=========== Copyright © 2019, Planimeter, All rights reserved. ===========-- -- -- Purpose: Payload class -- --==========================================================================-- require( "engine.shared.typelenvalues" ) class "payload" ( "typelenvalues" ) payload._handlers = payload._handlers or {} -- Ge...
mit
yogeshsaroya/new-cdnjs
ajax/libs/yui/3.17.2/scrollview-paginator/scrollview-paginator-coverage.js
130
version https://git-lfs.github.com/spec/v1 oid sha256:c4d5490597798effaf63d11e546f0b200f196f28e17c69d39ce236de0c6683f0 size 64139
mit
larsbijl/trending_archive
2019-03/2019-03-10_short.md
4230
### 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)...
mit
diestrin/angular
aio/src/app/embedded/toc/toc.component.spec.ts
6886
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...
mit
emgeee/webvr-camera-viewer
src/templates/view.tpl.html
181
<style> body { padding: 0; margin: 0; } #viewer { background-color: #000; color: #fff; margin: 0px; padding: 0; overflow: hidden; } </style> <div id="viewer"></div>
mit
jfillmore/Omega-API-Engine
servers/js/omega.js
1539
/* 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...
mit
akrasic/souschef
lib/souschef/config.rb
477
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 ...
mit
natewalck/micromdm
cmd/mdmctl/config.go
3654
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....
mit
Plazr/plazr_store
lib/plazr_store/version.rb
42
module PlazrStore VERSION = "0.0.1" end
mit
bound1ess/selectable
pieces/update-current-index.sh
1010
# 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...
mit
HazemKhaled/TiCardInvocation
module/InvocationManager.cpp
6446
/* * 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...
mit
lonquan/taobao-sdk
src/Top/Request/ProductImgDeleteRequest.php
1480
<?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 { ...
mit
login73ul/point
lib/point.rb
219
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
mit
markhun/univie-SDM_K-means
doc/algorithms/class-use/InitStrategy.html
7718
<!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...
mit
marcusvy/mv-orion
_server/module/MvMidia/src/MvMidia/Factory/AudioServiceFactory.php
420
<?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...
mit
bstaykov/Telerik-CSharp-Part-1
Loops/10.CatalanNumbers/Program.cs
1982
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. ...
mit
lrodriguezcabrales/Tutorial
app/cache/dev/twig/c3/e3/230b69c4964c8a557e1f2f357b5c8020737511aeeb0ff45cb50924b53015.php
2351
<?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( ...
mit
KeJSaR/artezian-info-web
src/app/content/about/about.component.html
322
<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...
mit
wheeyls/meetingVis
node_modules/facile/test/public/javascripts/node_modules/cheerio/test/api.traversing.js
5315
(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...
mit
inso/symfony
src/Symfony/Component/Form/ResolvedFormType.php
9680
<?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...
mit
Parjam/parjam.github.io
week2_cultural_blog.html
2212
<!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...
mit
prabinzz/nepali-wordlist
README.md
897
# 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...
mit
diplomacy/research
diplomacy_research/proto/diplomacy_tensorflow/core/example/feature.pb.cc
110384
// 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...
mit
hybridgroup/gitnesse
spec/lib/cli/task/push_spec.rb
478
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 ...
mit
MHS-FIRSTrobotics/TeamClutch-FTC2016
OpenCV/src/main/java/org/opencv/objdetect/CascadeClassifier.java
9327
// // 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...
mit
ZawilecxD/Social-Network-Simulator
GlidersGrid/src/GlidersGrid/Dead.java
1307
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...
mit
stocyr/Webhuesli
Server/hw/Lm75.h
1624
#ifndef LM75_H_ #define LM75_H_ /******************************************************************************/ /** \file Lm75.h ******************************************************************************* * * \brief This module allows to read the temperature of an attached lm75 * devic...
mit
conditions/conditions
CuttingEdge.Conditions/RequiresValidator.cs
4490
#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...
mit
jd2rogers2/presently
old-code/ListService.js
273
(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) }())
mit
cjp666/MovieApp
src/movie-app/movie-result.directive.js
751
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>', ...
mit
BuzzAcademy/idioms-moe-unformatted-data
all-data/24000-24999/24914-22.html
1712
<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>...
mit
abrarShariar/Roll-the-dice
final.c
4262
#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...
mit
relekang/chai-have-xpath
test/react-tests.js
1136
/* 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('/...
mit
vbillardm/Projet_Fin_ann-e
resources/views/profile/detail.blade.php
3476
<!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"> ...
mit
wanelo/lapine
lib/lapine/test/rspec_helper.rb
436
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) ...
mit
lordmos/blink
Source/platform/animation/UnitBezierTest.cpp
2438
/* * 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...
mit
Brandbank/Brandbank-Xml-And-Api-Helpers
Brandbank.Api/Clients/FeedbackClientLogger.cs
1649
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...
mit
zx648383079/zodream
src/Infrastructure/Http/Input/BaseInput.php
932
<?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...
mit
bojand/lounge
docs/README.md
1030
--- 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...
mit
hchsiao/grosona
src/Grosona/TroubleHandler.php
2474
<?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...
mit
MaxMEllon/udon-dou
app/controllers/dashboard_controller.rb
87
class DashboardController < ApplicationController def index end end # vim: fo=tcq
mit
DreamCatcherJ/shopping-cart-demo
购物车/shoppingcart-demo/tables.sql
162
-- 创建T_Good表 CREATE TABLE IF NOT EXISTS T_Good ( goodId INTEGER PRIMARY KEY NOT NULL, good TEXT, "createAt" TEXT DEFAULT (datetime('now', 'localtime')) );
mit
dos-j/sham-it
server/internal/getAllMatchers.test.js
465
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...
mit
spiralx/userstyle-sources
css/unpkg.com.css
142
table { font-family: Consolas, Monaco, monospace; font-size: 1em; line-height: 1.44em; } table th, table td { padding: 0.4em 0.8em; }
mit
maplemap/maplemap.github.io
_posts/2017/2017-7-4-Hello-World1.md
3187
--- 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...
mit
yanhaijing/template.js
packages/parser/README.md
1564
# [parser](https://github.com/yanhaijing/template.js/blob/master/packages/parser) [![](https://img.shields.io/badge/Powered%20by-jslib%20base-brightgreen.svg)](https://github.com/yanhaijing/jslib-base) [template.js](https://github.com/yanhaijing/template.js)的模板编译器 ## 兼容性 单元测试保证支持如下环境: | IE | CH | FF | SF | O...
mit
Azure/azure-sdk-for-python
sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/_managed_database_queries_operations.py
12909
# 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 ...
mit
caffee/Unicode.sublime-package
README.md
1041
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...
mit
koalamon/KoalamomPlatform
src/Koalamon/IntegrationBundle/Integration/Integration.php
1660
<?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...
mit
KlishGroup/prose-pogs
pogs/S/SCOINHX/RM9B/index.md
2469
--- 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...
mit
MyNameIsMeerkat/skyline
src/webapp/webapp.py
2673
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...
mit
lymastee/gslib
ext/clipper/clipper.cpp
137526
/******************************************************************************* * * * Author : Angus Johnson * * Version : 6.4.2 ...
mit
AlbertGazizov/attr_validator
lib/attr_validator/concern.rb
3476
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, -> { ...
mit
crbanman/AstroidEscape
ios/src/ca/codybanman/AstroidEscape/IOSLauncher.java
772
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 ...
mit
CLN-Group/Time-Out
Time Out/partido.cs
41256
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 { ...
mit
mixberry8/v3d
build/runtime/source/V3DResourceMemory.cpp
12042
#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...
mit
peridot-php/leo
src/Interfaces/Assert.php
6019
<?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...
mit
Gitilicious/git-client
tests/Unit/Cli/Output/OutputTest.php
758
<?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...
mit
iamruinous/dotfiles
blink/themes/tempus_winter.js
966
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 = '#...
mit
michael-reichenauer/Dependinator
Web/src/application/diagram/Store.ts
10268
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...
mit
slowe/panelshows
people/7g6x6fja.html
1004
<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> <!-...
mit
raytracer/CryptoGraph
src/client/stream/createSubmit.js
2725
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...
mit
Cretty/pretty-php
test/test_classes/action/sub/Index.class.php
195
<?php namespace action\sub; use net\shawn_huang\pretty\Action; class Index extends Action { protected function run() { $this->put([ 'holy' => 'shit' ]); } }
mit
keeko/account
src/action/AccountWidgetAction.php
978
<?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...
mit
globaltoken/globaltoken
src/zmq/zmqabstractnotifier.cpp
636
// 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)...
mit
PiotrDabkowski/Js2Py
tests/test_cases/built-ins/Array/prototype/reduce/15.4.4.21-2-15.js
1201
// 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...
mit
meulta/babylonjsbot
Common/Helpers.ts
983
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")....
mit
zacblazic/wingtip-toys
WingtipToys/Logic/AddProducts.cs
934
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) ...
mit
Azure/azure-sdk-for-java
sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecureScoreControlDefinitionsClient.java
3054
// 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...
mit
peachyang/py_website
app/code/Catalog/Indexer/Url.php
5418
<?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...
mit
7040210/SuperBoot
super-boot-global/src/main/java/org/superboot/service/ErrorLogService.java
1147
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 { /** * 按照微服务模块进行分组...
mit
atcsecure/blocknet
doc/build-ubuntu-debian-w-xbridge.md
1690
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...
mit
JensDebergh/certificate-dashboard
public/js/tls-dashboard/scripts.js
2250
$(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...
mit
bambielli/bambielli.github.io
_posts/2016-06-01-computer-set-up.md
4669
--- 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...
mit
johnrocamora/ImagePy
max_tiff.py
1346
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'...
mit
volodink/itstime4science
loadb/Dockerfile
157
FROM nginx MAINTAINER Konstantin Volodin, volodin.konstantin@gmail.com COPY nginx.conf /etc/nginx EXPOSE 80 EXPOSE 5500 ENTRYPOINT nginx -g "daemon off;"
mit
embano1/gotutorials
memhogger/Dockerfile
235
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"]
mit
code-for-india/cfi_akshaya_patra
apdb.sql
3116
-- 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 */; /...
mit
HenryLoenwind/AgriCraft
src/main/java/com/InfinityRaider/AgriCraft/utility/OreDictHelper.java
5607
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 ...
mit
NeverOddOrEven/testarea
public/modules/socketio-area/config/socketio-area.client.routes.js
308
'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' }); } ]);
mit
luafan/luafan
src/tcpd.c
34905
#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...
mit
ishmaelthedestroyer/ngStore
Gruntfile.js
3141
/** * 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...
mit
AtlassianPS/JiraPS
JiraPS.build.ps1
12832
#requires -Modules InvokeBuild [CmdletBinding()] [System.Diagnostics.CodeAnalysis.SuppressMessage('PSAvoidUsingWriteHost', '')] [System.Diagnostics.CodeAnalysis.SuppressMessage('PSAvoidUsingEmptyCatchBlock', '')] param( [String[]]$Tag, [String[]]$ExcludeTag = @("Integration"), [String]$PSGalleryAPIKey, ...
mit
brettshollenberger/rootstrikers
server/app.js
1520
/** * 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...
mit
anyWareSculpture/physical
arduino/old/KnockGame/README.md
178
# KnockGame This sketch is responsible for the **Handshake** and **Knock** interfaces. # External Libraries ## SerialCommand https://github.com/kroimon/Arduino-SerialCommand
mit
sanerror/sanerror-Cpp-Primer-Answers
ch9/ex9_28.cpp
682
#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 << ...
mit
mrkoopa/jfbx
java/mrkoopa/jfbx/FbxCameraStereo.java
1258
/* * 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...
mit