repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
SamFergie/Roguelike
Roguelike/Systems/InventorySystem.cs
18045
using System; using System.Collections.Generic; using Roguelike.Core.Elements.Inventory; using Roguelike.Entities; using RLNET; namespace Roguelike.Systems { public class InventorySystem { private Player player; public InventorySystem() { player = Game.Player; } void...
mit
raideer/twitch-api
tests/Resources/TeamsTest.php
752
<?php class TeamsTest extends Raideer\TwitchApi\TestCase { public function __construct() { $this->setResource('Raideer\TwitchApi\Resources\Teams'); } public function test_getName_returnsTeams() { $this->assertSame('teams', $this->resource->getName()); } public function tes...
mit
rom-rb/rom
lib/rom/relation/graph.rb
2218
# frozen_string_literal: true require "dry/core/equalizer" require "rom/initializer" require "rom/relation/loaded" require "rom/relation/composite" require "rom/relation/materializable" require "rom/pipeline" require "rom/support/memoizable" module ROM class Relation # Abstract relation graph class # ...
mit
snedi/apilite
src/AppBundle/Tests/Entity/AuthTest.php
321
<?php namespace AppBundle\Tests\Entity; use AppBundle\Entity\Auth; use PHPUnit\Framework\TestCase; class AuthTest extends TestCase { public function testAdd() { $obj = new Auth(); $result = $obj->setToken('sdfsdf465456'); $this->assertEquals('sdfsdf465456', $obj->getToken()); } }...
mit
geekdog/GKDProgress
README.md
43
# GKDProgress A progress use CoreAnimation
mit
mwthinker/Zombie
src/humanplayer.h
1246
#ifndef ZOMBIE_HUMANPLAYER_H #define ZOMBIE_HUMANPLAYER_H #include "device.h" #include "physics/moving/unit.h" #include "player.h" #include "physics/moving/unit.h" #include <glm/gtx/rotate_vector.hpp> namespace zombie { class HumanPlayer : public Player { public: HumanPlayer(DevicePtr device, std::unique_ptr<Un...
mit
okcashpro/okcash
src/state.h
4272
// Copyright (c) 2014 The Okcash Developers // Distributed under the MIT/X11 software license, see the accompanying // file license.txt or http://www.opensource.org/licenses/mit-license.php. #ifndef COIN_STATE_H #define COIN_STATE_H #include <string> #include <limits> #include "sync.h" enum eNodeType { NT_FULL =...
mit
yogeshsaroya/new-cdnjs
ajax/libs/yui/3.17.0/slider-base/slider-base-debug.js
130
version https://git-lfs.github.com/spec/v1 oid sha256:b51623fcae1419d2bb29084e11d56fc9aafae7b0e35bd2a7fd30633a133bef40 size 24229
mit
halida/librr
lib/librr/displayer.rb
342
module Librr::Displayer class << self attr_accessor :save_output, :output def clear_output @output = [] end def save(text) @output ||= [] @output << text end end def show text if Librr::Displayer.save_output Librr::Displayer.save(text) return end ...
mit
paralin/1148WTF
client/js/gif.js
1679
var gif_bgs = []; var gif_center = []; var length_bgs = 0; var length_center = 0; var timer; var duration = 4000; var loaded = 0; var next_bg; var next_center; var audio = document.getElementById("sound"); var muted = false; function next(e){ clearInterval(timer); timer = setInterval(next, duration); $("#ba...
mit
yayraj/myproject
slrtcebook/templates/register.html
426
{% extends 'login_base.html' %} {% block body %} <div class="form-container"> <form action="" method="post" enctype="multipart/form-data"> {% csrf_token %} {% for field in form %} {{ field }} {{ field.errors }} {% endfor %} <input id="submit" type="submit" value="Create new account" /> </form> </d...
mit
YvesPasteur/env-php
cookbooks/xhprof/xhgui/tests/ProfilesTest.php
5305
<?php class ProfilesTest extends PHPUnit_Framework_TestCase { public function setUp() { $di = Xhgui_ServiceContainer::instance(); $this->profiles = $di['profiles']; $this->_loadFixture('tests/fixtures/results.json'); } protected function _loadFixture($file) { $conten...
mit
thebachchaoproject/safemaps
safemaps_android/src/com/tbp/safemaps/MarkUnsafe.java
1557
package com.tbp.safemaps; import the.safemaps.R; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; public class MarkUnsafe ext...
mit
cold-brew-coding/protagonist
src/result.cc
1745
#include "protagonist.h" #include "SerializeResult.h" #include "v8_wrapper.h" #include "snowcrash.h" using namespace v8; using namespace protagonist; Result::Result() { } Result::~Result() { } Nan::Persistent<Function> Result::constructor; void Result::Init(Handle<Object> exports) { Nan::HandleScope scope; ...
mit
wufengwhu/myBlog
app/views/select.html
325
<select ng-model="city" ng-options="city.name for city in cities"> <option value="">Choose City</option> </select> Best City:{{city.name}} <label>Select Two Fish</label> <input type="checkbox" ng-model="isTwoFish"> <br/> <select> <option>One Fish</option> <option ng-selected="isTwoFish">Two Fish</option> </sel...
mit
tilastokeskus/Matertis
dist/site/testapidocs/com/github/tilastokeskus/matertis/core/command/package-frame.html
1272
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_71) on Sun Jan 11 17:03:54 EET 2015 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>com.github.tilastok...
mit
RobErskine/generator-craft
app/templates/craft/app/tests/bootstrap.php
3152
<?php /** * Craft by Pixel & Tonic * * @package Craft * @author Pixel & Tonic, Inc. * @copyright Copyright (c) 2014, Pixel & Tonic, Inc. * @license http://buildwithcraft.com/license Craft License Agreement * @link http://buildwithcraft.com */ // Define path constants defined('CRAFT_BASE_PATH') ...
mit
dhedlund/importu
spec/support/dummy_backend.rb
1083
require "importu/backends" class DummyBackend def self.supported_by_definition?(definition) false end def initialize(finder_fields:, **) @finder_fields = finder_fields @objects = [] @max_id = 0 end def find(record) @finder_fields.detect do |field_group| if field_group.respond_to?(...
mit
ernitron/radio-server
radio-server/server.py
26943
#!/usr/bin/env python3 """ My radio server application For my eyes only """ #CREATE TABLE Radio(id integer primary key autoincrement, radio text, genre text, url text); uuid='56ty66ba-6kld-9opb-ak29-0t7f5d294686' # Import CherryPy global namespace import os import sys import time import socket import cherrypy imp...
mit
Landver/netmon
netmon/templates/baseold.html
5836
{% load staticfiles i18n %}<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>{% block title %}netmon{% endblock title %}</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description"...
mit
dreampet/gitlab
spec/requests/lfs_locks_api_spec.rb
4652
require 'spec_helper' describe 'Git LFS File Locking API' do include WorkhorseHelpers let(:project) { create(:project) } let(:maintainer) { create(:user) } let(:developer) { create(:user) } let(:guest) { create(:user) } let(:path) { 'README.md' } let(:headers) do { 'Authorization' =...
mit
parkr/yogi
archive.html
154
--- layout: default title: Yogi Tea Sayings - Archive --- {% for post in site.posts %} <article class="saying">{{ post.title }}</article> {% endfor %}
mit
AlexanderMoskovkin/testcafe-hammerhead
src/processing/style.js
3704
// ------------------------------------------------------------- // WARNING: this file is used by both the client and the server. // Do not use any browser or node-specific API! // ------------------------------------------------------------- /* eslint hammerhead/proto-methods: 2 */ import reEscape from '../utils/rege...
mit
ArkEcosystem/ark-desktop
src/renderer/services/synchronizer/index.js
312
import announcements from './announcements' import delegates from './delegates' import fees from './fees' import ledger from './ledger' import market from './market' import peer from './peer' import wallets from './wallets' export { announcements, delegates, fees, ledger, market, peer, wallets }
mit
olegnn/react-shopping-cart
src/components/Product/ProductPropertyInput/ProductPropertyInput.js
4423
/** * @flow * @module ProductPropertyInput * @extends React.PureComponent * * @author Oleg Nosov <olegnosov1@gmail.com> * @license MIT * * @description * React form for product property(options select only). * */ import React, { PureComponent } from "react"; import { isObject } from "../../../helpers"; imp...
mit
GoC-Spending/data-corporations
html/234567111997.html
33409
<!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...
mit
warnerem/pyASC
www/js/tagger.js
8131
let BASE_DIR = '/masn01-archive/'; const TAG_OPTIONS = ['meteor', 'cloud', 'bug', 'misc']; let CURR_DIR = null; let CURR_FILES = null; let INIT_CMAP = null; let CURR_IDX = 0; let PREV_IDX = null; $(async function() { let cameras = JSON.parse(await $.get('cameras.php')); cameras.forEach((camera) => { ...
mit
kingdido999/atogatari
client/src/components/GlobalSearch.js
1903
import React, { Component, PropTypes } from 'react' import { Search, Grid } from 'semantic-ui-react' import { browserHistory } from 'react-router' import Tag from './Tag' import { search, setQuery, clearSearch } from '../actions/entities' import { MIN_CHARACTERS, DONE_TYPING_INTERVAL } from '../constants/search' cons...
mit
vladislav-karamfilov/TelerikAcademy
ASP.NET WebForms Projects/ExamPreparation/PollSystem/PollSystem/Properties/AssemblyInfo.cs
1356
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Po...
mit
bradhowes/sidecar
docs/structSideCar_1_1Parameter_1_1Defs_1_1DynamicRangedTypeTraits.html
29751
<!-- HTML header for doxygen 1.8.10--> <!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" cont...
mit
johngibb/host-redirector
test/host_redirector_test.rb
808
require 'test_helper' class HostRedirectorTest < ActionController::TestCase tests MyController setup do @old_host = get_config_host set_config_host "localhost" end teardown do set_config_host @old_host end test "should get index" do request.host = "localhost" get :index ...
mit
syscoin/syscoin
src/secp256k1/contrib/lax_der_parsing.h
4234
/*********************************************************************** * Copyright (c) 2015 Pieter Wuille * * Distributed under the MIT software license, see the accompanying * * file COPYING or https://www.opensource.org/licenses/mit-license.php.* ***************************...
mit
kazuhito-m/kazuhito-m.github.io
_drafts/dotnet-core-ci.md
1391
# .NET CoreのプロジェクトをCIする方法 サンプル : https://ci.appveyor.com/project/KazuhitoMiura/dotnetcoresample/history MSの.NET系のCI…といえばAppVeyorなのですが、.NET Coreのやつは「今まだ対応されてない」ので、 `appveyor.yml` という設定ファイルを書きます。 UIと両方できるのですが、設定ファイルに書きます。 https://github.com/Remote-Pairpro/DotNetCoreSample/blob/master/appveyor.yml ランナーはxunitをつかってるので...
mit
khanduras/grav-backbone-js
pages/extras/menus/off-canvas/menu.md
311
--- title: 'off-canvas' items: 1: url: / title: Front Page icon: home 2: url: /tools title: Tools icon: wrench 3: url: /forms title: Forms icon: files-o 4: url: /alerts title: Alerts icon: bell-o ---
mit
kennethkalmer/powerdns-on-rails
config/environments/production.rb
2371
PowerdnsOnRails::Application.configure do # Settings specified here will take precedence over those in config/environment.rb # The production environment is meant for finished, "live" apps. # Code is not reloaded between requests config.cache_classes = true # Full error reports are disabled and caching is t...
mit
petruchcho/Android-JIProlog-XO
Java+Prolog/assets/tyugashov.pl
3018
%"Èíòåëëåêòóàëüíûå" êðåñòèêè-íîëèêè íà Java Internet Prolog %êîìïüþòåð óìååò èãðàòü è çà êðåñòèêè, è çà 0 % (Ñ) À.À. Òþãàøåâ 2014 %Êëåòêè ïîëÿ çàäàþòñÿ êîîðäèíàòàìè, íàïèìåð, [3,1] - ïðàâûé âåðõíèé óãîë %ñíà÷àëà íîìåð âåðòèêàëè! % 1 2 3 %1 | | %--------------------- %2 | | %----...
mit
babyliynfg/cross
tools/project-creator/Python2.6.6/Lib/test/test_pyclbr.py
7874
''' Test cases for pyclbr.py Nick Mathewson ''' from test.test_support import run_unittest, import_module import sys from types import ClassType, FunctionType, MethodType, BuiltinFunctionType import pyclbr from unittest import TestCase StaticMethodType = type(staticmethod(lambda: None)) ClassMethodTyp...
mit
pas1411/layzsunday
Lazysunday.com/XMLHandler.js
1581
<<<<<<< HEAD var xmlDoc; var xmlloaded = false; var _finalUrl; /* * input: none * output: none * gets zipcode from the zipcode text field */ function createURL() { var zip = document.getElementById("zipcode").value; var format = "&format=xml" var _clientId = "&client_id=API KEY"; var _url = "https:...
mit
akashbachhania/jeet99
application/views/ttt/caculate.php
37369
<div class="col-md-12 remove_padding"> <div class="col-md-4 right_padding ttt_pack" id="rmpd_calculate"> <div class="row col-md-12 header_new_style"> <h2 class="tt text_caplock">Location</h2> <span class="liner_landing"></span> ...
mit
casf19/random
LICENSE.md
1090
The MIT License (MIT) Copyright (c) 2015 copyright Juan Quemada 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,...
mit
plouc/nivo
packages/annotations/src/AnnotationNote.tsx
1549
import { createElement } from 'react' import omit from 'lodash/omit' import { useSpring, animated } from '@react-spring/web' import { useTheme, useMotionConfig } from '@nivo/core' import { NoteSvg } from './types' export const AnnotationNote = <Datum,>({ datum, x, y, note, }: { datum: Datum x: ...
mit
Pankiev/MMORPG_Prototype
Client/core/src/pl/mmorpg/prototype/client/exceptions/UnknownSpellException.java
262
package pl.mmorpg.prototype.client.exceptions; public class UnknownSpellException extends GameException { public UnknownSpellException(String identifier) { super(identifier); } public UnknownSpellException(Class<?> type) { super(type.getName()); } }
mit
maritz/nohm
examples/rest-user-server/Dockerfile
151
FROM node WORKDIR /usr/src/app COPY package*.json client.js index.html rest-server.js UserModel.js ./ RUN npm ci EXPOSE 3000 CMD ["npm", "start"]
mit
blyk/BlackCode-Fuse
AndroidUI/.build/Simulator/Android/include/app/Uno.Collections.UnionEnumerator__Outracks_Simulator_Bytecode_Statement.h
2919
// This file was generated based on 'C:\ProgramData\Uno\Packages\Uno.Collections\0.13.2\Extensions\$.uno'. // WARNING: Changes might be lost if you edit this file directly. #ifndef __APP_UNO_COLLECTIONS_UNION_ENUMERATOR__OUTRACKS_SIMULATOR_BYTECODE_STATEMENT_H__ #define __APP_UNO_COLLECTIONS_UNION_ENUMERATOR__OUTRACKS...
mit
simonmesmith/simonmesmith.github.io
_automation/paving-surfacing-and-tamping-equipment-operators.md
856
--- layout: automation title: Automation of Paving, Surfacing, and Tamping Equipment Operators subtitle: Will robots and artificial intelligence take the job of Paving, Surfacing, and Tamping Equipment Operators? Get the facts. soc: code: 47-2071 title: Paving, Surfacing, and Tamping Equipment Operators definitio...
mit
pumlhorse/pumlhorse
src/script/Script.ts
9364
import { ILogger, getLogger } from './loggers'; import { CancellationToken, ICancellationToken } from '../util/CancellationToken'; import { Step } from './Step'; import { ModuleLoader } from './ModuleLoader'; import * as _ from 'underscore'; import { Guid } from '../util/Guid'; import { InjectorLookup, Module, ModuleRe...
mit
lostfly2/g2
modules/Usermanager/views/tag_profile_edit.php
12808
<div class="usermanager_profile_edit"> <ion:usermanager request="form" attr="has_errors" form_name="profile_save"> <div class="greentab"><div class="greentab_head"><div><div><div><ion:translation term="module_usermanager_text_error" /></div></div></div></div><div class="greentab_content"><div><div> <div class="us...
mit
Laravel-Backpack/crud
LICENSE.md
7083
# YUMMY License > **YoU make Money, I make MoneY.** If you don't make money using it, you are allowed to use the Software for free. 1. Permission is hereby granted to any person obtaining (A) a copy of this software and (B) a license code issued on [backpackforlaravel.com](https://backpackforlaravel.com) (the "Softwa...
mit
htlcnn/pyrevitscripts
HTL.tab/Test.panel/Test.pushbutton/keyman/keyman/keys/models.py
300
from django.db import models from django.core.urlresolvers import reverse class Software(models.Model): name = models.CharField(max_length=200) def __unicode__(self): return self.name def get_absolute_url(self): return reverse('software_edit', kwargs={'pk': self.pk})
mit
lboss75/vds
www/store.html
3000
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Децентрализированное Хранилище Данных</title> <link rel="stylesheet" href="/bootstrap-3.3.7/css/bootstrap.min.cs...
mit
wikimedia/pywikibot-core
scripts/djvutext.py
6822
#!/usr/bin/python3 """ This bot uploads text from djvu files onto pages in the "Page" namespace. It is intended to be used for Wikisource. The following parameters are supported: -index:... name of the index page (without the Index: prefix) -djvu:... path to the djvu file, it shall be: ...
mit
LastLeaf/LightPalette
plugins/xbackup/rpc/sites.js
2163
// Copyright 2015 LastLeaf, LICENSE: github.lastleaf.me/MIT 'use strict'; var fs = require('fs'); var fse = require('fs-extra'); var async = require('async'); var User = fw.module('/db_model').User; var exports = module.exports = function(conn, res, args){ User.checkPermission(conn, 'admin', function(perm){ if(!p...
mit
OpenWestConference/opencfp-vote
README.md
15
# opencfp-vote
mit
kosatyi/node-gettext-generator
tests/source/test.html
128
{{ _("test1") }} {{ _('test2') }} {{ _ 'test3' }} {{ _ "test3.1" _ 'test4' _ "test5" }} <%=_("test6")%> <%= _("test7") %>
mit
jonasrottmann/realm-browser
realm-browser/src/main/java/de/jonasrottmann/realmbrowser/helper/ScrollAwareFABBehavior.java
2812
/* * Copyright 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
mit
valentin7/pianoHero
src/main/java/edu/brown/cs/pianoHeroFiles/PianoHeroFileHandler.java
11443
package edu.brown.cs.pianoHeroFiles; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileRea...
mit
bmottag/vci_app
assets/js/validate/hauling/hauling_v2.js
6397
$( document ).ready( function () { $( "#form" ).validate( { rules: { company: { required: true }, truckType: { required: true }, materialType: { required: true }, fromSite: { required: true }, toSite: { required: true }, hourIn: { required: true }, hourOut: { required: true...
mit
QianChia/QCWeChatPay
README.md
216
# QCWeChatPay - 微信 APP 支付 Demo - 开发环境:Xcode 8.2,WeChatSDK-1.7.5,AFNetworking-3.1.0 - 微信 APP 支付集成说明见 [QianChia 的博客](http://www.cnblogs.com/QianChia/p/6206153.html)。
mit
ctimmerm/axios-mock-adapter
test/asymmetric.spec.js
1140
var axios = require("axios"); var expect = require("chai").expect; var MockAdapter = require("../src"); describe("MockAdapter asymmetric matchers", function () { var instance; var mock; beforeEach(function () { instance = axios.create(); mock = new MockAdapter(instance); }); it("mocks a post reque...
mit
younginnovations/resourcecontracts-rc-subsite
database/migrations/2020_03_11_052945_update_pages_table.php
830
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class UpdatePagesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table( 'pages...
mit
lwelti/intl-name-initials
src/index.js
3252
'use strict'; var intlNameInitials = function () { }; var pattern = '{0}{1}'; function _firstLetter(text) { return text.charAt(0); } function _upperCase(letter) { if (letter === 'ı'){ return 'I'; } return letter.toUpperCase(); } function _isHangul(l){ if ((l > 44032) && (l < 55203)) {...
mit
susielu/3d
src/plantae/conical-dendrite-trees.js
1089
export default [ { radius: 6, sizeReduction: .85, branchProbability: 0.12, rotation: new THREE.Vector3(0, 1, 0), color: 'blue' },{ radius: 6, sizeReduction: .85, branchProbability: 0.21, rotation: new THREE.Vector3(0, 1, 0), color: 'blue' },{ radius: 3, sizeReduction: .87...
mit
GoogolplexCoin/GoogolPlexCoin
src/qt/locale/bitcoin_lv_LV.ts
106292
<?xml version="1.0" ?><!DOCTYPE TS><TS language="lv_LV" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Hirocoin</source> <translation>Par Hirocoin</translation> </m...
mit
dvv/luvit-unicode
Makefile
689
VERSION := 1.1a ROOT := $(shell pwd) PATH := $(ROOT)/.luvit:$(PATH) all: module test: module checkit tests/* module: build/slnunicode/unicode.luvit build/slnunicode/unicode.luvit: build/slnunicode/slnunico.c $(CC) $(shell luvit-config --cflags | sed 's/ -Werror / /') -DluaI_openlib=luaL_openlib -shared -o ...
mit
waysact/webpack-subresource-integrity
examples/webpack-preload/lazy-chunk-1.js
119
setTimeout(() => { import(/* webpackPreload: true */ "./lazy-chunk-2.js").then((mod) => mod.test() ); }, 750);
mit
heladiofog/ecommerce_ci
css/style.css
16646
/* @font-face { font-family: 'Gotham-Book'; src: url(Gotham-Book.otf); src: local('Gotham-Book'), local('Gotham-Book'), url(Gotham-Book.otf) format('opentype'); } @font-face { font-family: 'Muli'; font-style: normal; font-weight: 400; src: local('Muli'), url('http://themes.googleusercontent.com/s...
mit
tsufeki/hmcontainer
tests/Tsufeki/HmContainer/Definition/ReferenceTest.php
734
<?php declare(strict_types=1); namespace Tests\Tsufeki\HmContainer\Definition; use PHPUnit\Framework\TestCase; use Psr\Container\ContainerInterface; use Tsufeki\HmContainer\Definition\Reference; /** * @covers \Tsufeki\HmContainer\Definition\Reference */ class ReferenceTest extends TestCase { public function te...
mit
twsouthwick/poshgit2
test/PoshGit2.TabCompletion.Tests/TabCompletionTests.cs
24041
using NSubstitute; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; namespace PoshGit2.TabCompletion { public class TabCompletionTests { private readonly ITestOutputHelper _log; ...
mit
ryleg/fayalite
src/main/scala/org/fayalite/sjs/Schema.scala
5152
package org.fayalite.sjs import org.fayalite.sjs.canvas.CanvasBootstrap import org.scalajs.dom import org.scalajs.dom.Node import org.scalajs.dom.raw.CanvasRenderingContext2D import org.scalajs.dom.raw.HTMLCanvasElement import rx.core.{Rx, Var} /** * Created by aa on 3/17/2016. */ object Schema extends SJSHelp {...
mit
selcukfatihsevinc/app.io
lib/social/facebook.js
1038
var Purest = require('purest'); function Facebook(opts) { this._opts = opts || {}; this._opts.provider = 'facebook'; this._purest = new Purest(this._opts); this._group = 'LIB:SOCIAL:FACEBOOK'; return this; } Facebook.prototype.user = function (cb) { var self = this; this._purest.query() ...
mit
marclabud/cas_fee_projectone
src/notedetail/noteDetail.html
5137
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <title>Note Detail</title> <script src="http://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" cr...
mit
jabernardo/lollipop-php
Library/Benchmark.php
2593
<?php namespace Lollipop; defined('LOLLIPOP_BASE') or die('Lollipop wasn\'t loaded correctly.'); /** * Benchmark Class * * @author John Aldrich Bernardo * @email 4ldrich@protonmail.com * @package Lollipop * @description Class for recording benchmarks */ class Benchmark { /*...
mit
KN4CK3R/ReClass.NET
NativeCore/Windows/IsProcessValid.cpp
281
#include <windows.h> #include "NativeCore.hpp" bool RC_CallConv IsProcessValid(RC_Pointer handle) { if (handle == nullptr) { return false; } const auto retn = WaitForSingleObject(handle, 0); if (retn == WAIT_FAILED) { return false; } return retn == WAIT_TIMEOUT; }
mit
pulsifer/datatheme-mackenzie-pmd
publi.sh
1549
#!/usr/bin/env bash # build datatheme resources # usage: $ bash ./publi.sh # build & deploys datatheme resources to host s3 bucket # usage: $ bash ./publi.sh put dev.afgo.pgyi # dependencies: # aws cli : http://aws.amazon.com/cli/ # nodejs : https://nodejs.org/ # bawlk : https://github.com/tesera/bawlk datatheme_ro...
mit
finaldie/skull
src/user-c/src/srv_types.h
447
#ifndef SKULL_SERVICE_TYPES_H #define SKULL_SERVICE_TYPES_H #include "api/sk_txn.h" #include "api/sk_service.h" struct _skull_service_t { sk_service_t* service; const sk_txn_t* txn; sk_txn_taskdata_t* task; // If freezed == 1, user cannot use set/get apis to touch data. Instead // user s...
mit
dominictarr/goatdb
ideas.md
962
# read only In leveldb you may only open an instance in one process... but you could have other processes open the database in read only mode easily enough. You could also have each instance create it's own memtable, (and tail other's memtables... as long as there weren't too many) then you could have eventual consis...
mit
Meee32/NET-TEST
src/qt/bitcoingui.h
9461
#ifndef BITCOINGUI_H #define BITCOINGUI_H #include <QMainWindow> #include <QSystemTrayIcon> #include <QLabel> #include <QMap> #include "util.h" class TransactionTableModel; class WalletView; class ClientModel; class WalletModel; class WalletStack; class TransactionView; class OverviewPage; class AddressBookPage; cl...
mit
fegalo/jee6-demos
jsp/jsp-eventsource/src/main/java/dev/jee6demo/jspes/EventSourceServlet.java
1399
package dev.jee6demo.jspes; import java.io.IOException; import java.io.PrintWriter; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http....
mit
prestaconcept/PrestaCMSThemeBasicBundle
DependencyInjection/Configuration.php
1183
<?php /** * This file is part of the PrestaCMSThemeBasicBundle * * (c) PrestaConcept <www.prestaconcept.net> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Presta\CMSThemeBasicBundle\DependencyInjection; use Symfony\Com...
mit
ytabuchi/Study
XF_ManySwitches/XF_ManySwitches/XF_ManySwitches.Droid/MainActivity.cs
670
using System; using Android.App; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace XF_ManySwitches.Droid { [Activity(Label = "XF_ManySwitches", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | Con...
mit
Siljanovski/gapi
tests/controllers/home-unit-spec.js
6456
describe('controllers/home', function () { var di, Core, Home, Type, contentModel = { findOne: function() { } }, widgetHooks = [], widgetHook = { load: function (a, b, c) { widgetHooks.push({ ...
mit
kuhlenh/port-to-core
Reports/fl/flitbit.ioc.3.2.1/FlitBit.IoC-net451.html
52198
<!DOCTYPE html> <html xmlns:msxsl="urn:schemas-microsoft-com:xslt"> <head> <meta content="en-us" http-equiv="Content-Language" /> <meta content="text/html; charset=utf-16" http-equiv="Content-Type" /> <title _locid="PortabilityAnalysis0">.NET Portability Report</title> <style> ...
mit
dmitrysl/qt-mclaut-notifier
appsettingsstorage.h
1015
#ifndef APPSETTINGSSTORAGE_H #define APPSETTINGSSTORAGE_H #include <QDebug> #include <QCoreApplication> #include <QString> #include <QMap> #include <QSettings> #include <QDir> class AppSettingsStorage { public: enum Settings { ACCOUNT_LOGIN = 0, ACCOUNT_PASS, APP_RUN_ON_BOOT, APP_S...
mit
novius/jayps_search
config/config.php
1338
<?php return array( /** @brief Table de liaison avec les mots clés */ 'table_liaison' => 'jayps_search_word_occurence', /** @brief Préfixe de la table de liaison avec les mots clés */ 'table_liaison_prefixe' => 'mooc_', /** @brief mots clés interdits */ 'forbidden_words' => array( // ...
mit
joyent/node-lockfd
lib/index.js
2075
/* vim: set syntax=javascript ts=8 sts=8 sw=8 noet: */ /* * Copyright 2016, Joyent, Inc. */ var BINDING = require('./lockfd_binding'); function check_arg(pos, name, value, type) { if (typeof (value) !== type) { throw (new Error('argument #' + pos + ' (' + name + ') must be of type ' + type)); } } functi...
mit
amcassetti/parallax-pro-creator
app/scripts/controllers/draw.js
6782
'use strict'; angular.module('depthyApp') .controller('DrawCtrl', function ($scope, $element, depthy, $window, $timeout) { var drawer = depthy.drawMode, viewer = depthy.getViewer(), lastPointerPos = null, oldViewerOpts = angular.extend({}, depthy.viewer); drawer.setOptions(depthy.drawOpti...
mit
Lefter1s/BigBang
src/qt/locale/bitcoin_el_GR.ts
128896
<?xml version="1.0" ?><!DOCTYPE TS><TS language="el_GR" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About BigBang</source> <translation type="unfinished"/> </message> <message> <location lin...
mit
iqbalfn/admin
application/events/stat.php
114
<?php function event_stat_alexa_calculated($ranks){ } function event_stat_similarweb_calculated($ranks){ }
mit
moki/The-C-Programming-Language-walkthrough
chapter-1-A-Tutorial-Introduction/escape-multiple-blanks.c
337
#include <stdio.h> int main() { int current_char, previous_char; printf("Input text below, multiple spaces will be escaped:\n"); previous_char = -1; while((current_char = getchar()) != EOF) { if (!(current_char == ' ' && previous_char == ' ')) { putchar(current_char); } previous_char = cu...
mit
France-ioi/bebras-tasks
bebras/2018/2018-HU-07-arrows/index_ar_eg.html
21360
<!DOCTYPE html> <html dir="rtl" lan="en"> <head> <meta charset="utf-8"> <title>2018-AR-07-arrows</title> <script> window.stringsLanguage = 'ar'; </script> <script class="remove" type="text/javascript" src="../../../_common/modules/pemFioi/importModules-1.1_M.js" id="i...
mit
cicixiaoyan/OA_WEBApp
OA_WEBApp/src/pages/meeting/meeting-search/meeting-search.html
1768
<ion-header> <ion-navbar> <ion-title>会议查询</ion-title> <!-- <ion-buttons end (click)="presentPopover($event)"> <button ion-button icon-only> <ion-icon name="search"></ion-icon> </button> </ion-buttons> --> </ion-navbar> <div> <tab-slide (...
mit
femgeekz/femgeekz.github.io
tag/libraries/index.html
41
--- layout: tag_index tag: libraries ---
mit
holotrek/kore-csharp
Kore/Domain/EF/Kore.Domain.EF.Tests/Properties/AssemblyInfo.cs
1736
// *********************************************************************** // <copyright file="AssemblyInfo.cs" company="Holotrek"> // Copyright © Holotrek 2016 // </copyright> // *********************************************************************** using System.Reflection; using System.Runtime.CompilerServices...
mit
ectechno/mulgala
PlatformProject.SPA/App/sampleService/tableComponents/tableTemplate.html
91
<td> {{item.name}} </td> <td> {{item.age}} </td> <td> {{item.sex}} </td>
mit
ProyectoDAW2/Proyecto
application/libraries/my_phpmailer.php
177
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class My_PHPMailer { public function My_PHPMailer() { require_once('class.phpmailer.php'); } } ?>
mit
al3xdm/Twilio
config/module.config.php
287
<?php return array( 'service_manager' => array( 'factories' => array( 'Twilio\Options\ModuleOptions' => 'Twilio\Options\Factory\ModuleOptionsFactory', 'Twilio\Service\TwilioService' => 'Twilio\Service\Factory\TwilioServiceFactory' ) ) );
mit
srpurdy/SharpEdgeCMS
framework_2_2_3/language/pt-BR/date_lang.php
3088
<?php $lang['date_year'] = 'Ano'; $lang['date_years'] = 'Anos'; $lang['date_month'] = 'Mês'; $lang['date_months'] = 'Meses'; $lang['date_week'] = 'Semana'; $lang['date_weeks'] = 'Semanas'; $lang['date_day'] = 'Dia'; $lang['date_days'] = 'Dias'; $lang['date_hour'] = 'Hora'; $lang['date_hours'] = 'Horas'; $lang['date_min...
mit
waitman/red
doc/html/classItem-members.html
16319
<!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...
mit
goph/stdlib
time/time.go
69
// Package time extends the time package in the stdlib. package time
mit
linkeddata/ldnode
lib/utils.js
6588
/* eslint-disable node/no-deprecated-api */ module.exports.pathBasename = pathBasename module.exports.hasSuffix = hasSuffix module.exports.serialize = serialize module.exports.translate = translate module.exports.stringToStream = stringToStream module.exports.debrack = debrack module.exports.stripLineEndings = stripLi...
mit