repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
liqipeng/helloGithub
Book-Code/ASP.NET Design Pattern/ASPPatternsc07/ASPPatterns.Chap7.Library/ASPPatterns.Chap7.Library.Services/Messages/FindMembersResponse.cs
327
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ASPPatterns.Chap7.Library.Services.Views; namespace ASPPatterns.Chap7.Library.Services.Messages { public class FindMembersResponse : ResponseBase { public IEnumerable<MemberView> MembersFound { get; set; } ...
mit
legendary-code/chaos-studio-web
app/src/js/components/Icon.js
433
let _ = require('underscore'), React = require('react'); class Icon extends React.Component { render() { let className = "icon " + this.props.icon; let other = _.omit(this.props.icon, "icon"); return ( <span className={className} role="img" {...other}></span> ...
mit
mandrek44/Mandro.Utils
Mandro.Utils/Setup/DirectoryHelper.cs
1605
using System.IO; namespace Mandro.Utils.Setup { public class DirectoryHelper { public DirectoryHelper() { } public static void CopyDirectory(string sourceDirName, string destDirName, bool copySubDirs) { // Get the subdirectories for the specified directory....
mit
chenxsan/vscode-standardjs
client/src/utils/StatusNotification.ts
241
import { NotificationType } from 'vscode-languageclient' export enum Status { ok = 1, warn = 2, error = 3 } export interface StatusParams { state: Status } export const type = new NotificationType<StatusParams>('standard/status')
mit
fbfeix/react-icons
src/icons/ChevronDown.js
819
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class ChevronDown extends React.Component { render() { if(this.props.bare) { return <g> <path d="M256,298.3L256,298.3L256,298.3l174.2-167.2c4.3-4.2,11.4-4.1,15.8,0.2l30.6,29.9c4.4,4.3,4.5,11.3,0.2,15.5L264.1,380.9 ...
mit
hn3etta/VS2015-React-Redux-Webpack-Front-end-example
webpack.config.js
3928
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const WatchMissingNodeModulesPlugin = require('react-dev-utils/WatchMissingNodeModulesPlugin'); const webpack = require('webpack'); const paths = require('./tools/paths'); const en...
mit
achmizs/SA_Dice
SA_DiceEvaluator.h
763
// // SA_DiceEvaluator.h // // Copyright (c) 2016 Said Achmiz. // // This software is licensed under the MIT license. // See the file "LICENSE" for more information. #import <Foundation/Foundation.h> @class SA_DiceBag; @class SA_DiceExpression; /************************************************/ #pragma mark SA_Dice...
mit
karim/adila
database/src/main/java/adila/db/alto5_7043k.java
213
// This file is automatically generated. package adila.db; /* * Alcatel POP 2 (5) * * DEVICE: alto5 * MODEL: 7043K */ final class alto5_7043k { public static final String DATA = "Alcatel|POP 2 (5)|"; }
mit
elmabdgrub/azplatform
src/BackOfficeBundle/Entity/PosteCollaborateurRepository.php
284
<?php namespace BackOfficeBundle\Entity; use Doctrine\ORM\EntityRepository; /** * PosteCollaborateurRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class PosteCollaborateurRepository extends EntityRepository { }
mit
jmehic/cuCare
server/database.h
438
/* database.h Author: Pixel Flash Server database.h contains the class definition for the database class used by the cuCare server to store data persistently */ #ifndef DATABASE_H #define DATABASE_H #include <QtSql> #include <QDebug> class Database { public: Database(); ~Database(); QSqlQuery que...
mit
bkahlert/seqan-research
raw/pmsb13/pmsb13-data-20130530/sources/130wu1dgzoqmxyu2/2013-04-09T10-23-18.897+0200/sandbox/my_sandbox/apps/snd_app/snd_app.cpp
6165
// ========================================================================== // snd_app // ========================================================================== // Copyright (c) 2006-2012, Knut Reinert, FU Berlin // All rights reserved. // // Redistribution and use in source and b...
mit
EverywhereHouseControl/Documentation
3.Analisis/Analisis.tex
1176
% % Primera página del documento \begin{titlepage} \begin{scriptsize}\noindent Facultad de Informática.\\ Ingeniería en Informática.\\ Ingeniería del Software.\\ Proyecto: Everywhere House Control. \end{scriptsize}\\ \vfill \begin{center} \begin{Large} \textbf...
mit
augustash/d8.dev
core/modules/shortcut/lib/Drupal/shortcut/ShortcutSetStorageControllerInterface.php
2130
<?php /** * @file * Contains \Drupal\shortcut\ShortcutSetStorageControllerInterface. */ namespace Drupal\shortcut; use Drupal\Core\Entity\EntityStorageControllerInterface; use Drupal\shortcut\ShortcutSetInterface; /** * Defines a common interface for shortcut entity controller classes. */ interface ShortcutSet...
mit
RixianOpenTech/RxWrappers
Source/Wrappers/mscorlib/System.Runtime.Remoting.Contexts.ContextAttribute.cs
3328
using System; using System.Collections.Generic; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using MS.Core; namespace System.Runtime.Remoting.Contexts { public static class __ContextAttribute { public static IObservable<System.Boolean> IsNewContextOK( this IObservable<...
mit
arnavd96/Cinemiezer
myvenv/lib/python3.4/site-packages/music21/ext/jsonpickle/__init__.py
5049
# -*- coding: utf-8 -*- # # Copyright (C) 2008 John Paulett (john -at- paulett.org) # Copyright (C) 2009, 2011, 2013 David Aguilar (davvid -at- gmail.com) # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. """Python libr...
mit
slabgorb/populinator-0
spec/views/beings/show.html.haml_spec.rb
142
require 'spec_helper' describe "beings/show" do before(:each) do @being = FactoryGirl.create(:being) @being.randomize! end end
mit
rootulp/exercism
java/protein-translation/src/main/java/ProteinTranslator.java
1679
import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Set; class ProteinTranslator { private static final Integer CODON_LENGTH = 3; private static final Map<String, String> CODON_TO_PROTEIN = Map.ofEntries( Map.entry("AUG", "Methionine"), Map.entry("UUU...
mit
marcus-nystrom/share-gaze
sync_clocks/test_clock_resolution.py
1930
# -*- coding: utf-8 -*- """ Created on Wed Sep 09 13:04:53 2015 * If TimerTool.exe is running, kill the process. * If input parameter is given, start TimerTool and set clock resolution Starts TimerTool.exe and sets the clock resolution to argv[0] ms Ex: python set_clock_resolution 0.5 @author: marcus """ ...
mit
jeremykenedy/larablog
database/seeds/PermissionsTableSeeder.php
3481
<?php use Illuminate\Database\Seeder; use jeremykenedy\LaravelRoles\Models\Permission; class PermissionsTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { /* * Add Permissions * */ if (Permis...
mit
floooh/fips
cmake-toolchains/osx.cmake
4722
#------------------------------------------------------------------------------- # osx.cmake # Fips cmake settings file for OSX target platform. #------------------------------------------------------------------------------- set(FIPS_PLATFORM OSX) set(FIPS_PLATFORM_NAME "osx") set(FIPS_MACOS 1) set(FIPS_OSX 1...
mit
thibthib/maton
README.md
3314
# maton 👀 Watch a machine's load and display it beautifully ✨ Even if this project is originally a technical test for an interview, I used it to try some tools that either I never had the chance to experiment with, or I wanted to know better. ## ⚒ Tools ### NodeJS and express I never used them in a big project, only...
mit
trogalko/MpiSyncManager
README.md
43
# MpiSyncManager Aplikasi Mpi Sync Manager
mit
Xaer033/YellowSign
YellowSignUnity/Assets/ThirdParty/Networking/TrueSync/Physics/Farseer/Common/PhysicsLogic/RealExplosion.cs
16308
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; namespace TrueSync.Physics2D { // Original Code by Steven Lu - see http://www.box2d.org/forum/viewtopic.php?f=3&t=1688 // Ported to Farseer 3.0 by Nicolás Hormazábal internal struct ShapeData { pu...
mit
DevKhater/YallaWebSite
vendor/sonata-project/media-bundle/Tests/Validator/FormatValidatorTest.php
2647
<?php /* * This file is part of the Sonata project. * * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sonata\MediaBundle\Tests\Validator; use Sonata\MediaBundle\Pr...
mit
goudan-er/goudan-er.github.io
_posts/Algorithm/2016-05-09-Google-APAC-2016-RoundE-Problem-C.md
4098
--- layout: page title: "2016Google校招笔试-Not So Random" subheadline: teaser: "今天参加宣讲会模拟面试的题目,来源Google APAC 2016 University Graduates Test Round E Problem C。Google开始校招了,而我还是这么弱鸡..." categories: - share - algorithm tags: - Algorithm header: no image: thumb: gallery-example-4-thumb.jpg title: gallery...
mit
thoughtbot/hound
spec/models/linter/shellcheck_spec.rb
1185
require "rails_helper" describe Linter::Shellcheck do it_behaves_like "a linter" do let(:lintable_files) { %w(foo.sh foo.zsh foo.bash) } let(:not_lintable_files) { %w(foo.js) } end describe "#file_review" do it "returns a saved and incomplete file review" do commit_file = build_commit_file(fil...
mit
MIT-LCP/mimic-code
mimic-iii/concepts/durations/neuroblock_dose.sql
9203
-- This query extracts dose+durations of neuromuscular blocking agents -- Note: we assume that injections will be filtered for carevue as they will have starttime = stopttime. -- Get drug administration data from CareVue and MetaVision -- metavision is simple and only requires one temporary table with drugmv as ( se...
mit
rnicoll/cryptocurrency-market-data
README.md
116
cryptocurrency-market-data ========================== Experiments in cryptocurrency market data parsing/processing
mit
rusek/abb-cpp
include/abb/value.h
3236
#ifndef ABB_VALUE_H #define ABB_VALUE_H #include <type_traits> #include <tuple> namespace abb { class und_t {}; class pass_t {}; const und_t und; const pass_t pass; template<typename Value> struct is_und : std::is_same<Value, und_t> {}; template<typename Value> struct is_pass : std::is_same<Value, pass_t> {}; ...
mit
camillescott/boink
include/goetia/sketches/sketch/vec/blaze/blazemark/blazemark/blaze/TDVecSMatMult.h
3056
//================================================================================================= /*! // \file blazemark/blaze/TDVecSMatMult.h // \brief Header file for the Blaze transpose dense vector/sparse matrix multiplication kernel // // Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved // // Th...
mit
lacker/universe
vr_webpack/webvr-polyfill/src/pose-predictor.js
8628
/* * Copyright 2015 Google Inc. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
mit
pakey/PTFrameWork
kuxin/helper/collect.php
11227
<?php namespace Kuxin\Helper; /** * Class Collect * * @package Kuxin\Helper * @author Pakey <pakey@qq.com> */ class Collect { /** * 获取内容 * * @param $data * @return bool|mixed|string */ public static function getContent($data, $header = [], $option = []) { if (is_str...
mit
Bjorkbat/tetratower
js/src/player.js
6258
/** * JS for the player character. * * * * */ import * as Consts from './consts'; var leftLeg; var rightLeg; var leftArm; var rightArm; const BODY_HEIGHT = 5; const LEG_HEIGHT = 5; const HEAD_HEIGHT = Consts.BLOCK_WIDTH * (3/5); const SKIN_COLORS = [0xFADCAB, 0x9E7245, 0x4F3F2F]; const BASE_MAT = new THREE.MeshL...
mit
robolectric/robolectric.github.io
javadoc/3.4/org/robolectric/annotation/Resetter.html
5317
<!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_112-google-v7) on Fri Jul 21 13:02:32 PDT 2017 --> <title>Resetter</title> <meta name="date" content="2017-07-21"> <link rel="stylesheet" type=...
mit
ValorNaram/isl
inputchangers/002.py
1044
blocklevel = ["blockquote", "div", "form", "p", "table", "video", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "details", "article", "header", "main"] def normalizeEnter(src): #Deletes all user defined for readability reason existing line breaks that are issues for the HTML output for elem in blocklevel: while src.fin...
mit
mihaiconstantin/game-theory-tilburg
app/Models/DataQuestionnaire.php
460
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class DataQuestionnaire extends Model { protected $fillable = ['game_question', 'game_opponent_evaluation', 'study_evaluation']; /** * Relationship with parent DataParticipant. * * @return \Illuminate\Database\Eloquent\Rela...
mit
alexforrow/riemann-stream
README.md
51
# riemann-stream Stream events from Riemann on CLI
mit
tzulang/xv6_4
rm.asm
40983
_rm: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and $0xfffffff0,%esp 6: 83 ec 20 ...
mit
eve-corp/eve-corp.github.io
about.md
688
--- layout: page title: About Us permalink: /about/ --- Just started in 2015, we bring passion and energy to the industry backed by years of real-world experience. We strive to make our software both useful and usable, which can often be a fun challenge in today's fast-paced world. We are woman-owned small busines...
mit
kingbryan/til
vim/editing-doc-with-vim-021116.md
1299
# Editing a document with Vim Today was the first time I used Vim to edit a text file. I'd previously install Vim and attempted to play around with it, but I had no clue what I was doing and abandoned it until now. My issue was that I couldn't figure out how to actually add or edit the contents of a text file. Silly,...
mit
astronati/fantasy-football-quotations-parser
tests/Map/Gazzetta/GazzettaMapSince2013Test.php
2877
<?php namespace Tests\Map\Gazzetta; use PHPUnit\Framework\TestCase; use FFQP\Map\Gazzetta\GazzettaMapSince2013; class GazzettaMapSince2013Test extends TestCase { public function testExtractRows() { $map = new GazzettaMapSince2013(); $this->assertInternalType('int', 3); $rows = $map->e...
mit
SHA2017-badge/micropython-esp32
lib/timeutils/timeutils.h
2785
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013, 2014 Damien P. George * Copyright (c) 2015 Daniel Campora * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation...
mit
linkorb/objectstorage
tests/Adapter/PlaintextStorageKeyEncryptedStorageAdapterTest.php
2076
<?php namespace ObjectStorage\Test\Adapter; use ObjectStorage\Adapter\PlaintextStorageKeyEncryptedStorageAdapter; use ObjectStorage\Adapter\StorageAdapterInterface; use ParagonIE\Halite\KeyFactory; use ParagonIE\Halite\Symmetric\Crypto; use ParagonIE\HiddenString\HiddenString; use PHPUnit\Framework\Constraint\Logical...
mit
Kasekopf/kolandroid
kol_base/src/main/java/com/github/kolandroid/kol/model/elements/basic/BasicGroup.java
1193
package com.github.kolandroid.kol.model.elements.basic; import com.github.kolandroid.kol.model.elements.interfaces.ModelGroup; import java.util.ArrayList; import java.util.Iterator; public class BasicGroup<E> implements ModelGroup<E> { /** * Autogenerated by eclipse. */ private static final long se...
mit
dtt101/superhero
tests/acceptance/character-test.js
1790
import Ember from 'ember'; import { module, test } from 'qunit'; import startApp from 'superhero/tests/helpers/start-app'; import characterData from '../fixtures/character'; var application, server; module('Acceptance: Character', { beforeEach: function() { application = startApp(); var character = char...
mit
juruen/cavalieri
include/rule_tester_util.h
425
#ifndef CAVALIERI_RULE_TESTER_UTIL_H #define CAVALIERI_RULE_TESTER_UTIL_H #include <vector> #include <common/event.h> #include <external/mock_external.h> typedef std::pair<time_t, Event> mock_index_events_t; std::vector<Event> json_to_events(const std::string json, bool & ok); std::string results(std::vector<mock_i...
mit
pgourlain/VsXmlDesigner
BaseEditors/Properties/Resources.Designer.cs
4105
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34014 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
mit
zhoujj2013/lncfuntk
bin/NetworkConstruction/bk/CalcConfidentScore.pl
2170
#!/usr/bin/perl -w use strict; use Getopt::Long; use FindBin qw($Bin $Script); use File::Basename qw(basename dirname); use Data::Dumper; use lib "/home/zhoujj/my_lib/pm"; use bioinfo; &usage if @ARGV<1; #open IN,"" ||die "Can't open the file:$\n"; #open OUT,"" ||die "Can't open the file:$\n"; sub usage { m...
mit
lgaticaq/info-rut
test/replies/person-fail.html
196
<table> <thead> <tr> <th>Nombre</th> <th>RUT</th> <th>Sexo</th> <th>Dirección</th> <th>Ciudad/Comuna</th> </tr> </thead> <tbody> </tbody> </table>
mit
jdferreira/vitae
images/histogram-citations.tex
715
\begin{tikzpicture} \begin{axis}[ width=9cm,height=6cm, ymin=0, ytick align=outside, axis x line*=bottom,axis y line*=left, tick label style={ /pgf/number format/assume math mode=true, /pgf/number format/1000 sep={} }, ylabel={\# citations}, % enlargelimits=0.15, ybar...
mit
floede/freeplay-blog
user/plugins/podcast/assets/css/podcast.css
992
.podcast-channel-header{width:100%;clear:both;display:inline-block;border-bottom:3px solid #000}.podcast-channel-image{width:25%;float:left;display:inline-block;border:1px solid #000}.channel-meta{width:74%;float:left;display:inline-block}.channel-meta h1{text-align:center;margin:0}.channel-meta h2{text-align:center}.c...
mit
ApoorvSaxena/directory-layout
bin/index.js
1267
#!/usr/bin/env node (function () { var DirectoryLayout = require('../lib/index.js'), program = require('commander'), options; program .version('1.0.2') .usage('[options] <path, ...>') .option('-g, --generate <path> <output-directory-layout-file-path>', 'Generate directo...
mit
xiongzhp/FoGG2017
_posts/2017-08-08-seek-for-sole-sponsor.markdown
345
--- layout: post title: "Seek for Sole External Sponsor" date: 2017-08-08 18:00:00 isStaticPost: false --- We are seeking for one more sponsor except ShanghaiTech University to cover the expenses of awarding excellent presenters. Note that you cannot title the event, you can only show here at the website and in the...
mit
SnowflakePowered/snowflakepowered.github.io
doc/html/class_snowflake_1_1_game_1_1_game_database.js
745
var class_snowflake_1_1_game_1_1_game_database = [ [ "GameDatabase", "class_snowflake_1_1_game_1_1_game_database.html#a2f09c1f7fe18beaf8be1447e541f4d68", null ], [ "AddGame", "class_snowflake_1_1_game_1_1_game_database.html#a859513bbac24328df5d3fe2e47dbc183", null ], [ "GetAllGames", "class_snowflake_1_1_ga...
mit
tempusjs/tempus-js.com
api/index.html
85
--- layout: api_index title: api breadcrumbs: true --- {% include api_listing.html %}
mit
legendblade/CraftingHarmonics
api/src/main/java/org/winterblade/minecraft/harmony/api/questing/QuestStatus.java
697
package org.winterblade.minecraft.harmony.api.questing; import org.winterblade.minecraft.scripting.api.IScriptObjectDeserializer; import org.winterblade.minecraft.scripting.api.ScriptObjectDeserializer; /** * Created by Matt on 5/29/2016. */ public enum QuestStatus { INVALID, ACTIVE, LOCKED, COMPLETE, CLOSED; ...
mit
Ernestyj/JStudy
src/main/java/leetcode11_20/RemoveNthFromEnd.java
1586
package leetcode11_20; /**Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1->2->3->4->5, and n = 2. After removing the second node from the end, the linked list becomes 1->2->3->5. Note: Given n will always be valid. Try to do this in one pass. */ ...
mit
kohsuke/github-api
src/main/java/org/kohsuke/github/GHRelease.java
8107
package org.kohsuke.github; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.net.URLEncoder; import java.util.Collections; import java.util.Date; import java.util.Lis...
mit
mrmrwat/pylsner
pylsner/gui.py
2624
import cairo from gi.repository import Gtk from gi.repository import Gdk from pylsner import plugin class Window(Gtk.Window): def __init__(self): super(Window, self).__init__(skip_pager_hint=True, skip_taskbar_hint=True, ) ...
mit
shenanigans/node-sublayer
static/docs/generated/module/likeness/module/configuration/member/children/spare/details/index.html
1754
<!DOCTYPE html> <html> <head> <title>likeness:Configuration#children~details documentation</title> <link rel="stylesheet" type="text/css" href="../../../../../../../../index.css" /> <link rel="stylesheet" type="text/css" href="../../../../../../../../highlight.css" /> <script type="text/javascript" src=...
mit
sanjeevan/codelovely
apps/frontend/modules/article/templates/_article.php
5279
<?php $t = $a->getThing(); ?> <div class="linkitem item-flavour-<?php echo $a->getFlavour() ?>" id="link-item-<?php echo $a->getId(); ?>"> <?php if (isset($nopos)): ?> <span class="itempos">&nbsp;</span> <?php else: ?> <span class="itempos"><?php echo $pos; ?></span> <?php endif; ?> <div class="votebt...
mit
FullScreenShenanigans/FullScreenPokemon
src/sections/Physics.ts
4204
import { Physics as EightBittrPhysics } from "eightbittr"; import { FullScreenPokemon } from "../FullScreenPokemon"; import { Direction } from "./Constants"; import { Character, Grass, Actor } from "./Actors"; /** * Physics functions to move Actors around. */ export class Physics<Game extends FullScreenPokemon> ex...
mit
BioWareRu/Admin
src/core/lists/ListProvider.ts
2898
import {Model} from '../../models/base/Model'; import {Subject} from 'rxjs/Subject'; import {BaseService} from '../BaseService'; import {ActivatedRoute, Router} from '@angular/router'; import {UserRights, UserService} from '../../services/UserService'; import {ListTableColumn} from './ListTableColumn'; import {Behavior...
mit
futurepr0n/Books-solutions
Python-For-Everyone-Horstmann/Chapter6-Lists/R6.1A.py
203
# Given the list values = [] , write code that fills the list with each set of numbers below. # a.1 2 3 4 5 6 7 8 9 10 list = [] for i in range(11): list.append(i) print(list)
mit
InEngine-NET/InEngine.NET
src/InEngine/Program.cs
2105
using System; using System.IO; using System.ServiceProcess; using InEngine.Core; //using Mono.Unix; //using Mono.Unix.Native; namespace InEngine { class Program { public const string ServiceName = "InEngine.NET"; public static ServerHost ServerHost { get; set; } static void Main(strin...
mit
rguezque/enlaces
web/res/js/jquery-functions.js
4483
// JavaScript Document $(document).ready(function() { $('form input[type="file"]').change(function() { var filename = $(this).val(); $(this).prev('i').text(filename); }); $('.input-file').click(function() { $(this).find('input').click(); }); /* * Previene doble click en boton submit de envio de datos de...
mit
LIZIMEME/vuex-shopping-cart-plus
docs/zh-cn/plugins.md
3574
# 插件 Vuex 的 store 接受 `plugins` 选项,这个选项暴露出每次 mutation 的钩子。Vuex 插件就是一个函数,它接收 store 作为唯一参数: ``` js const myPlugin = store => { // 当 store 初始化后调用 store.subscribe((mutation, state) => { // 每次 mutation 之后调用 // mutation 的格式为 { type, payload } }) } ``` 然后像这样使用: ``` js const store = new Vuex.Store({ // ... ...
mit
msims04/eve-buyback
app/Jobs/UpdateOutpostsJob.php
1614
<?php namespace App\Jobs; use App\Jobs\Job; use App\Models\API\Outpost; use DB; use Illuminate\Queue\SerializesModels; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Log; use Pheal\Pheal; class UpdateOutpostsJob extends Job implements ShouldQueue { use InteractsWithQueue, S...
mit
JasperFx/jasper
src/Jasper.Tcp/TcpEndpoint.cs
2840
using System; using System.Net; using Jasper.Configuration; using Jasper.Runtime; using Jasper.Transports; using Jasper.Transports.Sending; using Jasper.Util; namespace Jasper.Tcp { public class TcpEndpoint : Endpoint { public TcpEndpoint() : this("localhost", 2000) { } public ...
mit
felixhummel/skeletons
html-inline/index.html
298
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>TITLE</title> <style type="text/css" media="screen"> body { font-family: sans-serif; } </style> </head> <body> <p>HELLO</p> <script type="text/javascript"> </script> </body> </html>
mit
Artirigo/react-native-kontaktio
ios/KontaktSDK.framework/Headers/KTKDevicesManager.h
6213
// // KontaktSDK // Version: 3.0.4 // // Copyright (c) 2015 Kontakt.io. All rights reserved. // @import Foundation; #import "KTKNearbyDevice.h" NS_ASSUME_NONNULL_BEGIN @protocol KTKDevicesManagerDelegate; #pragma mark - External Constants extern NSTimeInterval const KTKDeviceInvalidationAgeNever; #pragma mark ...
mit
catalogicsoftware/Angular-4-Plus-Dashboard-Framework
src/app/configuration/tab-endpoint/endpointDetail.html
4391
<div class="ui right aligned grid"> <div class="right aligned column"> <span *ngIf="currentState == 'save as' && endPointForm.valid"> <a mat-mini-fab routerLink="." color='primary' (click)="createEndPoint()"><mat-icon>content_copy</mat-icon></a> &nbsp;save as&nbsp; </span> ...
mit
tucanowned/congressouniapac
application/models/Palestrantes_model.php
5283
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Palestrantes_model extends CI_Model { private $id; private $nome; private $foto; public function __construct() { parent::__construct(); } public function setId($id) { $this->id = $id; } public function getId() { return $th...
mit
robhumphries/Shopify-Theme
README.md
45
Thanks for reading. You can put me down now.
mit
CismonX/Acast
src/Middleware.php
917
<?php namespace Acast; /** * 中间件 * @package Acast */ abstract class Middleware { /** * 存储中间件回调函数 * @var array */ protected static $_middleware = []; /** * 注册中间件 * * @param string $name * @param callable $callback */ static function register(string $name, calla...
mit
akatakritos/rcleaner
spec/fixtures/rfiles/copyfile.rb
46
clean "/tmp" do copy "*.*", to: "/test" end
mit
EmptyKeys/UI_Generator
UIGenerator/Types/ListBoxGeneratorType.cs
1638
using System; using System.CodeDom; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; namespace EmptyKeys.UserInterface.Generator.Types { /// <summary> ...
mit
mtwebster/cjs
gi/union.cpp
16293
/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */ /* * Copyright (c) 2008 litl, LLC * * 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 witho...
mit
yaronthurm/orleans
src/Orleans/Runtime/Constants.cs
6677
/* Project Orleans Cloud Service SDK ver. 1.0 Copyright (c) Microsoft Corporation All rights reserved. MIT License 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, inc...
mit
jeffpanici75/FastTemplate
PaniciSoftware.FastTemplate/Common/UIntType.cs
11872
// // FastTemplate // // The MIT License (MIT) // // Copyright (c) 2014 Jeff Panici // 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 ...
mit
qtvideofilter/streamingcoin
src/qt/locale/bitcoin_bs.ts
107835
<?xml version="1.0" ?><!DOCTYPE TS><TS language="bs" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About phreak</source> <translation type="unfinished"/> </message> <message> <location line="+...
mit
phpnt/yii2-cropper
assets/DistAsset.php
343
<?php /** * Created by PhpStorm. * User: phpNT * Date: 24.07.2016 * Time: 21:57 */ namespace phpnt\cropper\assets; use yii\web\AssetBundle; class DistAsset extends AssetBundle { public $sourcePath = '@vendor/phpnt/yii2-cropper'; public $css = [ 'css/crop.css' ]; public $images = [ ...
mit
pingguoilove/MultiTarget
README.md
449
本文的目的是为了探索通过genkins来打包不同target(DEBUG,PRE_RELEASE等) ## 在github上创建repo ## 在本地创建工程 ``` git remote add origin url_to_your_git_repo git branch --set-upstream master origin/master #track local master branch to origin/master git add * git commit -m 'first commit' git pull origin master git push origin master ``` ## 蒲公英中创建应用...
mit
HOLEIN/HOLEIN.github.io
_posts/2015-08-29-Alessandro-Angelozzi-101-Sleeveless-Chapel-Train-SheathColumn.md
1023
--- layout: post date: 2015-08-29 title: "Alessandro Angelozzi 101 Sleeveless Chapel Train Sheath/Column" category: Alessandro Angelozzi tags: [Alessandro Angelozzi,Alessandro Angelozzi ,Sheath/Column,One shoulder,Chapel Train,Sleeveless] --- ### Alessandro Angelozzi 101 Just **$309.99** ### Sleeveless Chapel Train S...
mit
compactcode/recurly-client-ruby
spec/support/vcr.rb
249
require 'vcr' require 'vcr/rspec' VCR.config do |c| c.cassette_library_dir = 'spec/vcr' c.http_stubbing_library = :webmock c.default_cassette_options = { :record => :new_episodes } end RSpec.configure do |c| c.extend VCR::RSpec::Macros end
mit
jasonlowder/DesignPatterns
NonVisitorPatternExample/Loan.cs
279
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NonVisitorPatternExample { public class Loan { public int Owed { get; set; } public int MonthlyPayment { get; set; } } }
mit
doubaokun/devopszen
_posts/2017-12-15-why-not-aws-lightsail.md
2879
--- layout: post published: true title: Why we switched from AWS Lightsail to EC2 for Gitlab imagefeature: blog/aws-lightsail-create-gitlab.png mathjax: false featured: true comments: false description: AWS Lightsail vs AWS EC2 categories: - aws tags: ec2 aws lightsail vpc canonical: https://www.transfon.com/blog/Li...
mit
wangwang4git/SQLite3-ICU
FTSJNI4/jni/include/base64.h
1077
// BASE64压缩接口 #ifndef _INCLUDE_BASE64_H #define _INCLUDE_BASE64_H #include <stdio.h> #include <stdlib.h> #include "sqlite3.h" // 标准Base64编码表 static char encoding_table[] = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', ...
mit
winton/a_b_front_end
lib/a_b_front_end/controller/front.rb
867
Application.class_eval do get '/' do if current_user @sites = ABPlugin::API.sites( :include => { :envs => true, :categories => { :include => { :tests => { :include => { :variants => { :methods => :...
mit
wahlemedia/oc-showroom-plugin
updates/add_short_description_to_items_table.php
492
<?php namespace Wahlemedia\Showroom\Updates; use Schema; use October\Rain\Database\Schema\Blueprint; use October\Rain\Database\Updates\Migration; class add_short_description_to_items_table extends Migration { public function up() { Schema::table('wahlemedia_showroom_items', function (Blueprint $table...
mit
demisto/content
Packs/GoogleCloudSCC/ReleaseNotes/2_0_6.md
208
#### Integrations ##### Google Cloud SCC - Updated the Docker image to: *demisto/google-api-py3:1.0.0.27143*. - Fixed an issue where the ***test-module*** command would fail when using a custom certificate.
mit
purzlbaum/cs-bootstrap
content-quote.php
1925
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <header class="entry-header" role="heading"> <h1 class="entry-title"> <?php if( !is_single() ) : ?> <a href="<?php the_permalink(); ?>"> <?php the_title(); ?> </a> <?php else: ?> <?php the_title(); ?> ...
mit
sorah/days
lib/days/app/admin/users.rb
1446
module Days class App < Sinatra::Base get "/admin/users", :admin_only => true do @users = User.all haml :'admin/users/index', layout: :admin end get "/admin/users/new", :admin_only => true do @user = User.new haml :'admin/users/form', layout: :admin end post "/admin/users...
mit
mrwsr/monotone
test/test_monotone.py
7143
""" Tests for L{monotone}. """ from hypothesis import given, strategies as st import errno from monotone import get_clock_info, monotonic from monotone import _api, _bindings import os import platform import pytest needs_posix = pytest.mark.skipif( os.name == "posix" and platform.system() == "Darwin", reas...
mit
emberjs/ember.js
packages/internal-test-helpers/lib/confirm-export.ts
2277
import require from 'require'; function getDescriptor(obj: Record<string, unknown>, path: string) { let parts = path.split('.'); let value: unknown = obj; for (let i = 0; i < parts.length - 1; i++) { let part = parts[i]!; // NOTE: This isn't entirely safe since we could have a null! value = (value as...
mit
gmmendezp/generator-nyssa-fe
generators/app/templates/public/index.html
692
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="theme-color" content="#000000"> <link rel="manifest" href="%PUBLIC_URL%/manifest.json"> <link rel="shortcut icon" href="%PUBLIC_URL%/fav...
mit
ericmann/doze
tests/test-tools/TestCase.php
2024
<?php namespace TenUp\Doze\v1_0_0; use PHPUnit_Framework_TestResult; use Text_Template; use WP_Mock; use WP_Mock\Tools\TestCase as BaseTestCase; class TestCase extends BaseTestCase { public function run( PHPUnit_Framework_TestResult $result = null ) { $this->setPreserveGlobalState( false ); return parent::run( ...
mit
orocrm/OroCalendarBundle
Form/EventListener/AttendeesSubscriber.php
2088
<?php namespace Oro\Bundle\CalendarBundle\Form\EventListener; use Doctrine\Common\Collections\Collection; use Oro\Bundle\CalendarBundle\Entity\Attendee; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\Form\FormEvent; use Symfony\Component\Form\FormEvents; /** * Makes sure index...
mit
6o1/lynx-server
src/main/java/com/lynx/service/UserService.java
978
package com.lynx.service; import java.util.Collection; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Sort; import org.springframework.stereotype.Service; import com.lynx.domain.User; import com.lynx.repository.UserRepository; import ...
mit
Royhb/aivdmDecode
bin/aivdmDecode.js
69382
var _ = require('underscore'); var colors = require('colors'); var sprintf = require('sprintf-js').sprintf; /** * used to decode AIS messages. * Currently decodes types 1,2,3,4,5,9,18,19,21,24,27 * Currently does not decode 6,7,8,10,11,12,13,14,15,16,17,20,22,23,25,26 * Currently does not support the USCG E...
mit