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
import {QueryContext} from "../common/QueryContext"; import {IBoundQueryPart} from "./IBoundQueryPart"; export interface IQueryPart { toCypher(ctx:QueryContext):IBoundQueryPart }
robak86/neography
lib/cypher/abstract/IQueryPart.ts
TypeScript
mit
183
package com.raymond.entrypoint; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.http.HttpStatus; import org.springframework.security.core.AuthenticationException; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframework.web.bind.annotation.Re...
RaymondKwong/raymond_projects
services/jwtauth/src/main/java/com/raymond/entrypoint/GlobalExceptionHandler.java
Java
mit
1,163
require 'spec_helper' describe Dashdog do it 'has a version number' do expect(Dashdog::VERSION).not_to be nil end end
serverworks/dashdog
spec/dashdog_spec.rb
Ruby
mit
127
/** * The GiftEntry class describes a gift in terms of three values: * the gift name, the gift receipient, and whether the gift * has been bought yet. * * @author Richard White * @version 2013-12-05 */ public class GiftEntry { /** * Constructor for known recipient with blank Gift * @param reci...
mattsoulanille/compSci
GiftList/GiftEntry.java
Java
mit
1,290
<?php /** * Copyright (c) 2014 Webflavia * * 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, pu...
EduardoMRB/webflavia-php-sdk-v1
src/Webflavia/Entity/AbstractNavigable.php
PHP
mit
2,220
<!DOCTYPE html> <!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7"><![endif]--> <!--[if IE 7]><html class="no-js lt-ie9 lt-ie8 ie7"><![endif]--> <!--[if IE 8]><html class="no-js lt-ie9 ie8"><![endif]--> <!--[if IE 9]><html class="no-js ie9"><![endif]--> <!--[if gt IE 8]><!--> <html class="no-js"><!--<![endif]-->...
ONSdigital/pattern-library
docs/components-data-tables-data-table-with-swipe-control.html
HTML
mit
74,520
module.exports = function(params) { params = params || {}; _.extend(this, params); this.validate = params.validate || function() { return true; }; }
chrisharrington/traque
app/models/base.js
JavaScript
mit
177
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Join_Arrays { class Program { static void Main(string[] args) { int[] nums = { 100, 200, 300 }; foreach (var x in nums) { ...
giggals/Software-University
Arrays - Lab/Join Arrays/Program.cs
C#
mit
382
<?php // EventFormBundle:Categoria:index.html.twig return array ( );
DelBianco/TesteSymfony
app/cache/dev/assetic/config/8/8933b2c685bce28af52752733fbcafbf.php
PHP
mit
70
public class IsUnique { public static boolean isUnique1(String input) { int checker = 0; int n = input.length(); if (n <= 1) return true; for (int i = 0; i < n; i++) { int c = input.charAt(i) - 'a'; if ((checker & (1 << c)) > 0) return false; checker |= (1 << c); } return tru...
fzheng/codejam
ccup/ch1/IsUnique.java
Java
mit
1,234
# Uso de adapters en los componentes RUP En los componentes RUP se hace uso de unos módulos js llamados **adapters**. Estos módulos se crearon con la finalidad de propocionar diferentes implementaciones dependiendo de si se trata del aspecto visual Material, Bootstrap o de jQueryUI. De este modo exitirán tres adapte...
UDA-EJIE/uda-rup
doc/dev/Adapters_componentes_RUP.md
Markdown
mit
755
#!/bin/bash # About # ----- # # This script contains some bash wrappers for swift, the command-line # interface to Rackspace's OpenStack Storage API. # # To get started, you'll need to install the python-swiftclient # # pip install python-swiftclient # # It's also available on github: # https://github.com/openstac...
bradmontgomery/swift_wrapper
swift_wrapper.sh
Shell
mit
6,134
require_dependency "venture/application_controller" module Venture class ProjectsController < ApplicationController before_action :set_project, only: [:show, :edit, :update, :destroy] # GET /projects def index @projects = Project.all end # GET /projects/1 def show end # GET /...
LaunchU/QuadVenture
app/controllers/venture/projects_controller.rb
Ruby
mit
1,365
#ifndef PANELITEM_HPP #define PANELITEM_HPP #include "LevelMakerPanel.hpp" #include "Button.hpp" #include "InputString.hpp" #include "Text.hpp" class PanelItem : public LevelMakerPanel { private: Sprite* sprite_input_mass; Button* button_input_mass; lalge::R2Vector input_mass_position; bool invalid_input_mass; ...
matheuscscp/nanotrip
src/PanelItem.hpp
C++
mit
1,943
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Jasmine Spec Runner v2.0.0</title> <link rel="shortcut icon" type="image/png" href="lib/jasmine-2.0.0/jasmine_favicon.png"> <link rel="stylesheet" type="text/css" href="lib/jasmine-2.0.0/jasmine.css"> <s...
dpskvn/mikulas.js
test/SpecRunner.html
HTML
mit
801
namespace StarsReloaded.Client.ViewModel.Controls { using System; using System.Collections.ObjectModel; using System.Linq; using System.Windows; using System.Windows.Input; using GalaSoft.MvvmLight.CommandWpf; using GalaSoft.MvvmLight.Messaging; using StarsReloaded.Client.Mediation.Mes...
Misza13/StarsReloaded
StarsReloaded.Client.ViewModel/Controls/GalaxyMapPanelViewModel.cs
C#
mit
4,361
<?xml version="1.0" ?><!DOCTYPE TS><TS language="sq" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Vector</source> <translation type="unfinished"/> </message> <message> <location line="+...
vectorcoindev/Vector
src/qt/locale/bitcoin_sq.ts
TypeScript
mit
110,078
<?php return [ 'ctrl' => [ 'type' => 'type', 'title' => 'LLL:EXT:sd_googlemaps/Resources/Private/Language/locallang_db.xlf:tx_sdgooglemaps_domain_model_styler', 'label' => 'style_option', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'versioningWS' => true, 'languageField' => ...
daviian/sd_googlemaps
Configuration/TCA/tx_sdgooglemaps_domain_model_styler.php
PHP
mit
5,995
# Logo interpreter 🐢 [![Swift 5.0](https://img.shields.io/badge/swift-5.0-orange.svg?style=flat)](#) [![@wojteklu](https://img.shields.io/badge/contact-@wojteklu-blue.svg?style=flat)](https://twitter.com/wojteklu) >An interpreter is a computer program that directly executes instructions written in a programming or sc...
wojteklu/logo
README.md
Markdown
mit
1,520
FILE(REMOVE_RECURSE "CMakeFiles/linearstructure_5.dir/linearstructure.cpp.o" "linearstructure_5.pdb" "linearstructure_5" ) # Per-language clean rules from dependency scanning. FOREACH(lang CXX) INCLUDE(CMakeFiles/linearstructure_5.dir/cmake_clean_${lang}.cmake OPTIONAL) ENDFOREACH(lang)
cmeon/Simplex
lib/test/CMakeFiles/linearstructure_5.dir/cmake_clean.cmake
CMake
mit
297
class DataControl { constructor() { this.appData updateData() } updateData() { this.appData = fetcherama() } fetcherama() { lib.fetch(`http://localhost:8080/api/class/getNearbyClasses/${coor.long}/${coor.lat}`, opt, data => { if (data.success === true) { return data.classes ...
andrewgremlich/presence-keeper
pk_static_files_server/app/js/util/DataControl.js
JavaScript
mit
369
// ********************************************************* // // The content of this file is auto-generated, DO NOT MODIFY // // ********************************************************* // package jarr func CondString(c bool, t, f string) string { if c { return t } else { return f } } func CondInt(c bool, ...
badugisoft/jarr
jarr.gen.go
GO
mit
3,182
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>nx.graphic - Next UI Toolkit</title> <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css"> <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css"> <link rel="stylesheet" hr...
ericgreen/topology
app-ui/next/doc/modules/nx.graphic.html
HTML
mit
19,999
package cmd import ( "github.com/spf13/cobra" "github.com/topfreegames/khan/loadtest" "github.com/topfreegames/khan/log" "github.com/uber-go/zap" ) var sharedClansFile string var nGoroutines int var loadtestCmd = &cobra.Command{ Use: "loadtest", Short: "runs a load test against a remote Khan API", Long: `Ru...
topfreegames/khan
cmd/loadtest.go
GO
mit
1,802
<?php if(!defined('ROOT')) exit('No direct script access allowed'); $dashboard=getConfig("DASHBOARD_PAGE"); ?> <div id="workspace" style='display:none;overflow:hidden;width: 100%;height: 100%;'> <ul> <?php if(strlen($dashboard)>0) { ?> <li><a href='#dashboard'>Dashboard</a></li> <?php } ?> </ul> <?php if(str...
LogiksPlugins/tabbedspace
index.php
PHP
mit
4,102
package cn.cloudself.dao; import cn.cloudself.model.AppJiyoujiaHeadEntity; import cn.cloudself.model.IntegerEntity; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.repository.Repository; import java.util.List; /** * @author HerbLuo * @ve...
HerbLuo/shop-api
src/main/java/cn/cloudself/dao/IAppJiyoujiaHeadDao.java
Java
mit
887
#include "signverifymessagedialog.h" #include "ui_signverifymessagedialog.h" #include "addressbookpage.h" #include "base58.h" #include "guiutil.h" #include "init.h" #include "main.h" #include "optionsmodel.h" #include "walletmodel.h" #include "wallet.h" #include <string> #include <vector> #include <QClipboard> Sign...
thruelios/ab180
src/qt/signverifymessagedialog.cpp
C++
mit
8,779
package view; import javax.swing.JPanel; import javax.swing.JLabel; import javax.swing.JPasswordField; import javax.swing.JButton; import javax.swing.JTextField; import java.awt.BorderLayout; import java.awt.Font; public class PasswordManagerRegistration { JPanel regpanel; private JTextField txtUsername; private...
zoltanvi/password-manager
src/view/PasswordManagerRegistration.java
Java
mit
2,435
using System; using System.Collections.Generic; using System.Data; using System.Text; namespace System.Data { public static class DbTypeConsts { /// <summary> /// 自定义一个 DbType 表示 pgsql 的 json 类型 /// </summary> public const DbType NpgJson = (DbType)135; /// <summary> ...
shuxinqin/Chloe
src/ChloeDemo/DbTypeConsts.cs
C#
mit
487
# -*- coding: utf-8 -*- """ This module provides the necessary methods for a Certification Authority. For creating the self signed Certificate for the CA, use the following command: $ openssl req -x509 -newkey rsa:2048 -keyout ca_priv.pem -out ca_cert.pem @author: Vasco Santos """ import time from M2Crypto impo...
vasco-santos/CertificationService
certModule/CertAuthority.py
Python
mit
6,803
Configuring Doctrine ODM ======================== The Doctrine ODM extension is currently under development.
nice-php/docs
extensions/doctrine-odm.md
Markdown
mit
109
// // FMAPIManager.h // car2go_sample // // Created by Jonghyun Kim on 2017/05/29. // Copyright © 2017 kokaru. All rights reserved. // typedef void (^apisuccess)(NSURLSessionDataTask *sessionDataTask, id responseObject); typedef void (^apifailure)(NSURLSessionDataTask *sessionDataTask, NSError *error); @interface...
filmhomage/car2go
car2go_sample/Network/FMAPIManager.h
C
mit
1,431
export class Power{ public id:string; public code:string; public url:string; public title:string; public explain:string; public menuId:string; public type:string; public isValid:boolean; public isChecked:boolean=false; public operation:Array<string>=new Array<string>(); pub...
Lslgg/admin-manager
src/app/admin/power/shared/power.model.ts
TypeScript
mit
1,410
from baby_steps import given, then, when from district42 import represent, schema def test_list_of_representation(): with given: sch = schema.list(schema.bool) with when: res = represent(sch) with then: assert res == "schema.list(schema.bool)" def test_list_of_values_represent...
nikitanovosibirsk/district42
tests/list/test_list_of_representation.py
Python
mit
1,650
/* */ "format cjs"; (function(e){if("function"==typeof bootstrap)bootstrap("csv2geojson",e);else if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeCsv2geojson=e}else"undefined"!=typeof window?window.csv2ge...
thomjoy/turftest
src/jspm_packages/npm/mapbox.js@2.1.5/docs/assets/csv2geojson.js
JavaScript
mit
5,283
import { Buffer } from 'buffer'; const discordmailhooksLegacyBrailleRegex = /([\u2800-\u28FF]+)(?:.)([\u2800-\u28FF]+)/; class DiscordMailHooks { email: string constructor(email: string) { this.email = email; } matches() { return discordmailhooksLegacyBrailleRegex.test(this.email); } toWebhook()...
moustacheminer/discordmail
src/mail/DiscordMailHooks.ts
TypeScript
mit
1,161
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Pong</title> <style> canvas { position: absolute; margin: auto; top: 0; bottom: 0; left: 0; right: 0; ...
redxtreme/practicePong
pong.html
HTML
mit
5,793
[![npm version](https://badge.fury.io/js/xstream-router5.svg)](https://badge.fury.io/js/xstream-router5) # xstream-router5 [xstream](http://staltz.com/xstream/) integration with [router5](https://router5.js.org) ```sh npm install --save xstream-router5 ``` ### Usage _xstream-router5_ exports a single function `cre...
router5/router5
packages/xstream-router5/README.md
Markdown
mit
1,125
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2020 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 <util/system.h> #ifdef ENABLE_EXTERNAL_SIGNER #if defined(WIN32) && !de...
instagibbs/bitcoin
src/util/system.cpp
C++
mit
46,739
Hi,我是鬼甲怪,一名cv算法工程师。我会在这里分享一些工作学习上的知识。在工作之余,我喜欢看视频、开黑打机。 受限于本人的学识,写(抄)出来的博文可能会有一些**小错误**,如果你发现了,请务必联系我(1195997479@qq.com)。:)
simplestory/simplestory.github.io
_includes/about/zh.md
Markdown
mit
317
<?php namespace AppBundle\Command; use FOS\UserBundle\Util\Canonicalizer; use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Config\Definition\Exception\Exception; use Symfony...
alexdu98/Ambiguss
src/AppBundle/Command/CanonicalisationCommand.php
PHP
mit
1,454
package apimanagement // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regen...
Azure/azure-sdk-for-go
services/preview/apimanagement/mgmt/2021-01-01-preview/apimanagement/group.go
GO
mit
28,709
--- layout: post title: No Class (Thanksgiving Break) lesson_num: '00' week_num: 14 class_date: November 26, 2014 lead: dontlink: true --- ## Due For This Class ## Presentation ## Lesson Heading ## Homework
com372-14/com372-14.github.io
_lessons/2014-11-26.md
Markdown
mit
214
var module = angular.module('mtg', ['ngRoute', 'timer']); DEBUG = true; module.controller('main', function($scope, $filter) { $scope.matches = []; $scope.players = [{}, {}]; var orderBy = $filter('orderBy'); $scope.importFromStorage = function() { console.log("Importing from local storage"); tourney = JSON....
Tethik/mtg
mtg.js
JavaScript
mit
5,687
// Demo component // this is only example component // you can find tests in __test__ folder import React from 'react'; import Button from './components/Button' class TeamCatfish extends React.Component { render() { return ( <div className="team-catfish"> <p>TC</p> ...
anthonykulis/npm-test
src/index.js
JavaScript
mit
399
// Copyright 2011 the V8 project authors. 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 ...
Noah-Huppert/Website-2013
vhosts/www.noahhuppert.com/htdocs/trex/deps/v8/src/mips/frames-mips.cc
C++
mit
2,234
var LOTUS = Symbol.for('lotus'); var lotus = global[LOTUS]; if (!lotus) { var lotusPath = process.env.LOTUS_PATH; // Try using the local version. if (lotusPath) { lotusPath += '/lotus-require'; if (__dirname === lotusPath) { // We are already using the local version. } else if (require('f...
aleclarson/lotus-require
index.js
JavaScript
mit
554
using System; namespace Timesheet.Domain { public class TimeRegistration { public Guid Id { get; set; } public Guid TaskId { get; set; } public string EmployeeId { get; set; } public DateTimeOffset TimeStart { get; set; } public DateTimeOffset TimeEnd { get; se...
wcabus/MADN-oAuth
Timesheet.Domain/TimeRegistration.cs
C#
mit
423
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="generator" content="ExDoc v0.13.0"> <title>Murnau.Adapter.Labor.Api – murnau v0.0.1</title> <link re...
freieslabor/murnau
doc/Murnau.Adapter.Labor.Api.html
HTML
mit
6,599
<?php class Shadowbox extends Modules { static function __install() { Like::install(); } static function __uninstall($confirm) { if ($confirm) Like::uninstall(); } static function admin_sb_settings($admin) { if (!Visitor::...
parttimenerd/chyrp_de
modules/shadowbox/shadowbox.php
PHP
mit
2,824
module EasySerializer class Cacher attr_reader :serializer, :metadata def initialize(serializer, metadata) @serializer = serializer @metadata = metadata end def execute CacheOutput.new(_execute) end private def _execute strategy = if metadata.is_a?(EasySerializer...
arturictus/easy_serializer
lib/easy_serializer/cacher.rb
Ruby
mit
738
import { compose, combineReducers, createStore } from 'redux'; import { devTools } from 'redux-devtools'; import twist from './reducers/twist'; import form from './reducers/form'; const twister = combineReducers({ twist, form }); const finalCreateStore = compose(devTools())(createStore); export default finalCrea...
mvader/reactmad-redux-example
src/store.js
JavaScript
mit
338
# Linear function - full rank # # Source: Problem 32 in # J.J. More', B.S. Garbow and K.E. Hillstrom, # "Testing Unconstrained Optimization Software", # ACM Transactions on Mathematical Software, vol. 7(1), pp. 17-41, 1981. # # See also Buckley#80 (with different N and M) # # classification SUR2-AN-V-0 e...
dpo/OptimizationProblems.jl
src/arglina.jl
Julia
mit
746
require "pact_broker/configuration" require "pact_broker/logging" require "pact_broker/config/setting" require "pact_broker/config/space_delimited_string_list" module PactBroker module Config class Load include PactBroker::Logging def self.call runtime_configuration new(runtime_configuratio...
pact-foundation/pact_broker
lib/pact_broker/config/load.rb
Ruby
mit
1,624
# Atto PHP Framework [![Build Status]](https://travis-ci.org/stephen-hill/Atto) [![Test Coverage]](https://coveralls.io/r/stephen-hill/Atto) [![SemVer]](http://semver.org) Atto is a PHP Framework solely for developing RESTful APIs. [Build Status]: http://img.shields.io/travis/stephen-hill/Atto/master.svg?style=flat-...
stephen-hill/Atto
readme.md
Markdown
mit
504
'use strict'; describe('Controller: HomeCtrl', function () { it('should make a unit test ...', function () { }); });
topheman/cycle-infos
test/spec/controllers/home.js
JavaScript
mit
123
<?php declare(strict_types=1); namespace Shlinkio\Shlink\Core\Action; use Fig\Http\Message\StatusCodeInterface; use GuzzleHttp\Psr7\Response; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Psr\Http\Server\RequestHandlerInterface; use Shlinkio\Shlink\Core\Crawling\CrawlingHel...
shlinkio/shlink
module/Core/src/Action/RobotsAction.php
PHP
mit
1,270
body { padding: 50px; } html { position: relative; min-height: 100%; } body { padding-top: 60px; padding-left: 0; padding-right: 0; margin-bottom: 75px; } footer { position: absolute; bottom: 0; width: 100%; line-height: 45px; } div.alert-container { width: 100%; po...
dwetterau/quill-firebase
src/public/stylesheets/style.css
CSS
mit
432
import cx_Freeze import sys import os executables = [cx_Freeze.Executable("MusicCompiler.py", base=None)] cx_Freeze.setup( name= "MusicCompiler", description = "Best Program Ever Known To Humanity.", author = "Space Sheep Enterprises", options = {"build_exe":{"excludes":["urllib","html","h...
Jonathan-Z/PowerShellMusic
setup.py
Python
mit
457
FROM smebberson/alpine-nginx MAINTAINER Scott Mebberson <scott@scottmebberson.com> # Add the files ADD root /
withinboredom/docker-alpine
examples/user-nginx/Dockerfile
Dockerfile
mit
111
--- layout: post title: "Android Inter-Fragment Communication" modified: categories: blog excerpt: tags: [Android, Coding] image: feature: so-simple-sample-image-5.jpg comments: true share: true date: 2014-10-25T23:12:55-04:00 author: vlnvv --- There are a bunch of tutorials on inter-fragment communications in Andro...
vlnvv/vlnvv.github.com
_posts/blog/2014-10-25-android-fragments.md
Markdown
mit
2,545
package com.anji_ahni.nn.activationfunction; /** * Square-root function. * * @author Oliver Coleman */ public class PowerActivationFunction implements ActivationFunction, ActivationFunctionNonIntegrating { /** * identifying string */ public final static String NAME = "power"; /** * @see Object#toString(...
Fumaloko92/MSc-Thesis
17-05-2017/neuralturingmachines-master/src/com/anji_ahni/nn/activationfunction/PowerActivationFunction.java
Java
mit
1,453
# frozen_string_literal: true class DocumentsController < ApplicationController before_action :authenticate_user!, except: [:download] layout "layouts/full_page_sidebar" # GET /docs def index if current_user.can_view_unblinded_folder? @documents = Document.latest_files else @documents = D...
sleepepi/patstrial.org
app/controllers/documents_controller.rb
Ruby
mit
367
# 编码 本篇主要讲述计算机编码相关的知识,字集码是把字符集中的字符编码为指定集合中某一对象,以便文本在计算机中存储和通过通信网络的传递。主要有 ASCII、ISO西欧系列、DOS字符集、Windows字符集、亚洲字符集、Unicode。 ## 编码历史 在计算机存储和传输的所有数据最终形态都是 0 或 1,为了能使传输字符就规定了一个数字对应一个字符,例如对于字母 a 来说,就是存入 97 这个数字,而在读取的时候遇到 97 自然也就知道了它代表的是 a。 为了使得所有的计算机都能知道这个约定,于是 ASCII 最早就被发明出来了,包含控制字符,标点,英文大小写,同时还是留了 128-255 来后续使用。 但是当时候的人...
bq12345/bq12345.github.io
src/coding.md
Markdown
mit
9,107
using EasyLOB.Data; using System.Collections.Generic; namespace Chinook.Data { public partial class Customer { #region Profile public static IZProfile Profile { get; private set; } = new ZProfile ( Name: "Customer", IsIdentity: true, Ke...
EasyLOB/EasyLOB-Chinook-2
Chinook.Data/Profiles/CustomerProfile.cs
C#
mit
2,406
using System; class PrintLongSequence { static void Main(string[] args) { for (int i = 2; i <= 1002; i++) { if ((i%2)==0) { Console.WriteLine(i); } else { Console.WriteLine(-i); } } ...
KrisPetkov/Test-repository
Intro-Programming/16.Print-Long-Sequence/PrintLongSequence.cs
C#
mit
331
<?php namespace App\Jobs\Auth; use App\Jobs\Job; use App\Storage\EmailConfirmation\EmailConfirmationRepository; use Illuminate\Support\Facades\Mail; class SendEmailChangeConfirmation extends Job { protected $newEmail; /** * Create a new job instance. * * @return void */ public functi...
adiachenko/catchy_api
app/Jobs/Auth/SendEmailChangeConfirmation.php
PHP
mit
828
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>error-handlers: 17 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" r...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.06.1-2.0.5/released/8.12.1/error-handlers/1.0.0.html
HTML
mit
6,630
<p>Busca de JSON em uma API sem CORS usando <a href="http://cors-server.getup.io/">http://cors-server.getup.io/</a> </p> <form data-ng-submit="submit()"> <label for="url"> <input type="text" name="url" data-ng-model="url"> <!-- <button data-ng-click="find(url)">Buscar</button> --> <input type="submit" v...
suissa/cors-server-client
app/partials/partial1.html
HTML
mit
520
# Vagrant HP Provider [![Gem Version](https://badge.fury.io/rb/vagrant-hp.png)](http://badge.fury.io/rb/vagrant-hp) [![Dependency Status](https://gemnasium.com/mohitsethi/vagrant-hp.png)](https://gemnasium.com/mohitsethi/vagrant-hp) [![Code Climate](https://codeclimate.com/github/mohitsethi/vagrant-hp.png)](https://c...
mohitsethi/vagrant-hp
README.md
Markdown
mit
6,746
<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="bc.css"> <script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" type="text/javascript"></script> </head> <!--- - 17047221 [ADN Support] - VS operation could not be ...
jeremytammik/tbc
a/1869_using_vs_racking.md
Markdown
mit
10,519
# frozen_string_literal: true name 'travis_packer_templates' maintainer 'Travis CI GmbH' maintainer_email 'contact+travis-packer-templates-cookbook@travis-ci.org' license 'MIT' description 'Installs/Configures travis_packer_templates' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '0....
travis-ci/packer-templates
cookbooks/travis_packer_templates/metadata.rb
Ruby
mit
450
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>poltac: 1 m 4 s</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="styl...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.09.0-2.0.5/released/8.8.1/poltac/0.8.8.html
HTML
mit
18,416
using System; //default using System.Collections.Generic; //dictionary,list using System.Linq; //because jon skeet using NetFwTypeLib; //firewall library using System.Net.Sockets; //protocol enum using System.Net; //IPAddress class namespace msf...
caesarshift/msfw
msfw/MSFirewallRule.cs
C#
mit
34,510
const pObj=pico.export('pico/obj'), fb=require('api/fbJSON'), rdTrip=require('redis/trip') return { setup(context,cb){ cb() }, addPickup(user,action,evt,name,next){ const text=pObj.dotchain(evt,['message','text']) if(!text) return next(null,`fb/ask${action[action.length-1]}`) const a=action.pop() switch(...
ldarren/mysg
api/addTrip.js
JavaScript
mit
1,913
/* * Property of RECAPT http://recapt.com.ec/ * Chief Developer Ing. Eduardo Alfonso Sanchez eddie.alfonso@gmail.com */ package com.recapt.domain; import java.time.LocalDateTime; /** * * @author Eduardo */ public class IssueHistory { private String name; private String description; private String r...
edecisions/recapt
src/main/java/com/recapt/domain/IssueHistory.java
Java
mit
1,356
"use strict"; var testCase = require('nodeunit').testCase, path = require('path'), fs = require('fs'), avconv; function read(stream, callback) { var output = [], err = []; stream.on('data', function(data) { output.push(data); }); stream.on('error', function(d...
olivererxleben/hipsterbility
serverside/node_modules/avconv/tests/basics.js
JavaScript
mit
6,328
Clazz.declarePackage ("J.renderspecial"); Clazz.load (["J.render.ShapeRenderer"], "J.renderspecial.PolyhedraRenderer", ["JU.P3i", "JM.Atom", "JU.C"], function () { c$ = Clazz.decorateAsClass (function () { this.drawEdges = 0; this.isAll = false; this.frontOnly = false; this.screens = null; this.vibs = false; Cl...
rishiloyola/jsmol-models
jsmol/j2s/J/renderspecial/PolyhedraRenderer.js
JavaScript
mit
3,499
var buttons = function(req, res, next) { var request = require('request'); var cheerio = require('cheerio'); var Case = require('case'); // var url = "http://clas.asu.edu"; var url = req.body.page; var parsedResults = []; //testing url argument site buttons casing request(url, function (error, respo...
gabemartinez/clastestsuite
tests/buttons.js
JavaScript
mit
975
using System.Reflection; 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: AssemblyConfiguration("")] [assembly: AssemblyCompany("")...
ipjohnson/Grace
tests/Grace.Tests/Properties/AssemblyInfo.cs
C#
mit
784
var taxi = require('..'); var chromedriver = require('chromedriver'); var fs = require('fs'); var user = process.env.SAUCE_USERNAME; var accessKey = process.env.SAUCE_ACCESS_KEY; var sauceLabsUrl = "http://" + user + ":" + accessKey + "@ondemand.saucelabs.com/wd/hub"; var tests = [ { url:'http://localhost:9515/', c...
preceptorjs/taxi
examples/stitching.js
JavaScript
mit
4,049
#!/Users/Varun/Documents/GitHub/LockScreen/venv/bin/python # $Id: rst2xml.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing Docutils XML. """ try: import l...
LockScreen/Backend
venv/bin/rst2xml.py
Python
mit
642
# babel-plugin-transform-optional-chaining The Optional Chaining Operator allows you to handle properties of deeply nested objects without worrying about undefined intermediate objects. ## Example ### Accessing deeply nested properties ```js const obj = { foo: { bar: { baz: 42, }, }, }; const baz...
kedromelon/babel
packages/babel-plugin-transform-optional-chaining/README.md
Markdown
mit
2,010
/** * @author Chine */ function switchTheme(theme) { $.cookie('blog_theme', theme, { expires: 30 }); location.href = location.href; }
harveyqing/Qingblog
Qingblog/public/static/dopetrope/js/theme.js
JavaScript
mit
142
var mtd = require('mt-downloader'); var fs = require('fs'); var util = require('util'); var EventEmitter = require('events').EventEmitter; var Download = function() { EventEmitter.call(this); this._reset(); this.url = ''; this.filePath = ''; this.options = {}; this.meta = {}; this._retry...
leeroybrun/node-mt-files-downloader
lib/Download.js
JavaScript
mit
8,675
import * as utils from '../../utils/utils' import * as math from '../../math/math' import QR from '../../math/qr' import LMOptimizer from '../../math/lm' import {ConstantWrapper, EqualsTo} from './constraints' import {dog_leg} from '../../math/optim' /** @constructor */ function Param(id, value, readOnly) { this.res...
Autodrop3d/autodrop3dServer
public/webcad/app/sketcher/constr/solver.js
JavaScript
mit
7,075
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>{$title}</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="{$description}"> <!-- Le styles --> <link href="css/style.css" rel="stylesh...
rainphp/RainCMS
website/themes/default/layout.home.html
HTML
mit
2,421
(function() { function Base(props) { this.id = Ambient.getID(); $.extend(this, props || {}); } Base.extend = function(methods) { if (typeof methods === "function") { methods = methods(); } methods = (methods || {}); ...
lewie9021/ambient-js
src/Controller.js
JavaScript
mit
870
import React from 'react' import { Router, Route, hashHistory, browserHistory, IndexRoute } from 'react-router' import MainContainer from '../components/MainContainer' import Login from '../components/hello/Login' import Register from '../components/hello/Register' import Index from '../components/index/Index' import H...
weifengsmile/xiexie
client/src/containers/Root.js
JavaScript
mit
931
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>联系我们 - 八八箱业</title> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="Keywords" content="宜宾废旧桂圆筐,八八箱业,废料回收,桂圆筐交易,报废桂圆筐,废旧桂圆筐" /> <met...
442331311/waste
build/contacts.html
HTML
mit
13,537
from messenger import Skype import keyring import utils token = keyring.get_password('messagesReceiver', 'skypeToken') registrationToken = keyring.get_password('messagesReceiver', 'skypeRegistrationToken') username = keyring.get_password('messagesReceiver', 'skypeUsername') password = keyring.get_password('messagesRec...
khapota/messages-terminal
test.py
Python
mit
1,064
<!DOCTYPE html> <html lang="en"> <head> <title>Simple Webpack-React Starter Kit</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> <div id="app"></div> </body> </html>
phinoppix/webpack-react-starter
src/app/template.html
HTML
mit
243
require 'test/unit' class LSRTest < Test::Unit::TestCase def setup @temp_file = "lsr_dump" @input_file = "lsr_input" end def test_addr_mode_accumulator instr = [0xA9,0xFF,0x4A] instr.push(0x02) write_input_file(instr) system(".././2a03 #{@input_file} #{@temp_file}") f = File.new(@temp_file) fstring...
cacciatc/old_happiNES
tests/shifts/LSR_inst.rb
Ruby
mit
5,182
package br.com.command.comandos; import br.com.command.interfaces.Command; import br.com.command.modelos.PersianaSuite; /** * Created by danielmarcoto on 17/11/15. */ public class PersianaSuiteAbrirCommand implements Command { private PersianaSuite persiana; public PersianaSuiteAbrirCommand(PersianaSuite p...
danielmarcoto/ControleRemoto
app/src/main/java/br/com/command/comandos/PersianaSuiteAbrirCommand.java
Java
mit
435
<?php /** * Used to implement Action Controllers for use with the Front Controller. * * @link Benri_Controller_Abstract.html Benri_Controller_Abstract */ abstract class Benri_Controller_Action extends Benri_Controller_Action_Abstract { /** * Layout used by this controller. * @var string */ p...
douggr/benri
library/Benri/Controller/Action.php
PHP
mit
1,579
<?php namespace Persona\Hris\Attendance\Model; use Persona\Hris\Repository\RepositoryInterface; /** * @author Muhamad Surya Iksanudin <surya.iksanudin@personahris.com> */ interface ShiftmentRepositoryInterface extends RepositoryInterface { /** * @param string $id * * @return ShiftmentInterface|n...
HRPersona/Backend
src/Attendance/Model/ShiftmentRepositoryInterface.php
PHP
mit
394
var READONLY = false // How much labor you generate per minute var LABORGENRATE = 2; if (READONLY){ // This is just for setting up a display-only example of this app Characters = new Meteor.Collection(null) Timers = new Meteor.Collection(null) } else { Characters = new Meteor.Collection("characters"); Timer...
OverloadUT/LaborTracker
LaborTracker.js
JavaScript
mit
18,428
/* */ package com.elcuk.jaxb; /* */ /* */ import javax.xml.bind.annotation.XmlEnum; /* */ import javax.xml.bind.annotation.XmlType; /* */ /* */ @XmlType(name="OptionalWeightUnitOfMeasure") /* */ @XmlEnum /* */ public enum OptionalWeightUnitOfMeasure /* */ { /* 30 */ GR, /* 31 */ KG, /...
kenyonduan/amazon-mws
src/main/java/com/elcuk/jaxb/OptionalWeightUnitOfMeasure.java
Java
mit
740
require File.dirname(__FILE__) + '/../test_helper' require 'customers_controller' # Re-raise errors caught by the controller. class CustomersController; def rescue_action(e) raise e end; end class CustomersControllerTest < Test::Unit::TestCase fixtures :customers def setup @controller = CustomersController.n...
somebox/getpaid
test/functional/customers_controller_test.rb
Ruby
mit
1,526
#!/usr/bin/env python import os import sys # provides interaction with the Python interpreter from functools import partial from PyQt4 import QtGui # provides the graphic elements from PyQt4.QtCore import Qt # provides Qt identifiers from PyQt4.QtGui import QPushButton t...
AlManja/logs.py
logsgui3.py
Python
mit
9,203