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 |
|---|---|---|---|---|---|
/**
* Module dependencies.
*/
var api = require('lib/db-api');
var config = require('lib/config');
var express = require('express');
var jwt = require('lib/jwt');
var passport = require('passport');
var log = require('debug')('democracyos:auth:facebook:routes');
var User = require('lib/models').User;
var fbSignedPar... | fonorobert/evoks | lib/auth-facebook/routes.js | JavaScript | mit | 2,185 |
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs.Host;
using Microsoft.ProjectOxford.Face;
using Microsoft.ProjectOxford.Face.Contract;
namespace Novanet
{
public static class FaceServiceClientExtensions
{
public static async Task CreatePersonGroupIfNotExisin... | novanet/ndc2017 | src/EmoApi/AzureFunctionsCCC/IdentificationTrainingFunction/FaceServiceClientExtensions.cs | C# | mit | 2,140 |
# Latte-lang 规范
# 目录
1. [起步](#p1)
1. [基础语法](#p1-1)
2. [文件结构](#p1-2)
2. [基础](#p2)
1. [字面量](#p2-1)
2. [基本类型](#p2-2)
3. [控制流](#p2-3)
3. [类和对象](#p3)
1. [类与继承](#p3-1)
2. [接口](#p3-2)
3. [字段和方法](#p3-3)
4. [修饰符](#p3-4)
5. [Data Class](#p3-5)
6. [实例化](#p3-6)
7. [Object Class](#p3-7)
8. [隐式转换](#p3-8)
4. [函数类和Lambd... | wkgcass/LessTyping | mannual-zh.md | Markdown | mit | 49,942 |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="th_TH" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Linkcoin</source>
<translation>เกี่ยวกับ บิตคอย์น</translation>
... | Linkproject/winpro | src/qt/locale/bitcoin_th_TH.ts | TypeScript | mit | 97,840 |
#region Using directives
using System;
using System.Data;
using System.Data.Common;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using Nettiers.AdventureWorks.Entities;
using Nettiers.AdventureWorks.Data;
#endregion
namespace Nettiers.AdventureWorks.Data.Bases... | netTiers/netTiers | Samples/AdventureWorks/Generated/Nettiers.AdventureWorks.Data/Bases/SalesOrderHeaderSalesReasonProviderBase.cs | C# | mit | 735 |
# Be sure to restart your server when you modify this file.
Hypermedia::Application.config.session_store :cookie_store, key: '_hypermedia_session'
# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information
# (create the session table with "r... | oestrich/hypermedia_rails | config/initializers/session_store.rb | Ruby | mit | 422 |
#ifndef ANONCOIN_MINER_H
#define ANONCOIN_MINER_H
#include <stdint.h>
typedef long long int64;
typedef unsigned long long uint64;
class CBlock;
class CBlockHeader;
class CBlockIndex;
struct CBlockTemplate;
class CReserveKey;
class CScript;
#ifdef ENABLE_WALLET
class CWallet;
void AnoncoinMiner(CWallet *pwallet);... | coinkeeper/2015-06-22_18-30_anoncoin | src/miner.h | C | mit | 1,063 |
<TS language="hi_IN" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Create a new address</source>
<translation>नया पता लिखिए !</translation>
</message>
<message>
<source>Copy the currently selected address to the system clipboard</source>
<transla... | faircoin/faircoin2 | src/qt/locale/bitcoin_hi_IN.ts | TypeScript | mit | 30,726 |
// <auto-generated>
// 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
// re... | ayeletshpigelman/azure-sdk-for-net | sdk/network/Microsoft.Azure.Management.Network/src/Generated/SecurityRulesOperations.cs | C# | mit | 51,940 |
// © 2000 NEOSYS Software Ltd. All Rights Reserved.//**Start Encode**
function form_postinit() {
//enable/disable password changing button
neosyssetexpression('button_password', 'disabled', '!gusers_authorisation_update&&gkey!=gusername')
//force retrieval of own record
if (gro.dictitem('USER... | tectronics/exodusdb | www/neosys/scripts/users.js | JavaScript | mit | 4,156 |
// MIT License. Copyright (c) 2016 Maxim Kuzmin. Contacts: https://github.com/maxim-kuzmin
// Author: Maxim Kuzmin
using Autofac;
using Autofac.Core;
using Makc2017.Core.App;
using System.Collections.Generic;
using System.Linq;
namespace Makc2017.Modules.Dummy.Caching
{
/// <summary>
/// Модули. Модуль "Dum... | maxim-kuzmin/Makc2017 | src/Makc2017.Modules.Dummy.Caching/ModuleDummyCachingPlugin.cs | C# | mit | 2,426 |
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @m... | friendsofagape/mt2414ui | node_modules/@angular/animations/esm2015/browser/public_api.js | JavaScript | mit | 1,618 |
package queue;
/**
* Queue server metadata manager.
*
* @author Thanh Nguyen <btnguyen2k@gmail.com>
* @since 0.1.0
*/
public interface IQsMetadataManager {
}
| kangkot/queue-server | app/queue/IQsMetadataManager.java | Java | mit | 166 |
<?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\Routing\Generator;
use Symfony\Component\Routing\Rout... | BaderLab/openPIP | vendor/symfony/symfony/src/Symfony/Component/Routing/Generator/UrlGenerator.php | PHP | mit | 13,796 |
'use strict';
const path = require('path'),
mongoose = require('mongoose'),
Promise = require('bluebird'),
errorHandler = require(path.resolve('./modules/core/server/controllers/errors.server.controller')),
_ = require('lodash');
mongoose.Promise = Promise;
const User = mongoose.model('User');
const ... | mapping-slc/mapping-slc | modules/users/server/controllers/admin.v2.server.controller.js | JavaScript | mit | 1,576 |
using System.Linq;
using System.Threading.Tasks;
using JSONAPI.Documents;
using Newtonsoft.Json;
namespace JSONAPI.Json
{
/// <summary>
/// Default implementation of ISingleResourceDocumentFormatter
/// </summary>
public class SingleResourceDocumentFormatter : ISingleResourceDocumentFormatter
{
... | danshapir/JSONAPI.NET | JSONAPI/Json/SingleResourceDocumentFormatter.cs | C# | mit | 3,963 |
/*jshint unused:false*/
var chai = require('chai'),
expect = chai.expect;
var request = require('supertest');
module.exports = function() {
'use strict';
this.Then(/^The JSON is returned by issuing a "GET" at the specified uri:$/, function(json, callback) {
request(this.serverLocation)
.get('/hello... | bustardcelly/caddis | features/step_definitions/add-get.steps.js | JavaScript | mit | 615 |
// Copyright (c) DotSpatial Team. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
using System;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Design;
using System.Windows.Forms;
using System.Windows.Forms.D... | DotSpatial/DotSpatial | Source/DotSpatial.Symbology.Forms/FontFamilyNameEditor.cs | C# | mit | 2,604 |
<?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" lang="en">
<head>
<title>deprecation.rb</title>
<meta http-equiv="Content-Type" content="t... | SeanYamaguchi/circle | doc/api/files/__/__/_rbenv/versions/2_1_0/lib/ruby/gems/2_1_0/gems/activesupport-4_1_6/lib/active_support/core_ext/module/deprecation_rb.html | HTML | mit | 2,389 |
/* global sinon, setup, teardown */
/**
* __init.test.js is run before every test case.
*/
window.debug = true;
var AScene = require('aframe').AScene;
beforeEach(function () {
this.sinon = sinon.sandbox.create();
// Stub to not create a WebGL context since Travis CI runs headless.
this.sinon.stub(AScene.prototy... | donmccurdy/aframe-gamepad-controls | tests/__init.test.js | JavaScript | mit | 664 |
///
/// Copyright (c) 2016 Dropbox, Inc. All rights reserved.
///
/// Auto-generated by Stone, do not modify.
///
#import <Foundation/Foundation.h>
#import "DBSerializableProtocol.h"
@class DBPAPERImportFormat;
@class DBPAPERPaperDocCreateArgs;
NS_ASSUME_NONNULL_BEGIN
#pragma mark - API Object
///
/// The `PaperD... | wtanuw/WTLibrary-iOS | Example/Pods/ObjectiveDropboxOfficial/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocCreateArgs.h | C | mit | 2,644 |
#container{
width: 750px;
margin: 0 auto;
text-align: left;
}
#header {
position: relative;
top:2px;
}
#menu{
float: left;
width: 150px;
}
#anchorMenu{
position: fixed;
top: auto;
width: 8em;
left: auto;
margin: -2.5em 0 0 0;
z-index: 5;
overflow: hidden;
padding-top: 20px;
}
#mainArea{
... | mbonez006/me | initial-me/cs15020/mycss.css | CSS | mit | 1,306 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Frames — Leap Motion C++ SDK v3.1 documentation</title>
<link rel="stylesheet" href="../../cpp/_static/bootstrap-3.0.0/css/... | MTASZTAKI/ApertusVR | plugins/track/hand/leapMotion/3rdParty/leapMotion/docs/cpp/devguide/Leap_Frames.html | HTML | mit | 33,410 |
{% raw %}{% extends "wagtailadmin/home.html" %}
{% load wagtailcore_tags wagtailsettings_tags %}
{% get_settings %}
{% block branding_welcome %}
Welcome {% if settings.pages.SiteBranding.site_name %}to {{ settings.pages.SiteBranding.site_name }}{% endif %}
{% endblock %}{% endraw %} | ilendl2/wagtail-cookiecutter-foundation | {{cookiecutter.project_slug}}/pages/templates/wagtailadmin/home.html | HTML | mit | 288 |
public enum CoffeePrice
{
Small = 50,
Normal = 100,
Double =200
} | zrusev/SoftUni_2016 | 06. C# OOP Advanced - July 2017/04. Enums And Attributes/04. Enums And Attributes - Lab/Lab Enumerations and Attributes/02. Coffee Machine/CoffeePrice.cs | C# | mit | 80 |
<!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_66-internal) on Tue Dec 08 09:28:01 GMT 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.a... | manonsys/MVC | libs/Jena/javadoc-arq/org/apache/jena/sparql/expr/aggregate/class-use/AggAvgDistinct.html | HTML | mit | 4,828 |
"use strict";
var mathUtils = require("./math-utils");
exports.shuffle = function(array) {
var len = array.length;
for ( var i=0; i<len; i++ ) {
var rand = mathUtils.randomInt(0,len-1);
var temp = array[i];
array[i] = array[rand];
array[rand] = temp;
}
}; | jedrichards/portfolio | api/utils/array-utils.js | JavaScript | mit | 303 |
# -*- coding: utf-8 -*-
#
# Cloud Robotics FX 会話理解API用メッセージ
#
# @author: Osamu Noguchi <noguchi@headwaters.co.jp>
# @version: 0.0.1
import cloudrobotics.message as message
APP_ID = 'SbrApiServices'
PROCESSING_ID = 'RbAppConversationApi'
# 会話メッセージ
#
class ConversationMessage(message.CRFXMessage):
def __init__... | seijim/cloud-robotics-fx-v2 | CloudRoboticsApi/ClientCode_Pepper/HeadWaters/PepperCode2/lib/cloudrobotics/conversation/message.py | Python | mit | 746 |
Rails.application.routes.draw do
namespace :admin do
namespace :reports do
get 'deliveries' => 'deliveries#index'
end
get 'users' => 'users#index'
get 'users/:id' => 'users#show'
end
root to: 'pages#index'
end
| mmontossi/crumbs | test/dummy/config/routes.rb | Ruby | mit | 241 |
/* eslint quote-props: ["error", "consistent"] */
// Japanese Hirajoshi scale
// 1-4-2-1-4
// Gb G B Db D Gb
export default {
'a': { instrument: 'piano', note: 'a4' },
'b': { instrument: 'piano', note: 'eb3' },
'c': { instrument: 'piano', note: 'd6' },
'd': { instrument: 'piano', note: 'eb4' },
'e': { inst... | sctang/opera | src/scheme/scheme_Hirajoshi_D.js | JavaScript | mit | 4,555 |
<html>
<META HTTP-EQUIV=Content-Type Content="text/html; charset=utf8">
<!-- Mirrored from lis.ly.gov.tw/lghtml/lawstat/version2/01583/0158388122800.htm by HTTrack Website Copier/3.x [XR&CO'2010], Sun, 24 Mar 2013 09:13:25 GMT -->
<head><title>法編號:01583 版本:088122800</title>
<link rel="stylesheet" type="text/css" href=... | g0v/laweasyread-data | rawdata/utf8_lawstat/version2/01583/0158388122800.html | HTML | mit | 45,532 |
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System.Runtime.InteropServices;
/// <content>
/// Conta... | vbfox/pinvoke | src/Kernel32/Kernel32+WIN32_FIND_DATA.cs | C# | mit | 3,947 |
package arn
// PersonName represents the name of a person.
type PersonName struct {
English Name `json:"english" editable:"true"`
Japanese Name `json:"japanese" editable:"true"`
}
// String returns the default visualization of the name.
func (name *PersonName) String() string {
return name.ByUser(nil)
}
// ByUse... | animenotifier/arn | PersonName.go | GO | mit | 684 |
package testdata
import (
. "goa.design/goa/v3/dsl"
)
var ConflictWithAPINameAndServiceNameDSL = func() {
var _ = API("aloha", func() {
Title("conflict with API name and service names")
})
var _ = Service("aloha", func() {}) // same as API name
var _ = Service("alohaapi", func() {}) // API name + 'api' su... | goadesign/goa | codegen/service/testdata/example_svc_dsls.go | GO | mit | 820 |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {async, fakeAsync, tick} from '@angular/core/testing';
import {AsyncTestCompleter, beforeEach, describe, inje... | tolemac/angular | modules/@angular/forms/test/form_group_spec.ts | TypeScript | mit | 36,063 |
// ==========================================================================
// Project: SproutCore Metal
// Copyright: ©2011 Strobe Inc. and contributors.
// License: Licensed under MIT license (see license.js)
// ==========================================================================
require('sproutcore-metal... | crofty/sensor_js_message_parsing | vendor/sproutcore-metal/tests/platform/defineProperty_test.js | JavaScript | mit | 3,281 |
require 'rubygems'
require 'active_support'
require 'active_merchant'
class GatewaySupport #:nodoc:
ACTIONS = [:purchase, :authorize, :capture, :void, :credit, :recurring]
include ActiveMerchant::Billing
attr_reader :gateways
def initialize
Dir[File.expand_path(File.dirname(__FILE__) + '/../active_merc... | reinteractive/active_merchant | lib/support/gateway_support.rb | Ruby | mit | 1,804 |
/*
* Copyright (c) 2011-2015 Håkan Edling
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* http://github.com/piranhacms/piranha
*
*/
using System;
using System.Collections.Generic;
namespace Piranha.Extend
{
/// <... | timbrown81/Piranha | Core/Piranha/Extend/PageType.cs | C# | mit | 2,364 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="GetNodeScriptsTest.cs" company="automotiveMastermind and contributors">
// © automotiveMastermind and contributors. Licensed under MIT. See LICENSE and CREDITS for details.
// </... | automotiveMastermind/condo | test/AM.Condo.Test/Tasks/GetNodeScriptsTest.cs | C# | mit | 2,251 |
<?php
/* SonataAdminBundle:CRUD:base_list_flat_inner_row.html.twig */
class __TwigTemplate_16b98d4be50387198a258942bcac860cb5e7d142e913464f9538849439128cff extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$t... | chicho2114/Proy_Frameworks | app/cache/prod/twig/16/b9/8d4be50387198a258942bcac860cb5e7d142e913464f9538849439128cff.php | PHP | mit | 3,962 |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Qt 4.8: t... | stephaneAG/PengPod700 | QtEsrc/qt-everywhere-opensource-src-4.8.5/doc/html/designer-taskmenuextension-tictactoeplugin-h.html | HTML | mit | 13,994 |
var Promise = require('ember-cli/lib/ext/promise');
module.exports = {
normalizeEntityName: function() {},
afterInstall: function() {
var addonContext = this;
return this.addBowerPackageToProject('jquery-ui', '1.10.1')
.then(function() {
return addonContext.addBowerPackageToProject('jquer... | ming-codes/ember-cli-ember-table | blueprints/ember-cli-ember-table/index.js | JavaScript | mit | 515 |
import time
import random
from random import randint
# from library import Trigger, Axis
# from library import PS4
from library import Joystick
import RPi.GPIO as GPIO # remove!!!
from emotions import angry, happy, confused
# from pysabertooth import Sabertooth
# from smc import SMC
from library import LEDDisplay
from... | DFEC-R2D2/r2d2 | pygecko/states/remote.py | Python | mit | 11,721 |
##
# This code was generated by
# \ / _ _ _| _ _
# | (_)\/(_)(_|\/| |(/_ v1.0.0
# / /
#
# frozen_string_literal: true
module Twilio
module REST
class Api < Domain
class V2010 < Version
class AccountContext < InstanceContext
class ApplicationList < ListResource
... | philnash/twilio-ruby | lib/twilio-ruby/rest/api/v2010/account/application.rb | Ruby | mit | 28,693 |
<?php
namespace Omnipay\Braintree\Message;
/**
* Find Customer Request
*
* @method CustomerResponse send()
*/
class FindCustomerRequest extends AbstractRequest
{
public function getData()
{
return $this->getCustomerData();
}
/**
* Send the request with specified data
*
* @pa... | Shimmi/omnipay-braintree | src/Message/FindCustomerRequest.php | PHP | mit | 597 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# pywim documentation build configuration file, created by
# sphinx-quickstart on Tue Jul 9 22:26:36 2013.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autog... | xmnlab/pywim | docs/conf.py | Python | mit | 8,369 |
require_relative 'base'
module Terjira
module Client
class StatusCategory < Base
class << self
def all
@all_statuscategory ||= file_cache.fetch("all") do
resp = api_get "statuscategory"
resp.map { |category| build(category) }
end
end
def ... | keepcosmos/terjira | lib/terjira/client/status_category.rb | Ruby | mit | 445 |
## 1.3.3
- 修复 #782 默认主题配置颜色选择透明度无法修改问题
- 修复 #774 部分情况 TOC 链接错误问题
## 1.3.2
- 新增博客导出至 Hugo
- 评论新增 [Waline](https://waline.js.org) 和 [Valine](https://valine.js.org) 的支持
- 修复 #748 代码高亮的问题
## 1.3.1
- 修复配置 COS 之后上传图片会带上当前域名的问题 #737
- 修复代码块不显示最后一行的问题 #740
- 修复后台分享部分二级分类不显示的问题
## 1.3.0
- 新增文章删除回收站 #734
- 新增标题自动转换成拼音URL ... | welefen/firekylin | CHANGELOG.md | Markdown | mit | 9,978 |
Date.CultureInfo = {
/* Culture Name */
name: "fr-FR",
englishName: "French (France)",
nativeName: "français (France)",
/* Day Name Strings */
dayNames: ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"],
abbreviatedDayNames: ["dim.", "lun.", "mar.", "mer.", "jeu.", ... | TDXDigital/TPS | js/Datejs-master/src/globalization/fr-FR.js | JavaScript | mit | 6,781 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<base href="../../../" />
<script src="list.js"></script>
<script src="page.js"></script>
<link type="text/css" rel="stylesheet" href="page.css" />
</head>
<body>
<h1>[name]</h1>
<p class="desc">Class representing a 3D [link:https://en.w... | cadenasgmbh/three.js | docs/api/en/math/Vector3.html | HTML | mit | 16,776 |
testMipmap = function()
local f = {0}
local g = {}
local h = {6}
local k = {0}
f[1] = f[1] + 1
k[1] = h[1] - f[1];
g[1] = k[1]^2
print (g[1])
end
testMipmap()
| Nau3D/nau | projects/path tracing/ttt.lua | Lua | mit | 180 |
#include "UniformBuffer.hpp"
#include <iostream>
#include <cstring>
UniformBuffer::UniformBuffer(const void* data, unsigned int size, VkDevice device, VkPhysicalDevice physicalDevice, VkDescriptorPool descriptorPool, VkShaderStageFlags flags) : Buffer(device, physicalDevice, descriptorPool) {
this->device = devic... | Chainsawkitten/AsyncCompute | src/UniformBuffer.cpp | C++ | mit | 1,194 |
class Test {
public static int[] test() {
return null;
}
public static void main(String[] args) {
int [] arr = test();
System.out.println(arr);
} | parin2092/cook | Test.java | Java | mit | 154 |
//
// ColorInfoView.h
// ASCFlatUIColors
//
// Created by André Schneider on 02.05.14.
// Copyright (c) 2014 André Schneider. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ColorInfoView : UIView
- (void)showWithTitle:(NSString *)title forColorAtIndexPath:(NSIndexPath *)indexPath;
- (void)hide;
@end... | schneiderandre/ASCFlatUIColor | Example/ASCFlatUIColors/ColorInfoView.h | C | mit | 323 |
import { Component, ViewChild, ElementRef } from '@angular/core';
import { jqxButtonGroupComponent } from '../../../../../jqwidgets-ts/angular_jqxbuttongroup';
@Component({
selector: 'app-root',
templateUrl: './app.component.html'
})
export class AppComponent {
@ViewChild('myButtonGroup') myButtonGroup:... | juannelisalde/holter | assets/jqwidgets/demos/angular/app/buttongroup/defaultfunctionality/app.component.ts | TypeScript | mit | 844 |
-- MENUS
DELETE FROM `sys_menu_items` WHERE `set_name`='sys_account_dashboard' AND `name`='dashboard-massmailer';
SET @iMoAccountDashboard = (SELECT IFNULL(MAX(`order`), 0) FROM `sys_menu_items` WHERE `set_name`='sys_account_dashboard' LIMIT 1);
INSERT INTO `sys_menu_items` (`set_name`, `module`, `name`, `title_system`... | unaio/una | modules/boonex/massmailer/updates/9.0.2_9.0.3/install/sql/enable.sql | SQL | mit | 1,772 |
<?php
declare(strict_types=1);
/**
* Copyright (c) 2013-2018 OpenCFP
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/opencfp/opencfp
*/
namespace OpenCFP\Test\Integration\Http\Action\Signup;
use OpenCFP... | localheinz/opencfp | tests/Integration/Http/Action/Signup/PrivacyActionTest.php | PHP | mit | 752 |
using System;
using System.Windows.Input;
namespace CustomBA.Commands
{
/// <summary>
/// Based on http://wpftutorial.net/DelegateCommand.html
/// </summary>
public class DelegateCommand : ICommand
{
private readonly Predicate<object> _canExecute;
private readonly Ac... | Sufflavus/WixExamples | CustomBurnUiWithOptionsOnPureWpf/Source/CustomBA/Commands/DelegateCommand.cs | C# | mit | 1,268 |
export declare class SampleComponent {
constructor();
}
| UrbanRiskSlumRedevelopment/Maya | node_modules/ng2-bootstrap-grid/dist/src/sample.component.d.ts | TypeScript | mit | 63 |
# SSH
## SSH keys
An SSH key allows you to establish a secure connection between your
computer and GitLab. Before generating an SSH key in your shell, check if your system
already has one by running the following command:
```bash
cat ~/.ssh/id_rsa.pub
```
If you see a long string starting with `ssh-rsa` or `ssh-dsa`... | ferdinandrosario/gitlabhq | doc/ssh/README.md | Markdown | mit | 3,968 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Fri Nov 26 15:38:56 EST 2010 -->
<TITLE>
Xerces Native Interface: Package org.apache.xerces.xni
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF... | jsalla/jatintest | lib/xerces-2_11_0/docs/javadocs/xni/org/apache/xerces/xni/package-frame.html | HTML | mit | 2,115 |
#ifndef _WLC_CONTEXT_H_
#define _WLC_CONTEXT_H_
#include <stdbool.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>
struct wl_display;
struct wlc_backend_surface;
struct ctx;
struct wlc_context_api {
void (*terminate)(struct ctx *context);
bool (*bind)(struct ctx *context);
bool (*bind_to_wl_display)(struct c... | SirCmpwn/wlc | src/platform/context/context.h | C | mit | 1,784 |
import {Component} from '@angular/core';
@Component({
selector: 'not-found',
templateUrl: 'app/404.component/404.component.html',
styleUrls: ['app/404.component/404.component.css'],
})
export class NotFoundComponent {} | Nandtel/spring-boot-angular2-starter | src/main/javascript/app/404.component/404.component.ts | TypeScript | mit | 231 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_33) on Tue Aug 20 12:20:59 EDT 2013 -->
<TITLE>
mars.util Class Hierarchy
</TITLE>
<META NAME="date" CONTENT="2013-08-20">
<LINK REL ="stylesheet" ... | gon1332/mars | src/main/resources/docs/mars/util/package-tree.html | HTML | mit | 6,316 |
call target.bat
%1\haxe.exe %2\compile-%TARGET%.hxml
| silentorb/garden | compile.bat | Batchfile | mit | 57 |
<!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"/>
<title>type_mat3x2.hpp So... | phaser/KRAL_libs | glm/0.9.3.3/docs/html/a00101_source.html | HTML | mit | 25,628 |
<?php
require_once('library/HTML5/Parser.php');
require_once('library/HTMLPurifier.auto.php');
function arr_add_hashes(&$item,$k) {
$item = '#' . $item;
}
function parse_url_content(&$a) {
$text = null;
$str_tags = '';
if(x($_GET,'binurl'))
$url = trim(hex2bin($_GET['binurl']));
else
$url = trim($_GET['ur... | kyriakosbrastianos/friendica-deb | mod/parse_url.php | PHP | mit | 5,224 |
package com.example.exampleeureka;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class ExampleEurekaApplicationTests {
@Test
public... | ko-sasaki/springboot-example | springboot-eureka-server/src/test/java/com/example/exampleeureka/ExampleEurekaApplicationTests.java | Java | mit | 349 |
using System.Runtime.Serialization;
namespace BungieNetPlatform.Enums {
[DataContract]
public enum ForumPostSort {
[EnumMember]
Default = 0,
[EnumMember]
OldestFirst = 1
}
} | dazarobbo/BungieNetPlatform-CSharp | BungieNetPlatform/BungieNetPlatform/Enums/ForumPostSort.cs | C# | mit | 193 |
A GLMListPresentation simply shows the given elements within a list.
Instance Variables
tagsBlock: <Object>
tagsFilterBlock: <Object>
tagsBlock
- xxxxx
tagsFilterBlock
- xxxxx
| vineetreddyrajula/pharo | src/Glamour-Presentations.package/GLMListPresentation.class/README.md | Markdown | mit | 185 |
using System.Net.Http;
using System.Threading.Tasks;
namespace WebApiContrib.IoC.Mef.Tests.Parts
{
public class PrecannedMessageHandler : DelegatingHandler
{
private readonly HttpResponseMessage _response;
public PrecannedMessageHandler(HttpResponseMessage response)
{
_resp... | WebApiContrib/WebApiContrib.IoC.Mef | test/WebApiContrib.IoC.Mef.Tests/Helpers/PrecannedMessageHandler.cs | C# | mit | 826 |
#include "gamelib/components/editor/LineBrushComponent.hpp"
#include "gamelib/components/geometry/Polygon.hpp"
#include "gamelib/components/rendering/MeshRenderer.hpp"
#include "gamelib/core/ecs/Entity.hpp"
#include "gamelib/properties/PropComponent.hpp"
namespace gamelib
{
LineBrushComponent::LineBrushComponent()... | mall0c/TileEngine | src/gamelib/components/editor/LineBrushComponent.cpp | C++ | mit | 3,353 |
///////////////////////
/// UTILS ///
///////////////////////
var u = {};
u.distance = function (p1, p2) {
var dx = p2.x - p1.x;
var dy = p2.y - p1.y;
return Math.sqrt((dx * dx) + (dy * dy));
};
u.angle = function(p1, p2) {
var dx = p2.x - p1.x;
var dy = p2.y - p1.y;
return u.degre... | Antariano/nipplejs | src/utils.js | JavaScript | mit | 3,278 |
# coding: utf-8
unless defined?(CARDS_CONF)
File.open(File.expand_path("../../cards_config.rb", __FILE__)) { |f|
CARDS_CONF = eval(f.read())
if(CARDS_CONF.class == Hash) then f.close() end
}
end | wzup/cards | config/initializers/01_init_cards_config.rb | Ruby | mit | 207 |
package styles
import (
"github.com/alecthomas/chroma"
)
// Doom One 2 style. Inspired by Atom One and Doom Emacs's Atom One theme
var DoomOne2 = Register(chroma.MustNewStyle("doom-one2", chroma.StyleEntries{
chroma.Text: "#b0c4de",
chroma.Error: "#b0c4de",
chroma.Comment: ... | xyproto/algernon | vendor/github.com/alecthomas/chroma/styles/doom-one2.go | GO | mit | 2,793 |
#include "multi_modelstruct.h"
#include "multivar_support.h"
#include <math.h>
#include <assert.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_eigen.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_errno.h>
/**
* ccs, 05.06.2012
* \todo this all needs to be checked carefully against an example that works in R
* \... | MADAI/MADAIEmulator | src/multi_modelstruct.c | C | mit | 16,184 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `strpbrk` fn in crate `libc`.">
<meta name="keywords" conte... | CasualX/CasualX.github.io | docs/pupil-rs/0.1.3/libc/fn.strpbrk.html | HTML | mit | 4,678 |
#!/bin/sh
sudo apt-get install xorg-dev libglu1-mesa-dev -y
# sfml-window
sudo apt-get install libx11-dev -y
sudo apt-get install libxcb1-dev -y
sudo apt-get install libx11-xcb-dev -y
sudo apt-get install libxcb-randr0-dev -y
sudo apt-get install libxcb-image0-dev -y
sudo apt-get install libgl1-mesa-dev -y
sudo apt-ge... | P-ainters/Drawing-Board-Alpha | Utility/DependencyInstall.sh | Shell | mit | 565 |
const core = require('brigadehub-core')
var pkg = require('./package.json')
var brigade = require('./brigade')()[0]
const bhConfig = {
dotenv: require('./dotenv')(),
info: '[Brigadehub]',
version: pkg.version,
brigade: brigade
}
core(bhConfig)
| therebelrobot/brigadehub | app.js | JavaScript | mit | 253 |
#include <assert.h>
#include <stdint.h>
#include <OpenP2P/Buffer.hpp>
#include <OpenP2P/Stream/BinaryStream.hpp>
#include <OpenP2P/Event/Source.hpp>
#include <OpenP2P/Event/Wait.hpp>
#include <OpenP2P/RootNetwork/Endpoint.hpp>
#include <OpenP2P/RootNetwork/Packet.hpp>
#include <OpenP2P/RootNetwork/PacketSocket.hpp>... | goodspeed24e/2014iOT | test/openp2p/src/OpenP2P/RootNetwork/PacketSocket.cpp | C++ | mit | 1,642 |
/* -*- C++ -*- */
#include <QtGlobal>
#include <QtAlgorithms>
#include <QChar>
#include <QDebug>
#include <QList>
#include <QMap>
#include <QPointer>
#include <QRegExp>
#include <QSettings>
#include <QSharedData>
#include <QSharedDataPointer>
#include "qluaapplication.h"
#include "qtluaengine.h"
#include "qluamainwi... | EliHar/Pattern_recognition | torch1/exe/qtlua/packages/qtide/qluamode_lua.cpp | C++ | mit | 22,831 |
// Copyright (c) 2020 The Gulden developers
// Authored by: Malcolm MacLeod (mmacleod@gmx.com)
// Distributed under the GULDEN software license, see the accompanying
// file COPYING
//Workaround braindamaged 'hack' in libtool.m4 that defines DLL_EXPORT when building a dll via libtool (this in turn imports unwanted sym... | nlgcoin/guldencoin-official | src/unity/unity_impl.cpp | C++ | mit | 56,495 |
/*
* DBAdapter.h
* Main Class to manage DB operations
* Created by: Ozgur Pekcagliyan - 2014-09-25 09:28:43 PM EEST
* Last edited by: Ozgur Pekcagliyan - 2015-03-01
* Notes:
* errorCode will be used to return specific error values back to user;
* * Potential error codes are;
* * * 0: success
* * * 1: user name... | zgrw/PchoneRemote | ServerApplication/include/Database Connections/DBAdapter.h | C | mit | 5,459 |
<div>
<a href="#/templates">Go Back</a>
<br><br>
<div class="col-md-4">
<img class="img-full" src="img/{{mainImage}}">
<div class="row">
<div ng-repeat="image in template.images | limitTo:4">
<div class="col-md-3">
<img class="img-full" ng-src="img/{{image.name}}" ng-click="setImage(image)">
... | marb61a/angularwebstoreapp | app/templates/template-details.html | HTML | mit | 1,811 |
class CreateActiveAdminComments < ActiveRecord::Migration[5.1]
def self.up
create_table :active_admin_comments do |t|
t.string :namespace
t.text :body
t.string :resource_id, null: false
t.string :resource_type, null: false
t.references :author, polymorphic: true
t.timestamp... | Seybo/michaelatwork | db/migrate/20160518090723_create_active_admin_comments.rb | Ruby | mit | 521 |
namespace _03BarracksFactory.Data
{
using System;
using Contracts;
using System.Collections.Generic;
using System.Text;
class UnitRepository : IRepository
{
private IDictionary<string, int> amountOfUnits;
public UnitRepository()
{
this.amountOfUnits = new S... | MrPIvanov/SoftUni | 06-Csharp OOP Advanced/10-EXERCISE REFLECTION AND ATTRIBUTES/ReflectionExercises/05-BarracksWarsReturnOfTheDependencies/Data/UnitRepository.cs | C# | mit | 1,466 |
/// @copyright
/// Copyright (C) 2020 Assured Information Security, Inc.
///
/// @copyright
/// 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 limita... | rianquinn/hypervisor | kernel/include/arm/aarch64/tls_t.hpp | C++ | mit | 15,304 |
package com.github.bachelorpraktikum.visualisierbar.model;
import com.github.bachelorpraktikum.visualisierbar.model.Element.State;
import com.github.bachelorpraktikum.visualisierbar.model.Element.Type;
public class ElementShapeableTest extends ShapeableImplementationTest {
@Override
protected Shapeable<?> ge... | Bachelorpraktikum/VisualisierbaR | src/test/java/com/github/bachelorpraktikum/visualisierbar/model/ElementShapeableTest.java | Java | mit | 551 |
/**
* @license Angular v4.0.3
* (c) 2010-2017 Google, Inc. https://angular.io/
* License: MIT
*/
import { Compiler, ComponentFactoryResolver, Directive, ElementRef, EventEmitter, Inject, Injector, NgModule, NgZone, ReflectiveInjector, SimpleChange, Testability, Version } from '@angular/core';
import { platformBrows... | snkrishnan1/PivotGridSample | node_modules/@angular/upgrade/@angular/upgrade.js | JavaScript | mit | 64,081 |
package gb
import (
"errors"
"fmt"
"io"
"path/filepath"
"reflect"
"testing"
)
func TestExecuteBuildAction(t *testing.T) {
tests := []struct {
pkg string
err error
}{{
pkg: "a",
err: nil,
}, {
pkg: "b", // actually command
err: nil,
}, {
pkg: "c",
err: nil,
}, {
pkg: "d.v1",
err: nil,
}... | srid/vessel | vendor/src/github.com/constabulary/gb/executor_test.go | GO | mit | 4,139 |
<?php
/**
* @Created By ECMall PhpCacheServer
* @Time:2015-01-23 06:18:10
*/
if(filemtime(__FILE__) + 1800 < time())return false;
return array (
'id' => 5553,
'goods' =>
array (
'goods_id' => '5553',
'store_id' => '132',
'type' => 'material',
'goods_name' => '百枣纲目夹心枣核桃100g',
'd... | guotao2000/ecmall | temp/caches/0496/d282033c16c05294e665c011f6ecac6d.cache.php | PHP | mit | 16,153 |
# Fetching User Objects
Fetching user objects is a simple way to get at specific objects that you know the IDs of or to access all user objects. This does not access objects owned by the application.
If you know more detail about the object you are looking for, but do not know the object ids, you might find it easier... | cloudmine/cloudmine-js | docs/4_Users/6_Objects/2_Fetch.md | Markdown | mit | 2,490 |
<html dir="rtl">
<head>
<title>Testing textpath</title>
<style type="text/css">
@import "../../../../../dojo/resources/dojo.css";
@import "../../../../../dijit/tests/css/dijitTests.css";
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src=".... | synico/springframework | lobtool/src/main/webapp/resources/javascript/dojox/gfx/tests/_gfxBidiSupport/canvas/test_SurfaceGroupCanvas.html | HTML | mit | 8,471 |
/**
* The MIT License
*
* Copyright (c) 2019, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, includi... | benas/jPopulator | easy-random-core/src/test/java/org/jeasy/random/FieldExclusionTest.java | Java | mit | 16,362 |
__all__ = []
import pkgutil
import inspect
# http://stackoverflow.com/questions/22209564/python-qualified-import-all-in-package
for loader, name, is_pkg in pkgutil.walk_packages(__path__):
module = loader.find_module(name).load_module(name)
for name, value in inspect.getmembers(module):
if name.start... | pawl/CalendarAdmin | application/views/__init__.py | Python | mit | 416 |
/******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2015-2018 Baldur Karlsson
* Copyright (c) 2014 Crytek
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (t... | etnlGD/renderdoc | renderdoc/driver/gl/wrappers/gl_buffer_funcs.cpp | C++ | mit | 180,105 |
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System;
using System.Diagnostics.CodeAnalysis;
using Sys... | vbfox/pinvoke | src/Hid/Hid.Helpers.cs | C# | mit | 5,014 |
#!/bin/sh
java -jar sprint0.jar | CSC301H-Fall2013/ultrasound-in-remote-maternal-healthcare | sprints/sprint0/runSprint0.sh | Shell | mit | 31 |
var searchData=
[
['player',['player',['../classplayer.html#a4c43d838817775e2a2b0241d30de4abc',1,'player']]]
];
| gawag/Spooky-Urho-Sample | doxygen/html/search/functions_6.js | JavaScript | mit | 114 |
//
// Copyright (c) .NET Foundation and Contributors
// See LICENSE file in the project root for full license information.
//
using System;
namespace nanoFramework.Tools.Debugger.Usb
{
// This class is kept here for reference only.
// It was to provide backwards compatibility with NETMF WinUSB devices of v4.... | nanoframework/nf-debugger | nanoFramework.Tools.DebugLibrary.Shared/SupportedUSBDevices/STM_Discovery4.cs | C# | mit | 1,181 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.