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 |
|---|---|---|---|---|---|
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 6.2.0. Any changes made here will be lost!
# !!!!!!! INTERNAL PERL USE ONLY !!!!!!!
# This file is for internal use by core Perl only. The format and even the
# name or existe... | Bjay1435/capstone | rootfs/usr/share/perl/5.18.2/unicore/lib/Blk/Syriac.pl | Perl | mit | 433 |
---
date: "2016-12-01T16:00:00+02:00"
title: "从源代码安装"
slug: "install-from-source"
weight: 10
toc: false
draft: false
menu:
sidebar:
parent: "installation"
name: "从源代码安装"
weight: 30
identifier: "install-from-source"
---
# 从源代码安装
首先你需要安装Golang,关于Golang的安装,参见官方文档 [install instructions](https://golang.o... | go-gitea/gitea | docs/content/doc/installation/from-source.zh-cn.md | Markdown | mit | 3,036 |
// implementation for sturm_equation.h
#include <cmath>
#include <algorithm>
#include <list>
#include <utils/array1d.h>
#include <algebra/vector.h>
#include <algebra/sparse_matrix.h>
#include <numerics/eigenvalues.h>
#include <numerics/gauss_data.h>
namespace WaveletTL
{
template <class WBASIS>
SturmEquation<WB... | kedingagnumerikunimarburg/Marburg_Software_Library | WaveletTL/galerkin/sturm_equation.cpp | C++ | mit | 15,625 |
module NetSuite
module Records
class CustomerSubscriptionsList < Support::Sublist
include Namespaces::ListRel
sublist :subscriptions, CustomerSubscription
end
end
end
| jeperkins4/netsuite | lib/netsuite/records/customer_subscriptions_list.rb | Ruby | mit | 193 |
# ClientSidePage.Properties PromoteAsNewsArticleSpecified
**Namespace:** [OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.V201705](OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.V201705.md)
**Assembly:** OfficeDevPnP.Core.dll
## Syntax
```C#
public bool PromoteAsNewsArticleSpecified { get; set; }... | erwinvanhunen/PnP-Guidance | sitescore/OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.V201705.ClientSidePage.PromoteAsNewsArticleSpecified.md | Markdown | mit | 618 |
class Downvote < ActiveRecord::Base
validates :post, presence: true
validates :user, presence: true
belongs_to :user, counter_cache: true
belongs_to :post
end
| sudharti/2cents | app/models/downvote.rb | Ruby | mit | 169 |
<?php
/*
* This file is part of the ONGR package.
*
* (c) NFQ Technologies UAB <info@nfq.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace ONGR\ElasticsearchBundle\Serializer\Normalizer;
use Symfony\Component\Serial... | lmikelionis/ElasticsearchBundle | Serializer/Normalizer/CustomReferencedNormalizer.php | PHP | mit | 1,062 |
---
title: تفکری فراتر
date: 22/02/2019
---
دام های شیطان، صفحات ۵١۸-۵۳٠، از کتاب جدال عظیم ، نوشته الن جی وایت را مطالعه کنید.
هدف باب ۱۲ مکاشفه یوحنا پیش از هر چیز این است که اولاً به قوم خدا بگوید که رویدادهای آخر زمان بخشی از نبرد بزرگ میان مسیح و شیطان است. کتاب به ایشان درباره آنچه امروزه با آن مواجه هستند ... | PrJared/sabbath-school-lessons | src/fa/2019-01/08/07.md | Markdown | mit | 3,777 |
<?php
namespace PuphpetBundle\Twig;
use RandomLib;
class BaseExtension extends \Twig_Extension
{
/** @var \RandomLib\Factory */
private $randomLib;
public function __construct(RandomLib\Factory $randomLib)
{
$this->randomLib = $randomLib;
}
public function getFunctions()
{
... | thedeedawg/puphpet | src/PuphpetBundle/Twig/BaseExtension.php | PHP | mit | 1,887 |
// Copyright (c) 2012 Marshall A. Greenblatt. 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 ... | neelance/ffi_gen | test/headers/cef/include/capi/cef_request_capi.h | C | mit | 8,232 |
# Makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
$(error The '$(SPHINXBUILD)' command w... | alabid/pycrunchbase | docs/Makefile | Makefile | mit | 7,072 |
/*
* The MIT License
*
* Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi
*
* 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 lim... | oleg-nenashev/jenkins | core/src/test/java/hudson/model/LoadStatisticsTest.java | Java | mit | 4,339 |
/// <reference path="../../../type-declarations/index.d.ts" />
import * as Phaser from 'phaser';
import { BootState } from './states/boot';
import { SplashState } from './states/splash';
import { GameState } from './states/game';
class Game extends Phaser.Game {
constructor() {
let width = document.documentEle... | fuzzwizard/builders-game | src/client/game/index.ts | TypeScript | mit | 890 |
<h1>Kitchen List</h1>
<div id="p_be_list">
<div class="table">
<div class="body">
<table>
<thead>
<tr>
<th colspan="2"><?php echo __('Name')?></th>
</tr>
</thead>
<tbody>
<?php if ($kitchen_list->count() !== false && $kitchen_list->count() == 0): ?>
<tr class=... | xop32/propertyx | apps/be/modules/kitchen/templates/indexSuccess.php | PHP | mit | 1,100 |
import { c } from 'ttag';
export class ImportFatalError extends Error {
error: Error;
constructor(error: Error) {
super(c('Error importing calendar').t`An unexpected error occurred. Import must be restarted.`);
this.error = error;
Object.setPrototypeOf(this, ImportFatalError.prototype)... | ProtonMail/WebClient | packages/shared/lib/contacts/errors/ImportFatalError.ts | TypeScript | mit | 330 |
package com.xruby.runtime.lang;
public abstract class RubyConstant extends RubyBasic {
public static RubyConstant QFALSE = new RubyConstant(RubyRuntime.FalseClassClass) {
public boolean isTrue() {
return false;
}
};
public static RubyConstant QTRUE = new RubyConstant(RubyRuntim... | Yashi100/rhodes3.3.2 | platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyConstant.java | Java | mit | 802 |
// This file was generated based on '(multiple files)'.
// WARNING: Changes might be lost if you edit this file directly.
#include <Fuse.Drawing.Meshes.MeshGenerator.h>
#include <Fuse.Entities.Mesh.h>
#include <Fuse.Entities.MeshHitTestMode.h>
#include <Fuse.Entities.Primitives.ConeRenderer.h>
#include <Fuse.Entities.... | blyk/BlackCode-Fuse | TestApp/.build/Simulator/Android/jni/Fuse.Entities.Primitives.g.cpp | C++ | mit | 9,980 |
game.LoadProfile = me.ScreenObject.extend({
/**
* action to perform on state change
*/
onResetEvent: function() {
me.game.world.addChild(new me.Sprite(0, 0, me.loader.getImage('load-screen')), -10);
//puts load screen in when game starts
document.getElementById("inpu... | MrLarrimore/MiguelRicardo | js/screens/loadProfile.js | JavaScript | mit | 1,578 |
/*
---
MooTools: the javascript framework
web build:
- http://mootools.net/core/8423c12ffd6a6bfcde9ea22554aec795
packager build:
- packager build Core/Core Core/Array Core/String Core/Number Core/Function Core/Object Core/Event Core/Browser Core/Class Core/Class.Extras Core/Slick.Parser Core/Slick.Finder Core/Eleme... | lyonbros/composer.js | test/lib/mootools-core-1.4.5.js | JavaScript | mit | 149,108 |
using System;
namespace TestAPI.Areas.HelpPage
{
/// <summary>
/// This represents an invalid sample on the help page. There's a display template named InvalidSample associated with this class.
/// </summary>
public class InvalidSample
{
public InvalidSample(string errorMessage)
{
... | OasesOng/TestVS | TestAPI/TestAPI/Areas/HelpPage/SampleGeneration/InvalidSample.cs | C# | mit | 969 |
//
//Copyright (C) 2002-2005 3Dlabs Inc. Ltd.
//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... | TimNN/glslang-sys | extern/glslang/glslang/OSDependent/Windows/ossource.cpp | C++ | mit | 3,734 |
/* swdp-m0sub.c
*
* Copyright 2015 Brian Swetland <swetland@frotz.net>
*
* 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/LICENSE-2.0
*
* Unless ... | nvll/lk | app/mdebug/swd-m0sub.c | C | mit | 4,971 |
/* General styles */
body {
background-color:#fff;
font-family:Arial,Verdan,Sans-Serif;
font-size:75%;
}
/* Text Shadow ( CSS3 ony ) */
#navigation li a, .portlet-header, .ui-datepicker-title, .page-title h1, .ui-widget-header, .hastable thead td, .hastable thead th, #page-wrapper .other-box h3 {
text-shadow:... | hoaitn/bmw-site | public/css/admin/ui.css | CSS | mit | 6,663 |
/*
* Changes:
* Jan 22, 2010: Created (Cristiano Giuffrida)
*/
#include "inc.h"
/*===========================================================================*
* do_up *
*===========================================================================*/
PUBLIC int do_up(m_ptr)
message *m_p... | ducis/operating-system-labs | src.clean/servers/rs/request.c | C | mit | 19,836 |
Template.HostList.events({
});
Template.HostList.helpers({
// Get list of Hosts sorted by the sort field.
hosts: function () {
return Hosts.find({}, {sort: {sort: 1}});
}
});
Template.HostList.rendered = function () {
// Make rows sortable/draggable using Jquery-UI.
this.$('#sortable').sortable({
... | bfodeke/syrinx | client/views/hosts/hostList/hostList.js | JavaScript | mit | 1,204 |
import Helper, { states } from './_helper';
import { module, test } from 'qunit';
module('Integration | ORM | Has Many | Named Reflexive | association #set', function(hooks) {
hooks.beforeEach(function() {
this.helper = new Helper();
});
/*
The model can update its association via parent, for all states... | jherdman/ember-cli-mirage | tests/integration/orm/has-many/4-named-reflexive/association-set-test.js | JavaScript | mit | 2,462 |
{{ partial "head.html" . }}
{{ partial "body-before.html" . }}
<!-- Layout for Content Area of Markdown Page Goes Here -->
<div id="default__title">{{ .Title }}</div>
<div id="default__subtitle">{{ .Params.subtitle }}</div>
<div>{{ .Date.Format "Jan 02, 2006" }}</div>
<div id="default_text"> {{ .Content ... | dkebler/hugo-sass-bower-gulp-starter | html/hugo/layouts/_default/single.html | HTML | mit | 425 |
import * as React from 'react';
export interface LabelDetailProps {
[key: string]: any;
/** An element type to render as (string or function). */
as?: any;
/** Primary content. */
children?: React.ReactNode;
/** Additional classes. */
className?: string;
/** Shorthand for primary content. */
cont... | aabustamante/Semantic-UI-React | src/elements/Label/LabelDetail.d.ts | TypeScript | mit | 446 |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Orleans;
using Orleans.Runtime;
using Orleans.Runtime.Scheduler;
using UnitTests.GrainInterfaces;
using UnitTests.Grains;
namespace UnitTestGrains
{
public class TimerGrain : Grain, ITimerGrain
{
... | jokin/orleans | test/TestInternalGrains/TimerGrain.cs | C# | mit | 8,499 |
---
layout: theme
title: "Streamflow Prediction Research"
date: 2016-08-03 16:55:00
categories:
- themes
img: theme_streamflow_prediction.jpg
ref: stream
tags: [themes]
---
One of the four overarching research themes addressed in this collection of work. Our ability to understand how much and when... < more about t... | anewman89/hydrology | demos/demo3/_posts/themes/2016-10-08-streamflow_prediction.md | Markdown | mit | 354 |
#!/usr/bin/env python
import sys
def fix_terminator(tokens):
if not tokens:
return
last = tokens[-1]
if last not in ('.', '?', '!') and last.endswith('.'):
tokens[-1] = last[:-1]
tokens.append('.')
def balance_quotes(tokens):
count = tokens.count("'")
if not count:
return
processed = 0
... | TeamSPoon/logicmoo_workspace | packs_sys/logicmoo_nlu/ext/candc/src/lib/tokeniser/fixes.py | Python | mit | 820 |
<?php
namespace YOOtheme\Widgetkit\Framework\View\Asset;
interface AssetInterface
{
/**
* Gets the name.
*
* @return string
*/
public function getName();
/**
* Gets the source.
*
* @return string
*/
public function getSource();
/**
* Gets the dependen... | yaelduckwen/libriastore | joomla/administrator/components/com_widgetkit/src/Framework/src/View/Asset/AssetInterface.php | PHP | mit | 1,339 |
class Item < ActiveRecord::Base
serialize :raw_info , Hash
has_many :ownerships , foreign_key: "item_id" , dependent: :destroy
has_many :users , through: :ownerships
has_many :wants, class_name: "Want", foreign_key: "item_id", dependent: :destroy
has_many :want_users, through: :wants, source: :user
... | nekocreate/monolist | app/models/item.rb | Ruby | mit | 460 |
unsigned, 32-bit integer | vineetreddyrajula/pharo | src/Fuel.package/FLPositive32SmallIntegerCluster.class/README.md | Markdown | mit | 24 |
package br.pucrio.opus.smells.tests.visitor;
import java.io.File;
import java.io.IOException;
import java.util.List;
import org.eclipse.jdt.core.dom.CompilationUnit;
import org.eclipse.jdt.core.dom.FieldDeclaration;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import br.pucrio.opus.smells... | diegocedrim/organic | test/br/pucrio/opus/smells/tests/visitor/FieldDeclarationCollectorTest.java | Java | mit | 1,022 |
module rl.utilities.services.momentWrapper {
export var moduleName: string = 'rl.utilities.services.momentWrapper';
export var serviceName: string = 'momentWrapper';
export function momentWrapper(): void {
'use strict';
// Using `any` instead of MomentStatic because
// createFromInputFallback doesn't appe... | csengineer13/TypeScript-Angular-Utilities | source/services/moment/moment.module.ts | TypeScript | mit | 851 |
/* describe, it, afterEach, beforeEach */
import './snoocore-mocha';
import chai from 'chai';
import chaiAsPromised from 'chai-as-promised';
chai.use(chaiAsPromised);
let expect = chai.expect;
import config from '../config';
import util from './util';
import ResponseError from '../../src/ResponseError';
import Endpo... | empyrical/snoocore | test/src/ResponseError-test.js | JavaScript | mit | 1,705 |
# -*- coding: utf-8 -*-
"""
webModifySqlAPI
~~~~~~~~~~~~~~
为web应用与后台数据库操作(插入,更新,删除操作)的接口
api_functions 中的DataApiFunc.py为其接口函数汇聚点,所有全局变量设置都在此;所有后台函数调用都在此设置
Implementation helpers for the JSON support in Flask.
:copyright: (c) 2015 by Armin kissf lu.
:license: ukl, see LICENSE for more detail... | dadawangweb/ukl-gsvc-web | app/api_1_0/webModifySqlAPI.py | Python | mit | 3,719 |
---
title: 異言の賜物
date: 08/07/2018
---
イエスの命令に従い、信者たちはエルサレムで約束の“霊”を待ちました。彼らは熱心に祈り、心から悔い改め、賛美しながら待ったのです。その日が来たとき、彼らは「一つになって集まって」(使徒 2:1)いました。たぶん、使徒言行録 1章の同じ家の上の部屋でしょう。しかし間もなく、彼らはもっと公の場に出て行くことになります(同 2:6 ~ 13)。
使徒言行録 2:1 ~ 3を読んでください。“霊”の注ぎの光景は強烈なものでした。突然、激しい嵐のとどろきのような音が天から聞こえてきてその場を満たし、次には炎の舌のようなものがあらわれて、そこにいた人々の上にとど... | imasaru/sabbath-school-lessons | src/ja/2018-03/02/02.md | Markdown | mit | 3,079 |
using System;
using System.Collections.Generic;
using Csla;
namespace Templates
{
[Serializable]
public class DynamicRootBindingList :
DynamicBindingListBase<DynamicRoot>
{
protected override object AddNewCore()
{
DynamicRoot item = DataPortal.Create<DynamicRoot>();
Add(item);
retur... | MarimerLLC/csla | Support/Templates/cs/Files/DynamicRootBindingList.cs | C# | mit | 883 |
/*
* Copyright (c) 1999-2003 Damien Miller. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of co... | steven-martins/openssh-git-auth-mysql | openssh-6.2p2-patched/defines.h | C | mit | 20,191 |
<?php
/**
* Created by PhpStorm.
* User: faustos
* Date: 05.06.14
* Time: 13:58
*/
namespace Tixi\App\AppBundle\Interfaces;
class DrivingOrderHandleDTO {
public $id;
public $anchorDate;
public $lookaheadaddressFrom;
public $lookaheadaddressTo;
public $zoneStatus;
public $zoneId;
pub... | Martin-Jonasse/sfitixi | src/Tixi/App/AppBundle/Interfaces/DrivingOrderHandleDTO.php | PHP | mit | 679 |
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... | sidhujag/devcoin-wallet | src/curl/lib/asyn-ares.c | C | mit | 19,853 |
package org.jsondoc.core.issues.issue151;
import org.jsondoc.core.annotation.Api;
import org.jsondoc.core.annotation.ApiMethod;
import org.jsondoc.core.annotation.ApiResponseObject;
@Api(name = "Foo Services", description = "bla, bla, bla ...", group = "foogroup")
public class FooController {
@ApiMethod(path = { "/... | sarhanm/jsondoc | jsondoc-core/src/test/java/org/jsondoc/core/issues/issue151/FooController.java | Java | mit | 612 |
namespace Porter2Stemmer
{
public interface IStemmer
{
/// <summary>
/// Stem a word.
/// </summary>
/// <param name="word">Word to stem.</param>
/// <returns>
/// The stemmed word, with a reference to the original unstemmed word.
/// </returns>
... | SDCAAU/P7_Helpdesk | sw704e17.Database/sw704e17.Database/Stemmer/IStemmer.cs | C# | mit | 361 |
function someFunctionWithAVeryLongName(firstParameter='something',
secondParameter='booooo',
third=null, fourthParameter=false,
fifthParameter=123.12,
sixthParam=true
){
}
function someFunctionWithAVeryLongName2(
firstParameter='something',
secondParameter='booooo',
) {
}
function blah() {
}
functio... | oknoorap/wpcs | scripts/phpcs/CodeSniffer/Standards/Squiz/Tests/Functions/MultiLineFunctionDeclarationUnitTest.js | JavaScript | mit | 1,148 |
---
category: section-tools-geolocation
---
Endpoint
```
GET https://api.paymentwall.com/api/rest/country
```
Sample Response
```json
{
"code":"US",
"country":"United States"
}
```
| paymentwall/paymentwall.github.io | _apicode-js/js-tools-geolocation.md | Markdown | mit | 194 |
#!/usr/bin/env node
require("babel/register")({
"stage": 1
});
var fs = require("fs");
GLOBAL.WALLACEVERSION = "Err";
GLOBAL.PLUGIN_CONTRIBUTORS = [];
try {
var p = JSON.parse(fs.readFileSync(__dirname+"/package.json"));
GLOBAL.WALLACEVERSION = p.version;
}
catch(e) {}
var Core = require("./core/Core.... | Reanmachine/Wallace | main.js | JavaScript | mit | 432 |
<?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond ... | suitmedia/suitcoda | app/Http/routes.php | PHP | mit | 2,811 |
## Ruby
These settings apply only when `--ruby` is specified on the command line.
``` yaml $(ruby)
ruby:
package-name: azure_mgmt_search
package-version: "0.16.0"
azure-arm: true
```
### Ruby multi-api
``` yaml $(ruby) && $(multiapi)
batch:
- tag: package-2015-08
```
### Tag: package-2015-08 and ruby
Thes... | dashimi16/azure-rest-api-specs | specification/search/resource-manager/readme.ruby.md | Markdown | mit | 683 |
---
title: Faire l’expérience des offrandes
date: 01/03/2018
---
Si Christ est venu nous révéler le caractère de Dieu, une chose devrait être claire maintenant: Dieu nous aime et Il veut le meilleur pour nous. Il nous demande de faire seulement ce qui sera de notre propre intérêt, jamais à notre détr... | imasaru/sabbath-school-lessons | src/fr/2018-01/09/06.md | Markdown | mit | 2,540 |
<?php return unserialize('a:1:{i:0;O:27:"Doctrine\\ORM\\Mapping\\Column":10:{s:4:"type";s:8:"datetime";s:6:"length";N;s:9:"precision";i:0;s:5:"scale";i:0;s:6:"unique";b:0;s:8:"nullable";b:0;s:4:"name";s:16:"fecha_nacimiento";s:7:"options";a:0:{}s:16:"columnDefinition";N;s:5:"value";N;}}'); | ilaguardia/cupon | cupon/app/cache/prod/annotations/Cupon-UsuarioBundle-Entity-Usuario$fecha_nacimiento.cache.php | PHP | mit | 290 |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports... | renmuell/makrenejs | docs/vendors/cEngine/plugins/cEngine.__pluginTemplate__.js | JavaScript | mit | 1,422 |
---
title: Elsõ Gyümölcsök
date: 12/07/2018
---
Péter szavai szíven találták a hallgatóságát. Némelyek közülük néhány héttel korábban még bizonyára Jézus keresztre feszítését követelték (Lk 23:13-25). Miután viszont meggyõzõdtek arról, hogy a názáreti Jézus Isten által kijelölt Messiás, elkeseredetten kiáltottak fel... | PrJared/sabbath-school-lessons | src/hu/2018-03/02/06.md | Markdown | mit | 2,051 |
// Copyright (c) 2015 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge... | davewhat/tchannel | out_response.js | JavaScript | mit | 10,872 |
<div class="alert alert-{{$type}}">
<h1>{{$title}}</h1>
<p>{{$content}}</p>
</div>
| chromabits/illuminated | resources/views/alerts/alert.blade.php | PHP | mit | 92 |
using RedditSharp.Things;
using System.Threading.Tasks;
namespace RedditSharp
{
partial class Helpers
{
private const string GetThingUrl = "/api/info.json?id={0}";
/// <summary>
/// Get a <see cref="Thing"/> by full name.
/// </summary>
/// <param name="agent">IWebAgent... | justcool393/RedditSharp-1 | RedditSharp/Helpers/Helpers.GetThingByFullnameAsync.cs | C# | mit | 779 |
#!/usr/bin/env node
/**
* Release this package.
*/
"use strict";
process.chdir(__dirname + '/..');
const apeTasking = require('ape-tasking'),
apeReleasing = require('ape-releasing');
apeTasking.runTasks('release', [
(callback) => {
apeReleasing.releasePackage({
beforeRelease: [
... | ape-repo/ape-scraping | ci/release.js | JavaScript | mit | 430 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="../../favicon.ic... | KellyChan/python-examples | python/django/mvplanding/static/templates/base.html | HTML | mit | 5,212 |
@echo off
rem
rem ADOBE SYSTEMS INCORPORATED
rem Copyright 2007 Adobe Systems Incorporated
rem All Rights Reserved.
rem
rem NOTICE: Adobe permits you to use, modify, and distribute this file
rem in accordance with the terms of the license agreement accompanying it.
rem
rem
rem acompc.bat script for Windows.
rem Thi... | ArcherSys/ArcherSys | drives/Flex/bin/acompc.bat | Batchfile | mit | 565 |
/*
Copyright 2016 The Kubernetes Authors.
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/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | pragkent/aliyun-disk | vendor/k8s.io/kubernetes/federation/cmd/kubefed/app/kubefed.go | GO | mit | 1,274 |
import os, scrapy, argparse
from realclearpolitics.spiders.spider import RcpSpider
from scrapy.crawler import CrawlerProcess
parser = argparse.ArgumentParser('Scrap realclearpolitics polls data')
parser.add_argument('url', action="store")
parser.add_argument('--locale', action="store", default='')
parser.add_argument('... | dpxxdp/berniemetrics | private/scrapers/realclearpolitics-scraper/scraper.py | Python | mit | 1,355 |
/*global d3 */
// asynchronously load data from the Lagotto API
queue()
.defer(d3.json, encodeURI("/api/agents/"))
.await(function(error, a) {
if (error) { return console.warn(error); }
agentsViz(a.agents);
});
// add data to page
function agentsViz(data) {
for (var i=0; i<data.length; i++) {
var a... | CrossRef/lagotto | app/assets/javascripts/agents/index.js | JavaScript | mit | 569 |
var test = require("tape").test
var level = require("level-test")()
var testdb = level("test-versionstream")
var version = require("../")
var db = version(testdb)
var lastVersion
test("stuff some datas", function (t) {
t.plan(2)
db.put("pet", "fluffy", {version: 0})
db.put("pet", "spot", {version: 1})
db.p... | maxogden/level-version | test/versionstream.js | JavaScript | mit | 3,427 |
/*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2015 Scientific Computing and Imaging Institute,
University of Utah.
License for the specific language governing rights and limitations under
Permission is hereby granted, free of charge, to any person o... | jcollfont/SCIRun | src/Modules/Basic/PortFeedbackTestModules.h | C | mit | 2,350 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jQuery Mobile Docs - Theming Pages</title>
<link rel="stylesheet" href="../../../css/themes/default/jquery.mobile.css" />
<link rel="stylesheet" href="../../_assets/css/jqm-docs.c... | c9s/WireRoom | public/js/jquery.mobile-1.1.0/demos/docs/pages/pages-themes/theme-e.html | HTML | mit | 7,310 |
describe 'font' do
before do
@rmq = RubyMotionQuery::RMQ
end
it 'should return font from RMQ or an instance of rmq' do
@rmq.font.should == RubyMotionQuery::Font
rmq = RubyMotionQuery::RMQ.new
rmq.font.should == RubyMotionQuery::Font
end
it 'should return a list of font families' do
@rmq... | infinitered/rmq | spec/font.rb | Ruby | mit | 1,069 |
/*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: java.io.WriteAbortedException
================================================================================*/
#ifndef J2CPP_INCLUDE_IM... | hyEvans/ph-open | proj.android/jni/puzzleHero/platforms/android-9/java/io/WriteAbortedException.hpp | C++ | mit | 5,303 |
<?php
namespace Concrete\Tests\Core\File;
use Concrete\Core\File\Importer;
use Concrete\Core\Attribute\Type as AttributeType;
use Concrete\Core\Attribute\Key\FileKey;
use Concrete\Core\Attribute\Key\Category;
class FileListTest extends \FileStorageTestCase
{
/** @var \Concrete\Core\File\FileList */
protected ... | MichaelMaar/concrete5 | tests/tests/Core/File/FileListTest.php | PHP | mit | 10,797 |
package com.tale.model;
import com.blade.jdbc.annotation.Table;
import java.io.Serializable;
//
@Table(name = "t_comments", pk = "coid")
public class Comments implements Serializable {
private static final long serialVersionUID = 1L;
// comment表主键
private Integer coid;
// post表主键,关联字段
private ... | sanmubird/yuanjihua_blog | src/main/java/com/tale/model/Comments.java | Java | mit | 2,962 |
---
title: பாபிலோனின் விழுகை
date: 06/02/2020
---
`கேள்வி: கடைசிக்கால பாபிலோனின் விழுகைக்கு அடையாளமாக இருக்கும் பெல்ஷாத் சாருடைய பாபிலோனின் விழுகைபற்றி நாம் என்ன கற்றுக்கொள்ள முடிகிறது? தானி 5:29-31; வெளி 14:8; 16:19; 18:2.`
எவ்வளவுதான் குறைகள் இருந்தாலும் பெல்ஷாத்சார் வாக்குத் தவறவில்லை. தானியேல் சொன்ன விளக்கம் க... | PrJared/sabbath-school-lessons | src/ta/2020-01/06/06.md | Markdown | mit | 6,399 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct template as_feature<tag::weighted_tail_variate_means< LeftRight, VariateType, VariateTag >(absolute)></title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="... | yinchunlong/abelkhan-1 | ext/c++/thirdpart/c++/boost/libs/accumulators/doc/html/boost/accumulators/as_feature_tag_idp19893728.html | HTML | mit | 6,168 |
"use strict";
const lua = require("../src/lua.js");
const lauxlib = require("../src/lauxlib.js");
const {to_luastring} = require("../src/fengaricore.js");
const toByteCode = function(luaCode) {
let L = lauxlib.luaL_newstate();
if (!L) throw Error("failed to create lua state");
if (lauxlib.luaL_loadst... | daurnimator/fengari | test/tests.js | JavaScript | mit | 690 |
<!doctype html>
<html>
<head>
<title>ATS-Queen-Puzzle</title>
<style>
#canvas-container
{
margin: 0 auto; width: 920px; height: auto;
}
</style>
<script
src="https://cdn.jsdelivr.net/jquery/2.1.1/jquery.min.js">
</script>
<script
src="https://ats-lang.github.io/LIBRARY/libatscc2js/ATS2-0.3.2/libatscc2js_all.js">
<... | bbarker/ATS-Postiats-contrib | projects/SMALL/JSmydraw/Queen_puzzle/Queen_puzzle.html | HTML | mit | 702 |
require 'active_support/inflector'
module Trello
class BasicData
include ActiveModel::Validations
include ActiveModel::Dirty
include ActiveModel::Serializers::JSON
include Trello::JsonUtils
class << self
def path_name
name.split("::").last.underscore
end
def find(id, ... | brycemcd/ruby-trello | lib/trello/basic_data.rb | Ruby | mit | 3,268 |
/**
* Copyright 2015 Telerik AD
*
* 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/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | burkeholland/itunes-artist-search | jspm_packages/github/kendo-labs/bower-kendo-ui@2015.2.720/src/styles/mobile/kendo.mobile.fiori.css | CSS | mit | 95,146 |
from panda3d.core import NodePath, DecalEffect
import DNANode
import DNAWall
import random
class DNAFlatBuilding(DNANode.DNANode):
COMPONENT_CODE = 9
currentWallHeight = 0
def __init__(self, name):
DNANode.DNANode.__init__(self, name)
self.width = 0
self.hasDoor = False
def s... | Spiderlover/Toontown | toontown/dna/DNAFlatBuilding.py | Python | mit | 5,943 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Mv... | modulexcite/MvcThrottle | MvcThrottle/Properties/AssemblyInfo.cs | C# | mit | 1,426 |
// This file was generated based on 'C:\ProgramData\Uno\Packages\Experimental.Physics\0.18.8\$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Int.h>
namespace g{
namespace Experimental{
namespace Physics{
// private enum BasicBoundedRegion2D.MoveMode :37
uEnumType*... | blyk/BlackCode-Fuse | TestApp/.build/Simulator/Android/include/Experimental.Physics.BasicBoundedRegion2D.MoveMode.h | C | mit | 397 |
/* Get Programming with JavaScript
* Listing 4.01
* Displaying an object's properties on the console
*/
var movie1;
movie1 = {
title: "Inside Out",
actors: "Amy Poehler, Bill Hader",
directors: "Pete Doctor, Ronaldo Del Carmen"
};
console.log("Movie information for " + movie1.title);
console.log("----... | jrlarsen/GetProgramming | Ch04_Functions/listing4.01.js | JavaScript | mit | 688 |
describe('Component: Product Search', function(){
var scope,
q,
oc,
state,
_ocParameters,
parameters,
mockProductList
;
beforeEach(module(function($provide) {
$provide.value('Parameters', {searchTerm: null, page: null, pageSize: null, sortBy: null... | Four51SteveDavis/JohnsonBros | src/app/productSearch/tests/productSearch.spec.js | JavaScript | mit | 6,607 |
(function () {
'use strict';
angular.module('common')
.directive('svLumxUsersDropdown', function () {
return {
templateUrl: 'scripts/common/directives/sv-lumx-users-dropdown.html',
scope: {
btnTitle: '@',
actionC... | SvitlanaShepitsena/cl-poster | app/scripts/common/directives/sv-lumx-users-dropdown.js | JavaScript | mit | 689 |
---
title: Perjalanan Ke Roma
date: 22/09/2018
---
### Untuk Pelajaran Pekan Ini Bacalah:
Kisah 27, 28; Roma 1:18–20.
> <p>Ayat Hafalan</p>
> “ ‘Jangan takut, Paulus! Engkau harus menghadap Kaisar...’ ” (Kisah 27:24).
Paulus sudah lama merindukan untuk mengunjungi Roma, tetapi penahanannya di Yerusalem mengubah s... | imasaru/sabbath-school-lessons | src/in/2018-03/13/01.md | Markdown | mit | 1,615 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;
using FluentAssertions;
using Microsoft.OData.Edm;
using Micros... | ysanghi/Vipr | test/ODataReader.v4UnitTests/Given_an_ODataVocabularyReader.cs | C# | mit | 10,044 |
/*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: com.tencent.mm.sdk.openapi.SendAuth
================================================================================*/
#ifndef J2CPP_INCLUDE_IMP... | hyEvans/ph-open | proj.android/jni/puzzleHero/com/tencent/mm/sdk/openapi/SendAuth.hpp | C++ | mit | 11,739 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18051
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | kentcb/BrightstarDB | src/tools/Polaris/BrightstarDB.Polaris/Strings.Designer.cs | C# | mit | 18,340 |
# -*- coding: utf-8 -*-
"""
Various i18n functions.
Helper functions for both the internal translation system
and for TranslateWiki-based translations.
By default messages are assumed to reside in a package called
'scripts.i18n'. In pywikibot 2.0, that package is not packaged
with pywikibot, and pywikibot 2.0 does ... | emijrp/pywikibot-core | pywikibot/i18n.py | Python | mit | 21,745 |
/*
* Copyright (c) 2015 by Rafael Angel Aznar Aparici (rafaaznar at gmail dot com)
*
* sisane: The stunning micro-library that helps you to develop easily
* AJAX web applications by using Angular.js 1.x & sisane-server
* sisane is distributed under the MIT License (MIT)
* Sources at https://github.... | Ecoivan/sisane-client | public_html/js/episodio/viewpop.js | JavaScript | mit | 3,146 |
# Be sure to restart your server when you modify this file.
Rails.application.config.session_store :cookie_store, key: '_moj_peoplefinder_session'
| ministryofjustice/peoplefinder | config/initializers/session_store.rb | Ruby | mit | 148 |
'use strict';
var path = require('path');
var gulp = require('gulp');
var conf = require('./conf');
var browserSync = require('browser-sync');
function isOnlyChange(event) {
return event.type === 'changed';
}
gulp.task('watch', ['inject'], function () {
gulp.watch([path.join(conf.paths.src, '/*.html'), 'bower.... | devmark/laravel-angular-cms | backend/gulp/watch.js | JavaScript | mit | 1,176 |
/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
/* $Header$ */
#include <ctype.h>
#include <stdlib.h>
/* We do not use strtol here for backwards compatibility in behaviour on
overflow.
*/
... | ducis/operating-system-labs | src.clean/lib/libc/ansi/atol.c | C | mit | 629 |
.model-icon { min-width: 20px !important; display: inline-block !important; margin-left: 2px; }
.table a { display: block; }
/*------------------ Admin ------------------*/
.controller-admin .plugin-list { list-style: none; margin: 0; padding: 0; }
.controller-admin .plugin-list a { display: block; padding: 5px 15px;... | milesj/admin | webroot/css/admin.css | CSS | mit | 3,235 |
<?php
/**
* @copyright Copyright (c) 2018 Robin Appelman <robin@icewind.nl>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, e... | icewind1991/SMB | src/KerberosApacheAuth.php | PHP | mit | 3,766 |
/* adddma.c
*/
#include <lib.h>
#define adddma _adddma
#include <unistd.h>
#include <stdarg.h>
int adddma(proc_e, start, size)
endpoint_t proc_e;
phys_bytes start;
phys_bytes size;
{
message m;
m.m2_i1= proc_e;
m.m2_l1= start;
m.m2_l2= size;
return _syscall(MM, ADDDMA, &m);
}
| ducis/operating-system-labs | src.clean/lib/libc/other/_adddma.c | C | mit | 314 |
module Trinidad
module Extensions
class BarOptionsExtension < OptionsExtension
def configure(parser, default_options)
default_options ||= {}
default_options[:bar] = true
end
end
end
end
| trinidad/trinidad | spec/fixtures/trinidad_bar_extension.rb | Ruby | mit | 226 |
require "heroku/command/base"
require "base64"
require "excon"
# manage organization accounts
#
class Heroku::Command::Orgs < Heroku::Command::Base
# orgs
#
# lists the orgs that you are a member of.
#
#
def index
response = org_api.get_orgs.body
orgs = []
response.fetch('organizations', []).... | soilforlifeforms/forms | vendor/bundle/ruby/2.0.0/gems/heroku-3.3.0/lib/heroku/command/orgs.rb | Ruby | mit | 1,786 |
var assert = require('assert');
var _ = require('@sailshq/lodash');
var SchemaBuilder = require('../lib/waterline-schema');
describe('Has Many Through :: ', function() {
describe('Junction Tables', function() {
var schema;
before(function() {
var fixtures = [
{
identity: 'user',
... | jhelbig/postman-linux-app | app/resources/app/node_modules/waterline-schema/test/hasManyThrough.js | JavaScript | mit | 3,283 |
package sacloud
// IPv6Addr IPアドレス(IPv6)
type IPv6Addr struct {
HostName string `json:",omitempty"` // ホスト名
IPv6Addr string `json:",omitempty"` // IPv6アドレス
Interface *Interface `json:",omitempty"` // インターフェース
IPv6Net *IPv6Net `json:",omitempty"` // IPv6サブネット
}
// GetIPv6NetID IPv6アドレスが所属するIPv6NetのI... | aantono/traefik | vendor/github.com/sacloud/libsacloud/sacloud/ipv6addr.go | GO | mit | 939 |
using System;
using System.Runtime.InteropServices;
using Duality;
using Duality.Drawing;
using Duality.Resources;
namespace DynamicLighting
{
[StructLayout(LayoutKind.Sequential)]
public struct VertexC1P3T2A4 : IVertexData
{
public static readonly VertexDeclaration Declaration = VertexDeclaration.Get<VertexC1P... | RockyTV/duality | Samples/DynamicLighting/Core/VertexC1P3T2A4.cs | C# | mit | 914 |
package engine.actions;
import engine.gameObject.GameObject;
import authoring.model.collections.GameObjectsCollection;
public class FixedCollisionTypeAction extends PhysicsTypeAction {
public FixedCollisionTypeAction (String type, String secondType, Double value) {
super(type, secondType, value);
... | goose2460/game_author_cs308 | src/engine/actions/FixedCollisionTypeAction.java | Java | mit | 989 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.