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 |
|---|---|---|---|---|---|
<div class="row">
<div id="sidebar" class="span3">
<ul class="nav nav-list bs-docs-sidenav" style="display: block;">
<?php if (count($product_categories)): ?>
<?php foreach ($product_categories as $key => $list): ?>
<li class="subMenu"><a> <?= $list... | KodeBlog/CIBootsShop | application/modules/welcome/views/themes/default/product_details.php | PHP | mit | 27,201 |
define("foo", [ "./bar", "./baz/baz" ], function(require, exports, module) {
require("./bar");
require("./baz/baz");
}); | katosun2/grunt-imiku-cmd-transport | test/expected/relative/foo.js | JavaScript | mit | 128 |
/// Debug
#[macro_use]
pub mod debug;
/// ELF File Support
pub mod elf;
/// Event input
pub mod event;
/// Get slice implementation
pub mod get_slice;
/// Kernel memory allocation
pub mod memory;
/// Paging (x86)
#[cfg(target_arch = "x86")]
#[path="paging-i386.rs"]
pub mod paging;
/// Paging (x86_64)
#[cfg(target_arch ... | NobbZ/redox | kernel/common/mod.rs | Rust | mit | 656 |
exports.config = {
specs: require('./index-webdriver.js').specs(),
framework: 'qunit',
baseUrl: './',
capabilities: [{
browserName: 'phantomjs',
exclude: require('./index-webdriver.js').exclude('phantomjs')
}],
updateJob: false,
waitforTimeout: 1000,
logLevel: 'silent',... | maciekwie/Crafty | tests/webdriver/index-webdriver-local.js | JavaScript | mit | 613 |
<!DOCTYPE html>
<html lang="en">
<head>
<title>ColorHash Class Reference</title>
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
<meta charset="utf-8">
<script src="../js/jquery.min.js" defer></script>
<scr... | multinerd/Mia | docs/docsets/Mia.docset/Contents/Resources/Documents/Classes/ColorHash.html | HTML | mit | 61,176 |
class CreateTranslations < ActiveRecord::Migration
def self.up
create_table ActiveRecord::Base.pluralize_table_names ? :translations : :translation do |t|
t.string :locale, :null => false, :limit => 6
t.string :key, :null => false
t.string :scope
t.text :default, :null => false
t.tex... | bragi/trendi18n | spec/test_application/db/migrate/20091208195455_create_translations.rb | Ruby | mit | 663 |
var equal = require('assert').equal,
notEqual = require('assert').notEqual,
Pool = require('../lib').Pool;
describe('Pool', function () {
it('should run multiple scripts', function (finished) {
var pool = new Pool({numberOfInstances: 5});
var scriptsExited = 0;
for (var i = 0; i < 20; ++i) {
... | bcoe/sandcastle | test/pool-test.js | JavaScript | mit | 1,957 |
# coding: utf-8
# Copyright (c) Pymatgen Development Team.
# Distributed under the terms of the MIT License.
import unittest
import os
import json
from io import open
import warnings
from pymatgen.electronic_structure.bandstructure import Kpoint
from pymatgen import Lattice
from pymatgen.electronic_structure.core im... | dongsenfo/pymatgen | pymatgen/electronic_structure/tests/test_bandstructure.py | Python | mit | 23,174 |
require "active_model/type"
require "active_record/type/internal/timezone"
require "active_record/type/date"
require "active_record/type/date_time"
require "active_record/type/decimal_without_scale"
require "active_record/type/json"
require "active_record/type/time"
require "active_record/type/text"
require "active_r... | maicher/rails | activerecord/lib/active_record/type.rb | Ruby | mit | 2,884 |
//////////////////////////////////////////
//
// ONLY EDIT babel-plugin.js at ./src/babel-plugin.js, not ./babel-plugin.js!
//
//////////////////////////////////////////
var plugin = function(babel) {
return {
visitor: {
ObjectExpression(path) {
path.node.properties.forEach(fun... | mattzeunert/Object-History-Debugger | src/babel-plugin.js | JavaScript | mit | 4,875 |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>indir (Sys)</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="... | michaelsync/Giles | tools/Rake/lib/ruby/gems/1.8/doc/rake-0.8.7/rdoc/classes/Sys.src/M000042.html | HTML | mit | 1,247 |
package de.bitshares_munich.smartcoinswallet;
import android.util.Log;
import com.neovisionaries.ws.client.WebSocket;
import com.neovisionaries.ws.client.WebSocketException;
import com.neovisionaries.ws.client.WebSocketFactory;
import com.neovisionaries.ws.client.WebSocketListener;
import java.io.IOException;
impor... | kenCode-de/smartcoins-wallet | app/src/main/java/de/bitshares_munich/smartcoinswallet/WebsocketWorkerThread.java | Java | mit | 1,736 |
'use strict';
module.exports = function(app) {
var users = require('../../app/controllers/users.server.controller');
var companies = require('../../app/controllers/companies.server.controller');
var fields = require('../../app/controllers/fields.server.controller');
var schedules = require('../../app/controllers/s... | forres/canchapp | app/routes/companies.server.routes.js | JavaScript | mit | 897 |
<?php
namespace AE\DataBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Discipulado
*
* @ORM\Table(name="discipulado")
* @ORM\Entity
*/
class Discipulado
{
/**
* @var boolean
*
* @ORM\Column(name="apto_consolidar", type="boolean", nullable=false)
*/
private $aptoConsolidar;
... | marx8926/ae | src/AE/DataBundle/Entity/Discipulado.php | PHP | mit | 3,426 |
package mundosk_libraries.java_websocket;
import java.net.InetSocketAddress;
import mundosk_libraries.java_websocket.drafts.Draft;
import mundosk_libraries.java_websocket.framing.Framedata;
import mundosk_libraries.java_websocket.handshake.ClientHandshake;
import mundosk_libraries.java_websocket.exceptions.InvalidDat... | TlatoaniHJ/MundoSK | src/mundosk_libraries/java_websocket/WebSocketAdapter.java | Java | mit | 3,846 |
---
layout: page
title: radxa产品及配件
category: 硬件信息
tags: [产品, 配置]
keywords: 产品, 配置
description:
---
>Radxa Rock是Radxa公司生产的基于RK3188的单板计算机(SBC,Single Board Computer)。它有**4核**的ARM处理器,可以运行一些Linux的发行版。它也有80个2.54mm的pin,这使得连接其他传感器或者使用GPIO变得非常简单。
Radxa Rock支持Android 4.2.2(Jelly Bean)和Ubuntu/Linaro 13.09在NAND falsh(板上存储)上双启动。R... | radxa/docs | _posts/hardware/2014-12-29-products.md | Markdown | mit | 1,986 |
package org.carbon.authentication.conf;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.carbon.authentication.AuthIdentity;
import org.carbon.authentication.conf.rule.APIOrientedRule;
import org.carbon.authentication... | ShotaOd/Carbon | carbon-authentication/src/main/java/org/carbon/authentication/conf/AuthDefinitionBuilder.java | Java | mit | 2,301 |
// ***********************************************************************
// Copyright (c) 2016 Charlie Poole
//
// 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, incl... | nunit/nunit-gui | src/TestCentric/testcentric.gui/Views/SettingsDialog.cs | C# | mit | 6,876 |
import phantom from 'phantom';
import logger from '../Logger';
export default class PhantomFetcher {
initialize() {
if (this.instance && this.page) {
return Promise.resolve(this.page);
}
logger.info('Creating new PhantomJS instance');
return phantom.create()
.then(
(instance) => ... | ApolloCrawler/microcrawler-worker | src/Fetcher/PhantomFetcher.js | JavaScript | mit | 1,401 |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v1.1.0-rc.5-master-3a0f323
*/md-sidenav.md-THEME_NAME-theme,md-sidenav.md-THEME_NAME-theme md-content{background-color:'{{background-hue-1}}'} | rebeccaForster/ThinkTank | Iteration5_Prototype/v1/node_modules/angular-material/modules/js/sidenav/sidenav-default-theme.min.css | CSS | mit | 232 |
#ifndef REQUEST_H
#define REQUEST_H
#include "response.h"
#include "QThread"
#include <QTcpServer>
#include <QFile>
#include <QStringList>
#include <QTimer>
#include <database.h>
class Request: public QThread
{
Q_OBJECT
public:
Request(int socketDescriptor, QObject* parent = 0);
virtual void run();
priva... | oxmcvusd/Tinyhttpd | request.h | C | mit | 1,135 |
/*
* Copyright © 2008 Kristian Høgsberg
* Copyright © 2012-2013 Collabora, Ltd.
* Copyright © 2013 Jason Ekstrand
*
* 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,... | krezovic/weston | shared/frame.c | C | mit | 22,083 |
/***************************************************************
* Generated by Hottentot CC Generator
* Date: 02-05-2016 05:18:41
* Name: user.h
* Description:
* This file contains definition of User class.
***************************************************************/
#ifndef _NAEEM_HOTTENTOT_EXAMPLES_AUTH... | NTNAEEM/hottentot | examples/authentication/gen/user.h | C | mit | 1,765 |
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if($od['od_pg'] != 'kcp') return;
include_once(G5_SHOP_PATH.'/settle_kcp.inc.php');
include_once(G5_SHOP_PATH.'/kcp/pp_ax_hub_lib.php');
// locale ko_KR.euc-kr 로 설정
setlocale(LC_CTYPE, 'ko_KR.euc-kr');
$req_tx = 'mod_escrow';
$mod_type = 'STE1';
... | yysun2000/delibelight | yc/shop/kcp/escrow.register.php | PHP | mit | 1,372 |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class MY_Controller extends CI_Controller {
public function __construct()
{
parent::__construct();
$this->lang->load('general');
if (!$this->ion_auth->logged_in())
{
redirect('auth/login');
}
}
} | ismaelgaudioso/redirection | application/core/MY_Controller.php | PHP | mit | 290 |
# BodyBuilder
The main builder class.
**Examples**
```javascript
var body = new Bodybuilder()
.query('match', 'text', 'this is a test')
.build()
```
## aggregation
Apply a aggregation of a given type providing all the necessary arguments,
passing these arguments directly to the specified aggregation builder.
M... | arielshad/bodybuilder | docs/API.md | Markdown | mit | 2,853 |
package structures.data;
public class DataEvent {
}
| nrg12/VOOGASalad | Design/Interfaces/structures/data/DataEvent.java | Java | mit | 54 |
<?php
namespace EightPoints\Bundle\GuzzleBundle\Tests\Events;
use EightPoints\Bundle\GuzzleBundle\Events\PostTransactionEvent;
/**
* @version 4.5
* @since 2016-01
*/
class PostTransactionEventTest extends \PHPUnit_Framework_TestCase
{
/**
* Test Instance
*
* @version 4.5
* @since 2... | odooo/design | vendor/eightpoints/guzzle-bundle/EightPoints/Bundle/GuzzleBundle/Tests/Events/PostTransactionEventTest.php | PHP | mit | 1,640 |
import * as React from 'react';
import { StandardProps } from '..';
export interface GridListProps extends StandardProps<
React.HTMLAttributes<HTMLUListElement>,
GridListClassKey
> {
cellHeight?: number | 'auto';
cols?: number;
component?: string | React.ComponentType<GridListProps>;
spacing?: number;
}
e... | uplevel-technology/material-ui-next | es/GridList/GridList.d.ts | TypeScript | mit | 452 |
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generi... | georghinkel/ttc2017smartGrids | solutions/NMF/Schema/IEC61968/Metering/EndDeviceAssetDeviceFunctionsCollection.cs | C# | mit | 2,730 |
`gulpt` changelog
======================
- v0.1.2 (2014.04.25)
+ Fix https://github.com/jaguard/gulpt/issues/1
- v0.1.1 (2014.04.25)
+ Add screenshoots
- v0.1.0 (2014.04.20)
+ Published `gulpt` module to [npm](https://www.npmjs.org/package/gulpt)
+ Initial release
| amacoder/gulpt | CHANGELOG.md | Markdown | mit | 270 |
<!DOCTYPE html>
<html lang="it" xmlns:th="http://www.thymeleaf.org">
<head>
<meta th:replace="partials/meta">
</head>
<body>
<header th:replace="partials/header"></header>
<main id="main" class="main">
<section class="section-template">
<header class="section__header">
<h2 class=... | ominidi/ominidi-web | src/main/resources/templates/attributions.html | HTML | mit | 5,217 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
namespace TestLib.Extensions
{
public interface IRideable { void Mount(); void Start(); }
public abstract class Animal { public string Name { get; set; } }
public abstract class HorseAnimal : Anim... | modulexcite/coding.abel.nu | TestLib/Extensions/Animals.cs | C# | mit | 1,628 |
"""
SPLIF Fingerprints for molecular complexes.
"""
import logging
import itertools
import numpy as np
from deepchem.utils.hash_utils import hash_ecfp_pair
from deepchem.utils.rdkit_utils import load_complex
from deepchem.utils.rdkit_utils import compute_all_ecfp
from deepchem.utils.rdkit_utils import MoleculeLoadExcep... | deepchem/deepchem | deepchem/feat/complex_featurizers/splif_fingerprints.py | Python | mit | 10,535 |
export default class UTTTError extends Error {
constructor(message: string, private code: number) {
super(message);
this.code = code;
}
} | socialgorithm/ultimate-ttt-js | src/model/UTTTError.ts | TypeScript | mit | 163 |
package com.example.hellorammus;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.B... | uunchpgney/HelloRammus | HelloRammus/src/com/example/hellorammus/HelloBMI.java | Java | mit | 3,521 |
package io.sniffy.test.testng;
import io.sniffy.Sniffy;
import io.sniffy.SniffyAssertionError;
import io.sniffy.Spy;
import io.sniffy.configuration.SniffyConfiguration;
import io.sniffy.registry.ConnectionsRegistry;
import io.sniffy.socket.*;
import io.sniffy.sql.SqlExpectation;
import io.sniffy.sql.SqlQueries;
import... | sniffy/sniffy | sniffy-test/sniffy-testng/src/main/java/io/sniffy/test/testng/SniffyTestNgListener.java | Java | mit | 5,637 |
Initiates a new script execution of shell commands.
## Dependencies
This playbook uses the following sub-playbooks, integrations, and scripts.
### Sub-playbooks
* Cortex XDR - Check Action Status
### Integrations
* CortexXDRIR
### Scripts
This playbook does not use any scripts.
### Commands
* xdr-get-script-execut... | demisto/content | Packs/CortexXDR/Playbooks/playbook-Cortex_XDR_-_execute_commands_README.md | Markdown | mit | 1,158 |
import { ICompilerOptions } from '../compilerOptions/interfaces';
import { transformModule } from './core/transformModule';
import { generate } from './generator/generator';
import { ASTNode } from './interfaces/AST';
import { ITransformer, ITransformerCommon } from './interfaces/ITransformer';
import { ITransformerReq... | rs3d/fuse-box | src/compiler/testUtils.ts | TypeScript | mit | 2,022 |
import {Component} from '@angular/core';
@Component({
selector: 'ng2vd-progressbar-labels',
templateUrl: './progressbar-labels.html',
styles: [`
ng2v-progressbar {
margin-top: 5rem;
}
`]
})
export class Ng2vdProgressbarLabels {
}
| rajkeshwar/ng2v | demo/src/app/components/progressbar/demos/labels/progressbar-labels.ts | TypeScript | mit | 253 |
#include <stdio.h>
#include <math.h>
void integerPower(int y, int *base1, int *base2, int *base3, int *total) {
*base1 = pow(y, 2);
*base2 = pow(y, 3);
*base3 = pow(y, 4);
*total = *base1 + *base2 + *base3;
}
int main(void) {
int base1, base2, base3, total;
integerPower(5, &base1, &base2, &base3, &t... | bigown/SOpt | C/Function/ReturnMatrix3.c | C | mit | 470 |
require 'rails_helper'
describe CommentsController do
describe "routing" do
it "routes to #showcomment" do
expect(get("/comments/showcomment")).to route_to("comments#showcomment")
end
it "routes to #activity_comment" do
expect(post("/todos/1/comments/activity_comment")).to route_to("comment... | srisa/teamroq | spec/routing/comments_routing_spec.rb | Ruby | mit | 850 |
<?php
/**
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
*/
namespace Piwik\Plugins\Resolution\Reports;
use Piwik\Piwik;
use Piwik\Plugin\ViewDataTable;
use Piwik\Plugins\Resolution\Columns\Configuration;
class GetConfigur... | sunwooz/blogcog-piwik | vendor/piwik/piwik/plugins/Resolution/Reports/GetConfiguration.php | PHP | mit | 1,115 |
<a href='https://github.com/angular/angular.js/edit/v1.4.x/docs/content/guide/migration.ngdoc?message=docs(guide%2FMigrating from Previous Versions)%3A%20describe%20your%20change...' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this Doc</a>
<p>Minor version releases in An... | Zex/ntlminv | extern/angular/docs/partials/guide/migration.html | HTML | mit | 51,654 |
const path = require('path');
const env = require('yargs').argv.mode;
const webpack = require('webpack');
const projectRoot = path.resolve(__dirname, '/');
const UglifyJsPlugin = webpack.optimize.UglifyJsPlugin;
const libraryName = '<%= libraryName %>';
const plugins = [];
let outputFile;
if (env === 'build... | ianaya89/generator-bwk | generators/app/templates/webpack.config.js | JavaScript | mit | 1,188 |
<?php
namespace JMS\JobQueueBundle\Entity\Listener;
use Doctrine\ORM\Event\LifecycleEventArgs;
use JMS\JobQueueBundle\Entity\Job;
/**
* Provides many-to-any association support for jobs.
*
* This listener only implements the minimal support for this feature. For
* example, currently we do not support any modifica... | minhnguyen-balance/oro_platform | vendor/jms/job-queue-bundle/JMS/JobQueueBundle/Entity/Listener/ManyToAnyListener.php | PHP | mit | 3,604 |
/*
* (C) Copyright Nick Thompson 2018.
* Use, modification and distribution are subject to the
* Boost Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
*/
#include "multiprecision_config.hpp"
#ifndef DISABLE_MP_TESTS
#include <boost/int... | davehorton/drachtio-server | deps/boost_1_77_0/libs/integer/test/mod_inverse_test.cpp | C++ | mit | 1,917 |
<?php
/**
* This class defines the structure of the 'movie' table.
*
*
* This class was autogenerated by Propel 1.4.2 on:
*
* Thu Mar 8 15:14:38 2012
*
*
* This map class is used by Propel to do runtime db structure discovery.
* For example, the createSelectSql() method checks the type of a given column us... | zlood/pbbonline-symfony | lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/lib/model/map/MovieTableMap.php | PHP | mit | 1,887 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<div id="app"></div>
</body>
</html>
| Radivarig/react-infinite-any-height | src/index.html | HTML | mit | 131 |
var searchData=
[
['makeexternal',['MakeExternal',['../classv8_1_1String.html#a5efd1eba40c1fa8a6aae2c4a175a63be',1,'v8::String::MakeExternal(ExternalStringResource *resource)'],['../classv8_1_1String.html#a19db11c97e2ce01244e06f5cbcd094f2',1,'v8::String::MakeExternal(ExternalAsciiStringResource *resource)']]],
['ma... | v8-dox/v8-dox.github.io | 9d3288c/html/search/all_c.js | JavaScript | mit | 1,184 |
# Simple Role Syntax
# ==================
# Supports bulk-adding hosts to roles, the primary server in each group
# is considered to be the first unless any hosts have the primary
# property set. Don't declare `role :all`, it's a meta role.
set :branch, 'production'
set :rails_env, 'production'
role :app, %w{root@da... | wikimedia/wikimedia-education-WikiEduDashboard | config/deploy/production.rb | Ruby | mit | 1,578 |
<?php
/**
* URL rewrite collection
*
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\UrlRewrite\Model\ResourceModel;
class UrlRewriteCollection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
{
/**
* St... | j-froehlich/magento2_wk | vendor/magento/module-url-rewrite/Model/ResourceModel/UrlRewriteCollection.php | PHP | mit | 2,347 |
AUTOBAHN_DEBUG = true;
var autobahn = require('autobahn');
var program = require('commander');
program
.option('-p, --port <port>', 'Server IP port', parseInt,9000)
.option('-i, --ip <ip>', 'Server IP address','127.0.0.1')
.parse(process.argv);
var connection = new autobahn.Connection({
url: 'ws://' +... | cantidio/wamp.rt | test/pubsub/subscriber.js | JavaScript | mit | 1,473 |
# -*- coding: utf-8 -*-
from .base import _Base, Base
from .base_collection import BaseCollection
from .habit_groups import HabitGroups
from .habit_groups_collection import HabitGroupsCollection
from .habits import Habits
from .habits_collection import HabitsCollection
from .users import Users
from .users_collection i... | dnguyen0304/mfit_service | mfit/mfit/resources/__init__.py | Python | mit | 1,041 |
'use strict';
((window, document) => {
})(window, document);
| Pier1/rocketbelt | src/rocketbelt/base/rocketbelt.legacy.js | JavaScript | mit | 62 |
#include "lpg_parse_expression.h"
#include "lpg_allocate.h"
#include "lpg_assert.h"
#include "lpg_for.h"
#include <string.h>
bool is_end_of_file(rich_token const *token)
{
return (token->status == tokenize_success) && (token->content.length == 0);
}
typedef enum comparison_result { equal, greater, less } comparis... | TyRoXx/Lpg | syntax/lpg_parse_expression.c | C | mit | 63,102 |
package org.robolectric.internal;
import org.robolectric.annotation.Config;
import org.robolectric.manifest.AndroidManifest;
import org.robolectric.res.Fs;
import org.robolectric.res.FsFile;
import org.robolectric.util.Logger;
import java.io.IOException;
import java.io.InputStream;
import java.util.*;
public class M... | ocadotechnology/robolectric | robolectric/src/main/java/org/robolectric/internal/MavenManifestFactory.java | Java | mit | 6,318 |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\CssSelector\Node;
use Symfony\Component\... | lrt/lrt | vendor/symfony/symfony/src/Symfony/Component/CssSelector/Node/HashNode.php | PHP | mit | 1,376 |
package info.aea.rss;
import java.io.IOException;
import java.io.StringReader;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurati... | aman-devy/snippets | Snippets/src/info/aea/rss/RSSParser.java | Java | mit | 7,349 |
/*
Time Count
TimeCount class, useful for incremental games
By Luke Nickerson, 2015
*/
(function(){
var TimeCount = function(){
this.lastTime = null;
}
TimeCount.prototype.setLastTime = function(){
}
// Install into RocketBoots if it exists, otherwise make global
if (typeof RocketBoots == "object") {
... | Lukenickerson/reptilian-president | scripts/rocketboots/time_count.js | JavaScript | mit | 486 |
<?php
namespace Oro\Bundle\ReportBundle\Tests\Unit\DependencyInjection;
use Oro\Bundle\ReportBundle\DependencyInjection\Compiler\DbalConnectionCompilerPass;
use Oro\Bundle\ReportBundle\DependencyInjection\OroReportExtension;
use Symfony\Component\DependencyInjection\ContainerBuilder;
class OroReportExtensionTest ext... | orocrm/platform | src/Oro/Bundle/ReportBundle/Tests/Unit/DependencyInjection/OroReportExtensionTest.php | PHP | mit | 3,270 |
;§ £®«®¢®ª ¯à¨«®¦¥¨ï
use32 ; âà á«ïâ®à, ¨á¯®«ì§ãî騩 32 à §àï¤ëå ª®¬ ¤ë
org 0x0 ; ¡ §®¢ë© ¤à¥á ª®¤ , ¢á¥£¤ 0x0
db 'MENUET01' ; ¨¤¥â¨ä¨ª â®à ¨á¯®«ï¥¬®£® ä ©« (8 ¡ ©â)
dd 0x1 ; ¢¥àá¨ï ä®à¬ â § £®«®¢ª ¨á¯®«ï¥¬®£® ä ©«
dd start ; ... | devlato/kolibrios-llvm | programs/develop/libraries/box_lib/asm/trunk/editbox_ex.asm | Assembly | mit | 6,288 |
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#include <stdio.h>
#include <libc/file.h>
#include <libc/stdiohk.h>
FILE __dj_stdout = {
0, 0, 0, 0,
_IOWRT | _IOFBF,
1
};
| devlato/kolibrios-llvm | programs/develop/libraries/menuetlibc/src/libc/ansi/stdio/stdout.c | C | mit | 194 |
//-----------------------------------------------------------------------
// <copyright file="EventSource.cs">(c) http://www.codeplex.com/MSBuildExtensionPack. This source is subject to the Microsoft Permissive License. See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. All ... | mikefourie/MSBuildExtensionPack | Releases/Archive/Main3.5/Framework/Computer/EventSource.cs | C# | mit | 11,618 |
<?php
/*
* This file is part of the PHPExifTool package.
*
* (c) Alchemy <support@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\Canon;
use JMS\Serializer\Annotation\ExclusionPolicy;... | bburnichon/PHPExiftool | lib/PHPExiftool/Driver/Tag/Canon/ColorTempCustom2.php | PHP | mit | 848 |
/* iCheck plugin Line skin, red
----------------------------------- */
.icheckbox_line-red,
.iradio_line-red {
position: relative;
display: block;
margin: 0;
padding: 5px 15px 5px 38px;
font-size: 13px;
line-height: 17px;
color: #fff;
background: #e56c69;
border: none;
-webkit-bo... | ViraxDev/centrale_referencement | src/BackendBundle/Resources/public/css/iCheck/line/red.css | CSS | mit | 1,862 |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M19 3h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.4... | oliviertassinari/material-ui | packages/mui-icons-material/lib/esm/AssignmentRounded.js | JavaScript | mit | 553 |
//>>built
define({descTemplate:"${2} - ${3}/${1} ${0}",firstTip:"\uccab \ud398\uc774\uc9c0",lastTip:"\ub9c8\uc9c0\ub9c9 \ud398\uc774\uc9c0",nextTip:"\ub2e4\uc74c \ud398\uc774\uc9c0",prevTip:"\uc774\uc804 \ud398\uc774\uc9c0",itemTitle:"\ud56d\ubaa9",singularItemTitle:"\ud56d\ubaa9",pageStepLabelTemplate:"${0} \ud398\uc7... | ycabon/presentations | 2020-devsummit/arcgis-js-api-road-ahead/js-api/dojox/grid/enhanced/nls/ko/Pagination.js | JavaScript | mit | 759 |
PORT=8887
while `true` ; do
echo "about to start jetty on port $PORT"
mvn -Djetty.port=$PORT jetty:run
SLEEPTIME=$?
echo "jetty stopped. Going to sleep for $SLEEPTIME seconds"
sleep $SLEEPTIME
done
| hotlib/http-rpc-client | resttest-app/run7.sh | Shell | mit | 204 |
/*
* Copyright (c) 2015, 2016, 2017 Adrian Siekierka
*
* This file is part of Charset.
*
* Charset is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your ... | BetterWithMods/BetterWithMods | src/main/java/betterwithmods/client/baking/BaseBakedModel.java | Java | mit | 4,407 |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.actionbarsherlock;
public final class R {
public static final class attr {
public static final int absForceOverflow = 0x7f0... | dougreside/MOVER | Releases/January2014/src/gen/com/actionbarsherlock/R.java | Java | mit | 35,346 |
gvim(){ /usr/bin/gvim -f "$@" & true;disown }
| waysidekoi/dotfiles | home/zsh/gvim.zsh | Shell | mit | 46 |
package com.flextrade.jfixture.builders;
import com.flextrade.jfixture.NoSpecimen;
import com.flextrade.jfixture.SpecimenBuilder;
import com.flextrade.jfixture.SpecimenContext;
import com.flextrade.jfixture.requests.RangeRequest;
import com.flextrade.jfixture.utility.SpecimenType;
import java.util.Calendar;
class Ca... | FlexTradeUKLtd/jfixture | jfixture/src/main/java/com/flextrade/jfixture/builders/CalendarRangeRelay.java | Java | mit | 1,813 |
@charset "UTF-8";
body.ltr {
direction: ltr;
}
body.rtl div {
direction: rtl;
}
/* Form Layout Styles */
form label {
cursor: pointer;
}
p.legend {
margin-bottom: 1em;
}
p.legend em {
color: #c00;
font-style: normal;
}
.form-container {
width: 100%;
overflow: auto;
margin-top: 5px;... | sahana/Turkey | static/themes/default/widgets.css | CSS | mit | 33,066 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Global try_to_lock</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../index.html" title="The Bo... | rkq/cxxexp | third-party/src/boost_1_56_0/doc/html/boost/interprocess/try_to_lock.html | HTML | mit | 3,998 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///
/// Copyright 2009 Aurora Feint, Inc.
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You ma... | VaultHeadGames/WhackABoss | OpenFeint/api/internal/Systems/ViewSerializers/OFViewDataSetter.h | C | mit | 1,782 |
include "./masterpage/template-MP/header.html"
<div class="band">
<div class="row">
include "./modals/megan.html"
</div>
</div>
include "./masterpage/template-MP/footer.html"
| WhatsNewSaes/Sherpa | _input/templates/modals.html | HTML | mit | 194 |
<?php
/*
* This file is part of the PHPExifTool package.
*
* (c) Alchemy <support@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\Canon;
use JMS\Serializer\Annotation\ExclusionPolicy;... | bburnichon/PHPExiftool | lib/PHPExiftool/Driver/Tag/Canon/CroppedImageHeight.php | PHP | mit | 852 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespa... | sharadagarwal/autorest | AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/Models/LoginUserHeaders.cs | C# | mit | 1,572 |
#### NOTICE: THIS FILE IS AUTOGENERATED
#### MODIFICATIONS MAY BE LOST IF DONE IMPROPERLY
#### PLEASE SEE THE ONLINE DOCUMENTATION FOR EXAMPLES
from swgpy.object import *
def create(kernel):
result = Tangible()
result.template = "object/tangible/inventory/shared_creature_inventory_6.iff"
result.attribute_templat... | anhstudios/swganh | data/scripts/templates/object/tangible/inventory/shared_creature_inventory_6.py | Python | mit | 450 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="iso-8859-1">
<title>Uses of Interface org.apache.commons.configuration.tree.ConfigurationNodeVisitor (Apache Common... | JPAT-ROSEMARY/SCUBA | org.jpat.scuba.external.apache.commons/apache.commons.libs/configuration/apidocs/org/apache/commons/configuration/tree/class-use/ConfigurationNodeVisitor.html | HTML | mit | 9,580 |
/******************************************************************************/
/* Copyright (c) 2013-2022 VectorChief (at github, bitbucket, sourceforge) */
/* Distributed under the MIT software license, see the accompanying */
/* file COPYING or http://www.opensource.org/licenses/mit-license.php ... | VectorChief/QuadRay-engine | core/config/rtarch_xHB_512x2v2.h | C | mit | 334,099 |
<?php
/*
* This file is part of the PMD package.
*
* (c) Piotr Minkina <projekty@piotrminkina.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PMD\Bundle\Resource\ResolverBundle\Factory;
use PMD\Bundle\Resource\Reso... | piotrminkina/pmd | src/PMD/Bundle/Resource/ResolverBundle/Factory/RequestControllerFactory.php | PHP | mit | 4,504 |
-- TABLES
DROP TABLE IF EXISTS `bx_glossary_terms`, `bx_glossary_files`, `bx_glossary_photos_resized`, `bx_glossary_cmts`, `bx_glossary_votes`, `bx_glossary_votes_track`, `bx_glossary_reactions`, `bx_glossary_reactions_track`, `bx_glossary_views_track`, `bx_glossary_meta_keywords`, `bx_glossary_meta_mentions`, `bx_g... | unaio/una | modules/boonex/glossary/updates/9.0.3_10.0.0/source/install/sql/uninstall.sql | SQL | mit | 2,747 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>No Locale Test</title>
<link rel="stylesheet" href="qunit.css">
</head>
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<script src="../l10n.js"></script>
<script src="qunit.js"></script>
</body>
<script>
test('toLocale... | JeromeDane/l10n.js | tests/no-locale.html | HTML | mit | 667 |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'indent', 'eu', {
indent: 'Handitu koska',
outdent: 'Txikitu koska'
} );
| nickofbh/kort2 | app/static/js/ckeditor/plugins/indent/lang/eu.js | JavaScript | mit | 255 |
using Microsoft.MSBuildProjectBuilder;
using Xunit;
namespace MSBuildProjectBuilder.UnitTests
{
public class TargetTest
{
[Fact]
public void AddTarget()
{
string expectedOutput =
@"<?xml version=""1.0"" encoding=""utf-16""?>
<Project ToolsVersion=""4.0"" xmlns=""http://sch... | jeffkl/CBT.Modules | src/MSBuildProjectBuilder.UnitTests/TargetTest.cs | C# | mit | 2,009 |
<?php
/*
* This file is part of the PHPExifTool package.
*
* (c) Alchemy <support@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\DICOM;
use JMS\Serializer\Annotation\ExclusionPolicy;... | bburnichon/PHPExiftool | lib/PHPExiftool/Driver/Tag/DICOM/RequestingPhysician.php | PHP | mit | 809 |
const path = require('path');
const consoleLogger = require('./logger');
const _ = require('lodash');
module.exports = (config, logger, metrics, next) => {
if (!next) { next = metrics; metrics = { increment: _.noop }; }
if (!next) { next = logger; logger = consoleLogger; }
require('../db')(config, logger, (err,... | cliftonc/seguir | api/index.js | JavaScript | mit | 992 |
{% extends "namubufferiapp/base.html" %}
{% load render_bundle from webpack_loader %}
{% block modals %}
<!-- Modals -->
<!-- Always try to place a modal's HTML code in a top-level position in your document to avoid other components affecting the modal's appearance and/or functionality. -->
<!-- Product info/buy Mod... | oangervuori/namubufferi | namubufferiapp/templates/namubufferiapp/admin_handleinventory.html | HTML | mit | 4,760 |
#include "bitcoinamountfield.h"
#include "qvaluecombobox.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include <QHBoxLayout>
#include <QKeyEvent>
#include <QDoubleSpinBox>
#include <QApplication>
#include <qmath.h> // for qPow()
BitcoinAmountField::BitcoinAmountField(QWidget *parent):
QWidget(paren... | BlueCoin/BlueCoin | src/qt/bitcoinamountfield.cpp | C++ | mit | 4,375 |
""" FileDialogDelegateQt.py: Delegate that pops up a file dialog when double clicked.
Sets the model data to the selected file name.
"""
import os.path
try:
from PyQt5.QtCore import Qt, QT_VERSION_STR
from PyQt5.QtWidgets import QStyledItemDelegate, QFileDialog
except ImportError:
try:
from PyQt4... | marcel-goldschen-ohm/ModelViewPyQt | FileDialogDelegateQt.py | Python | mit | 2,023 |
namespace Microsoft.DataTransfer.DocumentDb.Client
{
interface IDocumentDbConnectionSettings
{
string AccountEndpoint { get; }
string AccountKey { get; }
string Database { get; }
}
}
| innovimax/azure-documentdb-datamigrationtool | DocumentDb/Microsoft.DataTransfer.DocumentDb/Client/IDocumentDbConnectionSettings.cs | C# | mit | 223 |
<?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond ... | TiendaNube/sample-php-app | app/routes.php | PHP | mit | 1,463 |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Setup_products_category extends Root_Controller
{
private $message;
public $permissions;
public $controller_url;
public function __construct()
{
parent::__construct();
$this->message='';
$this->permi... | brpp-bipul-roy/rm | application/controllers/Setup_products_category.php | PHP | mit | 8,982 |
package org.knowm.xchange.coinbase.dto.merchant;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import org.knowm.xchange.coinbase.dto.CoinbaseBaseResponse;
import org.knowm.xchange.coinbase.dto.common.CoinbaseRepeat;
import org.knowm.xchange.coinbase.dto.marketdata.CoinbaseMoney;
impo... | gaborkolozsy/XChange | xchange-coinbase/src/main/java/org/knowm/xchange/coinbase/dto/merchant/CoinbaseButton.java | Java | mit | 16,522 |
<!DOCTYPE html>
<html>
<head>
<title> Abhi's Blog</title>
<meta charset="UTF-8">
<link href='https://fonts.googleapis.com/css?family=Lato:400,300,700,900' rel='stylesheet' type='text/css'>
<link href="../styles/main.css" rel="stylesheet" type="text/css">
</head>
<body>
<!-- Header -->
<h... | abhi-kala/abhi-kala.github.io | v_1/blog/c1-reflection-blog.html | HTML | mit | 3,375 |
//
// detail/null_event.hpp
// ~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_A... | SingularInversions/FaceGenBaseLibrary | source/LibTpBoost/boost_1_67_0/boost/asio/detail/null_event.hpp | C++ | mit | 2,147 |
<ul class="list-unstyled list-group side-nav">
<li class="list-group-item" ng-class="{'active': $state.is('app.public.blog.post')}" ui-sref-active="active"><a ui-sref="app.public.blog.list">Blog</a></li>
<li class="list-group-item" ui-sref-active="active"><a ui-sref="app.public.music.list">Music</a></li>
<li class="... | edstevo/EdStphnsn-FrontEnd- | lib/templates/public/components/navbar.tpl.html | HTML | mit | 413 |
---
layout: post
cover: 'assets/images/pipelines.jpg'
title: Jenkins 2.0 - Pipelines with NodeJS
date: 2017-02-03 05:00:00
tags: technologies
subclass: 'post tag-content tag-technologies'
categories: 'jt'
navigation: True
logo: 'assets/images/logo.png'
---
## Future of Jenkins: The Jenkinsfile
The future of Jenkins... | jtaylor32/site | _posts/2017-02-03-Jenkins-2.0-Pipeline-NodeJS.md | Markdown | mit | 6,327 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.