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
PP.lib.shader.shaders.color = { info: { name: 'color adjustement', author: 'Evan Wallace', link: 'https://github.com/evanw/glfx.js' }, uniforms: { textureIn: { type: "...
rdad/PP.js
src/lib/Shader.color.js
JavaScript
mit
20,938
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'save', 'de-ch', { toolbar: 'Speichern' } );
waxe/waxe.xml
waxe/xml/static/ckeditor/plugins/save/lang/de-ch.js
JavaScript
mit
225
// // The MIT License(MIT) // // Copyright(c) 2014 Demonsaw LLC // // 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, c...
demonsaw/Code
ds3/3_core/command/socket_command.cpp
C++
mit
2,225
cookbook_path ["berks-cookbooks", "cookbooks", "site-cookbooks"] node_path "nodes" role_path "roles" environment_path "environments" data_bag_path "data_bags" #encrypted_data_bag_secret "data_bag_key" knife[:berkshelf_path] = "berks-cookbooks" Chef::Config[:ssl_verify_mode] = :verify_peer if define...
rudijs/devops-starter
app/kitchen/.chef/knife.rb
Ruby
mit
330
// Specifically test buffer module regression. import { Buffer as ImportedBuffer, SlowBuffer as ImportedSlowBuffer, transcode, TranscodeEncoding, constants, kMaxLength, kStringMaxLength, Blob, } from 'buffer'; const utf8Buffer = new Buffer('test'); const base64Buffer = new Buffer('', 'b...
georgemarshall/DefinitelyTyped
types/node/test/buffer.ts
TypeScript
mit
8,030
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | AUTO-LOADER | ------------------------------------------------------------------- | This file specifies which systems should be loaded by default. | | In order to keep the fr...
usmanantharikta/slsbmc
application/config/autoload.php
PHP
mit
4,100
<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="layoutclass_pic"><div class="layoutclass_first_pic"><table class="ztable"><tr><th class="ztd1"><b>...
BuzzAcademy/idioms-moe-unformatted-data
all-data/0-999/555-31.html
HTML
mit
2,267
// Karma configuration // Generated on Tue Sep 09 2014 13:58:24 GMT-0700 (PDT) 'use strict'; var browsers = ['Chrome', 'PhantomJS']; if ( /^win/.test(process.platform) ) { browsers = ['IE']; } if (process.env.TRAVIS ) { browsers = ['PhantomJS']; } module.exports = function(config) { config.set({ // base pa...
chengzh2008/react-starter
karma.conf.js
JavaScript
mit
1,977
/* * Copyright (c) 2016-2017 Mozilla Foundation * * 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, me...
tripu/validator
src/nu/validator/xml/UseCountingXMLReaderWrapper.java
Java
mit
22,613
"use strict"; var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Ob...
FreeAllMedia/dovima
es5/spec/model/toString.spec.js
JavaScript
mit
4,683
namespace FTJFundChoice.OrionClient.Models.Enums { public enum HowIsAdvRegistered { Unknown = 0, SECRegistered = 1, StateRegistered = 2, Unregistered = 3, Other = 4 } }
FTJFundChoice/OrionClient
FTJFundChoice.OrionClient/Models/Enums/HowIsAdvRegistered.cs
C#
mit
220
<?php //Announce.php namespace litepubl\post; use litepubl\view\Lang; use litepubl\view\Schema; use litepubl\view\Vars; /** * Post announces * * @property-write callable $before * @property-write callable $after * @property-write callable $onHead * @method array before(array $params) * @method ...
litepubl/cms
lib/post/kernel.php
PHP
mit
69,969
#ifndef GLMESH_H #define GLMESH_H #include <GLplus.hpp> namespace tinyobj { struct shape_t; } // end namespace tinyobj namespace GLmesh { class StaticMesh { std::shared_ptr<GLplus::Buffer> mpPositions; std::shared_ptr<GLplus::Buffer> mpTexcoords; std::shared_ptr<GLplus::Buffer> mpNormals; std::s...
nguillemot/LD48-Beneath-The-Surface
GLmesh/include/GLmesh.hpp
C++
mit
605
github-org-feed-page ==================== Static site for your orgs gh-pages that shows off a feed of great things your team have been doing on github recently
pimterry/github-org-feed-page
README.md
Markdown
mit
162
# 888. Fair Candy Swap Difficulty: Easy https://leetcode.com/problems/fair-candy-swap/ Alice and Bob have candy bars of different sizes: A[i] is the size of the i-th bar of candy that Alice has, and B[j] is the size of the j-th bar of candy that Bob has. Since they are friends, they would like to exchange one cand...
jiadaizhao/LeetCode
0801-0900/0888-Fair Candy Swap/README.md
Markdown
mit
1,289
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>smooth scroll polyfill</title> <meta name="viewport" content="width=device-width"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/4.1.1/normalize.min.css"> <link href='https://fonts.googleapis.com/css?family...
DylanPiercey/smoothscroll
index.html
HTML
mit
10,145
<?php namespace spec\Welp\MailchimpBundle\Event; use PhpSpec\ObjectBehavior; use Prophecy\Argument; class WebhookEventSpec extends ObjectBehavior { function let($data = ['test' => 0, 'data' => 154158]) { $this->beConstructedWith($data); } function it_is_initializable() { $this->s...
welpdev/mailchimp-bundle
spec/Event/WebhookEventSpec.php
PHP
mit
552
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) require 'bundler/setup' # Set up gems listed in the Gemfile. require 'rubygems' require 'rails/commands/server' =begin module Rails class Server alias :default_options_bk :default_options def default_options default_options_bk.merge!(Ho...
xiaominghe2014/AccountsSys
config/boot.rb
Ruby
mit
365
<!DOCTYPE html> <html lang="en"> <head> <?php include "htmlheader.php" ?> <title>The War of 1812</title> </head> <body> <?php include "pageheader.php"; ?> <!-- Page Header --> <!-- Set your background image for this header on the line below. --> <header class="intro-header" style="background-i...
roll11tide/europeanwar
1812.html.php
PHP
mit
3,908
CardFlip ======== FlipContainerView is a class which allows users to set a front and a back view of a 'card', and flip it over to display a detail view. It supports panning, so the user can 'play' with the card, pulling it down gradually or by swiping it quickly. If the user is panning, the card will automatically f...
jarrodrobins/CardFlip
README.md
Markdown
mit
4,113
body { font-family: Helvetica; color: #111; overflow: hidden; margin: 0; background: #f2f2f2; line-height: 1.5; } header { display: block; margin: 20% auto; text-align: center; font-size: 50px; font-weight: bold; } header span { position: relative; display: inline-block; } button { ...
TheHagueUniversity/2017_1.1_programming-extended-course
wk4exercises/wk4exercise07/styles/mystyle.css
CSS
mit
398
/* * This file is part of SpongeAPI, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Soft...
frogocomics/SpongeAPI
src/main/java/org/spongepowered/api/data/types/InstrumentType.java
Java
mit
1,532
<?xml version="1.0" encoding="UTF-8"?> <!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" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="vi...
jdleesmiller/jdleesmiller.github.io
emat20005/index.html
HTML
mit
32,228
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>Potlatch!</title> <link href="./static/css/skeleton.css" rel="stylesheet"> <link href="./static/css/style.css" rel="stylesheet"> </head> <body> <div id="potlatch"></div> <script src="./static/js/potlatch.js"></script> <script ...
rafikdraoui/potlatch
index.html
HTML
mit
527
import React, { PropTypes } from 'react'; class Link extends React.Component { render() { return <article key={this.props.item.id} className="List-Item"> <header className="List-Item-Header"> <cite className="List-Item-Title"><a href={this.props.item.href}>{this.props.item.title}</a></cite> <...
Shroder/essential-javascript-links
src/modules/List/components/Link/index.js
JavaScript
mit
484
# Udacity Software Debugging ## Introduction - Course: [**Udacity CS259 Software Debugging**](https://www.udacity.com/course/software-debugging--cs259) - Fee: **Free** - Approx. **1 ~ 2 Weeks** - Prerequisites - Python Experience - Review: **Excellent** - Content - [x] **Video + Script** - [x] **Quiz** - [x]...
Quexint/Assignment-Driven-Learning
OCW/[Udacity]Software_Debugging/Readme.md
Markdown
mit
796
load File.expand_path("../target.rb", __FILE__) module ActiveRecord::Magic class Param::Server < Param::Target def default_options { online:nil, wildcard:false, autocomplete:true, current_server:false, current_channel:false, users:false, channels:false, servers:true, amb...
gizmore/ricer4
lib/ricer4/core/params/server.rb
Ruby
mit
358
<!DOCTYPE html> <html lang="cs"> <head> <meta charset="utf-8"> <title>Cooland</title> <meta name="description" content=""> <meta name="author" content="Cooland"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="//fonts.googleapis.com/css?family=Merriweather:300,400,700&subset...
tjelen/page-cooland
partaci.html
HTML
mit
15,062
#contact-info { font-size: .8em; } .job { background-color: #e9e5dc ; border-radius: 10px; margin-top: 5px; padding: .5px; } .ul { font-size: .8em; } li:last-child { color: blue; } #hula { color: red; }
LucasEWright/phase-0-tracks
css/css-demo/practice.css
CSS
mit
216
<div class="modal-header"> <h3 class="modal-title">Ohje</h3> </div> <div class="modal-body"> <div ng-show="createOwnNetwork"> <div class="help-element"> <img class="help-image" src="public/system/assets/img/infoimages/create.png"> <p> Voit perustaa oman verkostosi painamalla Luo...
cybercom-finland/sos-app
public/system/views/helpWindow.html
HTML
mit
1,659
package components.diagram.edit.commands; import org.eclipse.core.commands.ExecutionException; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.emf.ecore.EObject; import org.eclipse.gmf.runtime.common.core.command.CommandResult; import org.eclipse.gmf.run...
peterbartha/component-diagram
ComponentTester.diagram/src/components/diagram/edit/commands/ConnectionCreateCommand.java
Java
mit
4,550
import Vue from 'vue'; import merge from 'element-ui/src/utils/merge'; import PopupManager from 'element-ui/src/utils/popup/popup-manager'; import getScrollBarWidth from '../scrollbar-width'; let idSeed = 1; const transitions = []; const hookTransition = (transition) => { if (transitions.indexOf(transition) !== -1)...
JavascriptTips/element
src/utils/popup/index.js
JavaScript
mit
6,321
PowerShell ========== My PowerShell modules
nicholasdille/PowerShell
README.md
Markdown
mit
46
package edu.gatech.oad.antlab.pkg1; import edu.cs2335.antlab.pkg3.*; import edu.gatech.oad.antlab.person.*; import edu.gatech.oad.antlab.pkg2.*; /** * CS2335 Ant Lab * * Prints out a simple message gathered from all of the other classes * in the package structure */ public class AntLabMain { ...
PranovD/CS2340
M2/src/main/java/edu/gatech/oad/antlab/pkg1/AntLabMain.java
Java
mit
2,551
package net.alloyggp.tournament.internal.admin; import net.alloyggp.escaperope.Delimiters; import net.alloyggp.escaperope.RopeDelimiter; import net.alloyggp.escaperope.rope.Rope; import net.alloyggp.escaperope.rope.ropify.SubclassWeaver; import net.alloyggp.escaperope.rope.ropify.Weaver; import net.alloyggp.tournament...
AlexLandau/ggp-tournament
src/main/java/net/alloyggp/tournament/internal/admin/InternalAdminActions.java
Java
mit
1,179
<div id="content-alerts"> <table id="conten-2" border="1px"> <tbody> <?php echo $sidemenu ?> <tr> <td style="vertical-align: top;"> <div style="padding: 5px 5px 5px 5px"> <table border="1" cellspacing="1px"> <tr style="b...
thaingochieu/atmphp
fuel/app/views/hoatdong/summary/atmerror.php
PHP
mit
1,690
<?xml version="1.0" ?><!DOCTYPE TS><TS language="hr" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About TelcoCoin</source> <translation>O TelcoCoin-u</translation> </me...
telcocoin-project/telcocoin
src/qt/locale/bitcoin_hr.ts
TypeScript
mit
107,245
Kmom05 =============================== Redovisning av kmom05. <b>Berätta kort om erfarenheterna med din undersökning av webbplatsers laddningstid. </b> <p>Jag valde samma hemsidor som I förra uppgiften då jag vet att dessa hemsidor har varierande belastning och trafiksituationer som de måste hantera. Tre av sidorna ä...
Zero2k/Anax-Flat
content/report/150_kmom05.md
Markdown
mit
3,402
{{< layout}} {{$pageTitle}}Upload your photo{{/pageTitle}} {{$header}} <h1>Upload your photo</h1> {{/header}} {{$content}} <p >Your photo must be taken in the last month and meet the <br><a href="/../change_of_name_180122/photoguide-static/photorules"> rules for passport photos</a>.</p> <a href...
UKHomeOffice/passports-prototype
views/change_of_name_180122/upload/index.html
HTML
mit
1,507
. ~/hulk-bash/scripts/web.sh . ~/hulk-bash/.aliases
BennyHallett/hulk-bash
hulk.bash
Shell
mit
52
<?php namespace BungieNetPlatform\Exceptions\Platform; use BungieNetPlatform\Exceptions\PlatformException; /** * DestinyStatsParameterMembershipIdParseError */ class DestinyStatsParameterMembershipIdParseErrorException extends PlatformException { public function __construct($message, $code = 1608, \Ex...
dazarobbo/BungieNetPlatform
src/Exceptions/Platform/DestinyStatsParameterMembershipIdParseErrorException.php
PHP
mit
410
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3"> <head> <title>System Manager Dashboard</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" th:href="@...
Nikh13/securbank
src/main/resources/templates/manager/pendingtransfers.html
HTML
mit
2,902
((n|=2<<1))
grncdr/js-shell-parse
tests/fixtures/shellcheck-tests/arithmetic3/source.sh
Shell
mit
11
$LOAD_PATH.unshift File.expand_path('../lib') require 'rspec' RSpec.configure do |conf| conf.color = true conf.formatter = 'documentation' conf.order = 'random' end
timuruski/press_any_key
spec/spec_helper.rb
Ruby
mit
173
(function () { 'use strict'; /** * @ngdoc function * @name app.test:homeTest * @description * # homeTest * Test of the app */ describe('homeCtrl', function () { var controller = null, $scope = null, $location; beforeEach(function () { module('g4mify-client-app'); }); beforeEach(inject(function (...
ltouroumov/amt-g4mify
client/app/modules/home/home-test.js
JavaScript
mit
739
var eejs = require('ep_etherpad-lite/node/eejs') /* * Handle incoming delete requests from clients */ exports.handleMessage = function(hook_name, context, callback){ var Pad = require('ep_etherpad-lite/node/db/Pad.js').Pad // Firstly ignore any request that aren't about chat var isDeleteRequest = false; if(co...
marcelklehr/ep_push2delete
index.js
JavaScript
mit
1,374
using Microsoft.Xna.Framework; using System; namespace Gem.Gui.Animations { public static class Time { public static Animation<double> Elapsed { get { return Animation.Create(context => context.TotalMilliseconds); } } public static Animation<TTime> Constant<TTime>(...
gmich/Gem
Gem.Gui/Animations/Time.cs
C#
mit
610
version https://git-lfs.github.com/spec/v1 oid sha256:355954a2b585f8b34c53b8bea9346fabde06b161ec86b87e9b829bea4acb87e9 size 108190
yogeshsaroya/new-cdnjs
ajax/libs/materialize/0.95.0/js/materialize.min.js
JavaScript
mit
131
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Coq bench</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet...
coq-bench/coq-bench.github.io-old
clean/Linux-x86_64-4.01.0-1.2.0/unstable/8.4.dev/contrib:sudoku/8.4.dev/2015-01-30_03-04-02.html
HTML
mit
20,619
using Robust.Shared.GameObjects; namespace Content.Server.MachineLinking.Components { [RegisterComponent] public sealed class TriggerOnSignalReceivedComponent : Component { } }
space-wizards/space-station-14
Content.Server/MachineLinking/Components/TriggerOnSignalReceivedComponent.cs
C#
mit
197
//#include <stdio.h> //#include <stdlib.h> //#include <stdint.h> //#include <stdbool.h> //#include <string.h> //#include <stddef.h> #include "esp_common.h" #include "coap.h" #include "shell.h" //#include <rtthread.h> //#define shell_printf rt_kshell_printf extern void endpoint_setup(void); extern const...
AccretionD/ESP8266_freertos_coap
app/user/coap.c
C
mit
12,020
module Softlayer module Container module Dns autoload :Domain, 'softlayer/container/dns/domain' end end end
zertico/softlayer
lib/softlayer/container/dns.rb
Ruby
mit
126
<aside class="main-sidebar"> <section class="sidebar"> <div class="user-panel"> <div class="pull-left image"> <img src="<?php echo base_url() ?>assets/img/user2-160x160.jpg" class="img-circle" alt="User Image"> </div> <div class="pull-left info"> ...
codenous/intranet_planEvalWeb
application/views/template/sidebar.php
PHP
mit
5,929
<!DOCTYPE html> <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="description" content=""> <meta name="keywords" content=" "> <title>Prerequisites | LivePerson Technical Documentation</title> <link rel...
LivePersonInc/dev-hub
content10/products-bots-prerequisites.html
HTML
mit
165,927
package com.agileEAP.workflow.definition; /** 活动类型 */ public enum ActivityType { /** 开始活动 */ //C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to .NET attributes: //[Remark("开始活动")] StartActivity(1), /** 人工活动 */ //C# TO JAVA CONVERTER TODO TASK: Java annotations will not co...
AgileEAP/aglieEAP
agileEAP-workflow/src/main/java/com/agileEAP/workflow/definition/ActivityType.java
Java
mit
1,812
<?xml version="1.0" ?><!DOCTYPE TS><TS language="uk" version="2.0"> <defaumlcodec>UTF-8</defaumlcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Menlocoin</source> <translation>Про Menlocoin</translation> </me...
iLoftis/Menlo-Coin
src/qt/locale/bitcoin_uk.ts
TypeScript
mit
123,486
package com.asayama.rps.simulator; public enum Hand { ROCK, PAPER, SCISSORS; }
kyoken74/rock-paper-scissors
src/main/java/com/asayama/rps/simulator/Hand.java
Java
mit
83
package foodtruck.linxup; import java.util.List; import com.google.common.base.MoreObjects; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import org.joda.time.DateTime; import foodtruck.model.Location; /** * @author aviolette * @since 11/1/16 */ public class Trip { pr...
aviolette/foodtrucklocator
main/src/main/java/foodtruck/linxup/Trip.java
Java
mit
3,020
<!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 (1.8.0_77) on Sun Aug 13 19:07:39 PKT 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class com.hikmat30ce...
hikmat30ce/WorkdayIntegrator-HR
docs/com/hikmat30ce/workday/integrator/hr/generated/class-use/CompensationStepReferenceDataType.html
HTML
mit
11,646
/** * Copyright (c) 2015, Alexander Orzechowski. * * 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, ...
Need4Speed402/tessellator
src/textures/TextureDummy.js
JavaScript
mit
1,646
 <!DOCTYPE HTML> <!-- Solid State by HTML5 UP html5up.net | @ajlkn Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) --> <html> <head> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-72755780-1"></script> <script> window.dataLayer = window.dataLayer || [...
kingstonrichard/kingstonrichard.github.io
tags/Progressive-Web-App.html
HTML
mit
5,561
#include "Extensions.hpp" #include "Extensions.inl" #include <Math/Rect.hpp> #include <Math/Vector.hpp> #include <Script/ScriptExtensions.hpp> #include <SFML/Graphics/CircleShape.hpp> #include <angelscript.h> #include <cassert> namespace { void create_CircleShape(void* memory) { new(memory)sf::Circl...
ace13/LD31
Source/Script/SFML/CircleShape.cpp
C++
mit
1,833
'use strict'; module.exports = function(sequelize, DataTypes) { var Student = sequelize.define('Student', { name: DataTypes.STRING, timeReq: DataTypes.INTEGER, }, { classMethods: { associate: function() { } } }); return Student; };
troops2devs/minutes
models/student.js
JavaScript
mit
268
module Culqi VERSION = '1.2.8' end
augustosamame/culqiruby
lib/culqi/version.rb
Ruby
mit
37
<!DOCTYPE html> <html lang=""> <head> <title><%= webpackConfig.metadata.title %></title> <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="description" content="<%= webpackConfig.metadata.title %>"> ...
andbet39/Angular2Sensor
src/index.html
HTML
mit
1,457
#include <CImageLibI.h> #include <CImageColorDefP.h> #include <cstring> bool CImageColorDef:: getRGB(const std::string &name, double *r, double *g, double *b) { int ri, gi, bi; if (! getRGBI(name, &ri, &gi, &bi)) return false; double rgb_scale = 1.0/255.0; *r = ri*rgb_scale; *g = gi*rgb_scale; *b =...
colinw7/CImageLib
src/CImageColorDef.cpp
C++
mit
801
const {xObjectForm} = require('./xObjectForm'); exports._getPathOptions = function _getPathOptions(options = {}, originX, originY) { this.current = this.current || {}; const colorspace = options.colorspace || this.options.colorspace; const colorName = options.colorName; const pathOptions = { o...
chunyenHuang/hummusRecipe
lib/vector.helper.js
JavaScript
mit
7,549
SUBROUTINE WFN1_AD_DSYGST( ITYPE, UPLO, N, A, LDA, B, LDB, INFO ) USE WFN1_AD1 IMPLICIT NONE #include "blas/double/intf_wfn1_ad_dsymm.fh" #include "blas/double/intf_wfn1_ad_dsyr2.fh" #include "blas/double/intf_wfn1_ad_dsyr2k.fh" #include "blas/double/intf_wfn1_ad_dtrmm.fh" #include "blas/double/intf_w...
rangsimanketkaew/NWChem
src/rdmft/recycling/wfn1/lapack/double/wfn1_ad_dsygst.f
FORTRAN
mit
9,696
#define BOOST_TEST_MODULE test_dsu #define BOOST_TEST_DYN_LINK #include "test.hpp" #include "dsu.hpp" using bdata::make; using bdata::xrange; BOOST_AUTO_TEST_CASE(one) { auto dsu = DisjointSetUnion<int>(); dsu.push_back(1); BOOST_TEST(dsu.xs[1] == 1); BOOST_TEST(dsu.ws[1] == 1); } BOOST_AUTO_TEST...
all3fox/algos-cpp
tests/test_dsu.cpp
C++
mit
1,854
<?php namespace WebEd\Base\ThemesManagement\Actions; use WebEd\Base\Actions\AbstractAction; class EnableThemeAction extends AbstractAction { /** * @param $alias * @return array */ public function run($alias) { do_action(WEBED_THEME_BEFORE_ENABLE, $alias); $theme = get_theme...
sgsoft-studio/themes-management
src/Actions/EnableThemeAction.php
PHP
mit
971
// // NFAnalogClockView+Extension.h // NFAnalogClock // // Created by Neil Francis Hipona on 12/1/16. // Copyright © 2016 Neil Francis Hipona. All rights reserved. // #import "NFAnalogClockView.h" @interface NFAnalogClockView (Extension) - (void)startTime; - (void)stopTime; - (NFTime *)updateClock; @end
nferocious76/NFAnalogClock
NFAnalogClock/NFAnalogClockView+Extension.h
C
mit
315
___ <strong>Javascript</strong> <h3>Arrays</h3> --- ##Summary We can access an array's items using **indices**. Arrays have a variety of methods to utilize. ##Discussion ```javascript var myArray = ["Alex", "Andrew", "James"]; myArray[0]; // this will return "Alex" // let's assign a new value to "James" myArray[...
ga-chicago/ga-chicago.github.io
darth-vader/01_front_end_fundamentals/javascript_arrays.md
Markdown
mit
1,040
--- layout: default --- <div class="posts"> {% for post in site.posts %} <article class="post"> {% if post.icon %} <div style="float: left; padding-right: 20px; margin-top: 10px"> <img style="" src="{{post.icon}}" width="50" height="50"/> </div> {% endif %} <a class="post-...
mbarralo/mbarralo.github.io
index.html
HTML
mit
662
// Copyright 2014 The Gogs Authors. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. package models import ( "bufio" "bytes" "fmt" "html" "html/template" "io" "io/ioutil" "os" "os/exec" "strings" "github.com/Unknwon/com" "github....
svcavallar/gogs
models/git_diff.go
GO
mit
10,244
--- layout: post date: 2017-09-30 title: "Jorge Manuel THE PEI Sleeveless Sweep/Brush Train Aline/Princess" category: Jorge Manuel tags: [Jorge Manuel ,Jorge Manuel,Aline/Princess ,Jewel,Sweep/Brush Train,Sleeveless] --- ### Jorge Manuel THE PEI Just **$379.99** ### Sleeveless Sweep/Brush Train Aline/Princess <tab...
novstylessee/novstylessee.github.io
_posts/2017-09-30-Jorge-Manuel-THE-PEI-Sleeveless-SweepBrush-Train-AlinePrincess.md
Markdown
mit
955
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') describe Admin::PreferencesController do dataset :users it "should allow you to view your preferences" do user = login_as(:non_admin) get :edit response.should be_success assigned_user = assigns(:user) assigned_user.shou...
dosire/dosire
spec/controllers/admin/preferences_controller_spec.rb
Ruby
mit
1,463
--- title: 不是你难行的 date: 17/11/2021 --- 〈申命记〉第30章一开篇,主就告诉以色列百姓,如果他们悔改,转离恶行,就会发生什么事。上帝所赐予的是多么美好的应许啊! `阅读申30:1–10。尽管经文是在说如果他们不顺服会发生什么事,但上帝依然给了他们怎样的应许?这事对我们了解上帝的恩典有何启示?` 听到这般应许,当然倍感安慰。但这话的重点并非是说,即使他们违背了上帝的吩咐也没关系。上帝给人的绝不是廉价的恩典。祂所显明的是给人的爱,因此,人也当敬爱祂来作为回应,透过顺从祂的吩咐来表现出对祂的爱。 `阅读申30:11–14。上帝对他们说了什么?经文中有哪些基本的应许?你能想到新约中还有哪些经...
Adventech/sabbath-school-lessons
src/zh/2021-04/08/05.md
Markdown
mit
1,963
// 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 0.14.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. ...
matt-gibbs/AutoRest
AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/azureparametergrouping/package-info.java
Java
mit
485
using System; using Pulse.FS; namespace Pulse.UI { public sealed class UiWpdLeafsAccessor : IUiLeafsAccessor { private readonly WpdArchiveListing _listing; private readonly WpdEntry[] _leafs; private readonly bool? _conversion; public UiNodeType Type { get ...
kidaa/Pulse
Pulse.UI/Windows/Main/Dockables/GameFileCommander/UiTree/Accessors/UiWpdLeafsAccessor.cs
C#
mit
1,061
import * as React from 'react'; import { DocumentCard } from './DocumentCard'; import { DocumentCardTitle } from './DocumentCardTitle'; import { DocumentCardPreview } from './DocumentCardPreview'; import { DocumentCardLocation } from './DocumentCardLocation'; import { DocumentCardActivity } from './DocumentCardActivity...
SpatialMap/SpatialMapDev
node_modules/office-ui-fabric-react/src/components/DocumentCard/DocumentCard.Props.ts
TypeScript
mit
5,213
// // Created by paysonl on 16-10-20. // #include <vector> using std::vector; #include <iostream> #include <cassert> int min3(int a, int b, int c); int minSubSum(const vector<int>& a); int minSubRec(const vector<int>& a, int left, int right); int main() { vector<int> v{-2, -1, -2, 3, -4}; assert(minSubSum(...
frostRed/Exercises
DS_a_Algo_in_CPP/ch2/2-17-a.cpp
C++
mit
1,349
<?php /** * Created by PhpStorm. * User: Jan * Date: 17.03.2015 * Time: 17:03 */ namespace AppBundle\Repository; use Doctrine\ORM\EntityRepository; class ThreadRepository extends EntityRepository { public function findAllOrderedByLastModifiedDate($category_id) { $repository = $this->getEntityMana...
mueller-jan/symfony-forum
src/AppBundle/Repository/ThreadRepository.php
PHP
mit
978
--- layout: post title: yesterday date: 2011-10-24 07:54 comments: false categories: [poems] --- i remember yesterday as if it were yesterday. and the day before that as if it were the day before yesterday. but the moment i remember any day before the day before yesterday as if it were yesterday, i forget the...
thisduck/nothing
_posts/poems/2011-10-24-yesterday.markdown
Markdown
mit
346
# User info wrapper object import logging class User(object): """ Wrapper object around an entry in users.json. Behaves like a read-only dictionary if asked, but adds some useful logic to decouple the front end from the JSON structure. """ _NAME_KEYS = ["display_name", "real_name"] _DEFAULT_IM...
hfaran/slack-export-viewer
slackviewer/user.py
Python
mit
2,188
<?php declare(strict_types = 1); /** * /src/DTO/RestDtoInterface.php * * @author TLe, Tarmo Leppänen <tarmo.leppanen@pinja.com> */ namespace App\DTO; use App\Entity\Interfaces\EntityInterface; use Throwable; /** * Interface RestDtoInterface * * @package App\DTO * @author TLe, Tarmo Leppänen <tarmo.leppanen@p...
tarlepp/symfony-flex-backend
src/DTO/RestDtoInterface.php
PHP
mit
1,141
package net.lightstone.net.codec; import java.io.IOException; import net.lightstone.msg.Message; import org.jboss.netty.buffer.ChannelBuffer; public abstract class MessageCodec<T extends Message> { private final Class<T> clazz; private final int opcode; public MessageCodec(Class<T> clazz, int opcode) { this....
grahamedgecombe/lightstone
src/net/lightstone/net/codec/MessageCodec.java
Java
mit
613
/* IE 8 FIXES MAIN BLUE: #99CCFF LINK BLUE: #0066FF NEW BLUE: #3366FF ORANGE: #FFCC66 GREEN: #66CC00 TBL GREEN: #A7C942 RED: #CC0000 BORDER: #CCC GREY: #999 DARK GRY: #555 */ #rent_go{vertical-align:-3px;} div.land-do h2{ filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=45...
charlle/charlle
assets/styles/Fix/ie.css
CSS
mit
531
/* == malihu jquery custom scrollbar plugin == Plugin URI: http://manos.malihu.gr/jquery-custom-content-scroller */ /* CONTENTS: 1. BASIC STYLE - Plugin's basic/essential CSS properties (normally, should not be edited). 2. VERTICAL SCROLLBAR - Positioning and dimensions of vertical scrollbar. 3. HORIZONTAL SCR...
digicorp/propeller
components/custom-scrollbar/css/jquery.mCustomScrollbar.css
CSS
mit
53,712
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * vim: set ts=8 sts=4 et sw=4 tw=99: * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ ...
agenthunt/EmbeddedJXcoreEngineIOS
EmbeddedJXcoreEngineIOS/jxcore/include/node/vm/PropDesc.h
C
mit
12,213
#define _IRR_STATIC_LIB_ #include <irrlicht.h> #include <stdio.h> #include <string> #include <sstream> #include <iostream> #include "dc-config.h" #include "manager_gui.h" #include "manager_filesystem.h" #include "manager_core.h" #include "irrlicht_event_handler.h" #include "context_application.h" using namespace irr;...
ballisticwhisper/decentralised
src/decentralised/main.cpp
C++
mit
2,662
test('has a constructor for initialization', () => { // Create an Animal class // Add a constructor that takes one param, the name. // Set this.name to the name passed in const animal = new Animal() const dog = new Animal('Dog') expect(animal.name).toBeUndefined() expect(dog.name).toBe('Dog') }) test('...
wizzy25/es6-workshop
exercises/10_class.test.js
JavaScript
mit
2,133
using Caliburn.Micro; using FollowMe.Messages; using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel; using System.Text; using System.Threading.Tasks; namespace FollowMe.WebService { /// <summary> /// RemoteControl to control the Ar.Drone indirectly. /// You can star...
HeinrichChristian/FlyingRobotToWarnVisuallyImpaired
FollowMe/WebService/RemoteControl.cs
C#
mit
2,774
package tests_dominio; import org.junit.Assert; import org.junit.Test; import dominio.Asesino; import dominio.Hechicero; import dominio.Humano; public class TestAsesino { @Test public void testRobar(){ } @Test public void testCritico(){ Humano h = new Humano("Nicolas",new Asesino(),1); Humano h2 = new Hum...
programacion-avanzada/jrpg-2017a-dominio
src/test/java/tests_dominio/TestAsesino.java
Java
mit
934
<!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...
KlusterKite/KlusterKite
Docs/Doxygen/html/class_kluster_kite_1_1_node_manager_1_1_launcher_1_1_utils_1_1_exceptions_1_1_package_not_found_exception.html
HTML
mit
7,930
#include <iostream> #include <seqan/graph_types.h> #include <seqan/graph_algorithms.h> #include <seqan/find_motif.h> using namespace seqan; int main () { typedef unsigned int TCargo; typedef Graph<Undirected<TCargo> > TGraph; typedef VertexDescriptor<TGraph>::Type TVertexDescriptor; TGraph g; ...
bkahlert/seqan-research
raw/pmsb13/pmsb13-data-20130530/sources/fjt74l9mlcqisdus/2013-04-12T11-39-06.554+0200/sandbox/my_sandbox/apps/tutorial_20/tutorial_20.cpp
C++
mit
989
 var report_test_url = "reports\\BSV_GC_n_08_du_22_octobre_2013.pdf"; var report_dir = "files/"; var report_extension = ".pdf"; /***************************************************************************************************************************/ /* report_panel */ function report_panel(panel, report_panel){/...
win-stub/PestObserver
web/scripts/report_panel.js
JavaScript
mit
11,254
--- 香港手語詞語相似打法系列: * [快、容易、近、細少]({{ site.baseurl }}/香港手語-快-容易-近-細少/) * [普通、剛剛、一筆勾消、不在]({{ site.baseurl }}/香港手語-普通-剛剛-一筆勾消-不在/) * [升職、進步]({{ site.baseurl }}/香港手語相似系列-升職-進步/) * [老師、老闆、準備]({{ site.baseurl }}/香港手語相似系列:老師、老闆、準備/) * [熙來掠往、集合、跟隨、相遇]({{ site.baseurl }}/香港手語相似系列:熙來掠往、集合、跟隨、相遇/) * [真、一倍、木材]({{ site.baseurl }}/香港手...
roulesophy/roulesophy.github.io
_posts/index/hksl_confusion.md
Markdown
mit
811
// LICENSE package com.forgedui.editor.edit; import java.beans.PropertyChangeEvent; import java.util.ArrayList; import java.util.List; import org.eclipse.draw2d.geometry.Rectangle; import org.eclipse.gef.commands.Command; import org.eclipse.gef.requests.CreateRequest; import com.forgedui.editor.GUIEditorPlugin; impo...
ShoukriKattan/ForgedUI-Eclipse
com.forgedui.editor/src/com/forgedui/editor/edit/TableViewEditPart.java
Java
mit
4,096
/* Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'about', 'pt-br', { copy: 'Copyright &copy; $1. Todos os direitos reservados.', dlgTitle: 'Sobre o CKEditor 4', moreInfo...
otto-torino/gino
ckeditor/plugins/about/lang/pt-br.js
JavaScript
mit
400
package com.daviancorp.android.data.database; import android.database.Cursor; import android.database.CursorWrapper; import com.daviancorp.android.data.classes.Location; /** * A convenience class to wrap a cursor that returns rows from the "locations" * table. The {@link getLocation()} method will give you a Locat...
dbooga/MonsterHunter3UDatabase
MonsterHunter3UDatabase/src/com/daviancorp/android/data/database/LocationCursor.java
Java
mit
1,054