code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
package com.xeiam.xchange.anx.v2.account.polling;
import java.io.IOException;
import java.io.InputStream;
import java.math.BigDecimal;
import org.junit.Assert;
import org.junit.Test;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.xeiam.xch... | Achterhoeker/XChange | xchange-anx/src/test/java/com/xeiam/xchange/anx/v2/account/polling/WalletHistoryJSONTest.java | Java | mit | 3,272 |
#ifdef HAVE_WINRT
#define ICustomStreamSink StreamSink
#ifndef __cplusplus_winrt
#define __is_winrt_array(type) (type == ABI::Windows::Foundation::PropertyType::PropertyType_UInt8Array || type == ABI::Windows::Foundation::PropertyType::PropertyType_Int16Array ||\
type == ABI::Windows::Foundation::PropertyType::Pro... | liangfu/dnn | modules/highgui/src/cap_msmf.hpp | C++ | mit | 111,855 |
#money
Node.js module to perform precise common money calculations.
This library is a partial javascript implementation of the [Money Pattern](http://martinfowler.com/eaaCatalog/money.html) as described by Martin Fowler in his book *Patterns of Enterprise Application Architecture*.
## Using the library
```javascrip... | Jautenim/money | README.md | Markdown | mit | 1,530 |
angular.module('starter.controllers', [])
// A simple controller that fetches a list of data from a service
.controller('PetIndexCtrl', function($scope, PetService) {
// "Pets" is a service returning mock data (services.js)
$scope.pets = PetService.all();
})
// A simple controller that shows a tapped item's dat... | robwormald/favor-app | www/js/controllers.js | JavaScript | mit | 899 |
<html lang="en">
<head>
<title>Native - Debugging with GDB</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Debugging with GDB">
<meta name="generator" content="makeinfo 4.11">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Configurations.html#Con... | trfiladelfo/tdk | gcc-arm-none-eabi/share/doc/gcc-arm-none-eabi/html/gdb/Native.html | HTML | mit | 3,000 |
//
// FXCachePlist.h
// FancyMall
//
// Created by fancy on 16/1/14.
// Copyright © 2016年 FancyMall. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface FXCachePlist : NSObject
+(instancetype)sharedPlist;
-(NSString *)needRemoveFileName;
-(void)dataForDataArrayWithUrl:(NSString *)url withMark:... | STT-Ocean/FXWebViewCache | FXWebViewCache/FXCachePlist.h | C | mit | 616 |
// Copyright 2011, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condition... | hems/-labs | examples/audio/lib/wavetable.js | JavaScript | mit | 8,974 |
/**
* Created by maomao on 2020/4/20.
*/
Java.perform(function() {
var cn = "android.telephony.SubscriptionManager";
var target = Java.use(cn);
if (target) {
target.addOnSubscriptionsChangedListener.overloads[0].implementation = function(dest) {
var myArray=new Array()
myAr... | honeynet/droidbot | droidbot/resources/scripts/telephony/SubscriptionManager.js | JavaScript | mit | 3,831 |
#!/bin/bash
FN="HsAgilentDesign026652.db_3.2.3.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.11/data/annotation/src/contrib/HsAgilentDesign026652.db_3.2.3.tar.gz"
"https://bioarchive.galaxyproject.org/HsAgilentDesign026652.db_3.2.3.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-hsagilentdesi... | roryk/recipes | recipes/bioconductor-hsagilentdesign026652.db/post-link.sh | Shell | mit | 1,510 |
#import <UIKit/UIKit.h>
#import "OLCVideoPlayer.h"
FOUNDATION_EXPORT double OLCVideoPlayerVersionNumber;
FOUNDATION_EXPORT const unsigned char OLCVideoPlayerVersionString[];
| LakithaRav/OLCVideoPlayer | Example/Pods/Target Support Files/Pods-OLCVideoPlayer_Tests-OLCVideoPlayer/Pods-OLCVideoPlayer_Tests-OLCVideoPlayer-umbrella.h | C | mit | 177 |
"use strict";
const chalk = require("chalk");
const readline = require("readline");
/**
* Fill screen with blank lines, move to "0" afterwards and clear screen afterwards.
* Note that it is still possible to "scroll back" afterwards.
*
* Function performs nothing in case the stdout is NOT a TTY.
*/
exports.cls =... | DorianGrey/ng2-webpack-template | scripts/util/formatUtil.js | JavaScript | mit | 1,001 |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/><!-- using block title in layout.dt--><!-- using block ddox.defs in ddox.layout.dt--><!-- using block ddox.title in ddox.layout.dt-->
<title>Method AssetAnimation.convertVectorArray</title>
<link rel="stylesheet" type="text/css" href="../../styles/ddox.css"/>... | Circular-Studios/Dash-Docs | api/v0.7.1/components/animation/AssetAnimation.convertVectorArray.html | HTML | mit | 8,388 |
module Locomotive
class SitePolicy < ApplicationPolicy
class Scope < Scope
def resolve
if membership.account.super_admin?
scope.all
else
membership.account.sites
end
end
end
def index?
true
end
def show?
true
end
def... | slavajacobson/engine | app/policies/locomotive/site_policy.rb | Ruby | mit | 1,128 |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import time
import string
import json
import config
import helper
import busses
def log_message(msg):
#log format: time type message
time_str = str(time.time())
line = time_str[:time_str.find(".")]
line = line.rjust(10, str(" "))
li... | Pixdigit/Saufbot | logger.py | Python | mit | 1,904 |
<div layout="vertical">
<md-sidenav class="md-sidenav-left md-whiteframe-z2"
md-component-id="left"
md-is-locked-open="$mdMedia('gt-sm')">
<md-toolbar>
<h1>Characters</h1>
</md-toolbar>
<char-list></char-list>
</md-sidenav>
</div> | iwatts/iwatts.github.io | fb/sidenav/sidenav.template.html | HTML | mit | 306 |
public class LeetCode0363 {
public int maxSumSubmatrix(int[][] matrix, int k) {
int m = matrix.length, n = matrix[0].length, ans = Integer.MIN_VALUE;
long[] sum = new long[m + 1];
for (int i = 0; i < n; ++i) {
long[] sumInRow = new long[m];
for (int j = i; j < n; ++j) {
for (int p = 0; p < m; ++p) {
... | dunso/algorithm | Java/Devide/LeetCode0363.java | Java | mit | 1,278 |
<?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/FilmBoxContentSequence.php | PHP | mit | 820 |
<?php
namespace Cascade\Mapper\Map;
use Cascade\Mapper\Mapping\MappingInterface;
class Map implements MapInterface
{
/**
* @var MappingInterface[]
*/
private $mappings = [];
/**
* @param MappingInterface[] $mappings
*/
public function __construct($mappings)
{
foreach ... | cascademedia/php-object-mapper | src/Map/Map.php | PHP | mit | 650 |
# Cisco Spark React Audio Component _(@ciscospark/react-component-audio)_
## WARNING
We renamed this module to [@webex/react-component-audio](https://www.npmjs.com/package/@webex/react-component-audio). Please install it instead.
## License
© 2016-2020 Cisco and/or its affiliates. All Rights Reserved.
| adamweeks/react-ciscospark-1 | packages/node_modules/@ciscospark/react-component-audio/README.md | Markdown | mit | 308 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import time
import numpy as np
import matplotlib
matplotlib.use('GTKAgg')
from matplotlib import pyplot as plt
from koheron import connect
from drivers import Spectrum
from drivers import Laser
host = os.getenv('HOST','192.168.1.100')
client = connect(host, nam... | Koheron/lase | examples/spectrum_analyzer.py | Python | mit | 1,482 |
const assert = require('assert')
const crypto = require('crypto')
const { createRequest } = require("../util/util")
describe('测试搜索是否正常', () => {
it('获取到的数据的 name 应该和搜索关键词一致', done => {
const keywords = "海阔天空"
const type = 1
const limit = 30
const data = 's=' + keywords + '&limit=' + limit + '&type=' ... | linguokang/NeteaseCloudMusic | test/search.test.js | JavaScript | mit | 692 |
<footer class="site-footer">
<div class="container">
<small class="pull-right">Made with <a href="http://jekyllrb.com/" target="_blank">Jekyll</a></small>
</div>
</footer>
| bkzhang/bkzhang.github.io | _includes/footer.html | HTML | mit | 180 |
<!DOCTYPE html>
<html>
{% include head.html %}
<body>
{%include banner.html%}
{%include middle.html%}
<!-- <script src="{{ site.baseurl }}/js/index.js"></script> -->
</body>
<footer></footer>
</html>
| huangyuanyazi/huangyuanyazi.github.io | _layouts/show.html | HTML | mit | 215 |
export default function collapseDuplicateDeclarations() {
return (root) => {
root.walkRules((node) => {
let seen = new Map()
let droppable = new Set([])
node.walkDecls((decl) => {
// This could happen if we have nested selectors. In that case the
// parent will loop over all its... | tailwindcss/tailwindcss | src/lib/collapseDuplicateDeclarations.js | JavaScript | mit | 742 |
module.exports = {
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"jasmine" : true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
},
"rules": {
"no-mixed-spaces-and-tabs": [2, "smart-tabs"],
"linebre... | raavr/angularjs-todo-webpack | .eslintrc.js | JavaScript | mit | 536 |
import * as debug from 'debug';
import Resolver from '../../resolver';
import { IRemoteUser } from '../../../../models/user';
import acceptFollow from './follow';
import { IAccept, IFollow } from '../../type';
const log = debug('misskey:activitypub');
export default async (actor: IRemoteUser, activity: IAccept): Pro... | ha-dai/Misskey | src/remote/activitypub/kernel/accept/index.ts | TypeScript | mit | 744 |
version https://git-lfs.github.com/spec/v1
oid sha256:42fcecf8fdabe110af986ac81bb56b598f5a3fa59c6d0c4cc8b80daa2dca0473
size 1121
| yogeshsaroya/new-cdnjs | ajax/libs/dojo/1.4.6/_base/_loader/hostenv_spidermonkey.js | JavaScript | mit | 129 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Function template make_managed_shared_ptr</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="../../in... | rkq/cxxexp | third-party/src/boost_1_56_0/doc/html/boost/interprocess/make_managed_s_idp50540304.html | HTML | mit | 5,203 |
/**
\brief A timer module with only a single compare value. Can be used to replace
the "bsp_timer" and "radiotimer" modules with the help of abstimer.
\author Xavi Vilajosana <xvilajosana@eecs.berkeley.edu>, May 2012.
\author Thomas Watteyne <watteyne@eecs.berkeley.edu>, May 2012.
*/
#include "sctimer.h"
#incl... | barriquello/iotstack | openwsn-fw-work/firmware/openos/bsp/boards/gina/sctimer.c | C | mit | 2,026 |
$(document).ready(function(){
var Previewer = {
preview: function(content, output) {
$.ajax({
type: 'POST',
url: "/govspeak",
data: { govspeak: content.val() },
dataType: 'json'
}).success(function(data){
output.html(data['govspeak']);
});
}
};
$(... | alphagov/trade-tariff-admin | app/assets/javascripts/preview.js | JavaScript | mit | 576 |
__version__ = '0.8.1'
__author__ = "Massimiliano Pippi & Federico Frenguelli"
VERSION = __version__ # synonym
| ramcn/demo3 | venv/lib/python3.4/site-packages/oauth2_provider/__init__.py | Python | mit | 113 |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* @namespace Phaser.Structs
*/
module.exports = {
List: require('./List'),
Map: require('./Map'),
ProcessQueue: require('./P... | TukekeSoft/phaser | src/structs/index.js | JavaScript | mit | 425 |
#! /usr/bin/env python
"""Show file statistics by extension."""
import os
import sys
class Stats:
def __init__(self):
self.stats = {}
def statargs(self, args):
for arg in args:
if os.path.isdir(arg):
self.statdir(arg)
elif os.path.isfile(arg):
... | OS2World/APP-INTERNET-torpak_2 | Tools/scripts/byext.py | Python | mit | 3,894 |
package com.ocdsoft.bacta.swg.shared.localization;
/**
* Created by crush on 11/21/2015.
*/
public class LocalizedString {
}
| bacta/pre-cu | src/main/java/com/ocdsoft/bacta/swg/shared/localization/LocalizedString.java | Java | mit | 128 |
# Contributing
## Mailing list
The main communication tool in use is the Yocto Project mailing list:
* <yocto@yoctoproject.org>
* <https://lists.yoctoproject.org/listinfo/yocto>
Feel free to ask any kind of questions but please always prepend your email
subject with `[meta-raspberrypi]` as this is the global *Yocto... | leon-anavi/meta-raspberrypi | docs/contributing.md | Markdown | mit | 4,232 |
<!doctype html>
<html>
<head>
<title>Network | Hierarchical layout</title>
<style type="text/css">
body {
font: 10pt sans;
}
#mynetwork {
width: 600px;
height: 600px;
border: 1px solid lightgray;
}
</style>
... | jucapoco/baseSiteGanttChart | node_modules/vis/examples/network/layout/hierarchicalLayoutBigUserDefined.html | HTML | mit | 1,119 |
<?php
namespace WiderFunnel\OptimizelyX\Items;
/**
* Class Experiment
* @package WiderFunnel\Items;
*/
class Experiment extends ItemAbstract
{
//
} | WiderFunnel/Optimizely-X-SDK | src/OptimizelyX/Items/Experiment.php | PHP | mit | 156 |
var jsbin = {
'root': '{{root}}',
'shareRoot': '{{shareRoot}}',
'runner': '{{runner}}',
'static': '{{static}}',
'version': '{{version}}',
user: {{{user}}},
};
(function () {
if (jsbin.user && jsbin.user.name) {
$('.loggedout').hide();
var menu = $('.loggedin').show();
var html = $('#profile-t... | mingzeke/jsbin | views/user.html | HTML | mit | 757 |
Hi, this is Mirong Kim.
| SFPC/ExperimentalMedia | people/mirong/about.md | Markdown | mit | 25 |
/*------------------------------------*\
# components.profile
\*------------------------------------*/
.profile__login {
position: relative;
display: inline-block;
z-index: 50;
padding-bottom: .5rem;
}
.profile__login__icon {
width: 2.5rem;
margin-bottom: -0.7rem;
}
.profile__login__popup {
... | Baasic/baasic-starterkit-angularjs-app-webiste | src/themes/apptheme/src/components.profilelogin.css | CSS | mit | 1,242 |
using System.Text;
namespace GuruComponents.Netrix.Events
{
/// <summary>
/// SaveEventArgs provides information about the current save process.
/// </summary>
public class SaveEventArgs : LoadEventArgs
{
/// <summary>
/// Constructor. It's build by Save event handler and not intendet to being called from us... | joergkrause/netrix | NetrixPackage/Core/Events/SaveEventArgs.cs | C# | mit | 820 |
YUI.add("yuidoc-meta", function(Y) {
Y.YUIDoc = { meta: {
"classes": [
"Audio"
],
"modules": [
"gallery-audio"
],
"allModules": [
{
"displayName": "gallery-audio",
"name": "gallery-audio"
}
]
} };
}); | inikoo/fact | libs/yui/yui3-gallery/src/gallery-audio/api/api.js | JavaScript | mit | 283 |
// angular
import { HttpClient } from '@angular/common/http';
import { Routes } from '@angular/router';
// libs
import * as _ from 'lodash';
import { I18NRouterLoader, I18NRouterSettings } from '@ngx-i18n-router/core';
export class I18NRouterHttpLoader implements I18NRouterLoader {
private _translations: any;
ge... | fulls1z3/ngx-i18n-router | packages/@ngx-i18n-router/http-loader/src/i18n-router.http-loader.ts | TypeScript | mit | 929 |
'use strict';
var fs = require('fs'),
util = require('util'),
Duplexify = require('duplexify'),
_ = require('lodash'),
su = require('bindings')('serialutil.node'),
fsu = require('./fsutil'),
pins = require('./pins'),
Dto = require('./dto'),
dto = new Dto(__dirname + '/../templates/uart.dts');
var DEFA... | fivdi/brkontru | lib/uart.js | JavaScript | mit | 6,528 |
package de.andreasgiemza.mangadownloader.gui.chapter;
import de.andreasgiemza.mangadownloader.MangaDownloader;
import de.andreasgiemza.mangadownloader.helpers.RegexHelper;
import javax.swing.JTable;
import javax.swing.JTextField;
import javax.swing.RowFilter;
import javax.swing.event.DocumentEvent;
import java... | hurik/MangaDownloader | src/main/java/de/andreasgiemza/mangadownloader/gui/chapter/ChapterListSearchDocumentListener.java | Java | mit | 1,897 |
package nxt.http;
import nxt.Account;
import nxt.Attachment;
import nxt.Constants;
import nxt.NxtException;
import nxt.util.Convert;
import org.json.simple.JSONStreamAware;
import javax.servlet.http.HttpServletRequest;
import static nxt.http.JSONResponses.INCORRECT_ASSET;
import static nxt.http.JSONResponses.INCORRE... | aspnmy/NasCoin | src/java/nxt/http/PlaceAskOrder.java | Java | mit | 2,662 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } }... | bengimbel/Solstice-React-Contacts-Project | node_modules/react-icons/lib/fa/houzz.js | JavaScript | mit | 1,139 |
//===--- JumpDiagnostics.cpp - Protected scope jump analysis ------*- C++ -*-=//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | ensemblr/llvm-project-boilerplate | include/llvm/tools/clang/lib/Sema/JumpDiagnostics.cpp | C++ | mit | 35,368 |
// Copyright 2009-2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#pragma once
#include "trianglei.h"
#include "triangle_intersector_moeller.h"
#include "triangle_intersector_pluecker.h"
namespace embree
{
namespace isa
{
/*! Intersects M triangles with 1 ray */
template<int M, int Mx, bool... | rokups/Urho3D | Source/ThirdParty/embree/kernels/geometry/trianglei_intersector.h | C | mit | 15,922 |
<div class="container-fluid landing">
<div id="almari">
<center>
<h1 id="alm">Almari</h1>
<h2 id="sub">Elegant clothing. Delivered.</h2>
</center>
</div>
<div class="sec1">
<div class="row" id="toprow">
<div class="col-md-6" id="borrow">
<center>
... | rishabhaggarwal2/Almari | app/landing/landing.html | HTML | mit | 1,175 |
// 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.
// ==++==
//
//
// ==--==
// ****************************************************************************
// File: ... | parjong/coreclr | src/debug/ee/controller.cpp | C++ | mit | 325,373 |
---
title: ເວລາສຳລັບຄວາມດຸ່ນດ່ຽງ
date: 16/12/2020
---
`ອ່ານມັດທາຍ 12:11-13 ແລະ ລູກາ 13:10-17. ຂໍ້ພຣະຄຳພີເຫຼົ່ານີ້ສະແດງໃຫ້ພວກເຮົາເຫັນວ່າ ພຣະເຢຊູໄດ້ຊົງສອນປະຊາຊົນໃນສະໄໝນັ້ນແລະໃນສະໄໝຂອງເຮົາເຖິ່ງເລື່ອງໃດ?`
ພຣະເຢຊູໄດ້ຮັກສາຄົນເຈັບປ່ວຍໃນວັນສະບາໂຕ ການອັດສະຈັນຂອງພຣະອົງໄດ້ເຮັດໃຫ້ຊາວຢິວນັ້ນເລີ່ມສົນທະນາກັນກ່ຽວກັບຄຳຖາມຝ່າຍຈິດວິນ... | imasaru/sabbath-school-lessons | src/lo/2020-04/12/05.md | Markdown | mit | 3,507 |
[](https://registry.hub.docker.com/u/hopsoft/ruby-rbx/)
[](https://gratipay.com/hopsoft/)
# Trusted Docker Image for Rubinius Ruby
## Use the Trusted Image
... | hopsoft/docker-ruby-rbx | README.md | Markdown | mit | 751 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<link rel="stylesheet" type="text/css" href="search... | teneusz/aplikacja_mobilna_komunikator | docs/zalacznik 3 - Dokumentacja Klas/html/search/files_8.html | HTML | mit | 1,023 |
# Borrowed from: https://github.com/ahornung/octomap-release
# Copyright (c) 2009-2012, K. M. Wurm, A. Hornung, University of Freiburg
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Re... | xs-embedded-llc/cdbus | test/ping_stress2/CMakeModules/CompilerSettings.cmake | CMake | mit | 3,494 |
import * as React from "react";
import { CarbonIconProps } from "../../";
declare const Opacity24: React.ForwardRefExoticComponent<
CarbonIconProps & React.RefAttributes<SVGSVGElement>
>;
export default Opacity24;
| mcliment/DefinitelyTyped | types/carbon__icons-react/lib/opacity/24.d.ts | TypeScript | mit | 216 |
<?php
/**
* This file is part of DomainSpecificQuery
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Nicolò Martini <nicmartnic@gmail.com>
*/
namespace DSQ\Test\Compiler;
use DSQ\Compiler\CompilerChain;
use DSQ\Expressi... | nicmart/DomainSpecificQuery | tests/Compiler/CompilerChainTest.php | PHP | mit | 1,993 |
///
/// Copyright (c) 2016 Dropbox, Inc. All rights reserved.
///
/// Auto-generated by Stone, do not modify.
///
#import <Foundation/Foundation.h>
#import "DBSerializableProtocol.h"
@class DBTEAMLOGAdminAlertSeverityEnum;
NS_ASSUME_NONNULL_BEGIN
#pragma mark - API Object
///
/// The `AdminAlertSeverityEnum` unio... | dropbox/dropbox-sdk-obj-c | Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertSeverityEnum.h | C | mit | 4,432 |
import os
import pygtk
pygtk.require('2.0')
import gtk
from gtkcodebuffer import CodeBuffer, SyntaxLoader
class Ui(object):
"""
The user interface. This dialog is the LaTeX input window and includes
widgets to display compilation logs and a preview. It uses GTK2 which
must be installed an importable... | hvwaldow/inktex | inktex/ui.py | Python | mit | 8,707 |
#Javascript Introduction/Javascript简介
JavaScript is the programming language of the Web. The overwhelming majority of modern websites use JavaScript, and all modern web browsers—on desktops, game consoles, tablets, and smart phones—include JavaScript interpreters, making Java-Script the most ubiquitous programming lan... | fullStackStudies/notes | en/content/front-end-development/javascript/README.md | Markdown | mit | 1,028 |
'use strict';
var convert = require('./convert'),
func = convert('findLastIndexFrom', require('../findLastIndex'));
func.placeholder = require('./placeholder');
module.exports = func;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2NsaWVudC9saWIvbG9kYXNoL2Zw... | vickeetran/hackd.in | compiled/client/lib/lodash/fp/findLastIndexFrom.js | JavaScript | mit | 888 |
<?php
/**
* Functions related to starring private messages.
*
* @package BuddyPress
* @subpackage MessagesStar
* @since 2.3.0
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
/** UTILITY **************************************************************/
/**
* Return the starred messages slug. Defau... | jmelgarejo/Clan | wordpress/wp-content/plugins/buddypress/bp-messages/bp-messages-star.php | PHP | mit | 15,966 |
<!doctype html>
<html>
<head>
<title>Radian to degree</title>
<script src="/require.js"></script>
<!-- ATTENTION: Remove in non-test code -->
<script src="/requireconfig.js"></script>
</head>
<body>
</body>
</html>
| jeffreyjw/experimentA | testorial/tests/B medium/1 angle converter/1 radian to degree/index.html | HTML | mit | 246 |
<?php
namespace Illuminate\Cache;
use Closure;
use Exception;
use Carbon\Carbon;
use Illuminate\Contracts\Cache\Store;
use Illuminate\Database\ConnectionInterface;
class DatabaseStore implements Store
{
use RetrievesMultipleKeys;
/**
* The database connection instance.
*
* @var \Illuminate\Da... | vetruvet/framework | src/Illuminate/Cache/DatabaseStore.php | PHP | mit | 6,680 |
package net.sf.esfinge.metadata.validate.minValue; | pedrocavalero/metadata | src/test/java/net/sf/esfinge/metadata/validate/minValue/package-info.java | Java | mit | 50 |
/*
* 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.
*/
'... | lmazuel/azure-sdk-for-node | lib/services/face/lib/models/personResult.js | JavaScript | mit | 2,087 |
<?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\Bundle\FrameworkBundle\Test;
use Symfony\Bundle\Fr... | lrt/lrt | vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php | PHP | mit | 5,211 |
using System;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using Ical.Net.DataTypes;
namespace Ical.Net.Serialization.DataTypes
{
public class RequestStatusSerializer : StringSerializer
{
public RequestStatusSerializer() { }
public RequestStatusSerializer(Serializ... | rianjs/ical.net | src/Ical.Net/Serialization/DataTypes/RequestStatusSerializer.cs | C# | mit | 3,938 |
# angucomplete-alt contributors (sorted alphabeticaly)
---
### [@alexbeletsky: Alexander Beletsky](https://github.com/alexbeletsky)
* Publish to NPM #111, #121
### [@alindber: Andy Lindberg](https://github.com/alindber)
* Required support #23
* Auto match #29
### [@andretw: Andre Lee](https://github.com/andretw)
... | ItRuns/prototyping | public/lib/angucomplete-alt/CONTRIBUTORS.md | Markdown | mit | 2,869 |
<?php return array(
//Use the below link to get the parameters to be passed.
//http://www.tig12.net/downloads/apidocs/wp/wp-includes/PHPMailer.class.html#det_fields_to
"type"=>array(
// Sets Mailer to send message using PHP mail() function. (true, false)
"IsMail"=>false,
// Sets Mailer to send message usi... | alaksandarjesus/foreach2BiSmarty_master | app/mail.php | PHP | mit | 1,634 |
<?php
namespace Oro\Bundle\ApiBundle\Tests\Unit\Processor;
use Doctrine\Common\Annotations\AnnotationReader;
use Symfony\Component\Form\Extension\Validator\ValidatorExtension;
use Symfony\Component\Form\FormBuilder;
use Symfony\Component\Form\FormExtensionInterface;
use Symfony\Component\Form\Forms;
use Symfony\Comp... | Djamy/platform | src/Oro/Bundle/ApiBundle/Tests/Unit/Processor/FormProcessorTestCase.php | PHP | mit | 2,709 |
# How to write your own technology
Starting with ENB version 0.8, we recommend using the `BuildFlow` helper for writing technologies.
[The helper source code](https://github.com/enb/enb/blob/master/lib/build-flow.js)
This guide doesn't cover all `BuildFlow` features. For a complete list of methods with descriptions,... | enb-make/enb | docs/guides/write-tech/write-tech.en.md | Markdown | mit | 9,910 |
.help {
cursor: help;
display: inline-block;
font-size: 18px;
margin-left: .33em;
vertical-align: middle;
}
| dmitru/react-redux-router-expense-tracker-example-app | app/components/FormFields/Help.css | CSS | mit | 128 |
---
layout: page-fullwidth
subheadline: "Celebration"
title: "Tết Nguyên Đán 2015"
meta_teaser: "Tet Nguyen Đan 2015 at VACSF"
teaser: 'Celebration of <font face="Open Sans">Tết Nguyên Đán</font> (Lunar New Year) of 2015 at <font face="Open Sans">Hội Thánh Tin Lành Việt Nam</font> in the city of San Francisco (VACSF). ... | nghin318/vacsf.org | _posts/events/2015-02-18-Tet-Nguyen-Dan.md | Markdown | mit | 768 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = function (fn /*, ...args*/) {
var args = (0, _slice2.default)(arguments, 1);
return function () /*callArgs*/{
var callArgs = (0, _slice2.default)(arguments);
return fn.apply(null, args.... | Moccine/global-service-plus.com | web/libariries/bootstrap/node_modules/phantomjs/node_modules/async/apply.js | JavaScript | mit | 1,910 |
/****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2009-2010 Ricardo Quesada
Copyright (c) 2011 Zynga Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and asso... | qq2588258/floweers | libs/cocos2dx/tilemap_parallax_nodes/CCTMXLayer.h | C | mit | 10,152 |
# app
The `app` module is responsible for controlling the application's lifecycle.
The following example shows how to quit the application when the last window is
closed:
```javascript
const app = require('electron').app;
app.on('window-all-closed', function() {
app.quit();
});
```
## Events
The `app` object emi... | thingsinjars/electron | docs/api/app.md | Markdown | mit | 15,646 |
'use strict';
var path = require('path');
var helpers = require('yeoman-generator').test;
var assert = require('yeoman-assert');
describe('test framework', function () {
describe('mocha', function () {
before(function (done) {
helpers.run(path.join(__dirname, '../app'))
.inDir(path.join(__dirname, ... | snatera15/generator-webapp-material | test/test-framework.js | JavaScript | mit | 1,532 |
/*jshint maxstatements:false*/
define(function (require, exports) {
"use strict";
var moment = require("moment"),
Promise = require("bluebird"),
_ = brackets.getModule("thirdparty/lodash"),
CodeInspection = brackets.getModule("language/CodeIn... | seshurajup/brackets-svn | src/Panel.js | JavaScript | mit | 41,379 |
#!/bin/bash
source ../common.sh
subsection "oh-my-zsh"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
chsh -s /bin/zsh
mv "${HOME}/.zshrc.pre-oh-my-zsh" "${HOME}/.zshrc"
| dawikur/dotfiles | scripts/oh_my_zsh.sh | Shell | mit | 230 |
<article id="post-<?php print $ID ?>" <?php post_class(); ?>>
<div class="tb-short-img">
<?php
toebox\inc\ToeBox::HandleFeaturedImage();
?>
</div>
<?php
print \toebox\inc\ToeBox::FormatListTitle($post_title, get_the_permalink());
?>
<div class="entry-metadata">
<!-- TODO: allow setting for... | drydenmaker/Noga | theme/tpl/content/list_short_img.php | PHP | mit | 823 |
<!DOCTYPE html>
<html lang="en">
<head>
<title>ABNFImportError Enumeration 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></scri... | palle-k/Covfefe | docs/docsets/Covfefe.docset/Contents/Resources/Documents/Enums/ABNFImportError.html | HTML | mit | 17,791 |
#include "stdafx.h"
#include "light.h"
using namespace graphic;
cLight::cLight()
{
}
cLight::~cLight()
{
}
void cLight::Init(TYPE type,
const Vector4 &ambient, // Vector4(1, 1, 1, 1),
const Vector4 &diffuse, // Vector4(0.2, 0.2, 0.2, 1)
const Vector4 &specular, // Vector4(1,1,1,1)
const Vector3 &direction... | jjuiddong/Point-Cloud | Src/Sample/Graphic/base/light.cpp | C++ | mit | 3,142 |
/**
* \file
*
* \brief Autogenerated API include file for the Atmel Software Framework (ASF)
*
* Copyright (c) 2012 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided t... | femtoio/femto-usb-blink-example | blinky/blinky/asf-3.21.0/sam/drivers/ssc/unit_tests/sam3s4c_sam3s_ek/iar/asf.h | C | mit | 3,578 |
<?php
declare(strict_types=1);
/*
* This file is part of eelly package.
*
* (c) eelly.com
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Eelly\SDK\Order\Api;
use Eelly\SDK\EellyClient;
use Eelly\SDK\Order\Service\Lik... | EellyDev/eelly-sdk-php | src/SDK/Order/Api/Like.php | PHP | mit | 5,298 |
#region "Copyright"
/*
FOR FURTHER DETAILS ABOUT LICENSING, PLEASE VISIT "LICENSE.txt" INSIDE THE SAGEFRAME FOLDER
*/
#endregion
#region "References"
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using SageFrame.Web.Utilities;
#endregion
names... | AspxCommerce/AspxCommerce2.7 | SageFrame.Core/TemplateManagement/TemplateDataProvider.cs | C# | mit | 3,799 |
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe Technologies and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
# import frappe
from frappe.model.document import Document
class WebPageBlock(Document):
pass
| adityahase/frappe | frappe/website/doctype/web_page_block/web_page_block.py | Python | mit | 272 |
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package cn.sharesdk.demo.utils;
import android.annotation.TargetApi;
import android.content.Context;
import android.database.ContentObserver;
import android.database.Cursor;
import android.graphics.BitmapFactory;
... | ShareSDKPlatform/ShareSDK-for-Android | SampleFresh/app/src/main/java/cn/sharesdk/demo/utils/ScreenShotListenManager.java | Java | mit | 8,651 |
var Path = require('path');
var Hapi = require('hapi');
var server = new Hapi.Server();
var port = process.env.PORT || 5000;
server.connection({ port: port });
server.views({
engines: {
html: require('handlebars')
},
path: Path.join(__dirname, 'views')
});
server.route([
{ path: '/',
... | rorysedgwick/learn-hapi | examples/staticfiles.js | JavaScript | mit | 753 |
//
// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
//
// 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
//... | rsredsq/AtomicGameEngine | Source/AtomicJS/Javascript/JSAtomic3D.cpp | C++ | mit | 3,193 |
//-----------------------------------------------------------------------------
// Verve
// Copyright (C) - Violent Tulip
//-----------------------------------------------------------------------------
function VControllerPropertyList::CreateInspectorGroup( %this, %targetStack )
{
%baseGroup = Parent::CreateInspec... | AnteSim/Verve | Templates/Verve/game/tools/VerveEditor/Scripts/Controller/VControllerProperties.cs | C# | mit | 6,641 |
module Cms::PublicFilter
extend ActiveSupport::Concern
include Cms::PublicFilter::Node
include Cms::PublicFilter::Page
include Mobile::PublicFilter
include Kana::PublicFilter
included do
rescue_from StandardError, with: :rescue_action
before_action :set_site
before_action :set_request_path
... | gouf/shirasagi | app/controllers/concerns/cms/public_filter.rb | Ruby | mit | 4,976 |
<h1>Home</h1>
<p>You're logged in!!</p>
<p><a href="#/login">Logout</a></a></p> | santutoshi/angularjs.test | modules/home/views/home.html | HTML | mit | 79 |
// Copyright 2019 The Gitea 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 queue
import (
"errors"
"strings"
"code.gitea.io/gitea/modules/log"
"github.com/go-redis/redis"
)
// RedisQueueType is the type for redis que... | lafriks/gitea | modules/queue/queue_redis.go | GO | mit | 3,795 |
/**
* @file fly_id3.h
*
* Declaration of the pianobarfly ID3 helper functions. These are helper
* functions to assist with creating an ID3 tag using the libid3tag library.
*/
/*
* Copyright (c) 2011
* Author: Ted Jordan
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of t... | Vi1i/pianobarfly | src/fly_id3.h | C | mit | 3,217 |
package velir.intellij.cq5.util;
import javax.jcr.Node;
import javax.jcr.NodeIterator;
import javax.jcr.RepositoryException;
import javax.jcr.Session;
import java.util.ArrayList;
import java.util.List;
/**
* Utility class for helping work with Repository objects.
*/
public class RepositoryUtils {
/**
* Hide defa... | tmowad/intellij-jcr-plugin | source/src/velir/intellij/cq5/util/RepositoryUtils.java | Java | mit | 1,342 |
<html>
<META HTTP-EQUIV=Content-Type Content="text/html; charset=utf8">
<!-- Mirrored from lis.ly.gov.tw/lghtml/lawstat/version2/02409/0240996011200.htm by HTTrack Website Copier/3.x [XR&CO'2010], Sun, 24 Mar 2013 09:19:03 GMT -->
<head><title>法編號:02409 版本:096011200</title>
<link rel="stylesheet" type="text/css" href=... | g0v/laweasyread-data | rawdata/utf8_lawstat/version2/02409/0240996011200.html | HTML | mit | 57,777 |
/****************************************************************************
Copyright (c) 2011-2013,WebJet Business Division,CYOU
http://www.genesis-3d.com.cn
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
... | EngineDreamer/DreamEngine | Engine/foundation/exception/exceptionbase.cc | C++ | mit | 3,625 |
#include "GlobalSystems.h"
namespace globalSystem {
WindowManagerGL window;
TimeData time;
MouseData mouse;
KeyPressData keys;
TextureManager textures;
ModelManager models;
DynamicFloatMap runtimeData;
RandomNumberGenerator rng;
Font gameFont;
Font gameFontLarge;... | AndreSilvs/RTMasterThesis | RTHeightfieldScalable/GlobalSystems.cpp | C++ | mit | 347 |
/* Define to 1 if you have the <stdlib.h> header file. */
/*#define HAVE_STDLIB_H 1*/
| sanqianyuejia/CSDK | src/config.h | C | mit | 86 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.