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
/******************************* * 名称:详情 * 作者:rubbish.boy@163.com ******************************* */ //获取应用实例 var app = getApp() var config={ //页面的初始数据 data: { title : '名片介绍', userInfo : {}, session_id :'', requestlock :true, domainName ...
q1082121/xcx
pages/businessCard/view/view.js
JavaScript
mit
4,635
#ifndef CHILON_VARIANT_HPP #define CHILON_VARIANT_HPP #include <chilon/meta/at.hpp> #include <chilon/meta/index_of.hpp> #include <chilon/meta/max.hpp> #include <chilon/meta/return.hpp> #include <chilon/meta/void.hpp> #include <chilon/meta/call_type.hpp> #include <chilon/meta/contains.hpp> #include <chilon/meta/require...
ohjames/chilon
variant.hpp
C++
mit
14,430
// // EditorTools.cpp // Editor // // Created by C218-pc on 15/7/14. // Copyright (c) 2015年 Bullets in a Burning Box, Inc. All rights reserved. // #include "EditorTools.h" #include <QPoint> #include <QPointF> #include <QSize> #include <QSizeF> #include <QList> #include <QMap> #include <QRect> #include <QRectF> #i...
youlanhai/cc-qt-framework
Classes/editor/EditorTools.cpp
C++
mit
12,756
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.network.implementation; import com.azure.core.annotation.BodyParam; import com.azure.core.annotation.Delete; import com.azure.co...
selvasingh/azure-sdk-for-java
sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java
Java
mit
72,271
--- layout: post title: Oracle SGA date: 2017-03-18 18:28:58 categories: - 数据库 tags: - oracle --- 共享池(Shared Pool),共享池是SGA保留的区,用于存储如SQL、PL/SQL存储过程及包、数据字典、锁、字符集信息、安全属性等。 共享池是Oracle数据库的术语,是数据库实例(Instance)的内存中SGA的一部分,它具体包含如下部分: 库缓存(Library Cache)。该区存放有经过语法分析并且正确的SQL语句,并随时都准备被执行。具体包含: 共享SQL区(Shared Pool Are...
netgene/netgene.github.com
_posts/2017/2017-03-18-oracle-sga.md
Markdown
mit
3,734
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
mjbvz/vscode
src/vs/workbench/contrib/tasks/common/tasks.ts
TypeScript
mit
25,741
package network; import com.firebase.client.*; import network.interfaces.*; import network.model.*; /** * Created by brian on 1/24/16. */ public class FirebaseConversationManager implements ConversationManager { public static final int MAX_MESSAGES = 12; private String myUid; private Firebase chatRef; ...
brain-murphy/turingchatai
src/main/java/network/FirebaseConversationManager.java
Java
mit
3,006
<!DOCTYPE html> <html> <head> <title>DBTag.java</title> <meta http-equiv='Content-Type' content='text/html; charset=UTF-8'/> <link rel='stylesheet' type='text/css' href='../coverage.css'/> <link rel='shortcut icon' type='image/png' href='../logo.png'/> <script type='text/javascript' src='../coverage.js'></scr...
andrez89/MusictextService
coverage-report/db/DBTag.html
HTML
mit
3,103
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.anggaranothing.pakar.dyslexia.client; import com.anggaranothing.pakar.dyslexia.dao.IfCfLevelDao; import com.anggaranothing...
anggaranothing/spselasa
SistemPakar_Anggara_Client/src/com/anggaranothing/pakar/dyslexia/client/FrameRelation.java
Java
mit
54,337
#ifndef MBLIB_RANGE_COUNT_HPP_ #define MBLIB_RANGE_COUNT_HPP_ #include <mblib/range/traits.hpp> #include <cstddef> class counting_range { public: typedef std::size_t value_type; typedef std::size_t size_type; typedef range_tag range_tag; private: std::size_t i; public: counting_range(size_t start...
mbid/asm-lisp
include/mblib/range/count.hpp
C++
mit
675
v = JSONSchema({ k1: { type: String }, k2: { type: Number }, k3: { type: Boolean }, k4: [{ x: { type: Number }, y: { type: String } }], k5: { type: Date }, k6: { x: { t...
shawonkanji/json-schema-validator
bundle.js
JavaScript
mit
877
--- layout: post title: "<深入浅出React和Redux> - 模块化React和Redux应用" date: 2017-11-07 23:16:07 categories: 读书笔记 --- # 模块化React和Redux应用 实际工作中, 应用汇变得很复杂, 需要划分为多个模块进行管理, 有效的组织代码结构, 精心设计状态树, 并且充分利用开发辅助工具. ## 模块化应用的要点 React适合**视图层**的工作, 而Redux才适合担当**状态管理**的工作. 开始一个新应用的时候, 需要考虑: - 代码文件的**组织结构** - 确定**模块边界** - Store的**状态树设...
stoneyangxu/stoneyangxu.github.io
_posts/blog/2017-11-07-dissecting-react-and-redux-3.md
Markdown
mit
14,968
package org.herrdommel.messaging; import org.herrdommel.batch.PersonItemProcessor; import org.herrdommel.model.Book; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.jms.annotation.JmsListener; import org.springframework.stereotype.Component; /** * @author <a href="mailto:dominik.m...
herrdommel/spring-boot-seed
src/main/java/org/herrdommel/messaging/MessagingReceiver.java
Java
mit
1,120
<?php /* * This file is part of the Alice package. * * (c) Nelmio <hello@nelm.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationB...
nelmio/alice
src/FixtureBuilder/Denormalizer/Fixture/SpecificationBagDenormalizer/Calls/MethodFlagHandler/ConfiguratorFlagHandler.php
PHP
mit
1,072
## [4.0.2](https://github.com/karma-runner/grunt-karma/compare/v4.0.1...v4.0.2) (2021-05-11) ### Bug Fixes * **karma:** accept karma 6.x in peerDependencies ([#303](https://github.com/karma-runner/grunt-karma/issues/303)) ([fe01a67](https://github.com/karma-runner/grunt-karma/commit/fe01a67d5d85748f2bbe62a96e2ff52e0...
karma-runner/grunt-karma
CHANGELOG.md
Markdown
mit
6,380
<?php // what needs to be here // a list of teams in the region // a list of comps in the region // your running QP and RP for reference // a place to edit your team description, robot abilities, images, and team name? ?> <!DOCTYPE html> <html> <head> <title> Reliability Index - FTCList </title> <link rel="styles...
Bambusa6226/ftclist
rel/index.php
PHP
mit
1,424
# Whitehall API Whitehall is primarily a publishing application but it also provides an API used by some applications. This API is public and is served under [https://www.gov.uk/api/](https://www.gov.uk/api/governments). Whitehall is not the only application to provide APIs under this path. For example, [/api/content...
alphagov/whitehall
docs/api.md
Markdown
mit
3,304
require 'huanxin/version' require 'huanxin/configuration' require 'huanxin/service' module Huanxin # Your code goes here.. module_function def root File.dirname __dir__ end # Return the lib path of this gem. # # @return [String] Path of the gem's lib. def lib File.join root, 'lib' end # R...
yeluojun/haunxin
lib/huanxin.rb
Ruby
mit
450
package oauth4j.springjdbc; import java.sql.ResultSet; import java.sql.SQLException; import oauth4j.core.Client; import org.springframework.jdbc.core.RowMapper; public class ClientRowMapper implements RowMapper<Client> { @Override public Client mapRow(ResultSet rs, int rowNum) throws SQLException { String clie...
sixro/oauth4j
spring-jdbc/src/main/java/oauth4j/springjdbc/ClientRowMapper.java
Java
mit
555
<?php if (!(defined('IN_IA'))) { exit('Access Denied'); } class Setting_EweiShopV2Page extends PluginWebPage { public function main() { global $_GPC; global $_W; $uniacid = intval($_W['uniacid']); $data = pdo_fetch('select * from ' . tablename('ewei_shop_live_setting') . ' where uniacid = ' . $uniacid . ' '...
Broomspun/shanque
addons/ewei_shopv2/plugin/live/core/web/setting.php
PHP
mit
2,236
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _05Lab_Bomb_Numbers { class Program { static void Main(string[] args) { //Write a program that reads sequence of numbers and special bomb number with a cert...
tanyta78/ProgramingFundamentals
04Lists/ListHomework/05Lab Bomb Numbers/Program.cs
C#
mit
1,796
<html> <head> </head> <body> <div id="root"></div> </body> <script src="dist.js"></script> </html>
odojs/odojs-autocomplete
index.html
HTML
mit
101
//------------------------------------------------------------------------------ // <auto-generated> // 這段程式碼是由工具產生的。 // 執行階段版本:4.0.30319.42000 // // 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼, // 變更將會遺失。 // </auto-generated> //------------------------------------------------------------------------------ names...
psliurt/HttpQlight
HttpQlight/Properties/Settings.Designer.cs
C#
mit
1,102
--- layout: post title: Tweets date: 2018-09-11 summary: These are the tweets for September 11, 2018. categories: ---
alexlitel/congresstweets
_posts/2018-09-11--tweets.md
Markdown
mit
137
class News < ActiveRecord::Base validates_presence_of :title validates_uniqueness_of :title validates_presence_of :category_id belongs_to :category has_many :images end
aiw-group8-5c11/finalproject_astronomy
app/models/news.rb
Ruby
mit
180
<div class="home"> <div class="home-wrapper"> <div class="row featured-movie" *ngIf="featuredMovie && featuredVideo"> <div class="left-panel"> <app-movie-card [movie]="featuredMovie"></app-movie-card> </div> <div class="right-panel"> <div ...
DanielYKPan/movies-finder
src/app/home/home.component.html
HTML
mit
888
""" .. moduleauthor:: Chris Dusold <DriveLink@chrisdusold.com> A module containing general purpose, cross instance hashing. This module intends to make storage and cache checking stable accross instances. """ from drivelink.hash._hasher import hash from drivelink.hash._hasher import frozen_hash from drivelink.hash._...
cdusold/DriveLink
drivelink/hash/__init__.py
Python
mit
357
# Builds a Docker image for SciPy with Jupyter Notebook. # # It can be found at: # https://hub.docker.com/r/compdatasci/scipy-notebook # # Authors: # Xiangmin Jiao <xmjiao@gmail.com> FROM compdatasci/base LABEL maintainer "Xiangmin Jiao <xmjiao@gmail.com>" # Install scipy, sympy, and pandas USER root WORKDIR /tmp ...
compdatasci/dockerfiles
scipy-jupyter/Dockerfile
Dockerfile
mit
475
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>NanoScroll</title> <link rel="stylesheet" href="http:&#x2F;&#x2F;yui.yahooapis.com&#x2F;3.8.0pr2&#x2F;build&#x2F;cssgrids&#x2F;cssgrids-min.css"> <link rel="stylesheet" href="..&#x2F;assets/vendor/prettify/prettify-min.css"> <link...
bevacqua/nanoScrollerJS
docs/classes/NanoScroll.html
HTML
mit
61,334
#include "stdio.h" int main(int argc, char *argv[]) { char numeroStr[4]; char potenciaStr[4]; int numero, potencia, resultado; resultado = 1; printf("Introduzca un numero: "); fgets(numeroStr, sizeof(numeroStr), stdin): printf("Introduzca una potencia: "); fgets(potenciaStr, sizeof(...
clinoge/primer-semestre-udone
src/05-ciclos/mientras/mientras.c
C
mit
498
<?php namespace CoinOptimizer; class CoinCollection { /** * @var Coin[] */ private $coins; /** * @param Coin[] $coins */ public function __construct($coins = []) { $this->setCoins($coins); } /** * Get sorted coins, with the largest (highest value) first ...
konrness/coin-optimizer
src/CoinOptimizer/CoinCollection.php
PHP
mit
1,246
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_72) on Thu Feb 18 20:49:53 EST 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>org.red5.server.adapter (Red...
Red5/red5.github.io
javadoc/red5-server-common/org/red5/server/adapter/package-frame.html
HTML
mit
1,336
package com.packt.webstore.domain.repository.impl; import com.packt.webstore.domain.Comment; import com.packt.webstore.domain.repository.CommentRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.stereotype.Repository;...
Przemek625/Spring-MVC-webshop
webstore/src/main/java/com/packt/webstore/domain/repository/impl/CommentRepositoryImpl.java
Java
mit
1,924
# ProductTracker This project is a product tracker. It basically collects data from an excel file and stores in database.
deanagan/ProductTracker
app/README.md
Markdown
mit
122
--- title: Belgium published: true featured_image_path: featured_image_attribution: geocode: BEL iso_code: BE territory: false state_party: true signed_but_not_ratified: false signed_date: 1998-09-10T00:00:00.000Z ratified_or_acceded_date: 2000-06-28T00:00:00.000Z entry_into_force_date: 2002-07-01T00:00:00.000Z ratifie...
ABA-Center-for-Human-Rights/aba-icc
_countries/belgium.md
Markdown
mit
891
#!/bin/bash xml_parser() { if [ $OSTYPE == msys ]; then echo "xml" else echo "xmlstarlet" fi } ## # $1: node selecting XPath expression ("ns" alias is predifined for Maven's POM namespace) # $2: path to XML file ## node_text() { # can not use an empty string as the default output, using this secret constant i...
jirac/jirac
core_xml_functions.sh
Shell
mit
1,100
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>國會調查兵團 CIC - Congressional Investigation Corps</title> <!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link href="css/admin-style.css" rel="stylesheet" type="text/css"> </head> <body> <div id="outer"...
billy3321/cic-website
templete/admin/party-edit.html
HTML
mit
2,295
--- layout: post title: Mệt categories: - blog --- Sao mệt hả? Thì nhiều thứ chứ sao? Bắt đầu ho trở lại. Ờ cái người kiểu gì mà đói cái là mất toàn bộ kiềm chế, haizzz. Nếu ai đó thấy mình đang đói thì liệu mà tránh xa đừng có chọc vào, hoặc tốt bụng thì kiếm dùm gì đó nhét vào miệng là mọi chuyện sẽ êm đẹp thôi. #...
nguyenkha/nguyenkha.github.com
_posts/2015-11-25-met.md
Markdown
mit
2,925
<?php return array ( 'New message from {senderName}' => 'Новое сообщение от {senderName}', 'and {counter} other users' => 'и {counter} других пользователей', );
ProfilerTeam/Profiler
protected/modules/mail/messages/ru/models_Message.php
PHP
mit
201
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Azureoth.RestfulDb.Database { public class TableNotFoundException : Exception { public TableNotFoundException(string message) : base(message) { } public TableNotFoundExce...
azureoth/restful-db
src/Azureoth.RestfulDb/Database/TableNotFoundException.cs
C#
mit
430
// // PLKThermometerBottomLayer.h // Dress // // Created by Sean Pilkenton on 7/22/13. // Copyright (c) 2013 Patricio Enterprises. All rights reserved. // #import <QuartzCore/QuartzCore.h> @interface SPThermometerBottomLayer : CALayer + (id)layerWithRadius:(CGFloat)radius color:(UIColor *)color; @end
pilks/SPThermometer
SPThermometerBottomLayer.h
C
mit
310
import color from 'color'; import { Platform } from 'react-native'; /* This is an example of a theme */ export default { // Badge badgeBg: '#ED1727', badgeColor: '#fff', // Button btnFontFamily: (Platform.OS === 'ios') ? 'HelveticaNeue' : 'Roboto_medium', btnDisabledBg: '#b5b5b5', btnDisabledClr: '...
NativeForms/framework-src
src/App/themes/base.theme.js
JavaScript
mit
4,619
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows; using Dependinator.Common.ApiHandling; using Dependinator.Utils; namespace Dependinator.Common.ModelMetadataFolders.Private { internal class OpenModelService : IOpenModelService { pr...
michael-reichenauer/Dependinator
Dependinator/Common/ModelMetadataFolders/Private/OpenModelService.cs
C#
mit
3,537
/* * I'm well aware how much of a mess this program is. That's what tends * to happen with complicated programs. If you're trying to grok it, * please drop me an e-mail at adam@kurkiewicz.pl, I'll be happy to give * you a few pointers. * Adam */ import java.util.ArrayList; import java.util.concurrent.ConcurrentLi...
picrin/SCDC
src/Main.java
Java
mit
2,558
use graph::Graph; use adjacency_matrix::AdjacencyMatrix; pub fn traveling_salesman_problem(g: &Graph) -> Vec<usize> { if g.vertex_count == 0 { return vec![]; } let m = AdjacencyMatrix::from_graph(&g); optimize_tour(&construct_tour(&m), &m) } // construct_tour incrementally inserts the furthest...
peferron/algo
traveling_salesman_problem/rust/traveling_salesman_problem.rs
Rust
mit
2,716
<?php declare(strict_types=1); namespace GraphQL\Doctrine\Annotation; /** * Annotation used to override values for an field argument in GraphQL. * * The name of the argument is required and must match the actual PHP argument name. * * All other values are optional and should only be used to override * what is ...
Ecodev/graphql-doctrine
src/Annotation/Filter.php
PHP
mit
1,017
<?php namespace Codeception; use Codeception\Exception\ConfigurationException; use Symfony\Component\EventDispatcher\EventDispatcher; use Symfony\Component\EventDispatcher\EventSubscriberInterface; class Codecept { const VERSION = "2.1.0"; /** * @var \Codeception\PHPUnit\Runner */ protected $ru...
abbeshamza/TestCodeception
vendor/codeception/codeception/src/Codeception/Codecept.php
PHP
mit
7,682
2015.02.04 ========== * Checked tightness on YZ traverse screws * Made a pointer bracket for finding the turbine's zero angle. Found the location by putting an I-beam across the front edge of the frame and measuring 2.177 inches away, 8.625 inches down from the blade tip. * Degreased Vectrino mounting strut for ap...
UNH-CORE/RM2-tow-tank
Documents/Lab notebooks/2015.02.04-install.md
Markdown
mit
449
export * from './baPageTop'; // export * from './baMsgCenter'; export * from './baSidebar'; export * from './baMenu/components/baMenuItem'; export * from './baMenu'; export * from './baContentTop'; export * from './baCard'; export * from './baAmChart'; export * from './baChartistChart'; export * from './baBackTop'; exp...
sahil0026/pint
src/app/theme/components/index.ts
TypeScript
mit
453
# Development Process * Semver is used for versionon * `master` represents the latest state of the app * features should be implemented on feature branches `feature/*` * releases are managed by adding flags to commit messages * hotfixes to previous version are implemented on `hotfix/X.Y` branches (X.Y is major+minor v...
ifrost/starterkit
docs/dev/process.md
Markdown
mit
1,641
'use strict'; var _ = require('lodash'); var request = require('request'); var VERSION = require('../package.json').version; var REST_BASE_URL = 'https://api.spike.cc/v1/'; /** * SpikeAPI */ function SpikeAPI(options) { this.options = _.assign({ secretKey: '', publishableKey: '' }, options); this.requ...
takayukii/node-spike-api
lib/spike-api.js
JavaScript
mit
7,195
# github user name. # # %w[github udzura] default["github-pubkey"]["github-members"] = %w[] # system user name. # # %w[fluentd-user hrforecast-user] default["github-pubkey"]["usernames"] = %w[]
aiming-cookbooks/github-pubkey
attributes/default.rb
Ruby
mit
195
<?php namespace FS\SolrBundle\Doctrine\Annotation; use Doctrine\Common\Annotations\Annotation; /** * @Annotation */ class MetaFields extends Field { public $fields = array(); }
andythorne/SolrBundle
Doctrine/Annotation/MetaFields.php
PHP
mit
185
%% LaTeX Beamer presentation template (requires beamer package) %% see http://bitbucket.org/rivanvx/beamer/wiki/Home %% idea contributed by H. Turgut Uyar %% template based on a template by Till Tantau %% this template is still evolving - it might differ in future releases! % by: % amir sohrabi % this file is presen...
eda-globetrotter/SienaLaTeX
latex_introduction_to/tex/introduction_to_latex.tex
TeX
mit
5,810
var translattionTable = { "search": "Buscar", "emptyTable": "", "decimal": "", "info": "Mostrando _START_ a _END_ de _TOTAL_ entradas", "infoEmpty": "", "infoFiltered": "(filtradas de _MAX_ entradas)", "infoPostFix": "", "thousands": ",", "lengthMenu": "Mostrar _MENU_", "loading...
trivialbox/aluc
public/js/common/tables.js
JavaScript
mit
526
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_65) on Wed Dec 03 20:21:22 CET 2014 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>Uses of Class net.s...
byronka/xenos
utils/pmd-bin-5.2.2/docs/pmd-plsql/apidocs/net/sourceforge/pmd/lang/plsql/ast/class-use/ASTEqualsOldIDNewID.html
HTML
mit
10,192
<?php namespace Fup\UnividaBundle\Entity; use Doctrine\ORM\EntityRepository; /** * DatosBasicosReunionRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class DatosBasicosReunionRepository extends EntityRepository { }
albeirobet/fup
src/Fup/UnividaBundle/Entity/DatosBasicosReunionRepository.php
PHP
mit
287
<?php class ApartmentController extends AdminController { /** * @return array action filters */ public function filters() { return array( 'accessControl', // perform access control for CRUD operations ); } /** * Specifies the access control rules. * This method is used by the 'accessControl' filt...
ata/latumentent
protected/controllers/admin/ApartmentController.php
PHP
mit
3,773
// *********************************************************************** // Copyright (c) 2011-2014 Charlie Poole // // 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, ...
michal-franc/nunit
src/NUnitEngine/nunit.engine/Runners/ProcessRunner.cs
C#
mit
9,396
<?php use Symfony\Component\HttpKernel\Kernel; use Symfony\Component\Config\Loader\LoaderInterface; class AppKernel extends Kernel { public function registerBundles() { $bundles = array( new Symfony\Bundle\FrameworkBundle\FrameworkBundle(), new Symfony\Bundle\SecurityBundle\Sec...
josephassiga/Devis
app/AppKernel.php
PHP
mit
1,400
package mutation import ( "math/rand" "testing" "github.com/arl/evolve/generator" "github.com/stretchr/testify/require" ) func TestStringMutation(t *testing.T) { rng := rand.New(rand.NewSource(99)) alphabet := "abcd" sm := &String{ Alphabet: alphabet, Probability: generator.ConstFloat64(0.5), } mu...
aurelien-rainone/evolve
operator/mutation/string_mutation_test.go
GO
mit
1,020
// T42Frame.h : header file // ///////////////////////////////////////////////////////////////////////////// // T42Frame frame struct TalkEditChars { CHAR m_cErase; CHAR m_kill; CHAR m_wErase; }; class T42View; class T42Frame : public CFrameWnd { DECLARE_DYNCREATE(T42Frame) // Attributes publi...
hacker/T42
T42Frame.h
C
mit
5,399
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
Squidex/squidex
backend/src/Squidex.Domain.Apps.Core.Operations/HandleRules/EditorAttribute.cs
C#
mit
686
package edu.vse.dtos; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import java.util.List; import static com.fasterxml.jackson.annotation.JsonTypeInfo.As.WRAPPER_OBJECT; import static com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME; @JsonTypeInfo(i...
jirkae/BeerCheese
backend/beer-app/src/main/java/edu/vse/dtos/Packages.java
Java
mit
594
'use strict'; const { expect } = require('chai'); const _ = require('lodash'); const sinon = require('sinon'); const run = require('../../../src/lib/run'); describe('Command runner library', () => { describe('run method', () => { const data = [ { name: 'first', words: ['foo', 'bar'], ...
daxelrod/jowl
test/unit/lib/run.js
JavaScript
mit
2,058
from unittest import TestCase import pandas as pd import pandas.util.testing as tm import numpy as np import trtools.core.topper as topper import imp imp.reload(topper) arr = np.random.randn(10000) s = pd.Series(arr) df = tm.makeDataFrame() class TestTopper(TestCase): def __init__(self, *args, **kwargs): ...
dalejung/trtools
trtools/core/tests/test_topper.py
Python
mit
8,499
package main; import controller.ModelController; import javafx.application.Application; import javafx.geometry.Rectangle2D; import javafx.stage.Screen; import javafx.stage.Stage; public class SLogo extends Application { @Override public void start(Stage stage) { Screen screen = Screen.getPrimary(); Rect...
karenli1995/slogo_ide
src/main/SLogo.java
Java
mit
580
class TaskListPageController < ApplicationController def test end end
pierre-x/life-planner
app/controllers/task_list_page_controller.rb
Ruby
mit
77
using System; using DbAppSettings.Model.DataAccess.Interfaces; namespace DbAppSettings.Model.Service.CacheManager.Arguments { /// <summary> /// Base class of the manager arguments /// </summary> public abstract class CacheManagerArguments { /// <summary> /// Protected constructor ...
mmohoney/DbAppSettings
DbAppSettings/Source/DbAppSettings/Model/Service/CacheManager/Arguments/CacheManagerArguments.cs
C#
mit
977
'use strict'; var gulp = require('gulp'); var browserSync = require('browser-sync'); function isOnlyChange(event) { return event.type === 'changed'; } module.exports = function(options) { var watch = function(srcDir, watchOptions) { return function() { if (!watchOptions) { watchOptions = {}; ...
jacob-meacham/angular-notification-icons
gulp/watch.js
JavaScript
mit
1,738
import sys def main(): with open(sys.argv[1]) as input_file: for line in input_file.readlines(): input_list = list(reversed(line.strip().split(' '))) index = int(input_list[0]) del input_list[0] print(input_list[index - 1]) if __name__ == '__main__': ma...
leaen/Codeeval-solutions
mth-to-last-element.py
Python
mit
325
-- phpMyAdmin SQL Dump -- version 3.4.11.1deb2+deb7u2 -- http://www.phpmyadmin.net -- -- Client: 5.196.154.204 -- Généré le: Lun 28 Décembre 2015 à 13:14 -- Version du serveur: 5.5.44 -- Version de PHP: 5.4.45-0+deb7u2 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CL...
AlexMog/MMO-Rulemasters-World
server/databse/world.sql
SQL
mit
1,261
/* Navicat MySQL Data Transfer Source Server : 阿里云ECS Source Server Version : 50718 Source Host : 47.93.61.54:3306 Source Database : ms_blog Target Server Type : MYSQL Target Server Version : 50718 File Encoding : 65001 Date: 2017-05-10 09:49:50 */ SET FOREIGN_KEY_C...
MonkingStand/MS-blog-site-v3.0
_help/ms_blog(structure).sql
SQL
mit
5,138
package com.spacechase0.minecraft.componentequipment.addon.ironchests.modifier; import com.spacechase0.minecraft.componentequipment.tool.modifier.BackpackModifier; public class ExpandedBackpackModifier extends BackpackModifier { public ExpandedBackpackModifier() { super( false ); } @Override public int getMa...
spacechase0/ComponentEquipment
com/spacechase0/minecraft/componentequipment/addon/ironchests/modifier/ExpandedBackpackModifier.java
Java
mit
1,099
Object.size = function(obj) { var size = 0, key; for (key in obj) { if (obj.hasOwnProperty(key)) size++; } return size; }; var UIEle = Class.$extend({ __classvars__ : { UI_ELEMENT_TABLE : [], UI_POPUP_TABLE : [], UI_OPEN_POPUP : undefined }, __init__ : f...
mksachs/WebVC
design/templates/js/ui.js
JavaScript
mit
15,247
/* MusicXMLUtils / Structure and Implementation of the MusicXML 3.0 LICENSE - The MIT License (MIT) Copyright (c) 2014 Tomona Nanase 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 res...
nanase/MusicXMLUtils
MusicXMLUtils/Structure/Opus/OpusShow.cs
C#
mit
1,700
app.controller('gregorianToJalaliCrtl', function($scope,dateConvertor) { /** * validate date * @returns {undefined} */ $scope.allValidation = function () { $scope.validateGregorianYear(); $scope.validateGregorianMonth(); $scope.validateGregorianDay(); } /** *...
afshintalebi/dateconverter
www/js/controllers/gregorian_to_jalali_controller.js
JavaScript
mit
4,088
Then(/^(?:the )?role "(.*?)" should exist$/) do |role| @last_role = @conjur.role(mangle_name role) @last_role.should exist end Then(/^it should (not )?be a member of "(.*?)"$/) do |neg, role| role = conjur.role(mangle_name role) if neg expect(@last_role.member_of?(role)).to_not be_truthy else expec...
cransom/ldap-sync
features/step_definitions/conjur_steps.rb
Ruby
mit
5,242
namespace BarracksWars___A_New_Factory.Models.Units { public class Horseman : Unit { private const int DefaultHealth = 50; private const int DefaultDamage = 10; public Horseman() : base(DefaultHealth, DefaultDamage) { } } }
BlueDress/School
C# OOP Advanced/Reflection Exercises/BarracksWars - A New Factory/Models/Units/Horseman.cs
C#
mit
293
/** ****************************************************************************** * @file stm32_assert.h * @author MCD Application Team * @version $VERSION$ * @date $DATE$ * @brief STM32 assert template file. * This file should be copied to the application folder and renamed *...
HiveX-Minibot/hivex
firmware/mbed/mbed/TARGET_NUCLEO_F103RB/TARGET_STM/TARGET_STM32F1/device/stm32_assert_template.h
C
mit
3,528
""" Summary: Container and main interface for accessing the Tuflow model and a class for containing the main tuflow model files (Tcf, Tgc, etc). There are several other classes in here that are used to determine the order of the files in the model and key words for reading in the files. ...
duncan-r/SHIP
ship/tuflow/tuflowmodel.py
Python
mit
22,689
import ProjectLibraryModel from './project-library.model'; let libraries = { angular: new ProjectLibraryModel(1, 'Angular', require('../../../../images/logos/angular.svg')), angularJS: new ProjectLibraryModel(2, 'AngularJS', require('../../../../images/logos/angularjs.png')), jQuery: new ProjectLibrar...
phil-lgr/phil-lgr
client/website/services/data/projects/project-libraries/project-libraries.data.js
JavaScript
mit
747
body { background-color: #E3DEC1; } a:hover{ text-decoration: none; } .navbar.navbar-default { margin-bottom: 0; } .jumbotron { margin-top: 0; background-color: #47AFAF; } .navbar { background-color: #B94629; } .nav-header { color: #FFFFFF; background-color: #47AFAF; } .jumbotron > .container > h2 > a:hov...
kalari499/PersonalWebsite
static/style.css
CSS
mit
1,528
namespace Kevsoft.Ssml { public enum BreakStrength { NotSet = 0, None, ExtraWeak, Weak, Medium, Strong, ExtraStrong } }
kevbite/Kevsoft.Ssml
src/Kevsoft.Ssml/BreakStrength.cs
C#
mit
190
package vye; import java.util.ArrayList; import java.util.List; import com.google.gson.Gson; import com.google.gson.GsonBuilder; public class City { private List<Mob> citizens; private String name; private int population; private char type; public City(String name,char type, int population) { this.name...
alexvye/greyworld
src/main/java/vye/City.java
Java
mit
1,049
/* This file is part of the Palabos library. * * Copyright (C) 2011-2015 FlowKit Sarl * Route d'Oron 2 * 1010 Lausanne, Switzerland * E-mail contact: contact@flowkit.com * * The most recent release of Palabos can be downloaded at * <http://www.palabos.org/> * * The library Palabos is free software: you can r...
Dwii/Master-Thesis
implementation/Palabos/palabos-master/src/multiBlock/multiBlockGenerator2D.h
C
mit
28,056
#pragma once #ifndef __CLOUD_VIEWER_INCLUDE__ #define __CLOUD_VIEWER_INCLUDE__ #include "GL/glew.h" #include "utils.hpp" #include <math.h> #include <thread> // std::thread #include <mutex> // std::mutex #include "ZEDModel.hpp" /* OpenGL Utility Toolkit header */ #include <sl/Camera.hp...
balder2046/WorldViewer
TrackingViewer.hpp
C++
mit
2,699
 using System; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Timers; using System.Windows; using CoreAudioApi; using Decelerate.Annotations; using Decelerate.Properties; namespace Decelerate { /// <summary> /// Interaction logic for MainWindow.xaml ...
olane/Decelerate
Decelerate/MainWindow.xaml.cs
C#
mit
8,895
require 'rails_helper' RSpec.describe PagesController, type: :controller do render_views describe 'GET show' do it 'renders the help template' do get :show, params: { page: 'help' } expect(response).to render_template 'help' end end end
rails-girls-summer-of-code/rgsoc-teams
spec/controllers/pages_controller_spec.rb
Ruby
mit
265
# laravel-activity-log Laravel Activity Log ## Installation Make sure you have the MongoDB PHP driver installed. You can find installation instructions at http://php.net/manual/en/mongodb.installation.php Install through Composer ``` composer require vjlau/laravel-activity-log ``` ## Configuration And add a new mo...
vj-lau/laravel-activity-log
README.md
Markdown
mit
1,653
<?php namespace PR2\ForumBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Adversaire * * @ORM\Table() * @ORM\Entity */ class Adversaire { /** * @var integer * * @ORM\Column(name="id", type="integer") * @ORM\Id * @ORM\GeneratedValue(strategy="AUTO") */ private $id; ...
D1amond/PR2-ForumInteractif
src/PR2/ForumBundle/Entity/Adversaire.php
PHP
mit
1,560
// flow-typed signature: e9b84c500ccc61d64c1ca78e43399035 // flow-typed version: <<STUB>>/gatsby-link_v^1.6.35/flow_v0.68.0 /** * This is an autogenerated libdef stub for: * * 'gatsby-link' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we encourage you to share your work with t...
mattmischuk/m1x
flow-typed/npm/gatsby-link_vx.x.x.js
JavaScript
mit
855
<?php namespace Tarantool\JobQueue\Handler; use Tarantool\JobQueue\Handler\RetryStrategy\LimitedRetryStrategy; use Tarantool\JobQueue\Handler\RetryStrategy\RetryStrategyFactory; use Tarantool\JobQueue\JobBuilder\JobOptions; use Tarantool\JobQueue\JobBuilder\RetryStrategies; use Tarantool\Queue\Options; use Tarantool\...
tarantool-php/jobqueue
src/Handler/RetryHandler.php
PHP
mit
1,549
using System; namespace DDCloud.Platform.Core.CodeAnalysis { /// <summary> /// Mark an element as permitting <c>null</c> values (so a check for <c>null</c> is necessary before using it). /// </summary> /// <example> /// <code> /// [CanBeNull] /// public object Test() /// { /// r...
DDCloud/DDCloud.Platform.Core
Platform.Core/CodeAnalysis/CanBeNullAttribute.cs
C#
mit
1,020
package io.github.xtman.swift.client.utils; import java.text.SimpleDateFormat; import java.util.Date; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.TimeZone; public class SwiftResponseHeaderUtils { public static final String VALUE_SEPARATOR = ","; // Fri, 12 A...
xtman/java-swift-client
src/main/java/io/github/xtman/swift/client/utils/SwiftResponseHeaderUtils.java
Java
mit
4,629
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
Microsoft/vscode
src/vs/editor/contrib/folding/test/indentRangeProvider.test.ts
TypeScript
mit
8,044
/// <reference path="../jquery-1.7.1-vsdoc.js" /> var Audio = { //-- Functions Initialize: function () { Audio.player = $('audio').get(0); $('#Audio_PlayButton').on('click', Audio.Handlers.Button.Play); $('audio').on('ended', Audio.Handlers.Events.Ended); $('audio').on('pause...
tmcnab/cloudlab.io
v2/Cloudlab/Scripts/IDE/AudioTab.js
JavaScript
mit
1,957
package main import ( "fmt" "net/http" "runtime" ) func main() { runtime.GOMAXPROCS(runtime.NumCPU()) http.HandleFunc("/", hello) fmt.Println("listening...") err := http.ListenAndServe(":8000", nil) if err != nil { panic(err) ...
madebymarket/ruby-web-benchmark
old/gohi.go
GO
mit
443
"use strict"; const {XMLParser, XMLBuilder, XMLValidator} = require("../src/fxp"); const he = require("he"); describe("XMLParser", function() { it("should parse attributes with valid names", function() { const xmlData = `<issue _ent-ity.23="Mjg2MzY2OTkyNA==" state="partial" version="1"></issue>`; ...
NaturalIntelligence/fast-xml-parser
spec/attr_spec.js
JavaScript
mit
12,552
/* * branch-benches.cpp * * Branching benchmarks. */ #include "benchmark.hpp" #define JF_D(f, a, b) f(jmp_forward_##a##_##b, a, b) #define IN_D(f, a) f(indirect_forward_##a, a) #define JD_D(f, a, b) f(jmp_forward_dual_##a##_##b##_0, a, b, 0) f(jmp_forward_dual_##a##_##b##_1, a, b, 1) #define JL_D(f, a, b, c, d) f...
travisdowns/uarch-bench
branch-benches.cpp
C++
mit
3,784