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 |
|---|---|---|---|---|---|
#!/bin/sh -e
usage()
{
echo "Usage: ${0} [--structure-only] DATABASE_NAME"
}
STRUCTURE_ONLY=false
if [ "${1}" = --structure-only ]; then
STRUCTURE_ONLY=true
shift
fi
DATABASE_NAME="${1}"
if [ "${DATABASE_NAME}" = "" ]; then
usage
exit 1
fi
if [ "${STRUCTURE_ONLY}" = true ]; then
FILE="${D... | FunTimeCoding/mysql-tools | bin/backup-database.sh | Shell | mit | 717 |
<?php
/**
* @package AcyMailing for Joomla!
* @version 5.6.5
* @author acyba.com
* @copyright (C) 2009-2017 ACYBA S.A.R.L. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
$name = 'Technology';
$thumb = 'media/com_acymaili... | yaelduckwen/libriastore | joomla/media/com_acymailing/templates/technology_resp/install.php | PHP | mit | 2,281 |
// 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 Windows.UI.Xaml;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ManagedUnitTests
{
public static class TestUtilities
{
... | Microsoft/XamlBehaviors | src/BehaviorsSDKManaged/ManagedUnitTests/TestUitilties.cs | C# | mit | 1,930 |
<?php
namespace EntityManager5178714d05176_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM;
/**
* CG library enhanced proxy class.
*
* This code was generated automatically by the CG library, manual changes to it
* will be lost upon next generation.
*/
class EntityManager extends \Doctrine\ORM\Entit... | deivy90/Detoditoonline | app/cache/dev/jms_diextra/doctrine/EntityManager_5178714d05176.php | PHP | mit | 16,022 |
<a name="2.7.8"></a>
## 2.7.8 (2016-03-20)
* Added new blog to showcase ([d7be966](https://github.com/kikobeats/uno-zen/commit/d7be966))
* Apply effect in tag version as well. ([266f331](https://github.com/kikobeats/uno-zen/commit/266f331))
* Merge pull request #183 from binaryfever/patch-1 ([93ff62a](https://github.... | conexionweb/mikenieva | CHANGELOG.md | Markdown | mit | 41,574 |
import {statementType} from "../_utils";
import * as Statements from "../../../src/abap/statements/";
const tests = [
"METHOD zfoobar.",
"METHOD foobar by kernel module foobar fail.",
"METHOD foobar by kernel module foobar ignore.",
"METHOD if_foo~write BY KERNEL MODULE foobar.",
"METHOD foobar BY DATABASE P... | larshp/abaplint | test/abap/statements/method.ts | TypeScript | mit | 498 |
#! /usr/bin/env node
import minimist from 'minimist'
import Avifors from './Avifors'
import YamlModelBuilder from './model/YamlModelBuilder'
import Configuration from './Configuration'
import {helpMessage} from './help'
import YamlHelper from './tools/YamlHelper'
const avifors = new Avifors()
const corePlugins = ['./... | antarestupin/Avifors | src/main.js | JavaScript | mit | 994 |
# ipregex
Simple python script to read apache log file and strip out the IP's
| stephensheridan/ipregex | README.md | Markdown | mit | 78 |
# -*- coding: utf-8 -*-
import os.path
from django.db import models
from django.utils.translation import ugettext_lazy as _
from django.conf import settings as django_settings
from django.db.models import signals
from know.plugins.attachments import settings
from know import managers
from know.models.pluginbase import ... | indexofire/gork | src/gork/application/know/plugins/attachments/models.py | Python | mit | 6,582 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>dep-map: 32 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="sty... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.09.1-2.0.6/released/8.7.1+1/dep-map/8.7.0.html | HTML | mit | 8,751 |
package h1z1.screens;
import h1z1.MainFrame;
import h1z1.game.GameState;
import h1z1.input.ButtonHandler;
import h1z1.input.InputButton;
import h1z1.input.InputProvider;
import h1z1.io.ResourceManager;
import javax.imageio.ImageIO;
import java.awt.*;
import java.util.List;
import h1z1.game.Maze;
public class PlayGa... | johnathandavis/H1Z1 | src/main/java/h1z1/screens/PlayGameScreenManager.java | Java | mit | 1,193 |
import express from 'express'
import cors from 'cors'
import bodyParser from 'body-parser'
import helmet from 'helmet'
import httpStatus from 'http-status'
import path from 'path'
import routes from './routes'
import logger from './helpers/logger.js'
const app = express()
// Pug
app.set('view engine', 'pug')
app.set... | AitorDB/API-NodeJS | app/app.js | JavaScript | mit | 1,199 |
<?php
namespace PandaGroup\StoreLocator\Controller\Adminhtml\Index;
use Magento\Framework\Exception\LocalizedException;
class Save extends \Magento\Backend\App\Action
{
/** @var \Magento\Framework\App\Request\DataPersistorInterface */
protected $dataPersistor;
/** @var \PandaGroup\StoreLocator\Model\Reg... | pandagrouppl/StoreLocator | Controller/Adminhtml/Index/Save.php | PHP | mit | 6,561 |
using TwinTechs.Controls;
using TekConf.Core.Data.Dtos;
namespace TekConf.Forms.Cells
{
public partial class ConferenceListSessionsListCell : FastCell
{
protected override void InitializeCell ()
{
InitializeComponent ();
}
protected override void SetupCell (bool isRecycled)
{
var session = BindingC... | tekconf/TekConf.Forms | TekConf/TekConf.Forms/Cells/ConferenceListSessionsListCell.xaml.cs | C# | mit | 499 |
---
layout: post
title: LeetCode 77
category: 技术
tags: LeetCode Medium
keywords: LeetCode
description: 2019 每天一道题 #77
---
#### 77. [Combinations](https://leetcode.com/problems/combinations/)
---
Given two integers *n* and *k*, return all possible combinations of k numbers out of *1* ... *n*.
**Example:**
```
Input: n... | bruceFend/brucefend.github.io | _posts/技术/2019-02-01-LeetCode-77.md | Markdown | mit | 1,454 |
job
===
set timeout job or cron job to call a url. with nsq,this can sent a message in the special time.
| ghzofhit/job | README.md | Markdown | mit | 106 |
<?php
namespace SilexMarkdown\Parser;
use SilexMarkdown\Filter\FilterInterface;
interface ParserInterface
{
public function transform($source);
public function registerFilter($method, FilterInterface $filter);
public function getFilters();
public function hasFilter($method);
public function useFi... | MadCatme/SilexMarkdown | src/SilexMarkdown/Parser/ParserInterface.php | PHP | mit | 356 |
import Lab from 'lab';
import server from '../../server';
import data from '../data';
const expect = Lab.assertions.expect;
export const lab = Lab.script();
lab.experiment('ProfileCtrl', function() {
lab.before(done => {
data.sync().then(done, done);
});
lab.test('[getAuthenticated] returns the current pr... | FOUfashion/api | src/tests/controllers/profile.js | JavaScript | mit | 4,337 |
package net.glowstone.net.message.play.entity;
import com.flowpowered.network.Message;
import java.util.List;
import lombok.Data;
@Data
public final class DestroyEntitiesMessage implements Message {
private final List<Integer> ids;
}
| GlowstoneMC/GlowstonePlusPlus | src/main/java/net/glowstone/net/message/play/entity/DestroyEntitiesMessage.java | Java | mit | 242 |
// ArduinoJson - https://arduinojson.org
// Copyright © 2014-2022, Benoit BLANCHON
// MIT License
#include <ArduinoJson.h>
#include <catch.hpp>
#define SHOULD_WORK(expression) REQUIRE(DeserializationError::Ok == expression);
#define SHOULD_FAIL(expression) \
REQUIRE(DeserializationError::TooDeep == expression);
TE... | bblanchon/ArduinoJson | extras/tests/JsonDeserializer/nestingLimit.cpp | C++ | mit | 4,306 |
const fs = require('fs')
const path = require('path')
const LRU = require('lru-cache')
const express = require('express')
const favicon = require('serve-favicon')
const compression = require('compression')
const resolve = file => path.resolve(__dirname, file)
const { createBundleRenderer } = require('vue-server-rendere... | wenyejie/trading-tiger | server.js | JavaScript | mit | 4,301 |
## async modes
### constant broadcast mode
* `STATE A` `encoding`
* agent broadcasts and performs signaling at a constant rate
Agent does not listen for any signals.
### passive listen mode
* `STATE A` `decoding`
* agent polls for signaling and decodes bytes as they arrive
This mode is for listening to a cons... | billautomata/JSAM_example | PROTOCOL.md | Markdown | mit | 1,241 |
import * as _ from 'lodash';
import * as AWS from 'aws-sdk';
import * as config from './config';
export interface Secrets {
REDDIT_CLIENT_ID: string;
REDDIT_CLIENT_TOKEN: string;
REDDIT_USERNAME: string;
REDDIT_PASSWORD: string;
STEAM_API_KEY: string;
}
export async function resolve(): Promise<Secrets> {
... | jmoseley/new-game-recommender | src/lib/secrets.ts | TypeScript | mit | 875 |
<!DOCTYPE html >
<html>
<head>
<title></title>
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link href="../lib/ref-index.css" media="screen" type="text/css... | transcendent-ai-labs/transcendent-ai-labs.github.io | api_docs/DynaML/v1.4/dynaml-pipes/index/index-r.html | HTML | mit | 1,772 |
FROM ubuntu
ADD a.out /a.out
| ghaering/poc-docker-coredump | Dockerfile | Dockerfile | mit | 30 |
#!/bin/bash
cd "$(dirname "${BASH_SOURCE[0]}")" \
&& . "utils.sh"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
tohome() {
sourceFile="$(cd .. && pwd)/$1"
targetFile="$HOME/.$(printf "%s" "$1" | sed "s/.*\/\(.*\)/\1/g")"
if [ ! -e "$targetFile" ] || $skipQuestion... | EDiLD/dotfiles | src/os/create_symbolic_links.sh | Shell | mit | 3,621 |
module FinancialStatementHelper
include HyaccConst
def colspan( node_level )
@max_node_level - node_level + 1
end
def is_visible_on_report( account, branch_id )
# 削除された科目は表示しない
return false if account.deleted?
# 決算書科目以外は表示しない
return false unless account.is_settlement_rep... | hybitz/hyacc | app/helpers/financial_statement_helper.rb | Ruby | mit | 611 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Login Page - Photon Admin Panel Theme</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<link rel="shortcut icon" href="http://photonui.orangehilldev.com/css/css_comp... | user-tony/photon-rails | lib/assets/css/css_compiled/@{photonImagePath}plugins/elrte/css/css_compiled/js/css/css_compiled/js/plugins/prettify/prettify.js.html | HTML | mit | 15,573 |
#include "Common.h"
#include "CacheAdapters/Redis.h"
#include "SSEConfig.h"
#include "SSEEvent.h"
#include <string>
#include <vector>
#include <iostream>
#include <boost/asio/io_service.hpp>
#include <boost/asio/ip/address.hpp>
using namespace std;
extern int stop;
Redis::Redis(const string key, const ChannelConfig&... | sgulseth/ssehub | src/CacheAdapters/Redis.cpp | C++ | mit | 5,225 |
SPEC = Password.hs
CC= gcc
CFLAGS = -fPIC
GHC = ghc
%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS)
example% : solution%.o $(SPEC)
$(GHC) -o $@ $(SPEC) $<
all : example1 example2
| pbv/codex-quickcheck | examples/password/Makefile | Makefile | mit | 176 |
<?php
class kml_TimeSpan extends kml_TimePrimitive {
protected $tagName = 'TimeSpan';
var $begin;
var $end;
/* Constructor */
function kml_TimeSpan($begin = null, $end = null) {
parent::kml_TimePrimitive();
if ($begin !== null) $this->set_begin($begin);
if ($end !== null... | lifelink1987/old.life-link.org | libs/php-kml/kml_TimeSpan.php | PHP | mit | 845 |
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace NAudioUniversalDemo
{
internal class ViewModelBase : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanged([CallerMemberName] string propertyName... | skor98/DtWPF | speechKit/NAudio-master/NAudioUniversalDemo/ViewModelBase.cs | C# | mit | 517 |
# Rollup
<p align="center">
<a href="https://travis-ci.org/rollup/rollup">
<img src="https://api.travis-ci.org/rollup/rollup.svg?branch=master"
alt="build status">
</a>
<a href="https://www.npmjs.com/package/rollup">
<img src="https://img.shields.io/npm/v/rollup.svg"
alt="npm version">
... | RickFrom1987/rickfrom1987.com | node_modules/rollup/README.md | Markdown | mit | 8,419 |
$(function(){
$("#addCompanyForm").validate({
rules: {
name : {
required : true
},
email: {
required: true,
email: true
},
url : {
required : true,
url : true
}
},
messages: {
name : {
required : "Please enter your company name"
},
url : {
required : "P... | CREA-KO/NPoint.Api | public/js/companies.js | JavaScript | mit | 3,124 |
package com.github.aureliano.evtbridge.converter;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.util.HashMap;
import java.util.Map;
import org.junit.Test;
import com.github.aureliano.evtbridge.core.config.EventCollecto... | aureliano/da-mihi-logs | evt-bridge-converter/src/test/java/com/github/aureliano/evtbridge/converter/ConfigurationConverterTest.java | Java | mit | 1,411 |
<HTML><HEAD>
<TITLE>Review for Can't Hardly Wait (1998)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0127723">Can't Hardly Wait (1998)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Jos... | xianjunzhengbackup/code | data science/machine_learning_for_the_web/chapter_4/movie/12977.html | HTML | mit | 3,894 |
<?php
namespace Kendo\Dataviz\UI;
class DiagramShapeConnectorDefaultsStroke extends \Kendo\SerializableObject {
//>> Properties
/**
* Defines the stroke color.
* @param string $value
* @return \Kendo\Dataviz\UI\DiagramShapeConnectorDefaultsStroke
*/
public function color($value) {
ret... | deviffy/laravel-kendo-ui | wrappers/php/lib/Kendo/Dataviz/UI/DiagramShapeConnectorDefaultsStroke.php | PHP | mit | 909 |
# reads uniprot core file and generates core features
from features_helpers import score_differences
def build_uniprot_to_index_to_core(sable_db_obj):
uniprot_to_index_to_core = {}
for line in sable_db_obj:
tokens = line.split()
try:
# PARSING ID
prot = tokens[0]
... | wonjunetai/pulse | features/uniprot_core.py | Python | mit | 2,151 |
---
published: true
title: Oops.
layout: post
---
Just testing this out. | soemu/soemu.github.io | _posts/2015-07-14-oops.markdown | Markdown | mit | 78 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Project.Models
{
public enum WordRel
{
None,
Synonym,
Similar,
Related,
Antonym
}
} | Midnightgarden101/WCSU-2017-CS350-Final_Project | Project/Models/WordRel.cs | C# | mit | 234 |
#include <string.hpp>
#include "yatf/include/yatf.hpp"
using namespace yacppl;
TEST(string, can_be_created) {
string str;
REQUIRE(str == "");
REQUIRE(str.empty());
REQUIRE_EQ(str.length(), 0u);
REQUIRE_EQ(str.size(), 0u);
REQUIRE_FALSE(str == "abc");
}
TEST(string, can_be_constructed_from_cst... | Mrokkk/yacppl | tests/string.cpp | C++ | mit | 6,613 |
module.exports = {
entry: {
'public/js/bundle.js': ['./index.js'],
},
output: {
filename: '[name]',
},
devtool: 'eval',
module: {
loaders: [
{
test: /.js$/,
exclude: /node_modules/,
loaders: ['babel'],
}
]
}
}
| LegitTalon/js-dedupe | webpack.config.js | JavaScript | mit | 276 |
// Copyright (c) 2014-2015 The AsturCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "asturcoinamountfield.h"
#include "asturcoinunits.h"
#include "guiconstants.h"
#include "qvaluecombobox.h"
#inclu... | KaTXi/ASTC | src/qt/asturcoinamountfield.cpp | C++ | mit | 4,947 |
<html>
<head>
<title>Basic</title>
<meta name="description" content="Large red-brown mountain terrain with <a-mountain>">
<meta property="og:image" content="https://raw.githubusercontent.com/ngokevin/kframe/master/components/mountain/examples/basic/preview.png"></meta>
<script src="../build.js"></scri... | JGL/APieceOfArtAsBigAsIndia | docs/kframe/components/mountain/examples/basic/index.html | HTML | mit | 2,129 |
using System.Collections.Generic;
using System.Linq;
namespace ComputerAlgebra
{
public static class Combinatorics
{
/// <summary>
/// Enumerate the permutations of x.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="n"></param>
/// <returns>... | dsharlet/ComputerAlgebra | ComputerAlgebra/Utils/Combinatorics.cs | C# | mit | 1,703 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimpleStatePattern
{
public class StateB : StateBase
{
char currentLetter = 'B';
public void Change(Context context)
{
Console.Write(System.Environm... | cbycraft/CarlRepo | learning/CS/SimpleStatePattern/SimpleStatePattern/SimpleStatePattern/StateB.cs | C# | mit | 1,007 |
package main
import (
"bytes"
"os"
"os/exec"
)
func panicOn(err error) {
if err != nil {
panic(err)
}
}
func FileExists(name string) bool {
fi, err := os.Stat(name)
if err != nil {
return false
}
if fi.IsDir() {
return false
}
return true
}
func DirExists(name string) bool {
fi, err := os.Stat(nam... | glycerine/geist | util.go | GO | mit | 707 |
import { expect } from 'chai'
import {List, Map} from 'immutable'
import categories from '../src/reducer.js'
describe("Category Test", () => {
it("should add a category", () => {
let initialState = Map({
user: 'Skye'
})
let expectedState = Map({
user: 'Skye',
categories: Map({
'Love': 0
})
})... | sheepfunk/poly-polygons | test/category_test.js | JavaScript | mit | 1,827 |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ky" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About SweetStake</source>
<translation type="unfinished"/>
</message>
<message>
<location lin... | SweetStake/SweetStake | src/qt/locale/bitcoin_ky.ts | TypeScript | mit | 107,903 |
// Copyright (c) 2016 Irfan Adilovic
// This software is licensed under the terms of the MIT license.
// See LICENSE for the text of the license.
#include <iostream>
#include <iomanip>
#include <limits>
#include <stdint.h>
#include <cstdio>
#include <typeinfo>
#include <inttypes.h>
using std::cout;
using std::cerr;
u... | Irfy/safe_ops | safe_test.cc | C++ | mit | 14,850 |
/*
* Copyright (c) 2016 Oiri Project
*
* This software is distributed under an MIT-style license.
* See LICENSE file for more information.
*/
package com.github.kimikage.oiri.svg;
import org.w3c.dom.svg.SVGMatrix;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Tran... | kimikage/oiri | app/src/main/java/com/github/kimikage/oiri/svg/Transform.java | Java | mit | 2,233 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using PholioVisualisation.DataAccess;
using PholioVisualisation.DataConstruction;
using PholioVisualisation.Export;
using PholioVisualisation.Export.FileBuilder.Containers;
using PholioVisualisation.Export.FileBuilder.SupportModels;
using PholioVisualisati... | PublicHealthEngland/fingertips-open | PholioVisualisationWS/ExportTest/FileBuilder/Writers/CsvBuilderIndicatorDataWriterTest.cs | C# | mit | 5,844 |
# aaronwest.github.io
A simple website using [Jekyll](http://jekyllrb.com) + [GitHub Pages](https://pages.github.com). Designed to function as a basic engineering notebook to jot down thoughts and ideas.
To view the website visit [notebook.aaronwest.net](http://notebook.aaronwest.net).
| aaronwest/aaronwest.github.io | README.md | Markdown | mit | 289 |
/**
* DevExtreme (core/component_registrator.js)
* Version: 16.2.5
* Build date: Mon Feb 27 2017
*
* Copyright (c) 2012 - 2017 Developer Express Inc. ALL RIGHTS RESERVED
* EULA: https://www.devexpress.com/Support/EULAs/DevExtreme.xml
*/
"use strict";
var $ = require("jquery"),
errors = require("./errors"),
... | imironica/Fraud-Detection-System | FraudDetection.Web/wwwroot/node_modules/devextreme/core/component_registrator.js | JavaScript | mit | 1,997 |
class MemeSlug < ActiveRecord::Base
belongs_to :meme
end
| b1nary/MayMay | app/models/meme_slug.rb | Ruby | mit | 59 |
/*
* PanoramaGL library
* Version 0.1
* Copyright (c) 2010 Javier Baez <javbaezga@gmail.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/LIC... | RamanDzianishchyk/Panoramer | HelloPanoramaGL/AppDelegate.h | C | mit | 816 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>W29820_text</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div style="margin-left: auto; margin-right: auto; width: 800px; overflow: hidden;">
... | datamade/elpc_bakken | ocr_extracted/W29820_text/page29.html | HTML | mit | 6,634 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<HTML>
<HEAD>
<TITLE>Form1H.xls</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="generator" content="pdftohtml 0.40">
<META name="author" content="theilman">
<META name="date... | datamade/elpc_bakken | html/pdf/W30785.pdf.html | HTML | mit | 505 |
#!/bin/bash
## This script installs the irace package, sets up the environment and launches
## irace. Then compresses its output as a tar.gz.
#SCENARIO is a irace's scenario file
SCENARIO=$1
# RUN is the run number to distinguish replications of irace
RUN=$2
shift 2
# RUN in condor starts at 0
let SEED=1234567+RUN
IR... | matthieu-vergne/jMetal | jmetal-experimental/src/main/resources/irace/run.sh | Shell | mit | 1,221 |
/*!
* Bootstrap v4.0.0-alpha.6 (https://getbootstrap.com)
* Copyright 2011-2017 The Bootstrap Authors
* Copyright 2011-2017 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
html {
font-family... | Sikilabs/sikilabs | static/css/bootstrap.css | CSS | mit | 191,925 |
# [Closet Cleanup](http://alexa.amazon.com/#skills/amzn1.ask.skill.8f149fb7-2f2a-493e-b28a-0ef15e91f0ae)
 Tomohiro Iizuka. All rights reserved.
* Licensed under the MIT license.
*/
#ifndef SYSTEM_HASHEDRAWARRAY_H_
#define SYSTEM_HASHEDRAWARRAY_H_
namespace alinous {
template <typename T, typename H, typename C>
class HashedRawArray {
public:
void* operator new(size_t size) throw() {
ret... | alinous-core/alinous-elastic-db | lib/src_lib/system/HashedRawArray.h | C | mit | 3,731 |
<!DOCTYPE html>
<html lang="ko-kr">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Hugo 0.15" />
<title>#Ludens</title>
<meta property=... | ludens/ludens.kr | tags/1461/index.html | HTML | mit | 10,522 |
$(document).ready(function(){hopscotch.startTour({id:"my-intro",steps:[{target:"logo-tour",title:"Logo Here",content:"You can find here status of user who's currently online.",placement:"bottom",yOffset:10},{target:"display-title-tour",title:"Display Text",content:"Click on the button and make sidebar navigation small.... | kma14/Zhua | Zhua.Website/AdminPortal_Assets/js/pages/tour.init.js | JavaScript | mit | 632 |
package main
import (
"context"
"fmt"
"log"
"net/http"
"strconv"
"strings"
"time"
"github.com/PuerkitoBio/goquery"
)
const (
userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"
timeLayout = "02/01/2006"
storagePath = ".local/... | igungor/cmd | notion-yt/fund.go | GO | mit | 2,429 |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="eo" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About BitSeeds</source>
<translation type="unfinished"/>
</message>
<message>
<location line=... | BitSeedsFoundation/BitSeeds | src/qt/locale/bitcoin_eo.ts | TypeScript | mit | 117,796 |
<?php
namespace Rudolf\Modules\Modules\One\Admin;
use Rudolf\Component\Alerts\Alert;
use Rudolf\Component\Alerts\AlertsCollection;
use Rudolf\Component\Modules\ConfigEditor;
use Rudolf\Framework\Controller\AdminController;
class SwitchController extends AdminController
{
private $blacklist = [
'Dashboard... | rudolfcms/rudolf | src/module/Modules/One/Admin/SwitchController.php | PHP | mit | 1,916 |
<?
// DATABASE
define("DB_SERVER", "localhost"); //the mysql server address - often, localhost
define("DB_USERNAME", "root"); //the mysql username
define("DB_PASSWORD", "11913431"); //the mysql password
define("DB_NAME", "draygon"); //the name of the mysql database
// CLIENT
define... | snider/draygonknights | server/app/classes/config.php | PHP | mit | 1,743 |
#!/usr/bin/env python3
# Copyright (c) 2015-2018 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Test block processing."""
import copy
import struct
import time
from test_framework.blocktools import ... | Bushstar/UFO-Project | test/functional/feature_block.py | Python | mit | 60,904 |
@extends("layout")
@section("content")
<script type="text/javascript" src="{{ URL("js/interactive.js") }}">
</script>
<section id="wrapper">
@if ($imagenes->isEmpty())
<section id="photos-empty">
<p class="center">
Todavía no hay imágenes
</p>
</section>
@else
<section id... | iamas92/piclike | resources/views/user.blade.php | PHP | mit | 5,037 |
<?php
namespace Zakharovvi\HumansTxtBundle\Tests\Renderer;
use Zakharovvi\HumansTxtBundle\Tests\Filesystem;
use Zakharovvi\HumansTxtBundle\Renderer\TwigRenderer;
use Zakharovvi\HumansTxtBundle\Authors\Author;
/**
* @author Vitaliy Zakharov <zakharovvi@gmail.com>
*/
class TwigRendererTest extends \PHPUnit_Framework_... | zakharovvi/ZakharovviHumansTxtBundle | Tests/Renderer/TwigRendererTest.php | PHP | mit | 2,993 |
package pl.edu.wat.tim.webstore.service;
import pl.edu.wat.tim.webstore.model.UploadFile;
/**
* Created by Piotr on 15.06.2017.
*/
public interface UploadFileService {
void save(UploadFile uploadFile);
UploadFile getUploadFile(String name);
}
| PiotrJakubiak/GymNotes | src/main/java/pl/edu/wat/tim/webstore/service/UploadFileService.java | Java | mit | 256 |
'use strict';
angular.module('mgcrea.ngStrap.dropdown', ['mgcrea.ngStrap.tooltip'])
.provider('$dropdown', function() {
var defaults = this.defaults = {
animation: 'am-fade',
prefixClass: 'dropdown',
prefixEvent: 'dropdown',
placement: 'bottom-left',
template: 'dropdown/dropdown.t... | avizuber/karma-web | app/bower_components/angular-strap/src/dropdown/dropdown.js | JavaScript | mit | 4,859 |
// Copyright 2015 XLGAMES Inc.
//
// Distributed under the MIT License (See
// accompanying file "LICENSE" or the website
// http://www.opensource.org/licenses/mit-license.php)
#pragma once
#include "ConversionCore.h" // for ObjectGuid
#include "../RenderCore/Assets/TransformationCommands.h"
#include "../RenderCore/... | xlgames-inc/XLE | ColladaConversion/NascentCommandStream.h | C | mit | 8,991 |
/*
*
* hocNotification
*
*/
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { compose, setPropTypes } from 'recompose';
import { createStructuredSelector } from 'reselect';
import { selectNotifications } from 'features/common_ui/selectors';
const mapStateToProps = createStructure... | ch-apptitude/goomi | setup/src/universal/features/common_ui/hoc/hocNotification.js | JavaScript | mit | 615 |
<?php return unserialize('a:1:{i:0;O:27:"Doctrine\\ORM\\Mapping\\Column":10:{s:4:"type";s:6:"string";s:6:"length";i:255;s:9:"precision";i:0;s:5:"scale";i:0;s:6:"unique";b:0;s:8:"nullable";b:0;s:4:"name";s:15:"nom_responsable";s:7:"options";a:0:{}s:16:"columnDefinition";N;s:5:"value";N;}}'); | guillaume62/MDL | app/cache/dev/annotations/Lam-MdlBundle-Entity-organisation$nom_responsable.cache.php | PHP | mit | 291 |
#ifndef MYY_DATA_SECTION_H
#define MYY_DATA_SECTION_H 1
#include <stdint.h>
struct data_section_status {
unsigned int allocated;
void * address;
};
struct data_symbol {
uint32_t id;
uint32_t align;
uint32_t size;
uint8_t * name;
uint8_t * data;
};
struct data_section {
struct data_symbol * symbols;
uint32_t... | Miouyouyou/early-assembler-prototype | sections/data.h | C | mit | 2,255 |
<?php
declare(strict_types=1);
/*
* This file is part of the G.L.S.R. Apps package.
*
* (c) Dev-Int Création <info@developpement-interessant.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Core\Infrastructure\Doc... | Dev-Int/glsr | server/src/Core/Infrastructure/Doctrine/Migrations/Version20210502131525.php | PHP | mit | 4,815 |
package com.mybatistemplate.adapter;
import com.mybatistemplate.core.GeneratorIdSqlCallback;
import com.mybatistemplate.core.IdGeneratorType;
import org.apache.ibatis.mapping.MappedStatement;
import org.apache.ibatis.mapping.ResultMap;
/**
* Created by leicheng on 2016/7/12.
*/
public abstract class Templ... | leicheng6563/MybatisTemplate | MybatisTemplate/src/main/java/com/mybatistemplate/adapter/TemplateExAdapter.java | Java | mit | 673 |
<?php
namespace Proxies\__CG__\Mistra\TutoBundle\Entity;
/**
* THIS CLASS WAS GENERATED BY THE DOCTRINE ORM. DO NOT EDIT THIS FILE.
*/
class User extends \Mistra\TutoBundle\Entity\User implements \Doctrine\ORM\Proxy\Proxy
{
private $_entityPersister;
private $_identifier;
public $__isInitialized__ = fal... | sportelli/mistra_tuto_symfony2 | app/cache/prod/doctrine/orm/Proxies/__CG__MistraTutoBundleEntityUser.php | PHP | mit | 3,004 |
// This contains the module definition factory function, application state,
// events, and the router.
this.jda = {
// break up logical components of code into modules.
module: function()
{
// Internal module cache.
var modules = {};
// Create a new module reference scaffold or loa... | corinnecurcie/Japan-Digital-Archive | web/js/app/jda.js | JavaScript | mit | 15,904 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
local source="${BUILT_PRO... | monadis/PopupDialog | Example/Pods/Target Support Files/Pods-PopupDialog_Example/Pods-PopupDialog_Example-frameworks.sh | Shell | mit | 3,621 |
require 'spec_helper'
module Sendgrid
module API
module Entities
describe Stats do
subject { described_class.new }
it { should respond_to(:delivered) }
it { should respond_to(:request) }
it { should respond_to(:unique_open) }
it { should respond_to(:unique_click) }
... | renatosnrg/sendgrid-api | spec/sendgrid/api/entities/stats_spec.rb | Ruby | mit | 728 |
//! @file
//! @copyright See <a href="LICENSE.txt">LICENSE.txt</a>.
#pragma once
#include "entity.hpp"
namespace ql {
//! Makes @p entity_id an entity: a being or object that can exist in the world.
auto make_entity(reg& reg, id entity_id, location location) -> id {
reg.assign<ql::location>(entity_id, location);... | jonathansharman/Questless | Questless/Questless/src/entities/entity.cpp | C++ | mit | 346 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Threading;
using System.Runtime.Remoting.Lifetime;
using System.Windows.Forms;
using System.Drawing;
using System.Linq;
using... | jstammers/EDMSuite | NavHardwareControl/Controller.cs | C# | mit | 35,814 |
//**********************************************
//Singleton Texture Manager class
//Written by Ben English
//benjamin.english@oit.edu
//
//For use with OpenGL and the FreeImage library
//**********************************************
#ifndef TextureManager_H
#define TextureManager_H
#include <windows.h>
... | kypp/earth-viewer | earthView/TextureManager.h | C | mit | 1,524 |
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("Kh... | khaale/Khaale.TechTalks.AwesomeLibs | src/BusinessService/Properties/AssemblyInfo.cs | C# | mit | 1,478 |
/**
* This code was auto-generated by a Codezu.
*
* Changes to this file may cause incorrect behavior and will be lost if
* the code is regenerated.
*/
package com.mozu.api.resources.commerce.orders;
import com.mozu.api.ApiContext;
import java.util.List;
import java.util.ArrayList;
import com.moz... | sanjaymandadi/mozu-java | mozu-java-core/src/main/java/com/mozu/api/resources/commerce/orders/FulfillmentActionResource.java | Java | mit | 6,320 |
package at.ac.tuwien.big.xmlintelledit.xmltext.ecoretransform.impl;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
... | patrickneubauer/XMLIntellEdit | xmlintelledit/xmltext/src/main/java/at/ac/tuwien/big/xmlintelledit/xmltext/ecoretransform/impl/TransformatorStructure.java | Java | mit | 62,302 |
#import "MOBProjection.h"
@interface MOBProjectionEPSG102713 : MOBProjection
@end
| jkdubr/Proj4 | Pod/Classes/Projection/MOBProjectionEPSG102713.h | C | mit | 84 |
require 'rails_helper'
RSpec.describe Scrap, :type => :model do
context 'factories' do
it 'valid' do
expect(build(:scrap)).to be_valid
end
end
context 'validation' do
it { is_expected.to validate_presence_of(:message) }
end
end
| ppdeassis/scrapbook | spec/models/scrap_spec.rb | Ruby | mit | 257 |
#ifndef __UIDICTIONARY_H
#define __UIDICTIONARY_H
#include <System/Tools/Array.h>
#include <System/Tools/HashHelper.h>
namespace suic
{
template<typename TKey, typename TValue, typename Comparer>
class Dictionary1
{
public:
Dictionary1()
{
Initialize(0);
}
Dictionary1(int capacity)
... | china20/MPFUI | include/suic/System/Tools/Dictionary.h | C | mit | 6,080 |
// Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <qt/trafficgraphwidget.h>
#include <interfaces/node.h>
#include <qt/clientmodel.h>
#include <QColor>
#include <QPa... | cculianu/bitcoin-abc | src/qt/trafficgraphwidget.cpp | C++ | mit | 5,102 |
package de.felixroske.jfxsupport.util;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.core.type.classreading.MetadataReader;
import org.springframework.core.type.classreading.MetadataReaderFactory;
import java.io.IOException;
/**
* Created by Krystian Kałużny on 03.0... | krystiankaluzny/springboot-javafx-support | src/test/java/de/felixroske/jfxsupport/util/InactiveSpringBootAppExcludeFilter.java | Java | mit | 812 |
<!DOCTYPE html>
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="PortabilityAnalysis0">.NET Portability Report</title>
<style>
... | kuhlenh/port-to-core | Reports/rx/rx-interfaces.2.2.5/System.Reactive.Interfaces-portable-net45%2Bwinrt45%2Bwp8%2Bwpa81.html | HTML | mit | 9,667 |
/*******************************************************************************
@file startup.h
@author Rajmund Szymanski
@date 11.12.2019
@brief Startup file header for iar c compiler.
*******************************************************************************/
#pragma once
/***********************... | stateos/IntrOS-LM4F120XL | startup/LM4F/.iarcc/startup.h | C | mit | 1,309 |
'''
Created by auto_sdk on 2015.06.23
'''
from aliyun.api.base import RestApi
class Rds20140815CheckAccountNameAvailableRequest(RestApi):
def __init__(self,domain='rds.aliyuncs.com',port=80):
RestApi.__init__(self,domain, port)
self.AccountName = None
self.DBInstanceId = None
self.resourceOwnerAccount = None
... | francisar/rds_manager | aliyun/api/rest/Rds20140815CheckAccountNameAvailableRequest.py | Python | mit | 408 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.