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
package Thread; /** * Created by cnkaptan on 5/8/15. */ public class KarisikSayma { public static void main(String[] args){ ThreadTest thrd = new ThreadTest("Thread"); Thread runnableThread = new Thread(new RunnableTest("Runnable")); thrd.start(); runnableThread.start(); } }...
cnkaptan/JavaVariousSamples
src/Thread/KarisikSayma.java
Java
mit
861
namespace Gibraltar.Messaging { /// <summary> /// Wraps a Gibraltar Packet for publishing /// </summary> /// <remarks>For thread safety, request a lock on this object directly. This is necessary when accessing updateable properties.</remarks> internal class PacketEnvelope { private rea...
GibraltarSoftware/Loupe.Agent.Core
src/Core/Messaging/PacketEnvelope.cs
C#
mit
3,447
<?php namespace Icecave\Chrono\TimeSpan; use DateInterval; use Icecave\Chrono\Interval\IntervalInterface; use Icecave\Chrono\TimePointInterface; /** * A common interface for non-anchored blocks of time (periods and durations). */ interface TimeSpanInterface { /** * @return bool True if the time span is ze...
IcecaveStudios/chrono
src/TimeSpan/TimeSpanInterface.php
PHP
mit
2,370
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Network::Mgmt::V2019_11_01 module Models # # Authentication certificates of an application gateway. # class ApplicationGatew...
Azure/azure-sdk-for-ruby
management/azure_mgmt_network/lib/2019-11-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb
Ruby
mit
3,157
<!doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>jquery-qspin example</title> <link href="https://cdnjs.cloudflare.com/ajax/libs/foundation/6.2.1/foundation-flex.min.css" rel="stylesheet"> <style> /* dirt...
DennisBaberich/jquery-qspin
sample/sample.html
HTML
mit
4,417
# pre_NAMD.py # Creates the files used for NAMD based on the .pdb file dowloaded from PDB bank # # Usage: # python pre_NAMD.py $PDBID # # $PDBID=the 4 characters identification code of the .pdb file # # Input: # $PDBID.pdb: .pdb file downloaded from PDB bank # # Output: # $PDBID_p.pdb: .pdb file with water mole...
Xiaofei-Zhang/NAMD_Docking_pipeline
pre_NAMD/pre_NAMD.py
Python
mit
2,553
<!doctype html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1"> <title>WebEngine</title> <link rel="stylesheet" href="css/style.css"> </head> <body...
cordbleibaum/emscripten-project-template
html/index.html
HTML
mit
664
<?php declare(strict_types = 1); namespace OctoLab\Common\Util; /** * @author Kamil Samigullin <kamil@samigullin.info> */ final class Ini { /** @var bool */ private $processSections; /** @var int */ private $scannerMode; /** * @param bool $processSection * @param int $scannerMode ...
kamilsk/Common
src/Util/Ini.php
PHP
mit
2,270
package com.humooooour.kit.screen; import android.app.Activity; import android.view.KeyEvent; import android.view.MotionEvent; import com.humooooour.kit.HSApp; import com.humooooour.kit.geom.HSRect; import processing.core.PApplet; import processing.core.PGraphics; public class HSScreen { private HSApp mApp; pri...
thedoritos/HumourKit
src/com/humooooour/kit/screen/HSScreen.java
Java
mit
1,120
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-12-03 13:16 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('busshaming', '0013_auto_20170917_0502'), ] operati...
katharosada/bus-shaming
busshaming/migrations/0014_auto_20171203_1316.py
Python
mit
1,559
--- layout: post title: "Lindows for those sticky situations" date: 2016-03-24 categories: Development Environments comments: true --- <center> {% include image.html img="images/terminal.png" title="title for image" caption="Linux Terminal on Windows" %} </center> <br /> A recent curiousity in emberjs drove me to ...
cameronnorman/cameronnorman.github.io
_posts/2016-03-24-Lindows for those sticky situations.markdown
Markdown
mit
3,378
<?php /** * This is the starting point of the framework. * * The file receive all user requests thanks to the .htaccess. * The execution of this file allows all the initialisation, the evaluation * of the URL and the call of the appropriate method of the appropriate * controller which will then drive the rest of...
vpcom/Embryonic-MVC-PHP-Framework
index.php
PHP
mit
1,939
""" Poisson time series penalised likelihood regression via the Berman Turner device """ from . import weighted_linear_model from . import design_nonlattice as design from math import ceil import numpy as np from importlib import reload design = reload(design) class NonLatticeOneShot: """ the simplest devic...
danmackinlay/branching_process
branching_process/nonlattice/fit.py
Python
mit
6,351
<?php namespace porcelanosa\yii2options\models\query; /** * This is the ActiveQuery class for [[\app\modules\admin\models\ChildOptionMultiple]]. * * @see \app\modules\admin\models\ChildOptionMultiple */ class ChildOptionMultipleQuery extends \yii\db\ActiveQuery { /*public function active() { retur...
porcelanosa/yii2-options
models/query/ChildOptionMultipleQuery.php
PHP
mit
747
"""useful context managers""" from contextlib import suppress with suppress(ModuleNotFoundError): from lag import * import os import contextlib def clog(*args, condition=True, log_func=print, **kwargs): if condition: return log_func(*args, **kwargs) @contextlib.contextmanager def cd(newdir, verbos...
thorwhalen/ut
util/context_managers.py
Python
mit
908
package ls; import java.util.*; import javax.swing.table.AbstractTableModel; public class DirectoryTableModel extends AbstractTableModel { private final List<DirOpt> dirs = new ArrayList<>(); public List<DirOpt> getDirs () { return new ArrayList<>(dirs); } public void add (DirOpt dir) { ...
alexyz/logsearch
src/ls/DirectoryTableModel.java
Java
mit
2,287
.ttt-wrapper { margin: auto; width: 306px; height: 306px; } .ttt-cell{ float: left; width: 100px; height: 100px; border: 1px solid; } .ttt-wrapper .x{ background: #EE0000; } .ttt-wrapper .o{ background: #0000EE; }
jclif/my_site
css/tictactoe.css
CSS
mit
235
<?php declare(strict_types=1); /** * OrganizationsApi. * * PHP version 7.4 * * @category Class * @package DocuSign\eSign * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ /** * DocuSign REST API * * The DocuSign REST API provides you with a powerful, convenien...
docusign/docusign-php-client
src/Api/OrganizationsApi.php
PHP
mit
9,995
package com.teamunify.i18n.com.teamunify.i18n.webapp; import com.teamunify.i18n.I; import com.teamunify.i18n.webapp.AbstractLocaleFilter; import org.junit.Before; import org.junit.Test; import static junit.framework.Assert.*; import static org.mockito.Mockito.*; import javax.servlet.*; import java.io.IOException; im...
awkay/easy-i18n
src/test/java/com/teamunify/i18n/com/teamunify/i18n/webapp/ServletLocaleFilterTests.java
Java
mit
1,982
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>flocq: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.02.3-2.0.6/released/8.7.1+2/flocq/2.5.2.html
HTML
mit
6,960
export default interface DiscoveryPacket { timestamp: number; apiVersion: number; port: number; }
ThomasGaubert/openvr-notifications
desktop/src/models/DiscoveryPacket.ts
TypeScript
mit
104
<div ng-controller="View2Ctrl as myCtrl"> <h2>{{ myCtrl.content }}</h2> </div>
Mango-J/angular-seed
app/view2/view2.html
HTML
mit
81
.tabDIV{background: url(tabmenubg2.gif);height:38px; padding-top:13px; margin-bottom:3px; padding-left:5px;} .tabtitle{float: left; text-indent:18px; font-size:14px; /*background:url(arrow7.gif) no-repeat left center;*/padding-right:8px;} .tabselect{background: url(bgx5.gif) no-repeat center bottom;text-align: center;f...
javakaka/hslg
hslg/WebContent/res/js/tab/Style.css
CSS
mit
904
package main import ( "fmt" ) type myType int func (t myType) println() { fmt.Println(t) } func main() { var z myType = 123 z.println() }
skatsuta/kiso-golang
src/method.go
GO
mit
147
# 2048-vnc A docker version of 2048 on VNC (600x800) Based on [gabrielecirulli/2048](https://github.com/gabrielecirulli/2048) # Usage docker run -d --name 2048 -p 5901:5901 -it -e USER=firefox matyo91/2048-vnc then connect vnc://eval $(docker-machine ip 2048):5901 with password azertyui
matyo91/2048-vnc
README.md
Markdown
mit
297
/** reframe.js - Reframe.js: responsive iframes for embedded content @version v3.0.0 @link https://github.com/yowainwright/reframe.ts#readme @author Jeff Wainwright <yowainwright@gmail.com> (http://jeffry.in) @license MIT **/ (function (global, factory) { typeof exports === 'object' && typeof module !== '...
cdnjs/cdnjs
ajax/libs/reframe.js/3.0.0/reframe.js
JavaScript
mit
3,883
# Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. import os import warnings from pymatgen.core.structure import Structure from pymatgen.core.units import Ha_to_eV, bohr_to_ang from pymatgen.io.abinit.abiobjects import * from pymatgen.util.testing import PymatgenTest class ...
vorwerkc/pymatgen
pymatgen/io/abinit/tests/test_abiobjects.py
Python
mit
7,463
<?php declare(strict_types=1); namespace Mihaeu\PhpDependencies\Dependencies; class Clazz extends ClazzLike { }
mihaeu/dephpend
src/Dependencies/Clazz.php
PHP
mit
115
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: AssemblyCompany("...
aliencube/Hangeul-Romaniser
Documents/Properties/CommonAssemblyInfo.cs
C#
mit
870
/** * * STREAM: MVA (window: 15) * * * * DESCRIPTION: * - * * * API: * - * * * NOTES: * [1] * * * TODO: * [1] * * * HISTORY: * - 2014/05/28: Created. [AReines]. * * * DEPENDENCIES: * [1] * * * LICENSE: * MIT * * Copyright (c) 2014. Athan Reines. * * * AUTHOR: * Athan Reines. athan@nodeprime.com. 2014. * */...
kgryte/rpo-dynamics
app/utils/streams/output/mva/mva-w15.js
JavaScript
mit
3,126
'use strict'; module.exports = { compile: { options: { style: 'expanded', }, src : 'src/css/style.scss', dest : 'dist/css/style.css', }, };
anstosa/sarahandansel.wedding
grunt/sass.js
JavaScript
mit
194
Battleship project for U\+AF C\+S372 Spring 2016
Arsh25/Battleship
latex/md_README.tex
TeX
mit
49
<html> <head> <title>Praktikum PHP-Mysql</title> </head> <body> <font style="arial,helvetica" size="medium"> <b>Selamat datang di praktikum PHP-Mysql.</b></font><br> <font style="arial,helvetica" size="-1"> <b>Silahkan klik menu yang anda inginkan.</b></font> <br><br> <p> insert data<br> delete data<br> up...
ardiprakasa/PJW2015
phpmysql/phpmysqlcoba.php
PHP
mit
410
@import url(http://fonts.googleapis.com/css?family=Droid+Sans:400,700); @import url(http://fonts.googleapis.com/css?family=Droid+Serif); body { background-color: #d4d4d4; font-family: "Droid Serif", Helvetica, Arial, Sans-Serif; margin: 0px; padding: 0px; } h1, h2, h3, h4, h5, h6, h7 { font-family: "Droid Sa...
godgunman/trizza
web/public/stylesheets/index.css
CSS
mit
3,506
<?php namespace Sdd; use Sdd\Builder\DirectDebit as Builder; use Sdd\DirectDebit\GroupHeader; use Sdd\DirectDebit\PaymentInformation; /** * DirectDebit * * @author Carlo Chech 2016 * @license MIT */ class DirectDebit { /** * @var null */ protected $groupHeader = null; /** * @var null */ ...
wdog/sdd_ita
DirectDebit.php
PHP
mit
1,601
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>iris: 10 m 55 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="s...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.07.1-2.0.6/released/8.7.2/iris/3.1.0.html
HTML
mit
40,131
import _plotly_utils.basevalidators class ArrowcolorValidator(_plotly_utils.basevalidators.ColorValidator): def __init__( self, plotly_name="arrowcolor", parent_name="layout.annotation", **kwargs ): super(ArrowcolorValidator, self).__init__( plotly_name=plotly_name, par...
plotly/python-api
packages/python/plotly/plotly/validators/layout/annotation/_arrowcolor.py
Python
mit
479
<?php /** * @var $property Property * @var $form ActiveForm */ use DevGroup\DataStructure\models\Property; use DevGroup\DataStructure\propertyHandler\RelatedEntity; use devgroup\jsoneditor\Jsoneditor; use yii\helpers\ArrayHelper; use yii\helpers\Html; use yii\helpers\Json; use yii\widgets\ActiveForm; echo Yii::t('a...
DevGroup-ru/yii2-data-structure-tools
src/Properties/views/manage/_masked-input-settings.php
PHP
mit
1,384
// Generated on 2014-11-07 using generator-angular 0.9.8 'use strict'; // # Globbing // for performance reasons we're only matching one level down: // 'test/spec/{,*/}*.js' // use this if you want to recursively match all subfolders: // 'test/spec/**/*.js' module.exports = function (grunt) { // Load grunt tasks au...
MightyPixel/MatchUp
matchup-client/Gruntfile.js
JavaScript
mit
10,761
# Copyright (c) 2015 SnapDisco Pty Ltd, Australia. # All rights reserved. # # This source code is licensed under the terms of the MIT license # found in the "LICENSE" file in the root directory of this source tree. import sys if sys.version_info.major >= 3: from configparser import RawConfigParser else: from ...
jboy/nim-pymod
libpy/UsefulConfigParser.py
Python
mit
5,807
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>concat: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.08.1-2.0.5/released/8.7.0/concat/8.9.0.html
HTML
mit
6,623
<html> <head> <title>User agent detail - Mozilla/5.0 (Linux; U; Android 4.0.4; fa-ir) AppleWebKit/534.35 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.35 Puffin/2.10990AP Mobile</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"...
ThaDafinser/UserAgentParserComparison
v4/user-agent-detail/03/19/0319c78e-2507-4236-8ac0-ee7f48fce5c2.html
HTML
mit
46,852
FROM nvidia/cuda:8.0-cudnn5-devel-ubuntu16.04 RUN echo 'building GPU DeepDetect image' MAINTAINER Emmanuel Benazera "beniz@droidnik.fr" LABEL description="DeepDetect deep learning server & API / GPU version" RUN ln -sf /dev/stdout /var/log/deepdetect.log RUN ln -sf /dev/stderr /var/log/deepdetect.log RUN useradd -...
roscopecoltran/scraper
shared/docker/templates/deepdetect/docker/gpu-caffe-tf/Dockerfile
Dockerfile
mit
3,967
using ColorTypes using ColorTypes.FixedPointNumbers using Test @isdefined(CustomTypes) || include("customtypes.jl") using .CustomTypes SP = VERSION >= v"1.6.0-DEV.771" ? " " : "" # JuliaLang/julia #37085 @testset "single color" begin iob = IOBuffer() cf = RGB{Float32}(0.32218,0.14983,0.87819) c = conv...
SimonDanisch/ColorTypes.jl
test/show.jl
Julia
mit
6,095
import { Injectable } from '@angular/core'; @Injectable() export class UuidService { constructor() { } /* tslint:disable:no-bitwise */ get() { let uuid = ''; let i; let random; for (i = 0; i < 32; i++) { random = Math.random() * 16 | 0; if (i === 8 || i === 12 || i === 16 || i ===...
fabriciofmsilva/order-app-angular
src/app/core/utils/uuid.service.ts
TypeScript
mit
504
smarteditor.js ============== Class who wrap string that match regex. Is dependent of jQuery $el.html() and $el.text(). This class if often used in a contenteditable="true" context. ## Example Of Use CSS: ```css key.red {color:red;} key.green {color:green;} ``` HTML: ```html <pre contenteditable="true" id="edito...
jfdesgagne/smarteditor.js
README.md
Markdown
mit
807
function List(storage, $) { var items = []; var doneItems = []; var nextId = 0; this.storage = storage; this.toDo = items; this.done = doneItems; this.add = function (text) { var newItem = new ListItemModel(nextId,text); items.push(newItem); storage.store(newItem.id, JSON.stringify(newItem)...
NathanGloyn/to-doge
Local/js/list.js
JavaScript
mit
1,279
require "spec_helper" describe Tantot::Agent::Block do context "normal usage" do let(:value) { {changes: 0} } let(:changes) { {obj: nil} } before do v = value c = changes stub_model(:city) do watch {|changes| v[:changes] += 1; c[:obj] = changes} end end it "should...
petalmd/tantot
spec/collector/block_spec.rb
Ruby
mit
1,376
/* The MIT License (MIT) Copyright (c) 2016 EMC Corporation 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, mer...
carone1/ecs-dashboard
ecs-metadata-elasticsearch-dao/src/main/java/com/emc/ecs/metadata/dao/elasticsearch/ElasticS3ObjectDAO.java
Java
mit
29,830
/******************************************************************************* * Common styles */ html, body { color: #333333; font-family: Arial,sans-serif; font-size: 16px; } body { margin: 0; padding: 0; width: 100%; } ul { list-style-type: square; padding-left: 20px; } /***************...
worldline/easydoc
docs/_assets/style.css
CSS
mit
2,081
/* * MapsActivity * * Version 1.0 * * November 12, 2017 * * Copyright (c) 2017 Team NOTcmput301, CMPUT301, University of Alberta - All Rights Reserved * You may use, distribute, or modify this code under terms and conditions of the Code of Student Behavior at University of Alberta. * You can find a copy of the...
CMPUT301F17T28/NOTcmput301
app/src/main/java/com/notcmput301/habitbook/MapsActivity.java
Java
mit
6,346
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>cecoa: 9 m 9 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="st...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.02.3-2.0.6/released/8.8.0/cecoa/1.0.0.html
HTML
mit
13,142
// Generated by xsd compiler for ios/objective-c // DO NOT CHANGE! #import <Foundation/Foundation.h> extern NSString *const CheckSumMethod_NONE; extern NSString *const CheckSumMethod_MODULO_10;
maxep/PicoKit
Examples/BarCode/BarCode/net/webservicex/CheckSumMethod.h
C
mit
198
import * as angular from 'angular'; import {IRequestServiceProvider} from '../../common/utils/request-utils.provider'; import RecoveryPasswordComponent from './recovery-password.component'; import Core from '../../core'; import Utils from '../../common/utils'; export default angular .module('app.recovery-password'...
LekoWebDeveloper/angular-webapi-login-template
client/src/components/recovery-password/index.ts
TypeScript
mit
1,155
// // UIView+printSubviews.h // RYTSketchView // // Created by Ryan on 21/6/15. // // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> @interface UIView (PrintSubviews) - (void)printSubviewsWithIndentation:(int)indentation; @end
ryantan/RYTSketchView
Pod/Classes/UIView+printSubviews.h
C
mit
245
package yokohama.unit.ast; public abstract class AstVisitor<T> { public abstract T visitGroup(Group group); public abstract T visitAbbreviation(Abbreviation abbreviation); public T visitDefinition(Definition definition) { return definition.accept( this::visitTest, th...
tkob/yokohamaunit
src/main/java/yokohama/unit/ast/AstVisitor.java
Java
mit
6,022
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18444 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
xwcg/xMaterialForms
xMaterialIcons/Image.Designer.cs
C#
mit
647,925
smartthings =========== John's SmartThings stuff
jcr216/smartthings
README.md
Markdown
mit
50
version https://git-lfs.github.com/spec/v1 oid sha256:5181d344dc3334a5a80ecae84df1bb3107af7d92135639b56a7f73ec2ea1931c size 3057
yogeshsaroya/new-cdnjs
ajax/libs/highlight.js/8.5/languages/cpp.min.js
JavaScript
mit
129
<?php namespace Widgets\Dropdown; class Dropdown extends \Widgets\Core\Base{ public $options; public function __construct($options){ $this->template = 'dropdown'; $this->package = 'dropdown'; parent::__construct($options); } }
tylersavery/Houston
widgets/dropdown/dropdown.php
PHP
mit
243
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="ApiGen 2.8.0" /> <title>Class Monolog\Formatter\LogglyFormatterTest | seip</title> <script type="text/javascript" src="resources/combined.js?784181472"></script> <script type="text/...
Tecnocreaciones/VzlaGovernmentTemplateDeveloperSeed
api/class-Monolog.Formatter.LogglyFormatterTest.html
HTML
mit
158,528
using System; using System.Runtime.Serialization; // ReSharper disable CheckNamespace namespace SharpRemote // ReSharper restore CheckNamespace { /// <summary> /// This exception is thrown when a thrown exception should be marshalled (because it crosses the proxy / servant threshold) /// but cannot, for example be...
Kittyfisto/SharpRemote
SharpRemote/Exceptions/UnserializableException.cs
C#
mit
4,319
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("...
raapperez/vrf
frontend/js/components/menu.js
JavaScript
mit
3,426
// This file is distributed under the MIT license. // See the LICENSE file for details. #pragma once #ifndef VSNRAY_GL_BVH_OUTLINE_RENDERER_H #define VSNRAY_GL_BVH_OUTLINE_RENDERER_H 1 #include <memory> #include <vector> #include <visionaray/math/matrix.h> #include <visionaray/bvh.h> namespace visionaray { namespa...
ukoeln-vis/ctpperf
include/visionaray/gl/bvh_outline_renderer.h
C
mit
3,540
bql` image(size="foo") { width height src } `;
bicyclejs/babel-plugin-transform-bql
test/test-cases/invalid-character.js
JavaScript
mit
62
<!doctype html> <html lang="en"> <head> <title>测试页面</title> </head> <body> <h1>测试页面</h1> <p>hello server</p> <img src="http://127.0.0.1:8080/test.png" /> </body> </html>
walle-liao/jaf-examples
jaf-examples-httpserver/src/main/resources/index.html
HTML
mit
192
package de.gurkenlabs.litiengine.entities; import de.gurkenlabs.litiengine.graphics.RenderEngine; import java.awt.Graphics2D; import java.util.EventObject; /** * This {@code EventObject} contains data about the rendering process of an entity. * * @see RenderEngine#renderEntity(Graphics2D, IEntity) */ public class...
gurkenlabs/litiengine
core/src/main/java/de/gurkenlabs/litiengine/entities/EntityRenderEvent.java
Java
mit
1,089
<form accept-charset="UTF-8" class="main-widget-config-form common_tabs" method="post" autocomplete="off"> <!--Use for mobile devices 'Go' button--> <button type="submit" class="hidden"></button> <ul class="nav nav-tabs" data-tabs="tabs"> <li class="active"> <a href="#widget-config-setup" data-toggle...
ticketmaster-api/ticketmaster-api.github.io
_includes/widget-countdown-config.html
HTML
mit
5,636
import plain from '../structure/plain' import immutable from '../structure/immutable' import defaultShouldError from '../defaultShouldError' describe('defaultShouldError', () => { it('should validate when initialRender is true', () => { expect( defaultShouldError({ initialRender: true }) ...
erikras/redux-form
src/__tests__/defaultShouldError.spec.js
JavaScript
mit
2,200
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
v8-dox/v8-dox.github.io
0b32bbb/html/classv8_1_1ArrayBuffer_1_1Contents.html
HTML
mit
6,944
const path = require('path'); module.exports = { HOST: 'localhost', PORT: 3000, URL: { ROOT: 'https://bootflex.herokuapp.com', API: 'https://bootflex.herokuapp.com/api' }, PATH: { ROOT: path.join(__dirname, '..') } };
zrosenbauer/bootflex
doc-viewer/configs/production.js
JavaScript
mit
243
import Chaffle from "chaffle"; const scrambleAuthor = () => { const elements = document.querySelectorAll("[data-chaffle]"); elements.forEach(el => { const chaffle = new Chaffle(el, { speed: 10, delay: 20, }); el.addEventListener("mouseover", () => { c...
IvanWoo/subjpop.github.io
src/animations.js
JavaScript
mit
386
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>jordan-curve-theorem: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstr...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.10.1-2.0.6/extra-dev/dev/jordan-curve-theorem/8.7.0.html
HTML
mit
7,461
import { expect } from "chai"; import { JSDocPropertyLikeTag, Node } from "../../../../../compiler"; import { getInfoFromText } from "../../../testHelpers"; describe(nameof(JSDocPropertyLikeTag), () => { function getInfo(text: string) { const info = getInfoFromText(text); return { descendant: info....
dsherret/ts-simple-ast
packages/ts-morph/src/tests/compiler/ast/doc/base/jsDocPropertyLikeTagTests.ts
TypeScript
mit
2,721
// Copyright (c) 2015 Uber Technologies, Inc. // 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, merge, ...
RanaRunning/rana
web/src/components/MapGL/overlays/canvas.react.js
JavaScript
mit
2,671
<!DOCTYPE html> <html lang="ru"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> <title>Posts</title> <meta property="og:title" content="Posts" /> <meta name="twitter:title" con...
kudryashov-sv/kudryashov-sv.github.io
post/index.html
HTML
mit
11,651
e_header "Fixing synced folder permissions and linking to ~/sync..." sudo usermod -aG vboxsf $USER sudo ln -s /media/sf_sync ~/sync
ProtractorNinja/dotfiles-legacy
init/40_virtualbox.sh
Shell
mit
132
module.exports = {"1308":{"id":"1308","parentId":"155","name":"\u89e3\u653e\u533a"},"1309":{"id":"1309","parentId":"155","name":"\u4e2d\u7ad9\u533a"},"1310":{"id":"1310","parentId":"155","name":"\u9a6c\u6751\u533a"},"1311":{"id":"1311","parentId":"155","name":"\u5c71\u9633\u533a"},"1312":{"id":"1312","parentId":"155","...
wangbinxiang/SaasMainFrontEnd
client-src/js/vendors/area/area-155.js
JavaScript
mit
673
<?php /* AdminBundle:Admin:gestionCategories.html.twig */ class __TwigTemplate_d67b492aebafcd5f8ab65d887049fd9f778babe4069922cd9ffcb861388774ee extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 $this->parent = $this->loadT...
AziziNidhal/formation
var/cache/dev/twig/9e/9e7f6ac2722fe89fb849c145c79b7b4076f3b4cafa96f3c76d520acf3fe06829.php
PHP
mit
20,345
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>buchberger: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.12.0-2.0.8/released/8.13.2/buchberger/8.8.0.html
HTML
mit
7,184
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>fairisle: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.09.1-2.0.6/released/8.13.1/fairisle/8.9.0.html
HTML
mit
7,425
<?php /** * * Proxy Pattern * * A proxy pattern creates an entry point which interacts behind the scenes with other objects. * Can be useful for implementing access control, to implement lazy loading of resource intensive * objects, or to simply act as a wrapper to reduce the options available to another more ...
voidabhi/reddy
proxy-pattern.php
PHP
mit
2,019
#!/usr/bin/python -*- coding:utf-8 -*- __Author__ = "Riyaz Ahmad Bhat" __Email__ = "riyaz.ah.bhat@gmail.com" import re from collections import namedtuple from sanity_checker import SanityChecker class DefaultList(list): """Equivalent of Default dictionaries for Indexing Errors.""" def __init__(self, defaul...
darshan95/Shift-Reduce-Chunk-Expander
src/ssf_reader.py
Python
mit
4,608
# frozen_string_literal: true module Faker module Witcher class << self extend Gem::Deprecate def character Faker::Games::Witcher.character end def witcher Faker::Games::Witcher.witcher end def school Faker::Games::Witcher.school end def...
Dakurei/faker
lib/faker/default/witcher.rb
Ruby
mit
936
import os from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.md')) as f: README = f.read() with open(os.path.join(here, 'CHANGES.md')) as f: CHANGES = f.read() requires = [ 'pyramid', 'pyramid_jinja2', 'pyramid_debugt...
necaris/embedded-js-in-python-example
setup.py
Python
mit
1,216
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // 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, co...
iodes/WPFDesign
WPFDesign.Designer/Services/ClickOrDragMouseGesture.cs
C#
mit
2,615
using System.Collections.Immutable; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using MoreLinq; namespace WarHub.ArmouryModel.Source.CodeGeneration { internal abstract class CoreChildBase { protected CoreChildBase( ...
WarHub/wham
src/WarHub.ArmouryModel.Source.CodeGeneration/CoreChildBase.cs
C#
mit
2,521
using BNogent.StateMachine; namespace BNogent.StateMachineSamples { class MultipleMethodsSample { public void Build() { StateMachineBuilder smb = new StateMachineBuilder() { GenerateGraph = true }; State a = new State("A"); State b = new State("B"); ...
bnogent/state-machine
StateMachineSamples/MultipleMethodsSample.cs
C#
mit
751
<!doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title></title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="styles...
iondrimba/rename-me
public/index.html
HTML
mit
739
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- Generated by The Webalizer Ver. 2.01-10 --> <!-- --> <!-- Copyright 1997-2000 Bradford L. Barrett --> <!-- (brad@mrunix.net http://www.mrunix.net) --> <!-- --> <!-- D...
smeghammer/andi-website
stats/usage_200705.html
HTML
mit
106,466
class Solution { public: bool search(vector<int>& nums, int target) { int l = 0, r = nums.size() - 1; if(nums.empty()) return false; while(l != r && nums[l] == nums[r]) l++; while(l < r) { int mid = (l + r) >> 1; if(nums[mid] == target) return true; ...
w181496/OJ
LeetCode/81.Search_in_Rotated_Sorted_Array_II.cpp
C++
mit
875
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SassyStudio.Editor; namespace SassyStudio.Compiler.Parsing { public class VariableReference : ComplexItem, IResolvableToken { public VariableName Name { get; protected set; } public override bool Parse(...
darrenkopp/SassyStudio
SassyStudio.Compiler/Parsing/VariableReference.cs
C#
mit
838
package mcjty.rftools.blocks.teleporter; import mcjty.rftools.network.PacketListFromServer; import io.netty.buffer.ByteBuf; import java.util.List; public class PacketReceiversReady extends PacketListFromServer<PacketReceiversReady,TeleportDestinationClientInfo> { public PacketReceiversReady() { } publi...
Adaptivity/RFTools
src/main/java/mcjty/rftools/blocks/teleporter/PacketReceiversReady.java
Java
mit
617
"use strict"; const removeDiacritics = require('diacritics').remove; const request = require('request'); //const pSegCases = require('../test/promiseSwitchCase.js'); var utils = { /** * Resolve all promises in Object via for ... in loop * @param {object} obj - The object containing function properties => Swi...
W3stside/glitch
lib/utils.js
JavaScript
mit
3,112
var my = require('my'); var maxHeight = 300, maxWidth = 300; exports.view = function(data) { console.log("view: m.js"); console.log(data); var topic = data.topic; return( my.page({title: 'Hello World', scripts:["http://code.jquery.com/jquery-latest.js"]}, /*my.div({id: 'myDiv', style: {height: '800...
greyvugrin/openwhyd
whydJS/app/views/public/m.js
JavaScript
mit
2,229
using System; using System.Runtime.InteropServices; namespace NAudio.CoreAudioApi.Interfaces { [Guid("C8ADBD64-E71E-48a0-A4DE-185C395CD317"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] internal interface IAudioCaptureClient { /*HRESULT GetBuffer( BYTE** ppData, ...
Aragas/VKPlayer
VKPlayer/NAudio/CoreAudioApi/Interfaces/IAudioCaptureClient.cs
C#
mit
810
""" atomorder/parse_args.py Parses command line arguments and overwrites setting defaults """ from . import settings import argparse import sys description = "" epilog = "" parser = argparse.ArgumentParser( description = description, formatter_class = argparse.RawDescriptionHelpFormatter, ep...
larsbratholm/atomorder
atomorder/parse_args.py
Python
mit
2,393
using System.Threading.Tasks; namespace AppZen.Mvvm.Core.Interfaces { public interface IViewFactory { void CloseView(string id); Task ShowViewModel<T>(object argumentsAsAnonymousType) where T : IViewModel; Task ShowViewModel<T>() where T : IViewModel; } }
jodendaal/AppZen.Mvvm
src/AppZen.MVVM.Core/Interfaces/IViewFactory.cs
C#
mit
292
<html> <head> <title>User agent detail - SonyEricssonK618iv/R1ED Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> <link href="https://fonts.googleapis.com/icon?famil...
ThaDafinser/UserAgentParserComparison
v4/user-agent-detail/42/32/4232f792-3820-418a-9f1a-102e43b39b96.html
HTML
mit
41,609
# Options [`unified-engine`][api] can be configured extensively by engine authors. ## Table of Contents * [`options.processor`](#optionsprocessor) * [`options.cwd`](#optionscwd) * [`options.files`](#optionsfiles) * [`options.extensions`](#optionsextensions) * [`options.streamIn`](#optionsstreamin) * [`op...
wooorm/unified-engine
doc/options.md
Markdown
mit
29,602