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 |
|---|---|---|---|---|---|
// Type definitions for @ag-grid-community/core v25.0.1
// Project: http://www.ag-grid.com/
// Definitions by: Niall Crosby <https://github.com/ag-grid/>
export interface XmlElement {
name: string;
properties?: XmlAttributes;
children?: XmlElement[];
textNode?: string | null;
}
export interface HeaderEl... | ceolter/angular-grid | community-modules/core/dist/es6/interfaces/iXmlFactory.d.ts | TypeScript | mit | 619 |
const express = require("express");
const getApp = () => {
const app = express();
return app;
};
module.exports = { getApp }; | TelerikAcademy/Slice-and-Dice | Topics/12. SPA-app-architecture-Live-Demo/src/app/application.js | JavaScript | mit | 135 |
-- SETTINGS
SET @iTypeOrder = (SELECT MAX(`order`) FROM `sys_options_types` WHERE `group` = 'modules');
INSERT INTO `sys_options_types`(`group`, `name`, `caption`, `icon`, `order`) VALUES
('modules', 'bx_spaces', '_bx_spaces', 'bx_spaces@modules/boonex/spaces/|std-icon.svg', IF(ISNULL(@iTypeOrder), 1, @iTypeOrd... | unaio/una | modules/boonex/spaces/updates/9.0.5_10.0.0/source/install/sql/enable.sql | SQL | mit | 60,917 |
// Copyright (c) 2012 Ecma International. All rights reserved.
// Ecma International makes this code available under the terms and conditions set
// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
// "Use Terms"). Any redistribution of this code must retain the above
// copyright and this n... | PiotrDabkowski/Js2Py | tests/test_cases/language/expressions/compound-assignment/11.13.2-11-s.js | JavaScript | mit | 853 |
<ion-view view-title="Dashboard">
<ion-content class="padding">
<div class="list foot">
<img width="100%" height="auto" src="img/logo.png">
<form ng-submit="doLogin()">
<label class="item item-input item-floating-label">
<span class="input-label"... | Otsimo/Child | www/templates/login.html | HTML | mit | 1,019 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<?php require_once("globals.php"); ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php $page_title = "Rates"; require_once("meta.php"); ?>
</head>
<body>
<div id="logo">
<?php require_once("header.... | JayWalker512/brandonfoltz.com | rates.php | PHP | mit | 2,846 |
import { Direction } from "./Direction";
function printValue(direction: Direction): void {
if (direction === Direction.Horizontal) {
console.log("Horizontal.");
} else if (direction === Direction.Vertical) {
console.log("Vertical.");
} else {
console.log("Unknown...");
}
}
prin... | general-language-syntax/GLS | test/end-to-end/Enums/TypeScript/index.ts | TypeScript | mit | 494 |
'use strict';
var baseDir = 'client';
module.exports = {
//This is the list of file patterns to load into the browser during testing.
files: [
baseDir + '/src/vendor/angular/angular.js',
baseDir + '/src/vendor/angular-mocks/angular-mocks.js',
baseDir + '/src/vendor/angular-ui-router/release/angular-u... | grengojbo/grengojbo-skeleton | config/karma.config.js | JavaScript | mit | 1,087 |
package com.megster.cordova;
import android.app.Activity;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Handler;
import ... | rafaelpradella/hortalize | hortalizeApp/plugins/cordova-plugin-bluetooth-serial/src/android/com/megster/cordova/BluetoothSerial.java | Java | mit | 15,882 |
"""
NBConvert Preprocessor for sanitizing HTML rendering of notebooks.
"""
from bleach import (
ALLOWED_ATTRIBUTES,
ALLOWED_STYLES,
ALLOWED_TAGS,
clean,
)
from traitlets import (
Any,
Bool,
List,
Set,
Unicode,
)
from .base import Preprocessor
class SanitizeHTML(Preprocessor):
... | sserrot/champion_relationships | venv/Lib/site-packages/nbconvert/preprocessors/sanitize.py | Python | mit | 4,070 |
---
title: Work
permalink: /work/
description: |
I work primarly as a software developer. I also work in the community as an
educator of Afrocentric history whilst studying childhood education.
masthead:
image: pages/work.jpeg
---
<p class="lead f2 tracked-tight lh-copy">
I am a <strong>full-stack software engi... | jalcine/website | src/pages/work/home.html | HTML | mit | 2,515 |
//>>built
define({previousMessage:"Alegeri anterioare",nextMessage:"Mai multe alegeri"}); | ycabon/presentations | 2020-devsummit/arcgis-js-api-road-ahead/js-api/dijit/form/nls/ro/ComboBox.js | JavaScript | mit | 89 |
NOMINET EPP IMPLEMENTATION
==========================
[](https://travis-ci.org/SCLInternet/SclNominetEpp)
Introduction
------------
This is Zend Framework 2 ready module which provides an interface to Nominet's
EPP management API.
Ins... | adamjimenez/SclNominetEpp | README.md | Markdown | mit | 531 |
<?php
declare(strict_types=1);
/**
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files m... | ndm2/cakephp | src/Error/Debug/ConsoleFormatter.php | PHP | mit | 7,785 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------... | daryllabar/XrmUnitTest | DLaB.Xrm.Entities/msdyn_bpf_989e9b1857e24af18787d5143b67523b.cs | C# | mit | 38,051 |
/**
Core Front-end Styling for Aqua Page Builder
Themes should include their own styling for the blocks.
That includes for responsive design etc, please don't
ask me to add that for you. I hate responsive designs
DO NOT EDIT THIS
**/
/** MISC **/
.cf:after {
visibility: hidden;
display: block;
font-size: 0... | purgesoftwares/purges | frontend/wp-content/themes/circleflip/creiden-framework/content-builder/assets/css/aqpb-view.css | CSS | mit | 14,864 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition.Primitives;
using System.Dia... | fgreinacher/corefx | src/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Hosting/ExportProvider.cs | C# | mit | 11,597 |
describe 'declared property classes' do
describe Neo4j::Shared::DeclaredProperty do
before do
clazz = Class.new do
def primitive_type; end
end
stub_const('MyTypeCaster', clazz)
end
let(:clazz) { Neo4j::Shared::DeclaredProperty }
describe Neo4j::Shared::DeclaredProperty do
... | veetow/neo4j | spec/e2e/property_management_spec.rb | Ruby | mit | 6,410 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script type="text/javascript" src="../src/jquery.fb.albumbrowser.js"></script>
<link rel="stylesheet"... | dejanstojanovic/Facebook-Album-Browser | samples/sample-only-albums.html | HTML | mit | 2,238 |
// The MIT License
//
// Copyright (c) 2013 Jordan E. Terrell
//
// 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
// t... | bbiwer/iSynaptic.Core | src/iSynaptic.Core.Serialization/PrivateSetterAwareContractResolver.cs | C# | mit | 1,963 |
#region Copyright Simple Injector Contributors
/* The Simple Injector is an easy-to-use Inversion of Control library for .NET
*
* Copyright (c) 2013-2015 Simple Injector Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation... | jamesqo/SimpleInjector | SimpleInjector/Lifestyles/ExpressionRegistration.cs | C# | mit | 3,190 |
\definecolor{blue}{RGB}{41,5,195}
\makeatletter
\hypersetup{
%pagebackref=true,
pdftitle={\@title},
pdfauthor={\@author},
pdfsubject={\imprimirpreambulo},
pdfcreator={LaTeX with abnTeX2},
pdfkeywords={abnt}{latex}{abntex}{abntex2}{trabalho acadêmico},
colorlinks=true, % false: boxed link... | aldarionsevero/verivarlrels | rel1/fixos/setup.tex | TeX | mit | 637 |
<hr class="c-divider"> | wangjinisda/react-webpack-babel-starter | src/resources/external_artifacts/MWF_1.6.0/core/templates/components/divider/report/index.html | HTML | mit | 22 |
/*++
Module:
@file stringlib.h
Abstract:
@author Joe N. Turner <joe@agavemountain.com>
Copyright (C) 2008 Agave Mountain, Inc.; All right reserved.
*/
/*! \mainpage
Welcome to the C++ String Utility Library
<table>
<tr><th>Library <td>String utility shared library
<tr><th>Auth... | dblalock/SnapE | External/stringlib-read-only/stringlib/include/stringlib.h | C | mit | 1,321 |
# The set of languages for which implicit dependencies are needed:
SET(CMAKE_DEPENDS_LANGUAGES
)
# The set of files for implicit dependencies of each language:
# Preprocessor definitions for this target.
SET(CMAKE_TARGET_DEFINITIONS
"GETTEXT_PACKAGE=\"02_getting_an_image_on_the_screen\""
"LOCALE_DIR=\"/usr/local... | darkoverlordofdata/sdl2-vala-valama | 03_event_driven_programming/build/CMakeFiles/ui_copy_02_getting_an_image_on_the_screen.dir/DependInfo.cmake | CMake | mit | 1,054 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Immutable;
using System.Diagnostics;
using System.Reflection.Metadata.Ecma335;
namespace System.Reflection.Metadata
{
public struct TypeDe... | FiveTimesTheFun/corefx | src/System.Reflection.Metadata/src/System/Reflection/Metadata/TypeDefinition.cs | C# | mit | 8,768 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
namespace Dnn.PersonaBar.Recyclebin.Components.Prompt.Commands
{
using Dnn.PersonaBar.Library.Prompt;
us... | nvisionative/Dnn.Platform | Dnn.AdminExperience/Dnn.PersonaBar.Extensions/Components/Recyclebin/Prompt/Commands/RestoreUser.cs | C# | mit | 2,473 |
/**
* ### Attention please: we don't need the Node Type[folder,leaf], when we use horizontalTree --Anjing
*/
(function ($) {
var thisTool = Dolphin;
function HORIZONTAL_TREE(param) {
this.init(param);
if (this.opts.data) {
this.loadData(this.opts.data);
} else if (this.op... | lufing/breezee | breezee-site/public/dolphin/js/horizontalTree.js | JavaScript | mit | 11,781 |
using System;
namespace Installer.Exceptions
{
public class DeleteFileException
: FileIoException
{
public DeleteFileException(string fileName, string sourceFolder, Exception innerException)
: base(string.Format("Could not delete '{0}' from '{1}': {2}",
fileName,
... | Kittyfisto/Tailviewer | src/Installer/Exceptions/DeleteFileException.cs | C# | mit | 416 |
using NetDist.Core;
using System;
namespace WpfServerAdmin.ViewModels
{
public class LogEntryViewModel
{
public string Message { get; set; }
public DateTime Timestamp { get; set; }
public string LogLevel { get; set; }
public LogEntryViewModel(LogInfoEntry logEntry)
{
... | yUnoSTAHP/NetDist | src/WpfServerAdmin/ViewModels/LogEntryViewModel.cs | C# | mit | 461 |
#include "LogFunction.h"
#include <QThread>
#include <QVariant>
#include "../eirBase/Severity.h"
#include "Log.h"
#include "LogItem.h"
QList<QThread *> LogFunction::depth_threadList;
LogFunction::LogFunction(const bool slot,
const QString & file,
const int line,
... | eirTony/INDI1 | src4/static/INDI2/oldEIRlibs/eirExe/LogFunction.cpp | C++ | mit | 4,040 |
<?php
/* 商品咨询管理控制器 */
class My_qaApp extends StoreadminbaseApp
{
var $my_qa_mod;
function __construct()
{
$this->My_qaApp();
}
function My_qaApp()
{
parent::__construct();
$this->my_qa_mod = & m('goodsqa');
}
function index()
{
//dump($_SESSION['user_i... | kitboy/docker-shop | html/ecmall/upload/app/my_qa.app.php | PHP | mit | 10,019 |
/*!
* mifmi-commons4j
* https://github.com/mifmi/mifmi-commons4j
*
* Copyright (c) 2016 mifmi.org and other contributors
* Released under the MIT license
* https://opensource.org/licenses/MIT
*/
package org.mifmi.commons4j.swing;
import java.awt.Component;
import java.awt.Container;
import java.awt.Graphics;
im... | mifmi/mifmi-commons-java | src/main/java/org/mifmi/commons4j/swing/AdjustableImageIcon.java | Java | mit | 2,282 |
<?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\Nikon;
use JMS\Serializer\Annotation\ExclusionPolicy;... | bburnichon/PHPExiftool | lib/PHPExiftool/Driver/Tag/Nikon/ExposureProgram.php | PHP | mit | 1,736 |
# Acknowledgements
This application makes use of the following third party libraries:
## OpenShop
Copyright (c) 2016 Jakub Długosz <dlugosz.jakub@gmail.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 th... | SMTOpenSource/OpenShop | Example/Pods/Target Support Files/Pods-OpenShop_TV_Example/Pods-OpenShop_TV_Example-acknowledgements.markdown | Markdown | mit | 1,232 |
<?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\Qualcomm;
use JMS\Serializer\Annotation\ExclusionPoli... | bburnichon/PHPExiftool | lib/PHPExiftool/Driver/Tag/Qualcomm/AFNearEnd.php | PHP | mit | 839 |
<?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\CanonRaw;
use JMS\Serializer\Annotation\ExclusionPoli... | bburnichon/PHPExiftool | lib/PHPExiftool/Driver/Tag/CanonRaw/CompressedDataLength.php | PHP | mit | 873 |
#!/bin/sh
WORK_DIR=/tmp
BIN_DIR=/usr/local/bin
arch() {
ARCH=$(uname -m)
case $ARCH in
x86_64) ARCH=amd64;;
esac
}
os() {
OS=$(uname -s | tr '[:upper:]' '[:lower:]')
}
download() {
LATEST_RELEASE_JSON="https://api.github.com/repos/malfunkt/hyperfox/releases/latest"
DOWNLOAD_URL=$(curl --silent -L $L... | malfunkt/hyperfox | install.sh | Shell | mit | 1,476 |
using Entitas;
public interface IEnemyWeaponAction {
void Execute(Entity entity, EnemyModel component);
}
| kicholen/GamePrototype | Assets/EditorScript/View/Enemy/Executor/Weapon/IEnemyWeaponAction.cs | C# | mit | 119 |
/**
* Visual Blocks Language
*
* Copyright 2012 Google Inc.
* http://blockly.googlecode.com/
*
* Licensed under the Apache License, Version 2.0 (the "License")';
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LI... | satgod/appinventor | appinventor/blocklyeditor/src/msg/zh_tw/_messages.js | JavaScript | mit | 93,979 |
<html>
<META HTTP-EQUIV=Content-Type Content="text/html; charset=big5">
<!-- Mirrored from lis.ly.gov.tw/lghtml/lawstat/version2/02547/02547101122500.htm by HTTrack Website Copier/3.x [XR&CO'2010], Sun, 24 Mar 2013 09:20:01 GMT -->
<head><title>ªk½s¸¹:02547 ª©¥»:101122500</title>
<link rel="stylesheet" type="text/css"... | g0v/laweasyread-data | rawdata/lawstat/version2/02547/02547101122500.html | HTML | mit | 32,568 |
/* Copyright (c) 2008-2015 Dovecot authors, see the included COPYING redis */
#include "lib.h"
#include "array.h"
#include "str.h"
#include "istream.h"
#include "ostream.h"
#include "connection.h"
#include "dict-private.h"
#define REDIS_DEFAULT_PORT 6379
#define REDIS_DEFAULT_LOOKUP_TIMEOUT_MSECS (1000*30)
#define DI... | LTD-Beget/dovecot | src/lib-dict/dict-redis.c | C | mit | 21,324 |
//
// Created by Austin on 1/21/2016.
//
#ifndef GAMEBOYEMULATOR_NETWORK_HPP
#define GAMEBOYEMULATOR_NETWORK_HPP
// SFML
#include <SFML/Audio.hpp>
#include <SFML/Graphics.hpp>
#include <SFML/Network.hpp>
#include <SFML/System.hpp>
#include <unordered_map>
#include <cstdlib>
#include <iostream>
#include <ctime>
#incl... | Salgat/PokeSynch | src/Network.hpp | C++ | mit | 5,344 |
// JOOS1:TYPE_CHECKING,INSTANTIATE_ABSTRACT_CLASS
// JOOS2:TYPE_CHECKING,INSTANTIATE_ABSTRACT_CLASS
// JAVAC:UNKNOWN
//
/**
* Typecheck:
* - The type in a class instance creation expression must be a
* non-abstract class.
*/
public class Je_6_InstantiateAbstract {
public Je_6_InstantiateAbstract () {}
pu... | gregwym/joos-compiler-java | testcases/a3/Je_6_InstantiateAbstract.java | Java | mit | 393 |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | joaomoreno/vscode | build/gulpfile.hygiene.js | JavaScript | mit | 11,309 |
class Solution:
def containVirus(self, grid: List[List[int]]) -> int:
current_set_number = 1
grid_set = [[0 for i in range(len(grid[0]))] for j in range(len(grid))]
set_grid = {}
threaten = {}
def getAdjacentCellsSet(row, col) -> List[int]:
answer = []
... | jianjunz/online-judge-solutions | leetcode/0750-contain-virus.py | Python | mit | 5,673 |
//TODO: encapsulate back to private function when card design is done
//typical sizes:
/*
portrait:
iPhone 4,5 375px
iPhone 6 320px
iPhone 6+ 414px
Galaxy S3 360px
landscape:
iPhone 4 480px
iPhone 5 568px
iPhone 6 667px (574px container)
iPhone 6+ ... | Restuta/rcn.io | src/client/styles/grid.js | JavaScript | mit | 2,303 |
package geeksforgeeks;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Random;
import java.util.Scanner;
/*
* http://www.geeksforgeeks.org/amazon-interview-set-8-2/
* Given an array. Iterate it for the given number of times. And then return t... | darshanhs90/Java-Coding | src/geeksforgeeks/_01AmazonInterview_09_02.java | Java | mit | 2,130 |
class Solution(object):
def validWordSquare(self, words):
"""
:type words: List[str]
:rtype: bool
"""
if words is None or len(words) == 0:
return True
ls = len(words)
for i in range(ls):
for j in range(1, len(words[i])):
... | qiyuangong/leetcode | python/422_Valid_Word_Square.py | Python | mit | 805 |
package net.fortytwo.smsn.brain.model.entities;
public interface Entity {
void destroy();
}
| joshsh/extendo | brain/src/main/java/net/fortytwo/smsn/brain/model/entities/Entity.java | Java | mit | 97 |
package com.qkyrie.markdown2pdf.internal.exceptions;
/**
* User: Quinten
* Date: 31-3-2014
* Time: 16:50
*
* @author Quinten De Swaef
*/
public class Markdown2PdfLogicException extends Exception {
public static final Markdown2PdfLogicException LOGIC_SETUP_READER = new Markdown2PdfLogicException("Markdown2Pd... | eamonfoy/trello-to-markdown | src/main/java/com/qkyrie/markdown2pdf/internal/exceptions/Markdown2PdfLogicException.java | Java | mit | 1,116 |
---
page_type: sample
languages:
- csharp
products:
- windows
- windows-uwp
urlFragment: BasicSuspension
extendedZipContent:
- path: SharedContent
target: SharedContent
- path: LICENSE
target: LICENSE
description: "Shows how to suspend, shut down and resume your application using the Suspension Manager."
---
<!---... | japf/Windows-universal-samples | Samples/BasicSuspension/README.md | Markdown | mit | 3,435 |
#!/usr/bin/env ruby
require 'rubygems'
require 'thin'
require File.expand_path(File.dirname(__FILE__) + '/../lib/libwebsocket')
# This is required due to thin incompatibility with streamming of data
module ThinExtension
def self.included(thin_conn)
thin_conn.class_eval do
alias :pre_process_without_webs... | Jarob22/sc2_app_fyp_backend | vendor/bundle/ruby/1.9.1/gems/libwebsocket-0.1.5/examples/thin_server.rb | Ruby | mit | 1,552 |
# coding=utf-8
"""
The NfsCollector collects nfs utilization metrics using /proc/net/rpc/nfs.
#### Dependencies
* /proc/net/rpc/nfs
"""
import diamond.collector
import os
class NfsCollector(diamond.collector.Collector):
PROC = '/proc/net/rpc/nfs'
def get_default_config_help(self):
config_help ... | datafiniti/Diamond | src/collectors/nfs/nfs.py | Python | mit | 8,613 |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | rick111111/vscode | src/vs/workbench/browser/actions/toggleSidebarVisibility.ts | TypeScript | mit | 1,610 |
<?php
/**
* FacebookPhoto module helper.
*
* @package sf_sandbox
* @subpackage FacebookPhoto
* @author Your name here
* @version SVN: $Id: helper.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
*/
class FacebookPhotoGeneratorHelper extends BaseFacebookPhotoGeneratorHelper
{
}
| phpchap/symfony14-beauty-salon | apps/backend/modules/FacebookPhoto/lib/FacebookPhotoGeneratorHelper.class.php | PHP | mit | 295 |
using System;
using HydrantWiki.Library.Helpers;
using TreeGecko.Library.Geospatial.Objects;
namespace HydrantWiki.Library.Objects
{
public class TagRow
{
private Guid? m_ImageGuid;
public TagRow()
{
}
public TagRow(Tag _tag)
{
UserGuid = _tag.Use... | hydrantwiki/hwMobileAPI | src/hwDataLibrary/Objects/TagRow.cs | C# | mit | 2,398 |
// -------------------------------------------------------------------------- \\
// File: Transform.js \\
// Module: Foundation \\
// Author: Neil Jenkins ... | adityab/overture | source/Overture/foundation/Transform.js | JavaScript | mit | 3,785 |
# This file is part of Indico.
# Copyright (C) 2002 - 2019 CERN
#
# Indico is free software; you can redistribute it and/or
# modify it under the terms of the MIT License; see the
# LICENSE file for more details.
from __future__ import unicode_literals
from sqlalchemy.ext.declarative import declared_attr
from indico... | mvidalgarcia/indico | indico/modules/events/sessions/models/types.py | Python | mit | 1,690 |
require 'opal'
require 'rack'
require 'webrick'
require 'mspec/opal/special_calls'
module MSpec
module Opal
DEFAULT_BASEDIR = 'spec'
require 'rake'
require 'rake/tasklib'
class RakeTask < ::Rake::TaskLib
include ::Rake::DSL if defined?(::Rake::DSL)
def initialize(name, &task_block)
... | Ajedi32/opal | lib/mspec/opal/rake_task.rb | Ruby | mit | 6,677 |
"""
Minimal example showing the use of the AutoCompleteMode.
"""
import logging
logging.basicConfig(level=logging.DEBUG)
import sys
from pyqode.qt import QtWidgets
from pyqode.core.api import CodeEdit
from pyqode.core.backend import server
from pyqode.core.modes import RightMarginMode
if __name__ == '__main__':
... | zwadar/pyqode.core | examples/modes/right_margin.py | Python | mit | 640 |
using System;
using Raksha.Crypto.Parameters;
using Raksha.Crypto.Utilities;
namespace Raksha.Crypto.Engines
{
/**
* A class that provides CAST key encryption operations,
* such as encoding data and generating keys.
*
* All the algorithms herein are from the Internet RFC's
*
* RFC2144 - Cas... | Everbytes/Raksha | src/Raksha.Shared/Crypto/Engines/Cast5Engine.cs | C# | mit | 45,202 |
// ******************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THE CODE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILI... | bkaankose/UWPCommunityToolkit | Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/BooleanNode.cs | C# | mit | 5,484 |
(function(){
var worker = new ProtocolWorker('web+profile');
navigator.webProfile = {
registerProvider: function(name, uri){
navigator.registerProtocolHandler('web+profile', uri + '?%s', name);
},
getID: function(){
return worker.request({ action: 'get:id' }).then(function(response){
... | Web-Profile/prollyfills | navigator.webProfile.js | JavaScript | mit | 1,183 |
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html'
})
export class AppComponent {
employeesSource: any =
{
datatype: 'xml',
datafields: [
{ name: 'FirstName', type: 'string' },
{ name: 'LastName', t... | juannelisalde/holter | assets/jqwidgets/demos/angular/app/grid/foreignkeycolumn/app.component.ts | TypeScript | mit | 2,990 |
using System.Web.Mvc;
using System.Web.Routing;
namespace CodeCamper.Web
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
//PAPA: Commented this out because we wont be using MVC v... | cmcginn/CodeCamper | CodeCamper.Web/App_Start/RouteConfig.cs | C# | mit | 582 |
//
// UploadService.cs
//
// Author:
// Ventsislav Mladenov <vmladenov.mladenov@gmail.com>
//
// Copyright (c) 2013 Ventsislav Mladenov
//
// 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 Soft... | kentkost/monodevelop-tfs-addin | MonoDevelop.VersionControl.TFS/Microsoft.TeamFoundation.VersionControl.Client/UploadService.cs | C# | mit | 9,777 |
define([
'jquery',
'find/app/util/database-name-resolver'
], function($, databaseNameResolver) {
return {
/**
* Get the view document URL for a document in a text index.
* @param {String} reference
* @param {String} model
* @param {Boolean} highlightExpressions
... | hpe-idol/find | webapp/core/src/main/public/static/js/find/app/util/view-server-client.js | JavaScript | mit | 1,221 |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace Auth0.Owin
{
internal static class HttpUtilities
{
internal static NameValueCollection ParseQueryStrin... | auth0/auth0-aspnet-owin | src/Auth0.Owin/HttpUtilities.cs | C# | mit | 926 |
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
## Table Of Contents
- [Testing](#testing)
- [Event Handlers - Part 1](#event-handlers---part-1)
- [Event Handlers - Part 2](#event-handlers---part-2)
- [Subscription Hand... | richardharrington/re-frame | docs/Testing.md | Markdown | mit | 8,859 |
<?php
namespace Tests\Integration;
use App\Article;
use App\Tag;
use Tests\TestCase;
class ManyToManyTest extends TestCase
{
/**
* @var Article
*/
protected $article;
/**
* @var Tag
*/
protected $tag;
/**
* Seed with a tag and article
*
* @return void
*/
... | SomosAMambo/decoy | tests/Integration/ManyToManyTest.php | PHP | mit | 4,051 |
// Copyright (C) 2014 Andrzej Krzemienski.
//
// Use, modification, and distribution is subject to 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)
//
// See http://www.boost.org/lib/optional for documentation.
//
// You are welcome t... | davehorton/drachtio-server | deps/boost_1_77_0/libs/optional/test/optional_test_emplace.cpp | C++ | mit | 8,130 |
<?php
return [
'additional_fields'=> 'Additional Fields',
'category' => 'Categoria Articolo',
'content' => 'Contenuto Articolo',
'details' => 'Dettagli Articolo',
'excerpt' => 'Estratto <small>Piccola descrizione di questo articolo</small>',
'image' ... | the-control-group/voyager | publishable/lang/it/post.php | PHP | mit | 916 |
<!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_26) on Mon Oct 07 06:41:31 UTC 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.hadoop.m... | ashish-17/playback | hadoop-2.2.0/share/doc/hadoop/api/org/apache/hadoop/mapred/class-use/SequenceFileInputFilter.html | HTML | mit | 6,240 |
//Logged in
function checkRestricted (UserService, $q, $location) {
var deferred = $q.defer();
if (UserService.getToken()) {
deferred.resolve();
} else {
deferred.reject();
$location.url('/');
}
return deferred.promise;
}
function checkedLoggedIn (UserService, $q, $location) {
var deferre... | danielfbm/thrift-demo | client/app/scripts/app.js | JavaScript | mit | 1,779 |
import os
import json
from nose.tools import assert_equal
from .project import load_lsdsng
from .utils import temporary_file
SCRIPT_DIR = os.path.abspath(os.path.dirname(__file__))
def _test_load_store_instrument(source_lsdsng, lsdinst_path, original_index):
proj = load_lsdsng(source_lsdsng)
proj.song.instr... | alexras/pylsdj | pylsdj/test_instrument.py | Python | mit | 1,954 |
<html>
<META HTTP-EQUIV=Content-Type Content="text/html; charset=big5">
<!-- Mirrored from lis.ly.gov.tw/lghtml/lawstat/version2/90027/9002761012500.htm by HTTrack Website Copier/3.x [XR&CO'2010], Sun, 24 Mar 2013 09:27:02 GMT -->
<head><title>ªk½s¸¹:90027 ª©¥»:061012500</title>
<link rel="stylesheet" type="text/css" ... | czchen/laweasyread-data | rawdata/lawstat/version2/90027/9002761012500.html | HTML | mit | 8,703 |
---
layout: post
title: 'About Me: Lauren Haldeman'
date: 2015-09-08 15:53:33.000000000 -05:00
type: post
published: true
status: publish
categories:
- Bios
tags: []
meta:
_wpas_done_all: '1'
sharing_disabled: '1'
_rest_api_published: '1'
_rest_api_client_id: '-1'
_publicize_job_id: '14567138500'
geo_public... | wlftn/wlftn.github.io | _posts/2015-09-08-about-me-lauren-haldeman.html | HTML | mit | 1,838 |
#silly_blocks.rb
def reverser
array = yield.split(' ')
array.map! {|word| word.reverse}
array.join(' ')
end
def adder(a = 1)
yield + a
end
def repeater(n = 1)
n.times do
yield
end
end
| nleoutsa/Ruby_TDD | 05_silly_blocks/silly_blocks.rb | Ruby | mit | 197 |
<!DOCTYPE html>
<html lang='en'>
<head>
<title>VPKVeepEditorDelegate Protocol 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></s... | veepionyc/veepionyc.github.io | reference/ios/2/6/3/docsets/VPKit.docset/Contents/Resources/Documents/Protocols/VPKVeepEditorDelegate.html | HTML | mit | 17,750 |
require_relative '../board'
describe Board do
subject(:board) { Board.new(5,3) }
it { is_expected.to respond_to(:row_count).with(0).arguments }
it { is_expected.to respond_to(:column_count).with(0).arguments }
it { is_expected.to respond_to(:get).with(2).arguments }
it { is_expected.to respond_to(:place).wi... | chrisswk/pro-engineering-katas | week-01/specs/board_spec.rb | Ruby | mit | 3,767 |
---
title: Day 33
date: 22:50 07/14/2015
taxonomy:
category: 'Morning Mutty'
tag: [journal]
---
Dear Mutty,
I wrote once this morning but then I accidentally deleted it. No recovery on Facebook...its kind of like you...here one minute, gone the next. Done deal.
===
Today was a good day, Heather. Probably t... | jacknjeanstudios/myempty | user/pages/01.blog/day-thirty-three/item.md | Markdown | mit | 3,410 |
using Expenses.Data.CommunicationModels;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
namespace Expenses.Data
{
[DataContract(Name = "ExpenseReportStatus")]
public enum DbExp... | digitaldrummerj/DeveloperProductivityTalk | ExpensesDemo/Expenses.Data/Models/DbExpenseReport.cs | C# | mit | 2,317 |
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Guido Tack <tack@gecode.org>
*
* Copyright:
* Guido Tack, 2014
*
* Last modified:
* $Date: 2014-11-04 13:28:32 +0100 (Tue, 04 Nov 2014) $ by $Author: schulte $
* $Revision: 14287 $
*
* This file is part... | SaGagnon/gecode-4.4.0-cbs | test/flatzinc/2dpacking.cpp | C++ | mit | 5,171 |
<!DOCTYPE html>
<html>
{% include head.html %}
<body>
{% include nav.html %}
<div id="wrapper" class="divided">
<section class="spotlight style1 orient-left content-align-left image-position-right onscroll-image-fade-in">
<div class="content">
<div id="breadcrumbs">
... | Corneliuscob/UBCEnvision.github.io | _layouts/project.html | HTML | mit | 3,379 |
"""
# A Better Where
WHERE2 is a near-linear time top-down clustering alogithm.
WHERE2 updated an older where with new Python tricks.
## Standard Header Stuff
"""
from __future__ import division,print_function
import sys
sys.dont_write_bytecode = True
from lib import *
from nasa93 import *
"""
## Dimensionali... | rahlk/WarnPlan | warnplan/commons/tools/axe/where2.py | Python | mit | 10,028 |
/**
* The MIT License
*
* Original work sponsored and donated by National Board of e-Health (NSI), Denmark
* (http://www.nsi.dk)
*
* Copyright (C) 2011 National Board of e-Health (NSI), Denmark (http://www.nsi.dk)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this softwa... | trifork/HAIBA-EPIMIBA-classification | src/main/java/dk/nsi/haiba/epimibaimporter/status/TimeSource.java | Java | mit | 1,426 |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
namespace mshtml
{
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[ComImport, InterfaceType((short) 1), Guid("3050F69D... | gduncan411/OpenLiveWriter | src/managed/OpenLiveWriter.Interop.Mshtml/mshtml/IDisplayServices.cs | C# | mit | 2,018 |
XMate
==============
Plugin for Xcode that adds some handy TextMate and Emacs actions to the `Edit` menu. Works in Xcode 5.1 or above.

##Demos
###Select Scope:

###Ace Jump mode:

{
// Name of static method
Console.WriteLine(nameof(Main));
// Name of parameter when creating ArgumentNullException
try
{
var person = new Person(null, null);
}
catch (ArgumentN... | NikolayIT/CSharp-New-Features | CSharp-6.0-New-Features/05. NameofExpressions/Program.cs | C# | mit | 730 |
use {TryRead, TryWrite};
use mio::*;
use mio::deprecated::{EventLoop, Handler};
use mio::deprecated::unix::*;
use bytes::{Buf, ByteBuf, MutByteBuf, SliceBuf};
use slab;
use std::path::PathBuf;
use std::io;
use tempdir::TempDir;
const SERVER: Token = Token(10_000_000);
const CLIENT: Token = Token(10_000_001);
struct E... | mneumann/mio | test/test_unix_echo_server.rs | Rust | mit | 9,602 |
package org.vitrivr.adampro.storage.engine
import java.io.File
import com.databricks.spark.avro._
import org.apache.commons.io.FileUtils
import org.apache.hadoop.conf.Configuration
import org.apache.hadoop.fs.{FileSystem, Path}
import org.apache.spark.sql.{DataFrame, SaveMode}
import org.vitrivr.adampro.config.AdamCo... | dbisUnibas/ADAMpro | src/main/scala/org/vitrivr/adampro/storage/engine/AvroEngine.scala | Scala | mit | 10,001 |
/*
* Copyright (c) 2013 Apple Inc. All rights reserved.
*
* @APPLE_APACHE_LICENSE_HEADER_START@
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses... | e-t-h-a-n/esdarwin | macos-10124/esdarwin-destroot-b1/usr/local/include/os/yield.h | C | mit | 2,486 |
IPython Notebooks
=================
A folder for notebooks demoing things, or for exploring data before
writing it up.
| Cadair/Thesis | notebooks/README.md | Markdown | mit | 120 |
package net.glowstone.block.blocktype;
import net.glowstone.block.GlowBlock;
import net.glowstone.block.GlowBlockState;
import net.glowstone.entity.GlowPlayer;
import org.bukkit.block.BlockFace;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.Vector;
import org.jetbrains.annotations.NotNull;
import java... | GlowstonePlusPlus/GlowstonePlusPlus | src/main/java/net/glowstone/block/blocktype/BlockRails.java | Java | mit | 17,768 |
module.exports={A:{A:{"2":"M D H F A B mB"},B:{"1":"K","2":"C E q L O I J"},C:{"1":"0 1 2 3 4 6 8 9 O I J P Q R S T U V W X Y Z a b c d f g h i j k l m n o p N r s t u v w x y z LB BB CB DB EB FB HB IB JB","2":"5 jB AB G M D H F A eB cB","33":"B C E q L"},D:{"1":"0 1 2 3 4 6 8 9 a b c d f g h i j k l m n o p N r s t u ... | emccosky/emccosky.github.io | node_modules/caniuse-lite/data/features/vibration.js | JavaScript | mit | 952 |
// Copyright 2015 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 git
import (
"bytes"
"container/list"
"errors"
"os"
"path"
"path/filepath"
"strings"
"time"
"github.com/Unknwon/com"
)
// Repository repre... | liliexuan/gogs | vendor/github.com/gogits/git-module/repo.go | GO | mit | 6,511 |
/* ----------------
ResponsiveTabs.js
Author: Pete Love | www.petelove.com
Version: 1.10
------------------- */
var RESPONSIVEUI = {};
(function($) {
RESPONSIVEUI.responsiveTabs = function () {
var $tabSets = $('.responsive-tabs');
if (!$tabSets.hasClass('responsive-tabs--enabled')) { // if we hav... | anniyananeesh/avenirevents | js/assets/responsiveTabs.js | JavaScript | mit | 7,818 |
// Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Diagnostics.Contracts;
using System;
using System.Collections.Generic;
using Perspex.Interactivity;
namespace Perspex.Input
{
/// <summa... | danwalmsley/Perspex | src/Perspex.Input/IInputElement.cs | C# | mit | 4,050 |
const glob = require('glob');
const fs = require('fs');
const path = require('path');
const request = require('request');
const checkedUrls = {
'src/archive/index.php': '',
};
function getUrlContents(url) {
return new Promise(function(resolve, reject) {
request(
url,
{ followRe... | ceolter/angular-grid | grid-packages/ag-grid-docs/link-checker.js | JavaScript | mit | 3,830 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.